[M-AI-08-08-GATE] 学习综合分析迁移与 AI 业务迁移闭环验收 #335
Closed
opened 2026-06-22 21:27:17 +08:00 by wangdl
·
1 comment
Labels
Clear labels
adr
Area: adr
architecture
Area: architecture
area:activity
活动/统计
area:admin
管理后台
area:admin-api
area:ai
AI/RAG
area:ai-runtime
AI Runtime / AI 分析体系相关
area:analytics
area:api
API 接口
area:auth
认证与授权
area:cos
对象存储
area:database
数据库/Migration
area:import
文件导入/解析
area:knowledge
知识库/知识点
area:learning-info
area:learning-session
area:quiz
测验/自测
area:reading-event
area:reading-progress
area:review
复习系统
area:security
安全相关
audit
Area: audit
audit:api-admin-info
audit:api-info
audit:planned
已完成宏观规划,尚未代码审查
audit:reviewed
backend
Area: backend
billing
Area: billing
blocked-by:api-info-aggregation
blocked-by:api-info-core
blocked-by:api-info-ops
blocked-by:api-info-schema
blocked-by:processor
blocked-by:schema
compatibility
Area: compatibility
gate
Area: gate
infrastructure
Area: infrastructure
priority:p0
最高优先级,阻塞发布
priority:p1
高优先级,里程碑必需
priority:p2
中优先级,后续版本
prisma
Area: prisma
release
Area: release
repo:api
API 仓库 Issue
status:blocked
被阻塞
status:done
已完成
status:partial
status:todo
type:aggregation
type:bug
缺陷修复
type:design
设计
type:docs
文档
type:feature
新功能
type:migration
type:refactor
重构
type:test
work:admin-api
work:aggregation
work:api
work:artifact
题目/卡片产物
work:audit
work:circuit-breaker
熔断
work:contract
work:design
架构/协议设计工作
work:docs
work:export
work:extend-existing
work:internal-api
Runtime 内部接口
work:job
Job 调度相关
work:new-module
work:new-table
work:ops
work:query
work:quota
额度/限流
work:schema
Prisma Schema 设计
work:security
work:service
Service 层实现
work:snapshot
Snapshot 构建
work:test
No Label
Milestone
No items
No Milestone
M-AI-08 学习综合分析、学习建议与 AI 迁移闭环
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: wangdl/api-server#335
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
类型 / 标签
风险等级
P0 — 最终门禁,决定本阶段是否可以闭环
依赖
审核定位
A. Learning Analysis 业务迁移验收
B. 当前 AI 业务迁移阶段闭环验收
A. Learning Analysis 审核
数据聚合与 Snapshot(服务端可信/窗口固定/数据不足可识别)、Definition 与 Executor(ai-background/AiGateway only)、Validation(Evidence 真实/不跨用户/数据不足不伪造)、Projector(原子/幂等/失败回滚)、触发与回滚(手动幂等/定时窗口幂等/互斥/可回滚)、安全(跨用户隔离/脱敏/不自动执行建议)。
B. AI 迁移闭环审核
确认所有生产级 AI Workflow 均属于:已迁移/明确保留 Legacy 且有理由/明确延期/非生产代码。不得存在:未登记的生产模型调用/Controller 直连 Provider/Service 绕过 AiGateway/生产 Worker 绕过统一 Job/无主人的 Legacy AI Queue。
闭环结果
明确回答:是否仍有未迁移的核心生产 AI Workflow / 是否需要 M-AI-09 业务迁移里程碑 / 是否可以结束当前业务迁移阶段。
问题分级
P0:跨用户分析/敏感信息泄漏/自动执行危险建议/数据丢失/重复扣费/无法回滚
P1:Snapshot 混入其他用户数据/窗口漂移/数据不足伪结论/无依据 Evidence/Projector 非原子/幂等失效/定时重复/Unified 自动 fallback Legacy/核心 E2E 假通过/未登记核心生产模型调用
P2/P3:不阻塞主线
最终回复格式
M-AI-08-GATE:PASS / CONDITIONAL PASS / FAIL
AI-BUSINESS-MIGRATION-CLOSURE:PASS / FAIL
是否允许进入生产白名单:是 / 否
是否需要 M-AI-09 业务迁移:是 / 否
是否允许删除 Legacy:否
验收标准
建议执行顺序
第 8 个执行
M-AI-08-GATE:PASS
AI-BUSINESS-MIGRATION-CLOSURE:PASS
18 条完成标准全部通过
P0: 0, P1: 0
最终决定
审核文档: docs/architecture/m-ai-08-gate-audit.md