Repository navigation
Keep checks out of the change's reach and bind verification to content (0.3.0) - #2
Merged
Merged
Conversation
…t (0.3.0) - Read .verify/config.json from the base commit; --config working to opt in. - Changes to the checks themselves (config, test/lint/CI config, deleted tests, skipped or loosened tests) are merge tier 3; silenced checks tier 2. - run-verify records a working-tree hash; reviews name it on a Tree: line; the Stop gate and make-evidence accept only the tree now on disk. A check that rewrites source fails the run. - Measure the change from the merge-base: commits on the branch and deletions count (fixes the gate skipping committed work and make-evidence dropping pushed commits). - UserPromptSubmit hook records the tree at turn start so talk-only turns pass; gate modes enforce/observe/off with .verify/gate.log. - Negative check is binary-safe and shares base resolution. - Tests for the scripts (node:test, fixture repos) and CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes three holes that let a change pass verification it should not (details in
docs/adr/0003):Also: gate modes
UI_WORKFLOW_GATE=enforce|observe|offwith.verify/gate.log; a check that rewrites source fails the run; the negative check is binary-safe.Evidence
.verify/config.jsonwas used as-is and left the tier at 1; a deleted test raised nothing; committing during a turn skipped the Stop gate. Each case is now a test intest/.npm test→ 34 pass, 0 fail (Node 22, local). New CI:.github/workflows/test.yml(Node 20/22, Linux/macOS).Merge Danger
Door: two-way (revert restores 0.2 behaviour).
Blast Radius: moderate. Reviews written under 0.2 lack
Tree:and must be redone; projects whose.verify/config.jsonis not on the default branch yet needrun-verify --config working; repos without a remote should setVERIFY_BASE. See README "从 0.2 升级".How to revert
git revertthis commit; no data or project files are migrated.Generated by Claude Code