Bug Fixes
- Fix observation persistence on fresh installs (#2139):
SessionStorewas missing migration 28's column additions, so freshly createdpending_messagestables had notool_use_idorworker_pidcolumns. Every queue claim and observation insert failed silently with "no such column" errors and nothing reached memory. AddedaddPendingMessagesToolUseIdAndWorkerPidColumnsmirror inSessionStore.ts(matches the existingaddObservationSubagentColumns/addObservationsUniqueContentHashIndexmirror pattern). Already-broken DBs at "v29 with no v28 columns" self-heal on next worker boot via column-existence guards. Dedup DELETE + UNIQUE index creation are now wrapped in a transaction matching the v29 mirror precedent.
Thanks to @drdah123 for the precise diagnosis and reproduction in the issue report.