[FEATURE] Context Threshold Hook with Automatic State Preservation
Resolved 💬 3 comments Opened Jan 15, 2026 by pierodalmaso72 Closed Jan 15, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Current context management in Claude Code creates friction during complex, long-running tasks, stopping or requering user intervention to re-establish the workflow. No seamless resumption:
This workflow friction doesn't developers from using Claude Code for complex multi-hour tasks where it could provide the most value.
Proposed Solution
- Hook on-context-low (ex: 90-92% used)
- Auto-save for current state with notice that an auto-compact will follow
- Auto-compact + resume
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