Files
t3code/apps/server
Theo BrowneandClaude Fable 5 355a2893d4 Address round-4 review feedback
- Serialize wake claim transitions with a semaphore so the post-dispatch
  cursor ack and a concurrent release can no longer interleave; the ack
  and wake-count increment are now one critical section with the claim
  check (Macroscope)
- Rewind the cursor on session-set(error): the provider reactor emits it
  before provider.turn.start.failed, so dropping the claim there left the
  failure handler nothing to restore and acked events were lost. A clean
  session finish still just frees the claim (Bugbot, high)
- Only mark boot reconciliation complete when every orphan ended
  successfully, so failures are retried on the next poll (Bugbot)
- Drop the registration when session teardown runs before the engine is
  bound, instead of leaving a monitor that can wake a dead session
  (Bugbot)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-26 19:51:15 -07:00
..
2026-07-26 19:51:15 -07:00