Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
831 B
Raw Blame
\* The pass stamp's fence beside the holder's: a coordinator transaction that takes the row FOR KEY SHARE by the token
\* stamped on its request, any issued token, surviving the holder's crash. Every adverse assumption on, as in
\* DrainLeaseSafety.cfg, without sleeps (a stamp outliving its holder covers that). Safety properties only.
SPECIFICATION Spec
CHECK_DEADLOCK TRUE
CONSTANTS
  Procs = {p1, p2}
  Lanes = 1
  TickMs = 20000
  TtlMs = 120000
  RefreshMs = 20000
  RenewTimeoutMs = 30000
  StealGraceMs = 60000
  TakeoverGraceMs = 60000
  MaxTxMs = 60000
  CancelMs = 120000
  RenewalWinsGap = FALSE
  UnsafeSteals = TRUE
  Stamps = TRUE
  MaxTime = 10
  MaxTokens = 3
  MaxCursor = 2
  MaxSleeps = 0
  MaxCrashes = 1
SYMMETRY Symm
INVARIANT TypeOK
INVARIANT FencedTxnsMatchRow
INVARIANT OneDrainer
PROPERTY CursorMonotone