← The living map spec / 14-programs

14. Enabling programs

Status: Proposals, 2026-10-07. None of this is current design. Each entry is a standalone computational program that CAKE, its three sister projects and other whole-nervous-system efforts could share. The sister projects, abbreviated below, are:

Each program supplies an input the spec currently assumes, or removes a bottleneck named in 10-risks.md or 13-proposals.md. Entries give the gap, a literature novelty check, an MVP scope and a pre-registerable test with a kill condition. Adoption of any of them goes through the decision log (decisions.md).

Citations marked (verify) were found only through search snippets or were not fetched, and must be confirmed before they enter references.md.

Novelty check: method and summary

On 2026-10-07, four searches (one per group of three programs) covered papers, preprints and package indexes, with 4–10 queries per program. Most items were read at the abstract or snippet level. GitHub and PyPI were not searched directly; repositories were found only where general search returned them. "Not found" therefore means not found by these queries. A repository-level search is still owed for C1, C3 and C9.

# Program Verdict Closest prior work Main consumer In sister projects
C1 Literature compiler for worm and fly physiology Novel NeuroElectro (mammalian, manual) E1, E5; L2 priors; MC M5 FB hand-coded targets; WS phenotype registry planned
C2 Gating kinetics from sequence Partial OpenWorm DD025 (proposed, no results found) L2; MC M5-R1 None (no channel models in WS or FB)
C3 Probabilistic signed, receptor-typed connectome Partial (worm), novel (fly) Fenyves et al. 2020 (worm, deterministic) L3; MC M6-R3, K3 WS Fenyves + CeNGEN rule and sign probe; FB graded transmitter sign
C4 Gap-junction prior from contactome × innexins Partial (worm), novel (fly) Barabási & Barabási 2020 (worm, binary adjacency) L4, H3; MC M4 gap head FB: one hand-added gap (GF→TTMn); WS: gap rectification groups
C5 Spatial volume-transmission kernels Partial Ripoll-Sánchez et al. 2023 (expression only) L5, H3; MC §12.5 WS well-mixed modulator pools; FB octopamine operators (negative)
C6 Error-certified reducer for EM neurons Partial NEAT (Wybo et al. 2021) N1 rung; B1; MC M6/M7 FB size-scaled point neurons
C7 Virtual microscope Partial NAOMi (mouse 2P); SINETRA (tracking only) D3 likelihood; I2; MC M9 gauge WS preprocessing audit; MC M9
C8 Synthetic organisms (perfect-model test beds) Partial, close to novel In silico zebrafish (Lueckmann et al. 2026) M3; MC Phase 1 diagnosis FB synthetic individuals and identification test; WS synthetic engineering checks
C9 Differentiable sensory front-ends Partial flygym, FlyBrainLab, drosolf, mod-SenseWorm L8, E4; MC M13 FB flyvis eye, analytic odour/touch encoders
C10 Connectome-aware experiment planner Partial Beiran & Litwin-Kumar 2024; Wagenmaker et al. 2024 Active learning; commissioned data; MC M11 FB rankExperiments; MC M11
C11 Generative model of connectome variability Partial Richter & Schneidman 2024; Schlegel et al. 2024 Developmental wiring model; E6; MC Track I WS and FB left–right reliability models
C12 Within-type channel covariance atlas Novel Schulz, Goaillard & Marder 2006 (crab, qPCR) F4; spec/13 smaller proposals None

What the sister projects have already measured

The three sister projects have run into the problems these programs address. Their results change several scopes and the priority order.

MC Phase 0 (MC spec §10.2, public worm data):

WS (MOLECULAR-PRIORS, MOLECULAR-SIGN-PROBE, MIRROR-RELIABILITY, LEVEL0-CAPACITY-PROTOCOL, PREPROCESSING-AUDIT):

FB (31-ablation-ladder, 32-synapse-uncertainty, 34-individual-validation, 30-hypothesis-lab, 40-oa-operators, 10-senses):

Cross-project pattern. All four projects are stalled at the same kind of question: is a failure caused by the model, the data or the fit?

None has a known-answer control at its own scale. That makes C8 the top priority. Two other programs are cheap because the precursors already exist: WS and FB each built a left–right reliability model independently (C11), and both import transmitter-based signs (C3).


