Skip to content

fix(sidebar): keep groups in Working while any member runs - #81

Merged
gabynevada merged 2 commits into
atlifrom
t3/working-section-status
Nov 8, 2026
Merged

gabynevada merged 2 commits into
atlifrom
t3/working-section-status

Conversation

@gabynevada

Copy link
Copy Markdown

A thread group whose parent was still running showed in the Active list instead of the Working shelf whenever one of its children had finished but wasn't settled yet. The group's own status pill said "Working" while its section said otherwise.

resolveThreadGroupSections counted any finished, unsettled member as "needs review", and review outranks working. It now separates two kinds of attention:

  • Blocking: approvals, input requests, guest messages, and actionable plans. These still move the group to Active immediately.
  • Finished: a member whose last run completed. This now counts only once nothing else in that group (or nested group) is working. When the work stops, the group returns to Active with its finished children to review.

The function lives in client-runtime, so web and mobile both pick this up. The nested-group test now asserts that a finished child under a working group stays in Working and moves to Active once the worker stops; it fails on the old logic. The user docs' grouping paragraph is updated to match.

A second commit removes an unused export left by #80 (resolvePendingUserInputCompanionAnswer), which was failing knip in the pre-commit hook and CI.

Not checked in a running client; the change is pure section logic covered by the test.

Done with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

gabynevada and others added 2 commits November 8, 2026 22:53
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A finished, unsettled child pulled its whole group into Active even while the
parent was still running, so a working group showed outside the Working shelf.
Finished children now count as review only once nothing else in their group is
working. Approvals, questions, guest messages and plans still surface the group
immediately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gabynevada
gabynevada merged commit b4be571 into atli Nov 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant