Persist turn diffs and checkpoint reverts in orchestration

- map `checkpoint/captured` to `thread.turnDiff.complete` and record turn status/id
- handle `thread.revert` to truncate messages and turn summaries in read model
- migrate event store from `better-sqlite3` to `node:sqlite` and add safe close/idempotent stop tests
4f4691676aJulius Marminge committed on 2/26/2026, 9:20:36 PM· committed by Julius Marmingeparent483a1ae
10 files changedLine totals unavailable