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
|
|
|
|
# CodeStable v2 工作流与项目结构
|
2026-07-10 15:23:56 +08:00
|
|
|
|
|
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
|
|
|
|
## 工作流
|
2026-06-18 16:28:16 +08:00
|
|
|
|
|
2026-07-30 20:44:37 +08:00
|
|
|
|
CodeStable v2 是 8 个独立安装的 thin-harness skill,加一个项目记忆闭环。`cs` 判别用户
|
|
|
|
|
|
此刻要什么:明确行动诉求**同轮直转**对应 skill 并继续执行;咨询只给推荐;无诉求时介绍体系。
|
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
|
|
|
|
|
2026-06-18 16:28:16 +08:00
|
|
|
|
```text
|
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
|
|
|
|
不确定入口 -> cs
|
|
|
|
|
|
仓库接入 / v1 升级 -> cs-onboard
|
|
|
|
|
|
新功能 -> cs-feat ---------\
|
2026-07-31 09:08:35 +08:00
|
|
|
|
bug / 行为异常 -> cs-issue ----------> cs-review(高风险或按需)
|
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
|
|
|
|
行为等价重构 -> cs-refactor ------/
|
|
|
|
|
|
大需求拆解 -> cs-epic -> cs-feat / cs-issue / cs-refactor
|
|
|
|
|
|
经验与项目记忆 -> cs-keep
|
2026-06-18 16:28:16 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
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
|
|
|
|
执行强度与风险相称:
|
2026-07-14 11:37:06 +08:00
|
|
|
|
|
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
|
|
|
|
- `cs-feat` 默认直接理解、实现、验证;公开契约、数据、权限、并发或真实方案取舍先经用户确认。
|
|
|
|
|
|
- `cs-issue` 先建立能明确变红的验证,再修复并证明它变绿。
|
|
|
|
|
|
- `cs-refactor` 先建立等价性证据,分步改动并持续保持验证为绿。
|
|
|
|
|
|
- `cs-epic` 用一个 work 文档维护子项、依赖和验收;拆解与边界变更由用户确认。
|
2026-07-31 15:50:11 +08:00
|
|
|
|
- 需要独立审查时由外层主流程创建 reviewer;reviewer 单轮执行 `cs-review`,返回结果前不再创建子 agent。
|
|
|
|
|
|
- `cs-review` 是只读叶子执行器,也承接模块或全仓 audit;修复与复审由外层主流程负责。
|
|
|
|
|
|
- reviewer idle / `Awaiting` 且没有报告时按失败处理、不计审查轮次;外层主流程先诊断再决定有界重试或上交,不盲目重发。
|
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
|
|
|
|
- `cs-keep` 把高频事实压进 attention,把可复用经验写成 lesson。
|
2026-07-10 15:23:56 +08:00
|
|
|
|
|
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
|
|
|
|
普通任务不生成阶段文档。diff、测试输出和交付说明就是证据;只有跨会话、多人交接或用户
|
|
|
|
|
|
要求留痕时,才维护一个 work 文档,完成后删除或按用户要求保留。
|
|
|
|
|
|
|
|
|
|
|
|
## 项目记忆
|
|
|
|
|
|
|
|
|
|
|
|
`/cs-onboard` 为新项目创建最小骨架:
|
2026-06-18 16:28:16 +08:00
|
|
|
|
|
|
|
|
|
|
```text
|
2026-07-02 09:56:21 +08:00
|
|
|
|
.codestable/
|
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
|
|
|
|
├── attention.md # 每次会话需要的少量项目事实,最多 25 条
|
|
|
|
|
|
├── lessons/ # 一条经验一个 Markdown 文件,按关键词检索
|
2026-07-31 09:51:06 +08:00
|
|
|
|
└── work/ # 活动中的跨会话任务,文件名带类型前缀 feat-/issue-/refactor-/epic-,完成即清
|
2026-06-18 16:28:16 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
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
|
|
|
|
skill 专属 context 与 helper 分别由 owning skill 的 `references/` 和 `scripts/` 提供。项目
|
|
|
|
|
|
事实放在上述目录或项目既有文档与 ADR 中。skill 不读取 sibling skill 文件,也不依赖集中式
|
|
|
|
|
|
onboard runtime;worktree、branch 和 agent backend 策略由宿主或 owner 决定。
|
|
|
|
|
|
|
|
|
|
|
|
## v1 升级边界
|
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
|
|
|
|
|
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
|
|
|
|
v2 不迁移或清理 v1 项目的历史目录。已有 `requirements/`、`roadmap/`、`features/`、
|
|
|
|
|
|
`issues/`、`compound/`、tool、gate、hook 和 manifest 原样保留;新 skill 可以按任务关键词
|
|
|
|
|
|
检索其中的项目知识,但不会执行旧 runtime,也不会继续生成 v1 阶段产物。
|
2026-06-18 16:28:16 +08:00
|
|
|
|
|
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
|
|
|
|
v1.0.4 的 32 个 skill 在 v2 收敛为 8 个;其余 24 个入口已退役且不随 v2 安装。完整映射见
|
|
|
|
|
|
[SKILL_CATALOG.md](./SKILL_CATALOG.md)。
|