Skip to content

fix(feed): fleet-row eligibility for MCP orchestration spawns (P2c) - #461

Merged
Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
fix/task-row-eligibility
Jul 7, 2026
Merged

Juliusolsson05 merged 1 commit into
integration/rendering-pipelinefrom
fix/task-row-eligibility

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Residue plan P2c — the 06-21 bundle's dispatch-name blind spot: MCP-orchestrated sessions (mcp__agent_code__orchestration_create_agent) painted zero Task cards despite 73 tracked subAgents. One shared isAgentSpawnToolName predicate now covers Agent / spawn_agent / orchestration_create_agent (bare + mcp-prefixed), consumed by both the Block.tsx interception and ConversationRow's group header, so the planes can't drift. Fleet queries (wait/list/read) deliberately excluded — they render as JSON rows (P1). Tests + clean gates.

🤖 Generated with Claude Code

The 2026-06-21 "Sub agents UI is fucking horrible" bundle's root cause:
the session spawned via the built-in MCP orchestration server
(mcp__agent_code__orchestration_create_agent), which never matched the
Task interception's 'Agent'|'spawn_agent' check - ZERO cards painted
while state-snapshot.subAgents tracked 73 children.

One shared predicate (lib/agentSpawnTools.isAgentSpawnToolName) now
covers all three spawn families - Agent (claude), spawn_agent (codex),
[mcp__<server>__]orchestration_create_agent (MCP, both namings) - and
is consumed by BOTH the Block.tsx fleet interception and
ConversationRow's isAgentBlock (the SubagentGroupHeader adjacency
grouping), so the name list can never drift between the two again.
Fleet QUERIES (wait/list/read) deliberately excluded - they are JSON
rows, not spawns.

Unit tests for the predicate; both gates clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Juliusolsson05
Juliusolsson05 merged commit e8d2c29 into integration/rendering-pipeline Jul 7, 2026
@Juliusolsson05
Juliusolsson05 deleted the fix/task-row-eligibility branch July 7, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant