code wiki / _hdl_build / nx_examiner_arcs.nx

nx_examiner_arcs.nx

buildroot/runtime/_hdl_build/nx_examiner_arcs.nx

7729 B150 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic examiner
docsdependenciesstructsconstsfunctions

about

nx_examiner_arcs.nx -- the EXAMINER grades TEAMMATES PER-ARC, mechanically (the scorecard's named race-to-exceed for the role, made real). Doctrine: an arc is only as good as its gate's LAST verdict -- so each arc row names its gate log, an anchor line, and the green pattern: GREEN = gated and passing (the arc's owner is delivering, provably) RED = gated and FAILING (the gate caught something -- fix the arc, never the grader) ABSENT = no anchor line found = A CLAIM WITHOUT A GATE (the worst grade; names the gap) Never self-asserts: every grade is read from another role's durable gate output, like nx_examiner_report -- this organ extends it from 5 fixed dims to a DATA-DRIVEN arc table (knowledge/status/examiner_arcs.conf; add an arc = add a row). Durable: EXAMINER-ARC lines + one EXAMINER-ARCS verdict -> knowledge/status/examiner_arcs.log. Exit 0 iff every arc GREEN. Sovereign (syscalls only). license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_examiner_arcs.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

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

main _p sys_write sys_mmap ea_read_all sys_openat_rd sys_read sys_close sys_exit sys_openat_append ea_token ea_last_line_with ea_slice_contains ea_len ea_slice_contains ↻ _fp sys_write ↻ _fn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_close ↻ _pn nxi_out nxi_fd ↻

structs

none

consts

14const K_MAGIC_65536: i64 = 65536
15const K_MAGIC_65520: i64 = 65520
16const K_MAGIC_16384: i64 = 16384
17const K_MAGIC_1048592: i64 = 1048592
18const K_MAGIC_1048576: i64 = 1048576

functions

19func _p(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 1: main calls 1: sys_write
24func _pn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
25func _fp(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
30func _fn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
31func ea_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: ea_slice_contains
32func ea_read_all(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
42func ea_slice_contains(hay: *u8, a: i64, b: i64, pat: *u8) -> i64
called by 2: ea_last_line_withmain calls 1: ea_len
56func ea_last_line_with(hay: *u8, n: i64, pat: *u8, out: *i64) -> i64
called by 1: main calls 1: ea_slice_contains
72func ea_token(conf: *u8, pos: i64, le: i64, pool: *u8, poff: *i64) -> i64
called by 1: main
82func main() -> i64