sketch_types_gate.nx
buildroot/runtime/sketch_types_gate.nx
about
sketch_types_gate.nx -- the gate for the typed loss-envelope 139 modules import.
WHY: nx_gensota's gen-3 worklist rank 1 after the first three closures. This module is the
substrate's honesty contract for approximate primitives -- every sketch ships its loss NAMED,
BOUNDED and QUERYABLE -- so a defect here silently un-bounds every approximate answer.
THE TWO TEETH THAT ACTUALLY MATTER:
(a) DISCRIMINATOR DISTINCTNESS. envelope_kind, maturity and adv_safety are enums whose whole
job is to be TOLD APART at a composition boundary ("refuse Theoretical in production",
"never substitute Honest-only where Adversarial is required"). If two constants collide,
every such refusal silently passes the wrong thing and NOTHING else would notice.
★A DISCRIMINATOR WHOSE VALUES CAN COLLIDE IS NOT A DISCRIMINATOR.
(b) 6-FIELD STRUCT ROUND-TRIP with SIX DISTINCT values. This ecosystem has a banked compiler
defect class where struct field offsets mis-resolve; a constructor test using repeated
values would pass straight through a swapped pair. Every field here gets a unique
witness, so any offset error surfaces as a specific mismatch.
license_tier: ORIGINAL expect_exit: 0 No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxsketch_types.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
| 21 | const STG_W_VALUE: i64 = 111 |
| 22 | const STG_W_PARAM: i64 = 16200000 |
| 23 | const STG_W_CONF: i64 = 682700000 |
functions
| 25 | func main() -> i64 |