code wiki / (root) / nx_orchestrate_gate.nx

nx_orchestrate_gate.nx

buildroot/runtime/nx_orchestrate_gate.nx

6316 B86 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_orchestrate_gate.nx -- ORCH-R3 GATE: the orchestrator resolves RACI from the REAL SSOT (nishi_raci.tsv), binds the workstream organ, records the engagement durably, and DENIES unknown activities (never fabricates a role). Proves the "call -> resolve RACI -> engage the accountable team -> run the workstream" spine on the librarian's own activity (organize) + the researcher's (research). Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_gate_verdict.nx nx_syscalls.nx nx_seg_store.nx nx_orchestrate_raci.nx nx_orchestrate_gate.nx

imports: nx_gate_verdict.nxnx_syscalls.nxnx_seg_store.nxnx_orchestrate_raci.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 chk g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ orch_accountable sys_mmap ↻ orch_roles sys_mmap ↻ raci_read_all ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_cat ss_loadfile ss_load_aux2 ssl_total_keys ssl_pow2 ssl_build ss_r32 ssl_lookup ss_manifest_free sys_munmap raci_row_h sys_mmap ↻ rsv_key ss_hget sys_mmap ↻ ss_idx_find ss_close sys_munmap ↻ or_field or_eq or_has_letter streq orch_roles ↻

structs

none

consts

none

functions

14func 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: chkmain calls 1: sys_write
15func 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 }
called by 2: chkmain calls 2: sys_writesys_mmap
16func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
21func has(hay: *u8, needle: *u8) -> i64
called by 1: main
26func streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 }
called by 1: main
28func main() -> i64