Commit Graph

51 Commits

Author SHA1 Message Date
dafang 1d78fdd51c feat: manage project lesson lifecycle 2026-08-02 00:10:29 +08:00
dafang 9ca7273472 docs(readme): restructure onboarding documentation 2026-08-01 21:02:04 +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 7f4e4ba4f3 docs(readme): newcomer-first — drop the eval-loop chapter, confine v1 to Upgrade
Owner direction: the README speaks to a first-time user of today's
CodeStable, not to its history or internal methodology.

- Removed the 'build -> evaluate loop' chapter (maintainer methodology;
  lives in the repo, not the front page) and its tagline pointer
- v1 is now mentioned exactly once per language — inside the Upgrade
  section, which also gained a line assuring that legacy knowledge
  (compound/, features/, old tools) stays covered by v2 retrieval
- Design / catalog / workflow / roadmap sections rewritten to describe
  what CodeStable is, not what it used to be; alias line reduced to
  'cs-code-review is an alias of cs-review'

Doc contract suite stays green (96 passed).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 12:46:17 +08:00
dafang 286a180806 docs(readme): rewrite around the v2 methodology (zh+en)
Rebuilt the three v2 content sections as the main narrative instead of
v1-era framing with patches:

- 'Design: thin harness, thick context' — write responsibilities not
  steps; the hard-gate table per flow (incl. 3-round review cap, design
  persistence, test-first); on-demand references for engineering
  judgment; the six homes of knowledge with graduate-before-delete
- Skill catalog refreshed (cs-review three modes, epic inline-first
  sub-designs, the single cs-code-review alias called out)
- 'Workflow and project memory' — one execution mainline, per-request
  risk judgment, zero artifacts for ordinary work, retrieval-with-source
  discipline, zero-migration v1 boundary
- Tagline gains the one-line methodology; roadmap logs the dogfood loop

Personal narrative sections (origin, orchestration comparison,
philosophy, build->evaluate loop) preserved as-is. Doc contract tests
stay green (96 passed).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 12:39:57 +08:00
dafang a05ec95312 feat(skills): type-prefixed work documents and epic sub-design linking
Dogfood feedback: work/ entries like paseo-native-session-bridge.md give
no clue whether they are a feature, issue, or epic when it is time to
compress them. Two rules, zero new mechanism:

- work docs are named with a type prefix (feat-/issue-/refactor-/epic-),
  so ls classifies and wrap-up knows the destination per type
- epic sub-designs are inline-first: a few lines under the item entry;
  only risk-escalated items get their own work/feat-{slug}.md, carrying
  'epic: {slug}' frontmatter with a backlink from the epic item row —
  flat files with two-way pointers, no subdirectories. Epic wrap-up now
  also sweeps its sub-item work docs.

Docs (WORKFLOW/README zh+en) synced. 96 passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-31 09:51:06 +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 b6a6a2e71b feat(cs-feat): persist high-risk designs to work documents
Owner practice decision: on risk escalation the proposal is written into
.codestable/work/{slug}.md before independent design review and user
confirmation — the design trail is always on disk for high-risk work.
Contract anchor added; wrap-up section reconciled (high-risk work docs
are created at design alignment, others on cross-session/handoff need).
Sync WORKFLOW / README (zh+en).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 10:31:15 +08:00
dafang 935a1cc118 fix(skills): close build-cs-skill cross-check gaps
- work doc gains a status-and-open-items section so cross-session resume
  has a defined landing spot for pending confirmations (recovery contract)
- cs-code-review: reviewer dispatch requires a self-contained context
  packet (intent, scope, exclusions, expected graded findings); main flow
  owns integration and final verdict (collaboration contract)
- cs-onboard: gitignored .codestable stops with a report instead of
  silently proceeding (failure behavior)
- Sync WORKFLOW / README (zh+en)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-30 10:03:20 +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 c4fd6eead6 feat(codestable): formalize host-agnostic skill contracts 2026-07-14 21:08:46 +08:00
dafang db36f82225 fix: preserve packaged skills and runtime versions 2026-07-14 13:24:08 +08:00
dafang 2248241634 feat: add risk-tiered feature lanes 2026-07-14 11:37:15 +08:00
Wyatt Fang 8538f750b7 docs: fix star history 404 2026-07-13 23:03:46 +08:00
Wyatt Fang e6236917a2 docs: refine repo group space 2026-07-13 23:02:29 +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
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 babac7d5b3 docs: 更新 README——实体/流程/技能总览/工作流示意同步新改动
- badge 数量 27 → 29
- 实体表格:补充 roadmap-review/impl-goal 说明、feature Gate 描述、cs-note 说明
- 流程表格:新增"大需求端到端"行,所有 Gate 用 ✦Gate 标注
- 技能总览:补入 cs-feat-design-review、cs-feat-qa、cs-roadmap-review、
  cs-roadmap-impl-goal、cs-audit、cs-note、cs-docs-neat 共 7 个技能
