mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
* fix(native-chat): open chats saved by journals that predate later tables A journal last opened by v1.4.219 through v1.4.245 has no outcome tables. The new store reads that file read-only and never adds them, so converting any of its chats failed with "no such table: journal_outcome_epochs" and no chat opened. The original is now opened as the old writable open would have shaped it: every table this build's legacy open would create but the file lacks reads as empty through a private TEMP table. The file is never written. The profile copy's per-table version guard and the empty-chat table guard are no longer needed and are removed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * fix(native-chat): keep refusing a schema-4 journal missing its record tables Only tables the file's version could legitimately lack are presented as empty. The PR-watch counter is read from the file itself, not a TEMP sequence table. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * chore: record the legacy source opener in the worker-only SQLite baseline It runs only on the chat store's writer and reader worker threads, like the other journal files listed there; the two files it replaced shrink. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>