# NousResearch/hermes-agent · Configurable protect_first_n/last_n compression turn settings

## Open now

- Nothing open on GitHub.

These issues and pull requests concern making the protect_first_n and protect_last_n turn-protection parameters in the compression system user-configurable via settings. Multiple attempts and a feature request converge on the same goal.

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

- #13751: \[Feature\]: expose protect_first_n in config

## Prior & competing PRs

- **#25447: feat(compression): make protect_first_n configurable**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/context_compressor.py`, `agent/context_engine.py`, `cli-config.yaml.example`, `hermes_cli/config.py`, `run_agent.py`, `tests/agent/test_context_compressor.py`
- **#13754: feat(compression): make protect_first_n configurable**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `dee71a31e`, `4ceab1689`, `#25447`

## Fix status

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