Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
P2Medium — degraded but workaround existsMedium — degraded but workaround existssweeper:implemented-on-mainSweeper: behavior already present on current mainSweeper: behavior already present on current maintool/fileFile tools (read, write, patch, search)File tools (read, write, patch, search)tool/terminalTerminal execution and process managementTerminal execution and process managementtype/bugSomething isn't workingSomething isn't working
Description
Bug Description
Bug Description
On Windows, the read_file tool fails with "File not found" error even for valid file paths on D: drive. Terminal tool also fails to execute basic commands.
Steps to Reproduce
- Run hermes-agent v0.11.0 on Windows 10 (native, not WSL2)
- Ask: "Read the file D:\hermes jiyi\2026-04-29.md" (file exists)
- Or ask: "Run hostname && whoami && pwd"
Expected Behavior
- read_file should successfully read local files on D: drive
- Terminal should execute basic commands like
hostname
Actual Behavior
- read_file returns error: "File not found" for all paths tried
- Terminal returns exit_code: 1
Environment
- OS: Windows 10 Pro
- Hermes: v0.11.0
- Python: 3.11.9
- Provider: custom (Xiaomi MiMo Token Plan via token-plan-cn.xiaomimimo.com)
- Terminal backend: local
Additional Context
- Skills system works normally (69 skills listed and callable)
- LLM calls work normally (API responding)
- This suggests hermes IS running locally, but file/terminal tools have Windows-specific bugs
- File paths were tested with both Chinese characters and pure ASCII - both fail
- Even renamed folder to pure ASCII
D:\hermes jiyi\but still fails
Steps to Reproduce
Bug Description
On Windows, the read_file tool fails with "File not found" error even for valid file paths on D: drive. Terminal tool also fails to execute basic commands.
Steps to Reproduce
- Run hermes-agent v0.11.0 on Windows 10 (native, not WSL2)
- Ask: "Read the file D:\hermes jiyi\2026-04-29.md" (file exists)
- Or ask: "Run hostname && whoami && pwd"
Expected Behavior
- read_file should successfully read local files on D: drive
- Terminal should execute basic commands like
hostname
Actual Behavior
- read_file returns error: "File not found" for all paths tried
- Terminal returns exit_code: 1
Environment
- OS: Windows 10 Pro
- Hermes: v0.11.0
- Python: 3.11.9
- Provider: custom (Xiaomi MiMo Token Plan via token-plan-cn.xiaomimimo.com)
- Terminal backend: local
Additional Context
- Skills system works normally (69 skills listed and callable)
- LLM calls work normally (API responding)
- This suggests hermes IS running locally, but file/terminal tools have Windows-specific bugs
- File paths were tested with both Chinese characters and pure ASCII - both fail
- Even renamed folder to pure ASCII
D:\hermes jiyi\but still fails
Expected Behavior
Bug Description
On Windows, the read_file tool fails with "File not found" error even for valid file paths on D: drive. Terminal tool also fails to execute basic commands.
Steps to Reproduce
- Run hermes-agent v0.11.0 on Windows 10 (native, not WSL2)
- Ask: "Read the file D:\hermes jiyi\2026-04-29.md" (file exists)
- Or ask: "Run hostname && whoami && pwd"
Expected Behavior
- read_file should successfully read local files on D: drive
- Terminal should execute basic commands like
hostname
Actual Behavior
- read_file returns error: "File not found" for all paths tried
- Terminal returns exit_code: 1
Environment
- OS: Windows 10 Pro
- Hermes: v0.11.0
- Python: 3.11.9
- Provider: custom (Xiaomi MiMo Token Plan via token-plan-cn.xiaomimimo.com)
- Terminal backend: local
Additional Context
- Skills system works normally (69 skills listed and callable)
- LLM calls work normally (API responding)
- This suggests hermes IS running locally, but file/terminal tools have Windows-specific bugs
- File paths were tested with both Chinese characters and pure ASCII - both fail
- Even renamed folder to pure ASCII
D:\hermes jiyi\but still fails
Actual Behavior
Bug Description
On Windows, the read_file tool fails with "File not found" error even for valid file paths on D: drive. Terminal tool also fails to execute basic commands.
Steps to Reproduce
- Run hermes-agent v0.11.0 on Windows 10 (native, not WSL2)
- Ask: "Read the file D:\hermes jiyi\2026-04-29.md" (file exists)
- Or ask: "Run hostname && whoami && pwd"
Expected Behavior
- read_file should successfully read local files on D: drive
- Terminal should execute basic commands like
hostname
Actual Behavior
- read_file returns error: "File not found" for all paths tried
- Terminal returns exit_code: 1
Environment
- OS: Windows 10 Pro
- Hermes: v0.11.0
- Python: 3.11.9
- Provider: custom (Xiaomi MiMo Token Plan via token-plan-cn.xiaomimimo.com)
- Terminal backend: local
Additional Context
- Skills system works normally (69 skills listed and callable)
- LLM calls work normally (API responding)
- This suggests hermes IS running locally, but file/terminal tools have Windows-specific bugs
- File paths were tested with both Chinese characters and pure ASCII - both fail
- Even renamed folder to pure ASCII
D:\hermes jiyi\but still fails
Affected Component
Tools (terminal, file ops, web, code execution, etc.)
Messaging Platform (if gateway-related)
No response
Debug Report
## Bug Description
On Windows, the read_file tool fails with "File not found" error even for valid file paths on D: drive. Terminal tool also fails to execute basic commands.
## Steps to Reproduce
1. Run hermes-agent v0.11.0 on Windows 10 (native, not WSL2)
2. Ask: "Read the file D:\hermes jiyi\2026-04-29.md" (file exists)
3. Or ask: "Run hostname && whoami && pwd"
## Expected Behavior
- read_file should successfully read local files on D: drive
- Terminal should execute basic commands like `hostname`
## Actual Behavior
- read_file returns error: "File not found" for all paths tried
- Terminal returns exit_code: 1
## Environment
- OS: Windows 10 Pro
- Hermes: v0.11.0
- Python: 3.11.9
- Provider: custom (Xiaomi MiMo Token Plan via token-plan-cn.xiaomimimo.com)
- Terminal backend: local
## Additional Context
- Skills system works normally (69 skills listed and callable)
- LLM calls work normally (API responding)
- This suggests hermes IS running locally, but file/terminal tools have Windows-specific bugs
- File paths were tested with both Chinese characters and pure ASCII - both fail
- Even renamed folder to pure ASCII `D:\hermes jiyi\` but still failsOperating System
windows 10
Python Version
No response
Hermes Version
当前最新版本
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
- I'd like to fix this myself and submit a PR
Metadata
Metadata
Assignees
Labels
P2Medium — degraded but workaround existsMedium — degraded but workaround existssweeper:implemented-on-mainSweeper: behavior already present on current mainSweeper: behavior already present on current maintool/fileFile tools (read, write, patch, search)File tools (read, write, patch, search)tool/terminalTerminal execution and process managementTerminal execution and process managementtype/bugSomething isn't workingSomething isn't working
Activity
alt-glitch commentedon Apr 30, 2026
Likely duplicate of #17753 — same symptom (read_file/terminal broken on native Windows), same code path (file tools path handling on Windows without WSL). PR #14545 addressed a related Windows path issue.
alt-glitch commentedon Apr 30, 2026
Likely duplicate of #17753 — same symptom (read_file/terminal broken on native Windows), same code path.
fix(file-tools): make read_file path checks and pagination cross-plat…
fix(file-tools): recognize Windows drive paths in read/write resoluti…
konsisumer commentedon Jun 12, 2026
This issue appears to describe the same problem as #35819. Maintainer might want to consolidate or pick one as canonical.
teknium1 commentedon Jul 12, 2026
Thanks for the native-Windows report. This is now implemented on main; this is an automated hermes-sweeper review.
d1ad9a0f5, translating nativeC:\...paths to Git-Bash-safe/c/...paths before shell-backed file operations.tools/file_operations.py:960applies that translation before quoting, andread_fileuses the resulting path for itswc,head, andsedoperations.tests/tools/test_file_operations.py:470covers reading a nativeC:\Users\alice\notes.txtpath and verifies every generated read command uses/c/Users/alice/notes.txtwithout a read error.