code wiki / (root) / nx_adversarial_sov.nx

nx_adversarial_sov.nx

buildroot/runtime/nx_adversarial_sov.nx

5077 B113 linesdepth 3pulls 3 transitivereach 2 importersview sourcekind librarytopic adversarial
docsdependenciesstructsconstsfunctions

about

nx_adversarial_sov.nx -- get the ADVERSARIAL GATE SUITE off the flat .conf into the SOVEREIGN seg_store (operator 2026-07-17: "we arent supposed to be using .tsv" -- store-law [[feedback-sovereign-store-not-flat-files]]). nx_adversarial_ci ran the deploy-gating suite from knowledge/adversarial_gates.conf (a flat file, one gate module-name per line) -- the policy that fail-closes EVERY selfswap. This migrates those rows into knowledge/store/adversarial (sovereign seg_store) via the PROVEN nx_raci_sov migrate pattern (read -> seed -> byte-verify every row), and serves the suite FROM THE STORE (ag_read_all is byte-compatible with the .conf data lines, so the consumer flips with a one-line swap). The .conf survives only as migrate-source. Sovereign. license_tier: ORIGINAL module: nishi-core.architect.adversarial_sov

dependencies 2 imports · 2 importers

nx_seg_store.nx nx_syscalls.nx nx_adversarial_sov.nx nx_adversarial_list.nx nx_adversarial_sov_gate.nx

imports: nx_seg_store.nxnx_syscalls.nx

imported by: nx_adversarial_list.nxnx_adversarial_sov_gate.nx

structs

none

consts

12const AG_CONF: *u8 = "knowledge/adversarial_gates.conf"
13const AG_STORE: *u8 = "knowledge/store/adversarial"

functions

16func ag_key(k: i64, out: *u8) -> i64
called by 3: ag_migrateag_gateag_count calls 1: sys_mmap
26func ag_migrate(totp: *i64, verp: *i64) -> i64
64func ag_gate(k: i64, out: *u8, cap: i64) -> i64
82func ag_count() -> i64
97func ag_read_all(out: *u8, cap: i64) -> i64
called by 2: mainmain calls 1: ag_gate