code wiki / _hdl_build / nx_video_chat_gate.nx
nx_video_chat_gate.nx
buildroot/runtime/_hdl_build/nx_video_chat_gate.nx
about
nx_video_chat_gate.nx -- gate for the /video ROOM TEXT CHAT rung (R3 of the rival-parity ladder,
operator 2026-07-02 "have all of their features like texting"). Proves the WIRING is present in the
shipped client sources: (a) app.js sends type:"chat" over the existing relay (zero server change --
nx_signaling_v2 sig2_broadcast fans any frame out), (b) app.js receives + renders via textContent
(no HTML injection), (c) history persists in the PROFILE namespace nishi_chat_<room> (separate from
clearable caches -- the browser profile-store split), (d) index.html carries the panel + composer +
unread badge. LIVENESS of the deployed copy = the funcheck row video_chat (this gate is source-truth;
funcheck is served-truth). NEG-control: a bogus pattern must be ABSENT or the gate is a liar.
expect_exit: 0 license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_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
| 12 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } |
| 13 | func pw(s: *u8) -> i64 { sys_write(1,s,slen(s)); return 0 } |
| 14 | func pn(v: i64) -> i64 |
| 18 | func contains(hay: *u8, n: i64, needle: *u8) -> i64 |
| 23 | func filehas(path: *u8, pat: *u8) -> i64 |
| 28 | func check(name: *u8, path: *u8, pat: *u8, want: i64) -> i64 |
| 36 | func main() -> i64 |