Check a gate
check_gateEvaluates gate g.g0 … g.g10 against your evidence. Outcome precedence: Stop > Recycle > Hold > Conditional go > Go, with the rule that fired (outcome_reason). Critical evidence missing or stale → Hold; required non-critical missing, or a waiver without a reason or an approver who decides at this gate → Conditional go; a waiver with both → Go with the Waiver modifier (under regulation a waived critical artifact stays Conditional go until the deviation is recorded with the quality approval); optional gaps are notes. Modifiers: Work started without the gate, Overdue, Stale, Waiver. gate.deciders decide, gate.advisors take part. A disproved key product hypothesis is a Recycle, not a Stop: pass earlier_stage_invalid:true with invalid_stage:'st.discovery'. At G8 (go / no-go), work_started_beyond:true means production was changed before the decision: Hold (R3), not a Go with a modifier. Call without evidence to list what the gate needs. Returns a receipt hash of the inputs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | Gate id, e.g. g.g5 | |
| lang | No | Answer language, default en | |
| context | No | Project context. Unknown keys and values are rejected in the answer envelope with did_you_mean. Defaults: software, hybrid, complicated, tm, single, medium size, ui, data. | |
| evidence | No | Map artifact id → state or {state, reason, ref, by, date}. A waiver is {state:'waived', reason, by}: by is the role id of a decider of this gate (see gate.deciders, e.g. r.client_owner) or 'name, role'. Unknown ids are reported as warnings with a suggestion. | |
| grace_days | No | Overrides both limits. Default: 80% of planned_stage_days, else by approach (predictive/hybrid 10, agile/flow 5); required evidence then waits twice as long | |
| days_in_stage | No | ||
| invalid_stage | No | With earlier_stage_invalid: the stage to return to, if known | |
| invalid_artifact | No | With earlier_stage_invalid: the artifact that is no longer true, to find where to return | |
| planned_stage_days | No | Planned length of the stage in days. With it, missing critical evidence is overdue after 80% of it and missing required evidence after all of it | |
| business_case_valid | No | false → Stop | |
| work_started_beyond | No | True if work of later stages already started (adds the 'work started without the gate' modifier; at G8 it is a Hold) | |
| earlier_stage_invalid | No | true → Recycle; the answer names the stage to return to |