code wiki / _hdl_build / nx_ac_monitor_census.nx
nx_ac_monitor_census.nx
buildroot/runtime/_hdl_build/nx_ac_monitor_census.nx
about
nx_ac_monitor_census.nx -- EVIDENCE-BACKED SOTA gap map for the sovereign
AC/HVAC monitoring product ("Flume for AC", data-center-grade, hubless,
browser-first). The "census" leg of the operator's research/census/critic/
adversary product.
DISCIPLINE (per project-nishi-sensor-gap-census + feedback-census-evidence-
backed-not-symbol-presence): a capability is credited HAVE only with
EVIDENCE. This census goes beyond symbol-presence -- for the organs built in
this workstream it EXECUTES a live witness (runs the organ, checks a known
output); crediting a capability whose witness fails turns the census RED.
Existing-stack capabilities proven by a sibling gate are HAVE-CITED (named
gate, not re-run here). Unbuilt capabilities are GAP with their SOTA source.
It is ITSELF liar-killed: a negative-control witness (an asserted-false
output) MUST fail -- if the witness harness "passes" a false claim, RED.
Prints the honest map + coverage permille + a verdict every run. GREEN =
the witness harness is trustworthy (all HAVE witnesses pass, neg-control
fails, coverage floor held) -- NOT "coverage is complete"; the GAP rows ARE
the remaining work.
Sovereign nx_cc->nxasm (no gcc). CWD = nxc2 root. expect_exit: 0
license_tier: ORIGINAL
genealogy_id: project-hvac-efficiency-sclass-2026-06-23
+ project-nishi-sensor-gap-census-2026-07-14 (census discipline)
dependencies 7 imports · 0 importers
imports: syscalls.nxruntime.nxnx_axioms.nxnx_psychrometrics.nxnx_ac_enthalpy_metrics.nxnx_ac_sensor_verify.nxnx_ac_fdd.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
| 45 | const K_PSY_T25_mC: i64 = 25000 |
| 46 | const K_PSY_PSAT_25C_PA: i64 = 3170 |
| 47 | const K_PSY_T20_mC: i64 = 20000 |
| 48 | const K_PSY_PSAT_20C_PA: i64 = 2339 |
| 49 | const K_PSY_ENTHALPY_25C_60RH: i64 = 55460 |
| 50 | const K_NEGCTL_WRONG_PSAT_PA: i64 = 9999 // deliberately NOT psat(25C): the neg-control must NOT match |
| 53 | const K_COP_HEAT_W: i64 = 10800 |
| 54 | const K_COP_ELEC_W: i64 = 3000 |
| 55 | const K_CARNOT_COLD_mC: i64 = 24000 |
| 56 | const K_CARNOT_HOT_mC: i64 = 35000 |
| 57 | const K_CARNOT_COP_X100: i64 = 2701 |
| 58 | const K_EER_AT_COP360_X100: i64 = 1228 |
| 61 | const K_RDG_SUPPLY_mC: i64 = 12000 |
| 62 | const K_RDG_RETURN_mC: i64 = 24000 |
| 63 | const K_RDG_RETURN_B_mC: i64 = 27000 |
| 64 | const K_RDG_AIRFLOW_CFM: i64 = 1200 |
| 65 | const K_RDG_RHO_G_M3: i64 = 1200 // same number as the airflow above, unrelated quantity |
| 66 | const K_RDG_ELEC_W: i64 = 3000 |
| 67 | const K_RH_IMPOSSIBLE_pm: i64 = 1500 // above 1000 per-mille is impossible -> must read IMPLAUSIBLE |
| 70 | const K_FDD_TARGET_SUPERHEAT_mC: i64 = 8333 |
| 71 | const K_FDD_SUPERHEAT_BAND_mC: i64 = 2778 |
| 72 | const K_FDD_TARGET_SUBCOOL_mC: i64 = 5556 |
| 73 | const K_FDD_SPLIT_CEILING_mC: i64 = 13889 |
| 74 | const K_FDD_COND_CEILING_mC: i64 = 25000 // same number as the 25 C reference above, unrelated quantity |
| 77 | const K_FDD_SUPERHEAT_HIGH_mC: i64 = 17000 |
| 78 | const K_FDD_SUBCOOL_LOW_mC: i64 = 1500 // same number as the impossible RH above, unrelated quantity |
| 79 | const K_FDD_SUCTION_SAT_mC: i64 = 5000 |
| 80 | const K_FDD_EVAP_SPLIT_mC: i64 = 11000 |
| 81 | const K_FDD_COND_OVER_AMBIENT_mC: i64 = 15000 |
| 82 | const K_FDD_SUPERHEAT_LOW_mC: i64 = 6000 |
| 83 | const K_FDD_SUBCOOL_HIGH_mC: i64 = 12000 // same number as the supply temp above, unrelated quantity |
| 84 | const K_FDD_FREEZE_SUCTION_mC: i64 = 2000 |
functions
| 89 | func w_psychro() -> i64 |
| 97 | func w_metrics() -> i64 |
| 105 | func w_drift() -> i64 |
| 111 | func w_liarkill() -> i64 |
| 140 | func w_independence() -> i64 |
| 167 | func w_fdd() -> i64 |
| 206 | func w_negctl() -> i64 |
| 212 | func row(status: *u8, cap: *u8, ev: *u8) -> i64 |
| 222 | func main() -> i64 |