Repository navigation
Render Codex subagents in the feed - #292
Merged
Merged
Conversation
This was referenced Jun 20, 2026
This was referenced Jul 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #291.
This implements the Codex side of the existing Claude-style subagent rendering path:
<subagent_notification>runtime messages out of normal user prompt renderingSubAgentStatefor Codex by joining parentspawn_agentcalls to child rollout files viafunction_call_output.agent_idspawn_agentblocks throughTaskSubagentRow, including adjacent spawn groupingspawn_agentresult row because it is just{agent_id,nickname}join metadataEvidence
The implementation is based on the saved debug bundle noted as "Not handling codex subagents at all." The parent rollout stores
spawn_agentfunction calls and synthetic user<subagent_notification>messages, while the child rollouts storesession_meta.payload.source.subagent.thread_spawnwith the parent thread id, nickname, and role.Verification
npm test -- --run src/renderer/src/workspace/codex/rollout.test.ts src/main/subagents/codexSubagentState.test.tsnpx tsc --noEmitnpm testandnpm run build:appare blocked in this worktree becausepackages/claude-code-headless/src/...files, includingsrc/proxy/mitmAddon.py, are missing from the worktree checkout. The new targeted suites pass before that unrelated package-source failure is hit.