Skip to main content

Module workflow_local

Module workflow_local 

Source
Expand description

Workflow journal DAG (petgraph + SQLite), one-shot run/resume. One-shot workflow journal (PRD §5H): DAG + SQLite, no live Page/@eN across processes.

Structs§

WorkflowManifest
Workflow manifest file shape.
WorkflowStep
Workflow step in a manifest (no live browser handles).

Functions§

journal_path
Open or create journal DB under XDG state.
load_manifest
Load manifest from JSON path.
validate_dag
Validate DAG with petgraph; return topological order of step ids.
workflow_resume
Resume: skip steps already ok in journal; re-execute pending/error only.
workflow_run
Run workflow one-shot: validate DAG, execute steps that are CLI-data commands, journal state. Browser multi-step with @eN still requires nested run scripts.
workflow_status
Status of journal steps.