Bug Description
Two agent tools fail consistently when invoked by the model during a chat session:
-
terminal — every command returns exit code 126 with empty stdout/stderr. Tested: echo, pwd, ls, whoami, mkdir, python --version. All fail identically.
-
write_file — returns {"error": "Failed to write file:"} or produces a 0-byte file.
The system shell itself works fine — hermes CLI runs in PowerShell, hermes debug share succeeds, PowerShell commands execute normally. The failure is specific to how the agent invokes these tools internally.
Browser tools, memory, read_file, skills, and Discord integration all work normally in the same session.
Steps to Reproduce
- on a new windows 11 pro installation download and run atlas os
- Run
hermes chat (Ollama provider, model qwen3.5:9b)
- Ask the agent: "run echo hello"
→ terminal tool returns exit 126, no output
- Ask the agent to create a file via write_file
→ returns "Failed to write file:" or creates a 0-byte file
- Same session, ask agent to navigate a URL or read a file
→ works normally
Expected Behavior
- terminal tool should execute commands and return their output
- write_file should write content to disk and return success
Actual Behavior
- terminal: exit code 126, empty output, every command, every session
- write_file: error "Failed to write file:" or 0-byte file created at the target path
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Debug Report
Report https://paste.rs/EMiNP
agent.log https://paste.rs/sdHTM
gateway.log https://paste.rs/xWDcK
Operating System
Windows 11 Pro 10.0.26100 (Atlas OS variant)
Python Version
3.12.10
Hermes Version
0.12.0 (2026.4.30)
Additional Logs / Traceback (optional)
Possibly related — `~/.hermes/cache/checkpoints/` grew to ~240 GB on this machine over a few 2 days of normal use, with no apparent size cap or cleanup. Manually deleting it freed the space with no observable downside, but unbounded growth seems unintended. Happy to file separately if preferred.
Provider: Ollama 0.23.1, model qwen3.5:9b, OpenAI SDK 2.33.0.
Root Cause Analysis (optional)
No root cause identified yet. The system shell works fine (hermes debug share ran successfully from PowerShell), so the failure is specific to how Hermes invokes the terminal and write_file tools internally on Windows 11 (atlas os). Exact cause unknown.
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
Bug Description
Two agent tools fail consistently when invoked by the model during a chat session:
terminal— every command returns exit code 126 with empty stdout/stderr. Tested: echo, pwd, ls, whoami, mkdir, python --version. All fail identically.write_file— returns{"error": "Failed to write file:"}or produces a 0-byte file.The system shell itself works fine —
hermesCLI runs in PowerShell,hermes debug sharesucceeds, PowerShell commands execute normally. The failure is specific to how the agent invokes these tools internally.Browser tools, memory, read_file, skills, and Discord integration all work normally in the same session.
Steps to Reproduce
hermes chat(Ollama provider, model qwen3.5:9b)→ terminal tool returns exit 126, no output
→ returns "Failed to write file:" or creates a 0-byte file
→ works normally
Expected Behavior
Actual Behavior
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Debug Report
Operating System
Windows 11 Pro 10.0.26100 (Atlas OS variant)
Python Version
3.12.10
Hermes Version
0.12.0 (2026.4.30)
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No root cause identified yet. The system shell works fine (hermes debug share ran successfully from PowerShell), so the failure is specific to how Hermes invokes the terminal and write_file tools internally on Windows 11 (atlas os). Exact cause unknown.
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?