code wiki / _hdl_build / nx_self_heal_conductor.nx

nx_self_heal_conductor.nx

buildroot/runtime/_hdl_build/nx_self_heal_conductor.nx

3489 B62 linesdepth 3pulls 6 transitivereach 3 importersview sourcekind librarytopic self
docsdependenciesstructsconstsfunctions

about

nx_self_heal_conductor.nx -- the CONDUCTOR's autonomous self-heal BEAT. The Conductor ORCHESTRATES the organs into one Warden-gated tick; it does NOT itself fix, verify, or admit (RACI stays clean). One beat: WARDEN gate the I/O -- candidate must be an additive CREATE; the original source MUST be overwrite-DENIED (the protection we rely on) ENGINEER detect+capture -- eng_compile_diag finds the failure + its diagnostic DOCTOR diagnose+fix -- learns the token, writes the healed CANDIDATE (new file) ENGINEER verify -- eng_compile re-verifies the candidate (separate organ) COUNCIL admit -- cc_council ACTs only on the Engineer's verdict + Warden safety The healed candidate is ALWAYS a new additive path; the protected .nx source is never clobbered. This is the callable unit the live autonomous tick drives. license_tier: ORIGINAL

dependencies 4 imports · 2 importers

nx_engineer_crash.nx nx_doctor_fix.nx nx_warden_paths.nx nx_crew_council.nx nx_self_heal_conductor.nx nx_conductor_recall.nx nx_self_heal_conductor_test.nx

imports: nx_engineer_crash.nxnx_doctor_fix.nxnx_warden_paths.nxnx_crew_council.nx

imported by: nx_conductor_recall.nxnx_self_heal_conductor_test.nx

structs

none

consts

18const COND_CLEAN: i64 = 100 // original already compiles -- nothing to heal
19const COND_UNFIXABLE: i64 = 101 // failed, but not a class the Doctor fixes -> give up

functions

24func cond_heal_beat(compiler: *u8, orig: *u8, candidate: *u8, out: *i64) -> i64
58func cond_beat_name(v: i64) -> *u8