code wiki / (root) / nx_maint_simpage.nx

nx_maint_simpage.nx

buildroot/runtime/nx_maint_simpage.nx

5268 B109 linesdepth 5pulls 13 transitivereach 1 importersview sourcekind librarytopic maint
docsdependenciesstructsconstsfunctions

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

nx_maint_simloop.nx nx_maint_rul.nx nx_maint_business.nx nx_maint_render.nx nx_maint_simpage.nx nx_maint_simpage_test.nx

imports: nx_maint_simloop.nxnx_maint_rul.nxnx_maint_business.nxnx_maint_render.nx

imported by: nx_maint_simpage_test.nx

structs

none

consts

24const K_MAGIC_4096: i64 = 4096

functions

26func nx_rul_name(v: i64) -> *u8
called by 1: nx_simpage_render
35func nx_biz_name(v: i64) -> *u8
called by 1: nx_simpage_render
44func mr_int(buf: *u8, off: i64, v: i64) -> i64
called by 1: nx_simpage_render
64func nx_simpage_render(buf: *u8, cap: i64, twc: *TwinThermal, two: *TwinThermal,