# NousResearch/hermes-agent · Windows cross-drive path autocomplete crash fixes

## Open now

- 1 issue, 3 PRs open on GitHub.
- #13261: \[Bug\]: (cli)(windows)Path completion failed if target path is in a different drive
- PR #12802: fix(windows): display path calculation for cross-drive scenarios
- PR #42023: fix(cli): skip invalid project file completions
- PR #122309: fix(cli): skip cross-mount paths in @ file autocomplete on Windows (#31915) (salvage of #31924)

These issues and pull requests address crashes and failures in the \`@\` file autocomplete feature on Windows when paths span different drives or mount points, caused by \`os.path.relpath()\` raising ValueError. Multiple fixes were proposed to skip or handle invalid cross-drive path completions.

## TL;DR

- 9 member(s): 1 open issue(s), 2 closed issue(s), 3 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #84419. Verify it addresses your case.
- **Recommended:** read PR #84419 (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: `partially_resolved` · deciding PR(s): `pr-84419`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.20`: 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

- #13261: \[Bug\]: (cli)(windows)Path completion failed if target path is in a different drive

## Closed / duplicate issues

- #31915: Windows: \`os.path.relpath()\` ValueError crash in \`@\` file autocomplete (cross-mount paths)
- #42016: @ autocomplete crashes on Windows with device paths

## Prior & competing PRs

- **#84419: fix: Windows agent-loop papercuts — path splitting, skill hashing, autocomplete, screenshots, OS detection**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/prompt_builder.py`, `agent/shell_hooks.py`, `hermes_cli/_subprocess_compat.py`, `hermes_cli/commands.py`, `hermes_cli/console_engine.py`, `tests/tools/test_windows_agent_loop_papercuts.py`, `tools/browser_use_cli.py`, `tools/skills_guard.py`, `tools/skills_hub.py`
- **#12802: fix(windows): display path calculation for cross-drive scenarios**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#13407`
  - files: `hermes_cli/commands.py`
- **#13407: fix(cli): handle cross-drive path completion on Windows**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#12802`, `#13261`, `#12802`
- **#31924: fix(cli): skip cross-mount paths in \`@\` file autocomplete on Windows (#31915)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#122309`
- **#42023: fix(cli): skip invalid project file completions**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/commands.py`, `tests/hermes_cli/test_commands.py`
- **#122309: fix(cli): skip cross-mount paths in @ file autocomplete on Windows (#31915) (salvage of #31924)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `457a1e1cdb`, `c7ec56cc70`, `#31915`, `#13261`, `#12802`
  - files: `hermes_cli/commands_completion.py`, `tests/hermes_cli/test_path_completion.py`

## Fix status

- Merged to main in PR #84419 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-12`.
- Subsystem: `hermes_cli`
