code wiki / _hdl_build / nx_doctor_fix_test.nx
nx_doctor_fix_test.nx
buildroot/runtime/_hdl_build/nx_doctor_fix_test.nx
about
nx_doctor_fix_test.nx -- autonomous self-heal with CLEAN RACI (roles non-blurred):
ENGINEER (R: detect/verify) eng_compile -> sees the compile failure
DOCTOR (R: fix) doc_heal -> renames the reserved identifier
ENGINEER (R: verify) eng_compile -> re-verifies the healed candidate
WARDEN/COUNCIL (A: govern) cc_council -> ACTs only on the Engineer's verdict
The fixer (Doctor) never verifies or blesses its own work -- that is the Engineer's
and the Council's job. This is the crew's checks-and-balances, not one organ doing
everything. Known answer: original FAILS, healed COMPILES, council ACT -> exit 0.
dependencies 3 imports · 0 importers
imports: nx_doctor_fix.nxnx_engineer_crash.nxnx_crew_council.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
| none |
functions
| 14 | func df_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 15 | func df_num(v: i64) -> i64 called by 1: main |
| 24 | func main() -> i64 |