Files
hermes-agent/persistence/sqlite
Teknium 5b0855e378 fix(persistence): create the Inbox listing index after column reconciliation
`idx_sessions_model_config_key_live` sat in SCHEMA_SQL, which runs before `_reconcile_columns()`.
Its predicate names `model_config` and `end_reason`, both added to legacy databases by
reconciliation, so opening an old state.db failed with "no such column: model_config" (CI: the
legacy-migration tests in tests/agent/test_api_content_sidecar.py and tests/persistence_sqlite).
It moves to DEFERRED_INDEX_SQL with the other indexes on reconciled columns.
2026-11-30 02:25:20 -08:00
..