> 来源: #257(agent-registry governance-tests canary 连续红)| 类型: 治理修复卡 | 预算: BUDGET-01 > agent-registry tests/ 属 C1(验证器元测试),PR 须附 ADR(可新建一份勘误 ADR 覆盖 C4/C5 预期更新)。 > owner 裁决记录(2026-08-22):C5 采纳"保留双轨、更新 canary 预期"——BP-2 观察期未结束,不拆轨。 ## 任务 修复 agent-registry canary(四仓公开治理面不变量)main 连续红,三项: 1. **C6-a(机械)**:.github 仓 gate.yml 的 hygiene.yml 钉扎 9c20d43 脱靶 → 刷新为当前 v1 tag 实际指向的 commit(参照 template-service PR #39 同款修法)。 2. **C6-b(机械)**:CI-Workflows check.yml 中非 40-hex 的外部 action 引用 → 逐个钉 SHA(ADR-0011 钉扎立场)。 3. **C4(勘误)**:canary 对 template-service ci.yml 的形态断言改为承认双合法形态(`@vN` 浮动指针 | 40-hex SHA+ciw-ref 透传),与 C6 一致——写明选型倾向 SHA-only。 4. **C5(owner 已裁)**:canary 对 main-protection required 的预期更新为 ['gate','org-gate'] 双轨(依据 BP-2 观察期设计;退役本地轨需未来新 ADR,不在本卡范围)。 ## AC(Given-When-Then) - AC-1 (api): Given 修复合并,When agent-registry governance-tests 在 main 运行,Then 连续 3 次绿(canary 恢复活体证明)。 - AC-2 (api): Given C6 修复,When 检查 .github/gate.yml 与 CI-Workflows/check.yml,Then 全部外部引用为 40-hex SHA 且与 v1 指针实际指向一致(drift §15 对账绿)。 - AC-3 (api): Given C4/C5 勘误,When 检查,Then canary 断言与现行声明文件一致;勘误 ADR 落 decisions/ 且过墓碑索引校验。 - AC-4 (api,防回潮): Given 未来 v1 tag 移动,When drift §15/§12 运行,Then 钉点脱靶能在 1h 内被报出(本卡不新增机制,验证现有即可)。 ## blastRadius(预测) `.github: .github/workflows/gate.yml`; `CI-Workflows: .github/workflows/check.yml`; `agent-registry: tests/**, decisions/**`
Activity
cloudbrid-agent commentedon Aug 22, 2026
D:/development/Git/claim
cloudbrid-agent commentedon Aug 22, 2026
进度更新
已完成:
需要人工处理:
cloudbrid-agent commentedon Aug 22, 2026
完成更新
已合并:
canary 本地验证:除 gate.yml 钉点(C6-a)需人工处理外,其余 C1-C7 全绿。
待人工处理(C6-a):
.github/workflows/gate.yml行 23uses: Cloudbird-Software/CI-Workflows/.github/workflows/hygiene.yml@9c20d43d60e9f9d1438f171aeee8e4dbdf02c08b # v1uses: Cloudbird-Software/CI-Workflows/.github/workflows/hygiene.yml@61191f87c537f6e887695517121c6e530a838261 # v1GitHub App 无 workflows 权限,无法自动推送 .github/workflows/ 文件。
fix(governance): gate.yml hygiene 引用钉点刷新至 v1 当前指向(#259 C6-a) (#265)
fix(gateway): org-adr-required 补充 PR head 的 ADR 文件校验 (#65)
randypanding commentedon Aug 22, 2026
全部完成 ✅
已合并(含 C6-a):
所有子任务完成:
canary C1-C7 应全绿(下一轮 main push 触发)。
feat(gate): 跨仓 verdict 中继 workflow(ADR-0082/0083,机械核证) (#339)
feat(governance): T-14 机器化第一面 + 红队 required check 落地修正(W2-C3 .github#…
randypanding commentedon Aug 25, 2026
关闭(owner 2026-08-22 已确认全部完成):
注:卡停留 state:ready 未走 /claim 流程系 owner 直接执行所致,特此留痕。