code wiki / _hdl_build / nx_nightly_maintenance.nx
nx_nightly_maintenance.nx
buildroot/runtime/_hdl_build/nx_nightly_maintenance.nx
about
nx_nightly_maintenance.nx -- the team's NIGHTLY CLOSE, like a store shutting down for the night
(operator): when work winds down, every organ runs its closing task so the ecosystem opens clean
the next day. The Conductor orchestrates; each organ does ONE closing job and reports issues that
go on the MORNING LIST (nothing is hidden, nothing is auto-deleted -- additive only):
LIBRARIAN -- CITATION AUDIT: every artifact/finding must carry citations; count the uncited.
ENGINEER -- INVENTORY: count capabilities, confirm every one has a verifying GATE; count gaps.
GENEALOGIST -- SPRAWL SCAN: exact + near duplicate pairs across the registry.
CARETAKER -- PRUNE PLAN: pending safe soft-retires (the gardener's to-do, never auto-applied).
CRITIC -- BLIND-SPOT SWEEP: beliefs leaned on without a red-team.
SCORECARD -- REGRESSION CHECK: any teammate weaker than yesterday.
The store CLOSES CLEAN only when every check is zero; otherwise it leaves a morning list. RACI: the
Conductor runs the close, each organ owns its check, the Scribe logs it. license_tier: ORIGINAL
dependencies 3 imports · 1 importers
imports: nx_genealogist.nxnx_caretaker.nxnx_syscalls.nx
imported by: nx_nightly_maintenance_test.nx
structs
| none |
consts
| 18 | const NM_CLEAN: i64 = 0 |
| 19 | const NM_ISSUES: i64 = 1 |
functions
| 22 | func nm_citation_audit(n: i64, cited: *i64) -> i64 called by 1: main |
| 29 | func nm_inventory_missing_gates(n: i64, has_gate: *i64) -> i64 called by 1: main |
| 36 | func nm_inventory_proven(n: i64, proven: *i64) -> i64 called by 1: main |
| 43 | func nm_morning_list(uncited: i64, missing_gates: i64, sprawl: i64, pending_prunes: i64, blindspots: i64, regressions: i64) -> i64 |
| 48 | func nm_nightly_close(uncited: i64, missing_gates: i64, sprawl: i64, pending_prunes: i64, blindspots: i64, regressions: i64) -> i64 |