Context compaction corrupts tool-call argument data
Cluster 122559. Data as of
Nothing open on GitHub. Fix merged in #125036 on 27 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #125036. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #125036. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items concern a bug where context compaction/compression incorrectly rewrites or truncates tool-call arguments, allowing corrupted data to persist into message content or reach the filesystem. The group includes the bug report and two related fix attempts addressing argument preservation during compaction.
Open issues0
Open PRs0
Fixes on record
-
#125036 fix(context): stop compaction from rewriting old tool-call arguments
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
1 PR closed without merging
From the close comments: done elsewhere 1
-
#122621 fix(context): preserve tool-call arguments through compaction · done elsewhere →
062dc1e,#125036
Closed issues · 1
- Closed#122559[Bug]: context-compression markers persist into message content, and truncated tool-call arguments reach the filesystem
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #125036
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 27 Sep 2026