code wiki / _hdl_build / nx_orch_dashboard.nx

nx_orch_dashboard.nx

buildroot/runtime/_hdl_build/nx_orch_dashboard.nx

10823 B136 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_orch_dashboard.nx -- LIVE orchestration visualization for /wiki. Renders the Nishi team-coordination state into a self-contained HTML page (inline CSS, ZERO 3rd-party JS = the wiki sovereignty invariant): 1. the RACI matrix (activity -> Accountable[bold] / Responsible / Consulted / Informed) from the registry, 2. per-role intake QUEUE status (PENDING / APPLIED / CONFLICT / AMBIGUOUS counts) from knowledge/roles/*, 3. the recent PM routings (activity -> accountable role -> disposition) from pm_coord.tsv. Published to /wiki via the Publisher (dogfoods the coordination spine). Re-render on a cadence = "live". in: knowledge/registry/nishi_raci.tsv (RACI registry, unchanged) ยท the role queue + PM-routing data now read from the SOVEREIGN seg-store knowledge/store/roles-* (channels <role>q / pmcoord) -- NO roles/*.tsv. out: knowledge/status/orch_dashboard.html (argv[1] overrides) license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_role_store.nx nx_raci_sov.nx nx_orch_dashboard.nx

imports: nx_syscalls.nxnx_role_store.nxnx_raci_sov.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 raci_read_all ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd sys_lseek sys_close ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ↻ ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ss_r32 ↻ ssl_key_eq ss_r32 ↻ ss_r32 ↻ ssl_lookup ssl_hash_entry ↻ ssl_key_eq ↻ ss_manifest_free sys_munmap ↻

structs

none

consts

15const OD_MAGIC_2026: i64 = 2026
16const OD_MAGIC_524288: i64 = 524288
19const OD_COORD: *u8 = "knowledge/roles/pm_coord.tsv" // RETIRED file (kept for provenance); routings now read from the pmcoord channel
20const OD_OUT: *u8 = "knowledge/status/orch_dashboard.html"
21const OD_CAP: i64 = 262144
22const OD_MAXROWS: i64 = 512
23const OD_STR: i64 = 48

functions

25func od_w(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 1: main calls 1: sys_write
26func od_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
27func od_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 }
28func od_has(s: *u8, ch: i64) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ if (s[i] as i64)==ch{return 1} i=i+1 } return 0 }
called by 1: od_roles
29func od_read(path: *u8, buf: *u8, cap: i64) -> i64
35func od_field(line: *u8, len: i64, idx: i64, out: *u8, outcap: i64) -> i64
called by 1: main
40func od_cpy(dst: *u8, src: *u8, max: i64) -> i64 { var i: i64=0; while src[i]!=(0 as u8){ if i<max-1{dst[i]=src[i]} i=i+1 } dst[i]=0 as u8; return 0 }
called by 1: main
41func od_bs(buf: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){buf[o]=s[i];o=o+1;i=i+1} return o }
42func od_bn(buf: *u8, off: i64, v: i64) -> i64 { var o: i64=off; var m: i64=v; if m<0{buf[o]=45 as u8;o=o+1;m=0-m} let t: *u8=sys_mmap(24); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m-(m/10)*10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{buf[o+i]=t[k-1-i];i=i+1} return o+k }
called by 2: od_role_cardmain calls 1: sys_mmap
44func od_roles(roleS: *u8, actS: *u8, letS: *u8, nrows: i64, act: *u8, ch: i64, hb: *u8, off: i64, cnt: *i64) -> i64
called by 1: main calls 3: od_streqod_hasod_bs
51func od_count(ch: *u8, status: *u8) -> i64
61func od_role_card(role: *u8, hb: *u8, off: i64) -> i64
72func main(argc: i64, argv: *i64) -> i64