# NousResearch/hermes-agent · WAL probe fallback and read-pool correctness fixes

## Open now

- Nothing open on GitHub.

These items address bugs in WAL journal-mode detection where an indeterminate probe result incorrectly enabled the lock-free read pool, along with related fixes for fallback behavior, bare-SELECT locking, and read-pool self-healing.

## 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 #108082. Verify it addresses your case.
- **Recommended:** read PR #108082 (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-108082`. 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.50`: 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

- #86515: state: WAL-reset fallback returns 'wal' when journal-mode probe is indeterminate, wrongly enabling lock-free read pool

## Prior & competing PRs

- **#108082: state.db no longer wedges on a healthy WAL: OpenZFS/close() false DeletedWalGenerationError, unconfirmed-WAL read pool, transient read IOERR, stale lock banner (#107401 #105567 #86515 #100871 #108031, salvage #107411 #105578 #105711 #106958)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/turn_explainers.py`, `contributors/emails/[redacted:email]`, `contributors/emails/nikkoxgonzales@users.noreply.github.com`, `gateway/run_notifications.py`, `hermes_state.py`, `hermes_state_dbfile.py`, `hermes_state_errors.py`, `hermes_state_readpool.py`, `hermes_state_wal.py`, `tests/gateway/test_session_db_warning_recheck.py`, `tests/hermes_state/test_deleted_wal_generation_guard.py`, `tests/hermes_state/test_read_path_transient_ioerr.py`, `tests/hermes_state/test_wal_active_confirmed.py`, `tests/run_agent/test_turn_completion_explainer.py`, `tests/test_hermes_state_wal_fallback.py`
- **#87044: fix(state): disable WAL read pool when journal mode is unknown**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `d956e05e5e`, `#108082`
- **#87612: fix(state): WAL probe fallback, bare-SELECT locking, writable_schema finally, read-pool self-heal**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`

## Fix status

- Merged to main in PR #108082 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-11`.
- Subsystem: `agent`
