Core Concepts
Context Death & Recovery
Checkpoint, recover, wake, and hook-assisted continuity
Context death is session memory loss from resets, crashes, or transcript issues. ClawVault is built to make this recoverable.
Core Recovery Cycle
- Save state while working:
clawvault checkpoint --working-on "auth rollout" --focus "token edge cases"- Check/clear recovery state:
clawvault recover --check
clawvault recover --clear- Start with stitched context:
clawvault wake- End with explicit handoff:
clawvault sleep "implemented auth middleware" --next "write tests"Useful Commands
clawvault recap --brief
clawvault recover --list
clawvault repair-session --dry-run
clawvault repair-sessionHook-Assisted Recovery (OpenClaw)
openclaw hooks install clawvault
openclaw hooks enable clawvault
openclaw hooks list --verbose
openclaw hooks info clawvault
openclaw hooks checkThen restart gateway and validate with:
clawvault compat --strictWhy This Works
checkpointcaptures in-flight staterecoveridentifies unclean exits and latest recoverable contextwakecombines recovery + recap for a fresh session start- OpenClaw hooks automate key lifecycle points (
gateway:startup,command:new,session:start)
Troubleshooting
no useful recovery context
- ensure periodic
checkpointusage - confirm hook install/enable if using OpenClaw automation
- run
clawvault doctorandclawvault compat --strict
transcript corruption
clawvault repair-session --dry-run
clawvault repair-session