code wiki / _hdl_build / nx_sota_page.nx

nx_sota_page.nx

buildroot/runtime/_hdl_build/nx_sota_page.nx

19839 B254 linesdepth 6pulls 9 transitivereach 0 importersview sourcekind tooltopic sota
docsdependenciesstructsconstsfunctions

about

nx_sota_page.nx -- GENERATE the SOTA page from the live instruments. Kills debt 1785514548. THE DEFECT: https://nishifamily.com/sota was HAND-COMPOSED PROSE. On 2026-07-31 it claimed "456 permil across 20 domains" while the live rollup said 434 across 26, with cited sources 12 days stale. A derived artifact that a human can author WILL drift, and it drifts silently because nothing compares it to its own source. Hand-editing that page to today's number is not a fix -- it re-arms the identical failure tomorrow. The fix is that no human writes this page at all. Every number below is read at generation time from the sovereign store and the durable ledger: maturity from em_rollup_store, growth decomposition from em_trend, per-domain rows from the same walk that nx_ecomat_domledger_gate proves reconciles with the headline. The page prints its own generation epoch and its sources so a reader can re-derive it. argv[1]=out_html argv[2]=store argv[3]=ledger. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 4 imports · 0 importers

nx_ecomat_trend_lib.nx nx_ecomat_domledger_lib.nx nx_ecomat_domtrend_lib.nx nx_rankmap.nx nx_sota_page.nx

imports: nx_ecomat_trend_lib.nxnx_ecomat_domledger_lib.nxnx_ecomat_domtrend_lib.nxnx_rankmap.nx

imported by: nobody (leaf or entry point)

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

main em_rollup_store sys_mmap ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close el_last_after el_len el_match ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall ↻ sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd ↻ sys_lseek ↻ sys_close ↻ ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ↻ ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry

structs

none

consts

26const SP_OUT: *u8 = "sites/nishifamily/sota.html"
27const SP_MODE: i64 = 0x1a4
28const SP_AUTOLOG: *u8 = "knowledge/status/autonomy_meter.log"

functions

30func sp_pct_w(cur: i64, bar: i64) -> i64
called by 1: sp_domains
36func sp_domains(fd: i64, prefix: *u8) -> i64
76func main(argc: i64, argv: *i64) -> i64