nx_librarian_review_gate.nx
buildroot/runtime/nx_librarian_review_gate.nx
about
nx_librarian_review_gate.nx -- ORCHESTRATION rung-1 GATE: proves the librarian auto-reviews ingested
material and flags "not up to scruff" docs on mechanical criteria (foundationed / substantive / not
truncated), records the RACI handoff durably on the seg-store, and -- live -- reviews the REAL library
(now that universal foundationing ran, most docs should be up-to-scruff). Fixture with known files gives
exact counts + a neg-control (a stub + an unfoundationed doc MUST flag). Exits 0 iff ALL pass. ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_seg_store.nxnx_librarian_review.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
| none |
functions
| 10 | func 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 } |
| 11 | func g_putn(v: i64) -> i64 { if v==0 { sys_write(1,"0" as *u8,1); return 0 } var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} let d: *u8=sys_mmap(24); var k: i64=0; while m>0{d[k]=(48+(m%10)) as u8;m=m/10;k=k+1} let r: *u8=sys_mmap(24); var i: i64=0; while k>0{k=k-1;r[i]=d[k];i=i+1} sys_write(1,r,i); return 0 } |
| 12 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 17 | func mkf(dir: *u8, name: *u8, nbytes: i64) -> i64 |
| 25 | func main() -> i64 |