Skip to content

codex: replay disjoint pinned merge DAGs across base moves - #25

Merged
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-pinned-merge-replay
Aug 7, 2026
Merged

codex: replay disjoint pinned merge DAGs across base moves#25
ttaylorr-oai merged 1 commit into
metafrom
ttaylorr/codex-pinned-merge-replay

Conversation

@ttaylorr-oai

Copy link
Copy Markdown
Collaborator

A pinned unstable source keeps its reviewed source-base even when the generated codex base moves before publication. The old merge-base inference either rejected that valid DAG or replayed old stable integration commits.\n\nThis uses the reviewed source-base as the explicit replay root, permits replay only after a disjoint changed-path proof, reconstructs exact overlay trees and parent topology (including octopus merges), and makes verify-output recompute the same proof. Overlap and mixed reviewed roots still fail closed.\n\nIt also makes pinned cross-lane isolation use reviewed source boundaries plus published unstable outputs, so proposal/admission reject stable topics cut from generated unstable.\n\nTested:\n- isolated t/t9905-codex-branch.sh: 115/115\n- sh -n .github/workflows/codex-branch.sh\n- git diff --check\n- live no-ref 949c rewrite/verify: 113 commits and 7 merges preserved; source pin unchanged

A pinned unstable source records the reviewed source-base, but the generated codex base can move before unstable publication. Inferring the replay root from that new base either rejects a valid pinned DAG or replays old stable integration commits.

Use the reviewed source-base as the explicit root for pinned merge-shaped topics. Replay only when the moved base and reviewed graph touch disjoint paths, synthesize the exact overlay trees and parent mapping (including octopus merges), and have verify-output recompute the same proof. Overlap or mixed reviewed roots still fail closed.

Also make pinned lane isolation use reviewed source boundaries and published unstable outputs, so proposal and admission reject a stable source cut from generated unstable.

Test moved-base replay, source immutability, merge topology, overlap rejection, and the cross-lane admission boundary.
@ttaylorr-oai
ttaylorr-oai merged commit f3485b7 into meta Aug 7, 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