code wiki / (root) / nx_hostctl_buildrun_gate.nx

nx_hostctl_buildrun_gate.nx

buildroot/runtime/nx_hostctl_buildrun_gate.nx

4683 B39 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic hostctl
docsdependenciesstructsconstsfunctions

about

nx_hostctl_buildrun_gate.nx -- the RED that the buildrun fix never had (2026-09-05). Drives the ONE rule in nx_buildrun_verdict_lib (the function nx_hostctl cmd_buildrun calls before it stages anything) with captures shaped like the real incident and its controls. The subject is the decision, not the supervisor's filesystem: hostctl's build paths are absolute by design, so a fixture tree cannot stand in for them, and a gate that forked the live supervisor would be a deploy in a test's clothing. Declared for nx_hostctl in knowledge/organ_gate.conf. exit: 0 GREEN / 1 RED (gv_verdict law).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_buildrun_verdict_lib.nx nx_hostctl_buildrun_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_buildrun_verdict_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ gv_check_eq gv_check gv_puts ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap bv_verdict bv_find bv_token bg_len bv_reason gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻

structs

none

consts

none

functions

11func bg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
13func main(argc: i64, argv: *i64) -> i64