- Each card is a tiny window: a thin title bar carries the project
favicon + mono uppercase name with the timestamp, separated from the
thread content by a hairline — project identity reads as chrome
- Active card brightens its title bar on top of the near-white border
- Thread list is statically ordered by creation time, newest first;
activity never reorders rows — only settling moves them
- Project identity mirrored on the open thread: favicon+name chip leads
the chat header and the composer's run-context strip (drafts included)
- Settled rows keep dimmed favicons; chips/picker favicons restored
- Composer squared to match: 12px radius, higher-contrast border,
neutral focus ring
Co-Authored-By: Claude Fable 5 <[email protected]>
- Cards are square hard-edged blocks on a darker shell; active row reads
by a near-white border instead of a blue-adjacent wash
- Status moves from tinted border + dot to a solid 3px left edge strip
(duty-cycled pulse while working), so the project favicon always shows
- Card titles clamp to two lines instead of truncating one
- Settled rows grey out (desaturated favicon, dimmed title) and restore
on hover; section gets an explicit SETTLED label
- Project chips are square mono tabs; selected All chip inverts
Co-Authored-By: Claude Fable 5 <[email protected]>
CI: add settledOverride/settledAt + new client settings to desktop and
mobile test fixtures and the mobile threadDetailToShell mapping.
Review fixes (cursor bugbot + macroscope):
- failed status now requires session.status === "error" instead of any
lingering lastError on a stopped/ready session
- effectiveSettled: pending approvals or user input always win — blocked
work can never collapse into the settled tail, even manually settled
- decider unsettle-on-activity guards check settledOverride === "settled"
so activity no longer erases a user's explicit keep-active override
- repeat thread.settle re-emits with updatedAt = original settledAt, so
double-settles no longer bump recency ordering
- sidebarAutoSettleAfterDays bounded 1..90 in schema and patch
- approval wait sort/label use shell.updatedAt (bumped by the approval
activity in the projection pipeline) instead of latestUserMessageAt /
turn start, with the approximation documented
- v2 rows: Enter/Space keyboard activation; double-click inline rename
ported from v1 plus a context-menu Rename entry
- new-thread picker: cross-project creation no longer inherits the active
thread's branch/worktree; preselection consults the active draft via
resolveThreadActionProjectRef; stale project scope resets to All
- settle worktree prompt: vcs status checked before offering (and again
at click time) — dirty or ahead worktrees are never offered
Co-Authored-By: Claude Fable 5 <[email protected]>
Design iteration after testing the beta over Tailscale:
- Settled is the only collapse rule. Reverted the "seen Ready threads render
slim" heuristic — it silently turned settled back into a derived state.
Every unsettled thread is a full card; density is earned by settling.
- Cards are bordered islands (rounded-xl, state-colored border: amber
approval / sky working / red failed), status dot replaces the favicon on
stateful cards, live elapsed timer on working. Slim rows grew to 34px with
13px titles; a hairline divider separates cards from the settled tail.
- Harness identity is the provider glyph only (model name in tooltip). The
full-row harness tint experiment is removed.
- Hover actions (Settle/Un-settle) are absolutely-positioned overlays that
fade over the timestamp — no layout shift.
- Project scope chips above the list (All / per-project / + add): filters
the flat list and informs the new-thread default. Session-local.
- New thread opens a project picker dialog: contextual default preselected
and focused (Enter confirms), all projects with workspace paths, Add
project row. Single-project setups skip the dialog. chat.new (mod+shift+o)
routes through the picker via newThreadPickerBus since the shortcut is
handled in the _chat route layout. Arrow/Home/End navigation in the list.
- chat.newLocal still bypasses the picker as the explicit escape hatch.
Co-Authored-By: Claude Fable 5 <[email protected]>
A new thread sidebar behind a Settings → Beta toggle (sidebarV2Enabled,
default off). One flat recency-sorted list across projects: active threads
render as two-line cards (favicon, title, time, status word · branch ·
provider glyph + model · machine), settled threads collapse to slim
one-liners. Approval-blocked threads pin to the top with wait time; failed
sessions (session.lastError) finally get a visible state.
Settled is an event-sourced lifecycle state mirroring the archived pattern:
- settledOverride ("settled" | "active" | null) + settledAt on the thread,
thread.settle/thread.unsettle commands, thread.settled/thread.unsettled
events, projection columns via migration 033.
- effectiveSettled() computes the visible state: manual override beats
auto rules (PR merged/closed, N days of inactivity — client setting,
default 3, nullable). Idempotency is by event re-emission since the
engine rejects zero-event commands.
- Activity auto-unsettles server-side: turn start, live session start,
approval/user-input requests. Session stop/error status writes do not.
Manually settling a thread whose worktree is orphaned offers a one-click
worktree removal (re-validated at click time, never forced).
The v2 component is a sibling swapped at the single AppSidebarLayout mount
point; shared chrome moved to sidebar/SidebarChrome.tsx. The data model is
flag-independent and ships dark for v1 users, so toggling is a pure view
swap.
Plan: .plans/21-sidebar-v2-beta.md
Co-Authored-By: Claude Fable 5 <[email protected]>