code wiki / _hdl_build / nx_ws_lost.nx
nx_ws_lost.nx
buildroot/runtime/_hdl_build/nx_ws_lost.nx
about
nx_ws_lost.nx -- READ-ONLY diagnostic: name + CLASSIFY the "lost segment(s)" that make nx_ws_board REFUSE.
Runs the board's own completeness gate (ws_audit_complete_p over WS_PREFIX), then for each failing id reports
the EXACT root cause: RECORD-ABSENT (ws:<id> not retrievable -> lost/torn/never-committed) vs ORPHAN-EMPIRE
(record present but its empire is not in ws:empires). ADDITIVE + READ-ONLY: opens the store via ss_get/ss_open,
writes NOTHING. Sovereign: imports only nx_workstream_store (R1, read-only) + nx_syscalls. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_workstream_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
| 8 | const K_MAGIC_1024: i64 = 1024 |
functions
| 10 | func lo_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 11 | func lo_wn(v: i64) -> i64 |
| 20 | func main() -> i64 |