code wiki / _hdl_build / nx_team_console.nx
nx_team_console.nx
buildroot/runtime/_hdl_build/nx_team_console.nx
about
nx_team_console.nx -- the LIVING TEAM in action + the UI. Reads the REAL host, runs the polite governor,
picks backlog work by priority, escalates a blocker (reaches out for help), demos the CRASH-GATES manual
override, and EMITS an HTML dashboard the operator can open to see all work + manually pick tasks
(operator: "a ui that i can see all this work and choose manually tasks... in override... outside the
polite in a crash the gates method"). Writes knowledge/team_console.html. Exit 0 on 9/9. license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_resource_governor.nxnx_sysload.nxnx_work_dispatcher.nxnx_pm_review_log.nxnx_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
| 12 | const K_MAGIC_1900: i64 = 1900 |
| 13 | const K_MAGIC_2250: i64 = 2250 |
| 14 | const K_MAGIC_2900: i64 = 2900 |
| 15 | const K_MAGIC_1050: i64 = 1050 |
| 16 | const K_MAGIC_5000: i64 = 5000 |
functions
| 18 | func tc_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 19 | func tc_num(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(1,bb,k); return 0 } |
| 20 | func tc_fw(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 } |
| 21 | func tc_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 } |
| 23 | func main() -> i64 |