Repository navigation
fix(#6970): stop advising claude for review and retro on codex - #9081
Conversation
…odex Review and retro run their sub-agents as native Codex children since v0.53.0 when the parent model resolves to collaboration V1 on the direct route. Both completed fleet-shaped runs that way on macOS and on Fedora, recorded on fullsend fullsend-ai#6970. The setup prompt and four docs pages still told readers to keep the two agents on Claude Code. Signed-off-by: Dharit Shah <dhshah@redhat.com>
PR Summary by QodoCorrect Codex review and retro runtime guidance
AI Description
Merge Risk
|
Code Review by Qodo
1.
|
|
🤖 Finished Review · ✅ Success · Started 4:33 PM UTC · Completed 4:48 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.78 |
Site previewPreview: https://f4f85f41-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Risk Assessment: moderate (2/5) DetailsSmall documentation and prompt wording change with zero protected paths, balanced by high historical churn and coupling on touched runtime documents. Previous runRisk Assessment: moderate (2/5) DetailsSmall documentation and prompt update aligning Codex sub-agent advice with verified fleet runs, maintained at moderate risk due to high recent churn and multi-author contention on central runtime docs. Previous run (2)Risk Assessment: moderate (2/5) DetailsSmall documentation and prompt update aligning Codex sub-agent advice with verified fleet runs, maintained at moderate risk due to high recent churn and multi-author contention on central runtime docs. Previous run (3)<!-- fullsend:risk-assessment --> DetailsSmall documentation and prompt update aligning Codex sub-agent advice with verified fleet runs, maintained at moderate risk due to high recent churn and multi-author contention on central runtime docs. Previous run (4)<!-- fullsend:risk-assessment --> DetailsSmall documentation and prompt update aligning Codex sub-agent advice with completed fleet-shaped verification, elevated to moderate risk primarily due to high recent churn and multi-author contention on central runtime docs. |
|
Looks good to me Previous run<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me Previous run (2)<!-- fullsend:review-diff-hash:0b459f4d37fbce3ed1b4fd14c83111d8b6199ae5639b43f99fa99a2115fa6d6c --> Looks good to me Previous run (3)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me Previous run (4)<!-- fullsend:review-diff-hash:573f71d5ecf48a397c4a94cdb6849a6dcb8d059ff2200c47158f5c645c821d88 --> Looks good to me Labels: PR updates runtime documentation and the codex setup prompt text. Previous run (5)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me Labels: PR updates runtime documentation and the codex setup prompt text. Previous run (6)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me Labels: PR updates runtime documentation and the codex setup prompt text. Previous run (7)<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== --> Looks good to me |
The getting-started row said "in one context", which the page never defines, and implied every model that can spawn children delegates; it now names the allowed parents and says the parent otherwise does the sub-agents' work itself. The comment on codexSubagentNote still said the agents pr-review wording had not landed; it landed, with retro's, in fullsend-ai/agents#1849. Signed-off-by: Dharit Shah <dhshah@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 4:55 PM UTC · Completed 5:07 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.82 |
Superseded by updated review
waynesun09
left a comment
There was a problem hiding this comment.
Review-only comments: three documentation accuracy findings on the run evidence and the delegation wording.
…ix/6970-codex-docs-flip Signed-off-by: Dharit Shah <dhshah@redhat.com>
Superseded by updated review
…e guide The setup prompt's codex line said nothing about review once the keep-on-claude advice went, so it now says review has skipped one of its sub-agents without saying so (fullsend-ai#9073, fullsend-ai#9657). The guide's callout says what was lost and how often: a selected review persona in two of the three local review runs on fullsend-ai#6970, and in a later run findings the review's challenger persona had kept. The review/retro paragraph of the codex page names the per-agent `runtime: claude` override for keeping either agent on Claude Code. Signed-off-by: Dharit Shah <dhshah@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 11:53 PM UTC · Completed 12:01 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.10 |
Superseded by updated review
…ix/6970-codex-docs-flip Signed-off-by: Dharit Shah <dhshah@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 12:05 PM UTC · Completed 12:13 PM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.19 |
Superseded by updated review
|
@waynesun09 |
|
/ok-to-test 4ae7001 |
E2E tests are runningAuthorization passed for this commit. See the E2E Tests workflow for results. |
|
E2E authorized for |
waynesun09
left a comment
There was a problem hiding this comment.
Re-reviewed 4ae7001: the three earlier findings are fixed (the #6970 evidence now states the dropped personas and links #9073 and #9657; platforms read as native macOS plus a Fedora CoreOS podman VM throughout; the codex row matches the delegation gate after #9444). The keyed-sentence comment matches agents review.md, retro.md and the pr-review skill. go test ./internal/cli and ./internal/runtime pass locally; behaviour runs in the merge queue.
…ix/6970-codex-docs-flip Signed-off-by: Dharit Shah <dhshah@redhat.com>
Summary
Review and retro run their sub-agents as native Codex children when harness security is on and Codex resolves the parent model to collaboration V1 (ADR 0126, since v0.53.0) or V2 (ADR 0159, #9444) on the direct route, and on V2 only while no child model selects V2. On V1 both ran fleet-shaped locally on macOS Apple Silicon, natively and in a Fedora CoreOS (aarch64) podman VM (macOS, Fedora VM). Every run exited 0, but in two of the three
reviewruns a persona the skill selects did not run, and neither result said so (#9073, #9657). On V2 both ran natively on macOS on agpt-6.1-solparent, and each child's result reached the parent once (#9085), but thereviewparent then dropped the challenger's kept findings after its own check of the repository (#9657). None of these runs went through the fleet workflows. This replaces the advice to keep the two agents on Claude Code, in the setup prompt and the docs, with that caveat in the setup prompt, the getting-started guide, the runtime matrix and the codex page, and the codex page names the per-agentruntime: claudeoverride for keeping either agent on Claude Code.Related Issue
Fixes #6970. Fixes #9085: the codex row of the getting-started guide is its last open item. #8836's live passes evaluated correctness, security and challenger quality with every child on
gpt-5.6-luna; the run with nosubagentsreported every seeded finding. The agents-side listing follows in fullsend-ai/agents#1500 after this merges. The two persona losses are tracked in #9073 (a mistyped role, denied, in macOS run 1) and #9657 (the Fedora run's departures from its dispatch instructions, and the V2 run's dropped challenger findings); the denied-spawn rule indocs/runtimes/codex.mdlinks #9073, the review/retro paragraph links both, and the getting-started caveat links that paragraph.Changes
internal/cli/runtime_prompt.go: the codex line of the runtime prompt no longer recommends keeping review and retro on claude; a second line says review has skipped one of its sub-agents without saying so (codex: a spawn denied for a mistyped role name drops the sub-agent silently #9073, codex: review and retro departed from their instructions in local runs #9657).docs/runtimes/codex.md: the "Keepreviewandretroon Claude Code" paragraph and itsruntime: claudeexample give way to one saying when both delegate (a V1 or V2 parent on the direct route, harness security on, and on V2 no child model that selects V2), where they ran on V1 and V2, that two of the three V1 review runs lost a persona (codex: a spawn denied for a mistyped role name drops the sub-agent silently #9073, codex: review and retro departed from their instructions in local runs #9657), and that the V2 review parent dropped the challenger's kept findings (codex: review and retro departed from their instructions in local runs #9657); the denied-spawn rule names the codex runtime: run the review/retro sub-agent rosters through codex's native spawn_agent roles #6970 V1 review run; the Platforms bullet and the Not yet exercised lead name the same platforms, with the harnesses run on each and one sentence per collaboration version, and the records pointer adds feat(codex)!: run sub-agents as native Codex children #8836, codex runtime: run the review/retro sub-agent rosters through codex's native spawn_agent roles #6970 and codex runtime: delegate from collaboration V2 parents and bump Codex past 0.159.3 #9085; the review/retro paragraph ends with the per-agentruntime: claudeoverride for keeping either agent on Claude Code.docs/guides/getting-started/choosing-a-runtime.md: the callout's "best left on Claude Code" becomes a caveat that in two of the three localreviewruns on codex runtime: run the review/retro sub-agent rosters through codex's native spawn_agent roles #6970 a selected review persona did not run and the result did not say so, and that a later run dropped findings its challenger persona had kept, linking the details incodex.md; the codex row states the delegation gate (harness security on and a parent Codex resolves to collaboration V1 or V2 at its pinned version, except agateway/model or, for a V2 parent, a child model that selects V2) and that otherwise the parent does the sub-agents' work itself.internal/runtime/codex_bootstrap.go: comment only. The note oncodexSubagentNotenow says the agents pr-review skill, review agent and retro agent key on its first two sentences and the denied-spawn sentence (feat(#1500): dispatch sub-agents in waves on Codex agents#1849, feat(#1500): dispatch Codex children on collaboration V2 agents#1971).docs/runtimes.md: the codex cell of the Roles row reads "All" with the same caveat (codex: a spawn denied for a mistyped role name drops the sub-agent silently #9073, codex: review and retro departed from their instructions in local runs #9657).docs/contributing/runtime-implementation.md: the outstanding item says where the runs ran, none through the fleet workflows (V1, fleet-shaped: locally on macOS Apple Silicon, natively and in a Fedora CoreOS (aarch64) podman VM; V2: natively on macOS), and links the two persona losses and the V2 run's dropped findings.Testing
make lintpasses on the changed files (pre-commit, including its markdown link check);make lint-md-linksreports 0 errorsTestPromptRuntimechecks the offered runtime names, not the codex line's wording, and passesgo build ./...,go vet ./internal/runtime/ ./internal/cli/andnpx vitepress build docspassgit grep -n -i -E "keep review and retro|retro on claude|no sub-agent roster|best left on claude|not yet verified fleet|until a fleet-shaped run|stay on claude code" -- docs internal README.md ':!docs/ADRs' ':!docs/problems'finds nothing, and no tracked doc outside those two directories states the gate as V1 onlyChecklist
!for breaking changes)🤖 Generated with Claude Code