code wiki / _hdl_build / nx_video_parity_census.nx
nx_video_parity_census.nx
buildroot/runtime/_hdl_build/nx_video_parity_census.nx
about
nx_video_parity_census.nx -- MECHANICAL carry-over guard (operator 2026-07-04: "make sure we arent
building into html and js but that we emit so wherever we embed or use it all functionality is carried
over"). The /video ROOM (app.v2.js) and the <nishi-video> EMBED (nishi-video.js bundle) are two shims
over the SAME sovereign wasm core; features must be present in BOTH or the embed silently lags the room
(the divergence that let the duo-PiP layout ship to the room but not the embed). This census checks each
shared FEATURE MARKER in both surfaces: PARITY (both) / ROOM-ONLY / EMBED-ONLY / NEITHER. Any non-PARITY
row = a carry-over break to fix. NEG-CONTROL: an impossible marker must be NEITHER (checker has teeth).
This is monitoring APPLIED to carry-over -- it runs in the keep-up loop so drift is CAUGHT, not prayed.
expect_exit: 0 = all shared features at parity + neg-control fired. 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 cw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func cn(v: i64) -> i64 |
| 17 | func has(hay: *u8, n: i64, needle: *u8) -> i64 called by 1: prow2 |
| 26 | func prow2(name: *u8, rjs: *u8, rjn: i64, rhtml: *u8, rhn: i64, emb: *u8, en: i64, marker: *u8, tally: *i64) -> i64 |
| 38 | func main() -> i64 |