code wiki / _hdl_build / nx_ws_setstate.nx
nx_ws_setstate.nx
buildroot/runtime/_hdl_build/nx_ws_setstate.nx
about
nx_ws_setstate.nx -- transition ONE registry stream's state: the honest reconcile tool for stale
labels (ROOT-TRACE BLOCKED-but-GREEN; phantom age=-1 ACTIVE labels). ws_put's an updated record
into the live registry (latest version wins; existing ws:ids membership is preserved, so this is
a pure state edit). Single responsibility (rule 9). Reuses the keystone's record/key builders.
nx_ws_setstate <id> <state> <empire> <memlink>
state must be one of ACTIVE|DONE|BLOCKED|FLOATING|ABSENT. Sovereign. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_ws_ingest.nxnx_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
| 11 | const K_MAGIC_1024: i64 = 1024 |
functions
| 13 | func sp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 14 | func sn(v: i64) -> i64 |
| 24 | func main(argc: i64, argv: *i64) -> i64 |