Insights
The physics had to ship once
· verification · math · scenes
The site’s scenes kept making the same promise in different costumes. The crossing’s throat mouth and the standalone throat scene both claimed Morris–Thorne null geodesics. The crossing’s traveler and the ψ hero both claimed Crank–Nicolson Schrödinger evolution. Each pair was implemented twice — which means each claim existed twice, and two copies of a proof are two places for it to drift.
This is the story of the consolidation: one integrator per physics, gated once, posed per scene.
The shape of the drift
A duplicated solver doesn’t announce itself. The two copies agree on the day they’re written — same constants, same scheme, same comments — and diverge quietly afterward: a tolerance tightened in one, a boundary condition adjusted in the other, a small cleanup that changes the discrete operator. The scenes keep rendering. The math keeps looking right. The claims stop being the same claim.
The site’s own doctrine already knew the answer for content — register.ts is the single source for product status, and check-register fails the build on drift. The scenes needed the same rule at the code level: if two scenes run the same physics, there is one implementation, and the scenes pose experiments on it.
What actually shipped
The throat. throat.js holds the Morris–Thorne spatial slice — R(z) = √(z² + b₀²), b(r) = b₀²/r in zero-tidal-force gauge — and exports its core: launchToOrbit, traceRay, exitToSky, geoDeriv, rk4Step, energyResidual. The standalone scene ray-traces its sky map through it; /crossing/ imports the same functions for its throat mouth — transit and scatter earned per pixel through the same integrator, not a lookalike remap. When the procedural impact-radius approximation was replaced, the replacement wasn’t a second implementation — it was the gated one.
The packet. schrod.js is a parameterized Crank–Nicolson factory — the caller poses the grid, the packet, the barrier; the module hands back a live handle with re, im, density, measure. psi.js poses the published 512-point experiment and dropped its ~120-line private copy of the integrator — the file went from 322 lines to 200, and what remains is rendering and readout. crossing.js poses a different experiment on the same core: a narrower grid, a rim barrier with V₀ = 0.6 > E = 0.5, and the measured transmitted fraction |T|² that replaced a hardcoded WKB constant.
The gate runs every pose
Deduplication only works if the shared core is proven under every configuration it’s asked to carry. The schrod.js section of verify-scenes runs the full battery on both shipped configs — the crossing packet and the psi hero: tunneling regime (V₀ > E, κ sane), norm conservation through free propagation, group-velocity propagation, measured transmission in the tunneling band, pRight never exceeding live norm, barrier width identical to grid geometry, and density[i] ≡ |ψ|² at five sample points each. Seventeen assertions per pose, thirty-four total — a change to the shared core that breaks either experiment fails the build.
The throat core was already gated where it was born: thirty assertions covering on-shell launches, first-integral conservation to machine precision, the exact transit/scatter classification, the analytic periapsis, and the photon-sphere linger. Crossing’s use of it adds wiring assertions — the import is the shipped solver, not a replica; the exit map builds chunked and samples bilinearly; the procedural rim remap is gone.
What this prevents
The failure this closes is quiet. A scene’s header is a claim; the code under it is the evidence. When the evidence exists twice, the claim can be true in one place and false in the other — and nothing in the build notices, because each copy still passes its own local check. One core per physics means there is exactly one place a claim can be true, and the gate already watches it.
1,441 assertions across the mounted scenes, the shared solver cores, and the unmounted candidates — zero failures. The count didn’t change when the structure did; what changed is that two of those assertions now guard physics that three scenes depend on.
The solvers converged the way the register did: not by policy, but by making the drifted state unrepresentable.