IntegrationsOpenClaw
Auto-checkpoint on command:new
Hook-driven checkpointing before OpenClaw session resets.
When the ClawVault hook is enabled, /new lifecycle events trigger automatic checkpoint behavior before reset.
Hook Setup
npm install -g clawvault
openclaw hooks install clawvault
openclaw hooks enable clawvault
openclaw hooks list --verbose
openclaw hooks checkRestart gateway after enable/install.
Why It Matters
Without checkpoint-before-reset, /new can drop in-flight context.
With hook automation:
- state is captured pre-reset
- next
wake/recoverhas continuity data - operator burden is lower during long sessions
Recommended Operator Pattern
# start
clawvault wake
# while working
clawvault checkpoint --working-on "..." --focus "..."
# end
clawvault sleep "..." --next "..."Auto-checkpoint is a safety net; periodic manual checkpoints still provide richer state capture.
Troubleshooting
no checkpoint observed around /new
openclaw hooks list --verbose
openclaw hooks info clawvault
clawvault compat --strictreinstall path
openclaw hooks install clawvault
openclaw hooks enable clawvault