nx_asset_search_gate.nx
buildroot/runtime/nx_asset_search_gate.nx
about
nx_asset_search_gate.nx -- KAT + TEETH for nx_asset_search (faceted findability over the catalog).
Ingests 4 known records into a fresh catalog then proves the facet filters return EXACTLY the right
sets (and the right CIDs):
A image / professional / tags="gallery,generated"
B image / private / tags="gallery,private"
C doc / professional / tags="wiki,doctrine"
D video / professional / tags="clip"
(a) by type=image -> 2 (b) by type=doc -> 1 (c) by type=video -> 1
(d) by classification=private -> 1 (e) by classification=professional -> 3
(f) by tag=gallery -> 2 (g) by tag=doctrine -> 1
(h) membership: the type=doc result actually contains C's CID
TEETH (must be empty): (i) type=audio -> 0 (j) tag=nonexistent -> 0
Verdict appended to knowledge/status/asset_search_gate.log (additive law #13).
expect_exit: 0 license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_canon_cid.nxnx_asset_record.nxnx_asset_catalog.nxnx_asset_search.nxnx_gate_verdict.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
| 24 | func g_puts(logfd: i64, s: *u8) -> i64 |
| 31 | func g_putn(logfd: i64, v: i64) -> i64 |
| 45 | func E() -> *u8 { return "\x00" as *u8 } called by 1: mk_asset |
| 46 | func sset(a: *i64, i: i64, s: *u8) -> i64 { a[i] = s as i64; return 0 } called by 1: mk_asset |
| 49 | func mk_asset(typ: *u8, cls: *u8, tags: *u8, id: *u8, out: *u8) -> i64 |
| 65 | func gt_prefix(prefix: *u8, base: *u8) -> i64 |
| 80 | func expect_count(logfd: i64, label: *u8, got: i64, want: i64) -> i64 |
| 86 | func main() -> i64 |