-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Summary
Define a consistent approach for context compression in long-running sessions.
Motivation
Context windows are finite; compression preserves key state and decisions without losing critical constraints or direction.
Proposed Approach
- Define a compression checkpoint format (state + constraints + decisions + open tasks + file pointers).
- Require explicit user confirmation before replacing full context.
- Make compression reversible and auditable.
Acceptance Criteria
- Spec section added describing context compression handling.
- Example checkpoint format included.
- Clear rules for when to propose compression and how to confirm/restore.
- Templates and prompt workflows updated to reflect spec changes, with validation passing.