code wiki / _hdl_build / nx_wirecensus.nx
nx_wirecensus.nx
buildroot/runtime/_hdl_build/nx_wirecensus.nx
about
nx_wirecensus.nx -- THE NISHI KNIP, RUNG 1 (S4: registered but never called).
nx_wirecensus [allowlist] [cap_consent.log] [actlog.jrnl]
defaults: tool_allowlist.conf cap_consent.log knowledge/status/actlog.jrnl
WHY ONE ORGAN AND NOT FOUR (July-2026 SOTA, id=1785451391): Knip finds unused files, exports,
dependencies and devDependencies in ONE run over a whole monorepo -- ~300k weekly downloads, and
Vercel deleted ~300k lines with it. Our equivalent is FRAGMENTED across nx_adopt (functions),
nx_dupfunc (duplicate bodies), nx_srcdiverge (trees) and nx_toolreg_reconcile (registry): four
organs, four invocations, no single verdict -- and a census nobody runs in one look is a census
nobody runs. This organ is the consolidation point. Rung 1 is S4 because it is the class our
STATIC censuses structurally cannot see, and because the field's biggest win (16k lines, 35 pct of
an Express codebase) came from exactly this cross-reference: live evidence x declared surface.
THE SIX CLASSES, so the shape is on the record even where unimplemented:
S1 defined, zero EXTERNAL callers ............ nx_adopt answers this today
S2 in SOURCE but in no shipped BINARY ........ open
S3 built+promoted but never REGISTERED ....... open
S4 registered but never AUTHORISED or CALLED . THIS ORGAN
S5 conf row present, no consumer re-read it .. nx_toolreg_reconcile now upserts on drift
S6 on the NAS but absent from the SSOT tree .. nx_srcdiverge_gate exists, stranded
REFUSES RATHER THAN BLESSES: no allowlist, or zero registered tools, exits 2. "0 dark" computed
from an empty declared surface reads as a clean bill of health while guaranteeing nothing.
license_tier: ORIGINAL Read-only. No hw writes (Rule 26). expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_wirecensus_lib.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
| 28 | const WCO_OUT: i64 = 262144 |
| 29 | const WCO_LIST: i64 = 60 |
functions
| 31 | func wco_cat(o: *u8, at: i64, s: *u8) -> i64 called by 1: main |
| 37 | func wco_num(o: *u8, at: i64, v: i64) -> i64 called by 1: main |
| 48 | func main(argc: i64, argv: *i64) -> i64 |