nx_asset_ingest_real.nx
buildroot/runtime/nx_asset_ingest_real.nx
about
nx_asset_ingest_real.nx -- R5: POPULATE THE PRODUCTION CATALOG WITH REAL ASSETS.
The visible-payoff ingestor: it catalogs a REAL, on-disk asset set (not fixtures) into the
production catalog prefix knowledge/store/asset-catalog-, so the R5 dashboard surfaces GENUINE
numbers. Two real asset classes are ingested, each as a unified content-addressed asset RECORD:
* DOC assets = the LIVE wiki pages (web_assets/*.html), machine-generated (prov_class=machine).
* IMAGE assets = the real generated gallery PNGs, REAL width/height from the actual IHDR.
The read -> record -> dedup CORES live in nx_asset_ingest_lib (DRY #15) so this populator AND its
gate (nx_asset_ingest_real_gate) drive the SAME pipeline. This file = the slug/file list + main().
IDEMPOTENT (#10): cat_ingest_cid dedups by content CID -> a re-run yields CAT_DUP for every present
asset and the count does not grow. ADDITIVE (#13). No hardware writes (#26). license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_asset_ingest_lib.nxnx_asset_catalog.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
| 17 | func main() -> i64 |