code wiki / _hdl_build / nx_overnight_conductor.nx

nx_overnight_conductor.nx

buildroot/runtime/_hdl_build/nx_overnight_conductor.nx

5383 B81 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_overnight_conductor.nx -- the self-improvement CREW, clean RACI, orchestrated. No one organ does another's job: ENGINEER monitors + VERIFIES the run, and passes BAD to the Doctor (detect/verify only). DOCTOR HEALS the bad with its toolkit -- here a broken/miscompiled build is healed by doc_rebuild (regenerate a fresh build; the compiler is non-deterministic). The Doctor PAUSES the run for a build-heal (the artifact must be sound before it runs again); other heals could run in PARALLEL with the work -- the Doctor picks per the situation. BUILDER when the Doctor's existing toolkit CANNOT heal it (it persists across fresh rebuilds -> a real deterministic bug / a missing capability), the Conductor hands it to the BUILDER to ARCHITECT + build NEW functionality and test whether it addresses the problem. Until the team can author that itself, the Builder records the architecture and escalates to human review (the M0 supervised step). CONDUCTOR orchestrates the beats; WARDEN/COUNCIL govern (additive-only, escalation logged). The Conductor never fixes, the Doctor never verifies its own fix, the Engineer never heals. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_doctor_build.nx nx_engineer_crash.nx nx_crew_scribe.nx nx_overnight_conductor.nx

imports: nx_doctor_build.nxnx_engineer_crash.nxnx_crew_scribe.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main cd_puts scribe sys_mmap sc_app sc_appn sys_mmap ↻ sc_org sc_kind sc_verdict sc_slen sys_write sys_openat_append sys_close doc_rebuild sys_mmap ↻ sys_fork sys_openat_wr sys_dup3 sys_close ↻ sys_execve sys_exit sys_wait4 sys_openat_rd sys_read eng_run sys_mmap ↻ sys_fork ↻ sys_openat_wr ↻ sys_dup3 ↻ sys_close ↻ sys_execve ↻ sys_exit ↻ sys_wait4 ↻ eng_crashed

structs

none

consts

none

functions

22func cd_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
23func cd_num(v: i64) -> i64
31func cd_log(s: *u8) -> i64
39func main() -> i64