code wiki / _hdl_build / nx_ws_manifest_emit.nx
nx_ws_manifest_emit.nx
buildroot/runtime/_hdl_build/nx_ws_manifest_emit.nx
about
nx_ws_manifest_emit.nx -- WMS durability RUNNER: regenerate the live workstream auto-index in
the resume manifest from the memory dir. This is what the session Stop-hook runs (and what the
operator can run by hand) so the front door is ALWAYS current with every project-*.md -- the
fix for "the manifest doesn't write live and we lose work on a crash".
nx_ws_manifest_emit [memdir] [manifest]
defaults target the live Claude memory dir (overridable = config hierarchy #17). Sovereign.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_ws_index_lib.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 WME_DEF_MEMDIR: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory" |
| 12 | const WME_DEF_MANIFEST: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/workstream-resume-manifest.md" |
functions
| 14 | func wmep(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func wmen(v: i64) -> i64 |
| 25 | func main(argc: i64, argv: *i64) -> i64 |