code wiki / ts

topic: ts

18 modules sharing the ts name family (derived from the tree's prefix discipline).

The 'ts' topic family in the Nishi sovereign ecosystem focuses on handling time-sensitive data and media processing within the MPEG-TS format. Modules like _ts_diag provide diagnostic insights into scoring mechanisms, while nx_ts enables precise time conversions between Unix epoch and ISO-8601 standards. nx_ts_drain_gate ensures processes continue serving after termination, supporting robust resource management in distributed systems.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
_ts_diag.nxprints the KAT4 score comparison values (3-layer score).263
nx_ts.nxUnix epoch <-> calendar / ISO-8601 conversion.2106
nx_ts_drain_gate.nxTS2: THE PROCESS MUST KEEP SERVING AFTER TERM.39513
nx_ts_drain_lib.nxTS2: COOPERATIVE DRAIN ON TERM, with a DERIVED deadline.1996
nx_ts_dur.nxMPEG-TS total duration via FIRST + LAST PCR (no full-file scan; reads only an1025
nx_ts_es.nxMPEG-TS -> H.264 elementary-stream helpers, LIFTED VERBATIM from1003
nx_ts_handoff_gate.nxTS1: KEEP THE SOCKET, REPLACE THE PROCESS.41314
nx_ts_index.nxSOVEREIGN media index ("NXVI", our own format) for an MPEG-TS recording.2528
nx_ts_lumadiff.nxVISUAL dead-air measurement.2317
nx_ts_marks.nxsovereign CLIP-ANALYSIS markers for a media asset (the first "clip analysis" payload37413
nx_ts_marks_gate.nxunit gate for the dead-air (silence) clip-analysis logic. Tests the pure1463
nx_ts_nal.nxcodec-aware NAL classification for MPEG-TS elementary streams.1409
nx_ts_nal_gate.nxproof for the HEVC indexing hole (2026-07-31).1772
nx_ts_partial_gate.nxproves PARTIAL-BITFIELD seeding: ts_load_have reads download.done (sibling of the323
nx_ts_probe.nxRung 1 of the sovereign MPEG-TS -> fMP4 remuxer. Parses an MPEG-TS file (188-byte1875
nx_ts_slot_lib.nxTS3: THE SLOT-FLIP DECISION CORE (importable, no main).21510
nx_ts_slot_router.nxTS3: THE FRONT DOOR ITSELF (the thin daemon around nx_ts_slot_lib).741
nx_ts_slot_router_gate.nxTS3: A FLIP THE CLIENT CANNOT SEE, AND A COLD SLOT IT REFUSES.41911