# NousResearch/hermes-agent · Reduce shell process spawning in file read/write ops

## Open now

- Nothing open on GitHub.

These items all concern a performance improvement to collapse multiple shell process invocations in read_file and write_file into a single round-trip. The work appears to span an original issue and at least one related or salvaged pull request addressing the same optimization.

## TL;DR

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

- #95161: \[Perf\]: read_file spawns 4–5 shell processes per call; one compound command (or a native local read) does the same work

## Prior & competing PRs

- **#101599: perf(file-ops): collapse read_file/write_file shell probes into one round-trip (salvage #95160)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/[redacted:email]`, `tests/tools/file_ops_fakes.py`, `tests/tools/test_file_operations.py`, `tests/tools/test_file_operations_edge_cases.py`, `tests/tools/test_file_ops_single_roundtrip.py`, `tools/file_operations.py`
- **#95160: perf(file-ops): collapse read_file/write_file shell probes into one round-trip**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6a2b3f1ebf`, `9fbb3b716a`, `d3275acf80`, `47a8f6148a`, `e1c0c4bb6e`, `#101599`

## Fix status

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