# NousResearch/hermes-agent · Prompt-cache TTL propagation and clamping fixes

## Open now

- Nothing open on GitHub.

These items concern bugs and fixes around prompt-cache TTL values being incorrectly set or lost in MoA/auxiliary routes, Qwen routes emitting an unclamped 1-hour marker, and failover paths skipping re-preflight checks. The group is focused on correcting TTL handling across several agent and cache code paths.

## TL;DR

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

- #84733: \[Bug\] Prompt-cache TTL regresses to 5m in MoA/aux, Qwen 1h marker unclamped, failover skips re-preflight

## Prior & competing PRs

- **#85142: fix(agent): propagate prompt-cache TTL to MoA/aux, clamp Qwen 1h, re-preflight on failover (salvage #84782)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `agent/auxiliary_client.py`, `agent/conversation_loop.py`, `agent/moa_loop.py`, `agent/prompt_caching.py`, `tests/agent/test_failover_identity.py`, `tests/agent/test_moa_slot_api_mode.py`, `tests/agent/test_moa_slot_max_tokens.py`, `tests/agent/test_prompt_cache_ttl_propagation.py`, `tests/agent/test_prompt_caching.py`
- **#84782: fix(agent): propagate prompt-cache TTL to MoA/aux, clamp Qwen 1h, re-preflight on failover**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#85142`, `#84733`
- **#84792: fix(cache): clamp prompt-cache TTL to 5m on Qwen routes, never emit 1h**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#84782`, `#84733`
- **#84810: fix(cache): preserve prompt-cache capabilities across MoA and failover**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

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