Fix stdin/heredoc corrupting file write commands
NousResearch/hermes-agent · cluster 122011
Data as of
Nothing open on GitHub. Fix merged in #122012. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #122012. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #122012. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where SDK stdin was incorrectly embedded in command arguments caused write_file and patch operations to empty target files on certain platforms (Modal, Daytona, Vercel). Fixes involve streaming stdin separately rather than including it in command argv.
Open issues0
Open PRs0
Fixes on record
-
#122012 fix(environments): write_file/patch no longer empty the target on Modal/Daytona/Vercel — heredoc stdin byte-exact
files:
contributors/emails/[redacted:email],tests/tools/test_base_environment.py,tests/tools/test_file_ops_single_roundtrip.py,tests/tools/test_tool_result_storage.py,tools/environments/base.py,tools/tool_result_storage.py -
#124206 fix(environments): stream SDK stdin instead of embedding it in command argv
files:
tests/tools/test_modal_bulk_upload.py,tests/tools/test_vercel_sandbox_environment.py,tools/environments/base.py,tools/environments/daytona.py,tools/environments/modal.py,tools/environments/vercel_sandbox.py,tools/terminal_tool_sudo.py
2 PRs closed without merging
From the close comments: done elsewhere 1 · superseded by another PR 1
Closed issues · 1
- Closed#122011[Bug]: write_file and patch empty the target file on Modal/Daytona/Vercel (heredoc stdin lands on the last command)
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab