Commit Graph

21 Commits

Author SHA1 Message Date
dafang bb7c22829f feat(cs-epic): add parallel item progression policy
Add item_progression: parallel as an owner-gated scheduling extension:
the main workflow stays the sole orchestrator and cursor writer, workers
execute dependency-independent items in host-provided isolated
workspaces, and integration is serialized without advancing mainline
history until per-item re-verification passes. Ships the parallel
execution protocol reference (wavefront scheduling, contextPacket
delegation, active_items recovery records with branched state
transitions, item-local vs epic-global blockers, capability fallback),
mirrors the contract across bilingual WORKFLOW/CATALOG, ADR-005,
AGENTS.md and CLAUDE.md, and anchors it in the contract tests.

Reviewed by an independent heterogeneous reviewer over three rounds
(final verdict: approve; target sha256 a78d424e1d3a).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 10:09:31 +08:00
dafang c81cb6764c feat: add adaptive planning and assurance
Use minimum sufficient assurance for ordinary tasks, add Epic wayfinding with HITL, and align shared language before design execution.
2026-08-03 16:43:07 +08:00
dafang 748d4d3851 feat(cs-issue): add diagnosis-only workflow 2026-08-02 21:35:07 +08:00
dafang 1d78fdd51c feat: manage project lesson lifecycle 2026-08-02 00:10:29 +08:00
dafang 3eee59a64b feat(cs): streamline Epic execution and discussion handoff 2026-08-01 19:02:14 +08:00
dafang d85d3ccc5b feat(cs): add durable Epic knowledge lifecycle 2026-08-01 14:46:02 +08:00
dafang 432a902a7c fix(skills): keep cs-review as a leaf executor 2026-07-31 15:50:11 +08:00
dafang 9efc569a61 refactor(skills): rename cs-code-review to cs-review with a single compat alias
The skill has outgrown its name — it reviews designs and runs repo audits,
not only code. cs-review is the canonical entry; cs-code-review ships as
the one thin forwarding alias (the explicit exception to the no-shim rule,
kept for the carried-over v1 habit). References in cs / cs-feat / cs-epic /
cs-issue / cs-refactor, the Codex agent config, both contract-test skill
sets (V2_SKILLS + SHIM_SKILLS), and all public docs / CHANGELOG / ADR-004
updated. Also refreshed the leftover v1 openai.yaml wording. 96 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 09:08:35 +08:00
dafang 7a40410cfe feat(cs): dispatch clear action requests in the same turn
Dogfood feedback (session 001c553b): calling cs with a concrete request
recommended an entry and then waited for the user to re-invoke it — one
confirmation too many. cs now classifies intent: clear action requests
announce the chosen entry in one line and continue executing under that
skill's discipline in the same turn; advice requests still get a
recommendation only; ambiguous requests that would materially change what
happens next get exactly one focused question. Handoff does not widen
authority — the target skill's gates and checkpoints apply unchanged.
Safety anchors and docs (SKILL_CATALOG / WORKFLOW / README zh+en) synced.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 20:44:37 +08:00
dafang aedd3213d9 feat: land owner's v2 release line — 2.0.0, ADR-004, v2 contract tests
Absorbed from the owner's working tree (his versions take precedence):
- VERSION 2.0.0, CHANGELOG, plugin manifests, marketplace metadata
- ADR-004 (project knowledge, not runtime distribution; supersedes 001)
  plus ADR-001/002/003 updates
- Three new v2 contract test suites (architecture / documentation /
  experiment-archive integrity) and rewritten skill-contracts,
  cli-distribution (exact retired-set + E2E fixture), selfref suites
- Rewritten root docs (README/WORKFLOW/SKILL_CATALOG zh+en, CLAUDE/AGENTS)
  with v1.0.4 retirement mapping and precise skills-CLI upgrade procedure
- eval-cs-skill v2 adaptation (6 files), build-cs-skill refinements

Full suite: 96 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 13:38:57 +08:00
dafang 8c8777f470 feat(skills): restore independent review discipline with bounded loops
- cs-code-review: add design review mode; cap blocking fix-and-rereview at
  2 rounds, then escalate to human arbitration with the disagreement
