Expand description
Progress persistence and resume for long-running workflows.
This module defines the data types for checkpointing and the
CheckpointBackend trait that persistence engines (e.g. SQLite) implement.
Key features:
- Event log persistence
- Agent result caching
- Resume from last checkpoint
- Run state management
Structs§
- Agent
Result Cache - Agent
Session Checkpoint - Phase
Summary - RunCheckpoint
- Run state persisted to the backend.
Enums§
Traits§
- Checkpoint
Backend - Persistence backend for a single run.
Functions§
- current_
timestamp - Helper: current unix timestamp.
- list_
run_ dirs - List all run directory names under the base dir.
For SQLite backends, this is derived from the
runstable. This helper remains for filesystem-based discovery.