Skip to content

Codex /ship renders Claude-only Agent calls and stops at the coverage audit #4476

Closed

Description

@DewanB

What happened

After registering gstack for Codex, a fresh Codex session discovers $ship and the installed section links resolve. Step 7 in the Codex-rendered gstack-ship/sections/test-coverage.md still asks for Claude Code's Agent tool with subagent_type: "general-purpose" and run_in_background: false. The Codex session exposes its own subagent lifecycle. It cannot make the documented call, so the required coverage audit stops before a ship receipt.

The same instruction is present in the shared template on upstream main. The Codex host renderer for v1.100.0.0 leaves it in the generated output.

Expected behavior. Render the appropriate reviewer dispatch for the Codex host. Preserve the existing requirement to wait for a terminal result, validate review evidence, and refuse shipping when required evidence is missing.

Steps to reproduce

  1. Check out gstack v1.100.0.0 and run ./setup --host codex --no-browser.
  2. Open a fresh local Codex session in a small Git test repo on a feature branch with a passing test and no existing PR. Confirm the session lists $ship.
  3. Run $ship through Step 7. The installed Codex section requests the Claude-specific tool and arguments above, and the coverage audit cannot start as written.

A source-only repro is to render bun run gen:skill-docs --host codex --out-dir <scratch-directory> and inspect gstack-ship/sections/test-coverage.md in the output.

Additional evidence

  • In an isolated candidate, mapping dispatch and wait to Codex's native subagent lifecycle ran the coverage audit successfully.
  • For ledger-backed reviews, the observed native rollout did not expose the exact dispatched brief as plaintext. The existing ledger correctly refused to count those runs as verified. An isolated app-server adapter that binds the echoed input and final output to the acknowledged thread and turn passed brief, output, and judgment verification.
  • With those changes, the ordinary local Orca Codex session completed a synthetic no-PR ship run and produced a valid receipt against a local bare origin. A separate workspace-write/no-shell-network CLI smoke still could not start the nested review transport with model connectivity. That is a separate runtime limitation.
  • Related host compatibility reports are setup generates Codex ship skill above 160 KB token ceiling #2777 and autoplan: publication hook denies every native reviewer dispatch on Claude Code 2.1.29x (Agent schema strips run_in_background under the fork-subagent gate) #3062. This report concerns the Claude-only reviewer call in the generated Codex /ship workflow.

Readiness report

gstack doctor 1.100.0.0
warn            install root    ~/gstack: codex project unregistered; opencode global current (1.100.0.0), claude global current (1.100.0.0), codex global current (1.100.0.0)
                                fix: installed before the registry; register it: cd ~/gstack && ./setup --host codex
ok              rescue refs     none in ~/gstack
ok              state root      ~/.gstack durable=yes (selected by default)
ok              bun             1.4.4 at ~/.bun/bin/bun (floor 1.3.3, tested 1.4.2)
ok              hooks           15 hook(s) parse
ok              codex           codex-cli 0.169.0-alpha.11.1; self-locate ok; model gpt-6-astra (source: gstack default no model in ~/.codex/config.toml)
ok              codex probe     cached MODEL_OK, 22h ago (not re-run; --live probes now)
not configured  artifacts sync  off; cross-machine artifacts sync is unavailable
                                fix: ~/gstack/bin/gstack-artifacts-init
ok              browse bundle   browse/dist built
ok              binaries        find-browse, design, pdf, gstack-global-discover launch (4 of 4)
ok              cso             native helper 1.100.0.0 (eff8b78dcef3)
ok              claude code     2.1.325 (Claude Code) at ~/.local/bin/claude
ok              session journal no session journals for this project
ok              guard log       no guard decisions logged
warn            CLAUDE.md       the gstack section in ~/gstack/CLAUDE.md lists 26 skills; Claude Code lists installed skills itself, and a pasted list goes stale with each release
                                fix: replace that section with this short block (https://github.com/garrytan/gstack/blob/main/docs/troubleshooting.md#claude-md-skill-list):
                                  ## gstack
                                  Use /browse from gstack for all web browsing. Never use mcp__claude-in-chrome__* tools.
12 ok, 2 warn, 1 not configured, 0 fail

Environment

  • gstack v1.100.0.0, source commit eff8b78dcef398ac11d0694f5e85ebd3a0a66940
  • Codex CLI 0.169.0-alpha.11.1, with the local Orca Codex session also used for verification
  • macOS 27.2.1, arm64

Activity

  1. capy-ai commented on Nov 18, 2026

    @capy-ai
    Contributor

    Fixed in #4489. On Codex, /ship's coverage audit and every other audit and reviewer subagent now start with Codex's spawn_agent and wait on wait_agent, so the run no longer stops at Step 7. Turn on multi_agent = true under [features] in ~/.codex/config.toml. Thanks for the clear report.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions