code wiki / _hdl_build / nx_wardrobe_state_gate.nx

nx_wardrobe_state_gate.nx

buildroot/runtime/_hdl_build/nx_wardrobe_state_gate.nx

7748 B150 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_wardrobe_state_gate.nx -- certifies the wardrobe/exposure/transformation part. Method (the proven one): every equality tooth carries a NON-VACUITY guard; the flagship tooth is the ADULT GATE (a minor can never be placed in an exposed state, and the mutation test drives THAT tooth RED while anti-vacuity holds). On full pass it writes the evidence artifacts the board's liar-kill stats. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gamesave.nx nx_wardrobe_state.nx nx_wardrobe_state_gate.nx

imports: nx_syscalls.nxnx_gamesave.nxnx_wardrobe_state.nx

imported by: nobody (leaf or entry point)

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

main ws_len sys_mmap ws_init ws_coherent ws_is_gated_zone ws_exposure line_g pw sys_write line_r pw ↻ ws_set ws_is_gated_zone ↻ ws_ck ws_save gs_save sys_mmap ↻ put64 gsc_put64 gs_cksum gsc_fold_bytes joinsuf slen sys_mmap ↻ sys_openat_wr sys_write ↻ sys_fsync sys_close sys_unlinkat gs_exists sys_openat_rd sys_close ↻ sys_renameat ws_load gs_load sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek

structs

none

consts

none

functions

10func pw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 3: line_gline_rmain calls 1: sys_write
11func pn(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
20func line_g(nm: *u8) -> i64 { pw(" " as *u8); pw(nm as *u8); pw(" GREEN\n" as *u8); return 0 }
called by 1: main calls 1: pw
21func line_r(nm: *u8) -> i64 { pw(" " as *u8); pw(nm as *u8); pw(" RED\n" as *u8); return 0 }
called by 1: main calls 1: pw
24func stamp(path: *u8, s: *u8) -> i64
33func main() -> i64