code wiki / _hdl_build / nx_manga_shelf_gate.nx

nx_manga_shelf_gate.nx

buildroot/runtime/_hdl_build/nx_manga_shelf_gate.nx

5772 B107 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic manga
docsdependenciesstructsconstsfunctions

about

nx_manga_shelf_gate.nx -- prove the LOCAL shelf catalog lib (nx_manga_shelf_lib) in ISOLATION on synthetic fixtures: admission (cbz always; allowlisted-author epub; PROVEN comic via extracted cbx.json; prose OUT), marker grouping + volume numbers (" vol1", ", Vol. 1_", bare "volume3"), multi-format dedupe (epub beats pdf), first-token one-shot grouping, ci-alpha order + JSON tail sanity. RUN IN A SCRATCH DIR -- it writes fixture files under ./knowledge/staging/media/. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_manga_shelf_lib.nx nx_manga_shelf_gate.nx

imports: nx_syscalls.nxnx_manga_shelf_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mkdir gput sys_openat_wr gw ↻ sys_write ↻ sys_close msl_slen sys_mmap msl_pathslug msl_hexc msl_cats msl_shelf_json msl_ctx_new sys_mmap ↻ sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ↻ msl_cats ↻ msl_scan msl_add_line msl_ext_rank msl_lc msl_ci_eq msl_lc ↻ msl_probe_cbx msl_pathslug ↻ msl_cats ↻ sys_openat_rd ↻ sys_close ↻ msl_author_listed msl_strip_id msl_marker_cut msl_ci_find

structs

none

consts

none

functions

9func gw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: gputtoothmain calls 1: sys_write
10func gnum(v: i64) -> i64 { let b: *u8 = sys_mmap(32); let o: i64 = msl_catn(b, 0, v); sys_write(1, b, o); return 0 }
called by 1: main calls 3: sys_mmapmsl_catnsys_write
11func gput(path: *u8, body: *u8) -> i64
20func ghas(j: *u8, jn: i64, s: *u8) -> i64
called by 1: main
34func tooth(name: *u8, ok: i64, fails: *i64) -> i64
called by 1: main calls 1: gw
41func main() -> i64