code wiki / _hdl_build / nx_brick_compose_gate.nx

nx_brick_compose_gate.nx

buildroot/runtime/_hdl_build/nx_brick_compose_gate.nx

4473 B91 linesdepth 7pulls 15 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_brick_compose_gate.nx -- referee for R-BRICKS-COMPOSE (sa_brick_n + the SA_GRIDN hook): consumed part: bricks drive grid richness in corpus-driven composition. Wrapper pre-authored fixtures + ran nx_tpl_parts.elf: /tmp/brickstore/ <- a gallery brick with 4 headings (from a 4-item template) /tmp/brickstore2/ <- a gallery brick with 9 headings (clamp case) Proves: median derivation, brick-driven card count in the composed page, default fallback with no store, clamp at 6, and no-bricks-of-kind -> 0 (fixed sections unaffected). GREEN iff 5/5. license_tier: ORIGINAL expect_exit: 0

dependencies 3 imports · 0 importers

nx_gate.nx nx_site_archetype.nx nx_gate_verdict.nx nx_brick_compose_gate.nx

imports: nx_gate.nxnx_site_archetype.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main ss_open ss_open2 ss_open3 sys_now_us sys_mmap nxa_die nxa_lock_take nxa_lock_give nxa_report_overrun sys_clock_gettime_mono sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss3_admit ss3_ann sys_mmap ↻ ss_cat ↻ ss_catn sys_write sys_munmap ↻ sys_now_us ↻ ss3_streq ss3_docs_size sys_mmap ↻ ss_cat ↻ sys_fstatat sys_munmap ↻ ss3_load_range ss_cat ↻ ss_loadfile sys_map_file ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻

structs

none

consts

none

functions

12func bg_count(hay: *u8, hn: i64, needle: *u8) -> i64
called by 1: main
21func bg_row(name: *u8, ok: i64) -> i64 { gw(" " as *u8); gw(name); if ok==1 { gw(" PASS\n" as *u8) } else { gw(" FAIL\n" as *u8) } return 0 }
called by 1: main calls 1: gw
23func main() -> i64