NousResearch/hermes-agent

read_file dedup cache bugs and response inconsistencies

Cluster 44819 · agent · Bug. Data as of

2 open items. Fix merged in #153355 on 11 Nov 2026. Check it covers your case.

The short answer

1open issue
1open PR
11items grouped
Known?
Yes. 11 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #153355. Check it covers your case. No release data is tracked. Fix link checked: 11 Nov 2026.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #153355. That is separate from the fix event.

These issues and fixes center on problems with the read_file tool's deduplication mechanism, including incorrect response structures in the execute_code sandbox, cache invalidation using only mtime, loop detection bypasses, and dedup metadata leaking into file content.

Open issues1

  • Issue#44819[Bug]: read_file In some inappropriate situations, is the dedup likely to affect instruction compliance? For example, when reading skill commands

Open PRs1

  • PR#45269fix(tools): preserve instruction file rereads

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #153355 execute_code scripts always get file content from read_file (#82711, #44843)

    merged to main

    files: tests/tools/test_code_execution_programmatic_reads.py, tools/code_execution_rpc.py, tools/code_kernel.py, tools/file_tools.py, tools/file_tools_read_tracking.py

7 PRs closed without merging

From the close comments: superseded by another PR 2 · stale or abandoned 1 · other 4

  • #44847 fix(tools): bypass read dedup in execute_code · stale or abandoned → 7043a92, #153355, #44843
  • #44849 fix(tools): skip read_file dedup for execute_code sandbox calls · superseded by another PR → #44847
  • #44960 fix(tools): align read_file sandbox response format with normal tool (#44843) · other
  • #44997 fix(tools): make read_file dedup response consistent (#44843) · other
  • #45087 fix(tools): read_file returns inconsistent response structure in execute_code sandbox (#44843) · other → #44843, #44997, #44847, #44849, #44960
Show 2 more
  • #82873 fix(tools): bypass read_file dedup in execute_code sandbox · superseded by another PR → #44847
  • #102813 fix(tools): bypass read dedup in execute_code · other
Closed issues · 1
  • Closed#44843read_file` returns inconsistent response structure in `execute_code()` sandbox
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.17: the share of item 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.

For your agent

The same facts, typed.