code wiki / _hdl_build / nx_gamestack_sota_census.nx

nx_gamestack_sota_census.nx source

↩ module page · 103 lines · 9976 B

1// nx_gamestack_sota_census.nx -- the GAME ECOSYSTEM vs STATE-OF-THE-ART, hardware rung UP (operator 2// 2026-07-03: "make sure we are building to state of the art in our nishi game ecosystem hardware rung up 3// each rung and use nishi research and census and audit and all the tools and nishi team ... help them grow"). 4// Every rung graded vs a NAMED SOTA incumbent from the banked researcher corpora (r3d_*/vamx_*/mcb_*/gpu/ 5// steamgfx), evidence = gates on disk. THE TEAM-GROWTH WIRE: every BEHIND row is ALSO EMITTED as a staged 6// assignment-queue row (knowledge/registry/gamestack_targets.tsv, the queue's exact column format) so the 7// AUTONOMOUS TEAM consumes the audit as WORK -- the census IS the census->queue bridge for the game stack 8// (the autonomy arc's L4 pattern, scoped). Staged, NOT appended to the live queue: the reconcile goes through 9// the lock-protected emitter (read-modify-write law; never clobber the machine SSOT). 10// LIAR-KILL: a fabricated parity row must grade BEHIND. license_tier: ORIGINAL expect_exit: 0 11import "nx_syscalls.nx" 12 13func cw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } 14func cn(v: i64) -> i64 { 15 let b: *u8 = sys_mmap(32) as *u8 16 var x: i64 = v 17 var i: i64 = 31 18 if x == 0 { b[i] = 48 as u8; i = i - 1 } 19 while x > 0 { b[i] = (48 + x % 10) as u8; x = x / 10; i = i - 1 } 20 sys_write(1, (b as i64 + i + 1) as *u8, 31 - i) 21 return 0 22} 23func gs(g: i64) -> *u8 { 24 if g == 2 { return "AHEAD " as *u8 } 25 if g == 1 { return "PARITY" as *u8 } 26 return "BEHIND" as *u8 27} 28// file append helper for the staged queue 29func fap(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 } 30// qrow: pass 0 as *u8 for "no staged row". ⚠NEVER use "" as the sentinel: a NishiLang empty literal emits 31// ZERO bytes with NO terminator, so the pointer reads straight into the NEXT pool string (leaked the tally 32// header into the staged file on the first run -- caught by verifying the artifact). 33func row(t: *i64, fd: i64, rung: *u8, cell: *u8, g: i64, ev: *u8, qrow: *u8) -> i64 { 34 cw(" ["); cw(gs(g)); cw("] "); cw(rung); cw(" "); cw(cell); cw(" -> "); cw(ev); cw("\n" as *u8) 35 t[g] = t[g] + 1 36 if g == 0 { if (qrow as i64) != 0 { fap(fd, qrow); fap(fd, "\n" as *u8); t[4] = t[4] + 1 } } 37 return 0 38} 39 40func main() -> i64 { 41 let t: *i64 = sys_mmap(8 * 8) as *i64 42 let fd: i64 = sys_openat_wr("knowledge/registry/gamestack_targets.tsv" as *u8, 420) 43 fap(fd, "# gamestack_targets.tsv -- STAGED team assignments emitted by nx_gamestack_sota_census (2026-07-03)\n" as *u8) 44 fap(fd, "# columns: id\trung\tw\tsize\towner\tstatus\tdeps\tgate\ttitle (reconcile into assignment_queue.tsv via the lock-protected emitter ONLY)\n" as *u8) 45 cw("=== nx_gamestack_sota_census -- the game ecosystem vs SOTA, hardware rung up; BEHINDs become TEAM WORK ===\n" as *u8) 46 47 cw("-- R0 SILICON / GPU --\n" as *u8) 48 row(t, fd, "R0" as *u8, "GPU execution of our submit path " as *u8, 0, "vs DirectX/Vulkan-on-metal: encoder ahead-NARROW (hollow vs the Steam bar, 07-02); EXECUTION WSL-NVIDIA-walled; fix = native-Linux GPU box" as *u8, "GSC-01\tR0\t9\tL\tteam\tTODO\t-\tnx_gpu_exec_gate\tnative-Linux GPU execution of the sovereign submit path (unwall WSL GPU-PV)" as *u8) 49 row(t, fd, "R0" as *u8, "pixels on own silicon (FPGA display) " as *u8, 2, "FPGA display rung shipped (game census: pixels on sovereign silicon) -- an industry-unique floor" as *u8, 0 as *u8) 50 51 cw("-- R1 OS / PLATFORM --\n" as *u8) 52 row(t, fd, "R1" as *u8, "own OS reach (games on NishiOS path) " as *u8, 2, "NishiOS on the REAL internet (browser census 950permille, nishios 7/7) -- no incumbent game stack owns its OS floor" as *u8, 0 as *u8) 53 row(t, fd, "R1" as *u8, "own wasm VM vets SHIPPED game bytes " as *u8, 2, "nx_wasm_vm + vet + autotest w/ vision forensics: NOBODY in industry executes shipped bytes on their own VM as CI" as *u8, 0 as *u8) 54 55 cw("-- R2 TOOLCHAIN --\n" as *u8) 56 row(t, fd, "R2" as *u8, "sovereign compile chain (no vendor) " as *u8, 2, "nx_cc->nxasm_x86 + nx->wat->wasm, zero gcc/LLVM -- unique floor vs Unity/Unreal toolchains" as *u8, 0 as *u8) 57 row(t, fd, "R2" as *u8, "toolchain DX: silent failure modes " as *u8, 0, "vs SOTA devtools: WAT emitter CAPS CALLS AT 16 ARGS silently (E-NXC2 filed) + compile errors swallowed (empty .s) -- both cost real debug hours this week" as *u8, "GSC-02\tR2\t7\tM\tteam\tTODO\t-\tnx_wat_argcap_gate\tWAT emitter: lift/diagnose 16-arg call cap + surface nxc compile errors to the runner" as *u8) 58 59 cw("-- R3 ENGINE CORE (physics/geometry) --\n" as *u8) 60 row(t, fd, "R3" as *u8, "rigid-body + jiggle + capsules + mesh " as *u8, 1, "phys3d 7/7 + softjiggle 8/8 + mesh3 5/5 TONIGHT vs PhysX/Havok/Bullet: the classic proofs pass; v1 vs their decades = parity-of-kind, not depth" as *u8, 0 as *u8) 61 row(t, fd, "R3" as *u8, "broadphase BVH / GJK convex / joints " as *u8, 0, "vs every SOTA engine core (r3d_bvh/gjk): absent; joints blocks ragdolls+CAD+robotics alike" as *u8, "GSC-03\tR3\t8\tM\tteam\tTODO\tphys3d\tnx_phys3d_gate\tBVH broadphase + GJK narrowphase + hinge/slider joints on nx_phys3d (warm-start accumulated impulses incl)" as *u8) 62 63 cw("-- R4 RENDER --\n" as *u8) 64 row(t, fd, "R4" as *u8, "real-time visual fidelity " as *u8, 0, "vs UE5/WebGPU SOTA: 256x192 CPU raster w/ textures+AO+sky (honest visual census: 26 BEHIND stands); greedy-mesh = perf key; WebGPU minecraftclone = the AAA lane w/ shadows STUBBED" as *u8, "GSC-04\tR4\t8\tL\tteam\tTODO\tmesh3\tnx_visual_exceed_census\tgreedy-mesh port to the soft raster (res/VDIST jump) + reclaim WebGPU minecraftclone shadows" as *u8) 65 66 cw("-- R5 GAMEPLAY --\n" as *u8) 67 row(t, fd, "R5" as *u8, "genre breadth (emit-a-game) " as *u8, 2, "17/17 genres emittable from spec data + 12 live games -- vs any single incumbent engine's template breadth" as *u8, 0 as *u8) 68 row(t, fd, "R5" as *u8, "flagship depth vs Minecraft-class " as *u8, 0, "mcb census: BEHIND on gameplay depth (no hotbar/crafting/mobs); mineworld moddable+live but sub-Minecraft" as *u8, "GSC-05\tR5\t6\tM\tteam\tTODO\tmineworld\tnx_wasm_mineworld_mod_gate\thotbar+place-kinds from the block registry + worldgen-params-as-data + first mob on phys3d" as *u8) 69 70 cw("-- R6 CONTENT / DATA (the moddable law) --\n" as *u8) 71 row(t, fd, "R6" as *u8, "everything-as-data + runtime mods " as *u8, 2, "blocks/ores/controls/jiggle-profiles = DATA; URL mods LIVE (#mod=...); vs Minecraft datapacks/CurseForge: our mods are runtime+zero-recompile" as *u8, 0 as *u8) 72 row(t, fd, "R6" as *u8, "mod economy on-ramp (upload->CID->load) " as *u8, 0, "designed, not built: pack-file format -> nx_dist_publish CID -> client load-by-CID (VaM .var-class economy)" as *u8, "GSC-06\tR6\t7\tM\tteam\tTODO\tdist_publish\tnx_dist_gate\tpack-file format + upload->CID->client-load-by-CID mod on-ramp (compose multipart+dist_publish+manifest)" as *u8) 73 74 cw("-- R7 DISTRIBUTION --\n" as *u8) 75 row(t, fd, "R7" as *u8, "client-lifts distribution + gating " as *u8, 2, "CID+p2p+safe-harbor 8/8+membership/age gating vs Steam/CurseForge central hosting: index-not-host is the structural exceed" as *u8, 0 as *u8) 76 77 cw("-- R8 QA / RACING-CREW EYES --\n" as *u8) 78 row(t, fd, "R8" as *u8, "shipped-bytes vetting + vision autotest " as *u8, 2, "vet (byte-identical frames) + nx_mineworld_autotest (seeded fuzz + frame forensics, 2 shakedown finds w/ repro) -- industry ships on unit tests + manual QA" as *u8, 0 as *u8) 79 row(t, fd, "R8" as *u8, "OCR HUD reading + continuous beat " as *u8, 0, "scan ladder at R2 Otsu (no glyph classify) + autotest NOT wired to the conductor beat -- eyes exist, the STANDING JOB doesn't run itself yet" as *u8, "GSC-07\tR8\t8\tM\tteam\tTODO\tscan_r3\tnx_scan_census\tOCR R3 segment + R4 glyph-classify -> autotest reads the HUD; wire autotest into the conductor beat" as *u8) 80 81 cw("-- R9 TEAM / AUTONOMY (the meta-rung: who builds all of the above) --\n" as *u8) 82 row(t, fd, "R9" as *u8, "team autonomy (builds w/o Claude) " as *u8, 0, "autonomy 347permille; conductor loop DEAD since 06-13 (L3 = SPONSOR ignition); novel shapes route NEEDS_TUTOR; this census's staged rows = the L4 census->queue bridge INSTANCE" as *u8, "GSC-08\tR9\t9\tM\tsponsor+team\tTODO\t-\tnx_autonomy_meter\tL3 ignition (OS relaunch hook) + reconcile gamestack_targets.tsv into assignment_queue.tsv via the lock-protected emitter + dispatch rows for the eoe transducer" as *u8) 83 84 // liar-kill 85 let before: i64 = t[2] + t[1] 86 row(t, fd, "RX" as *u8, "ray-tracing parity w/ RTX (FABRICATED) " as *u8, 0, "we have NOTHING ray-traced -- if this grades above BEHIND the audit is a rubber stamp" as *u8, 0 as *u8) 87 var liar_ok: i64 = 0 88 if t[2] + t[1] == before { liar_ok = 1 } 89 90 sys_close(fd) 91 let cells: i64 = t[0] + t[1] + t[2] 92 cw("--- TALLY --- AHEAD=" as *u8); cn(t[2]); cw(" PARITY=" as *u8); cn(t[1]); cw(" BEHIND=" as *u8); cn(t[0]) 93 cw(" cells=" as *u8); cn(cells); cw(" staged-team-rows=" as *u8); cn(t[4]); cw("\n" as *u8) 94 cw(" liar-kill: " as *u8) 95 if liar_ok == 1 { cw("YES\n" as *u8) } else { cw("NO -- INVALID\n" as *u8) } 96 cw("VERDICT: AHEAD where the STRUCTURE is ours (own OS/VM/toolchain floor, data-law, client-lifts dist,\n" as *u8) 97 cw(" shipped-bytes eyes, genre breadth); BEHIND on GPU-execution, engine-core depth, render fidelity,\n" as *u8) 98 cw(" flagship gameplay, mod on-ramp, OCR/beat, and THE META-RUNG: the team's dead loop. Every BEHIND is\n" as *u8) 99 cw(" now a STAGED TEAM ROW in knowledge/registry/gamestack_targets.tsv (queue format; reconcile via the\n" as *u8) 100 cw(" lock-protected emitter). The team grows by BUILDING these; Claude tutors + audits.\n" as *u8) 101 if liar_ok == 1 { return 0 } 102 return 1 103}