code wiki / _hdl_build / nx_game_ws_register.nx

nx_game_ws_register.nx

buildroot/runtime/_hdl_build/nx_game_ws_register.nx

3532 B60 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic game
docsdependenciesstructsconstsfunctions

about

nx_game_ws_register.nx -- register the 2026-07-02 game-system arc into the WMS registry SSOT (knowledge/store/ws-, via nx_workstream_store / nx_seg_store) the SAFE read-modify-write way (reads the live ws:ids index, appends if absent, commits records; NEVER nx_workstream_seed). Mirrors nx_hub_ws_register. Streams: the browser-flagship games arc (MineWorld = the Minecraft-procgen rung, LIVE), the GTA-online shared-world multiplayer ladder (seeded on the proven pets relay + lockstep/prediction organs), and the vox3d pitch-inversion fix discovered by the mineworld gate (QUEUED -- live /voxels untouched this session). license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_workstream_store.nx nx_seg_store.nx nx_syscalls.nx nx_game_ws_register.nx

imports: nx_workstream_store.nxnx_seg_store.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main ss_begin ss_begin_cap sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_mmap ↻ gwr_addid ss_add ss_add2 ss_w32 ss_len gwr_rec ss_add ↻ gwr_len ss_commit ss_segid_ok ss_commit_body ss_segid_ok ↻ sys_mmap ↻ ss_cat ss_catn sys_mmap ↻ sys_write ↻ ss_write_seg ss_sr_new sys_mmap ↻ ss_segid_ok ↻

structs

none

consts

11const K_MAGIC_262144: i64 = 262144

functions

13func gwr_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
14func gwr_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: gwr_rec
16func gwr_addid(idsbuf: *u8, olenp: *i64, id: *u8) -> i64
called by 1: main
25func gwr_rec(w: *i64, key: *u8, val: *u8) -> i64 { return ss_add(w, 1, key, val, gwr_len(val)) }
called by 1: main calls 2: ss_addgwr_len
27func main() -> i64