Repository navigation
Conversation
…d bold text Compact agent rows never received the unvisited flag, so a finished agent looked identical to older done agents. Bold unvisited rows in compact mode and overlay the workspace unread badge on settled (done/failed/interrupted/idle) rows in both modes. Fixes stablyai#22857
10 tasks done
nwparker
added a commit
that referenced
this pull request
Sep 27, 2026
Show unread emphasis in compact workspace rows using the existing pane acknowledgment state. Based on drakeo338’s bounded PR #22870. pinhaum reported #22857 and proposed the broader #22899 variant; the local candidate preserves the existing acknowledgement policy. Co-authored-by: drakeo338 <[email protected]>
This was referenced Sep 30, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
When several agents run in one workspace and one finishes, the workspace lights up its bell, but nothing on the agent rows tells you which agent finished. This PR makes the finished-but-unseen agent's row stand out, so you can go straight to it.
What Changed
Before: in the default "compact" agent display, a row for an agent that just finished looked exactly like a row that finished hours ago: same green check, same muted text. Only the workspace bell changed, so with two or more agents you had to open each one to find the new result.
After: until you visit it, a finished agent's row is shown in bold with a small amber unread dot on its status icon. It is the same dot the workspace card already uses for unread. Rows that are working or waiting for input stay bold but get no dot, because their spinner or question icon already asks for attention.
Mechanism: the sidebar already works out, for every agent row, whether you have seen its latest turn (
acknowledgedAt < stateStartedAt). Only the full-mode row (DashboardAgentRow) received that value. The compact row (CompactAgentRow), which is the default display mode, never did, so the emphasis was lost. This PR:CompactAgentRowand bolds its label, matching full mode;UnreadAlertBadge(pulled out ofWorktreeCardStatusSlot) and overlays it on the state icon of unvisited rows in both modes, gated byshowsAgentRowUnreadBadgeso only settled states (done,failed,interrupted,idle) get the dot;--unread-alerttheme token for the badge color. It is the same amber as before, so the badge no longer uses a raw palette class.Why
The data was already correct: the store held the turn as done and unread. The gap was only in what the compact row rendered, so the fix is in the renderer and changes nothing about how acknowledgement works.
I considered replacing the green check with the amber dot. I rejected it because the state icon and the unread dot mean different things: done and failed would look identical until visited. Overlaying the dot keeps both, and it matches how the workspace card already shows unread. Leaving the dot off active states mirrors the workspace status slot, which also hides it for working and needs-attention.
Linked Issue
Fixes #22857
Visual Proof
Before/after screenshots attached below.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Reproduced on Linux (Hyprland/Wayland) in a dev build: two agents in one workspace, started a task in one, stayed on another terminal until it finished. Read the renderer store over CDP and confirmed the finished turn was
done, unacknowledged and unread while its row rendered muted. After the fix, the same row renders bold with the badge; visited rows stay muted.New tests:
worktree-card-compact-agent-row.unvisited.test.tsx(bold and badge when unvisited; bold without badge while working; muted when visited),WorktreeCardAgents.compact-unvisited.test.tsx(the card passes the flag to compact rows) and aDashboardAgentRowcase for the badge gating. The shared store mock inWorktreeCardAgents.test.tsxnow acknowledges its fixture agent, since its compact contrast tests only passed before because compact rows ignored the unvisited flag.pnpm test(sidebar and dashboard suites),pnpm typecheck,pnpm lintandcheck:code-quality:changedpass locally.pnpm buildwas not run locally; CI covers it.Not tested on macOS or Windows. The change is renderer-only markup and CSS with no platform branches.
AI Disclosure
Investigation, implementation and tests were done with Claude Code (Claude Opus 5.5) and reviewed by me.
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Notes
Only the sidebar's inline agent rows change. The collapsed "N agents" summary pill still does not show which agent is unread; that could be a follow-up.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)