立即验证结果(本次执行,全部通过)

验证项	结果	说明
任务一·编译		go build 成功
任务一·全量测试		41 包通过 / 0 失败
任务一·25 域可用		之前验证 25/25
任务二三四·Skill 规范		7 个新 Skill frontmatter 全合规
demo 脚本语法		4 个脚本(snippet/pr-guard/research/live)全过
examples 覆盖		42 个文件 / 38 个 Skill 目录
🔧 验证发现并修复的回归(关键)
问题:之前给 register.go 加 pm 域时,漏了更新回归测试 register_test.go —— 它硬编码期望 24 个 group,加 pm 后变 25,导致 TestRegisterAll 失败。

修复:expectedGroups 列表补上 "pm"(24→25),重跑全量测试 41 包全绿。

这说明:光"能跑通"≠"验证通过"。如果不跑全量测试,这个回归会带到提交里。验证抓到了。
This commit is contained in:
Surponess 2026-06-29 10:39:03 +08:00
parent 464b0225e8
commit b09ff86078
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ func TestRegisterAll(t *testing.T) {
expectedGroups := []string{
"repo", "issue", "label", "license", "pr", "profile", "release", "branch",
"org", "user", "search", "ci", "workflow",
"compare", "member", "milestone", "pipeline", "webhook",
"compare", "member", "milestone", "pipeline", "pm", "webhook",
"dataset", "health", "ignore",
// HEAD-only groups preserved during the upstream/master merge.
"file", "snippet", "wiki",