codex: add exact release pin recovery - #26
Merged
Conversation
The v2-to-v3 bootstrap pinned tb/codex/release at ba107 even though PR #22 had already advanced the source to 40589. That leaves generated release workflows without the source-ref metadata fix. Add a checked-in one-shot manifest and a narrow recover-release-pin command. It accepts only the reviewed ca1/ba107/40589/PR22 tuple, validates through the canonical plan transition gate, atomically creates the missing immutable pin and updates meta, then deletes its own manifest. The public path cannot override the manifest binding. Test-only fixture entrypoints cover disposable mechanics without weakening the production command.
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.
The v2-to-v3 bootstrap pinned tb/codex/release at ba107 even though merged PR #22 advanced the source to 40589. This adds an incident-specific, self-disabling recovery path: the checked-in manifest binds the exact ca1/ba107/40589/PR22 tuple, the command validates it through the canonical plan-transition gate, atomically creates only the missing immutable pin plus the codex.plan transition, and deletes the manifest. Public recovery has no SHA override; disposable test mechanics use gated test-only entrypoints.
Tests: sh -n .github/workflows/codex-branch.sh; sh -n t/t9905-codex-branch.sh; git diff --check; t/t9905-codex-branch.sh -v -i --root=/private/tmp/t9905-release-recovery-full-20260806-7 (117/117).