orchestrata_ultimate.factory.decision
Reference › orchestrata_ultimate › factory › decision
SPEC-033 design authority + decision phase + DoR gate wiring (B8).
The decision package is the decision phase of the factory (SPEC-033 row B8, ADR-0015, ADR-0028): the point where a requirement is judged ready or blocked for building. authority provides the design authority, which makes one LLM call to run the DoR construction procedure and returns a ConstructionArtifact. phase takes that artifact and runs run_decision_phase, which is deterministic and makes no LLM call. It collects blocking items from the artifact shape, the C4 detectors (formalization), the C3 detectors (detectors), unpinned assumptions, unresolved gap answers and missing ratified anchors, and returns a DecisionRecord with a ratification queue for the human. The CLI entry point is scripts.factory_decision. Start with phase.
3 modules, 644 lines of code.
Modules
| Module | Summary | LOC |
|---|---|---|
__init__ |
SPEC-033 design authority + decision phase + DoR gate wiring (B8). | 25 |
authority |
The design authority (ADR-0028's constructive reviewer, B8). | 207 |
phase |
The SPEC-033 decision phase (B8): wires B13/B15/B22/B23/B26 into one DoR verdict, per ADR-0015 (amended by ADR-0028). | 412 |