# NousResearch/hermes-agent · read_file output shape inside execute_code sandbox

## Open now

- 1 issue, 0 PRs open on GitHub.
- #93749: \[Bug\]: hermes_tools.read_file inside execute_code returns unstable shapes (missing content key / numbered display text)

The members all concern the result returned by read_file when called from execute_code scripts, including a report of inconsistent shapes (a missing content key, or numbered display text) and related changes aimed at making the returned file content consistent. The titles alone do not show whether any of this has been fixed.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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 #153355. Verify it addresses your case.
- **Recommended:** read PR #153355 (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.

## Open related issues

- #93749: \[Bug\]: hermes_tools.read_file inside execute_code returns unstable shapes (missing content key / numbered display text)

## Prior & competing PRs

- **#153355: execute_code scripts always get file content from read_file (#82711, #44843)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - 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`
- **#94875: fix(tools): stabilize sandbox read_file results**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `7043a9264880`, `5acb2859ae`, `9be021dd1a`, `#153355`

## Fix status

- Merged to main in PR #153355 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-11-11`.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
