ADR-CO-001
Accepted
A deterministic orchestrator holds control, not the model
Context
Cases must progress reliably and be testable and auditable at every step. A language model is probabilistic and cannot be the component that decides what happens next in a critical operation.
Options considered
Decision
A deterministic orchestrator owns the workflow and the case state machine. The model is invoked only as a called service inside a single state, and never advances the case on its own.
Consequences — gained
- Every transition is explicit, testable, and recorded.
- The model's influence is contained and inspectable.
- Failure of the model degrades to a manual queue rather than an unpredictable path.
Consequences — accepted
- The orchestrator is a first-class component that must be designed and maintained.
- More upfront modeling of states and transitions than a single-prompt approach.