Skip to content

W1-C1: archive 仓创建与旧 ADR 归档迁移(重订宪法主体) #164

Description

@randypanding

父意图: #161 | 宪法: specs/IR-0003/constitution.md §1/§9 | 波次: W1 | 依赖: 无 | 预算: BUDGET-01
走 flows.new_repo + GM-4 申报;agent-registry 变更走 C2;adr-required 关卡变更走 C1+ADR。

任务

archive 仓创建与旧法归档:新仓 archive(public),agent-registry/decisions/ 全部旧 ADR
逐条标 active / superseded / archived 并迁移,agent-registry 留墓碑索引
(ADR 编号 → 状态 → archive 路径),adr-required 关卡改查索引。

AC(Given-When-Then)

  • AC-1 (api): Given 迁移完成,When 对全部历史 ADR 编号解析,Then 每个编号经墓碑索引可解析到 archive 仓路径,无内容丢失(逐条 diff 校验)。
  • AC-2 (api): Given 一个引用真实历史 ADR 的 C1 PR,When adr-required 关卡运行,Then 查索引通过;引用不存在编号则 fail(防幽灵 ADR 语义不回归)。
  • AC-3 (api): Given archive 仓,When drift-check §7 运行,Then REPOS.yaml 申报与线上状态一致(L1、public、active)。

blastRadius(预测)

agent-registry: decisions/**, registry/**; Cloudbird-Software/.github: governance/REPOS.yaml; 新仓 archive

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