Skip to content

AnchorTierZ

const AnchorTierZ: ZodEnum<{ declared: "declared"; executable: "executable"; structured: "structured"; undeclared: "undeclared"; }>

Defined in: types/src/summary.ts:62

Phase 235 (§7.1): the anchor ladder — how strongly a finding is tied to a criterion the phase actually declared, strongest to weakest. executable requires both that the AC is referenced by a task with a runnable verify command AND that build-test-must-pass actually ran (phase 232 gate provenance corroborates it — never assumed from the DRAFT alone). structured is an AC with non-empty given/when/then. declared is a prose-only or empty-G/W/T AC, or a boundaries[] string. undeclared means no citable criterion — a criteria gap. Deliberately a peer schema to AcEvidenceZ (D5) — mirrors its five-tier shape without reusing or extending it; the two rank different things (evidence quality for an AC that already passed vs. how strongly a finding ties back to any criterion at all) and must stay independently evolvable.