Pattern Proposal: Declarative Pipeline Flow Runner
Summary
Executes multi-step governance and architectural synthesis workflows through a deterministic pipeline passing unified context.
Candidate Pattern
- ID:
declarative-pipeline-flow-runner - Classification: intelligence
- Maturity: established
- Type: implemented
Observed Signals
No specific signals listed.
Evidence
Supporting Evidence
- src/cas_runner/runner.py (FlowRunner) - Main execution engine for architecture flows
- src/cas_runner/cli.py (main) - Command line interface dispatching into FlowRunner
Scope Assessment
- Evidence Strength: high
- Confidence: high
- Applies to: ideas-to-life-cas
Rationale
- Intent: Coordinate multi-stage architectural processing (diff parsing, rule validation, LLM synthesis, artifact generation) with consistent state propagation.
- Context: The core runtime entrypoint invoked by the CLI to perform continuous architecture runs.
- Force: Autonomous dynamic loops can become unstable or difficult to reproduce
- Force: Execution context must be uniformly available to LLM and non-LLM steps alike
Traceability
Artifact source: proposed-patterns