You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native subagent stays running after its run completed and its thread settled (recurrence of #18910) #36548
A Claude native subagent stays running hours after the run that started it completed and its parent thread was settled. There is no provider process left for it. This looks like #18910 coming back on 0.1.9, which should already have the fix from #19196.
Diagnosis
Read-only queries on the server's statev2.sqlite:
orchestration_v2_projection_subagents: one row with status = 'running'. It started at 02:16Z and was last updated at 03:43Z. Four hours later it was unchanged.
The row's run_id points to a run in orchestration_v2_projection_runs with status = 'completed'.
The parent thread has been settled since 03:51Z. The subagent's child thread is settled too. Only the subagent row still says running.
ps shows no claude process for that session.
Because the family has a subagent that looks busy, the thread can't be cleaned up as finished. That includes its worktree, which storageCleanup.worktreeSettledAfterDays: 0 would otherwise remove.
Steps to reproduce
The exact trigger isn't known. The pattern was: a Claude thread starts several native subagents (Agent tool), the parent's run completes, and the user settles the thread. One subagent row stays running.
Version
0.1.9 (service-managed, Linux x64)
Environment
Linux (Arch), T3 Code running as a systemd user service, Claude Code provider.
Activity