- 工作流示意:feature 流展开三道 Gate 阻断逻辑,补入 roadmap-review/
  impl-goal、goal 流,横切层加入 cs-note 和 cs-docs-neat

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-26 23:55:16 +08:00
dafang 55605d91f9 Merge origin/main (上游 refactor) into feat/merge-task-codereview-gates
吸收上游 74f1aa3 重构:compound 四件套合一 cs-keep、cs-libdoc→cs-doc-api、
cs-guide→cs-doc-tutorial、删 cs-arch 立 cs-domain、compound 改纯 markdown。
保留我们的 PR 工作:cs-code-review review↔gate、cs-goal、gate 工具链、
worktree feat/fix/refactor 命名、brainstorm/report-language;cs-task 保持删除。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 22:40:15 +08:00
liuzhengdong 74f1aa3dee refactor: 精简 cs-* 体系——compound 四件套合一、外部文档改名、删 architecture 立 cs-domain
三刀连贯重构,让体系更符合"grill-me 风格、产物聚合在 .codestable/、人在环"的初衷:

第一刀(compound 四件套合一):
- 删 cs-learn / cs-trick / cs-decide / cs-explore,合并成 cs-keep
- compound 文件改纯 markdown 无 frontmatter,靠 grep 检索(淘汰 search-yaml 在 compound 上的角色)

第二刀(外部文档改名):
- cs-libdoc → cs-doc-api(不再绑死"库"语义,凡是 API 参考都适用)
- cs-guide → cs-doc-tutorial(明确是任务导向的 how-to / tutorial)

第三刀(删 architecture,立 cs-domain):
- 删 cs-arch 技能和 architecture/ 目录(长期实践证明是累赘而非资产)
- 新建 cs-domain 技能管 CONTEXT.md 术语 + adrs/ 架构决策(守门 3 判据 + Nygard 四节)+ 单/多 context 拓扑
- cs-feat-accept 的 Phase 5 从"代写架构 doc"改为"盘点领域影响 + 提示 cs-domain",越权问题自动消失
- cs-brainstorm 加横切:讨论拍板符合 ADR 3 判据就路由到 cs-domain

净变化:cs-* 技能 25 → 22;行数 +400 / −2000+
2026-06-25 21:30:03 +08:00
dafang 71a7111307 refactor: 移除 cs-task skill 及其全部接入(保留 gate 工具链)
- 删除 cs-task/ 目录(SKILL.md + reference.md)
- 移除 30 个 cs-*/SKILL.md 的「## Task 接入」段,相邻「## 执行 gate」段全部保留
- 移除 cs-goal 的 Task Integration 段
- 清理 README/cs/system-overview/shared-conventions 里的 cs-task 引用,
  以及 .codestable/tasks 目录约定与 onboard gitkeep/检查
- gate 工具链(worktree/commit gate、tools、hooks、branch-guard)原样保留
- 技能数 badge 36 → 35

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 16:50:41 +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
liuzhengdong 9216e88d17 Refactor CodeStable documentation and scripts for improved clarity and structure
- Removed unnecessary compiled Python files from __pycache__.
- Updated `search-yaml.py` to enhance filter syntax and usage examples, including support for OR logic in filters.
- Revised multiple SKILL.md files to clarify instructions, emphasizing the importance of reading `.codestable/attention.md` before proceeding with actions.
- Adjusted paths in documentation to consistently reference `.codestable/` instead of `codestable/`.
- Enhanced descriptions in requirement and roadmap documentation to better define the purpose and structure of each component.
- Improved clarity in the `cs-trick` documentation regarding the nature of the reference library and its usage.
- Ensured all references to tools and commands are consistent with the new directory structure.
2026-05-06 07:41:39 +08:00
liuzhengdong 3e87e3a87d feat: add Star History section to README for tracking repository popularity 2026-04-25 21:44:22 +08:00
liuzhengdong fba868e9f1 feat: add English README file for improved accessibility and documentation 2026-04-25 21:13:32 +08:00
liuzhengdong f628c7bf49 feat: Add root entry skill 'cs' for CodeStable workflow
- Introduced a new skill 'cs' as the unified entry point for CodeStable, providing an overview of the system and routing user requests to appropriate sub-skills.
- Updated README.md to include usage instructions for the new root entry command.
- Enhanced documentation in various skills (cs-roadmap, cs-feat-design, cs-onboard) to clarify the role of the 'cs' skill and its interactions with other components.
- Improved clarity on the roadmap structure, emphasizing the importance of architectural planning and interface contracts.
- Added detailed sections for module splitting and interface contracts in the roadmap documentation.
2026-04-24 20:52:18 +08:00
liuzhengdong 41106f1c74 feat: add visual comparison image and update constraints section in README.md 2026-04-24 07:49:46 +08:00
liuzhengdong 1af03ef342 feat: enhance README.md with promotional image and improve system overview clarity 2026-04-24 07:38:43 +08:00
liuzhengdong 933f0d967e feat: add compiler-driven refactoring principles documentation
feat: introduce humble component/controller split recipe

