During a routine update, the hermes update command performed a fresh git clone instead of a proper in-place git pull. This wiped the existing state.db, losing all pairing records and other persisted state.
Environment
- hermes-agent v0.11.0 (2026.4.23)
- macOS (launchd-managed gateway)
- Feishu integration
Reproduction steps
1. Have an existing hermes-agent deployment with paired Feishu users in state.db
2. Run hermes update
3. Gateway restarts — all users must re-pair via the pairing code flow
Root cause (from reflog)
The update did a full clone rather than git pull --ff-only, discarding the pre-existing state.
Expected behavior
hermes update should preserve ~/.hermes/state.db and other user data files, only updating the hermes-agent code in place.
Reported by: BlueTian via Hermes Agent CLI
During a routine update, the hermes update command performed a fresh git clone instead of a proper in-place git pull. This wiped the existing state.db, losing all pairing records and other persisted state.