nx_maint_business.nx
buildroot/runtime/nx_maint_business.nx
about
nx_maint_business.nx -- prove the BUSINESS in modeling (no IRL spend). Converts
the closed-loop simulator's MEASURED failure reduction into unit economics:
customer value (avoided-failure cost vs subscription), customer ROI, and
business margin/profit -- so the whole business is provable in software before
investing a penny.
Operator (2026-06-23): "without having to invest a penny irl till its proven
via all modeling of the business, legal, sensors, hardware." This is the
BUSINESS model layer; it consumes nx_maint_simloop's result (closed-loop ~6x
fewer failures: 2 vs 13 / 20 cycles) as the failure-reduction input.
Money in CENTS (integer/no-float). Verdict = is it a sustainable win-win
(customer saves AND business profits)? -- the go/no-go on IRL investment.
NEVER-BRICK (#26): pure arithmetic; no syscalls, no writes.
genealogy_id: project-maintenance-platform-sclass-2026-06-23 (business-model layer)
license_tier: ORIGINAL
dependencies 0 imports · 2 importers
imports: none
imported by: nx_maint_business_test.nxnx_maint_simpage.nx
structs
| 34 | struct BizParams |
| 43 | struct BizResult |
consts
| 20 | const NX_BIZ_INVALID: i64 = 0 |
| 21 | const NX_BIZ_VIABLE: i64 = 1 // customer saves AND business profits |
| 22 | const NX_BIZ_CUSTOMER_NEGATIVE: i64 = 2 // business profits but customer doesn't save (unsustainable) |
| 23 | const NX_BIZ_BUSINESS_NEGATIVE: i64 = 3 // customer saves but business loses (unsustainable) |
| 24 | const NX_BIZ_BOTH_NEGATIVE: i64 = 4 |
| 25 | const NX_BIZ_BAD_ARG: i64 = 5 |
| 26 | const NX_BIZ_N: i64 = 6 |
functions
| 28 | func nx_biz_verdict_is_valid(v: i64) -> i64 called by 1: main |
| 52 | func nx_biz_model(p: *BizParams, out: *BizResult) -> i64 |