---
name: design-artifact-pack-workflow
type: procedure
when: '架构设计文档, 数据库设计文档, API接口规格文档, 设计文档升级'
scope:
  - backend
  - frontend
  - infrastructure
products:
  - '*'
owner_mechanism_id: mc-design-artifact-pack
id: ka-procedure-design-artifact-pack
asset_kind: procedure
lifecycle_status: active
authority: supporting
routes:
  - artifact_generation
primary_triggers:
  - 设计产物包
priority: P0
specificity: 5
version: 1.1.0
last_reviewed: '2026-06-01'
required_evidence:
  - design_artifact_pack
  - consistency_verification
consumes:
  - architecture_decision_workshop
  - docs/architecture/00-架构决策记录.md
  - existing_design_artifacts
emits:
  - design_artifact_pack
  - docs/architecture/99-设计一致性验收报告.md
  - implementation_ready
stages: ["架构设计"]
---

# 设计产物生成与复验工作流

1. 消费已经用户确认的架构决策记录。
2. 新项目生成架构、数据库、API、OpenAPI、SQL/migration 及一致性报告。
3. 现有文档先标记为需要复验，输出差距和待确认变化，不静默覆盖。
4. 用户确认后归档旧版本并写入修订产物。
5. 读取真实文件验证 API 字段、SQL 可执行性和跨文档追踪一致性。
6. 全部通过后才标记为 `implementation_ready`，供后续编码和交付消费。
