Two coding agents start from commit A. One finishes quickly and merges as B. The second finishes later with a patch that was valid against A.

Applying the second patch because it arrived last makes completion timing part of repository correctness. The merge protocol needs explicit inputs.

Patch envelope

{

"patch_id": "p-204",