Skip to content

codex: review and retro departed from their instructions in local runs #9657

Open

Description

@dhshah13

What happens

In the Fedora leg of the fleet-shaped run on #6970 (comment), both parents exited 0 and every spawn was admitted. Both departed from their dispatch instructions on runtime: codex. That leg ran in a Fedora CoreOS (aarch64) podman VM on a Mac.

  • review read skills/pr-review/SKILL.md only to line 800 of 1,457. It read four ranges, 1,200p through 601,800p. The runtime note says to read each instruction file "in contiguous ranges of at most 200 lines ... including a short final chunk so the last line is covered". It missed two rules that come after line 800 (line numbers at fullsend-ai/agents@201f513e6):
    • every wait_agent call used timeout_ms 3600000, where the Codex roster rule (line 828) allows at most 120000;
    • none of the three dimension personas' prompts (correctness, style-conventions, intent-coherence) or the challenger's carried the dispatch guard flag REVIEW_SUB_AGENT_TRUE, part 5 of a dimension persona's prompt (line 809) and part 4 of the challenger's (line 1022).
  • review left out docs-currency on the grounds that the persona was "not staged". Its own persona listing showed docs-currency staged. Its when, "the repository has documentation files", matched. Step 3c includes every staged dimension persona whose when matches. The persona did not run, and the review result does not mention it.
  • retro passed agent_type: "explore" for all five of its children: four investigation tasks and the duplicate search. agents/retro.md says to pass no agent_type. explore is a registered role, so the guard admitted the spawns, and the children ran explore's instructions instead of the default role's.
  • retro also departed in other ways. It sent overlapping wait_agent calls to one child. It fetched the PR's comments, reviews and files in the parent rather than in a child. It asked the duplicate-search child to judge overlap, which skills/retro-analysis/SKILL.md says the parent does.

Across all three review runs on #6970, including the two macOS runs that read all 1,457 lines, no parent ran the skill's time-budget checks before each wait and before the challenger. Each parent wrote its start time, and TIMEOUT_SECONDS was 2700.

What should happen

The parent reads each instruction file through its last line and follows the dispatch rules for the runtime it is on, including the time-budget checks. It runs every persona the skill selects, or records why one did not run, and keeps the findings its challenger kept. It passes the role its instructions name.

How to reproduce

Each departure above was seen once, in one run per agent, except the skipped time-budget checks, which every review run showed.

  1. Check out fullsend c7652ad and fullsend-ai/agents@201f513e6, with Codex CLI 0.159.3. For the Fedora leg, run OpenShell 0.1.4 as a user-level gateway on the podman driver, on Fedora Linux 42 CoreOS (aarch64) in a podman machine VM.
  2. Run fullsend run review on a one-file Go PR and fullsend run retro on fix(#1853): tighten the Codex wave after maintainer review agents#1856, with --runtime codex --model openai/gpt-5.6-luna --effort medium --no-post-script and harness security on.

Context

Activity

  1. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 11:16 PM UTC · Completed 11:18 PM UTC

    Commit: 27ef67b · View workflow run →

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

  2. added a commit that references this issue on Nov 17, 2026
  3. added
    type/bug
    priority/medium
    component/runner
    agent/review
    agent/retro
    ready-to-code
    on Nov 17, 2026
  4. fullsend-ai-triage commented on Nov 17, 2026

    @fullsend-ai-triage

    Triage notes (net-new only):

    Proposed test case:

    Hook tests: wait_agent with timeout_ms=3600000 is denied/clamped; 120000 is admitted.
    Golden tests: the v1 and v2 runtime notes include the read-through-last-line and omit-agent_type rules.
    Regression: Explore-pass spawns with agent_type=explore and registered persona spawns stay admitted.
    

    Labels: Behavioral defect in the codex runtime, which touches the runner/harness and the review and retro agents.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. fullsend-ai-coder commented on Nov 17, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 11:20 PM UTC · Completed 11:30 PM UTC

    Commit: 27ef67b · View workflow run →

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

  6. added a commit that references this issue on Nov 17, 2026
  7. added
    ok-to-test
    and removed
    ok-to-test
    on Nov 18, 2026
  8. added a commit that references this issue on Nov 18, 2026
  9. added 2 commits that reference this issue on Nov 18, 2026
  10. added a commit that references this issue on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/retroagent/reviewbugcomponent/runnerpriority/mediumready-to-codetype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions