code wiki / _hdl_build / nx_doctor_heal_test.nx
nx_doctor_heal_test.nx
buildroot/runtime/_hdl_build/nx_doctor_heal_test.nx
about
nx_doctor_heal_test.nx -- the AUTO-FIX leg: the Doctor heals the loop UNDER
GOVERNANCE. Detect a problem -> propose a fix -> the crew gauntlet (the WARDEN
derives safety from the fix's target PATH; the ENGINEER requires the fix to
re-verify) -> APPLY only if cleared. So the loop heals itself but can never
clobber a canonical asset and never ships an unverified patch.
This closes the last [next] autonomy item (auto-FIX in the governed tick),
composing nx_warden_paths (path safety) + nx_crew_council (3->2->1) + verify.
APPLY additive + re-verified fix (e.g. ADD a missing regression gate)
DENY a fix that would OVERWRITE the known-good compiler (Warden hard-no)
ESCALATE a fix that does not re-verify sound (Engineer -> operator)
Known answer: 3 detected problems -> 1 APPLIED, 1 DENIED, 1 ESCALATED. exit 0.
dependencies 2 imports · 0 importers
imports: nx_crew_council.nxnx_warden_paths.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
| 19 | const DH_N: i64 = 3 |
functions
| 21 | func main() -> i64 |