nx_sov_gate.nx
buildroot/runtime/nx_sov_gate.nx
about
nx_sov_gate.nx -- gate for the standard sovereign data CLI (the anti-flat-file standard path).
T1 put/get roundtrip byte-exact (latest-wins on double-put)
T2 has present/absent
T3 INTEROP IN: import a key<TAB>value TSV -> keys present in the sovereign store + __ids__ index
T4 INTEROP OUT: export -> the derived TSV roundtrips the imported data (boundary view, store=SSOT)
T5 NEG: get of an absent key fails cleanly (no fabricated value)
T6 fsck CLEAN on the store this gate just wrote (validated record walk, all in-bounds)
T7 fsck CAN-FAIL: a crafted TORN segment (huge key-length field past EOF) -> TORN + exit 1
(the reader has no bounds validation -- fsck is what makes crash-torn state VISIBLE)
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_sov.nxnx_gate_verdict.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
| 14 | const SG_STORE: *u8 = "/tmp/nxsov_gate_store" |
functions
| 16 | func sg_write(path: *u8, s: *u8) -> i64 |
| 24 | func sg_streq_n(a: *u8, b: *u8, n: i64) -> i64 called by 1: main |
| 33 | func main(argc: i64, argv: *i64) -> i64 |