code wiki / _hdl_build / nx_sovereignty_scorecard.nx
nx_sovereignty_scorecard.nx
buildroot/runtime/_hdl_build/nx_sovereignty_scorecard.nx
about
nx_sovereignty_scorecard.nx -- ONE unified, read-only view of the ecosystem's cleanliness, composing every
detector built this arc so "are we clean + staying clean?" is a single observable, not five scattered gates:
AXIS 1 THIRD-PARTY DEBT = the auditor's genuine_debt (by-extension contaminants), read from its log.
AXIS 2 SHADOW COLLISIONS = duplicate organ names where the wrong organ runs by name (nx_janitor_dupname).
AXIS 3 SCRATCH ACCUMULATION = build/test scratch piled up across the scratch zones (nx_janitor_scratch).
Each axis is the operator's "keep it gone" goal generalized: the debt-ratchet already locks AXIS 1; this
surfaces all three together so the whole sprawl picture can be tracked + ratcheted, not just one number.
READ-ONLY (never-brick): composes the existing detectors, writes nothing. Sovereign. license_tier: ORIGINAL
dependencies 3 imports · 2 importers
imports: nx_janitor_dupname.nxnx_janitor_scratch.nxnx_syscalls.nx
imported by: nx_sovereignty_scorecard_gate.nxnx_sprawl_ratchet.nx
structs
| none |
consts
| 12 | const SSC_MAGIC_1048576: i64 = 1048576 |
| 13 | const SSC_MAGIC_1048560: i64 = 1048560 |
| 14 | const SSC_MAGIC_4194304: i64 = 4194304 |
| 15 | const SSC_MAGIC_32768: i64 = 32768 |
| 17 | const SSC_LOG: *u8 = "knowledge/status/sovereignty_audit.log" |
functions
| 20 | func ssc_debt() -> i64 |
| 38 | func ssc_collisions() -> i64 |
| 45 | func ssc_scratch() -> i64 { return jsc_total() } |