Repository navigation
Fast checks every turn; screenshots and review once when ready (0.8.0) - #8
Merged
Merged
Conversation
The Stop gate judged every turn as if the change were finished: the full run-verify (Playwright screenshots, e2e, inspect) and, for standard and strict changes, a fresh review and evidence pack. The next edit threw all of it away, so a change built over several turns paid for each slow step several times. - Checks can be marked "stage": "final"; the template marks look, functional, inspect and security (and the RN simulator checks). - run-verify --fast skips them and records the lane as "fast". - The Stop gate (default enforce) blocks only on missing, failing or stale fast checks; what the final verification lacks is shown to the person and logged as final-pending. DX_WORKFLOW_GATE=full keeps 0.7 behaviour. - review-brief refuses a fast run; make-evidence marks it not ready. - Skills: implement with --fast, verify once when ready; acceptance only for Medium and Large (matching 0007); fix a broken sentence in frontend verify.md and a duplicated README paragraph. - ADR 0008, version 0.8.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaMb11KUWULtVrTGwgNRJt
run-verify records the real path of the run directory (/private/var/...), so stripping the project root from it failed when the root was given through the /var symlink. Read the file at the recorded path instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JaMb11KUWULtVrTGwgNRJt
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.
为什么
0.7 的 Stop 钩子把每一轮都当成"改完了"来检查:完整
run-verify(截图、e2e、inspect),standard 以上还要新评审和证据包。这些都绑定内容哈希,下一次改动就作废,所以一个改了五轮的改动要付五次截图和五次评审。改了什么
"stage": "final";模板默认标了look、functional、inspect、security和 RN 模拟器检查。run-verify --fast跳过它们,lane 记为fast;不加--fast才算pass。enforce)每轮只在快检查没跑/没过/过期时拦;final 检查、评审、验收、证据包缺什么用 systemMessage 告诉用户,记为final-pending。DX_WORKFLOW_GATE=full保留 0.7 行为。review-brief拒绝fast运行;make-evidence把它标为"未就绪";CI 仍跑全部检查。--fast,改完后完整验证一次;原型挑选仍在前面。验收文件只在 Medium/Large 写(和 0007 一致)。修了 frontendverify.md里断掉的一句、README 里重复的一段。测试
npm test:90/90 通过(新增test/stages.test.mjs5 个用例;原有钩子测试在full模式下跑,行为不变)。Generated by Claude Code