[Feature Request] PreCompact hook should support context threshold percentage trigger

Status Closed — not planned
Maintainer reply None cached
Activity 3 comments · opened Dec 15, 2025 · closed Feb 26, 2026

Bug Description
[include options for the PreCompact hook to run when the context left until auto-compact reaches a certain percentage, this way status.md / log files within the project can get updated prior to compaction for proper documentation. (Also in my case this would allow for evaluator agents to update the memory/behavior system according to my feedback before compaction).]

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.69
  • Feedback ID:

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