Skip to content

Reviews that converge, a project checklist and a ratchet (0.4.0) - #3

Merged
davidxiaobj merged 1 commit into
claude/p0-verification-trustfrom
claude/p1-learning-loop
Nov 17, 2026
Merged

davidxiaobj merged 1 commit into
claude/p0-verification-trustfrom
claude/p1-learning-loop

Conversation

@davidxiaobj

Copy link
Copy Markdown
Collaborator

Stacked on #2 (base: claude/p0-verification-trust). Merge #2 first; this PR's base then becomes main.

Summary

review round 1 ─ review-brief.mjs ─ tree, depth, triggered docs/checklist.md items
review round 2+ ─ previous findings + `git diff <reviewed tree> <current tree>` only ─ round 4 refused
finding ─ Blocker | Should-fix | Pre-existing (reported, not blocking)
Blocker / revert / correction ─ shared/ratchet.md ─ lint rule > checklist item > contract line
reviewer prompt change ─ evals/run.mjs ─ recall on known bugs, false Blockers on clean changes
commit ─ prepare-commit-msg ─ "Verified: tree=… tier=…" or "Verified: none (why)"
PR ─ shared/verify-ci.yml ─ rerun checks from base config, checks-only tier, required status

Also: sensitive lane paths → tier 3 and deep review; run-verify fail-fast (--keep-going); evidence and PR body state door, blast radius and how to revert.

Evidence

  • Before: 34 tests. After: 52 tests, all passing locally (npm test), including round convergence, round cap, checklist triggers, stamps through a real git commit, checks-only exit codes, and every eval case preparing with passing checks.
  • Found while testing: a previous change's review was archived as round 1 of the next change. Fixed; covered by a test.
  • Not run: the evals against a real reviewer (node evals/run.mjs all --reviewer "claude -p --permission-mode acceptEdits"). That gives the baseline to compare future prompt changes with.

Merge Danger

Door: two-way.

Blast Radius: moderate. Reviews now start from review-brief.mjs; review files gain ## Checklist; run-verify stops a lane at its first failure. See README "从 0.3 升级". The CI template pins v0.4.0, a tag to create when this merges.

How to revert

git revert this commit; project files are unaffected (.verify/rounds-*, brief-* are local and ignored).


Generated by Claude Code

- review-brief.mjs writes every reviewer brief: tree, depth (quick,
  standard, deep with a disproof pass for Blockers), checklist items the
  diff triggers, round 2+ previous findings and the incremental diff;
  refuses a fourth round. Round state resets with a new acceptance.md.
- docs/checklist.md: diff-triggered items (lib/checklist.mjs), read from
  the base commit, guarded (tier 3).
- Pre-existing findings are reported but do not block; class findings
  list every instance.
- shared/ratchet.md: turn Blockers, reverts and corrections into checks;
  setup steps for lint guardrails, boundaries, sensitive paths.
- evals/: known-bug and clean cases, prepared like real changes; scorer
  for recall and false Blockers.
- sensitive paths are tier 3; run-verify stops a lane at the first
  failure (--keep-going); stamp.mjs adds a Verified: trailer via a
  prepare-commit-msg hook; evidence and PR body state door, blast radius
  and how to revert; make-evidence --checks-only and a CI template.
- Fix: a previous change's review was counted as round 1 of the next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014d2MvQ5v7FCph37jwFCC7i
@davidxiaobj
davidxiaobj merged commit b3052f0 into claude/p0-verification-trust Nov 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants