Define bounded reservation recovery, exact activation replay fencing, immutable source identities, and deployment-owned secret and target policy boundaries. Align the OpenAPI contract and add a split-store activation safety refinement.
42 lines
951 B
INI
42 lines
951 B
INI
SPECIFICATION SafetySpec
|
|
|
|
CHECK_DEADLOCK TRUE
|
|
|
|
\* Worker can reach coordination and durable authority while target is cut.
|
|
\* Single worker: CrashWorker disabled (OtherCapacity); partitions only.
|
|
CONSTANTS
|
|
Jobs = {j1}
|
|
Workers = {w1}
|
|
InitialWorkers = {w1}
|
|
NoJob = NoJob
|
|
NoWorker = NoWorker
|
|
MaxAttempts = 2
|
|
MaxProgress = 1
|
|
LeaseLimit = 1
|
|
ReservationLimit = 1
|
|
LocalLimit = 1
|
|
GlobalLimit = 1
|
|
FaultsEnabled = TRUE
|
|
FaultServices = {"Target"}
|
|
MaxCoordLosses = 0
|
|
MaxPartitions = 2
|
|
|
|
INVARIANTS
|
|
TypeOK
|
|
StateConsistency
|
|
AllocatedTokensUsed
|
|
LiveProgressWellFormed
|
|
LiveProgressCompatibleWithLiveLease
|
|
AtMostOneLiveLeasePerJob
|
|
AuthorityWellFormed
|
|
CommittedResultConsistent
|
|
CancellationSafety
|
|
PermitSafety
|
|
ResumeValidity
|
|
StagingOwnership
|
|
|
|
PROPERTIES
|
|
TerminalStateIsImmutable
|
|
FencingTokensMonotonic
|
|
CommitIsFencedCAS
|
|
FailureDispositionHonored
|