code wiki / _hdl_build / nx_asset_dashboard_gate.nx
nx_asset_dashboard_gate.nx
buildroot/runtime/_hdl_build/nx_asset_dashboard_gate.nx
about
nx_asset_dashboard_gate.nx -- KAT + TEETH for the asset DASHBOARD emitter (the GOING-ON pillar).
Drives the SAME render core (nx_asset_dashboard_lib dp_emit) the production page uses, against a
CONTROLLED /tmp catalog (production catalog untouched), and proves:
(T1) the live STATS are counted correctly (3 records: 1 doc + 1 image + 1 video; machine/human/
downloaded; 2 current + 1 retired) -- the numbers the dashboard renders are real, not typed
(T2) MISSING_PROVENANCE signal fires for every record (deny-by-default; the honest TO-DO state)
(T3) dp_emit renders an HTML file containing all THREE pillar headings + the correct live total
(T4 TEETH) an EMPTY catalog -> all stats ZERO (no fabricated numbers on an empty inventory)
Verdict appended to knowledge/status/asset_dashboard_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_status.nxnx_asset_dashboard_lib.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
| 20 | func g_puts(logfd: i64, s: *u8) -> i64 |
| 27 | func g_putn(logfd: i64, v: i64) -> i64 |
| 41 | func E() -> *u8 { return "\x00" as *u8 } |
| 42 | func sset(a: *i64, i: i64, s: *u8) -> i64 { a[i] = s as i64; return 0 } |
| 45 | func mk_full(typ: *u8, prov: *u8, current: *u8, id: *u8, out: *u8) -> i64 |
| 62 | func mk_vis(typ: *u8, loc: *u8, ident: *u8, out: *u8) -> i64 |
| 78 | func gt_prefix(prefix: *u8, base: *u8, salt: i64) -> i64 |
| 94 | func g_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 104 | func g_contains(hay: *u8, hn: i64, needle: *u8) -> i64 |
| 119 | func expect(logfd: i64, label: *u8, got: i64, want: i64) -> i64 |
| 127 | func gt_visfilter(logfd: i64) -> i64 |
| 149 | func main() -> i64 |