code wiki / _hdl_build / nx_brand_packs_gate.nx
nx_brand_packs_gate.nx
buildroot/runtime/_hdl_build/nx_brand_packs_gate.nx
about
nx_brand_packs_gate.nx -- R3 gate: multi-brand theme packs taught to the universal builder. Composes the whole
stack: TEACH (nb_register catalog) -> LOAD (distinct brands) -> RENDER (wb_doc_open_branded) -> GUARD (each pack
proven on-brand, AA contrast via R2) -> SOVEREIGNTY -> DETERMINISM. Hermetic test registry (/tmp); a final LIVE
idempotent teach grows the real catalog. 100% sovereign. license_tier: ORIGINAL expect_exit: 0
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_brand_packs.nxnx_brand_guard.nxnx_web_builder.nxnx_brand_tokens.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
| 13 | func g_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 } |
| 14 | func g_primary(path: *u8, id: *u8, out: *u8) -> i64 { // load a pack -> its color/primary value into out |
| 20 | func g_pack_aa(path: *u8, id: *u8) -> i64 { // load a pack -> its ink/bg contrast x100 |
| 27 | func main() -> i64 |