code wiki / (root) / nx_triage_ground_gate.nx

nx_triage_ground_gate.nx

buildroot/runtime/nx_triage_ground_gate.nx

2519 B46 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic triage
docsdependenciesstructsconstsfunctions

about

nx_triage_ground_gate.nx -- liar-killed GATE for the triage evidence-grounding organ. Proves the disk-fact cross-check via the EXISTING nx_capability_census engine on the REAL tree: a claimed organ backed by a gate on disk -> GROUNDED; a claimed organ the disk CANNOT show -> DISCREPANCY (the load-bearing neg-control: the check must catch a fabricated/wrong-name label, never rubber- stamp it); has_organ=0 but present -> UNDERCLAIM; non-runtime name -> UNPROBEABLE. Exercises the composed cc_our_grade end-to-end. Exit 0 only on 7/7. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_triage_ground.nx nx_triage_ground_gate.nx

imports: nx_syscalls.nxnx_triage_ground.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap g_bool g_puts sys_write g_putn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap tg_probeable g_slen tg_grade sys_mmap ↻ tg_path ccz_cat_str tg_exists sys_mmap ↻ sys_fstatat tg_verdict g_puts ↻ g_putn ↻

structs

none

consts

none

functions

11func g_puts(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 2: g_boolmain calls 1: sys_write
12func g_putn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 2: g_boolmain calls 1: nxi_out
13func g_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
14func g_bool(name: *u8, got: i64, want: i64, passp: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
20func main(argc: i64, argv: *i64) -> i64