code wiki / _hdl_build / nx_examiner_arcs.nx
nx_examiner_arcs.nx
buildroot/runtime/_hdl_build/nx_examiner_arcs.nx
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
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
structs
| none |
consts
| 14 | const K_MAGIC_65536: i64 = 65536 |
| 15 | const K_MAGIC_65520: i64 = 65520 |
| 16 | const K_MAGIC_16384: i64 = 16384 |
| 17 | const K_MAGIC_1048592: i64 = 1048592 |
| 18 | const K_MAGIC_1048576: i64 = 1048576 |
functions
| 19 | func _p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 24 | func _pn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 25 | func _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 } |
| 30 | func _fn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 31 | func 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 |
| 32 | func ea_read_all(path: *u8, buf: *u8, cap: i64) -> i64 |
| 42 | func ea_slice_contains(hay: *u8, a: i64, b: i64, pat: *u8) -> i64 |
| 56 | func ea_last_line_with(hay: *u8, n: i64, pat: *u8, out: *i64) -> i64 |
| 72 | func ea_token(conf: *u8, pos: i64, le: i64, pool: *u8, poff: *i64) -> i64 called by 1: main |
| 82 | func main() -> i64 |