Context compression skips empty windows, fixes edge cases
Cluster 59496 · agent. Data as of
Nothing open on GitHub. Fix merged in #70251. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #70251. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and fixes address bugs where context compression was incorrectly triggered on empty message windows, particularly after summary boundary adjustments, and includes a related fix to count no-op compressions toward the anti-thrashing guard.
Open issues0
Open PRs0
Fixes on record
-
#70251 fix(compression): skip empty post-handoff summary windows (salvage #59526)
files:
agent/context_compressor.py,contributors/emails/[redacted:email],tests/agent/test_context_compressor_summary_continuity.py
3 PRs closed without merging
From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1
-
#59526 fix(compression): skip empty post-handoff summary windows · merged via another change →
#70251,#59737 -
#59737 fix(agent): skip compression when latest summary leaves no messages to summarize · done elsewhere →
#70251,#59526 -
#60579 fix(compression): skip empty summary windows · duplicate →
#59526,#59496
Closed issues · 1
- Closed#59496[Bug]: Context compression calls context engine with empty window after summary boundary adjustment
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.40: 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
- Subsystem
- agent
- Merged PRs
- #70251
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 23 Jul 2026