code wiki / _hdl_build / nx_orchestrate_gate_before_context_t50.nx

nx_orchestrate_gate_before_context_t50.nx

buildroot/runtime/_hdl_build/nx_orchestrate_gate_before_context_t50.nx

6316 B86 linesdepth 7pulls 12 transitivereach 0 importersview sourcekind tooltopic orchestrate
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_before_con

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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ 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 ss_open3 raci_row_h sys_mmap ↻ rsv_key ss_hget sys_mmap ↻ ss_len ss_hlocate ss_r32 ss_idx_find ss_close

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