- cs-feat: risk-escalated designs pass independent design review before user
  confirmation; test-first when a test setup exists; completed changes get
  independent review by default (trivial edits may skip)
- cs-epic: decomposition passes independent design review before user confirmation
- cs-issue / cs-refactor: independent review by default, trivial changes may skip
- Sync WORKFLOW / SKILL_CATALOG / README (zh+en)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 09:34:07 +08:00
dafang 8ca541ca0e refactor(skills): v2 thin-harness — 32 skills -> 8 thin responsibility contracts
- Rewrite 8 kept skills as thin harness (31-49 lines each, ~24k -> 316 lines total):
  cs / cs-onboard / cs-feat / cs-issue / cs-refactor / cs-code-review / cs-epic / cs-keep
- Delete 24 skills: 14 compat stubs, cs-note+cs-feedback (merged into cs-keep),
  cs-audit (mode of cs-code-review), cs-req+roadmap family (merged into cs-epic),
  cs-goal / cs-brainstorm / cs-domain / cs-docs family (folded into entries)
- Delete all stage protocols, 13 onboard references, 19 runtime tools/gates
- Project data reduced to .codestable/{attention.md, lessons/, work/};
  ordinary tasks produce zero artifacts; v1 legacy kept read-only + grep-discoverable
- Tests: drop v1 state-machine/wording suites, update contracts/CLI-distribution
  suites to v2 baseline, add thin-harness regression; xfail pre-existing
  build-cs-skill red (broken on main 7bed4ed)
- Sync SKILL_CATALOG / WORKFLOW / README (zh+en) / CLAUDE.md / AGENTS.md to v2

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 09:11:04 +08:00
dafang 2248241634 feat: add risk-tiered feature lanes 2026-07-14 11:37:15 +08:00
dafang 00c78b38a6 release: CodeStable 1.0.3 2026-07-11 10:39:45 +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
dafang 060c8c5326 docs: clarify QA and acceptance agent boundaries 2026-06-29 16:01:15 +08:00
dafang b45ed95adb refactor: 适配上游 refactor 残留
- 旧技能名全仓清零:cs-learn/trick/decide/explore→cs-keep、cs-libdoc→cs-doc-api、
  cs-guide→cs-doc-tutorial、cs-arch→cs-domain
- codestable_common.py 的 KNOWN_SKILL_DIRS 按实际技能目录重建(含 cs-code-review/cs-keep/
  cs-domain/cs-doc-*,去掉已删的 cs-learn/decide/explore/trick 与未装的 using-codestable)
- SKILL_CATALOG / WORKFLOW(中英)刷新到 28 个 cs-* 技能,feature 链路体现 cs-code-review
- cs-docs-neat 的 .codestable/architecture/ 引用改为 requirements/CONTEXT.md(cs-domain 领域模型)
- asset/ 历史文档保持原样

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:48:48 +08:00
dafang 7c77fe9b92 feat: merge cs-task/cs-goal/cs-code-review and gate toolchain
把 3 个 fork 的能力合并进 CodeStable:

- 新增技能 cs-task(Task 台账)、cs-goal(目标编排)、cs-code-review(横切代码审查 gate)
- cs-feat-review 改造为横切 cs-code-review,服务 feature/issue/refactor/ff 多来源;feature 主链路改用 cs-code-review
- 新增 gate 工具链(cs-onboard/tools 脚本 + hooks)与 6 个共享 reference 文档
- 30+ cs-*/SKILL.md 接入 Task / gate;cs/SKILL.md 加 Route Governance
- 删除 codestable-maintainer、tests
- cs-code-review 产物统一 {slug}-review.md,report-template 按来源定义 doc_type/身份字段
- WORKFLOW/README 中英对齐,feature/issue/refactor 链路均经 cs-code-review

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 14:23:56 +08:00
dafang 855a4eb4cb feat: add codestable docs neat skill 2026-06-19 17:45:57 +08:00
dafang f8129bc639 feat: add roadmap and design review gates 2026-06-19 13:50:34 +08:00
dafang a559f8a6f6 docs: split codestable overview docs 2026-06-18 16:28:16 +08:00