Files
GVFG_Standalone/GVFG_SDK/sdk/gvfg/formal/MC_ConcurrentReader.cfg
T
iverson3yaandClaude Opus 5.5 208fb6c811 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 with 1d89392. f1-hardware-repro.ps1 reproduced the stuck channel against b47f27b and passed against 1d89392 on 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>
2026-11-30 16:46:15 +08:00

14 lines
409 B
INI

\* See the verify-gvfg-frame-hold skill for what each config proves.
SPECIFICATION Spec
CONSTANTS
AppQuiescesReader = FALSE
Guards = {"RestartWaitsForRelease", "CaptureRejectsDuringRecovery", "DeliverRechecksRunning", "DeliverChecksRunGeneration"}
MaxLifecycleOps = 4
MaxSignalEvents = 2
MaxReads = 4
INVARIANTS
TypeOK
HeldFrameIsCurrent
ReleaseWillSucceed
NoFailedRelease