nx_campaign_gate.nx
buildroot/runtime/nx_campaign_gate.nx
about
nx_campaign_gate.nx -- REFEREE for WRITING rung W-CAMP-1 (nx_campaign).
[T1] session/encounter counts on a 2-session, 3-encounter campaign.
[T2] header + encounter-0 field extraction (whole-key parser on sub-ranges).
[T3] validation: complete campaign -> 0 missing; header w/o quest + an
encounter w/o kind/goal -> 3 missing (NEG-CONTROL).
[T4] GM brief emit equals the expected string exactly.
[T5] image-prompt seed emit equals the expected string exactly.
[T6] CONTINUITY time tooth: sound timeline -> 0; time 3 then 2 -> 1 (NEG).
[T7] CONTINUITY transit tooth: moves with transit -> 0; same location w/o
transit -> 0 (no false positive); move w/o transit = TELEPORT -> 1 (NEG).
[T8] whole-key: the word goal inside a value does NOT satisfy the goal key.
Evidence -> stdout + knowledge/status/campaign_gate.log. Exit 0 GREEN / 1 RED.
Sovereign x86_64. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_campaign.nxnx_scenario.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
| 20 | func gp(logfd: i64, s: *u8) -> i64 |
| 27 | func gn(logfd: i64, v: i64) -> i64 called by 1: pr_kv |
| 45 | func slen(s: *u8) -> i64 called by 1: main |
| 50 | func pr_kv(logfd: i64, label: *u8, got: i64, exp: i64) -> i64 |
| 58 | func pr_streq(logfd: i64, label: *u8, got: *u8, exp: *u8) -> i64 |
| 66 | func main() -> i64 |