# NousResearch/hermes-agent · Tool-call argument truncation during compaction

## Open now

- 1 issue, 2 PRs open on GitHub.
- #110094: Compaction silently destroys tool-call arguments: every string leaf cut to 200 chars, no tail kept, no config surface
- PR #110105: fix(context): stop compaction from destroying tool argument history
- PR #110141: fix(compression): keep a tail window when truncating tool-call args (#110094)

These issues and PRs concern a bug where compaction silently truncates tool-call argument strings to 200 characters with no tail preserved, and efforts to make the truncation behavior configurable and less destructive.

## TL;DR

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

- #110094: Compaction silently destroys tool-call arguments: every string leaf cut to 200 chars, no tail kept, no config surface

## Prior & competing PRs

- **#125036: fix(context): stop compaction from rewriting old tool-call arguments**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/compression_marker.py`, `agent/context_compressor.py`, `tests/agent/test_context_compressor.py`, `tests/agent/test_tool_call_guardrail_runtime.py`, `website/docs/user-guide/configuration.md`
- **#110101: fix(agent): preserve tool-call argument tails during compaction**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#125036`, `#125036`, `#110094`
- **#110105: fix(context): stop compaction from destroying tool argument history**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/agent_init.py`, `agent/context_compressor.py`, `cli-config.yaml.example`, `gateway/run.py`, `hermes_cli/config_defaults.py`, `tests/agent/test_context_compressor.py`, `tests/agent/test_proactive_prune_config.py`, `tests/tui_gateway/test_compression_config_hot_reload.py`, `tui_gateway/session_compression.py`, `website/docs/user-guide/configuration.md`
- **#110107: feat(compression): make tool-call argument shrinking configurable (tool_arg_head_chars / tool_arg_min_chars)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5952e95f62`, `5952e95f62`
- **#110141: fix(compression): keep a tail window when truncating tool-call args (#110094)**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#110105`, `#110101`, `#110107`, `#110094`
  - files: `agent/agent_init.py`, `agent/context_compressor.py`, `gateway/run.py`, `hermes_cli/config_defaults.py`, `tests/agent/test_context_compressor.py`, `tui_gateway/session_compression.py`

## Fix status

- Merged to main in PR #125036 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-27`.
- Subsystem: `agent`
