# Session Freeze Protocol Session freeze is how long Cursor agent work survives context exhaustion, window changes, and human interruptions. ## When To Freeze Freeze before: - A chat window approaches context exhaustion. - A role finishes a phase or hands work to another role. - The user reports confusion or asks for a status reset. - A significant incident occurs, such as sync failure, credential friction, or a blocked safety gate. ## Required Freeze Outputs Update: - `USER_STATUS.md`: human-facing current state and single next action. - Relevant `handoff/*.md`: role-specific state and next owner. - Relevant `tasks/*.md`: machine-readable task status. - `knowledge/LESSONS_LEARNED.md`: reusable insight from the session. Create archive note when useful: ```text archive/YYYYMMDD-short-topic.md ``` ## Freeze Template ```text Current phase: Completed: Blocked: Safety constraints: Next owner: Single next action: Files updated: Resume prompt: ``` ## Resume Prompt Every freeze should leave a prompt that a new session can use: ```text You are resuming the OpenClaw COACH/ORCHESTRATOR workflow. Read USER_STATUS.md, AGENT_BOARD.md, relevant handoff files, sync-state/README.md, and knowledge/LESSONS_LEARNED.md. Do not start mutation work unless USER_STATUS.md and AGENT_BOARD.md both allow it. ```