First character of tool description truncated in Task subagent 'Waiting...' status
Resolved 💬 2 comments Opened Feb 18, 2026 by brettdavies Closed Mar 19, 2026
Description
When a Task subagent is executing tools, the "Waiting..." status line cuts off the first character of the tool description text.
Expected
Waiting…Check foundry Cargo.toml for license declaration
Waiting…Get workspace license
Actual
Waiting…heck foundry Cargo.toml for license declaration
Waiting…et workspace license
Screenshot
<img width="516" height="141" alt="Image" src="https://github.com/user-attachments/assets/351eb1f4-f068-468a-ae8a-c8e4a06feb1b" />
<br />
<img width="228" height="135" alt="Image" src="https://github.com/user-attachments/assets/cb741258-0b00-4d69-9510-14f74554ede0" />
Reproduction
- Use the Task tool to launch subagents that call tools (e.g., TaskGet, Grep)
- Observe the "Waiting..." status line while the subagent runs
- The first character of the tool description is missing
Environment
- Claude Code version: 2.1.45
- Terminal: Ghostty 1.2.3
- OS: macOS 15.7.3
- Shell: zsh
Notes
Appears to be an off-by-one error in string slicing when prepending the "Waiting…" prefix to tool descriptions in subagent status rendering.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