Repository navigation
Closed
Labels
component/docsUser-facing documentationcomponent/harnessAgent harness, config, and skills loadingcomponent/runnerAgent runner behavior and lifecyclefeatureFeature-category issue awaiting human prioritizationtriagedTriaged but awaiting human prioritizationtype/featureNew capability request
Description
Goal
Run the fleet review and retro sub-agent rosters on the codex runtime (#6920) using codex's native multi-agent tools (spawn_agent / wait / close_agent, multi-agent v1 — Stable and on by default at 0.152.1), so the docs' "keep review and retro on Claude Code" recommendation can be dropped. This is the codex counterpart of #6756 (pi Agent tool).
Verified by probe (2026-09-03, sandbox image, codex-cli 0.152.1)
- Roles declared as
[agents.<name>] description, config_filewith aconfig_filelayer settingdeveloper_instructionsact as personas; children spawned withagent_type=<name>followed them and returned their final reply throughwait. - fullsend's PreToolUse hooks fire inside children with
agent_idandagent_typein the payload — no extra wiring. - One rollout file per thread (root + each child); the child rollout names its role.
- The parent's
turn.completed.usageexcludes children; child tokens are in each child rollout'stoken_countevents. spawn_agentwithmodel="opus"fails safely:Unknown model \opus` … Available models: gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.2` (no silent remap; Claude aliases stay Claude-only).- Codex syncs a bundled plugin marketplace at startup (the denied
chatgpt.com/api.github.comprobes in the sandbox) — turn it off in the rendered config.
Design (→ ADR 0101)
- Bootstrap generates
agents/<persona>.tomlroles from the uploaded skills'sub-agents/*.md(frontmatterdescription+ body asdeveloper_instructions), plus a built-inexplorerole forsubagent_type: Explore(instruction-only — no read-only sandbox exists per child on codex). - Children run the parent's OpenAI model; optional
FULLSEND_CODEX_SUBAGENT_MODEL→agents.default_subagent_model;agents.max_concurrent_threads_per_session = 4; depth 1. - A bridge paragraph appended to the orchestrator's
developer_instructionsmaps the ClaudeAgentcontract tospawn_agent(agent_type, message)+wait. - The roles directory joins the runner-held digest set (exhaustive entries, filename-bound digests) — it is agent-writable.
ExtractTranscriptscollects and redacts every rollout (children as<agent>-sub<seq>-<role>.jsonl); child usage folds intoRunMetrics.PerModelUsage(type from feat(pi): Agent tool for sub-agents on the pi runtime #6756).
PRs
- F0 (only if feat(pi): Agent tool for sub-agents on the pi runtime #6756 has not merged): extract
PerModelUsage/ModelUsageinto a small main PR - F1 fullsend
codex-subagents: roles +[agents]config + bridge + digests + transcripts/usage + plugin sync off + ADR 0101 + docs internals - F2 fullsend-ai/agents: runtime-neutral dispatch wording in
skills/pr-review/SKILL.md(helps pi too) - F3 fullsend docs flip after a fleet-shaped
reviewandretrorun on codex (macOS, then Fedora)
Plan with sources: research/fullsend-codex-subagents-plan.md in ai-workspace-public.
Related: #6920 (codex runtime), #6756 (pi Agent tool), #6527 (runtime parity backlog), ADR 0099 / 0100.
Reacted by fullsend-ai-triage
Metadata
Metadata
Assignees
Labels
component/docsUser-facing documentationcomponent/harnessAgent harness, config, and skills loadingcomponent/runnerAgent runner behavior and lifecyclefeatureFeature-category issue awaiting human prioritizationtriagedTriaged but awaiting human prioritizationtype/featureNew capability request
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Sep 3, 2026
🤖 Finished Triage · ✅ Success · Started 3:42 PM UTC · Completed 3:47 PM UTC
Commit:
48eac1a· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.88
fullsend-ai-triage commentedon Sep 3, 2026
Re-checked at a maintainer's request (2026-09-24) to confirm this issue is still relevant given how much has changed in fullsend and fullsend-ai/agents since it was filed.
Still relevant and unimplemented. The shipped docs (
docs/runtimes/codex.md,docs/guides/getting-started/choosing-a-runtime.md) still say codex has no sub-agent roster and recommend keepingreview/retroon Claude Code there. The codex runtime source (internal/runtime/codex_bootstrap.go,codex_config.go) confirms this gap is still open — it only emits a placeholder note that no sub-agent roster is wired. Nodocs/ADRs/0101-*exists yet, and no open or merged PR in either repo references this issue,spawn_agent, orcodex-subagents, so F1 has not landed.Both previously identified blockers have since cleared:
Agenttool (feat(pi): Agent tool for sub-agents on the pi runtime #6756) merged, so the conditional F0 PR to extractPerModelUsage/ModelUsageis no longer needed.This means the issue is no longer blocked on other work — a developer could start on F1 today using the design already recorded in the issue and its comments (role shape, model defaults, dispatch policy, integrity guards).
Per the reviewer's instruction, this is being left as triaged-but-unpromoted for human prioritization rather than auto-dispatched; it also falls outside the categories eligible for automatic ready-to-code promotion. All previously documented design decisions and proposed test cases are carried forward and expanded above.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
Triage notes
Conditional dependency on #6756: Since #6756 (pi Agent tool) is still open, the F0 PR to extract
PerModelUsage/ModelUsageinto a standalone PR will be needed before F1. The author already accounts for this in the PR plan.Codex runtime foundation is in place: The
internal/runtime/codex*.goimplementation (bootstrap, run, config, hooks, transcripts, integrity) already exists from #6920's PR stack, so F1 can build on top of it.Proposed test cases:
Labels: Adding component/harness since bootstrap config generation and digest tracking are harness responsibilities; existing type/feature, component/runner, and component/docs labels are correct.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancewaynesun09 commentedon Sep 3, 2026
Plan update (2026-09-03), two inputs folded in:
ai-agent-base/codex-agents/*.tomlalready runs the shared sub-agents on host codex as single-file roles (name,description,developer_instructions), linked into$CODEX_HOME/agents/. The runner will generate the fleet roster (skills/*/sub-agents/*.md) into that shape at Bootstrap, applying the lessons from that port:model:is dropped entirely (a rolemodelis copied verbatim into the child, so a Claude alias fails at spawn andmodel = "inherit"fails at the child's first request with404 The model inherit does not exist; omitting it is the only way to inherit),tools/permissionMode/background/maxTurnsare dropped with a log line rather than turned into prompt text, nosandbox_mode, no migration boilerplate in the child's system prompt. Roles are written as regular files: codex's role discovery skips symlinks (verified on 0.152.1). Codex's own Claude→codex migrator is TUI-only (the CLI exposes onlymigrate-rollouts), so the mapping stays a small runner function.mainafter it merges./etc/codexis root-owned,$CODEX_HOME/agents/joins the runner-held digest set, and the repo's.codex/agents/never loads because the config carries no[projects]trust entry (the guard already refuses a rewritten config); F1 adds a test for a planted repo role.~/.codex/agents/on a laptop (copies, not symlinks) and drive hostcodex execwithagents/review.mdplus the bridge paragraph against a real PR.waynesun09 commentedon Sep 3, 2026
Decision (2026-09-03): children run a cheaper model by default. The runner sets
agents.default_subagent_modeltogpt-5.6-luna(the cheap tier of the latest GPT-5.6 family, already used for the codex runtime's fleet-shaped runs);FULLSEND_CODEX_SUBAGENT_MODELoverrides it, OpenAI ids only. Roles carry nomodel, so the default applies to every child.Dispatch stays need-based. The pr-review skill already selects sub-agents by triage (
correctness+style-conventionsalways, the rest conditional, typically 3–6,challengersequential, re-reviews narrowed). On codex every generated role is available tospawn_agent, which is not a reason to spawn it: the bridge paragraph says "spawn only the sub-agents step 3c selected", and the verification run asserts the spawn count against the triage classification, not the roster size. Known trade-off:correctnessloses its strong-tier assignment on codex; the first fleet-shaped run checks its finding quality.ralphbean commentedon Sep 24, 2026
/fs-triage lots of things have changed between when this was originally filed and now across both the https://github.com/fullsend-ai/fullsend and https://github.com/fullsend-ai/agents repos. Is this still relevant? This is a stale-issue review, not an implementation request: even if the issue is still a valid bug and has sufficient information, do not recommend or trigger ready-to-code yet. Leave it for human prioritization after confirming whether it remains relevant. Do not close a still-relevant bug merely to avoid coding it.
fullsend-ai-triage commentedon Sep 24, 2026
🤖 Finished Triage · ✅ Success · Started 8:59 PM UTC · Completed 9:03 PM UTC
Commit:
d565f76· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $0.25
37 remaining items
feat(codex)!: bind native child models from subagents and FULLSEND_CO…
dhshah13 commentedon Nov 3, 2026
Fleet-shaped run on
main, macOS: tworeviewruns on the same PR and oneretro, all with--runtime codex, parentopenai/gpt-5.6-lunaat effortmedium, children ongpt-5.6-luna, harness security on.fullsend-codefor review,fullsend-sandboxfor retro).--no-post-script, not through the fleet workflows, so there are no run links. OpenShell 0.0.116 locally (CI pins 0.1.4). Fedora was not run.reviewandretroharnesses, with the Vertex provider and its credential files removed, under aconfig.yamllisting only those two.github-public-ro(review) andgithub-artifacts(retro) carry no credential, which OpenShell 0.0.116 refuses, so each got an empty dummy credential.request-changes, 2 findingsrequest-changes, 1 findingcorrectness,style-conventions,docs-currency,risk-assessment,challengercorrectness,style-conventions,intent-coherence,docs-currency,cross-repo-contracts,risk-assessment,challenger,exploredefaultper_model_usagegpt-5.6-luna,requests6,output_tokens12,752 (parent 6,914 + children 5,838)gpt-5.6-luna,requests9,output_tokens15,124 (parent 8,712 + children 6,412)gpt-5.6-luna,requests5,output_tokens19,743 (parent 2,885 + children 16,858)No spawn of a registered role was denied. The one denial, in review run 1: the parent selected
intent-coherencebut passedagent_type: "intent", which is not registered, so the spawn guard denied it. The parent then neither ran that persona itself, which the runtime note directs after a denied spawn, nor recorded asub-agent-failurefinding, so that review result lacks intent-coherence coverage without saying so. Run 2 spawnedintent-coherenceunder its registered name.Every parent's first
fullsend-check-outputcall exited 127: the agent definitions call it by name, and on Codex/sandbox/workspace/binis not on the agent'sPATH, as Adding executables documents. Each then ran it by its full path and validation passed.dhshah13 commentedon Nov 3, 2026
Fedora leg of the run above, on the same commits: one
reviewon the same PR and oneretroon fullsend-ai/agents#1856, with--runtime codex, parentopenai/gpt-5.6-lunaat effortmedium, children ongpt-5.6-luna, harness security on.reviewandretroharnesses, with the Vertex provider and its credential files removed, under aconfig.yamllisting only those two. No dummy credentials: 0.1.4 accepts providers that carry none.--no-post-script, not through the fleet workflows, so there are no run links.request-changes, 1 findingcorrectness,style-conventions,intent-coherence,risk-assessment,challenger, thendefaultfor the label-conventions lookupexploreper_model_usagegpt-5.6-luna,requests7,output_tokens13,885 (parent 7,391 + children 6,494)gpt-5.6-luna,requests6,output_tokens22,882 (parent 3,491 + children 19,391)No spawn was denied. Review read
skills/pr-review/SKILL.mdonly to line 800 of 1,457 and missed the Codex dispatch rules after it: everywait_agentusedtimeout_ms3600000, where they set at most 120000. It also left outdocs-currencyas "not staged", though it was. Retro passedagent_type: "explore"for its investigation tasks, whereretro.mdsays to pass noagent_type;exploreis registered, so the guard admitted them.Both parents' first
fullsend-check-outputcall exited 127 again. Review reran it by its full path, retro checked the JSON itself instead, and the runner's schema validation passed for both. The macOS review run that droppedintent-coherenceis tracked in #9073.docs(fullsend-ai#6970): reword the codex row, update a stale comment
fix(fullsend-ai#1500): match the withheld notice with whitespace arou…
fix(fullsend-ai#1500): treat fullsend's withheld notice as a final V2…
docs(fullsend-ai#6970): state the V1 or V2 gate and what the runs showed
fix(fullsend-ai#6970): name the review persona losses in setup and th…
fix(fullsend-ai#6970): stop advising claude for review and retro on c…
Merge pull request fullsend-ai#9081 from dhshah13/fix/6970-codex-docs…
docs(fullsend-ai#1500): mark codex local-only and list retro's run gaps
docs(fullsend-ai#1500): list codex as a runtime for review and retro