code wiki / (root) / nx_yt_transcript_gate.nx

nx_yt_transcript_gate.nx

buildroot/runtime/nx_yt_transcript_gate.nx

5901 B95 linesdepth 24pulls 156 transitivereach 0 importersview sourcekind gate/prooftopic yt
docsdependenciesstructsconstsfunctions

about

nx_yt_transcript_gate.nx -- proves nx_yt_captions_lib's timedtext parsers and the empty-body refusal. Parser teeth run on PLANTED json3 and srv1/XML bodies (assembled as literals here, not scanned): exact segment count, monotonic timestamps, entity decode, non-empty text. The neg-control asserts the exact defect the research lane hit: an empty 200 body must classify as REFUSED-EMPTY-BODY (code 2), never as an empty transcript. One live tooth behind gv_need fetches qKz3LmaxKuE's caption track over the network and requires >= 1 segment; offline it SKIPs (never RED). Values via gv_kv for outside adjudication. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_yt_captions_lib.nx nx_yt_transcript_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_yt_captions_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

13func g_live_segments(out_kind: *u8, kcap: i64) -> i64
43func main() -> i64