code wiki / _hdl_build / nx_site_handoff_gate.nx

nx_site_handoff_gate.nx

buildroot/runtime/_hdl_build/nx_site_handoff_gate.nx

4661 B81 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic site
docsdependenciesstructsconstsfunctions

about

nx_site_handoff_gate.nx -- referee for R-HANDOFF (nx_site_handoff). Reads the artifacts the wrapper produced: (1) the emitted .site blueprint (from the factory .req, ecommerce archetype), (2) the docroot nx_site_build REBUILT from that blueprint (proving the PRODUCTION editor stack -- siteedit/save/preview/publish -- can own and customize the factory's output), (3) negative-control exit codes (unknown archetype refused, missing brief refused). GREEN iff 6/6. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_gate.nx nx_site_handoff_gate.nx

imports: nx_gate.nx

imported by: nobody (leaf or entry point)

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

main sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close hg_has hg_slen hg_count hg_slen ↻ gw sys_write hg_row gw ↻ gn sys_write ↻ sys_mmap ↻ sys_openat_append

structs

none

consts

none

functions

8func hg_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 2: hg_hashg_count
9func hg_has(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main calls 1: hg_slen
17func hg_count(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main calls 1: hg_slen
26func hg_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 }
called by 1: main calls 1: gw
28func main() -> i64