Skip to content

codex: add exact release pin recovery - #26

Merged
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-release-pin-recovery
Aug 7, 2026
Merged

codex: add exact release pin recovery#26
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-release-pin-recovery

Conversation

@ttaylorr-oai

Copy link
Copy Markdown
Collaborator

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).

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.
@ttaylorr-oai
ttaylorr-oai merged commit 6e44c55 into meta Aug 7, 2026
6 checks 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