Repository navigation
feat(scd-test): 升级 Blind-First、测试反模式门禁、风险分级与受控豁免 (Refs #143) - #151
Merged
Merged
Conversation
This was referenced Nov 23, 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.
Refs #143
范围摘要
完成 Initiative
#137下的 D3(test-acceptance-upgrade):test-review5 条反模式门禁:在skills/scd-test/references/acceptance-audit.md与skills/scd-quickdev/references/release-contract.md规定独立验收者第一步仅凭原始要求、获批场景矩阵、精确 diff 与运行入口独立验证(不读实施者自检 PASS 结论防锚定),第二步再对照 Issue 三本账抓偏差;新增过度 Mock 穿透、弱断言、测实现细节、硬编码等待、无清理副作用 5 条反模式门禁;P0/P1/P2风险分层 + 先红后绿 ATDD + 5 项触发式 NFR:在skills/scd-test/SKILL.md与references/test-design.md的情景矩阵引入风险分级,P0新行为与缺陷修复实施前先落可执行测试观察精准断言失败,并补充 5 行条件触发式 NFR 检查面;WAIVED出口 + L0 纯文本无行为改动独立验收边界:在evidence-contract.md、acceptance-audit.md、release-contract.md保持PASS/FAIL/BLOCKED主结论,仅允许对非P0/非高风险外部缺口在用户明示批准下记录WAIVED;仅 L0 纯文档/注释/文案无行为改动可免强制子 Agent,所有代码行为与页面改动维持 100% 强制独立新上下文子 Agent;tests/scd-test-contract.test.mjs与增补tests/quickdev-contract.test.mjs正反例回归测试。工程验证证据
node --test tests/planning-contract.test.mjs tests/quickdev-contract.test.mjs tests/scd-test-contract.test.mjs tests/chinese-skill-payload.test.mjs tests/routing-kernel.test.mjs tests/plugin-compatibility.test.mjs tests/opencode-compatibility.test.mjs:53/53 通过;node scripts/sync-routing-kernel.mjs --check:通过(10 routes, 4 surfaces);scd-test验收模式复核回填。