Skip to content

fix(tui): show only background work in prompt footer#36244

Closed
CountClaw wants to merge 1 commit into
anomalyco:v2from
CountClaw:fix/v2-footer-background-only
Closed

fix(tui): show only background work in prompt footer#36244
CountClaw wants to merge 1 commit into
anomalyco:v2from
CountClaw:fix/v2-footer-background-only

Conversation

@CountClaw

Copy link
Copy Markdown

Summary

The V2 prompt footer showed N subagent · N shell for foreground blocking work as well as backgrounded work. That duplicated the turn the user is already watching and flickered as tools start/finish.

Changes

  • Count footer subagents/shells only while the parent session is idle (background observation mode)
  • Tag intentional background: true shell launches in shell metadata for future filtering
  • Leave blocking-turn UI unchanged

Closes #35260

Test plan

  • Start a foreground subagent/shell and confirm the footer does not show live-work counts while the parent is busy
  • Background the work (or launch with background: true) and confirm counts appear once the parent is idle
  • Confirm background composer tabs still list running children

The V2 prompt footer counted every running descendant subagent and shell tied to the session, including foreground blocking work. That produced flicker and duplicated state the user already sees in the main turn.

Only surface live-work counts while the parent session is idle, and tag intentional background shells in tool metadata.

Closes anomalyco#35260
@github-actions github-actions Bot added needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Jul 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 10, 2026
@github-actions github-actions Bot closed this Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants