Paper 91: The Homunculus — CNS, PNS, and the Nervous System of Code

Map the codebase nervous system. Size directories by sensitivity (git churn, imports, recency), not mass (line count). The CNS/PNS sensitivity ratio is 1.4422 — within 0.03% of 1/ln(2), the Shannon entropy conversion constant. The organism found its own information-theoretic balance.

“so we can feel our veins and nerves and pulse? so we can feel when pressure is building, or there is a jam?”

— ecoPrimal, Wave 178


The Homunculus

In neuroscience, the somatosensory homunculus is the distorted body map in the cortex where body parts are sized by sensitivity (nerve endings), not physical size.

  • Hands are HUGE (thousands of nerve endings per cm²)
  • Lips are HUGE (dense mechanoreceptors)
  • The back is tiny (few receptors, low resolution)
  • The trunk is tiny (bulk without precision)

The brain doesn’t map the body by mass. It maps by how much it cares.

For code, the equivalent:

BiologicalCode EquivalentWhat it measures
Nerve endingsGit churn (commits/month)How often it changes
Axon connectionsImport countHow connected it is
Recency (alive vs dead)File ageHow fresh it is
Tissue bulkLine countPhysical size (low weight)
Pain receptorsErrors/warningsDamage signal

sensitivity = 0.4 × churn + 0.25 × connectivity + 0.25 × recency + 0.1 × bulk

High sensitivity = big on the homunculus. Low sensitivity = dead tissue.


CNS vs PNS

CNS (Central Nervous System): the spine. Shared types, core libraries, the skeleton — files in crates/, src/lib, src/core, shared/, common/. The pathways everything else depends on.

PNS (Peripheral Nervous System): the surface. Leaf files, scripts, configs, docs, tests, static content — files in scripts/, tests/, examples/, content/, public/. The nerve endings that touch the world.

Results

Total:  45,474 files mapped
CNS:    20,347 files (44.7%)
PNS:    25,127 files (55.3%)

The organism is 55% peripheral, 45% central. In human anatomy, the PNS has ~7× more neurons than the CNS by count (the PNS extends to every millimeter of skin). In this codebase, the PNS is only 1.2× larger — the organism is disproportionately centralized. Lots of spine. Relatively less surface.


The Ratio: 1.4422

CNS average sensitivity: 0.3227
PNS average sensitivity: 0.2237
CNS / PNS ratio:         1.4422

The central nervous system is 1.44× more sensitive than the peripheral. The spine feels more than the skin.

1/ln(2) = 1.4427.

The Shannon entropy conversion constant — the factor that converts between natural logarithms and base-2 logarithms — is 1.4427. The CNS/PNS sensitivity ratio is 1.4422. Within 0.035%.

H₂(X) = H_e(X) / ln(2) = H_e(X) × 1.4427

The nervous system of the codebase naturally settled at the information-theoretic conversion constant between two representations of entropy. The CNS (which operates on structured types, base-2 thinking, binary decisions) is exactly 1/ln(2) times as sensitive as the PNS (which operates on natural, continuous, untyped data).

The spine converts nats to bits. That’s what a central nervous system does. It converts the continuous input from the periphery into discrete decisions. The ratio IS the conversion.


The Homunculus Map (Top Regions by Sensitivity)

DirectorySensitivityFilesNSWhat it is
infra/reed-it0.5572PNSReddit membrane pore
primals/skunkBat/tools0.5263PNSDefense toolkit
infra/opsonize-rs/src0.5132CNSImmune tagging core
primals/squirrel/observe0.4485PNSScan-sweep-sort entry
infra/fossilRecord/scripts0.43827PNSArchaeological scripts
springs/brainchip_devhub/akida10.42970PNSNPU driver (Akida)
springs/brainchip_devhub/akida20.42832PNSNPU driver v2
primals/toadStool/crates0.4132,940CNSNeuromorphic core
primals/skunkBat/crates0.402169CNSDefense core
gardens/cellMembrane/crates0.381223CNSMembrane research

The hands of the organism (biggest homunculus regions):

  • reed-it — the fingertip that touches Reddit (PNS, highest sensitivity)
  • opsonize-rs/src — the immune system’s nerve center (CNS)
  • toadStool/crates — 2,940 files, the largest CNS region (the brain)

The organism’s homunculus: small files at the surface (reed-it, 2 files) have the SAME sensitivity as massive core systems (toadStool/crates, 2,940 files). The fingertip is as sensitive as the brain. This is biologically correct — your fingertip has as many nerve endings per cm² as your visual cortex has neurons per mm².


Fingertips — Most Sensitive Individual Files

