Delete 15 redirect stubs now that canonical paths exist under audit/ and remediation/. Move completed ops/research to archive, fix internal links, and remove untracked duplicate test-report workspace artifacts. Co-authored-by: Cursor <cursoragent@cursor.com>
1.0 KiB
1.0 KiB
Phase 2:工作流设计器与模板库 Implementation Plan
依据:
.doc/remediation/2026-09-11-production-ready-workflow-governance-plan.md§7、§15 Phase 2
Goal: 工作流定义版本化入库;模板 CAS 资产库;Admin 草稿/校验/发布/退役;静态 catalog bootstrap;运行时 DBCatalog。
不在本阶段: 项目激活冻结、instance 快照、阶段 ABAC(Phase 3)。
完成门禁
| 门禁 | 判定 |
|---|---|
| 已发布版本不可变 | Publish 后 UpdateDraft 拒绝 |
| 非法工作流不能发布 | Validate 失败 → 422 |
| 旧 catalog bootstrap | BootstrapSeeds 幂等写入 5 套 published v1 |
| 运行时读 DB | NewCatalog 优先 DBCatalog |
已交付模块
deploy/postgres/goose/00016_2026-09-12-workflow-definitions-and-templates.sqlinternal/workflowdef/— store, service, validator, catalog, bootstrapinternal/server/admin_workflow_handlers.go,admin_template_handlers.goweb/src/api/workflowAdmin.ts+ AdminSettingsModal workflows Tab