Lease fencing
Every claim receives a lease identity and monotonically meaningful fence. Renew, progress, output, checkpoints, and acknowledgements include that identity. Once the lease is lost, the old holder cannot overwrite the new holder’s work.Failure and shutdown behavior
- Panic recovery is enabled by default.
- Each attempt is isolated from sibling attempts.
- An expired lease increments
crash_attempt, notattempt. - Graceful shutdown stops admission before draining.
- Workers keep renewing leases while they drain.
- Work left after the bounded shutdown is voluntarily released without charging failure.
- Singleton scheduler and maintenance duties use store leases, not a second election system.