Sub-agents spawned by background agents appear in UI without user notification
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
When a background general-purpose agent spawns a child agent,
the child appears in the /tasks panel silently — no chat message,
no explanation of why it was started or what it does.
### Affected version
_No response_
### Steps to reproduce the behavior
1. Launch a general-purpose agent in background mode with a complex task
2. The agent internally spawns a sub-agent (e.g. to split work)
3. The sub-agent appears in /tasks panel with a different name/description
4. User has no idea who started it or why
## Actual behavior
Silent appearance in /tasks. User can only discover it via /tasks panel.
### Expected behavior
Any agent launched (directly or by another agent) should post a notification in the chat explaining what it is and who started it.
### Additional context
The parent agent also hung for 18+ minutes (7 tool_calls) with no
timeout or warning, then its child continued working after the parent
was killed.
贡献指南
调研方向
Use the reproduction steps to trace how background agents and their child agents are registered for the /tasks panel, then identify the existing chat-notification entry point. Done means a child agent's appearance produces a chat notification that explains what it does and identifies its parent, with coverage for the background-agent case.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- ai, cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100