formal-methods-drift-guard
Formal Methods Drift Guard
Use this skill when a team already has a model/check and now needs to keep
spec -> code -> model aligned as the product changes.
This is not the first-modeling skill. If no useful model exists yet, use
formal-methods-reconciler first. This skill starts after at least one of
these exists: a Z3/Alloy/TLA+/P/Dafny/MoonBit/Lean/Rocq check, a CI verifier
job, a model ledger, or a domain decision that was previously locked.
Use formal-methods-reconciler for first extraction, tool selection, and
initial model design; use this skill for ongoing drift maintenance.
Core Rule
Do not make the model green by silently changing the property.
Treat every red check, stale claim, missing source mapping, or changed witness as a drift signal. Translate it into domain language before proposing a fix.