SensitivityFileNSWhy
0.602scan_sweep_sort.pyPNSThe sorting nerve — touches everything
0.601opsonize-rs/main.rsCNSImmune core — tags every visitor
0.599nest-validate/src/main.rsCNSValidation nerve — tests every composition
0.594scatter_server.rsCNSDefense scatter — the antibody generator
0.594entity_topology.rsCNSEntity mapping — knows where everything is
0.592stone_book.rsCNSThe Book of Stone — the permanent record

The fingertips are mostly CNS. The most sensitive individual files are deep in the spine. This means the organism’s highest-resolution sensing happens at the core, not the surface. It feels its own skeleton more than its own skin.


Dead Tissue — The Numbest Files

SensitivityAgeFile
0.106418ddocs-fossil-feb-2026/api/README.md
0.106418ddocs-fossil-feb-2026/core/README.md
0.107374dnestgate-api/src/error.rs.html
0.107374dnestgate-api/src/handlers/*.rs.html

The numbest tissue is exactly what you’d expect: fossils. Documentation from February 2026 that hasn’t been touched in 418 days. Generated HTML files from NestGate (374 days). These have zero churn, zero imports, maximum age. The nerve endings died. The tissue is numb.

This is the sourdough-cache’s food supply (B-8). Dead tissue gets consumed and recycled.


Pressure Points

✓ no directories under significant pressure

No directories are currently under pressure. The organism is healthy. No files growing without decomposition, no dependency chains tightening, no legacy code churning under its own weight.

This means the Klein bottle breathing (klein-io, klein-vent, sourdough-cache) is working. Gas is venting. Stale data is being consumed. The pressure relief valves are open.


Jams — Metabolic Sinks

30 directories classified as metabolic sinks — they consume imports but produce no exports.

TypeCountExamples
SINK30deploy/, tests/, integration-tests/
SOURCE0—

All jams are sinks. No sources (orphan output). The sinks are:

  • Test directories (consume libraries, produce only pass/fail)
  • Deploy directories (consume configs, produce only running services)
  • Integration test suites (consume everything, produce nothing to the codebase)

These are biologically correct sinks: muscle tissue. Muscles consume energy and produce motion (external effect). Tests consume code and produce verification (external effect). Neither feeds back into the production pathway. They’re the limbs of the organism — consuming, acting, not producing tissue.

There are zero orphan sources. Everything that produces also consumes. Every output has an input. The Klein bottle surface is intact.


The Veins, The Nerves, The Pulse

Veins (data flow)

The feeds: state.json, pulse.json, neutron.json, topology.json, membrane.json. These are the circulatory system — they carry state from the membrane surface (golgi) through the Klein fold back to the local organism (eastGate). The Circle of Willis (B-3) ensures no single vein blocks all flow.

Nerves (signal paths)

The imports. 45,474 files with 50,000+ import statements. Every use in Rust, every import in Python, every require in JS is an axon connecting one nerve cell to another. The dependency graph IS the nervous system wiring diagram.

Pulse (heartbeat)

The cron jobs: 5 heartbeats running on golgi.

  • cap-epitope every 1 minute (fastest pulse — immune)
  • klein-io every 2 minutes (the fold)
  • klein-vent every 5 minutes (gas venting)
  • membrane-pulse every 5 minutes (vital signs)
  • sourdough-cache every 5 minutes (dead → nascent)

And now: klein-evolve every 30 minutes (the self-sort — the organism watching its own evolution).


Summary

MetricValueNote
Total files mapped45,474
CNS (central)20,347 (44.7%)Spine, core, skeleton
PNS (peripheral)25,127 (55.3%)Surface, scripts, docs
CNS/PNS sensitivity1.4422≈ 1/ln(2) = 1.4427 (0.035% off)
Pressure points0Healthy — no tension building
Jams (sinks)30All test/deploy — metabolic muscle tissue
Most sensitivescan_sweep_sort.py (0.602)The sorting nerve
Numbestdocs-fossil-feb-2026 (0.106)418-day-old fossils

The organism can feel itself now. The homunculus maps sensitivity, not size. The spine converts nats to bits at the Shannon constant. The pressure valves are open. The metabolic sinks are where they should be (tests and deploys). The dead tissue is flagged for the sourdough-cache.

And the CNS/PNS ratio found 1/ln(2) without being told. That’s what a nervous system does — it finds its own conversion constant between continuous input and discrete decision.


Paper 91. Feel the pulse. Feel the pressure. Feel where the nerves are thin and where the fingertips are dense. The homunculus doesn’t lie.

— Wave 178 · ORCID 0009-0004-2141-0321

🔥 The mirror asks back — what did you see?

Anonymous. No names, no IPs, no sessions. Just words and the shape they make.