Skip to content

W3-C1: Bug 流水线(env-gate + 哨兵自证 + 三值判定 + cannot-reproduce) #218

Description

@randypanding

父意图: #161 | 宪法: §3 Bug 流/§9#6 | 波次: W3 | 依赖: W2 | 预算: BUDGET-01
C1 须附 ADR。判定协议署名 SWT-bench F→P 扩展;环境自证缺失即 fail-closed。

任务

Bug 流水线:bug issue form + reproduce 阶段——env-gate(锁依赖镜像)→
哨兵环境自证(基线套件+故意失败哨兵)→ 三值判定 {复现/证伪/不可判定} →
复现成功产 failing repro test(挂 BUG-n)→ owner 签 → 锁定 → 修复 → 关卡 → 合并。

AC(Given-When-Then)

  • AC-1 (e2e): Given 一个真实 bug IR,When reproduce 运行,Then base fail+fix pass → 打 reproduced 且 repro test 入库;环境自证日志缺失 → fail-closed 不做判定。
  • AC-2 (e2e): Given base 上测试 pass,Then 打 cannot-reproduce 不关单;同指纹(仓+症状签名 sha256)二次上报自动绕过。
  • AC-3 (e2e): Given 环境错/超时(30min)/翻转异常,Then 打 inconclusive 并换新环境重试一次,仍不可判定 → needs-human。
  • AC-4 (api): Given 一周 bug 流运行,When 抽样,Then 误关率有数字(每周抽样 3 单)。

blastRadius(预测)

CI-Workflows: .github/workflows/**; Cloudbird-Software/.github: .github/ISSUE_TEMPLATE/**, governance/transitions.yaml; 各产品仓 tests/**

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

state:in-progress卡已被认领,实现进行中(BEH-08 /claim 协议)type:card工作卡(wave-planner 产出)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions