governance(drift-399): AI_Toy 申报 + bootstrap 直推豁免 - #400
Conversation
PR Summary by Qodo治理登记 AI_Toy 并豁免 bootstrap 直推
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
|
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 10 included reviews per hour; 6 remain after this review. 📝 WalkthroughWalkthrough本次变更登记 Changes仓库治理登记
Suggested labels: Merge Risk: ⚪ Minimal · up to This change registers AI_Toy and records its documented bootstrap push exemptions in governance metadata; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Code Review by Qodo
1. Fallback omits AI_Toy metrics
|
| - name: AI_Toy | ||
| layer: L2 | ||
| visibility: public | ||
| status: active |
There was a problem hiding this comment.
1. Fallback omits ai_toy metrics 🐞 Bug ◔ Observability
When sli-report.sh cannot fetch or parse REPOS.yaml, its hard-coded fallback omits the newly active AI_Toy repository, so AI_Toy PRs are excluded from organization-wide merge, escape, stuck-PR, duration, and sampling metrics during that failure mode. The fallback is then incomplete precisely when it is used to preserve reporting through an infrastructure failure.
Agent Prompt
## Issue description
The new active `AI_Toy` repository is absent from `sli-report.sh`'s repository fallback, so its PRs are omitted whenever canonical registry retrieval or parsing fails.
## Issue Context
The normal path reads `REPOS.yaml`, but the fallback is a separate static repository enumeration and must be extended for the new member.
## Fix Focus Areas
- governance/REPOS.yaml[185-188]
- scripts/sli-report.sh[111-128]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
| status: active | ||
| role: 产品仓——AI 陪伴玩具多模态 monorepo(唤醒词/声纹/IMU/情绪引擎/人格编译器/记忆图谱/ | ||
| TTS/离线运行时/路由缓存 共 T1–T20 资产与 16 组门禁;Python uv 工作区 + TypeScript pnpm + |
There was a problem hiding this comment.
2. Product metrics omit ai_toy 🐞 Bug ◔ Observability
AI_Toy is declared as an active product repository, but it is absent from metrics.yaml's user_results.products, so the dashboard never reads or reports its required metrics/user-result.yaml metric—even as pending. The current test checks only that listed products exist in REPOS.yaml, allowing this reverse omission to pass silently.
Agent Prompt
## Issue description
Register `AI_Toy` in the product user-result metric scope so its metric is collected and rendered rather than silently omitted.
## Issue Context
The policy says every product repository has a user-result metric slot, but the static product list and its one-way validation do not include the newly declared product.
## Fix Focus Areas
- governance/REPOS.yaml[188-190]
- governance/policy/metrics.yaml[70-80]
- governance/tests/test-metrics-policy.sh[91-99]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Card: #399
变更摘要(治理级变更 / 对应 drift-399 四项漂移的 Fix-2 + Fix-3)
AI_Toy仓完成地图申报(drift §7 未申报仓)。direct_push_exemptions.AI_Toy登记两条完整 SHA:71456ebd8e841fe2c5e18bcdfd7d5cf63e1e17b7(Initial commit,owner randypanding @ 2026-08-28T06:10:57Z)439617d6d3640aa513d6a21c739f9d7aec9a246d(Add files via upload,owner @ 2026-08-28T06:13:30Z)——(b) 类(ADR-0021/ADR-0090/ADR-0092):空仓建仓时序上 PR 流程尚未就绪,破玻璃直推事实的机器可回填登记(§8),先例已在 Viral_Radar / Media-Monitor / QW_Arena1 同类登记。
bash governance/apply.sh幂等修复(基线=squash-only/delete-branch/auto-merge=on;12 治理标签按 expected-state.labels.items 对齐)。验证
bash governance/drift-check.sh应不再产生 AI_Toy 相关 §1/§7/§8/§16 条目{allow_squash_merge:true, allow_merge_commit:false, allow_rebase_merge:false, delete_branch_on_merge:true, allow_auto_merge:true}(与 apply.sh §5 期望一致)type:intent/type:card+ 10×state:*(state:ir-signed/state:ready/state:done色=0E8A16,state:in-progress=FB8C04,state:spec=FBCA04等逐色对齐)Summary by CodeRabbit