24 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 4ef7c3fb71 feat(skills): preserve reviewer lineage across re-reviews 2026-08-02 14:50:32 +08:00
dafang 3b80297a08 fix(skills): bound project lesson validation 2026-08-02 14:02:14 +08:00
dafang 1d78fdd51c feat: manage project lesson lifecycle 2026-08-02 00:10:29 +08:00
dafang 45521f915b feat: add project learning lifecycle 2026-08-01 23:39: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 e52008c194 fix(skills): clarify reviewer creation capabilities 2026-08-01 11:11:19 +08:00
dafang 30271b37ee fix(skills): enforce quality-first review models 2026-07-31 20:49:14 +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 c3db99b47b refactor(skills): drop contracts frontmatter from shipped skills
Owner decision (applied from his working-tree edit): shipped SKILL.md files
carry no self-test metadata. Protection is preserved, not dropped — hard-gate
anchors move into tests/test_skill_contracts.py as direct body assertions
(SHIPPED_HARD_GATE_ANCHORS), plus an explicit no-contracts-frontmatter check.
The not-grep validator regression now samples build-cs-skill. CLAUDE.md rule
updated accordingly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 13:31:10 +08:00
dafang 7e5feccdef feat(build-cs-skill): land thin-harness authoring protocol, align to v2
- Bring in the owner's 5-file thin-harness rework (SKILL.md, spec-standard,
  quality-gates with Thin Harness / Context Plan / Evolution Compression
  gates, fixture-patterns, openai.yaml) — contracts test now passes,
  xfail marker removed
- Fix v1 contract residue in step 7: no more .codestable/reference/
  sharing or cs-onboard/tools entry points; v2 skills invoke no runtime
  tools, shared discipline is inlined per skill
- Trim contracts 13 -> 8: drop section-existence anchors already locked
  by tests, keep behavioral anchors; add 'Additive-only evolution is a
  failure mode' as the evolution anchor
- Mark ToolBackedWorkflow / ShimSkill as shapes with no v2 instance

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 10:22:18 +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
Wyatt Fang 4f8403e4e5 fix(codestable): unify epic goal execution authorization 2026-07-16 12:49:41 +08:00
Wyatt Fang 525f185a79 release: CodeStable 1.0.4 2026-07-15 21:58:14 +08:00
dafang c4fd6eead6 feat(codestable): formalize host-agnostic skill contracts 2026-07-14 21:08:46 +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