Skip to content

docs(deploy): document the write gate and add its acceptance evidence - #104

Merged
ssalentin merged 1 commit into
mainfrom
docs/deploy-gate-evidence
Nov 15, 2026
Merged

ssalentin merged 1 commit into
mainfrom
docs/deploy-gate-evidence

Conversation

@ssalentin

Copy link
Copy Markdown
Owner

Records the deploy write gate (issue #81) in the repo and ships its acceptance evidence.

  • docs/deploy-gate.md: where the gate runs (server-side script, 5-minute cron, flock), the four API steps with expected codes, the three failure modes and their swap/FAILED-marker behavior, the --gate/--gate-test/--force modes, the GATE_DB_READONLY=1 refusal hook with its mandatory cleanup, and the operational risk that the script is unversioned.
  • docs/assets/deploy-gate-evidence.png: terminal capture measured 2026-11-15 on the live deploy against build 943bab4. Gate steps of a real deploy, a --gate-test pass on HEAD, a refusal run with deployed.sha unchanged and the service still healthy, and read-only sqlite queries proving scratch rows never persist while the audit entry keeps actor deploy-gate.
  • README gains a Deploy gate subsection under Operations.

deploy gate acceptance evidence

Evidence for issue #81; the issue carries the same measurements as text. No code changes.

The gate itself lives in the unversioned server script; this records how it
works, its failure modes and the refusal test hook, plus the terminal capture
that proves the issue #81 acceptance criteria on the live system.
@ssalentin
ssalentin merged commit c4d3043 into main Nov 15, 2026
1 check passed
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