code wiki / _hdl_build / nx_reader_coordinate.nx
nx_reader_coordinate.nx
buildroot/runtime/_hdl_build/nx_reader_coordinate.nx
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
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
structs
| none |
consts
| none |
functions
| 10 | func 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 |
| 11 | func 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 } |
| 12 | func 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 } |
| 13 | func co_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 14 | func 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 |
| 17 | func coord_row(fd: i64, now: i64, to: *u8, need: *u8, ev: *u8) -> i64 |
| 26 | func main() -> i64 |