# NousResearch/hermes-agent · File write reliability and CWD preservation bugs

## Open now

- Nothing open on GitHub.

These issues and fixes address silent file creation failures during long conversations and loss of the current working directory when terminal environments are recreated. Both themes involve file operation reliability on the local filesystem.

## TL;DR

- 5 member(s): 0 open issue(s), 2 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 #53920. Verify it addresses your case.
- **Recommended:** read PR #53920 (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: `partially_resolved` · deciding PR(s): `pr-53920`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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.34`: 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

- #26211: \[Bug\]: File creation fails silently in long-running conversations
- #34395: \[Bug\]: can't create txt, html output in target folder (or anyway Mac could search)

## Prior & competing PRs

- **#53920: fix(file-ops): preserve CWD across terminal env re-creation (#26211)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `tests/tools/test_file_tools.py`, `tests/tools/test_file_tools_cwd_resolution.py`, `tools/file_tools.py`
- **#26251: fix(file-ops): preserve CWD across terminal environment re-creation (#26211)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `adeba1d7a`, `#53920`
- **#26336: fix(file): verify file exists after write to prevent silent failures in long conversations**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#39066`

## Fix status

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