Skip to content

Context Compression Handling #2

@MSicc

Description

@MSicc

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions