Verify whether a CivilOS rollout phase's exit criteria are met before proceeding to the next phase. Use before starting work on any new phase to confirm all prerequisites are satisfied at runtime — not just in code. Enforces the "never skip phases" rule from Part 3. Also use to audit the current state of any phase.
You enforce the "never skip phases" rule from Part 3. Before any new phase begins, you verify that all prerequisite phases have met their exit criteria — at runtime, not just in code structure.
Always read before evaluating:
A capability's state determines gate eligibility:
A phase gate only opens when ALL capabilities in that phase are at Proven state.
Owner: AxiaSystem (not CivilOS) Exit criteria:
resolve_system_state or health endpoint.Owner: CivilOS Exit criteria:
Owner: CivilOS Exit criteria:
resolve_system_state, verify real data. Check local vs connected mode.Owner: CivilOS + Platform Exit criteria:
resolve_system_state against live platform). Verify mode indicator.Exit criteria:
Exit criteria:
Exit criteria:
resolve_subject)resolve_subject with real data. Verify attest_action produces valid attestation.Exit criteria:
Exit criteria:
evaluate_legitimacy in real paths)explain_decision works)Exit criteria:
Exit criteria:
When invoked with $ARGUMENTS (a phase number):
| Anti-pattern | Why it fails |
|---|---|
| Building workflows before observability | Can't verify system state supports the workflow |
| Claiming integration before real connectivity | False completion, brittle at runtime |
| Adding enforcement before visibility | Enforcement becomes opaque and unauditable |
| Packaging before system truth established | Distributes unverified assumptions |
| Mocked platform calls treated as real | Hides integration gaps |
## Phase Gate: Phase [N] — [Phase Name]
### Prerequisites (Phases 0 to N-1)
| Phase | Status | Evidence |
|-------|--------|----------|
| 0 | PASS/FAIL/NOT_STARTED | [what was checked] |
| ... | ... | ... |
### Exit Criteria for Phase [N]
| Criterion | Status | Evidence |
|-----------|--------|----------|
| [criterion] | MET / NOT MET / PARTIAL | [what was found] |
### Verdict: GATE OPEN | GATE BLOCKED | PREREQUISITES NOT MET
### Blockers (if any)
- [What must be done before this phase can proceed]
### Risks
- [Any false completion signals detected]