Repository navigation
Conversation
athNdev
force-pushed
the
codex/oss413-promotion-gates
branch
from
November 19, 2026 14:16
61190ce to
aa9e8d5
Compare
athNdev
force-pushed
the
codex/oss413-promotion-gates
branch
from
November 19, 2026 15:30
aa9e8d5 to
af32484
Compare
Add one qualified transaction per channel: exact trusted-main revision and exact-commit CI, reject older candidates against an active receipt, stage both immutable registries and the exact docs artifact, confirm a public candidate marker before alias moves, then confirm final alias/docs agreement and record a receipt. Nightly moves on both registries with no release or tracked main state; stable only from the verified digest; no redundant rolling channel. One shared non-cancelling pages-deploy lock, site-only dispatch limited to already-active sources, digest-anchored retry and rollback. Repair the verify-publication-ref GH_TOKEN defect (enables the fail-closed check). Offline fixtures cover first publish, retry, stale/out-of-order, rollback, dual-registry parity and arbitrary tags. No workflow dispatch, registry write, release, tag change or Pages deploy performed.
Fix the dead transaction wiring: phase=stage is a zero-write decision, phase=commit requires both candidate-probe and canonical marker confirmation before alias moves. Probe uses the non-active /docs/candidate/<sha>/ route; canonical marker is stamped only in the qualified transaction. Registry moves never precede verified docs; rollback restores both. Remove the withdrawn rolling alias. Rename ADR to 0048 to avoid the open 0046/0047 collision.
…nsaction Remove every legacy nightly/edge/stable/latest alias-write step from cd.yml and release.yml. Add always() rollback restoring both registries and canonical docs from the prior receipt with exact-digest resume. Gate GitHub release creation on a synced stable transaction binding exact version, both digests and deployed docs marker. Add offline simulated second-registry, docs and final-probe failure evidence.
…ate evidence Capture the verified prior receipt in stage phase and use it (never the candidate receipt) for always() rollback; restore exact prior docs bytes via distinct Pages artifact. Wire observed dual-registry digests into the stable gate, compensate failed stable alias writes, and refuse older targets lacking trusted gate commands. Add executable failure-injection evidence.
Upstream split the ADR index and release rules concepts. Restore the generated index from main, add the 0049 row to adrs-decision-records.md, and split the channel promotion concept into two bounded linked concepts within the 60-line cap.
athNdev
force-pushed
the
codex/oss413-promotion-gates
branch
from
November 19, 2026 16:08
af32484 to
6976ca0
Compare
Owner
Author
|
OSS-413: superseded by the canonical draft PR #613 (#613). Proof: this PR's exact head 6976ca0 is an ancestor of #613's exact head eb2d5da (git merge-base --is-ancestor exit 0). The divergent local gates checkout at c734f43a was audited: its unique stable-publish-event intent is carried in #613 by the distinct trusted '--event release' path with prior/live sequence state (15eeaa8) plus the wired-call test in scripts/test_release.py; all other local commits are rebased copies of this PR's six commits. Both worktrees and branches are preserved - no branch deletion. Closing this draft as superseded; publication gates continue in #613. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OSS-413 promotion gates — second checkpoint fixes
Exact head:
6976ca0fe95d4d3e20026eacaae8f58f9ceff715(rebased onto currentorigin/main). ADR 0049 (0048 was taken by PR #610). PR #607 remains DRAFT; worktree clean. No dispatch, deploy, registry write, tag change or release from this lane.Fixes
cd.ymlphase 1 emitsprior_receiptfromchannel-active-receiptBEFORE any write; rollback consumes that receipt, nevercommit_decision.outputs.receipt(the candidate). Fixture asserts the source is the stage-phase prior receipt.always()with explicit outcome checks and nocommit_decisionsuccess guard; deploy/probe/marker/commit/alias/final outcomes all trigger it. Downstream steps are gated on preceding outcomes so failures reach the rollback branch..website-build/prior-sitewith a recorded SHA-256; rollback uploads them as a distinctgithub-pages-priorartifact, deploys that artifact, and re-checks the public byte hash and marker.verify-channel-parityvalidates the OBSERVED digests/revisions in both registries and the observed map is fed into the gate (no hardcoded digest). A failed stable alias write is compensated from the prior receipt plus the exact prior docs artifact. Both release jobs refuse an older release target lackingverify-gate-scriptcommands.adrs-decision-records.md; channel concept split into two bounded linked concepts within the 60-line cap; indexes regenerated byknowledge-lint -fix.Executable failure-injection evidence
python <temp>/sim_run2.py(callschannel-simulate,channel-rollback,verify-gate-script,verify-channel-parity,channel-transaction):ghcr) write failurerolled_back;moved: []; prior digest restored; resume = prior digestrolled_back; prior digest restoredrolled_back; zero registry writes at candidate digestpublishedsha256:eeee…, verified receiptFull verification at exact head
python -m unittest scripts.test_release149 OK; YAML parse all workflows OK;go vet ./...0;go test ./...0;knowledge-lint -fixthen lint OK (queries 40/40, indexes current, no errors);git diff --check0.OSS-413 remains In Review pending live exact-head review and parity verification.