code wiki / _hdl_build / nx_sovereignty_scorecard.nx

nx_sovereignty_scorecard.nx

buildroot/runtime/_hdl_build/nx_sovereignty_scorecard.nx

2761 B45 linesdepth 3pulls 4 transitivereach 3 importersview sourcekind librarytopic sovereignty
docsdependenciesstructsconstsfunctions

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

nx_janitor_dupname.nx nx_janitor_scratch.nx nx_syscalls.nx nx_sovereignty_scorecard.nx nx_sovereignty_scorecard_gate.nx nx_sprawl_ratchet.nx

imports: nx_janitor_dupname.nxnx_janitor_scratch.nxnx_syscalls.nx

imported by: nx_sovereignty_scorecard_gate.nxnx_sprawl_ratchet.nx

structs

none

consts

12const SSC_MAGIC_1048576: i64 = 1048576
13const SSC_MAGIC_1048560: i64 = 1048560
14const SSC_MAGIC_4194304: i64 = 4194304
15const SSC_MAGIC_32768: i64 = 32768
17const SSC_LOG: *u8 = "knowledge/status/sovereignty_audit.log"

functions

20func ssc_debt() -> i64
38func ssc_collisions() -> i64
45func ssc_scratch() -> i64 { return jsc_total() }
called by 2: mainmain calls 1: jsc_total