nx_model_lane_gate.nx
buildroot/runtime/nx_model_lane_gate.nx
about
nx_model_lane_gate.nx -- gate for the sovereign model-lane lease. Deterministic, tiny-RAM,
test lease path only (never touches the real lane). Proves:
T1 claim -> free -> re-claim (lifecycle; pid=1 init = always alive)
T2 second claimant REFUSED while held (rc=10) -- the anti-OOM tooth
T3 stale holder (dead pid) is REAPED and the lane re-claimed (crash recovery)
T4 NEG headroom: absurd est_mb DENIED (rc=11) even though the lane is FREE
T5 NEG corrupt lease: garbage bytes -> claim REFUSES rc=14 (fail-loud, never steals)
T6 NEG free-by-non-holder REFUSED (rc=13)
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_model_lane_core.nxnx_gate_verdict.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
| none |
functions
| 13 | func mg_write_raw(path: *u8, s: *u8) -> i64 |
| 22 | func main(argc: i64, argv: *i64) -> i64 |