code wiki / _hdl_build / nx_sota_page.nx
nx_sota_page.nx
buildroot/runtime/_hdl_build/nx_sota_page.nx
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
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
structs
| none |
consts
| 26 | const SP_OUT: *u8 = "sites/nishifamily/sota.html" |
| 27 | const SP_MODE: i64 = 0x1a4 |
| 28 | const SP_AUTOLOG: *u8 = "knowledge/status/autonomy_meter.log" |
functions
| 30 | func sp_pct_w(cur: i64, bar: i64) -> i64 called by 1: sp_domains |
| 36 | func sp_domains(fd: i64, prefix: *u8) -> i64 |
| 76 | func main(argc: i64, argv: *i64) -> i64 |