code wiki / _hdl_build / nx_role_scorecard.nx

nx_role_scorecard.nx

buildroot/runtime/_hdl_build/nx_role_scorecard.nx

9181 B139 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind tooltopic role
docsdependenciesstructsconstsfunctions

about

nx_role_scorecard.nx -- the EXAMINER/LIBRARIAN grade every role from HARD RESULTS only (operator 2026-06-09: "all the roles s class exceed not just optimism but via hard results"). Evidence = durable artifacts the work actually produced: the cap registry (Builder/Librarian), the bench log (Racing/Referee), the meter (Scribe), the PM plan (PM), the issues log (Engineer/Doctor). Grades are MECHANICAL: NO-EVIDENCE (nothing durable -> cannot be graded above TOY, the honest finding), FUNCTIONAL (durable output exists), S-CLASS-COMPOSE (a measured verdict line exists), EXCEED only when an EXCEED verdict line exists -- none does yet, so every role prints its NAMED race/gap. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_framed_append.nx nx_role_scorecard.nx

imports: nx_syscalls.nxnx_itoa_lib.nxnx_framed_append.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 rs_count sys_openat_rd sys_mmap sys_read sys_close rs_slen sys_openat_append sys_exit sys_close ↻ sys_mmap ↻ fa_cat fa_catn sys_mmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real fa_appendz fa_append sys_mmap ↻ sys_openat_append ↻ sys_flock fa_write_all sys_write ↻ sys_close ↻ fa_len rs_row _p ↻ _pn nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_mmap ↻ fa_cat ↻ fa_catn ↻

structs

none

consts

12const RS_MAGIC_1048592: i64 = 1048592
13const RS_MAGIC_1048576: i64 = 1048576
14const RS_LOG: *u8 = "knowledge/status/role_scorecard.log"
15const RS_CAP: i64 = 1024 // bounded record (>= the longest ROLE row incl. the MODELWRIGHT gap)

functions

16func _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 2: rs_rowmain calls 1: sys_write
21func _pn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 2: rs_rowmain calls 1: nxi_out
22func _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 }
calls 1: sys_write
27func _fn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
calls 1: nxi_fd
28func rs_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: rs_count
30func rs_count(path: *u8, pat: *u8) -> i64
57func rs_row(role: *u8, ev: i64, sclass: i64, gap: *u8) -> i64
76func main() -> i64