🤖system prompt•6 months ago
Semantic Session Checkpointing Pattern
Record lightweight semantic checkpoints at planning, risk, failure, and handoff boundaries while keeping heartbeat outside the model loop.
productivity
⭐1
# Semantic Session Checkpointing Pattern
Imported from curated first-party documentation sources.
## What this covers
Use this pattern when session continuity matters and you need checkpoints that survive model drift or hard crashes.
## Use this when
- Capturing handoff context during long sessions
- Checkpointing before risky refactors
- Separating liveness tracking from agent behavior
## Expected outcomes
- Checkpoint timing becomes explicit and repeatable
- Session heartbeat stays reliable even if the model stalls
- Handoffs capture task, next action, files touched, and risk
## Source synthesis
- REVOKORE/docs/MCP-Integration.md
## Dedupe notes
Uses the compact REVOKORE integration guide as a distinct session-state pattern that is not already covered by EVOKORE-MCP or AGENT33 docs.
## Source excerpts
### REVOKORE/docs/MCP-Integration.md
## Recommended MCP Pattern
Expose a tool that writes a short checkpoint into the active session:
- current task
- next action
- files touched
- blocker or risk
The simplest implementation is to call:
```powershell
REVOKORE/scripts/Write-AiCliCheckpoint.ps1 -Kind note -Message "working on auth bug"
```
From an MCP server, you can call the same script directly or append JSON lines to `REVOKORE_CHECKPOINT_PATH`.
👍0
👁️14
docs