code wiki / _hdl_build / nx_self_reliance_gate.nx
nx_self_reliance_gate.nx
buildroot/runtime/_hdl_build/nx_self_reliance_gate.nx
about
nx_self_reliance_gate.nx -- HONEST self-reliance map (operator: "total self reliance, self sufficient, building
from the spore level up"). Measures, spore-up, how much of the BUILD CHAIN the team self-builds vs still depends
on Claude/external -- composing the team's OWN organs (pl_n_patterns from nx_pattern_library; bp_claude_touch from
nx_build_pipeline). The doctrine: measure the dependency, never hide it. Names the keystone gap to TOTAL self-reliance.
L0 SPORE bare-metal seed germinates CMOS/POST-up (never-brick #26) ........ partial (sim/virtual)
L1 TOOLCHAIN compiler+assembler self-host, NO gcc (nx_cc->nxasm) ............... SELF-RELIANT (proven every build)
L2 MODULE-AUTH team authors module cores from patterns ........................... 25 shapes covered (this session +5)
L3 EMITTER-AUTH team authors NEW emitters for NOVEL shapes (emitter-of-emitters) .. THE GAP (Claude still authors emitters)
L4 SELF-REBUILD the whole stack rebuilds itself from the spore, no external ....... the telos
T1 L1 toolchain self-reliant (no-gcc) -- the measured floor. T2 L2 module-authoring = pl_n_patterns shapes.
T3 L3 emitter-of-emitters is NOVEL (bp_claude_touch=1) = the honest keystone gap. T4 critical path named.
expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_pattern_library.nxnx_build_pipeline.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
| none |
functions
| 17 | func sw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 18 | func sn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{sys_write(1,"-" as *u8,1);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{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 20 | func main() -> i64 |