Skip to content

Fusion Researchers Guide

rg78803 edited this page Sep 8, 2026 · 5 revisions

Fusion researcher's guide β€” build it, run it, and try to break it

Page class: GUIDE. This is the "check us, don't trust us" page for Affine Fusion Control. Every claim on the study page is re-derivable from these commands. No account, no key, no network. If a check fails, that is the issue we want β€” tell us.

What you need

  • A Mac with Swift 6.4 (macOS 26+). swift --version should report 6.4.
  • Nothing else. No Python, no Node, no package manager, no GPU toolchain β€” the Metal library is checked in pre-compiled, and the build never invokes the Metal compiler. (A machine with no GPU still runs everything except the GPU-parity arm, which skips and says so.)

Get it

git clone https://github.com/gaiaftcl-sudo/uum8dSolarResearch.git
cd uum8dSolarResearch/app/FusionCourt
swift build -c release          # ~10 s cold, zero warnings
swift test                      # 27 tests across 4 suites

A clean build with zero warnings and a green test run is the first thing to confirm. If either fails, stop and tell us β€” it should not.

One command that proves everything

./verify-all.sh

Builds clean, runs every test, every gate (each self-testing that it can fail), every app self-check, and the repo's figure harness β€” stopping at the first failure. VERIFY_ALL_PROVEN means every claim on the study page re-derives on your machine, not just ours. This is the fastest way to gain or destroy confidence in the whole thing.

Run the app

.build/release/FusionCourt      # opens the five-panel court, both laws live, on 65,536 agents at 1 kHz

You should see the verdict wall discriminating across four terminals, the operating-point court grading five real machines (ITER/SPARC/JET/DIII-D/W7-X) with WIN, MISS and NOT_APPLICABLE all on screen at once, a live cadence histogram, and a channel scope. Every number in the panels is read from a published snapshot β€” the UI computes nothing it displays. (Launched as a bare binary it runs but may not open a window; the study page shows how to wrap it in a .app bundle if your window server needs one.)

Grade your own machine

The operating-point court is usable directly, no test harness needed:

# grade an operating point β€” all integers: ne14 = n_e/1e14 m^-3, ipAmp = A,
# aMm = minor radius in mm, betaNMilli = beta_N x1000, qMinMilli = q_min x1000
.build/release/FusionCourt --grade ne14=1000000 ipAmp=15000000 aMm=2000 betaNMilli=1800 qMinMilli=3000
#   -> verdict: WIN   pi-independent: true   exact path: int128

Set ipAmp=0 for a currentless stellarator and it returns NOT_APPLICABLE_NO_PLASMA_CURRENT β€” it will not invent a Greenwald limit for a machine that has none. Push the density up and it returns MISS with binding branch: greenwald. Every verdict is an exact integer comparison you can re-derive by hand from the same inputs β€” that is the whole claim, in a form you can hold.

Re-derive each claim on the study page

claim command what it proves
the clock holds 1 kHz .build/release/FusionCourt --selftest-clock 9,999 ticks in 10 s, 0 skipped, 0 gaps; a deliberate overrun is recorded, never hidden
the lattice is Int128 .build/release/FusionCourt --selftest-lattice 128-bit axis, 6 ingest lanes, the Int64 headroom factor
cold start is under budget .build/release/FusionCourt --selftest-coldstart exec-to-exit well under 250 ms, measured by the app's own clock β€” no python, no external timer
the GPU crossover .build/release/FusionCourt --selftest-crossover CPU vs GPU at 4k–1M, bit-exact parity at each N, and the CPU wins throughout
all five court terminals reachable run reproduce/fusion-operating-court.swift COURT TERMINALS REACHED: 5 of 5
topology-agnosticism run reproduce/fusion-topology-agnostic.swift byte-identical verdicts across three topologies; spheromak has 0 toroidal edges

To run a reproduce/ script (it links the law in automatically):

cd ../..            # back to repo root
bash reproduce/validate.sh    # every published figure re-derived from source

The gates β€” the instrument checks its own honesty

