56 commits, 452 files, 22,417 lines, no product behaviour change. Proving that needed measurement, so the baselines were recorded before anything moved: 211 edit-mode tests, 126 includes across 43 files, 219 keyword slots, 37 assets by GUID.
The strongest check was a probe — every shader global at every hour, weather state and zoom — run on both trees and diffed. 99 fields, 93 identical, 6 differing, 0 unpublishable. One difference was live lightning colour, wall-clock state written by an [ExecuteAlways] driver on both sides with no strike live. The other five were the instrument: AdvanceBlend is private on the old code, so the probe could not pin the blend. The by-state section agreeing on all four weather globals across 47 fields is what makes that a diagnosis rather than an excuse — if the refactor had changed them, they would differ in both sections.
CI had failed on thirteen consecutive pushes. Nobody had read the run. Three causes, none reproducible locally:
- a doc path relative to the installed URP package, missing on a clean checkout with no
Library/; - seven orphaned
.metafiles for empty folders, resolved by case on Windows, reported as errors on Linux; actions/checkout@v4defaulting tofetch-depth: 1, while two checks read commits 52 back.
Reproduced in a git worktree with no package cache, which is the reusable part.
The session's own defect: ApplyTime resolved its optional weather partner with GetComponent(typeof(MonoBehaviour)) != null — always true on a MonoBehaviour — then GetComponents<T>(), which allocates per call. Any scene without a weather driver allocated every frame. Replaced with TryGetComponent<IWeatherState>(out _weather).
The first regression test for it passed with the defect restored: GC.GetAllocatedBytesForCurrentThread() reads 0 in this editor for a 1 MB array, a 100k list, and 1000 allocations alike. The shipped test measures steady-state heap over 20,000 calls with a fixture-validity arm; mutation-checked, the old code grew 3,469,312 bytes against a 262,144 threshold.
Baselines after: 227/227 edit-mode, 7/7 play-mode (zero failures for the first time in this refactor), CI green on run 46094610671. Not proven: SRP Batcher (no public API in 6000.3.27f1), pixels (every scripted capture failed its own sensitivity test), and any Vulkan frame — compile parity only. Four findings recorded and unfixed, including grass still reading the terrain tone instead of the noise-weighted ramp. Merge is not executed.