code wiki / _hdl_build / nx_pub_fin_handoff.nx

nx_pub_fin_handoff.nx

buildroot/runtime/_hdl_build/nx_pub_fin_handoff.nx

3514 B49 linesdepth 6pulls 11 transitivereach 0 importersview sourcekind tooltopic pub
docsdependenciesstructsconstsfunctions

about

nx_pub_fin_handoff.nx -- push the sovereign nishifamily.com/finance dashboard to the Nishi Publisher (operator: "push to publisher, don't directly do"). The finance workstream REQUESTS; the publisher SHIPS (serialize -> idempotent sha-skip -> stage -> VERIFY-sha -> ATOMIC-promote -> ledger) to a LOCAL, ISOLATED finance liveroot. Mirrors nx_pub_reader_handoff exactly (DRY #15). The OUTWARD transport liveroot -> nishifamily.com is OPERATOR-GATED (publisher R6 policy=outward + R8 transport). The LIVE in-app serving of /finance is done by the OPAQUE route (olg_route) calling the SAME renderer; this liveroot file is the publishable artifact + the sha-verified, ledgered audit trail. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_publisher.nx nx_itoa_lib.nx nx_syscalls.nx nx_pub_fin_handoff.nx

imports: nx_publisher.nxnx_itoa_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main fh_puts sys_write fh_exists sys_openat_rd sys_close sys_exit pub_init sys_mkdir pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ sha256_digest sys_mmap ↻ sha256_init sys_mmap ↻ sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word sha256_final blk_set_byte ↻ sha256_compress ↻ sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻

structs

none

consts

none

functions

12func fh_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
17func fh_putn(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
18func fh_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
20func main() -> i64