Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
\* Two drainers, one lane each, the code's timing at 10 s ticks; fenced transactions up to 60 s and the pass stamp's fence on (#7442).
SPECIFICATION Spec
CHECK_DEADLOCK TRUE
CONSTANTS
Procs = {p1, p2}
Lanes = 1
TickMs = 10000
TtlMs = 120000
RefreshMs = 20000
RenewTimeoutMs = 30000
StealGraceMs = 60000
TakeoverGraceMs = 60000
MaxTxMs = 60000
CancelMs = 10000
RenewalWinsGap = FALSE
UnsafeSteals = FALSE
Stamps = TRUE
MaxTime = 18
MaxTokens = 3
MaxCursor = 2
MaxSleeps = 1
MaxCrashes = 1
SYMMETRY Symm
INVARIANT TypeOK
INVARIANT FencedTxnsMatchRow
INVARIANT OneDrainer
INVARIANT NoSpuriousLapse
PROPERTY CursorMonotone