From 7f255cbc5172e4c16a345919526918385a4199ea Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Sat, 25 Apr 2026 18:49:04 -0700 Subject: [PATCH] docs: update CHANGELOG.md for v12.4.5 Co-Authored-By: Claude Opus 4.7 (1M context) --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4863316..1d1347d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [12.4.5] - 2026-04-26 + +## Bug Fixes + +- **Fix observation persistence on fresh installs (#2139)**: `SessionStore` was missing migration 28's column additions, so freshly created `pending_messages` tables had no `tool_use_id` or `worker_pid` columns. Every queue claim and observation insert failed silently with "no such column" errors and nothing reached memory. Added `addPendingMessagesToolUseIdAndWorkerPidColumns` mirror in `SessionStore.ts` (matches the existing `addObservationSubagentColumns` / `addObservationsUniqueContentHashIndex` mirror 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. + ## [12.4.4] - 2026-04-26 ## Bug fix: stop draining the observation queue on /clear