Sub-agent timer is lost after switching agents via /agent
Resolved 💬 2 comments Opened Feb 26, 2026 by 0xdeafbeef Closed Feb 26, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
When switching active agents with /agent, the visible timer for a running sub-agent is lost.
Steps to reproduce
- Start a task that launches a sub-agent (so its elapsed timer is visible).
- Switch to another agent using
/agent. - Switch back or observe the original sub-agent entry.
Actual behavior
The sub-agent timer disappears or resets after the /agent switch.
Expected behavior
The sub-agent timer should remain attached to the same running sub-agent and continue incrementing across agent switches.
Impact
Loses execution-time visibility for long-running sub-agent work and makes progress tracking unreliable.
Notes
This appears to be a state continuity issue in the UI/session view rather than the underlying sub-agent execution itself.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
guess it's a duplicate