Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

ADR-0032: gate aggregator 严格化 + 检测链路 pipefail 修复(P1-3) - #48

Closed
cloudbrid-agent[bot] wants to merge 1 commit into
mainfrom
adr-0032-gate-aggregator-strictness
Closed

ADR-0032: gate aggregator 严格化 + 检测链路 pipefail 修复(P1-3)#48
cloudbrid-agent[bot] wants to merge 1 commit into
mainfrom
adr-0032-gate-aggregator-strictness

Conversation

@cloudbrid-agent

Copy link
Copy Markdown
Contributor

摘要

自动合并计划 P1-3(.github#84)决策背书:唯一 required check gate 的 aggregator 断言改为严格 result == "success"(skipped ≠ success,消灭 #81 §3.1 的 fail-open 面)。

含同类活体缺陷修复:governance-drift.yml 的 drift-check | tee 管道在 Actions 默认 shell(无 pipefail)下吞掉 exit 1——漂移检出时步骤仍绿、if: failure() 的开 issue 分支从不触发(run 32331351942 实证:4 项漂移、步骤 success、issue 未开)。GM-1 报警机制整体失效中,本 ADR 一并修复。

另登记 workflow 级路径过滤禁令 + 既有例外(AI_Web_School contract.yml,非 required 补充检测)。

验证

  • T3 断言逻辑单元验证(python 等价):skipped/cancelled/failure/startup_failure → 红;success/空 → 绿
  • T4 静态扫描(11 仓全量):仅 contract.yml 命中(已登记豁免理由)

@cloudbrid-agent

Copy link
Copy Markdown
Contributor Author

关闭:与已合并的 ADR-0032(PR #47,更完整:覆盖业务仓 aggregator + EXPECTED_SKIP 结构性跳过白名单设计)撞号且大部分冗余。本 ADR 中独有的 governance-drift pipefail 缺陷发现(run 32331351942 实证)将以独立 ADR-0033 重新提交。

@cloudbrid-agent cloudbrid-agent Bot closed this Aug 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant