Repository navigation
feat(formal-verification): add the specify refresh action - #16913
Conversation
/formal-verification:specify refresh brings each formal-<area> check back in line with code changed since its sync commit, keeping every step of pstack's maintain-formal-verification-skill, and ends each check in sync, updated, bug or blocked. Steps 2 to 5 run in a throwaway worktree; a property change waits for a person's yes; a replayed bug goes to /bugs:write and /work-items:track add; the commit holds the verification alone, on a ticket branch or through one upkeep pull request, and a detached HEAD off the tip commits nothing. The contract check's stale-coverage line now names refresh, and the autonomy routines catalog gains a formal-verification-upkeep row with no routine file. Refs: #15775 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 91c2d75104
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…anch provenance in refresh On a ticket branch the scratch worktree now takes the ticket's own verification files, the refreshed verification is committed there before the seeded break so the break can be dropped without losing it, and a check run at the ticket's HEAD leaves the sync commit and seeded_break unmoved. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
claude-review reviewed Code review (incremental, ef1ef06..6323e41)Scope: one file, What changed: the bullet now does things in this order:
This fixes both failure modes this lane raised at ef1ef06 (original line 184):
Widening the guard to the whole tree is stricter than the ticket bullet's path-scoped guard. That fits here, because the merge touches more than the verification paths. After a clean guard, any refused merge is a conflict that leaves Closing issue: the PR context lists no closing issue, only Loosened checks: none. The change makes a guard stricter. Spend: none. Loosened-check verdict: fail (default, no wrapper value given); patterns: 0 Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundThis review covers only what changed since What I checked
Spend: nothing in this change starts spending. critical-findings: 0 |
… work in refresh A pass started on a folder's own upkeep branch now has a commit rule, the scratch commit before a seeded break allows an empty tree, and the write guard treats untracked files under the staged paths as the caller's work. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…p branch Refresh now reads the working-tree guard before it merges the tip into a checked-out upkeep branch, and aborts a refused merge and blocks the folder's checks instead of writing into a conflicted tree. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Lane run report
Failed GitHub API calls
|
Refs: #15775
Summary
Adds
/formal-verification:specify refresh: it brings eachformal-<area>check back in line with code changed since its sync commit and says whether a failure is drift in the verification or a bug in the code. This is the build half of #15775; the dogfood follows in its own pull request.Fix
refreshfinds checks by what they do, runs each unchanged, reads and classifies every change to covered code, updates the verification from the code in a throwaway worktree, reruns it with a seeded break, and ends each checkin sync,updated,bugorblocked.in syncorupdatedwith its seeded break caught, and files a bug only when its counterexample was replayed against the real code./formal-verification:specify refresh, and the autonomy routines catalog gains aformal-verification-upkeeprow with no routine file.Decisions the issue left to planning:
Check <id> (<folder>): <outcome>. The folder is named because a check id is unique only within onesync.yaml.--convert <skill-dir>names a verification skill outside the contract to convert, attended only.Verification
node --test plugins/formal-verification/scripts/check.test.mjs: 50 pass, 0 fail.check.mjson this repository: 2 formal-area skills, 0 failures, 0 warnings.validate-cases.py plugins/formal-verification/evals: 0 FAIL, five newsp-refresh-*cases.Left out:
claude plugin evalon the new cases, and any run of the installedrefreshaction; the dogfood pull request exercises it.Related
specifyand thecheckscript)Remaining
formal-<area>skill covers, classified and refreshed by/formal-verification:specify refresh.🤖 Generated with Claude Code