
Description
check is a read-only drift detector in the cavekit workflow. Spec drift, where the spec silently stops matching the code, is the main failure mode the project describes, and check is meant to catch it. md against the current code and reports violations grouped by severity. It writes nothing. Instead it suggests remedies through the spec or the code, and you decide what to do. The project recommends running it after each build and before each ship. Invocation arguments choose what to check. By default it checks the invariants in the verification section (§V). Adding §I checks interfaces, §T audits task status against the code, and --all runs all three. md, it reports that there is nothing to check and stops. The project's guidance is that drift caught by check is a small diff, while drift caught in production becomes a backprop entry in section §B.…
Highlights
- Read-only drift detection
- Compares SPEC.md with the current code
- Violations grouped by severity
- Checks invariants, interfaces and tasks
- Writes nothing and suggests remedies
Ratings & Reviews
No ratings yet
Be the first to rate check.
People also visit

validate-changes-match-specs
Validate that a branch or pull request implementation matches introduced
check FAQ
What does check do?
It compares SPEC.md with the current code and reports violations grouped by severity, without changing any files.
When should I run it?
After each build and before each ship, according to the skill.
What can I check?
Invariants by default, interfaces with §I, task status against the code with §T, and all three with --all.
Will it fix problems?
No. It writes nothing and suggests remedies through the spec or the code. You decide which to apply.
What if there is no spec?
It reports that there is no spec, so nothing to check, and stops.
What are the best check alternatives?
Popular alternatives to check include openspec-verify-change, speckit-analyze and validate-changes-match-specs. See all check alternatives
















