Add a frame-hold verification skill and TLA+ model shared by Claude Code and Codex
- Add GVFG_SDK/sdk/gvfg/formal: a TLA+ model of one channel's frame-hold protocol (read, release, stop, start and signal-change recovery) and six TLC configs: the shipped code with the reader joined before stop/start and with it running across them, and four mutations that must fail. - Add .agents/skills/verify-gvfg-frame-hold: check.ps1 runs every config against its expected result, prints counterexamples with -Trace, and reports when the covered code moves past the sync commit; f1-hardware-repro.ps1 stages a stop and start during a read on a real card. - Add a Claude Code entry in .claude/skills that points to the shared copy, and notes on which steps must run outside the Codex Windows sandbox. Validation: git diff --cached --check passed. check.ps1 met all six expectations and reported the model in step with1d89392. f1-hardware-repro.ps1 reproduced the stuck channel againstb47f27band passed against1d89392on a GIGABYTE SDI VFG100. TLC needs Java 17+ and tla2tools 1.7.4; check.ps1 -Install fetches the jar into the git-ignored formal/tools. Not yet run from Codex. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
\* See the verify-gvfg-frame-hold skill for what each config proves.
|
||||
SPECIFICATION Spec
|
||||
CONSTANTS
|
||||
AppQuiescesReader = TRUE
|
||||
Guards = {"RestartWaitsForRelease", "CaptureRejectsDuringRecovery", "DeliverRechecksRunning", "DeliverChecksRunGeneration"}
|
||||
MaxLifecycleOps = 4
|
||||
MaxSignalEvents = 2
|
||||
MaxReads = 4
|
||||
INVARIANTS
|
||||
TypeOK
|
||||
HeldFrameIsCurrent
|
||||
ReleaseWillSucceed
|
||||
NoFailedRelease
|
||||
Reference in New Issue
Block a user