Repository navigation
Codex autopilot follow-ups: after any off, only a new on that starts a turn turns merges on (T823) - #456
Merged
Conversation
…s merges on (T823) F-T677-33 (owner decision 2026-11-08, option A): an off from a fork, a subagent's thread or a side conversation reaches only the mode files, so an on that joined the main thread's running turn turned the mode file on again while Codex's record still counted the earlier on. The mode hook now saves the turn of each on that it accepts (onTurn), and the gate and the merge command admit a merge only when the record's latest counted on is in that turn. - F-T677-18, F-T677-25: the mode hook reads the record before Codex records the prompt; an on that joins a turn, or a turn that no person started, switches nothing, and the chief's note says why and how to send an on that counts. The gate's refusals say it too. - F-T677-31: a turn that another agent's message started has that message as its opener, so a joined on never counts; trigger_turn true refuses. - F-T677-32: the off line for a thread whose record sage cannot read fits a main thread. - F-T677-26, F-T677-27: the version refusal says that a newer Codex waits until sage adds it; the missing Codex folder refusal uses plain words. - F-T677-34: the gate's allow of the api.github.com network approval could never apply (the merge command uses the permit first): removed, and the guide says the owner may see one network prompt. - F-T677-19, F-T677-28: guide texts for the Tab-queued on and the no-image rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 tasks
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.
What this is
The follow-ups of the Codex autopilot (PR 455, T677), grouped in T823: one rule edge that differed from the owner's decision, and several confusing texts.
The rule edge (F-T677-33, owner decision 2026-11-08, option A)
An off from a fork, a subagent's thread or a side conversation reaches only the mode files, not the main thread's record. Before this change, an on that joined the main thread's running turn turned the mode file on again, and the record still counted the earlier on, so the gate admitted merges.
Now the mode hook saves the turn of each on that it accepts (
onTurn). The gate and the merge command admit a merge only when the record's latest counted on is in that turn. So after any off, only a new on that starts its own turn turns merges on.The other items
trigger_turn: trueline refuses.api.github.comnetwork approval could never apply, because the merge command uses its permit before gh asks. It is removed, and the guide says that the owner can see one network prompt.Evidence
npm run buildandnpm run checkpass.After this update
If autopilot is on in a Codex session, send
autopilot onagain as a new message before the next merge (a mode file from before this change has no on turn, so the gate refuses).🤖 Generated with Claude Code