nx_maint_asset.nx
buildroot/runtime/nx_maint_asset.nx
about
nx_maint_asset.nx -- the universal maintenance SPINE: a data-driven asset/
spec model + physics-kernel dispatch. PROVES the platform thesis -- ONE
verdict engine + per-asset spec DATA -> MANY assets -- by routing thermal
assets (HVAC, water heater, fridge, dryer, oven) through the SAME proven
thermal kernel (nx_hvac_efficiency) with different specs.
Operator (2026-06-23): expand HVAC efficiency into a universal maintenance
platform (cars/house/plumbing/hvac/tools), monitor + fix + replace, DIYer ->
enterprise do-it-for-you. Confirmed direction: spine-first; first vertical
after the spine = appliances & water heater (which reuses THIS kernel).
The asset's healthy ENVELOPE lives in AssetSpec = DATA (CLAUDE.md #6/#11),
not code. A new thermal asset = a new spec, ZERO new physics. Declared-but-
unbuilt kernels return NOT_IMPLEMENTED (honest -- never a fake verdict).
NEVER-BRICK (#26): pure dispatch over read-only measurement; writes nothing
to any device. No firmware path exists here.
genealogy_id: project-maintenance-platform-sclass-2026-06-23 (SPINE R1)
license_tier: ORIGINAL
nx_capability_claims:
needs: [pointer_arithmetic]
provides: [data_driven_asset_spec, physics_kernel_dispatch,
thermal_kernel_reuse_multi_asset, honest_not_implemented]
safety: [no_floating_point, no_syscall, read_only_no_device_write,
no_firmware_write_by_construction, sealed_enum_kernel]
verdict: [sealed_enum, no_silent_failure]
license: ORIGINAL
kind: maintenance_runtime_primitive
dependencies 1 imports · 3 importers
imports: nx_hvac_efficiency.nx
imported by: nx_maint_asset_test.nxnx_maint_specs.nxnx_maint_specs_test.nx
structs
| 72 | struct AssetSpec |
consts
| 35 | const NX_MAINT_CLASS_HVAC: i64 = 0 |
| 36 | const NX_MAINT_CLASS_WATER_HEATER: i64 = 1 |
| 37 | const NX_MAINT_CLASS_REFRIGERATOR: i64 = 2 |
| 38 | const NX_MAINT_CLASS_DRYER: i64 = 3 |
| 39 | const NX_MAINT_CLASS_TOOL: i64 = 4 |
| 40 | const NX_MAINT_CLASS_PUMP: i64 = 5 |
| 41 | const NX_MAINT_CLASS_N: i64 = 6 |
| 44 | const NX_MAINT_KERNEL_THERMAL_RESPONSE: i64 = 0 // BUILT (nx_hvac_efficiency) |
| 45 | const NX_MAINT_KERNEL_ROTATING_MACHINE: i64 = 1 // declared, not built |
| 46 | const NX_MAINT_KERNEL_CONSUMABLE: i64 = 2 // declared, not built (printer-toner seed) |
| 47 | const NX_MAINT_KERNEL_FLUID_SEAL: i64 = 3 // declared, not built |
| 48 | const NX_MAINT_KERNEL_N: i64 = 4 |
| 52 | const NX_MAINT_NOT_IMPLEMENTED: i64 = 100 // kernel declared but unbuilt (honest) |
| 53 | const NX_MAINT_BAD_SPEC: i64 = 101 |
functions
| 55 | func nx_maint_class_is_valid(c: i64) -> i64 called by 1: main |
| 61 | func nx_maint_kernel_is_valid(k: i64) -> i64 |
| 87 | func nx_maint_analyze(spec: *AssetSpec, t_sec: *i64, value_mC: *i64, ambient_mC: *i64, |