The environment/model breakdown previously aggregated every sweep
candidate, so with more than SWEEP_MAX_THREADS unsettled threads it
could list environments whose threads would all be skipped and row
totals exceeding the actual call count. The summary now sorts and caps
candidates with the same helpers startReviewSweep uses, so the rows
always describe exactly the calls a run would make.
Co-Authored-By: Claude Fable 5 <[email protected]>
The sidebar button now only navigates to /review-sweep; the sweep no
longer auto-starts. The idle screen shows exactly what a run will do
before any model call happens: how many threads will be reviewed (and
how many the cap would skip), which text-generation model each
environment's server will use, and a cost/latency heads-up when the
run is large (15+ threads). Starting requires an explicit click.
Co-Authored-By: Claude Fable 5 <[email protected]>
- macroscope: guard apply-title/apply-settle completions with the runId
captured before the RPC so a Re-run mid-flight never stamps applied
state onto the new run's cards; applyAll re-reads items from the
store each step so mid-apply dismissals are respected, and bails out
entirely when the run changes.
- cursor: the server's activity re-check now also treats a queued turn
start (user message no session has adopted yet) as active, mirroring
the decider's thread.settle guard; sweep candidate ordering uses
NaN-safe toSortableTimestamp instead of raw Date.parse.
Co-Authored-By: Claude Fable 5 <[email protected]>
Adds a sidebar-v2 button that reviews every unsettled thread across all
connected environments: an LLM summarizes each thread, suggests a
corrected title when the current one is misleading, and recommends
settling threads whose work has concluded. Results stream into a new
/review-sweep page with per-item Apply buttons and Apply All — nothing
applies without a click.
- contracts: ReviewThreadSummaryInput/Result, review.summarizeThread WS
RPC, reviewSweep capability flag (old servers are skipped)
- server: generateThreadReview TextGeneration op across all five
providers, conservative prompt with transcript capping, and
ReviewService.summarizeThread reading the projection
- client-runtime: summarizeThread RPC command atom
- web: reviewSweepStore runner (concurrency 3, runId-guarded, survives
navigation), /review-sweep view, SidebarV2 entry button
Settle recommendations are blocked for active threads at four layers:
prompt rules, normalizeThreadReview, a server-side projection re-check
(never trusts the client's canSettleNow), and a client canSettle
re-check at apply time.
Co-Authored-By: Claude Fable 5 <[email protected]>
- Restore light-mode glass, dialog, dropdown, and composer colors
- Refine provider wizard, changed-file cards, sidebar controls, and buttons
- Update wizard step tests for the new list structure