# NousResearch/hermes-agent · Moving context compaction off the blocking turn path

## Open now

- 1 issue, 2 PRs open on GitHub.
- #117886: Post-turn background compaction: stop context compaction from blocking the turn
- PR #117895: fix(compaction): move threshold work off the turn path
- PR #136671: feat(compression): compaction 2.0 — close the measured gaps from #136582

All three members concern context compaction: one proposes a broader "compaction 2.0" effort referencing measured gaps, and two focus on moving compaction work out of the turn path or running it in the background after a turn. Only titles are available, so the details and status of each change are not established.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.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.

## Open related issues

- #117886: Post-turn background compaction: stop context compaction from blocking the turn

## Prior & competing PRs

- **#117895: fix(compaction): move threshold work off the turn path**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `54dd30e7d521117eb542772050915b0fb9fba9db`
  - files: `agent/agent_init.py`, `agent/conversation_compression.py`, `agent/turn_context_compaction.py`, `agent/turn_preflight.py`, `gateway/run.py`, `gateway/run_agent_cache.py`, `gateway/run_goals.py`, `gateway/run_turn.py`, `gateway/run_turn_runner.py`, `gateway/session_state.py`, `gateway/session_transcript.py`, `gateway/slash_commands_session.py`, `hermes_cli/config_defaults.py`, `tests/agent/test_turn_context_compaction.py`, `tests/gateway/test_post_turn_background_compaction.py`
- **#136671: feat(compression): compaction 2.0 — close the measured gaps from #136582**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/auxiliary_client.py`, `agent/auxiliary_reasoning_floor.py`, `agent/chat_completion_helpers.py`, `agent/compaction_lean_carry.py`, `agent/compaction_user_quotes.py`, `agent/context_compressor.py`, `agent/context_compressor_background.py`, `agent/context_compressor_tail.py`, `agent/conversation_compression.py`, `agent/conversation_compression_codex.py`, `agent/native_compaction.py`, `agent/native_compaction_synthetic.py`, `agent/subdirectory_hints.py`, `agent/turn_finalizer.py`, `agent/turn_preflight.py`, `gateway/compaction_todo_hydration.py`, `gateway/run_turn.py`, `gateway/slash_commands_session.py`, `tests/agent/test_codex_responses_adapter.py`, `tests/agent/test_compaction_lean_carry.py` (+8 more)

## Fix status

- No merged fix on record.
- Subsystem: `agent`