Each gate refuses in both directions (fires on a planted violation, stays silent on a legitimate case). Run any with --self-test:

cd app/FusionCourt
bash Tools/one-law-one-home.sh          # the law's constants exist in exactly one file
bash Tools/no-float-outside-render.sh   # 5 exact-integer targets carry no float
bash Tools/law-compiles-both-modes.sh   # the law compiles under Swift 5 AND 6
bash Tools/swift-only.sh                # no python/node/ruby invoked anywhere

What to attack β€” this is the useful part

The study earns its credibility by being falsifiable. The sharpest places to push:

  1. The bit-parity claim. FusionGPUTests asserts the GPU verdict equals the CPU golden bit-for-bit across a corpus reaching β‰₯3 terminals. Feed it a trace that makes them disagree and you have found a real bug.
  2. incremental == batch. The streaming law and the batch law must agree for every sample index. This test already caught one precedence inversion (64 of 64 agents disagreed). Find a second.
  3. The refusal terminals. Construct an input that should refuse but returns a verdict, or vice versa. REFUSED_MALFORMED must dominate REFUSED_OUT_OF_ENVELOPE (not-admissible-data beats admissible-data-out-of-range); show a case where it doesn't.
  4. The Ο€-bracket. We found one operating point (ne=27057, Ip=400 kA, a=2000 mm) that sits on the Greenwald limit to within Ο€ itself. Find another, or show the bracket resolves wrongly when a Ο€ is declared.
  5. The crossover. Our measurement says the GPU never wins to 1M agents. If you can make the GPU win with a fair benchmark β€” same flat input both sides, same law, no per-agent allocation on the CPU arm β€” that is a genuine result and we want it. (Two of our own first attempts flattered the GPU with a broken CPU arm; the account is in CROSSOVER.md, so you know exactly which mistakes not to repeat.)

What this is not

It grades presented telemetry and presented operating points. It is not wired to a reactor and holds no real machine data. The thresholds are frozen for demonstration and a real deployment re-freezes them against its own device. The architecture β€” exact, re-derivable, refusing where it has no answer β€” is the claim; the specific numbers are illustrative and dated. See the limits section of the study.


Related: Affine Fusion Control Β· Study 33 Β· The ontology

🧬 CURES β€” read in this order

Each step is the reason the next one exists. Nothing here is medical advice, and no page calls any medicine safe or unsafe.

1 Β· Why an exact safety screen at all

2 Β· The three libraries, which grow rather than close

3 Β· The maps β€” every place a molecule could act, counted

4 Β· One medicine at a time

  • Zilganersen β€” the first treatment for Alexander disease, screened on the real approved sequence
  • A drug an AI designed β€” rentosertib for pulmonary fibrosis, and exactly what our instruments reach
  • CAR-T, halted β€” the verdict a regulator could re-derive
  • N-of-1 antisense β€” the only safety net at a population of one
  • VERVE-102 β€” the off-target lattice a stranger can re-derive
  • PM359 β€” prime editing, certified before anyone is dosed
  • Del-Zota β€” the one safety question that can be made exact

5 Β· What keeps a disease alive, and what moves it

βš–οΈ How to read any page here

πŸ”¬ The method β€” exact against float, domain by domain

The same move every time: take a domain where a floating-point model is the accepted instrument, compute the same quantity in exact integers, and seal the cases where the two render opposite verdicts. The subject under grading is always the instrument, never the phenomenon.

⚑ Fusion β€” the energy case

🌍 The planet, and the sky

πŸ› Markets, money and risk

βš›οΈ Run a court yourself

πŸ“’ Program ledger β€” every study by lifecycle

A study appears here under the state its evidence has earned, and above under the question it answers. The two are different filings of the same work, on purpose.

βœ… LAW FROZEN Β· DATA SEALED

πŸ”΄ LIVE CLAIM β€” standing, not sealed

🌊 CHARTER Β· OPEN β€” the findings, published either way

β˜€οΈπŸŒ‘ Eclipse 2026 β€” Study 01, DATA SEALED

πŸ”¬ Discoveries and flows

Clone this wiki locally