Releases: devcxl/opencode-cabbage
Releases · devcxl/opencode-cabbage
Release list
v1.2.0
✨ Features
- goal 机制对齐 OpenChamber 差距
- 子会话活动闸:后台 subagent 仍 busy/retry 时跳过续接,防压过子代理结果注入
[BLOCKED: reason]阻塞报告协议:agent 明确无法推进时暂停 goal,防空转烧 token- 先写计数后发 prompt:崩溃窗口只会少发一次续接,不会重启后双发
- token 预算护栏:
token_budget达限自动 pause(快照记账法,reasoning 计入)
- goal edit op:运行中修改
parent_issue_number(换 Flow 自动重置记账 + 索引 rebind)与token_budget(传 0 移除预算) [DONE:]完成报告协议:agent 验证通过后暂停 goal,由 goal-verify 做独立最终验证- autoResume 重启双发防护:
lastContinuedAt跳过窗口 + 索引一致性自愈(陈旧 entry 清理) - researcher 子 agent + flow-research skill:调研/事实核查场景(产出
docs/dev/research/<topic>.md) - dev-lifecycle 场景分诊编排:功能/Bug/紧急修复/业务调整/重构/技术债/基础设施/文档/回滚 10 条路径自动编排
- 子 agent 技能隔离:
permission.skill默认 deny,仅放行各自归属技能(architect→design/tasks;developer→code/tdd;reviewer→review;researcher→research)
🔧 Fixes
- goal 并发串行化(KeyedMutex 读改写,杜绝续接计数/状态丢失更新)
- resume 豁免在首 tick 正常推进时即消费,后续真实信号不被误豁免
- edit 换 Flow 记账重置失效、索引 rebind 失败路径、autoResume 窗口语义
- 安全与可靠性:goal 竞态 / 续接配额 / 权限收敛 / 死代码清理
- P1/P2 审计修复:
- skills 安装目录按插件版本隔离(
skills@<version>),升级自动重建,多版本共存不踩踏;重建加锁防并发竞态 goal({op:"create"})校验parent_issue_number为正整数;修复 active goal 存在时错误分支会删除现有 goal 的 bug- abort 立即持久化
paused(不再依赖内存标记,插件重启/30min 窗口不丢失用户中断) - CI 覆盖 main 直推;发布链路补 prompt-lint;npm 发布启用
--provenance
- skills 安装目录按插件版本隔离(
📚 Docs
- 架构文档与术语表更新到"纯 Prompt + goal"架构
- skill/agent/prompt 重写为纯 Prompt 流程(直接 git/gh 命令,技术栈无关)
- 非功能开发场景 SOP 文档(一场景一文档)+ ADR(场景分诊、Research 子 agent、技能隔离)
- README 补齐 Release / Publish to npm / 当月下载量 badges,修正计数(9 flow skills / 6 agents)
🧪 质量
- 测试 234 个全过(新增 goal edit、版本化 skills 安装、abort 持久化等用例)
- CI:prompt-lint + typecheck + 全量测试 + build
v1.1.0
Deprecated v1.0.0 — Thin Kernel 架构重构
Deprecated Release Notes — v1.0.0
Breaking Changes
- Thin Kernel 架构重构:删除 FlowRun 持久化状态机与旧命令/skill/文档冗余。工程状态以 GitHub Issues/PRs/Checks 为唯一权威事实。
- 不再兼容旧 Flow:旧架构(FlowRun cabinet)检测到会提示,需使用旧插件版本 0.x 完成;不自动迁移。
- 命令收敛:9 个命令 → 7 个(删除
/test、/handoff);skills 10 个 → 8 个(删除 flow-handoff、flow-test)。 - 内置 Context 注入删除:领域术语统一由项目根
CONTEXT.md提供并自动注入。
Features
- 5 个生命周期工具:
setup_control/flow_control/task_control/tdd_checkpoint/release_control,高风险 git/gh 写操作确定性收敛到工具。 - Functional Slug 内核派生:模型只提交英文功能标题,内核派生并校验 slug/branch/worktree,拒绝
Task 001等泛化名。 - Runtime TDD 硬门禁:工具亲执 RED/GREEN/回归,证据存 Task Record 受控评论,缺证据拒绝创建 PR。
- Worktree 生命周期:创建/复用校验/销毁 preflight(无
--force)。 - 根 CONTEXT.md 自动注入:Primary 与所有子 Agent 首消息携带术语表内容与 digest。
- AGENTS.md Project Profile:项目特定测试/版本/发布约定由
/setup探测确认。 - 风险分级自动合并:CI + 分支保护 + 风险双层判定(只升不降)+ 高风险需非作者人类 approval。
- 技术栈无关 Release:版本提议/Release PR/tag push 由
release_control执行,实际发布走项目 GitHub Actions release workflow。 - 双轴并行 Review:同一 reviewer 对每个 PR 并行 Specification/Quality 审查。
- backend/frontend 合并为 developer:技术栈无关实现 agent。
兼容性
- 需要
ghCLI 已认证(复用宿主凭据,不再隔离)。 - 需要根
AGENTS.md的 Project Profile(/setup生成)与 CI/release workflow。 - Node.js >= 24。
v0.3.2
Full Changelog: v0.3.1...v0.3.2
fix(review): 禁止 WebFetch 获取远程代码,强制在本地 branch/worktree 中审查
refactor(flow-requirements): 嵌入 decision-mapping + grilling 渐进式需求澄清
refactor(skills): 固定 skills 安装路径到 ~/.config/opencode/cabbage/skills
feat: Agent 注入工程原则 + 任务拆解/审查/设计全链路强化
v0.3.1
Full Changelog: v0.3.0...v0.3.1
refactor: 移除 flow_pr 工具及 server 注册
refactor: 移除 flowrun/pr.ts 核心逻辑及相关 re-export
docs: 更新 dev-lifecycle agent 改用 gh pr create/review/merge
v0.3.0
What's Changed
- feat(tdd): 任务分解 — TDD 强制约束集成 DAG + 15 子任务 by @devcxl in #81
- feat(tdd): A1 — flow-tdd Advisory Contract + Skill/Agent 协议统一 by @devcxl in #82
- feat(tdd): B1 — Schema v2 类型系统 + v1→v2 迁移器 + DAG Validator by @devcxl in #83
- feat(tdd): A2 — Agent 权限声明 + Prompt Lint 增强 + npm pack smoke by @devcxl in #84
- feat(tdd): B2 — TDD 模式判定纯函数(evaluator) by @devcxl in #85
- feat(tdd): C1 — Canonical Digest + Vitest Adapter by @devcxl in #86
- feat(tdd): C2 — tdd_checkpoint 状态机 + Tool Handler by @devcxl in #87
- feat(tdd): C3 — 单进程 Broker + Issue 持久化 + 冲突暂停 by @devcxl in #88
- feat(tdd): D1 — FlowRun/Stage/Task start 真实 server 接入 + flow_control 工具 by @devcxl in #89
- feat(tdd): D2 — committed-head regression + 幂等 PR create + reviewing 转换 by @devcxl in #90
- feat(tdd): D3 — remote head revalidation + rework + coverage by @devcxl in #91
- feat(tdd): D4a — Agent permission 传递 + 隔离 Shell + ambient 检测 by @devcxl in #92
- feat(tdd): D4b — 独立 GitHub broker + 最小凭证隔离 by @devcxl in #93
- feat(tdd): E1 — Task-local merge Gate + 解除全局 canMerge() 耦合 by @devcxl in #94
- feat(tdd): E2 — CI required checks + Branch Protection 检测 + quality contract digest by @devcxl in #95
- feat(tdd): E3 — Goal/FlowRun 终态绑定 + flow_run finalize + 文档同步 by @devcxl in #96
Full Changelog: v0.2.1...v0.3.0
v0.2.1
v0.2.0
What's Changed
- docs: 提示词 Contract-first 重构 — PRD by @devcxl in #47
- feat(agents): 角色权限与 Goal 门禁修复 by @devcxl in #52
- feat(skills): Git/GitHub 安全修复 by @devcxl in #53
- test(flowrun): FlowRun 接入 Spike — PoC 测试 by @devcxl in #54
- fix(skills): 模板与引用修复 by @devcxl in #56
- fix(skills): Worktree 安全修复 by @devcxl in #58
- feat(skills): Stage Contract 迁移阶段 1 by @devcxl in #61
- feat(lint): Prompt 静态 Lint + CI 集成 by @devcxl in #63
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- 快速开始指南 by @devcxl in #9
- 架构概览 by @devcxl in #13
- GitHub Pages 自动部署 workflow by @devcxl in #15
- 配置指南 by @devcxl in #11
- 使用指南 by @devcxl in #12
- 站点首页和 Jekyll 配置 by @devcxl in #14
- 更新 README 为完整门户文档 by @devcxl in #10
- fix: gh 命令改用 --body-file 避免 shell 转义问题 by @devcxl in #16
- feat: Jekyll → VitePress 文档站迁移 by @devcxl in #24
- feat: 文档同步流程与任务目录重构 by @devcxl in #31
- feat: task frontmatter 和 Sub Issue body 增加 worktree 声明 by @devcxl in #40
- chore: 确认 .worktree/ 已加入 .gitignore by @devcxl in #39
- feat: flow-code 技能改造为 worktree 模式 by @devcxl in #41
- feat: dev-lifecycle 编排器 Phase 3 改造为 worktree 模式 by @devcxl in #42
- feat: flow-review 合并后自动清理 worktree by @devcxl in #43
- feat: flow-code 串行 task worktree 复用说明 by @devcxl in #44
- fix: 防止设计阶段文档遗漏未提交 by @devcxl in #45
- feat: tag 推送创建 Release 草稿 → 发布自动 npm publish by @devcxl in #46
New Contributors
Full Changelog: https://github.com/devcxl/opencode-cabbage/commits/v0.1.0