code wiki / _hdl_build / nx_reader_coordinate.nx

nx_reader_coordinate.nx

buildroot/runtime/_hdl_build/nx_reader_coordinate.nx

5486 B65 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic reader
docsdependenciesstructsconstsfunctions

about

nx_reader_coordinate.nx -- COORDINATE WITH THE NISHI TEAM (operator 2026-06-21: "keep going and coordinate with the nishi team"). The reader/library arc has reached a strong state but carries cross-workstream items that are NOT the reader workstream's to resolve alone. This organ posts structured COORD-HANDOFF rows into the team's shared channel (knowledge/channel/team_out.tsv -- the same "one-read picture" the express lane + conductor read), under the team_out advisory lock (rt_lock), so a concurrent writer can't interleave (mirrors nx_express_lane's locked write-session idiom). Each row names the OWNING workstream + the need + the evidence -> the team picks it up. Coordination, not solo-driving (feedback-sovereign-ops-coordinate-workstreams). expect_exit: 0 ORIGINAL

dependencies 1 imports · 0 importers

nx_registry_lock.nx nx_reader_coordinate.nx

imports: nx_registry_lock.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main co_p sys_now_realtime_sec sys_mmap sys_clock_gettime_real co_cat rt_lock rt_writeint_fd sys_mmap ↻ sys_write rt_now sys_now_realtime_sec ↻ rt_readint sys_openat_rd sys_mmap ↻ sys_read sys_close rt_unlink sys_openat_append rt_unlock sys_close ↻ rt_unlink ↻ co_fp co_fn coord_row co_fp ↻ co_fn ↻

structs

none

consts

none

functions

10func co_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 1: main
11func co_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 }
called by 2: coord_rowmain
12func co_fn(fd: i64, v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1}; while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(fd,bb,k); return 0 }
called by 2: coord_rowmain
13func co_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
14func co_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[off+i]=s[i]; i=i+1 } return off+i }
called by 1: main
17func coord_row(fd: i64, now: i64, to: *u8, need: *u8, ev: *u8) -> i64
called by 1: main calls 2: co_fpco_fn
26func main() -> i64