code wiki / _hdl_build / nx_brand_book_gate.nx
nx_brand_book_gate.nx
buildroot/runtime/_hdl_build/nx_brand_book_gate.nx
about
nx_brand_book_gate.nx -- R5 gate: brand-book generator + off-token brand audit.
BB: the brand book is emitted FROM the token SSOT (swatches + MEASURED WCAG contrast + AA/AAA badges, rendered
in-brand). BA: the audit returns 0 for a token-driven builder page (no drift) and flags a page that hardcodes a
colour outside the token block. 100% sovereign. license_tier: ORIGINAL expect_exit: 0
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_brand_book.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
| 11 | func g_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 } |
| 12 | func g_read(path: *u8, lp: *i64) -> *u8 { return sys_read_file(path, lp) } |
| 13 | func inband5(v: i64, lo: i64, hi: i64) -> i64 { if v < lo { return 0 } if v > hi { return 0 } return 1 } called by 1: main |
| 15 | func main() -> i64 |