nx_maint_simpage.nx
buildroot/runtime/nx_maint_simpage.nx
about
nx_maint_simpage.nx -- the IN-BROWSER PROOF PAGE. Composes the closed-loop
simulation + RUL prognosis + business case into ONE zero-JS, privacy-first
HTML page that renders in the Nishi browser AND Chrome/Firefox/Edge -- the
operator's vision: simulate + prove the whole business in software, in the
browser, reproducibly, before a penny IRL.
Operator (2026-06-23): "using software to simulate these things in our nishi
browser and 3rd party browsers ... proven via all modeling of the business,
legal, sensors, hardware." This is the capstone that makes the proof VIEWABLE.
Reuses the nx_maint_render doctrine: 0 <script>, 0 third-party loads,
fail-closed (nx_maint_render_is_clean). Cross-browser by construction
(server-rendered, no JS).
NEVER-BRICK (#26): builds bytes into a caller buffer; no syscalls, no writes.
genealogy_id: project-maintenance-platform-sclass-2026-06-23 (in-browser proof page)
license_tier: ORIGINAL
dependencies 4 imports · 1 importers
imports: nx_maint_simloop.nxnx_maint_rul.nxnx_maint_business.nxnx_maint_render.nx
imported by: nx_maint_simpage_test.nx
structs
| none |
consts
| 24 | const K_MAGIC_4096: i64 = 4096 |
functions
| 26 | func nx_rul_name(v: i64) -> *u8 called by 1: nx_simpage_render |
| 35 | func nx_biz_name(v: i64) -> *u8 called by 1: nx_simpage_render |
| 44 | func mr_int(buf: *u8, off: i64, v: i64) -> i64 called by 1: nx_simpage_render |
| 64 | func nx_simpage_render(buf: *u8, cap: i64, twc: *TwinThermal, two: *TwinThermal, |