Files
hermes-agent/persistence/sqlite
yoniebans 775eedb68c fix(persistence): the SQLite begin_epoch refuses a bump while another process owns the profile
The backend's begin_runtime_epoch now runs main's owner guard before the bump: while another process holds the profile's gateway.lock, the bump raises AuthorityRefusal('ownership_conflict', field='runtime_epoch') and the owner's epoch stays where it was. A reservation this process holds grants the bump, the flock decides rather than the lock record, and a store with no directory of its own never refuses.

Main's ownership cases run against the backend's runtime.begin_epoch.
2026-11-17 17:49:49 +01:00
..