Skip to main content

Module state

Module state 

Source
Expand description

Progress persistence and resume for long-running workflows.

This module implements checkpointing and recovery for dynamic workflows. Progress is saved as the run goes, so a job interrupted by a restart can resume.

Key features:

  • Event log persistence (JSONL)
  • Agent result caching
  • Resume from last checkpoint
  • Run state management

Structs§

AgentResultCache
PhaseSpanSummary
PhaseSummary
RunCheckpoint
Run state persisted to disk.
RunStore
Persistence store for a single run.

Enums§

CheckpointStatus

Functions§

get_run_store
Get or create a run store for a run directory.
list_runs
List all run directory names (both new-format and legacy UUID).