code wiki / _hdl_build / nx_supplychain_case_gate.nx
nx_supplychain_case_gate.nx
buildroot/runtime/_hdl_build/nx_supplychain_case_gate.nx
about
nx_supplychain_case_gate.nx -- GATE: the domestic supply-chain security + good-jobs business case (for gov presentation).
Components (origin 0 dom / 1 allied / 2 adversary, energy-risk, single-source, value): 0 Chips/CPU(adversary,80,SS),
1 Steppers(allied), 2 Steel(domestic), 3 Rare-earth-Magnets(adversary,SS), 4 Energy(imported), 5 Tools(domestic).
T1 DOMESTIC NOW -- only 183 permil domestic by value (chips/magnets/energy are foreign).
T2 RISK NOW -- value-weighted supply-chain risk = 44 (dominated by adversary chips, single-source).
T3 RESHORED -- domesticate chips + magnets + energy -> domestic 929 permil, risk drops 44 -> 2 (security).
T4 GOOD JOBS -- 600 jobs at a $70k living wage + 40% benefits (healthcare + 6-week PTO); homes affordable at 4x income (European-exceeding).
T5 GOV CASE -- the rolled-up pitch: jobs, payroll, domestic %, risk reduction.
T6 NEVER-BRICK -- deterministic.
GREEN iff all. Sovereign nx_cc->nxasm. Feeds the Nishi analyst + business-case builder. expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_supplychain_case.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
| 14 | func w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 15 | func wn(v: i64) -> i64 { var m: i64=v; if m<0{w("-" as *u8);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; let o:*u8=sys_mmap(28); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 17 | func main() -> i64 |