All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- trinity-apply 追踪文件强制更新:AI Agent 执行任务时不再跳过追踪文件更新
- 通过 Autoresearch 4 轮优化(28→40 分)强化追踪执行机制
- 新增 PRE-TASK GATE:开始新任务前检查上一个 TRACKING RECEIPT
- 新增 POST-TASK GATE:3 步 READ-BACK 验证(写后读回确认)
- 新增 HARD STOP:追踪未完成前禁止编写新代码
- 新增 TRACKING RECEIPT:任务间强制凭证 + 虚假报告警告
- 新增 FINAL VERIFICATION:阶段结束审计协议
- 修复 CLI
VERSION常量未与package.json同步的问题
trinity-applySKILL.md v2.2 → v2.3(autoresearch 优化)- Claude Code + OpenCode 双模板同步更新
sdd init自动安装前置依赖(openspec CLI、planning-with-files、superpowers)sdd doctor --fix一键修复所有问题- 前置依赖检测逻辑(
ensureDependencies())
- README 添加 OpenSpec CLI 到前置依赖表
doctor命令安装提示修正:npm install→brew install openspec
sdd cleanupcommand - 清理项目历史残留命令(hybrid-, opsx-)sdd doctorcommand - 诊断 SDD 工作流健康度--dry-runoption for init/cleanup - 预览安装/清理结果--platformvalidation - 拒绝无效平台名(只接受 claude/opencode/both)- sdd-init 自动清理旧命令文件(hybrid-.md, opsx-.md)
- sdd-new.md: schema 名称
trinity-workflow→trinity-workflow-v2 - 所有 sdd-*.md commands: 重写为 skill 触发器(解决命令面板拦截问题)
- .npmrc: NPM Token 改为环境变量引用
- sdd-new.md 中
--schema trinity-workflow错误(应为 trinity-workflow-v2) - 移除未使用的
ora依赖 - 修复 CHANGELOG v2.3.1 条目(commands 复制逻辑已恢复)
- 修复 NPM Token 硬编码泄露问题
- Critical Rules for Archive: 强制归档规则,防止 specs 丢失
- Specs Extraction Verification: 归档后自动验证 specs 提取
- Manual Extraction Fallback: 手动提取 specs 备用方案
- INDEX.md Generation: 持久化 specs 目录索引生成
trinity-archiveskill v2.3 → v2.4schema.yaml新增postArchive和criticalRules配置
- 修复 AI 直接使用
mv命令导致 specs 未提取的问题 - 归档后
openspec/specs/目录不存在的问题
- Fix init command error when commands directory doesn't exist
- Simplify commands copying logic
- contextFiles support: Trinity Skills now read project context from
contextFilesconfig - Phase 0 in all Trinity Skills: Load project context before any operations
openspec/project.mdsupport for project-level context injection
- Only support
trinity-workflow-v2schema (removedtrinity-workflowandhybrid-workflow) config.yamlnow includescontextFilesconfiguration section
- Worktrunk config (wt.toml) support
- Copy wt.toml to .config/ during init
- Pre-switch: sync OpenSpec specs from origin/main
- Pre-merge: run tests before merging
- Post-switch: hint for start Agent
- Post-merge: notify when merge complete
- Correct archive path from
openspec/changes/archive/toopenspec/archive/
- Add missing artifact templates for trinity-workflow-v2 schema
- Publish to GitHub and npm
- Three Principles for AI-Driven Development
- Update README with core philosophy
- Add English documentation
- Fix brainstorming skill reference (superpowers/brainstorming)
- Update README with core philosophy description
- Clarify tracking file location (openspec/changes/{change-id}/)
- Remove .trinity directory creation logic
- Three-phase architecture: planning-with-files → OpenSpec CLI → planning-with-files
- Each operation updates tracking files via planning-with-files
- Trinity Workflow v2 schema
- Planning-with-Files integration as context anchor
- Delta Specs mechanism
- Profile mode auto-selection
- 3-Strike protocol integration
- Multi-platform support: Claude Code + OpenCode
- Initial version
- Trinity Workflow v1
- Hybrid Workflow support