verify-execution-lease

Installation
SKILL.md

Verify the execution lease

verification/execution-lease/ExecutionLease.tla models one turn's execution lease, its runs, and one durable execution step. TLC checks it exhaustively for three runs. The promise it guards:

  • P8. A step whose replay policy is never runs its external effect at most once, across every run and lease generation, including deposed workers that keep running. If this breaks, an email or a non-idempotent write goes out twice after a crash or takeover.
  • P1. Only the owner of the current live lease generation commits writes to agent_execution_steps.
  • P6 (no resurrection) and ClaimRespectsLiveOwner guard the lease itself.

P8 is per step row. It assumes every retry of a call reaches the same step id; whether a re-planned call does is the tool-call journal's job, which the model does not cover (NOTES.md, "Outside the model").

Installs
4
GitHub Stars
7.8K
First Seen
Oct 28, 2026