code wiki / _hdl_build / deployclass_gate.nx
deployclass_gate.nx
buildroot/runtime/_hdl_build/deployclass_gate.nx
about
AUTHORED BY nx_compose_builder (X-AUTH-EXT-001 composition shape) from a DATA spec.
Fail-fast pipeline sequencer: run stages in order; 0 if all exit 0, else 1-based index
of the first failure (the abort/rollback point). KAT computed from the step count.
DRY MIGRATION 2026-08-01 (D001 / law L009): verdict emission INHERITS nx_gate_verdict.
The hand-rolled print helpers and hand-built verdict line are gone; the domain metadata they
carried (all_ok, fail_at, steps) is preserved in the gv_verdict note per rule 25.
Accepted by nx_gate_migrate as an ENRICHMENT: the original enumerated NO checks, and the base
class cannot emit GREEN with zero checks, so enumerating them is the only expressible migration.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 11 | func deployclass_gate_run(codes: *i64, n: i64) -> i64 { var i: i64 = 0; while i < n { if codes[i] != 0 { return i + 1 } i = i + 1 } return 0 } called by 1: main |
| 12 | func main() -> i64 |