nx_state_spool_gate.nx
buildroot/runtime/nx_state_spool_gate.nx
about
nx_state_spool_gate.nx -- liar-killed GATE for the store-and-forward state spool (CR-R1a).
Proves NAS-first/local-fallback semantics OFFLINE via the deterministic fixture transport
(nx_spool_txfix: argv[1] contains "ok" -> delivered, else fail): spooled lines persist; a
working transport drains them; a FAILING transport keeps them (offline = NOTHING LOST -- the
negative control); partial failure keeps exactly the failed lines in order without blocking
later lines; a MISSING transport binary keeps everything (fail-safe, never fabricates
delivery); empty spool is a no-op. usage: nx_state_spool_gate [txfix_elf]
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_state_spool_core.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
| 12 | func t_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 14 | func t_putn(v: i64) -> i64 |
| 21 | func t_check(name: *u8, got: i64, want: i64, passp: *i64) -> i64 |
| 33 | func t_count(path: *u8, needle: *u8) -> i64 |
| 49 | func main(argc: i64, argv: *i64) -> i64 |