The detail-phase refactor made residual a required positional argument while test_loop_span_accounting.py still calls _emit_pass_span with four arguments, so that test failed on the base commit. Default it to 0.0. Split out of the prefill_batch_init observability series to keep that review scope focused.