code wiki / _hdl_build / nx_algo_retire.nx
nx_algo_retire.nx
buildroot/runtime/_hdl_build/nx_algo_retire.nx
about
nx_algo_retire.nx -- the DEBT-DROP: retire the 3,281 specs/algo_registry/<name>/meta.json now that the cards
live byte-faithful in knowledge/store/algo-registry- + the sovereign registry (nx_algo_registry) preserves the
capability + the only consumer (nx_bundle_gen) is dormant. SAFE BY CONSTRUCTION: each meta.json is moved ONLY
IF its bytes BYTE-MATCH the store copy (no data loss -- it's in the store AND the moved file), and it is MOVED
(sys_renameat) to specs/algo_registry/_retired/ (the auditor fences "/_retired/" -> un-counted) -- NEVER DELETED
(rule #13 additive, never-brick: reversible by moving back). impl.nx/test.nx (the primitives) are untouched.
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_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 AR_MAGIC_262144: i64 = 262144 |
| 11 | const AR_MAGIC_1024: i64 = 1024 |
| 12 | const AR_MAGIC_3000: i64 = 3000 |
| 14 | const AR_PREFIX: *u8 = "knowledge/store/algo-registry-" as *u8 |
functions
| 16 | func rt_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 17 | func rt_putn(v: i64) -> i64 |
| 27 | func rt_eq(a: *u8, an: i64, b: *u8, bn: i64) -> i64 called by 1: main |
| 32 | func rt_isdot(nm: *u8) -> i64 called by 1: main |
| 41 | func main() -> i64 |