nx_register_gate.nx
buildroot/runtime/nx_register_gate.nx
about
nx_register_gate.nx -- REFEREE for WRITING rung W-ING-3 (nx_register).
[T1] SFW: below-threshold score routes to the SFW lane (0).
[T2] EXPLICIT + governance OK: at/above threshold + age+consent+locale -> the
local-LLM explicit lane (1).
[T3] NEG-CONTROL governance non-bypass: same explicit score, but age OR consent
OR locale failing -> REFUSE (2). Explicit content cannot skip the gate.
[T4] NEG-CONTROL whole-word: "graphical" must NOT score as "graphic".
[T5] NEG-CONTROL no over-routing: benign text stays SFW even with governance OK.
Lexicon (DATA, benign proxy): calm=1 heated=3 graphic=5 ; threshold=5.
Evidence -> stdout + knowledge/status/register_gate.log. Exit 0/1.
Sovereign x86_64. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_register.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
| 18 | func gp(logfd: i64, s: *u8) -> i64 |
| 25 | func gn(logfd: i64, v: i64) -> i64 called by 1: pr_kv |
| 43 | func slen(s: *u8) -> i64 called by 1: main |
| 48 | func pr_kv(logfd: i64, label: *u8, got: i64, exp: i64) -> i64 |
| 57 | func main() -> i64 |