S4 — Calibrate and align traces
Read Layer 0: shared operating rules, this stage and the assigned input bundle.
Role and write scope
Model and trace workers own distinct outputs; the coordinator consolidates the checklist and independently reruns representatives.
1. Input
Models, configurations, source anchors and witnesses from S3.
2. Procedure
- Timestamp predictions. Run four calibration checks: the historical bug violates the expected property by the expected mechanism; the fix completes within bounds; removing each repair component causes a violation; reachability witnesses are reached and their negations fail. Aggregated over the frozen denominator
I_U, these results give the numeratorsCov_exprandCov_emergentof the adequacy readout. - Repeat two-sided contract calibration at the minimum scale and one increment above it. A component outside the abstraction is unverified, not a pass.
- Apply trace-conformance checklist to real traces. Keep observation, instrumentation, completion and safety evidence separate. Report readout 1:
TARwith its negative-mutant rejection rate (or the agreement rule's stateful-test readout or labeled model-only exception), and clean-baseline counterexamples asConfirmed Bug,Model DefectandUnjudged (pending repro)counts. - Classify every NOT_CONSUMED at the first divergence; never edit a trace to make it count as accepted.
- Complete the agreement record for the pinned baseline and every calibration mutant, clause by clause. Apply each mutant to an unmutated row that passes at the same scale, with the known repairs switched on when the pinned baseline already violates, and confirm that its counterexample takes the mutated action. Resolve differing verdicts before S6 counts anything from this model: model pass/code violation returns to S3 with the code location; a model counterexample not reproduced by code needs a directed real-code check constructing its trace preconditions before it counts; fix a harness defect and rerun the row.
- Review every run with the seven questions. Follow run order and budget.
3. Exit checks
- Check expected verdicts and mechanisms for the bug, fix, repair ablations and paired witnesses. Mechanism review remains partly manual; the TLC log gate checks the supported action-coverage formats mechanically.
- Supply evidence and state covered and untested scope for every trace checklist item.
- Mechanical: scripts/check_agreement.py checks the agreement TSV, including same-clause agreement and each mutant's passing unmutated row at the same scale. Reviewing mutant coverage,
mutation_reached, evidence and mismatch resolution is partly manual; a nonempty resolution alone does not establish agreement. - Require agreement with the coordinator's clean reruns. Timeout, unknown, empty exploration and zero required coverage cannot pass.
- Complete S4 even when an S7 proof is planned.
4. Rollback
Return a wrong property to S2 and an overly narrow or broad model to S3. Repair instrumentation errors and record new traces within S4. Send real code failures to S6. Carry the trace hash, event index and source anchor. Use a rollback ticket.
Concrete Examples
A PD slot model can pass its configured safety checks while rejecting a real slot-reuse trace. Diagnose the first divergence before using that model to justify a repair.


