6806a38084
hermes_cli/goals.py cached a bare SessionDB() per HERMES_HOME. The path was right per profile, but it was a SECOND writer connection beside the gateway's registry handle for the same file — its own token-writer thread and close-time checkpoint the registry knows nothing about (the #90837 corruption shape), doubled per profile under multiplexing. This is the same topology #100682 removed from the API server. Acquire through hermes_state_registry and drop lost-race references with release_or_close.