code wiki / (root) / nx_fin_spine_gate.nx

nx_fin_spine_gate.nx

buildroot/runtime/nx_fin_spine_gate.nx

6345 B158 linesdepth 10pulls 16 transitivereach 0 importersview sourcekind gate/prooftopic fin
docsdependenciesstructsconstsfunctions

about

nx_fin_spine_gate.nx -- THE FINANCE SPINE WITNESS. One organ that re-proves the load-bearing property of every layer (ledger -> chart of accounts -> reconciliation -> statements) and SELF-PUBLISHES its verdict to knowledge/status/fin_spine_gate.log so the sovereign maturity ruler can LIVE-DERIVE the finance grade instead of anyone typing one. ★THE LOG IS TRUNCATED, NEVER APPENDED (sys_openat_wr = O_WRONLY_CREATE_TRUNC). If this were an append-only log, an old VERDICT=GREEN would survive a later RED run and the ruler would read a STALE PASS -- the exact liar the honest-maturity discipline exists to kill. The log always states the CURRENT run and nothing else. This is an INDEPENDENT witness: it imports the libs and re-derives the properties itself rather than trusting the per-organ gates. Two independent sources converging is what earns triangulation. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_stmt_lib.nx nx_recon_lib.nx nx_fin_spine_gate.nx

imports: nx_stmt_lib.nxnx_recon_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_now_us sys_mmap sys_clock_gettime_mono fs_puts fs_id mt_catcopy mt_catn coa_type_put canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_exit ss_cat sys_openat_append sts_werr ↻ sys_flock reg_key reg_cat ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_scan_seglist reg_strlen reg_id_present sts_unlock sys_flock ↻ sys_close ss_next_segid

structs

none

consts

18const FS_MODE: i64 = 420

functions

20func fs_puts(s: *u8) -> i64
called by 2: fs_ckmain
26func fs_cat(buf: *u8, off: i64, s: *u8) -> i64
called by 1: main
32func fs_catn(buf: *u8, off: i64, v: i64) -> i64
called by 1: main
44func fs_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 1: fs_puts
54func fs_id(tag: *u8, nonce: i64, out: *u8) -> i64
called by 1: main calls 2: mt_catcopymt_catn
61func main(argc: i64, argv: *i64) -> i64