Pattern Proposal: Sequential Flow Pipeline Runner
Summary
Orchestrates multi-phase architecture workflows through a structured FlowRunner coordinating setup, extraction, evaluation, and reporting.
Candidate Pattern
- ID:
sequential-flow-pipeline-runner - Classification: intelligence
- Maturity: established
- Type: implemented
Observed Signals
No specific signals listed.
Evidence
Supporting Evidence
- src/cas_runner/runner.py (FlowRunner) - Main pipeline execution coordinator.
- src/cas_runner/cli.py (main) - Dispatches user CLI arguments to the runner.
Scope Assessment
- Evidence Strength: high
- Confidence: high
- Applies to: ideas-to-life-cas
Rationale
- Intent: Maintain deterministic execution order across extraction, compliance validation, and dashboard rendering.
- Context: Main execution engine instantiated from src/cas_runner/cli.py to run local and CI tasks.
- Force: Complex workflows risk inconsistent state if agent tasks execute out of order
- Force: Failures at early stages (e.g. git diff extraction) must abort before calling LLM APIs
Traceability
Artifact source: proposed-patterns