code wiki / _hdl_build / nx_team_pulse.nx
nx_team_pulse.nx
buildroot/runtime/_hdl_build/nx_team_pulse.nx
about
nx_team_pulse.nx -- the CONDUCTOR's full team self-assessment PULSE, run as ONE unit (the RACI
clarification: "Conductor owns the grader loop"). Re-proves the claim set + refreshes every
grader role's durable output in sequence, then writes ONE PULSE verdict to
knowledge/status/team_pulse.log. This is the unit a scheduler (cron/boot/manual) repeats -- so the
scorecard's "run on the loop" race-to-exceed becomes real: each role's evidence is refreshed every
pulse, not only when a human drives a session. Orchestrates via fork/exec of the sovereign-built
/tmp/<name>.sov.elf binaries (built by nx_sov_build_run). license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.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
| 9 | const K_MAGIC_100000: i64 = 100000 |
| 10 | const K_MAGIC_1000000: i64 = 1000000 |
| 11 | const K_MAGIC_2026: i64 = 2026 |
functions
| 12 | func _p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func _pn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48;k=1}; while m>0{t[k]=48+(m%10);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 } |
| 14 | func _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 } |
| 15 | func _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;k=1}; while m>0{t[k]=48+(m%10);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 } |
| 16 | func tp_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: tp_run |
| 21 | func tp_getpid() -> i64 { return __syscall(39, 0, 0, 0, 0, 0, 0) } called by 1: tp_intent_start |
| 22 | func tp_intent_start() -> i64 |
| 33 | func tp_intent_done(id: i64, rc: i64) -> i64 |
| 49 | func tp_run(name: *u8) -> i64 |
| 78 | func tp_ms() -> i64 |
| 84 | func tp_step(lfd: i64, name: *u8, acc: *i64) -> i64 |
| 102 | func tp_tail_a(lfd: i64, acc: *i64) -> i64 |
| 116 | func tp_tail_b(lfd: i64, acc: *i64) -> i64 |
| 132 | func tp_tail_c(lfd: i64, acc: *i64) -> i64 |
| 148 | func tp_tail_d(lfd: i64, acc: *i64) -> i64 |
| 160 | func tp_tail_steps(lfd: i64, acc: *i64) -> i64 |
| 177 | func main() -> i64 |