Skip to main content

Module workflow

Module workflow 

Source
Expand description

Workflow module - Opinionated workflow blueprints and execution

Implements Enact v5 workflow patterns inspired by Antfarm:

  • Workflow blueprints (feature-dev, bug-fix, security-audit)
  • Step I/O contracts (STATUS: done|retry|blocked)
  • Role-based capability profiles
  • Verify/retry loops
  • Story loop primitive
  • Progress journal
  • Health monitoring

Modules§

contract
Step Contract - I/O validation and status parsing
health
Run Health Watchdog - Monitor and detect stuck/abandoned runs
progress
Progress Journal - Human-readable progress tracking
role
Role Profiles - Capability-based role definitions
story_loop
Story Loop - Iterate over planned stories with per-item verification

Structs§

InputParameter
Input parameter definition
ProgressJournalConfig
Progress journal configuration
ValidationIssue
Validation issue
WorkflowCompiler
Workflow compiler - converts workflow to graph
WorkflowContext
Workflow execution context
WorkflowDefinition
Workflow definition (v5 format)
WorkflowLoader
Workflow loader
WorkflowStep
Workflow step definition
WorkflowValidator
Workflow validator

Enums§

StepType
Step types
ValidationSeverity
Validation severity