code wiki / _hdl_build / nx_ui_wiring_census.nx

nx_ui_wiring_census.nx

buildroot/runtime/_hdl_build/nx_ui_wiring_census.nx

2393 B41 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic ui
docsdependenciesstructsconstsfunctions

about

nx_ui_wiring_census.nx -- BOTTOM-UP UI verifier (operator 2026-07-04: "the Nishi team should SEE everything bottom-up"). Runs the SHARED wiring/init checks (nx_ui_checks) on the LOCAL SOURCE we are about to ship: every <button id> must have a handler, and init host-API calls must be crash-guarded. Catches dead-button + unguarded-init (the 2026-07-04 dead-buttons class) WITHOUT a browser. The TOP-DOWN twin (nx_ui_live_verify) runs the SAME checks on the LIVE SERVED bytes -> redundancy. HONEST SCOPE: static wiring, not execution (engine lacks async/await + event model -> task #35). expect_exit: 0 when every button wired + init crash-safe. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_ui_checks.nx nx_ui_wiring_census.nx

imports: nx_ui_checks.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 sys_read_file sys_openat_rd sys_lseek sys_mmap sys_read sys_close uc_check_buttons sys_mmap ↻ uc_has uc_w ↻ sys_write ↻ uc_check_init uc_has ↻ uc_w ↻ uc_has ↻ uc_n nxi_out nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap

structs

none

consts

none

functions

10func main() -> i64