code wiki / _hdl_build / nx_hub_ws_register.nx
nx_hub_ws_register.nx
buildroot/runtime/_hdl_build/nx_hub_ws_register.nx
about
nx_hub_ws_register.nx -- COORDINATE with other workstreams: register this session's workstreams into the
WMS registry SSOT (knowledge/store/ws-, via nx_workstream_store / nx_seg_store), so the resume manifest +
other empires SEE them (closes the lost-things bug). Additive+idempotent (rule #10): reads the live ws:ids
index, appends our ids if absent, and commits our ws:<id> records. Mirrors nx_workstream_seed's writer.
Our streams touch E-WEB (games), E-DOCTRINE (format migration -- part of the consistency sweep), E-DEPLOY
(the reusable store-sync tool). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
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
structs
| none |
consts
| 10 | const K_MAGIC_262144: i64 = 262144 |
functions
| 12 | func rw_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func rw_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: rw_rec |
| 16 | func rw_addid(idsbuf: *u8, olenp: *i64, id: *u8) -> i64 |
| 26 | func rw_rec(w: *i64, key: *u8, val: *u8) -> i64 { return ss_add(w, 1, key, val, rw_len(val)) } |
| 28 | func main() -> i64 |