# NousResearch/hermes-agent · CLI commands opening session store read-only

## Open now

- Nothing open on GitHub.

These issues and PRs concern CLI subcommands that observe or list session data inadvertently opening the session store as a writer, which can interfere with active sessions via WAL behavior. The work involves making those commands open the store read-only instead.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #111627. Verify it addresses your case.
- **Recommended:** read PR #111627 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-111627`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #110173: state.db WAL generation loss: nested read-only CLI subcommands open the session store writable and kill the live turn

## Prior & competing PRs

- **#111627: fix(cli): \`hermes sessions list|stats|pinned\` and a plain \`hermes doctor\` no longer open state.db as a writer (#110173, salvage #110186)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/doctor_state.py`, `hermes_cli/sessions_cmd.py`, `hermes_state.py`, `hermes_state_dbfile.py`, `hermes_state_holders.py`, `hermes_state_repair.py`, `tests/hermes_cli/test_observational_sessiondb_modes.py`, `tests/hermes_cli/test_session_export.py`, `tests/hermes_cli/test_sessions_delete.py`, `tests/hermes_cli/test_sessions_export_md_cli.py`, `tests/hermes_cli/test_sessions_export_output_dir.py`, `tests/hermes_cli/test_sessions_pin.py`
- **#110186: fix(cli): open observational session stores read-only**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#111627`
- **#110252: fix(cli): open remaining observational session stores read-only**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#110934`, `#110544`, `#110173`

## Fix status

- Merged to main in PR #111627 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-15`.
