Skip to content

Sub-agent timer is lost after switching agents via /agent #12930

Closed

Description

@0xdeafbeef

Summary

When switching active agents with /agent, the visible timer for a running sub-agent is lost.

Steps to reproduce

  1. Start a task that launches a sub-agent (so its elapsed timer is visible).
  2. Switch to another agent using /agent.
  3. 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.

Activity

  1. added
    bug
    CLI
    TUI
    on Feb 26, 2026
  2. github-actions commented on Feb 26, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. 0xdeafbeef commented on Feb 26, 2026

    @0xdeafbeef
    Author

    guess it's a duplicate

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions