# NousResearch/hermes-agent · Gateway context-file truncation warnings leaking at boot

## Open now

- Nothing open on GitHub.

A bug where gateway boot warm-up builds context files without an agent or model, causing truncation warnings to appear outside of active turns. The members cover the bug report and associated fixes to defer context file construction until a real turn is active.

## TL;DR

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

- #111773: \[Bug\]: Gateway boot warm-up builds context files with no agent and no model, queueing foreign truncation warnings

## Prior & competing PRs

- **#112211: fix(agent,gateway): context-file truncation warnings no longer leak from boot warm-up or hint previews (#111773, #111772, salvage #111777 #111781)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/AGENTS.md`, `agent/prompt_builder.py`, `agent/subdirectory_hints.py`, `gateway/run.py`, `tests/agent/test_subdirectory_hints.py`, `tests/gateway/test_startup_environment_probe.py`, `website/docs/user-guide/features/context-files.md`
- **#111777: fix(gateway): defer context files until active turn**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `c1bbcf9712`, `#112211`

## Fix status

- Merged to main in PR #112211 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-16`.
