# NousResearch/hermes-agent · Agent file path mapping and staging fixes

## Open now

- 1 issue, 1 PR open on GitHub.
- #103147: \`_agent_visible_path\` returns unmapped paths unchanged, so \`@file:\` dangles under a container backend
- PR #128535: fix(agent): stage unmapped @file: refs into the sandbox bind mount

These issues and fixes address how the agent handles unmapped or unmounted file paths—particularly @file: references and binary files—when operating under container or sandbox backends. A desktop fix for several unrelated UI and UX issues is also included in the group.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #122078. Verify it addresses your case.
- **Recommended:** read PR #122078 (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.40`: 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

- #103147: \`_agent_visible_path\` returns unmapped paths unchanged, so \`@file:\` dangles under a container backend

## Prior & competing PRs

- **#122078: fix(desktop): pop-out scope adoption, bare URLs stay visible, citeturn markers, traffic-light overlap, SSH paste attachments**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_references.py`, `apps/desktop/src/app/chat/browser-popout-handoff.test.tsx`, `apps/desktop/src/app/chat/right-rail/preview.tsx`, `apps/desktop/src/components/assistant-ui/markdown-text.bare-url.test.tsx`, `apps/desktop/src/components/assistant-ui/markdown-text.tsx`, `apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.test.tsx`, `apps/desktop/src/components/pane-shell/tree/renderer/narrow-overlays.tsx`, `apps/desktop/src/lib/markdown-preprocess.citation.test.ts`, `apps/desktop/src/lib/markdown-preprocess.ts`, `apps/desktop/src/store/preview.ts`, `contributors/emails/[redacted:email]`, `contributors/emails/phantomthedog@users.noreply.github.com`, `tests/agent/test_context_references.py`, `tests/tools/test_credential_files.py`, `tools/credential_files.py`
- **#103412: fix(agent): stage unmounted binary reference files into attachments for container backends**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#122078`
- **#119363: fix: resolve #103147 — #103147 \`_agent_visible_path\` returns unmapped paths unchang**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#128535: fix(agent): stage unmapped @file: refs into the sandbox bind mount**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `3357c24dcbd7`, `#76577`, `#103147`
  - files: `agent/context_references.py`, `tests/agent/test_context_references.py`

## Fix status

- Merged to main in PR #122078 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-26`.
- Subsystem: `agent`
