Files
t3code/apps
Theo BrowneandClaude Fable 5 6cf940c8dc review round 2: correlated composer acks, stable queue order, projection consistency
- Correlate composer 'Sending' acknowledgment with the dispatched
  messageId (timeline or queue projection) instead of queue-tail
  heuristics that another client's queue activity could satisfy
  (Bugbot + Macroscope). Dispatches without a known messageId keep the
  legacy latest-user-message heuristic.
- Drain queued messages in rowid (insertion) order instead of
  queued_at + message_id, which mis-ordered same-timestamp messages
  after a restart (Macroscope). Requeue replaces the row so an edited
  messageId moves to the tail, matching the in-memory projector.
- Clear queuedMessages in the in-memory projector on thread.deleted,
  mirroring the SQL projection (Bugbot).
- Bootstrap the queuedMessages projector before threadMessages so
  revert pruning sees queued attachments during replay (Macroscope).
- Allow steer while a session reports 'starting' with a live
  activeTurnId (provider reconnect mid-turn); only the pending-start
  shape (starting, no active turn) is rejected (Bugbot).
- Settle mock provider sessions in ProviderCommandReactor tests whose
  follow-up sends now queue-by-default against a still-running session.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-22 14:46:02 -07:00
..