Plugin post_compaction hook for context compaction events
Cluster 118382 · agent. Data as of
Nothing open on GitHub. Fix merged in #141017 on 18 Oct 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 #141017. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #141017. That is separate from the fix event. - Still open
- Nothing open on GitHub.
The members all concern adding a post_compaction hook for plugins so providers can re-inject context after compaction. They include a feature PR (#118382), an issue describing the missing hook or notification, and a related item referencing #118382 and a salvage (#118847); their current status is not stated.
Open issues0
Open PRs0
Fixes on record
-
#141017 Plugins get a post_compaction hook on every compaction path (#118382, salvage #118847)
files:
agent/compaction_events.py,gateway/session_mutation_compress.py,gateway/session_mutations.py,hermes_cli/plugins.py,hermes_cli/plugins_dispatch.py,tests/agent/test_post_compaction_hook.py,website/docs/developer-guide/plugins/index.md,website/docs/user-guide/features/hooks.md,website/docs/user-guide/features/plugins.md
1 PR closed without merging
From the close comments: done elsewhere 1
-
#118847 feat(plugins): add post_compaction hook (#118382) · done elsewhere →
a319752,35948f2,#141017,#118382
Closed issues · 1
- Closed#118382No hook or notification at context compaction, so providers cannot re-inject context afterwards
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
- Subsystem
- agent
- Merged PRs
- #141017
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 18 Oct 2026