nx_uxf_media_asset_gate.nx
buildroot/runtime/nx_uxf_media_asset_gate.nx
about
nx_uxf_media_asset_gate.nx -- the D001 MIGRATION of nx_uxf_media_asset_test onto nx_gate_verdict (2026-09-06).
THIS IS THE ONE THAT TIES THE FAMILY TOGETHER. A media descriptor becomes a canonical record, is stamped
with a self-describing UXF_MEDIA profiled CID, is TOLERANT-DECODED by a consumer that did not write it, and
the decoded fields then drive endpoint negotiation. It proves the unified claim end to end: the SAME
envelope that carried migrated TSV rows carries media and decides what to emit.
ALL FIVE ORIGINAL TEETH PRESERVED IN ORDER AND PREDICATE, plus two the original lacked. It looked up the
chrome capability row and NEVER asserted the lookup succeeded, and it decoded the descriptor without ever
asserting how many fields came back -- so a failed lookup or a short decode could only have been judged
indirectly through the plan. T0a and T0b assert the fixture reached its condition first.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 6 imports · 0 importers
imports: nx_gate_verdict.nxnx_syscalls.nxnx_canon_cid.nxnx_uxf_cid.nxnx_uxf_decode.nxnx_uxf_negotiate.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
| 20 | const UM_PTRTAB: i64 = 64 |
| 21 | const UM_CANON: i64 = 8192 |
| 22 | const UM_CIDBUF: i64 = 128 |
| 23 | const UM_CAPBUF: i64 = 256 |
| 24 | const UM_FIELDS: i64 = 3 |
| 25 | const UM_MAXDEC: i64 = 16 |
| 26 | const UM_CAPS_OK: i64 = 1 |
functions
| 28 | func um_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while 1 == 1 { if a[i] != b[i] { return 0 } if a[i] == (0 as u8) { return 1 } i = i + 1 } return 1 } |
| 31 | func um_descriptor(container: *u8, vcodec: *u8, acodec: *u8, canon: *u8) -> i64 |
| 40 | func um_find(dkeys: *i64, dvals: *i64, nf: i64, key: *u8) -> *u8 |
| 46 | func main(argc: i64, argv: *i64) -> i64 |