Repository navigation
mojo-neuron v1.0.0
Released: 2026-11-09 · Commit: 0b209ec · Previous: first release
What it does
mojo-neuron reads the neurons of a GGUF language model in 11 seconds on a CPU (one layer of a 0.5B model, gate included) and steers them through the
mojo-baro engine 4.3 times faster than gguf-neuron-explorer. Most of the research we built on top of those
tools missed its pre-registered bar: transcoders, a lie probe, model dreams, a condition gate. The README lists the misses next to the passes.
It is a neuron explorer written in Mojo. It computes the logit lens of every neuron of a layer, shows where a neuron fires on your text (a CPU forward
for dense llama, qwen2 and granite, checked against llama.cpp), steers and ablates neurons on the GPU, captures activations for transcoders and probes,
and offers the same calls as a command line (nx), an MCP server and a small window app. Every tool has a gate with a planted defect.
Highlights
- First public release: logit lens of every neuron on CPU, a CPU forward of where a neuron fires (llama, qwen2, granite, checked against llama.cpp), GPU steering and ablation through mojo-baro.
nxcommand line, an MCP server and a window app over the same calls; every tool has a gate with a planted defect.- Research tools: activation capture (24x faster batched prefill path), transcoder trainer, tuned lens, concept arithmetic, lie probe, neuron surgery, implants format.
- Pre-registered results published with their misses: transcoder bar, lie probe, model dreams, CAST gate, MoE router capture.
Changes
Added
- Everything: the first public version. The full history before 1.0.0 is not published; the reports in
docs/reports/and the preregistrations indocs/prereg-*.mdrecord it.
Verified
| Check | Result |
|---|---|
scripts/check.sh (CPU gates, 23 checks) on the merged tree |
PASS |
tests/causal.sh (ablate-scan reachable through nx) |
PASS |
| gitleaks over all commits | no leaks |
Known limits
- GPU tools need the separately built mojo-baro engine; tested on one RX 7900 XTX (gfx1100) only.
- Transcoders do not reach the pre-registered FVU 0.55 (best 0.624 at K=256, 380k tokens); a linear ridge map reaches 0.52.
- The lie probe flips on negation; implant results (G2-G4) are still running and not in this release.
- Batched and one-position captures differ slightly (cosine >= 0.9967); do not mix them in one training set.
Upgrade / run
scripts/check.sh
Commits
0b209ecdocs(readme): ablate-scan name, A5 router capture MISSED row28d11d7docs(skill): nx ablate-scan5b82fafdocs(rules): duplicate nx call names after a merge68d827afix(calls): ablation scan reachable as nx ablate-scane90ca09docs(readme): public README for 1.0.05072c4bdocs(skill): agent skill for 1.0.07540a73docs(report): steps versus data at 380k tokens: K64 18000 steps 0.641, K256 6000 steps 0.624; 0.55 chase closed, flattening was partly steps7059581fix(causal): resume chain runs the guard tests first, prints wall seconds per stage, sends LANDED on guards PASS3c7b25fchore: Apache-2.0 license for the public release7e828cbfeat(causal): resume script after the box reset, only missing stages, no buildsb596e8dfeat(causal): admission-guard test for the neuron2b engine ops (audit P1 to P3), ignore pycache and the herd inboxe434405docs(rules): build cap after the thermal reset67692eddocs(prereg): B1 skip transcoder (TopK path + ridge-initialised linear skip), arms, controls and bars fixed before any run4c09ee4feat(trainer): --hold, --eval2, --stats cache; scaling_fit oracle; data scaling on the 400k capture (K64 0.778/0.720/0.695 at 100k/200k/380k, floor ~0.67)0568f38feat(causal): G4 chain script36887f9docs(prereg): G5 localized context distillation, bars before any G5 run4e53b96docs(capture): batched prefill path, rate and agreement0f761e0feat(causal): batched-prefill capture rate check fixed for the extra generated records; 400k capture scriptad8baabfix(causal): G3 select split in two (layer at k=100, then scale per k at that layer), a third of the GPU requestsf86c354feat(causal): batched-prefill capture check8732126docs(prereg): batched-prefill capture bars and rate rule, before the rund8dba54docs(report): trainer investigation, K64 0.658 / K256 0.643 at 100k tokens, data scaling, capture speed, GPU minutes; tc_train --ntrain0ebe5d1fix(causal): G3 keys implants at the first wrong token (T1c) and at every answer token (facts), not at the last prompt positioncf00998feat(causal): A5 gate result MISSED, ids equal in 198 of 240 cells, weights 1.2 percent median off; oracle stride bug fixed17c8d0afeat(causal): A5 gate runs three engine variants in one job after the first run's ids differed at positions 1 to 5a584c6efeat(trainer): init rescale, held-out trace, cosine schedule, beta2, abort guard, ridge warm start59e119bfix(causal): G3 harness stops before capture when a family has under 30 test mistakesecd73a8feat(causal): G3 harness family mul3 (T1c) and a 10-token answer cap32c9f0fdocs(prereg): G0 amendment D, T1b has 28 mistakes (no verdict), T1c three-digit products, before any T1c run28f0f80fix(tests): tlens gate creates .work/tlens before writing the mutant receiptbbc48c1feat(causal): A5 gate, llama.cpp router oracle (C++), comparer and script (not yet run)a6ccd57docs(rules): size deletes by exclusive bytes on btrfs33e58d6feat(lens2): nx tlens, tuned lens fitted with KL to the final logits; passes bars 0-51097293feat(agent): nx cast, request-level condition gate for personas; FAIL bar 5 out of domaine65ec18feat(lens2): nx lens-diff, contrastive lens of matched prompts; FAIL on both preregs90a55e2fix(causal): A5-prep check is structural (the old identity names another bake), sha only reported046efeffeat(causal): A5-prep script, rebuild the RegesCore pack with the pack tool, checked against the old identity.json (not run)da3333afeat(causal): G3 harness family switch, T1b multiplication default, reuse of the mined unrelated setdd8b6dadocs(prereg): G0 amendment C, T1 has zero mistakes (no verdict), T1b multiplication replaces it, before any T1b runabeced3fix(tests): sound, scan, image use the baro venv python, not a removed lane venv2e3a0bafeat(causal): G4 harness, prompt to implant compiler with control, vector and short-prompt baselines (stub-engine dry run only)101eb3ffix(tcceil): FAIL on a capture file shorter than req.i32; gate fixture uses the real record size; keep-alives after raw-pointer loops649e3cedocs(prereg): G4 concrete skills, scorers and compiler settings before any G4 run7f642c8docs(prereg): tuned lens b supersedes the unrun tuned lens preregf18208dfeat(causal): G3 harness sweeps one implants file per family, stub-engine dry runbc2cb47fix(tcceil): empty held-out split fails with a message instead of printing nane77b080docs(prereg): lens-diff b after the first run failed bar 2 on the English pole1d831f7docs(prereg): lens-diff, tuned lens, CAST gate bars before any result run9b46854docs(rules): partner, one directory per ls; a zero-row held-out split fails, never nancbf4233docs(report): lane features report, numbers, misses, next steps; splice base-request rule0bef0eedocs(plans): follow-up, C4 image prompt drops user textb833dfefeat(B1,B4): tcsplice (Qwythos splice KL gate), tcceil (linear ceiling), resumable b4.sh with locale fix9fee9f2docs(reports): splice KL pass is post hoc, A5 parked, lane-merge NOT READY and its causes134aeb3fix(tests): rlens gate builds nx with the mojo-log include and deletes stale binaries first82b8e20feat(causal): scan prints and logs its ablation mode and metric (papers synthesis, A2c)6f0aeb5docs(reports): causal report update, A2c-group, splice, A5, merge state8ddc514feat(causal): splice op gate; run 1 failed its NLL bars, KL bars (post hoc, same receipts) pass9ac18f0docs(product): second-pass report and tool table06679bffeat(F1c): persona by name through baro-serve, apply returns the steer field, nx chat --persona3561417feat(agents): E1 build for steer, read-path check apart from the answer8d60321docs(report): sha column and the build-line fix in the probe report80d1287fix(build): add the mojo-log include to the nx, mcp and app build linesc40b852feat(causal): A2c-group scan by predicted direct effect, verdict MISSEDb761819docs(report): lane probe verdict, F24b result run, data files; lie_eval prints none for the set without twins6bf8ac0chore(git): merge=union for docs/rules.md, append-only filea7a60e2feat(F10): brain-scan replay scrubber in the app's scan viewa5ada72docs(prereg): engine splice op and absolute target NLL, before any run67925cdfeat(B2,B4): feature steer gate (tcsteer), label gate (tclab, b4.sh), seed stability (tcstab), forward injectionf3af7d5docs(F1c): prereg for persona by name through baro-serveb49cc47feat(F4): sonification fingerprint, nx fingerprint enroll|match4d9e54edocs(rules): partner verification rules (gate paths, rebuild from sha, queued composer text)f1b698cfix(agents): every agent task names the absolute path of its README, hermes gets --in468cb29docs(prereg): F29b group-level self-surgery, replaces the single-neuron F29 plant before any run7e8d1dedocs(prereg): A5 MoE router capture bars; gate blocked on a missing RegesCore packa881757docs(report): F26c sweep result FAIL, monotone curve, prompting wins; verdict across F26/F26b/F26c20c4663docs(report): F26b result (FAIL, bar 2 4/8 and bar 7), image path, F26c pendingc4b9237docs(prereg): A2c-group floor and groups share one engine process83e9dcadocs(rules): agent smoke tasks name absolute paths, proven in a clean worktreeffa60c8feat(F30b): synthetic-unit labeller test and steer-first labels for nx wikicf4d8a1docs(prereg): A2c group ablation by direct effect with logit-difference metric, floor first058042ddocs(prereg): F24b states how the null bar was derived, adds the pairwise null flag, before the result run1c2af13docs(prereg): F24b amendment from the confound hunt, before any F24b result run; add the F24b code43434acfeat(agent): F26c sweep mode (mults, held-out split, prompt-only baseline), tested on a scale-dependent stand-in8f2965adocs(reports): lane app report, verdict first (C0-C4, E2, E3)88d9e69docs(reports): lane causal report with verdict1642f81feat(F2): circuit pin format and verdict arithmetic (engine half waits for A4 and A3)cdc18d3feat(F3): nx concept (A - B + C steering vectors and lens), nx probe live score; engine gate green, language-swap bar missed5177e3dfeat(F24): lie probe on Qwythos-9B, 1921 wiki-backed pairs, steering gate green, bars 1 and 2 missed0475df4wip(causal): G2 builder and G3 harness written, not run60f55c8feat(causal): G1 implants format and gate (engine neuron2 7ce6c1f)2747499feat(chat): E2 nx chat through baro-serve, E3 qwen-code/omp/hermes scripts048e88bfeat(causal): A2b scan gate passes: floor 7.7e-6, no sampled neuron detectable, singles bit-equalf80494cdocs(prereg): A2c direct-effect pre-rank and G regression/symmetry/baseline checks from the papers synthesis0aba919docs(prereg): C2b dial calibration, inverted-U sweep, side-effect NLL, prompt baseline, random control (before any run)8aec158docs(rules): a gate names the binary's build commit; verify rebuilds54faff0fix(scripts): verify-item takes VERIFY_WT so two gates run in parallel worktreesadd6aabdocs(F30b,F1b): next preregs, steer-first labels, synthetic-unit labeller test, persona strength sweep2bcb447docs(prereg): B4 labels + B1 seed stability + B3 stitching, folded with the papers-synthesis checks, before any result951324bdocs(prereg): F24b transform families and baselines, F25b effect space, before any codedbac7f7docs(prereg): F26c coefficient sweep with held-out peak, F5b effect-space agreement898d046docs(reports): papers synthesis, 198 papers, nine agreed protocol changes92eab31docs(prereg): A2b scan with a noise-floor control, relative tolerances, before its result run5e0fa05feat(agent): dream score bar 7 (distinct tokens), tested on both stand-in engines49dce1bdocs(prereg): F26b mid-scale dreams, mult 2.5, bars before the run42c2291docs(rules): rerun a one-off gate failure once, log both12b9c83docs(prereg): B2 feature steer bar, before the result runa7eb141docs(prereg): G0 T1 pool is all 3645 carry additions, the 20000 planned do not exist4fdc87afeat(causal): A3 neuron surgery,nx surgeryandnx scan7f9f4a7feat(causal): A2 ablation scan with a noise-floor control42e8f2cdocs(prereg): G0 amendments before the G3 result run1c03694docs(report): lane agent, F26 prereg run misses bar 2 (3/8), post hoc 5x run 8/8 but collapsed1ded0bdfeat(app): C2 persona dial, C3 sound, C1 live scan, C4 image per turn940bec5feat(B1): TopK transcoder trainer, capture tools, spliced-NLL gate; B2 feature lens optiona677365docs(product): lane R tool table and the 2026-11-09 report5487baafix(scripts): verify-item records the tree hash, a message-only rewrite keeps the receipt18648f8feat(scripts): verify-item runs a lane gate on its exact sha in a detached worktree0604f51docs(prereg): G0 neuron implants, bars for generalisation, memorisation and the prompt compiler, before any result327679cdocs(plans): G4 prompt to implant compiler, skills out of the context305412edocs(plans): G scores memorisation too (capacity, interference, cost)d23183bdocs(plans): G, neuron implants with a preregistered generalisation test708e78cfeat(F10): brain-scan replay data side, nx replay record|framec7d20ccfeat(F30): Wikipedia neuron map, nx wiki forward and reverse5259253feat(F1): persona store, nx persona list|save|apply21fa2dbdocs(F10,F4): prereg for the replay and the sonification fingerprintb09dfa5feat(agent): F26 dream driver tested on a stand-in enginec092ceddocs(prereg): F2, F27 and F25 bars written while their v2 prerequisites are opence4e2f5docs(F30): prereg for the Wikipedia neuron map29a6dd2docs(prereg): F3 CPU gate section is a record, it predates this document5d77bb5docs(prereg): E1 steer and capture passthrough bars before the result rundae3854docs(prereg): F3 concept arithmetic bars before the engine and language-swap runs71656dcdocs(prereg): F24 bar 3e, the steer is applied at Ls, added before the result runcc6877fdocs(prereg): A3 surgery bars before the result runf43d6fbdocs(prereg): A2 ablation scan bars before the result runef7a8e1feat(agent): F26 dream tool, scripts and nowrite gate; prereg F29 and F5b943020docs(F1): prereg for the persona storee9b2aeddocs(prereg): F24 lie probe bars before any result runca9245cfeat(F9): anomaly radar, nx radar clusters anomalies.jsonl by tool, kind, unit and time0defbf2docs(prereg): F26 model dreams bars before the result run8b56861docs: F plan uses brain-ask --net wiki; rule for naming the exact netcbf78b3docs(F9): prereg for the anomaly radare27b463docs(prereg): B3 cross-model map bars, before any result runf062a4cdocs(plans): section F, 13 research, wild and product features for team 2780222ewip(B1): tccap (CPU MLP in/out capture), tc_train CLI, forward() ml capturea58bf83feat(causal): A1 capture format, oracle and gate27b1e52docs(prereg): C2 persona dial bars before the result run84d53fffeat(causal): A1 capture format, oracle and gate86aa1cafeat(calls): cvec call, write_cvec shared by the CLI and the appc2bdbf6feat(B0): rlog, the research log every op ends with3339c78feat(B0): rlog, the research log every op ends withd8ad2c5docs(plans): chat through baro, steer passthrough, qwen-code/omp/hermes on baro-serve82e9444feat(app): move the window app to imkit v0.8.0 (theme, UTF-8 tokens, table, plot)2e25666wip(B1): TopK transcoder GPU trainer core + step parity gateba2788ddocs(plans): research log on by default, normal and anomaly events827ed5cdocs(prereg): B1 transcoder trainer bars, written before any result runa7f9d34docs: plan names engine.mojo for qwen35 capture; rule for naming the binary20d1baedocs(plans): neuron v2, causal tools, transcoders, live app on Qwythos-9Baa2ae60docs(rules): parallel lanes appending to shared files8774b84docs(briefs): final lane reports from engine and appc336309exp: exp_next checks its own top-Q firing selectiona53cc19exp(E5): E2 and E3 replicate on a text the ridge maps never sawf5f3e1cexp(E4): weight-cosine connections do not predict co-firing (null at 5 layers)4a5e984exp(E3): the ridge R-style lens turns the layer-12 null into 1.44x, loses at layer 22a4b103dexp(E2): the lens predicts firing only in the last third of the model (lift 1.0 to 3.5 with depth)910c954exp(E1): the logit lens predicts steering at 17-18x chance, but for only 5% of neuronsdabb430docs(experiments): X3b result and summary; experiments.py x3b3fcdd1fdocs(experiments): X3 result (0 of 20, falsified and underpowered) and the X3b follow-up registered before it runs1079493docs(experiments): X1 result, logit lens predicts the steer lens 15.9 x above chance but for only 5.8 % of neurons7c0c34adocs(experiments): X2 result, antisymmetry of +-0.5 is falsified34f5a6fdocs(experiments): three hypotheses, falsifiers and thresholds, before any number is computedf78035bfix(engine-steer-check): Gate A alone decides; Gate B v2 is post hoc and printed as a diagnostic (E1, boss review)51fe9d0feat(engine-slens-check, engine-slens-sweep-check): steer lens on engine.mojo against the engine's own rows (item 6)ea6bf19feat(engine-sweep-check): resident sweep on engine.mojo equals one-shot BARO_STEER runs (item 6)84a56e6feat(engine-mega-check): steered megakernel keeps mega on and within 5 % of unsteered speed, tap gate with mega (item 3)f6ccb9ffeat(app): steered chat generates live through the engine's resident sweep067753bfix(engine-steer-check): residual-tap Gate A decides, calibrated Gate B, top-1 kept (E1)8b4b020feat(live): steered chat call that runs the engine's resident sweep25730b9docs(prereg): v2 Gate B for the engine steering gate, written after the v1 readings and before any v2 reading (E1)c873cc2fix(app): steered chat shows the unsteered baseline for the same prompt3c08640fix(mcp): export_brain over MCP indexes the note, as its description says0c52c7bfix(mcp): negotiate the protocol version instead of echoing the client'sc5878eefix(calls): search_lens stops after k hitse882f88docs(prereg): tolerances for the engine steering gate, before the 27B re-run (E1)ace9343perf(cvec): dequantize each layer once per recipe (E4)ef972e3fix(lens): merge model.json instead of overwriting it, store the gguf path absolutebe51d19fix(sweep): refuse an incomplete or damaged spark response (E3)f4e6ec7fix(fires): gate compares every activation against an independent full oraclee3f5373fix(slens-verify): check the down half of every record and a down-neighbour mutant (E2)d1a1bcafix(lens): gate checks rank order and both poles, not set membership0fc28aedocs(briefs): codex review brief and lane reports6baaa48docs(engine): parity matrix after the final gate run (llama1b and granite steer lens PASS, 9B and 27B engine rows)fee1234feat(engine-steer-check): noise-aware rule for packs whose base logits already differ from llama.cppb93b1b7fix(slens-verify): tokenize with BOS like the driver; DOSE for slens-checkee8564dfeat(cvec): layer count excludes multi-token-prediction heads; engine steer gate, docsffafc41docs: benchmark against gne, engine parity rows, provenance8173acbfeat(sweep): literal \n in a prompts file is a newline (templated prompts with chat=0)ca5a7c6feat(slens): one batched op per dose through spark, 4.7x faster than request per context963b8cedocs(readme): what the app lane ships and how each piece is checked2fc45eafeat(dossier): steer lens section from the engine's steer.bin3fe3740feat(rlens): ridge-regression R-style lens, read through lens --rmapff407bffeat(slens): KL per neuron and a random-direction null in the steer lens3d3ef1afeat(mcp): stdio MCP server over the same calls08d60bafeat(ablate): neuron gain ablation through the resident spark (sweep gains=)e15461dfeat(app): mojo-imkit window with map, list and neuron views1bf7d62feat(reverse): persona contrast, cosine rank of every neuron of every layer68e52e0feat(sweep): write .steer.json with the contexts of a steer lens runf89fe3cfeat(slens): steer lens through the resident spark, verified against llama.cpp296b7b9feat(calls): lens, search, rank, connections, fires, dossier, recipe, brain export as JSON calls8873158feat(sweep): resident sweep of neurons x doses x prompts through one spark processe09683edocs(matrix): lens x arch matrix, measured5f1726bfeat(fires): CPU forward that returns MLP activations of chosen layers584a43dfeat(conn): weight-cosine connections up and downstream of a neuron4a56cf4feat(lens): lens.bin and model.json writer, ggufx imports, shared ggio helpersf6aebb3feat(cvec): write a recipe as .cvec.gguf and a BARO_STEER f32 file; gate against llama.cpp2d567c8build: use mojo-gguf main (ggufx), drop the f0a25a5 pinb26cacffix(check): build against mojo-gguf f0a25a5, main lost the heap thread context55b3878feat(rank): word-cluster mass of steered rollouts against random controlse9cb63ddocs(format): data format v1 for neurons, sweeps, steer lens and cveccd377c6docs: parity checklist, provenance, format proposal17af3a9docs(briefs): team plan and two lane briefs for steps 2-6028679efeat(lens): logit lens for every neuron of a layer on CPU