agent-session-checkpoints
Installation
SKILL.md
Agent Session Checkpoints
Capture restartable agent sessions with checkpoints, rollback notes, and resume metadata.
When to Use
Use this Note when a Memoire or Studio run needs checkpoint agent run, rollback session, resume session, session cleanup.
Workflow
- Create a checkpoint before broad edits, dependency updates, generated files, or external mutations.
- Record session id, prompt, harness, cwd, branch, dirty-state summary, and verification command.
- Resume by explicit session id when possible rather than reconstructing context from terminal history.
- On rollback, preserve the failure explanation and exact reverted scope.
- Clean old sessions only after artifacts and useful lessons have been moved into durable memory.