Commit Graph

5 Commits

Author SHA1 Message Date
Wyatt Fang 525f185a79 release: CodeStable 1.0.4 2026-07-15 21:58:14 +08:00
Wyatt Fang 30fecaae5e release(codestable): ship skill workflow v1.0.2 (#41)
收敛 CodeStable 主入口、runtime preflight、goal driver 与 skill 工程化评测闭环。

- 根 cs 对行动请求同轮直转,咨询与介绍保持非执行
- feature/issue/refactor/epic/docs 按仓库事实恢复,旧 stage skill 保留兼容薄壳
- repo-local runtime 支持版本检测、安全自动同步和显式 refresh-runtime
- 完成 Codex/Claude marketplace 1.0.2、升级文档和回归/评测证据

验证:215 tests passed;package/runtime/diff checks passed;独立 review 与 QA 无 unresolved blocking/important findings。
2026-07-10 15:23:56 +08:00
Wyatt Fang cd7e1d33f0 refactor: package CodeStable plugin distribution (#34)
* refactor: package codestable plugin distribution

* docs: restore README workflow details

* refactor: remove browser bridge from distribution

---------

Co-authored-by: QA Bot <qa@example.invalid>
2026-07-02 09:56:21 +08:00
dafang 7b58fb2f11 fix: dod-runner 顶层优先去重 + cs-code-review OCR 限定范围排除产物
两个从 goal 执行中暴露的问题:

1) DoD 命令重复执行(上个 commit 的回归):collect_commands 把顶层 +
   step-level 都读并合并,checklist 两处都有同组命令时会执行两遍。
   改为「顶层优先」——顶层 dod.commands 存在即唯一源,不再叠加 step;
   仅当无顶层时 fallback step-level。既不重复又向后兼容。
   测试改 test_top_level_takes_precedence_no_duplicate(顶层+step 同 id
   只执行一次)。

2) OCR 横向扫描 .codestable 等非 feature 文件:ocr review 默认 workspace
   模式审 untracked,业务项目 .codestable/(goal 执行包,未 gitignore)被
   横扫污染结果。ocr 第三方无 --exclude,故在 cs-code-review 环节B 加两道
   控制——调用时优先 ref 范围(--from/--to 排除 untracked 产物);结果过滤
   兜底:丢弃 .codestable/、. 开头目录、gitignore 命中路径的 finding。

测试:62 passed。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 14:15:10 +08:00
dafang 4645a4316c fix: dod-runner 识别顶层 dod.commands(权威 schema),兼容 step-level
权威 checklist schema(cs-feat-design/reference.md「DoD Contract」)定义
dod 为顶层字段(与 steps/checks 同级),dod.commands 是机读权威源。但
codestable-dod-runner.py 的 collect_commands 只遍历 steps[*].dod.commands
(step-level),读不到顶层 → 返回 skipped。goal/gate 执行时表现为 DoD 命令
被跳过,迫使使用者把命令挪到 step 下绕过,违背 schema。

修复:collect_commands 先读顶层 dod.commands(权威),再兼容 step-level
(向后兼容已挪到 step 下的 checklist),两者合并。

测试:新增 tests/test_codestable_dod_runner.py 5 例——顶层命令被执行
(回归)、step-level 仍支持、顶层+step 合并、non-core 失败仅 warning、
无命令 skipped。全套通过。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 14:00:24 +08:00