Repository navigation
Releases
mojo-neuron v1.0.0
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, queue...