Data the field lacks

C1. Literature compiler for worm and fly physiology

Gap. E1 needs per-type electrophysiology, E5 needs quantitative perturbation effects, and L2 needs kinetic priors. For worms and flies all three are scattered across about 10⁴ papers, often only as figures. WormBase phenotypes are qualitative. MC's Phase 1 curated its kinetic family records by hand.

Program. An extraction pipeline, with an LLM doing the first pass and curators confirming it. It writes a provenance-linked database of three record types:

Every record points to a figure, table or sentence. Figure values go through a digitizer with recorded pixel uncertainty.

Sister projects.

C1 replaces all three hand-built tables with one shared table.

Novelty. Not found for any invertebrate.

MVP.

Test.

C2. Gating kinetics from sequence

Gap. L2 lists genes without measured kinetics as a risk and falls back on homology priors. MC M5-R1 assigns priors from curated families, because protein-language-model neighbours failed its family-recovery check.

Program. A regression from channel protein sequence (embeddings plus structure features of the voltage sensor and pore) to Hodgkin–Huxley parameters: V½ and slope of activation and inactivation, and the voltage dependence of τ. Its uncertainty must be calibrated, and it must widen with distance from the training data. Training data are characterized channels and variants: published variant electrophysiology for KCNQ1, KCNH2, SCN5A and Kv families, deep mutational scans where they report gating, and C1 records.

Novelty. Partial.

No calibrated cross-family regression was found.

Sister projects. Neither WS (Level 0 graded neurons) nor FB (LIF point neurons) models ion channels yet, so MC is the only near-term consumer. FB's ablation ladder also suggests a lower priority for flies: at the behavioural level, graded weights cost more to remove than any cellular mechanism.

MVP.

Test.

C3. Probabilistic signed, receptor-typed connectome

Gap.

Program. For every edge, a posterior over the receptor classes present and the sign. It combines:

The sign is reported as a function of E_Cl, not as one number. The main derived output is a chloride leverage map: the edges and types whose sign flips across the E_Cl prior, ranked by how much they change E2 predictions.

Novelty.

Sister projects. WS and FB both use transmitter-based signs, and their results set the output format.

MVP.

Test.

C4. Gap-junction prior from contactome × innexin expression

Gap. Fly EM connectomes show no gap junctions, and L4 has to infer them from model residuals. MC M4 has a gap-junction head that takes contact areas a_ij as input, but no fly contact areas exist.

Program.

  1. A whole-brain fly contactome: membrane contact area between every pair of touching neurons, computed from FlyWire, BANC and male-CNS meshes.
  2. Innexin expression by cell type from the Fly Cell Atlas, combined with hemichannel pairing rules, including heterotypic and rectifying ShakB isoform pairs.
  3. A model P(gap junction | contact area, innexin pair compatibility, type), fitted on the worm, where gap junctions are annotated in EM. Contact areas there come from Brittin et al. 2021 and innexin expression from CeNGEN and the Bhattacharya map.
  4. The fitted form, transferred to the fly with the fly's own innexin biology.

Novelty.

Sister projects.

MVP.

Test.

C5. Spatial volume-transmission kernels

Gap. L5 and MC §12.5 couple peptides either all-to-all or with one decay length. The worm neuropeptide connectome (Ripoll-Sánchez et al. 2023) is expression-based, with short-, mid- and long-range variants defined by anatomy, not by release geometry.

Program. Dense-core vesicle (DCV) detection in EM, release-site maps per neuron, and diffusion with uptake through the extracellular space. Where fixation does not preserve extracellular space, a tortuosity parameter stands in for it. The result is combined with receptor expression to give per-peptide coupling kernels for every pair of neurons.

Novelty. Partial: each component exists, and the pipeline does not.

Why it is last. MC's K2 found no gain from peptidergic heads on the worm causal atlas, in agreement with Creamer et al. 2024. A spatial kernel helps only if the residual signal exists.

Sister projects.

Both point to the same first step: a provenance-carrying, non-spatial map (which neurons release which peptide or amine, and which express its receptors), built with C1's machinery. Spatial kernels come after that map exists.

