merge: adopt session catalog foundation from #8186

Bring the non-blocking desktop session discovery and hardened disposable
SQLite projection lifecycle into the multi-domain catalog integration.
This commit is contained in:
SivanCola committed 2026-08-11 01:48:25 +08:00
commit 5cec97d996
77 files changed
+6040 -1450

No files matched your search

+16
View File
@@ -452,6 +452,22 @@ Switching model, effort, or work mode rebuilds the runtime while preserving the
active conversation, session-scoped permission overrides, additional directory
access, and session ownership. `/reload` uses the same fail-atomic rebuild.
## Session catalog diagnostics
The desktop session catalog is a disposable SQLite query projection; transcript
JSONL and sidecars remain authoritative. Inspect it read-only or replace only
the projection:
```sh
reasonix doctor sessions [--json]
reasonix sessions reindex [--json]
reasonix sessions reindex --dir /path/to/sessions --dir /another/path
```
Without `--dir`, reindex includes global sessions and all projects saved by the
desktop app. See [Session Catalog and Desktop Startup](./SESSION_CATALOG.md) for
failure, migration, and data-safety guarantees.
### Memory diagnostics and recovery
Bare `/memory` shows all active project/global facts without hiding same-name