Session Recovery
The protocol for resuming work after context loss or a new session, checking for active plans and restoring state from file-based records.
Session recovery runs automatically at the start of every conversation. The protocol checks for active PRD files (07_execute_short_term/plans/*_active.md), reads the current git branch, and summarizes where work left off. Without this, every new session starts cold and risks re-doing completed work or missing blockers. The protocol was formalized after multiple incidents where context compaction or session breaks caused agents to restart phases that were already done. Recovery takes about 10 seconds and saves hours of wasted re-execution.
Where it shows up:
Related Terms
Architecture
Context Compaction
The process where Claude summarizes prior conversation to free up context space, preserving key deci...
Methodology
Ralph Execute
A stateless iteration protocol where all project state lives in a PRD file, enabling multi-session e...
Methodology
PRD File
A Plan-Review-Deliver document that stores all project state for Ralph Execute, enabling multi-sessi...
Foundation
Memory System
File-based persistent memory that survives across conversations, storing corrections, preferences, a...