Skip to content

feat: add relay deployment contract - #15

Merged
leether merged 1 commit into
mainfrom
leether/relay-deployment-contract-20260717
Jul 17, 2026
Merged

feat: add relay deployment contract#15
leether merged 1 commit into
mainfrom
leether/relay-deployment-contract-20260717

Conversation

@leether

@leether leether commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Purpose

Make source-to-relay script identity an executable pre-push contract so article pushes cannot silently use a stale shared writer.

Root cause

The article bundle upload and the relay shared-script deployment were separate manual operations. Repository upgrades could therefore add writer arguments or evidence behavior without updating the relay runtime.

Changes

  • add a default read-only manifest check and explicit Human-gated apply command
  • verify per-file hashes, Node syntax, and required writer flags
  • stage the full manifest, preserve per-file backups, verify after promotion, and restore the whole manifest on failure
  • gate automatic and generated-manual relay push paths on the read-only check
  • document deployment in README, SKILL, CHANGELOG, spec, and Gotcha G39

Validation

  • npm run check
  • full privacy gate
  • local success and whole-manifest rollback shell simulations
  • configured relay read-only check: manifest and required flags aligned

Live boundary

No relay apply, WeChat draft creation, or CATALOG mutation was performed.

Change-ID: CHANGE-20260717-MD2WECHAT-RELAY-DEPLOYMENT-CONTRACT
@leether
leether merged commit 0b92c71 into main Jul 17, 2026
2 checks passed
@leether
leether deleted the leether/relay-deployment-contract-20260717 branch July 18, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant