nx_dialogue_gate.nx
buildroot/runtime/nx_dialogue_gate.nx
about
nx_dialogue_gate.nx -- REFEREE for WRITING rung W-DLG-1 (nx_dialogue).
[T1] turn + session counting and side identification.
[T2] per-turn intensity scoring is exact (benign proxy lexicon, per the seam).
[T3] all four cells, one session of each kind -> exact cell id.
[T4] THE HEADLINE METRIC on a 4-session corpus: tally = [1,1,1,1], unprompted rate = 250 permil,
and the PARTITION SUMS to the session count (a partition is a claim: check the parts).
[T5] first-explicit-turn index + NEG-CONTROL (a clean session returns -1, not 0).
[T6] escalation slope: rising positive, flat zero, falling NEGATIVE (sign discriminates).
[T7] NEG-CONTROL the detector can FAIL TO FIRE: raise the threshold above every score and the same
corpus collapses to 4 NEITHER -- proving the meter is not a constant that always accuses.
[T8] whole-word: a longer word CONTAINING a lexicon term does not score (heated != overheated).
[T9] division guard: rate over an empty corpus is 0, not a trap.
Evidence -> stdout + knowledge/status/dialogue_gate.log. Exit 0 GREEN / 1 RED.
Sovereign x86_64. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_dialogue.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 |
| 45 | func slen(s: *u8) -> i64 called by 1: main |
| 50 | func pr(logfd: i64, label: *u8, got: i64, exp: i64) -> i64 |
| 59 | func main() -> i64 |