code wiki / _hdl_build / nx_ui_live_verify.nx

nx_ui_live_verify.nx

buildroot/runtime/_hdl_build/nx_ui_live_verify.nx

3924 B58 linesdepth 21pulls 129 transitivereach 0 importersview sourcekind tooltopic ui
docsdependenciesstructsconstsfunctions

about

nx_ui_live_verify.nx -- TOP-DOWN UI verifier (operator 2026-07-04: "redundancy in seeing things -- an api with the same capabilities as a front-end testing system ... top-down user/front-end validation"). The REDUNDANT twin of nx_ui_wiring_census: that eye reads LOCAL SOURCE; THIS eye fetches the LIVE SERVED bytes the user actually receives (nx_https_get over the real edge, own TLS-1.3 trust store, no browser, no shell) and runs the SAME shared checks (nx_ui_checks). Disagreement between the two eyes = DEPLOY DRIFT (stale / truncated / edge-mangled deploy) -- a break the source-only eye cannot see. This is the user's perspective: what actually shipped, not what we meant to ship. HONEST SCOPE: static wiring on served bytes, not click-execution (full execution = task #35 engine arc). expect_exit: 0 when the LIVE page is wired + init crash-safe. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_ui_checks.nx nx_https_get.nx nx_trust_store_load_from_certdata. nx_ui_live_verify.nx

imports: nx_ui_checks.nxnx_https_get.nxnx_trust_store_load_from_certdata.nx

imported by: nobody (leaf or entry point)

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

main uc_w sys_write nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_tag asn1_read_length asn1_read_length ↻ x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id

structs

none

consts

13const K_MAGIC_4194304: i64 = 4194304
14const K_MAGIC_262144: i64 = 262144

functions

16func lv_fetch(url: *u8, store: *TrustStore, out: *u8, cap: i64, nout: *i64) -> i64
24func main() -> i64