Skip to content

fix(#6970): stop advising claude for review and retro on codex - #9081

Merged
dhshah13 merged 7 commits into
fullsend-ai:mainfrom
dhshah13:fix/6970-codex-docs-flip
Nov 20, 2026
Merged

dhshah13 merged 7 commits into
fullsend-ai:mainfrom
dhshah13:fix/6970-codex-docs-flip

Conversation

@dhshah13

@dhshah13 dhshah13 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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 review runs a persona the skill selects did not run, and neither result said so (#9073, #9657). On V2 both ran natively on macOS on a gpt-6.1-sol parent, and each child's result reached the parent once (#9085), but the review parent 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-agent runtime: claude override 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 no subagents reported 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 in docs/runtimes/codex.md links #9073, the review/retro paragraph links both, and the getting-started caveat links that paragraph.

Changes

Testing

  • make lint passes on the changed files (pre-commit, including its markdown link check); make lint-md-links reports 0 errors
  • Tests added/updated for new or modified logic: none needed; TestPromptRuntime checks the offered runtime names, not the codex line's wording, and passes
  • go build ./..., go vet ./internal/runtime/ ./internal/cli/ and npx vitepress build docs pass
  • git 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 only

Checklist

  • PR title follows Conventional Commits (correct type, ! for breaking changes)
  • Commits are signed off (DCO) — human and human-directed agent sessions only
  • I wrote this contribution myself and can explain all changes in it

🤖 Generated with Claude Code

…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>
@qodo-code-review

qodo-code-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Correct Codex review and retro runtime guidance

🐞 Bug fix 📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Remove advice to keep Codex review and retro agents on Claude Code.
• Document when native Codex delegation works and when the parent handles sub-agent tasks.
• Record local V1/V2 results and review coverage gaps without claiming fleet validation.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 0 capabilities

  • Fault-specific containment limits risk to the originating changed behavior.
Behavioral complexity 🟢 Low 🧩 Straightforward

  • Before: the interactive prompt displayed a Codex description and recommendation.
  • After: it displays the same option plus one additional warning line.
  • The new correctness condition is only that the displayed guidance be accurate and understandable; there are no new branches, state transitions, transformations, ordering constraints, compatibility cases, or coordinated invariants.
  • The bootstrap change is a comment-only edit and the remaining changes are documentation.
Sources

internal/cli/runtime_prompt.go[35-36]

	printer.StepInfo("  [codex]    Codex — experimental; OpenAI models, or gateway/<model> through an inference gateway;")
	printer.StepInfo("             review has skipped one of its sub-agents without saying so (#9073, #9657)")

internal/runtime/codex_bootstrap.go[496-498]

// are what the agents repository's pr-review skill, review agent and retro
// agent key on (fullsend-ai/agents#1849, fullsend-ai/agents#1971); change
// them only together with those. roles is
Potential damage 🟢 Low 🩹 Cosmetic

  • Conservative damage bound for the originating changed behavior; downstream capabilities remain contained.
  • If the warning is wrong or misleading, the impact is limited to user guidance during setup.
  • It does not create an incorrect runtime selection automatically, corrupt persistent state, affect queued work, or alter Codex execution.
  • The user can disregard the message or select another runtime.
  • Reverting the CLI text removes the issue; no state repair or external compensation is required.
  • Immediate by rerunning setup or ignoring the warning; code rollback restores the prior display.
  • No persistent state or external effect requires repair.
Sources

internal/cli/runtime_prompt.go[35-36]

	printer.StepInfo("  [codex]    Codex — experimental; OpenAI models, or gateway/<model> through an inference gateway;")
	printer.StepInfo("             review has skipped one of its sub-agents without saying so (#9073, #9657)")
Assessed commit 329dc2c
Diagram

graph TD
  A["Setup prompt"] --> B["Codex guidance"] --> C{"Delegation eligible?"} -->|yes| D["Native children"] --> F["Observed gaps"]
  C -->|no| E["Parent executes tasks"]
Loading
High-Level Assessment

Correcting the setup advice and linked runtime documentation is appropriate: the delegation behavior already exists, so an implementation change would not address the misleading recommendation. Retaining the experimental status and explicit coverage caveats avoids overstating the local evidence.

Files changed (6) +60 / -34

Bug fix (1) +1 / -1
runtime_prompt.goRemove obsolete Claude recommendation from setup +1/-1

Remove obsolete Claude recommendation from setup

• The interactive Codex choice no longer advises users to keep review and retro on Claude Code. Runtime selection behavior remains unchanged.

internal/cli/runtime_prompt.go

Documentation (5) +59 / -33
runtime-implementation.mdRecord local Codex sub-agent results +10/-2

Record local Codex sub-agent results

• Replaces the claim that no fleet-shaped native sub-agent run has completed with the local V1 and V2 results. Distinguishes those runs from fleet workflows and records missing review personas and dropped findings.

docs/contributing/runtime-implementation.md

choosing-a-runtime.mdClarify Codex eligibility and review risks +2/-2

Clarify Codex eligibility and review risks

• Removes the blanket recommendation to keep review and retro on Claude Code. The runtime row explains the delegation conditions and parent fallback, while the introduction links to documented review coverage gaps.

docs/guides/getting-started/choosing-a-runtime.md

runtimes.mdCorrect Codex role support in the runtime matrix +1/-1

Correct Codex role support in the runtime matrix

• Changes the Codex roles entry to say all roles are supported while warning that some review runs silently omitted a selected sub-agent or its kept findings.

docs/runtimes.md

codex.mdDocument native review and retro delegation evidence +43/-26

Document native review and retro delegation evidence

• Replaces the Claude Code override example with V1/V2 delegation conditions, local platform results and observed review failures. Also clarifies the denied-spawn incident and that the cited runs did not exercise fleet workflows or CI credentials.

docs/runtimes/codex.md

codex_bootstrap.goUpdate dispatch-note compatibility comment +3/-2

Update dispatch-note compatibility comment

• The comment now names the review and retro agent instructions that depend on the dispatch note's keyed sentences. Executable behavior is unchanged.

internal/runtime/codex_bootstrap.go

@qodo-code-review

qodo-code-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Setup prompt drops the review and retro caveat for codex ✓ Resolved

Resolving commit: 455ea94

Resolution reason
Added a caveat line under the codex option in the setup prompt warning that review skipped a
sub-agent silently, and restored a documented runtime: claude per-agent opt-out in the codex
guide, linked from the codex runtime doc.
Description
The codex line of promptRuntime lists codex as experimental without mentioning that review and
retro can silently drop personas or findings, and the guide's runtime: claude pin for those
agents was deleted, leaving no documented way to avoid the problem. The prompt line is shown to
every repository that selects codex during fullsend github setup, so users who never open the docs
get no caveat and no opt-out.

2. Runtime readers cannot decode new setup terms ✗ Dismissed
Description
The updated runtime guide introduces native Codex children and collaboration/model conditions
without defining them inline or linking them to docs/glossary.md. Readers following the new
codex row therefore encounter the delegation terms and model gate without the glossary guidance
required for first use.

3. Codex support claims conflict across repos ✓ Resolved

Resolving commit: 4ae7001

Resolution reason
Rewrote the Codex docs' delegation and run-status claims to scope them to local runs, record that
selected personas were dropped without notice, and cite the issues; updated runtime matrix,
getting-started guide, and runtime bridge note to match the same caveats and to reference the
companion agents PRs.
Description
The fullsend documentation presents review and retro as delegating to native Codex children and
marks Codex roles as available, while the pinned fullsend-ai/agents instructions and runtime
bridge still make Codex support conditional on a later live verification and companion skill
changes. Users and qualifying Codex runs can therefore receive contradictory support guidance or
follow the documented native-runtime path without scheduling the advertised personas and
investigation tasks.


Informational

4. Callout hides how often review runs lose work ✓ Resolved

Resolving commit: 455ea94

Resolution reason
The callout in choosing-a-runtime.md was rewritten: 'skipped one of the review's checks' is replaced
with 'in two of the three local review runs on #6970 a selected review persona ... did not run and
the result did not say so', and 'dropped findings the review had confirmed' is replaced with 'in a
later run the review dropped findings its challenger persona ... had kept'. This matches the
suggested fix's wording change and the two-of-three V1 rate. The codex.md and CLI prompt text were
also aligned.
Description
The choosing-a-runtime callout describes the codex review failure as 'some of its local codex review
runs have skipped one of the review's checks', but the linked evidence shows a selected persona
missing in two of three V1 runs and the V2 review dropping challenger-kept findings. The wording
uses 'checks' where the evidence says 'personas', which blurs what was lost and understates the rate
for a reader deciding whether to pilot codex.

Grey Divider

Context sources
✅ Linked PRs:
  🌐 PR #9444
  🌐 PR #8836
✅ Compliance rules (platform): 96 rules
✅ Skills: 5 invoked
  writing-user-docs
  writing-adrs
  check-patch-coverage
  cutting-releases
  adr-corner
✅ Cross-repo context — repo relationships
  Explored: repo: fullsend-ai/agents (sha: 22ab92e8) — View relationship
✅ Context preparation
  Commit messages: summarized; full text retained for this review
Review mode: Auto: 🚀 Fast: Localized documentation and prompt wording changes; no high-risk runtime logic.

Grey Divider

Tip of the day
💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit 329dc2c

Results up to commit 78e66dd 🚀 Fast


🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)


Remediation recommended
1. Runtime readers cannot decode new setup terms ✗ Dismissed
Description
The updated runtime guide introduces native Codex children and collaboration/model conditions
without defining them inline or linking them to docs/glossary.md. Readers following the new
codex row therefore encounter the delegation terms and model gate without the glossary guidance
required for first use.

2. Codex support claims conflict across repos ✓ Resolved

Resolving commit: 4ae7001

Resolution reason
Rewrote the Codex docs' delegation and run-status claims to scope them to local runs, record that
selected personas were dropped without notice, and cite the issues; updated runtime matrix,
getting-started guide, and runtime bridge note to match the same caveats and to reference the
companion agents PRs.
Description
The fullsend documentation presents review and retro as delegating to native Codex children and
marks Codex roles as available, while the pinned fullsend-ai/agents instructions and runtime
bridge still make Codex support conditional on a later live verification and companion skill
changes. Users and qualifying Codex runs can therefore receive contradictory support guidance or
follow the documented native-runtime path without scheduling the advertised personas and
investigation tasks.

Grey Divider

Qodo Logo

Comment thread docs/runtimes/codex.md Resolved
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:33 PM UTC · Completed 4:48 PM UTC

Commit: 78e66dd · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.78

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Site preview

Preview: https://f4f85f41-site.fullsend-ai.workers.dev

Commit: 329dc2c2ee51865fa4db9018e67baedffbb3c34d

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review fullsend-ai-review Bot added the risk/moderate PR risk: moderate label Nov 3, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Risk Assessment: moderate (2/5)

Details

Small documentation and prompt wording change with zero protected paths, balanced by high historical churn and coupling on touched runtime documents.

Previous run

Risk Assessment: moderate (2/5)

Details

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

Details

Small 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 -->
Risk Assessment: moderate (2/5)

Details

Small 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 -->
Risk Assessment: moderate (2/5)

Details

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

@fullsend-ai-review

fullsend-ai-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Looks good to me

Previous run

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

Looks good to me

Previous run (2)

<!-- fullsend:review-diff-hash:0b459f4d37fbce3ed1b4fd14c83111d8b6199ae5639b43f99fa99a2115fa6d6c -->
<!-- fullsend:review-head:455ea94a1a81358d3bf966285e9ab860cead2c5e -->
<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

Looks good to me

Previous run (3)

<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

Looks good to me

Previous run (4)

<!-- fullsend:review-diff-hash:573f71d5ecf48a397c4a94cdb6849a6dcb8d059ff2200c47158f5c645c821d88 -->
<!-- fullsend:review-head:26babda761a1f6226b1fc84311dc43fd3f008442 -->
<!-- fullsend:review-findings-v2:eyJ2ZXJzaW9uIjoyLCJhY3Rpb24iOiJhcHByb3ZlIiwiZmluZGluZ3MiOltdfQ== -->

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

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 3, 2026
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>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 4:55 PM UTC · Completed 5:07 PM UTC

Commit: ddf5a2c · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $1.82

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 3, 2026 17:07

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge component/docs User-facing documentation labels Nov 3, 2026

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review-only comments: three documentation accuracy findings on the run evidence and the delegation wording.

Comment thread docs/runtimes/codex.md Resolved
Comment thread docs/runtimes/codex.md Resolved
…ix/6970-codex-docs-flip

Signed-off-by: Dharit Shah <dhshah@redhat.com>
@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 17, 2026 23:28

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 17, 2026
…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>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 11:53 PM UTC · Completed 12:01 AM UTC

Commit: 455ea94 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.10

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Nov 17, 2026
@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 18, 2026 00:01

Superseded by updated review

fullsend-ai-review[bot]

This comment was marked as outdated.

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 18, 2026
@dhshah13 dhshah13 added the ok-to-test Allow e2e CI to run after maintainer review (must be re-applied after each push) label Nov 18, 2026
@dhshah13
dhshah13 requested a review from waynesun09 November 18, 2026 13:36
…ix/6970-codex-docs-flip

Signed-off-by: Dharit Shah <dhshah@redhat.com>
@fullsend-ai-review

fullsend-ai-review Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 12:05 PM UTC · Completed 12:13 PM UTC

Commit: 4ae7001 · View workflow run →

Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.19

@fullsend-ai-review fullsend-ai-review Bot removed the ready-for-merge All reviewers approved — ready to merge label Nov 19, 2026
@fullsend-ai-review
fullsend-ai-review Bot dismissed their stale review November 19, 2026 12:13

Superseded by updated review

@fullsend-ai-review fullsend-ai-review Bot added the ready-for-merge All reviewers approved — ready to merge label Nov 19, 2026
@dhshah13

Copy link
Copy Markdown
Contributor Author

@waynesun09
can you review it again. Wanted to finish this codex feature.

@waynesun09

Copy link
Copy Markdown
Member

/ok-to-test 4ae7001

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

E2E tests are running

Authorization passed for this commit. See the E2E Tests workflow for results.

@github-actions

Copy link
Copy Markdown

E2E authorized for 4ae7001ab60663ca4ed497e7ffade6704e5f75d4 (run). A new push needs a new /ok-to-test <sha>.

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@dhshah13
dhshah13 enabled auto-merge November 20, 2026 18:01
…ix/6970-codex-docs-flip

Signed-off-by: Dharit Shah <dhshah@redhat.com>
@dhshah13
dhshah13 added this pull request to the merge queue Nov 20, 2026
Merged via the queue into fullsend-ai:main with commit 101e89e Nov 20, 2026
34 checks passed
@dhshah13
dhshah13 deleted the fix/6970-codex-docs-flip branch November 20, 2026 18:49

This branch was successfully deployed

1 active deployment
site-preview — 329dc2c2 Deployed Nov 20, 2026 by github-actions[bot]
dev — ddf5a2c3 Deployed Nov 3, 2026 by dhshah13 via behaviour #18771
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/docs User-facing documentation ok-to-test Allow e2e CI to run after maintainer review (must be re-applied after each push) ready-for-merge All reviewers approved — ready to merge risk/moderate PR risk: moderate

Projects

None yet

2 participants