code wiki / _hdl_build / nx_hub_template_gate.nx
nx_hub_template_gate.nx
buildroot/runtime/_hdl_build/nx_hub_template_gate.nx
about
nx_hub_template_gate.nx -- SOVEREIGN in-process gate for the personal-hub template emitter. Feeds a fixture
`.hub` blueprint into the PURE ht_emit_hub and asserts the rendered hub page: header/tagline, Blog (with HTML
escaping), Videos (+ publish-from-phone CTA), Calendar (event with coach + shared-calendar CTA), Friends (link
+ video-chat). The load-bearing neg-control = a <script> in post content must be ESCAPED, never emitted raw
(XSS defense at the boundary -- migrated/user content is untrusted). GREEN iff T1..T8. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_hub_template.nxnx_syscalls.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
| 9 | func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func g_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: g_contains |
| 11 | func g_row(name: *u8, ok: i64) -> i64 |
| 16 | func g_contains(hay: *u8, n: i64, needle: *u8) -> i64 |
| 29 | func main() -> i64 |