ADR-0024: Use-up-Plan 申报入图 + bootstrap 直推豁免登记(ADR-0024) - #77
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 3 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthrough新增 ChangesUse-up-Plan 治理配置
Possibly related PRs
Suggested labels: Merge Risk: ⚪ Minimal · up to This PR adds the declared repository entry and bootstrap exemption records; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Summary by QodoRegister Use-up-Plan and Bootstrap Push Exemptions
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Bootstrap exemptions misclassified
|
| "Use-up-Plan": [ | ||
| "ba75401f84eb915a119568c246168d8cdb8a1200", | ||
| "82132afc169a54b98869df136d1d6235124c4a96" |
There was a problem hiding this comment.
1. Bootstrap exemptions misclassified 🐞 Bug ◔ Observability
The new Use-up-Plan bootstrap commits are always logged as break-glass backfills attributed to ADR-0017, despite this PR declaring them as ADR-0024 bootstrap exemptions. This produces misleading governance audit output whenever drift-check processes either commit.
Agent Prompt
## Issue description
The newly registered Use-up-Plan commits are bootstrap exemptions backed by ADR-0024, but `drift-check.sh` reports every exemption as a break-glass backfill under ADR-0017.
## Issue Context
`direct_push_exemptions` currently stores only SHA arrays, so the detector cannot distinguish bootstrap events from break-glass remediation or report their actual ADR provenance. Either represent exemption metadata explicitly or change the output to accurate generic wording.
## Fix Focus Areas
- governance/expected-state.json[50-68]
- governance/drift-check.sh[217-227]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
改了什么(C1,ADR-0024 背书,agent-registry PR #36 已合)
REPOS.yaml:增 Use-up-Plan(L2 / public / active)——AI 多 plan 额度管理与路由调度工具expected-state.json:direct_push_exemptions 增 Use-up-Plan 两个完整 SHA(Initial commit ba75401f… + GitHub UI 编辑 82132afc…,ADR-0021 (b) 建仓 bootstrap 类)为什么
drift-check 3 项漂移(§7b 未申报 + §8 两直推)。建仓时序上不可能走 PR,按 ADR-0021 已裁定模式登记;平台配套已补全(wiki/projects 关、production env RL-1、App 挂载 AG-4、基线 apply 已覆盖)。
怎么验证
gate 全绿(含 adr-required 存在性);合并后 drift-check 对 Use-up-Plan 全 OK、组织漂移清零。
风险 / 回滚
无新增豁免通道;回滚=新 ADR。
Summary by CodeRabbit
Use-up-Plan仓库,标记为 L2、公开且处于活跃状态。