# NousResearch/hermes-agent · Cache key scoping and propagation fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address problems with prompt_cache_key being shared across sessions and not correctly propagating to the extra_body field that xAI reads. Both concerns relate to cache key isolation and routing behavior.

## 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 #79161. Verify it addresses your case.
- **Recommended:** read PR #79161 (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-79161`. 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

- #79014: xAI Responses: top-level prompt_cache_key override doesn't propagate to extra_body (the field xAI actually reads)

## Prior & competing PRs

- **#79161: fix(cache): scope prompt_cache_key by session to stop cross-session bucket sharing**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `agent/transports/chat_completions.py`, `agent/transports/codex.py`, `agent/turn_context.py`, `plugins/model-providers/nous/__init__.py`, `plugins/model-providers/openrouter/__init__.py`, `tests/agent/test_auxiliary_client.py`, `tests/agent/transports/test_chat_completions.py`, `tests/agent/transports/test_codex_transport.py`, `tests/providers/test_provider_profiles.py`
- **#78959: fix(cache): scope prompt_cache_key by session to stop cross-session bucket sharing**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#79161`

## Fix status

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