code wiki / _hdl_build / nx_capreg_librarian_test.nx
nx_capreg_librarian_test.nx
buildroot/runtime/_hdl_build/nx_capreg_librarian_test.nx
about
nx_capreg_librarian_test.nx -- ENGINEER's gate for the Librarian registry repair. Real KATs on a
synthetic journal reproducing BOTH observed failure modes from the crash: byte-identical snapshot
re-appends (the 416->51 bloat) and true cross-session idx collisions (the 212-227 bug).
PASS = regen dedups + renumbers exactly, allocator hands out max+1, dual-write hits both files,
and a second regen after new registrations is idempotent. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_capreg_librarian.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
| none |
functions
| 10 | func ts_find(b: *u8, n: i64, s: *u8) -> i64 called by 1: main |
| 26 | func main() -> i64 |