445da1e69b
The std clamp was post-hoc and only addressed magnitude, not direction. x0 was drifting to mean=-0.55/std=3.1 (ODE expected mean=0/std=1). Replace with anchor_weight * MSE(x0, x0_init) added directly to the loss. The optimizer now balances style matching against staying near the initial N(0,1) noise — gradient-aware, prevents both magnitude and mean drift. Also logs style/anchor losses and x0_std per step for diagnostics. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>