# NousResearch/hermes-agent · Oversized @file attachments and context limit fallback, plus one unrelated refactor

## Open now

- Nothing open on GitHub.

Three of four members concern oversized \`@file\` references exceeding the context token limit, with two proposing a fallback to tool-readable paths and one reporting the refusal error. The fourth is a broad codebase simplification refactor that does not appear to share this theme.

## TL;DR

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

## Closed / duplicate issues

- #61987: Using \`@\` to attach large files causes context injection refused: 266673 tokens exceeds 50% hard limit (131072)

## Prior & competing PRs

- **#102117: refactor: whole-codebase simplification — −34% source LOC, every god file decomposed, zero behavior change**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `.github/workflows/lint.yml`, `AGENTS.md`, `COMPAT_MANIFEST.md`, `CONTRIBUTING.md`, `acp_adapter/auth.py`, `acp_adapter/commands.py`, `acp_adapter/content.py`, `acp_adapter/edit_approval.py`, `acp_adapter/entry.py`, `acp_adapter/events.py`, `acp_adapter/model_catalog.py`, `acp_adapter/permissions.py`, `acp_adapter/provenance.py`, `acp_adapter/server.py`, `acp_adapter/session.py`, `acp_adapter/tools.py`, `agent/AGENTS.md`, `agent/__init__.py`, `agent/account_usage.py`, `agent/acp_openai_bridge.py` (+2635 more)
- **#103621: fix(context): one oversized @file no longer refuses the whole turn — tool-readable path fallback (#61987, salvage #102740)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_references.py`, `tests/agent/test_context_references.py`, `tests/gateway/test_context_ref_expansion_runtime.py`
- **#102740: fix(context): fall back to tool-readable paths for oversized @file refs**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#61987`, `#103621`, `#102117`

## Fix status

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