code wiki / _hdl_build / nx_galx_cid_verify.nx
nx_galx_cid_verify.nx
buildroot/runtime/_hdl_build/nx_galx_cid_verify.nx
about
nx_galx_cid_verify.nx -- verify the REAL built cid index resolves REAL cids to their exact TSV paths.
Reads knowledge/index/galx_cid.{idx,blob} (the just-built sovereign index) + galx_cid_paths.tsv (the source of
truth), looks up the first N cids, and checks each resolves byte-identically to its TSV path. Guards against a
wrong-path lookup bug (which the gs_thumb fallback would NOT catch). GREEN iff all N match.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_galx_cid_index.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
| 9 | const K_MAGIC_2048: i64 = 2048 |
functions
| 11 | func v_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 16 | func v_num(v: i64) -> i64 { nxi_out(v); return 0 } |
| 18 | func main() -> i64 |