code wiki / _hdl_build / nx_migrate_ingest_gate.nx

nx_migrate_ingest_gate.nx

buildroot/runtime/_hdl_build/nx_migrate_ingest_gate.nx

3958 B77 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_migrate_ingest_gate.nx -- SOVEREIGN in-process gate for the site-migration ingest transform. Feeds a fixture HTML page straight into the PURE mi_emit_site and asserts the emitted .site blueprint: title/header (with CTA)/hero/search/cards/trust/footer all present (so nx_site_provision's compliance check will pass), the <title>/<h1>/<p>/<h2> text is actually extracted, nested tags are stripped, AND -- the load-bearing safety check -- the '|' delimiter is SANITIZED out of extracted text (a leaked '|' corrupts the format). GREEN iff T1..T7. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_migrate_ingest.nx nx_syscalls.nx nx_migrate_ingest_gate.nx

imports: nx_migrate_ingest.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main g_w sys_write g_len sys_mmap mi_emit_site sys_mmap ↻ mi_find_ci mi_slen mi_lower mi_inner mi_find_ci ↻ mi_slen ↻ mi_put mi_putb g_contains g_len ↻ g_row g_w ↻ sys_openat_append sys_write ↻ sys_close sys_exit

structs

none

consts

none

functions

10func g_w(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 2: g_rowmain calls 1: sys_write
11func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: g_containsmain
12func g_row(name: *u8, ok: i64) -> i64
called by 1: main calls 1: g_w
17func g_contains(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main calls 1: g_len
30func main() -> i64