code wiki / _hdl_build / nx_vizsla_action_gate.nx

nx_vizsla_action_gate.nx

buildroot/runtime/_hdl_build/nx_vizsla_action_gate.nx

9274 B211 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic vizsla
docsdependenciesstructsconstsfunctions

about

nx_vizsla_action_gate.nx -- VIZSLA action gate: a first-party browser FORM POST (URL-encoded body) becomes a real relationship mutation. Proves the controller decodes + dispatches to the gated tenant engine = you manage IN the page, not by dropping files. 100% sovereign: provisions a tenant, feeds urlencoded bodies to nx_vizsla_action, greps the tenant files + the resulting brief. Rows: 1 add-contact-full "id=newp&name=New+Person&tier=inner&bday=07-04" -> CONTACT newp New-Person inner 07-04 2 add-contact-derive-id "name=Jane+Doe&tier=close" -> CONTACT jane-doe Jane-Doe close - 3 urldecode-pct "id=pct&name=Pct%20Test&tier=network" -> CONTACT pct Pct-Test network - (%20 decode) 4 touch-appends "date=2026-06-22&id=newp&note=called+them+today"-> TOUCH 2026-06-22 newp called-them-today 5 touch-makes-fresh brief: jane-doe IS a FOLLOWUP, newp is NOT (touched today = FRESH) 6 neg-unknown-action submit action=frobnicate -> exit 1 7 neg-empty-name submit add-contact with empty body -> exit 1 Evidence: VIZSLA-ACTION-GATE -> stdout + knowledge/status/vizsla_gate.log; exit 0 iff 7/7. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_vizsla_action_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

19func og_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
20func og_p(s: *u8) -> i64 { sys_write(1, s, og_slen(s)); return 0 }
22func og_cat(dst: *u8, off: i64, s: *u8) -> i64
28func og_catn(dst: *u8, off: i64, v: i64) -> i64
41func og_readall(path: *u8, szout: *i64) -> *u8
55func og_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
80func og_has(path: *u8, needle: *u8) -> i64
97func og_row(name: *u8, pass: i64) -> i64
103func og_args(a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64
109func og_join(base: *u8, name: *u8) -> *u8
116func main(argc: i64, argv: *i64) -> i64