code wiki / _hdl_build / nx_video_parity_census.nx

nx_video_parity_census.nx

buildroot/runtime/_hdl_build/nx_video_parity_census.nx

6230 B87 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic video
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_video_parity_census.nx

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

main cw sys_write sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close prow2 has cw ↻ cn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

12func cw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: prow2main calls 1: sys_write
13func cn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
17func has(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: prow2
26func prow2(name: *u8, rjs: *u8, rjn: i64, rhtml: *u8, rhn: i64, emb: *u8, en: i64, marker: *u8, tally: *i64) -> i64
called by 1: main calls 2: hascw
38func main() -> i64