Add initial draft of Remora model

This commit is contained in:
ms2k 2026-07-10 11:39:49 +09:00
commit 1206c0a5ac

View file

@ -0,0 +1,36 @@
SPECIFICATION SafetySpec
CHECK_DEADLOCK FALSE
\* Combined contention: both local and deployment-wide limits constrain work.
CONSTANTS
Jobs = {j1, j2, j3}
Workers = {w1, w2}
InitialWorkers = {w1, w2}
NoJob = NoJob
NoWorker = NoWorker
MaxAttempts = 1
MaxProgress = 1
LeaseLimit = 1
LocalLimit = 1
GlobalLimit = 2
FaultsEnabled = FALSE
FaultServices = {}
INVARIANTS
TypeOK
StateConsistency
AtMostOneAuthoritativeAttempt
FencingTokensUnique
CommittedResultConsistent
CancellationSafety
PermitSafety
QueueRecoverable
AttemptIsolation
ResumeValidity
ZombieIsolation
PROPERTIES
TerminalStateIsImmutable
FencingTokensMonotonic
CommitIsFencedCAS