Skip to content

Diagnose: teammates get Agents & shells rows that never end #235

Closed

Description

@a1exk-dev

Question

Why does a teammate (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) get an Agents & shells row (◐ teammate · …) and a "teammate started" toast, and why does the row stay running after TaskStop? MEMORY.md says teammates are filtered out.

Reproduce it live on 2.1.292 under the map's Notes, at release/0.5.0 and at v0.4.0, and find the root cause.

Resolve with one of:

  • ctui bug: a new ready-for-agent fix ticket (child of the map, label ready-for-agent) in the shape of "Sidebar glass draws light grey under tmux without truecolor": what happens, why, the ask, the test seam, and a bugfix/<name> branch cut from release/0.5.0 with its pull request into it.
  • Engine limit ctui can't work around: a new wayfinder:grilling child ticket putting defer-to-0.6.0 vs drop to the human, with the evidence.

If the engine moved since a MEMORY.md entry was checked, say which entry is stale.

Activity

  1. self-assigned this
    on Oct 9, 2026
  2. a1exk-dev commented on Oct 9, 2026

    @a1exk-dev
    OwnerAuthor

    Resolved: this is a ctui bug, present since v0.4.0. Fix ticket: Teammates get Agents & shells rows and toasts from agent.spawn.

    I reproduced it live on 2.1.292 at release/0.5.0 and at v0.4.0. A named Agent call drew ◐ teammate · Sleep 60 then reply… with └ ◐ $ sleep 60 under it. Both rows were still running past 1 minute, after the model's TaskStop reported stopped.

    Root cause: on 2.1.292 a teammate fires agent.spawn with isTeammate: true and subagentType: 'teammate' (from a tagged probe, and also in the vendored types). The spawn hook adds the row and the toast. The list filter then hides every status change for that row. TaskStop returns the teammate's task id (tin1b73zq, in_process_teammate), not the spawn's agentId, so the TaskStop hook doesn't end the row.

    Stale memory: MEMORY.md "A Workflow run is one task row; teammates stay hidden" says teammates fire no agent.spawn. The fix ticket rewrites it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions