Skip to content

v1.0.8 — SDD Workflow Engine

Choose a tag to compare

@ceilf6 ceilf6 released this 20 May 04:37
· 545 commits to develop since this release

规格驱动工作流引擎 (Spec-Driven Workflow Engine)

将 SDD 从静态约束层进化为规格驱动工作流引擎,融合 Spec Kit、Superpowers、OpenSpec 三个项目的核心理念。

新增模块

  • Constitution — 项目原则层 (Tier 1),解析 constitution.yaml 并生成最高优先级 LLM prompt
  • Workflow Engine — 多阶段状态机:specify → clarify → plan → tasks → implement → verify
  • Checklist Gate — 阶段转换质量门禁,内置 spec 完整性 / plan 质量 / 验证覆盖检查
  • Artifacts — 文件系统持久化产物存储(.frontagent/specs/)
  • Verification — 验证纪律模块:证据收集 + 覆盖率评估("Evidence before claims, always")
  • Quality — 计划质量验证器(no-placeholders / 原子粒度 / 单一动作)+ 跨产物一致性分析

管线集成

  • AgentConfig 新增 constitutionPath 和 sddWorkflow 配置
  • Constitution prompt (Tier 1) 在 SDD prompt (Tier 2) 之前注入
  • WorkflowIntegration 提供统一的工作流操作接口

向后兼容

所有新功能通过 sddWorkflow.enabled: true 可选启用,不启用时行为与 v1.0.7 完全一致。