Files
t3code/packages/contracts
Theo BrowneandClaude Fable 5 c1b3390f42 Address review feedback and sync with main
Merged origin/main (9 commits) and fixed review findings:

- Macroscope (CI failure): ReviewMergeError dropped the underlying
  failure by stringifying it into `detail`. It now carries an optional
  `cause` and uses a static detail, matching the sibling mapper in
  summarizeThread.
- Cursor (medium, real bug): diffStats used only the latest checkpoint,
  but CheckpointReactor diffs previous→current, so each checkpoint's
  files are that turn's delta. Now sums every ready checkpoint, deduping
  the file count by path. Regression test added.
- Cursor (medium): SidebarV2 remounting published an empty PR-state map
  and wiped the mirrored cache, making merged-PR threads look unsettled.
  publishSweepChangeRequestStates now merges instead of replacing.
- Macroscope (medium): the buckets memo read live shells via
  readThreadShell but only depended on items, so cards could stay in a
  stale bucket. It now depends on thread shells too.
- Cursor (low): sweep candidate selection used a raw wall clock while
  SidebarV2 quantizes to the minute, disagreeing near the merged-PR idle
  boundary. Both now use the same minute-quantized clock.
- Cursor (low): threads with a queued turn start are classified as
  in-flight rather than needing attention.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-26 19:42:43 -07:00
..
2026-06-29 22:57:48 +00:00