Skip to content

[FEATURE]: Avoid hidden subagent footer snapshot updates #37896

Description

@flowluap

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The CLI run footer currently emits a complete stream.subagent replacement for every child detail delta, even when that child is not selected and its detail is omitted from the visible snapshot. This creates redundant serialization, Solid store replacement, and footer layout work while background agents stream.

Requested behavior:

  • retain complete child history internally
  • suppress emissions caused only by detail changes from an unselected child
  • continue emitting tab, completion, cancellation, error, permission, question, blocker, and selection changes immediately
  • expose all accumulated detail immediately when the child is selected

A representative sequence with 250 text deltas and one tool detail update produced 251 detail-only footer snapshots before and zero after suppression. Selection still returned the complete accumulated history.

Related to the subagent visibility work in #36099 and #37431, but limited to redundant legacy CLI run footer updates; no footer protocol change is required.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions