一键导入
tla
Run TLA+ model checker on thread dispatch spec. Triggers: "run tla", "check tla", "model check", "verify threads", "tla+", "check dispatch".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run TLA+ model checker on thread dispatch spec. Triggers: "run tla", "check tla", "model check", "verify threads", "tla+", "check dispatch".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check proof-code sync and rebuild proofs. Triggers: "sync proofs", "check proofs sync", "are proofs stale", "proof sync".
Build and check Lean 4 proofs. Triggers: "lean build", "check proofs", "run lean", "verify proofs", "lean".
Release pz with GitHub Actions. Bumps version in build.zig.zon, tags, pushes, and monitors CI. Use when user says "release", "bump version", "bump patch", "bump minor", "bump major", "cut a release", or "publish".
| name | tla |
| description | Run TLA+ model checker on thread dispatch spec. Triggers: "run tla", "check tla", "model check", "verify threads", "tla+", "check dispatch". |
| user_invocable | true |
Run TLC on docs/tla/ThreadDispatch.tla to verify thread dispatch invariants.
/opt/homebrew/opt/openjdk/bin/java -XX:+UseParallelGC \
-cp ~/tools/tla2tools.jar tlc2.TLC \
docs/tla/ThreadDispatch.tla \
-config docs/tla/ThreadDispatch.cfg \
-workers auto
Run from project root. Expected: ~3-4M states, <3 minutes, exit code 0.
When the episodes plan changes:
ThreadDispatch.tla to match new design decisions.cfg (fewer threads/files/rounds) — the properties are symmetry-invariantSafety (invariants):
FileOwnershipDisjoint: no two concurrent threads share filesBudgetNonNegative: no thread overspendsGlobalBudgetNonNegative: total budget never negativeToolMaskValid: no privilege escalationDepthOneEnforced: no sub-thread spawningFileLocksConsistent: locks match ownershipEpisodesFromCompleted: episodes only from done/failed threadsJoinCompleteness: orchestrator done only after all episodes collectedLiveness (temporal):
ThreadProgress: running threads eventually completeJoinTermination: join always terminatesCancelResponsiveness: aborted threads eventually fail