MVP (a kill test first). Use the Randi et al. 2023 atlas and the existing unc-31 comparison. Compare the residuals of a synapse-only model on pairs without a wired connection, with and without the Ripoll-Sánchez mid-range variant as a regressor. Continue to DCV detection only if this gives a positive held-out gain, with the 95% interval excluding zero.

Test (if continued). The predicted kernel must explain held-out unc-31-dependent responses better than the expression-only graph. It must also reproduce at least one measured spatially restricted peptide effect, frozen as a target before fitting.

C6. Error-certified reducer for EM neurons

Gap. The N1 rung of the fidelity lattice (06-compute.md §3) needs reduced neurons with certified error over a declared domain. B1 found that cable parameters and diameters dominate the uncertainty. MC's full morphology reduction (M6 and M7) is a later delivery.

Program.

Novelty. Partial.

No certified, uncertainty-aware batch reducer for EM data was found.

Sister projects. FB's point neurons scale PSPs by neuron volume to the power −0.57, and removing even that crude morphology costs 0.327. FB is therefore the fly-scale test of whether N1 reductions beat a size-scaled point neuron at behaviour level. Its packed graph does not keep synapse positions, so C6 has to export per-synapse compartment assignments with the reduced models.

MVP.

Test.


Simulation infrastructure

C7. Virtual microscope

Gap.

Program. A renderer from simulated Ca²⁺ (and, optionally, voltage) to raw volumes for named rigs. It models:

Existing extraction and identification pipelines are then run on the rendered volumes, so their errors become part of the observation model and can be measured.

Novelty. Partial.

No activity-to-raw-volume renderer for worm or fly was found.

Sister projects. WS's preprocessing audit shows that the public worm data are not raw:

D3 asks for likelihoods against raw fluorescence, and that cannot be met on these datasets. C7 must therefore render through the published preprocessing as well as to raw volumes, so that preprocessing bias can be measured and models scored like-for-like. WS supplies the audits and the confidence-weighted masking convention.

MVP.

Test.

C8. Synthetic organisms

Gap. Every inference method in the field is tested on its authors' own toy problem. Neither CAKE's M3 nor MC's Phase 1 can tell whether a failure means the model is wrong, the data are insufficient or training is inadequate. MC's B0 tie is exactly this ambiguity.

Program. A library of fully specified worm-scale synthetic organisms. Each has:

Each organism generates datasets that match real designs: the neurons imaged in Randi et al. and Atanas et al., the same stimulations, durations, observation noise, and C7 rendering where available.

Two uses:

Novelty. Partial, close to novel at this scale.

No connectome-constrained, design-matched worm test bed was found.

Sister projects.

MVP.

Test.

C9. Differentiable sensory front-ends

Gap. L8 and MC M13 close the loop through a body, but sensing is hand-coded per project. E4 tasks such as chemotaxis, thermotaxis and odour-guided walking depend on stimulus-to-receptor mappings that no shared library validates.

Program. A library of transduction modules with one interface. Each module maps a stimulus field at the sensor to a receptor-neuron current, with adaptation, and is fitted to and validated against recordings. The library is differentiable throughout and runs with JAX and the MC or CAKE engines. Initial modules:

Novelty. Partial: the components exist separately.

No worm-side library and no unified, validated, differentiable one were found.

Sister projects.

So the fly MVP is olfaction with presynaptic gain control, not vision.

MVP. AFD and ASE modules plus fly ORNs for 20 DoOR odorants with presynaptic gain control, each with a validation report, plus adapters to flygym and the MC M13 body ladder.

Test.


Inference and experiment design

C10. Connectome-aware experiment planner

Gap. CAKE's active learning (05-inference.md) and MC M11 rank experiments inside their own pipelines. Labs need a planner they can run before they build a strain or book a rig. It should say which neurons to image and stimulate, at what frame rate and for how long, and what each choice buys.

Program. The planner takes a connectome, a reduced or linearized model with a parameter prior, a candidate design and an observation model (C7 when available). It returns:

It runs locally from a config file and reports its assumptions.

Novelty. Partial.

No pre-experiment planner for connectome-constrained models was found.

Sister projects.

MVP.

