P0: the pipeline reproduces gitma, after three panel rounds
P0 was the pipeline gate (SRD §5, spec 002): before any training, the Python port had to
reproduce gitma's generator byte for byte, its batch least squares, EKF and IMM to float32, and
the new physics layer with trivial inputs had to equal batch least squares and recover noise-free
truth. It passed on the fourth record, decided by the agent review panel in its third round
(experiments/20261101-p0-r4/, commit 19c40c7).
This post is written on 8 November 2026, a week late. The constitution has required a critical post per gate from the start; P0's was missed, and the new reporting practice (process page) exists partly so that does not happen again.
What passed
Twenty checks, all green on r4:
- Generator: three gitma fixtures (
iter1-seed1,iter4-seed777,phase4-seed777), 8 files each, byte-identical. - References: batch least squares, EKF and IMM on two fixtures, convergence flags identical,
worst relative difference 1.6e-5 (least squares on
phase4-seed777), typically 1e-7. - Physics layer: equals batch least squares on 22,531 rows; recovers noise-free truth to a relative range error of 2.4e-6 on 160 of 160 scenarios.
- Least-squares efficiency on held-course rows: speed 0.949, range 1.007, course 0.988, inside the [0.8, 1.2] band.
- Oracle ceiling on a 10⁵-scenario MAN validation split: median ratios 0.531 (speed prior, all rows) and 0.500 (settled), within the intervals measured in research note 05.
- IMM at scale: 1.2 million rows against gitma's output, no flag mismatches.
- ONNX export: Python, browser WASM and Java legs agree to 1.1e-11 in double.
What the panel found, and why it took four records
The first record passed its own machine checks 18 of 18. The panel rejected it anyway, on two blockers:
- NaN gradients on masked rows.
sqrt(valid·exp(ℓ)·mask)has an infinite derivative at zero, so masked and beyond-k rows produced NaN log-weight gradients. One backward pass would have poisoned every parameter of any model trained through the layer. The checks had never taken a gradient. The fix issafe_sqrt, and the tests now assert finite gradients everywhere. - A conformance result that could not fail. The toy model's ONNX digest does not depend on its golden inputs, so a stale result could pass. The legs now also record a digest over the inputs.
Record r2 then failed one of twenty checks after the fixes, r3 passed but recorded a dirty tree in its manifest because provenance was read after the outputs were written, and r4 is the record of decision. None of this was a numerical problem with the port. All of it was the verification being weaker than it looked.
Reading it critically
- P0 shows the pipeline reproduces gitma. It says nothing about whether learning will help; that question starts at Gate 1 (and, as it turned out, was not really answered until Gate 2).
- The float32 reporting path of the physics layer disagrees with the double path by up to 1e-2 relative, because the damped solve's accept/reject decisions flip between runtimes. Double is the conformance artefact; float32 is reported only.
- The oracle ceiling check compares against an interval measured in a research note on a different implementation. Agreement is reassuring, not a proof that both are right.
Records
Round 0 experiments/20261031-p0/ (5adb8bf, superseded), r2 experiments/20261101-p0-r2/
(8e5dfe1), r3 experiments/20261101-p0-r3/ (dd69fc8), r4 experiments/20261101-p0-r4/ (19c40c7,
the decision; review.md holds the three panel rounds).