feat: implement outward move recipe for extracting composables

feat: create thin composable purification recipe
2026-04-24 07:18:13 +08:00
liuzhengdong 817f5f6815 refactor: update README.md for clarity and structure, enhancing workflow descriptions and design philosophy 2026-04-23 07:48:25 +08:00
liuzhengdong e98448b04d Refactor project structure and naming conventions from easysdd to codestable
- Updated SKILL.md files to reflect new naming conventions and project structure.
- Changed references from easysdd to codestable in various documentation files.
- Adjusted paths for requirements, roadmap, and tricks to align with the new structure.
- Ensured consistency across all related documents and references.
2026-04-23 07:40:34 +08:00
liuzhengdong 525b143752 feat: add easysdd-roadmap skill and reference documentation
- Introduced `easysdd-roadmap` skill to manage large feature requests by breaking them down into sub-features with dependencies and statuses.
- Created `SKILL.md` to outline the purpose, usage scenarios, and workflow of the `easysdd-roadmap` skill.
- Added a reference template in `reference.md` for the main document and items.yaml format used in the roadmap.
- Established a clear directory structure for organizing roadmap documents and their associated items.
- Defined rules for single target management, dependency handling, and validation processes to ensure clarity and consistency in roadmap creation.
2026-04-23 07:20:59 +08:00
liuzhengdong 42e597e66d refactor: clarify checklist generation process in shared conventions 2026-04-21 23:00:30 +08:00
liuzhengdong ec015370db refactor: update README.md for improved clarity and structure; enhance project rationale and workflow descriptions 2026-04-20 07:29:26 +08:00
liuzhengdong 27a1be334a Delete outdated reference documents on external reporting, peer communication, upward reporting, and writing to sell skills to streamline content and improve clarity. 2026-04-19 21:57:46 +08:00
liuzhengdong 775f0cd1d3 Refactor SKILL.md and related files to use {slug} prefix for consistency
- Updated all references in SKILL.md files across easysdd-feature-implement, easysdd-feature, easysdd-issue-analyze, easysdd-issue-fix, easysdd-issue-report, easysdd-issue, easysdd-learning, easysdd-onboarding to replace 'design.md', 'checklist.yaml', 'report.md', 'analysis.md', and 'fix-note.md' with '{slug}-design.md', '{slug}-checklist.yaml', '{slug}-report.md', '{slug}-analysis.md', and '{slug}-fix-note.md' respectively.
- Ensured that all documentation reflects the new naming conventions for better clarity and organization.
- Adjusted validation scripts and templates to accommodate the new file naming structure.
2026-04-17 17:56:32 +08:00
liuzhengdong 65f0a12c13 refactor: rename easysdd-compound to easysdd-learning and update related documentation
- Updated the name and description in SKILL.md to reflect the new focus on learning documentation.
- Adjusted references throughout the onboarding process to point to the new easysdd/compound directory for learning resources.
- Modified the search tools and commands to align with the new directory structure and naming conventions.
- Ensured all relevant documentation templates and examples are updated to use the new naming scheme.
- Enhanced clarity on the purpose of each document type within the easysdd framework.
2026-04-17 15:30:54 +08:00
liuzhengdong 5ca2823355 Add easysdd core skills and reference materials
- Introduced the main easysdd skill to guide users through workflow scenarios.
- Created sub-skills for feature development, issue resolution, knowledge retention, and auxiliary tools.
- Established a structured reference directory for shared conventions, tools, and maintainer notes.
- Defined clear routing for various scenarios to appropriate sub-skills.
- Documented guidelines for maintaining and extending the easysdd skill family.
2026-04-15 16:08:02 +08:00
liuzhengdong c4c0cd6531 refactor: enhance SKILL.md with guidelines to avoid jargon and improve clarity in writing 2026-04-15 14:43:04 +08:00
liuzhengdong 0da09d279d refactor: update README.md for improved onboarding instructions and workflow clarity 2026-04-15 10:31:57 +08:00
liuzhengdong abf4272cbd refactor: update SKILL.md files to enhance clarity and consistency in design and implementation guidelines 2026-04-13 21:18:56 +08:00