Test.

C11. Generative model of connectome variability

Gap. Each connectome is used as if it were the animal. CAKE's developmental wiring model and E6 need an explicit split between age trend, individual deviation and reconstruction error. MC Track I found no individual latent in responses; whether wiring differences predict individuality is untested.

Program. One hierarchical model fitted jointly across the worm series and the fly connectomes. Worm datasets: Witvliet 2021 (8 stages), Cook 2019 and adult datasets from 2024–2026. Fly datasets: FlyWire, hemibrain, MANC, FANC, BANC and male CNS. Left–right homologues serve as within-animal replicates. For each edge it estimates the age trend, individual variance and detection error, with a prior from published synapse precision and recall. It samples plausible individuals, and it can condition on a partial connectome.

Novelty. Partial.

No joint, cross-dataset, per-edge decomposition with sampling was found.

Sister projects. WS and FB have each fitted a censored hierarchical left–right model. Their results differ in a way the joint model must keep:

Both are lower bounds: within one animal, left–right disagreement mixes reconstruction error with true asymmetry. Only a second animal separates them (the Witvliet series in the worm; FlyWire against the male CNS in the fly, planned in FB but not done). So C11 is mostly integration: one model family with species-specific existence and weight components, fitted across animals.

MVP.

Test.

C12. Within-type channel covariance atlas

Gap. H* predicts conserved low-variance combinations of channel expression within each type (F4; "Expression covariance as channel-kinetics data" in 13-proposals.md). They have been measured only in a few crustacean neurons with single-cell qPCR.

Program. For every type in CeNGEN, the Fly Cell Atlas and the optic-lobe atlases:

  1. Deconvolve technical noise (sampling, dropout, depth) using an existing correlation-correction method such as BigSur or Sanity, not a new one.
  2. Estimate the within-type covariance of channel, receptor and transporter genes.
  3. Report the low-variance directions, their stability across animals and batches, and whether they are shared by types with similar channel sets.
  4. Report per-type power: which types have enough cells to detect a given correlation.

Novelty. Novel as specified.

No atlas-wide noise-corrected channel covariance was found.

Sister projects. None measures this yet. WS imports CeNGEN at class level only (128 clusters). FB individualizes neurons with independent lognormal gains (σ = 0.25), which a covariance structure from C12 could replace.

MVP. CeNGEN, all 128 classes. Types below the power limit are reported, not dropped. Fly optic lobe second.

Test. Preregister which quantities are reported and which hypothesis each decides.

The F4 statistics in 02-hypotheses.md are computed on these covariances. If neither alignment exceeds a permutation null, the result is "undetectable with atlas data", and data request 5 (09-roadmap.md) is sized from the measured power.


Priority and hosting

Order Program Host Reason
1 C8 CAKE (A0) with WS and FB arms The question that stalls all four projects (MC's B0 tie, WS's capacity gate, FB's identification null, CAKE's M3) is only answerable with a known-answer control
1 C11 WS (worm), FB (fly) Both left–right precursors exist; the remaining work is cross-animal fitting and a joint model family. Feeds C3, C4 and E6
1 C3 WS (worm), FB (fly) WS's 2,743 conflicting edges and MC's K3 failure point at the same gap. FB is an immediate fly test bed
2 C12 CAKE Public data only; early evidence on H* versus R1
2 C1 Shared Replaces three hand-built tables (MC kinetics, WS phenotype registry, FB calibration targets)
2 C7 WS WS's audit shows the public worm data are preprocessed; needed before amplitude or D3 claims
3 C4 FB (fly), WS (worm) Removes FB's hand-added electrical synapse; needs C11 reliability for worm labels
3 C10 FB lab code, MC M11 Needs C8 to be tested, and a noise floor (FB)
3 C6 CAKE (B1) Extends B1; FB tests whether it beats size-scaled point neurons
4 C9 FB (fly olfaction), WS (worm) Fly olfaction first; worm when WS has a body
4 C2 MC No channel models in WS or FB yet; must pass leave-subfamily-out
5 C5 WS, FB Spatial kernels only after a source-backed non-spatial map exists and the kill test passes; MC K2 and FB's operator results are both negative

Shared conventions