# NousResearch/hermes-agent · Detect config file replacements via stat-based cache

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where replaced config files with unchanged mtime and size were not detected by stat-based cache signatures. Fixes span config cache logic and a related CLI crash.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #111408. Verify it addresses your case.
- **Recommended:** read PR #111408 (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-111408`. 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.40`: 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

- #111105: config: unchanged mtime and size hide file replacements

## Prior & competing PRs

- **#111408: fix(config): same-size, same-mtime config replacements are picked up without a restart (#111105, salvage #111113)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/moa_loop.py`, `agent/prompt_builder.py`, `agent/skill_utils.py`, `gateway/run_profile_reconcile.py`, `hermes_cli/auth.py`, `hermes_cli/auth_oauth_grants.py`, `hermes_cli/cli_info_mixin.py`, `hermes_cli/cli_tui_mixin.py`, `hermes_cli/commands_completion.py`, `hermes_cli/config.py`, `hermes_cli/config_effective.py`, `hermes_cli/managed_scope.py`, `hermes_cli/model_switch.py`, `model_tools.py`, `tests/conftest.py`, `tests/gateway/test_profile_serve_signature.py`, `tests/hermes_cli/test_cli_mcp_config_watch.py`, `tests/hermes_cli/test_config_cache_signature.py`, `tests/tools/test_mcp_stability.py`, `tests/tools/test_model_tools.py` (+9 more)
- **#112002: fix(cli): hermes no longer crashes on launch with NameError file_signature (#111942, salvage #111947)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/cli_tui_mixin.py`, `tests/hermes_cli/test_cli_mcp_config_watch.py`
- **#111113: fix(config): detect file replacements in stat-based cache signatures**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `b797e9d7b3`, `a1e7f74e64`, `182ec5c28d`, `#111408`, `#111105`, `#111942`, `#112002`
- **#111532: fix(config): detect file replacements in stat-based cache signatures …**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

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