cc-devflow 4.1.5 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/.claude/CLAUDE.md +87 -1091
  2. package/.claude/commands/core/architecture.md +32 -2
  3. package/.claude/commands/core/guidelines.md +27 -2
  4. package/.claude/commands/core/roadmap.md +33 -4
  5. package/.claude/commands/core/style.md +53 -263
  6. package/.claude/commands/flow/CLAUDE.md +28 -0
  7. package/.claude/commands/flow/archive.md +2 -2
  8. package/.claude/commands/flow/checklist.md +9 -251
  9. package/.claude/commands/flow/clarify.md +9 -127
  10. package/.claude/commands/flow/constitution.md +1 -1
  11. package/.claude/commands/flow/context.md +1 -1
  12. package/.claude/commands/flow/dev.md +19 -395
  13. package/.claude/commands/flow/ideate.md +13 -13
  14. package/.claude/commands/flow/init.md +19 -30
  15. package/.claude/commands/flow/new.md +12 -268
  16. package/.claude/commands/flow/quality.md +10 -153
  17. package/.claude/commands/flow/release.md +18 -81
  18. package/.claude/commands/flow/restart.md +15 -16
  19. package/.claude/commands/flow/spec.md +14 -164
  20. package/.claude/commands/flow/status.md +12 -12
  21. package/.claude/commands/flow/update.md +4 -4
  22. package/.claude/commands/flow/upgrade.md +6 -6
  23. package/.claude/commands/flow/verify.md +19 -78
  24. package/.claude/commands/flow/workspace.md +1 -1
  25. package/.claude/docs/guides/INIT_TROUBLESHOOTING.md +7 -7
  26. package/.claude/docs/guides/NEW_TROUBLESHOOTING.md +44 -96
  27. package/.claude/docs/guides/ROADMAP_TROUBLESHOOTING.md +1 -1
  28. package/.claude/docs/guides/TASK_COMPLETION_MARKING.md +5 -5
  29. package/.claude/docs/templates/ATTEMPT_TEMPLATE.md +1 -1
  30. package/.claude/docs/templates/BACKLOG_TEMPLATE.md +3 -3
  31. package/.claude/docs/templates/CLARIFICATION_REPORT_TEMPLATE.md +5 -5
  32. package/.claude/docs/templates/ERROR_LOG_TEMPLATE.md +2 -2
  33. package/.claude/docs/templates/INIT_FLOW_TEMPLATE.md +3 -3
  34. package/.claude/docs/templates/NEW_ORCHESTRATION_TEMPLATE.md +33 -64
  35. package/.claude/docs/templates/RESEARCH_TEMPLATE.md +3 -3
  36. package/.claude/docs/templates/ROADMAP_DIALOGUE_TEMPLATE.md +2 -2
  37. package/.claude/docs/templates/ROADMAP_TEMPLATE.md +2 -2
  38. package/.claude/docs/templates/STYLE_TEMPLATE.md +3 -3
  39. package/.claude/docs/templates/UI_PROTOTYPE_TEMPLATE.md +8 -9
  40. package/.claude/guides/workflow-guides/flow-orchestrator.md +31 -265
  41. package/.claude/hooks/CLAUDE.md +1 -1
  42. package/.claude/hooks/checklist-gate.js +4 -4
  43. package/.claude/hooks/inject-agent-context.ts +2 -2
  44. package/.claude/scripts/calculate-checklist-completion.sh +2 -2
  45. package/.claude/scripts/check-prerequisites.sh +2 -2
  46. package/.claude/scripts/checklist-errors.sh +4 -4
  47. package/.claude/scripts/flow-quality-full.sh +5 -5
  48. package/.claude/scripts/flow-quality-quick.sh +4 -4
  49. package/.claude/scripts/flow-workspace-init.sh +2 -2
  50. package/.claude/scripts/generate-clarification-report.sh +4 -4
  51. package/.claude/scripts/recover-workflow.sh +70 -73
  52. package/.claude/scripts/run-quality-gates.sh +1 -1
  53. package/.claude/scripts/setup-epic.sh +2 -2
  54. package/.claude/scripts/setup-ralph-loop.sh +2 -2
  55. package/.claude/scripts/validate-research.sh +1 -1
  56. package/.claude/scripts/verify-setup.sh +1 -1
  57. package/.claude/skills/cc-devflow-orchestrator/SKILL.md +113 -108
  58. package/.claude/skills/workflow/CLAUDE.md +24 -0
  59. package/.claude/skills/workflow/flow-dev/CLAUDE.md +14 -76
  60. package/.claude/skills/workflow/flow-dev/SKILL.md +58 -60
  61. package/.claude/skills/workflow/flow-dev/context.jsonl +4 -8
  62. package/.claude/skills/workflow/flow-init/SKILL.md +46 -144
  63. package/.claude/skills/workflow/flow-init/assets/RESEARCH_TEMPLATE.md +1 -1
  64. package/.claude/skills/workflow/flow-init/context.jsonl +3 -3
  65. package/.claude/skills/workflow/flow-init/scripts/check-prerequisites.sh +1 -1
  66. package/.claude/skills/workflow/flow-init/scripts/validate-research.sh +1 -1
  67. package/.claude/skills/workflow/flow-release/SKILL.md +23 -56
  68. package/.claude/skills/workflow/flow-release/context.jsonl +5 -7
  69. package/.claude/skills/workflow/flow-spec/CLAUDE.md +15 -101
  70. package/.claude/skills/workflow/flow-spec/SKILL.md +40 -511
  71. package/.claude/skills/workflow/flow-spec/context.jsonl +5 -7
  72. package/.claude/skills/workflow/flow-verify/CLAUDE.md +10 -0
  73. package/.claude/skills/workflow/flow-verify/SKILL.md +53 -0
  74. package/.claude/skills/workflow/flow-verify/context.jsonl +5 -0
  75. package/.claude/skills/workflow.yaml +72 -267
  76. package/CHANGELOG.md +72 -0
  77. package/README.md +96 -69
  78. package/README.zh-CN.md +95 -67
  79. package/bin/cc-devflow-cli.js +154 -0
  80. package/bin/harness.js +22 -0
  81. package/docs/commands/README.md +34 -38
  82. package/docs/commands/README.zh-CN.md +34 -36
  83. package/docs/commands/core-roadmap.md +2 -2
  84. package/docs/commands/core-roadmap.zh-CN.md +2 -2
  85. package/docs/commands/core-style.md +29 -381
  86. package/docs/commands/core-style.zh-CN.md +29 -381
  87. package/docs/commands/flow-init.md +10 -10
  88. package/docs/commands/flow-init.zh-CN.md +11 -11
  89. package/docs/commands/flow-new.md +25 -260
  90. package/docs/commands/flow-new.zh-CN.md +26 -257
  91. package/docs/guides/getting-started.md +16 -15
  92. package/docs/guides/getting-started.zh-CN.md +10 -12
  93. package/lib/compiler/__tests__/manifest.test.js +156 -0
  94. package/lib/compiler/__tests__/parser.test.js +21 -0
  95. package/lib/compiler/index.js +17 -1
  96. package/lib/compiler/manifest.js +68 -6
  97. package/lib/compiler/parser.js +5 -0
  98. package/lib/harness/CLAUDE.md +21 -0
  99. package/lib/harness/cli.js +208 -0
  100. package/lib/harness/index.js +16 -0
  101. package/lib/harness/operations/dispatch.js +285 -0
  102. package/lib/harness/operations/init.js +48 -0
  103. package/lib/harness/operations/janitor.js +74 -0
  104. package/lib/harness/operations/pack.js +100 -0
  105. package/lib/harness/operations/plan.js +29 -0
  106. package/lib/harness/operations/release.js +83 -0
  107. package/lib/harness/operations/resume.js +44 -0
  108. package/lib/harness/operations/verify.js +163 -0
  109. package/lib/harness/planner.js +141 -0
  110. package/lib/harness/schemas.js +108 -0
  111. package/lib/harness/store.js +240 -0
  112. package/package.json +9 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # 🚀 cc-devflow
2
2
 
3
- > One-Command Requirement Development Flow for Claude Code
3
+ > Harness-First Requirement Development Flow for Claude Code
4
4
 
5
- A comprehensive development workflow system built on Claude Code's official sub-agents, hooks, and settings mechanisms. Transform your requirements from planning to code delivery with a single command.
5
+ A comprehensive development workflow system built on Claude Code's official sub-agents, hooks, and settings mechanisms. Transform requirements from planning to code delivery with a deterministic command chain.
6
6
 
7
7
  [中文文档](./README.zh-CN.md) | [English](./README.md)
8
8
 
@@ -10,17 +10,17 @@ A comprehensive development workflow system built on Claude Code's official sub-
10
10
 
11
11
  ## 🎯 One-Line Introduction
12
12
 
13
- Complete automated workflow from PRD generation to code delivery with `/flow-new "REQ-123|Feature|URLs"`.
13
+ Harness-first five-stage workflow from requirement setup to release: `/flow:init` `/flow:spec` → `/flow:dev` → `/flow:verify` → `/flow:release`.
14
14
 
15
15
  ---
16
16
 
17
17
  ## ✨ Core Features
18
18
 
19
- - 🎯 **One-Command Flow** - Complete PRD CodeTestRelease with a single command
20
- - 🔄 **Staged Commands** - 8 independent stage commands for fine-grained control
19
+ - 🎯 **Harness-First Mainline** - Default chain is `/flow:init``/flow:spec``/flow:dev` `/flow:verify` `/flow:release`
20
+ - 🔄 **NPM Command Chain** - Flow commands map to `harness:*` runtime operations with checkpoints and resume
21
21
  - 📋 **Document-Driven** - Automatic PRD → UI Prototype → EPIC → TASKS → Implementation chain
22
22
  - 📝 **Template-Driven** - Self-executable templates (PRD_TEMPLATE, EPIC_TEMPLATE, TASKS_TEMPLATE)
23
- - 🔄 **Smart Recovery** - `/flow-restart` auto-detects restart points for interrupted development
23
+ - 🔄 **Smart Recovery** - `harness:resume` restores interrupted dispatch from persisted checkpoints
24
24
  - 🛡️ **Quality Gates** - Automated TypeScript checking, testing, linting, and security scanning
25
25
  - 🤖 **Sub-Agent Orchestration** - 12 specialized research agents for different development phases
26
26
  - 🎨 **UI Prototype Generation** - Conditional HTML prototype with artistic design inspiration
@@ -98,7 +98,7 @@ Intelligent knowledge base activation with grouped Skills and automatic context
98
98
 
99
99
  | Category | Skills | Purpose |
100
100
  |----------|--------|---------|
101
- | **Workflow** | flow-init, flow-spec, flow-dev, flow-quality, flow-release | Core development workflow |
101
+ | **Workflow** | flow-init, flow-spec, flow-dev, flow-verify, flow-release | Core development workflow |
102
102
  | **Domain** | tdd, debugging, brainstorming, verification | Domain expertise |
103
103
  | **Guardrail** | constitution-guardian, tdd-enforcer | Real-time compliance |
104
104
  | **Utility** | npm-release, skill-creator, writing-skills | Development tools |
@@ -184,8 +184,13 @@ cc-devflow init --dir /path/to/project
184
184
  # Compile for specific platform
185
185
  cc-devflow adapt --platform codex
186
186
  cc-devflow adapt --cwd /path/to/project --platform cursor
187
+
188
+ # Run harness runtime directly (for npm script delegation)
189
+ cc-devflow harness release --change-id REQ-123
187
190
  ```
188
191
 
192
+ `cc-devflow init` and `cc-devflow adapt` now auto-bootstrap missing `harness:*` npm scripts in `package.json` using portable `cc-devflow harness <subcommand>` entries (no machine-specific absolute paths), so `/flow:*` can execute the runtime chain without manual script patching.
193
+
189
194
  ### Optional Dependencies
190
195
 
191
196
  ```bash
@@ -202,7 +207,11 @@ pip install pypinyin
202
207
  ### First Requirement
203
208
 
204
209
  ```bash
205
- /flow-new "REQ-001|User Authentication|https://docs.example.com/auth"
210
+ /flow:init "REQ-001|User Authentication|https://docs.example.com/auth"
211
+ /flow:spec "REQ-001"
212
+ /flow:dev "REQ-001"
213
+ /flow:verify "REQ-001" --strict
214
+ /flow:release "REQ-001"
206
215
  ```
207
216
 
208
217
  <details>
@@ -260,15 +269,16 @@ bash .claude/tests/constitution/run_all_constitution_tests.sh
260
269
 
261
270
  | Command | Purpose | Quick Example | Detailed Docs |
262
271
  |---------|---------|---------------|---------------|
263
- | `/flow-new` | 🎯 Start New Requirement | `/flow-new "REQ-123\|Feature"` | [→](docs/commands/flow-new.md) |
264
- | `/flow-init` | 📦 Initialize Requirement | `/flow-init "REQ-123\|Feature"` | [→](docs/commands/flow-init.md) |
265
- | `/flow-clarify` | 🔎 Clarify Ambiguities | `/flow-clarify "REQ-123"` | [→](.claude/commands/flow/clarify.md) |
266
- | `/flow-spec` | 📋 Unified Specification (v4.1) | `/flow-spec "REQ-123"` | [→](.claude/commands/flow/spec.md) |
267
- | `/flow-checklist` | Requirement Quality Check | `/flow-checklist --type ux` | [→](.claude/commands/flow/checklist.md) |
268
- | `/flow-quality` | Combined Quality Verification | `/flow-quality "REQ-123" --full` | [→](.claude/commands/flow/quality.md) |
269
- | `/flow-fix` | 🐛 Systematic Bug Fix | `/flow-fix "BUG-123\|Description"` | [→](.claude/commands/flow/fix.md) |
270
- | `/flow-verify` | 🔍 Verify Consistency | `/flow-verify "REQ-123"` | [→](.claude/commands/flow/verify.md) |
271
- | `/flow-release` | 🚢 Create Release | `/flow-release "REQ-123"` | [→](.claude/commands/flow/release.md) |
272
+ | `/flow:init` | 📦 Initialize Requirement Context | `/flow:init "REQ-123\|Feature"` | [→](.claude/commands/flow/init.md) |
273
+ | `/flow:spec` | 📋 Build Task Manifest | `/flow:spec "REQ-123"` | [→](.claude/commands/flow/spec.md) |
274
+ | `/flow:dev` | 🛠️ Dispatch and Execute Tasks | `/flow:dev "REQ-123"` | [→](.claude/commands/flow/dev.md) |
275
+ | `/flow:verify` | Run Report Card Gates | `/flow:verify "REQ-123" --strict` | [→](.claude/commands/flow/verify.md) |
276
+ | `/flow:release` | 🚢 Release + Cleanup | `/flow:release "REQ-123"` | [→](.claude/commands/flow/release.md) |
277
+ | `/flow:fix` | 🐛 Systematic Bug Fix | `/flow:fix "BUG-123\|Description"` | [→](.claude/commands/flow/fix.md) |
278
+ | `/flow:new` | ⚠️ Deprecated alias | Use `/flow:init` mainline | [→](.claude/commands/flow/new.md) |
279
+ | `/flow:clarify` | ⚠️ Deprecated | Merged into `/flow:spec` | [→](.claude/commands/flow/clarify.md) |
280
+ | `/flow:checklist` | ⚠️ Deprecated | Use `/flow:verify --strict` | [→](.claude/commands/flow/checklist.md) |
281
+ | `/flow:quality` | ⚠️ Deprecated | Use `/flow:verify` | [→](.claude/commands/flow/quality.md) |
272
282
 
273
283
  📚 [Complete Command Reference](docs/commands/README.md)
274
284
 
@@ -280,16 +290,15 @@ Your Scenario:
280
290
  ├─ Plan product direction? → /core-roadmap
281
291
  ├─ Design system architecture? → /core-architecture
282
292
  ├─ Establish coding standards? → /core-guidelines
283
- ├─ Start brand new feature development? → /flow-new "REQ-123|Feature|URLs"
284
- ├─ Only create requirement directory? → /flow-init "REQ-123|Feature"
285
- ├─ Clarify ambiguous requirements? → /flow-clarify "REQ-123"
286
- ├─ Validate requirement quality? → /flow-checklist --type ux,api,security
287
- ├─ Continue interrupted development? → /flow-restart "REQ-123"
288
- ├─ Check development progress? → /flow-status REQ-123
289
- ├─ Found document inconsistencies? → /flow-verify "REQ-123"
290
- ├─ Development complete, need verification? → /flow-quality "REQ-123" --full
291
- ├─ Fix production bug? → /flow-fix "BUG-001|Description"
292
- └─ Ready to release? → /flow-release "REQ-123"
293
+ ├─ Start requirement delivery? → /flow:init "REQ-123|Feature|URLs"
294
+ ├─ Generate task manifest? → /flow:spec "REQ-123"
295
+ ├─ Execute planned tasks? → /flow:dev "REQ-123"
296
+ ├─ Run strict quality gate? → /flow:verify "REQ-123" --strict
297
+ ├─ Continue interrupted development? → /flow:restart "REQ-123"
298
+ ├─ Check development progress? → /flow:status REQ-123
299
+ ├─ Re-check consistency anytime? → /flow:verify "REQ-123"
300
+ ├─ Fix production bug? → /flow:fix "BUG-001|Description"
301
+ └─ Ready to release? → /flow:release "REQ-123"
293
302
  ```
294
303
  </details>
295
304
 
@@ -313,45 +322,34 @@ graph TB
313
322
  CoreGuidelines --> ReqLevel
314
323
  CoreStyle --> ReqLevel
315
324
 
316
- ReqLevel([Requirement-Level Development]) --> FlowInit["/flow-init<br/>research.md & BRAINSTORM.md"]
317
-
318
- FlowInit --> FlowClarify["/flow-clarify<br/>clarifications/*.md<br/>Optional"]
319
- FlowClarify --> FlowSpec["/flow-spec (v4.1)<br/>PRD → Tech+UI (parallel) → Epic<br/>Unified specification phase"]
320
- FlowInit -.->|Skip clarify| FlowSpec
321
-
322
- FlowSpec --> FlowDev["/flow-dev<br/>TASKS.md execution<br/>TDD Checkpoint"]
323
-
324
- FlowDev --> FlowQuality["/flow-quality<br/>Quick/Full Verification<br/>Spec + Quality + Security"]
325
+ ReqLevel([Requirement-Level Development]) --> FlowInit["/flow:init<br/>harness:init + harness:pack"]
326
+ FlowInit --> FlowSpec["/flow:spec<br/>harness:plan<br/>task-manifest"]
327
+ FlowSpec --> FlowDev["/flow:dev<br/>harness:dispatch/resume<br/>runtime-events"]
328
+ FlowDev --> FlowVerify["/flow:verify<br/>harness:verify<br/>report-card"]
329
+ FlowVerify --> FlowRelease["/flow:release<br/>harness:release/janitor<br/>release-note"]
330
+ FlowRelease --> End([Release Complete])
325
331
 
326
- FlowQuality --> FlowRelease["/flow-release<br/>PR creation<br/>Branch decision"]
327
-
328
- FlowRelease --> FlowVerify["/flow-verify<br/>Consistency check"]
329
-
330
- FlowVerify --> End([Release Complete])
331
-
332
- FlowVerify -.->|Can be called at any stage| ReqLevel
332
+ FlowVerify -.->|Can be re-run at any stage| ReqLevel
333
333
 
334
334
  style ProjectLevel fill:#e1f5ff
335
335
  style ReqLevel fill:#fff4e1
336
336
  style FlowInit fill:#e8f5e9
337
- style FlowClarify fill:#fff9c4
338
337
  style FlowSpec fill:#e8f5e9
339
338
  style FlowDev fill:#f3e5f5
340
- style FlowQuality fill:#e1bee7
339
+ style FlowVerify fill:#e1bee7
341
340
  style FlowRelease fill:#e0f2f1
342
- style FlowVerify fill:#e3f2fd
341
+ style End fill:#e3f2fd
343
342
  ```
344
343
 
345
344
  **Workflow Notes**:
346
345
  - **Project-Level Commands** (light blue): Execute once at project initialization, establish global standards (SSOT)
347
346
  - **Requirement-Level Commands** (light orange): Execute once per requirement (REQ-XXX)
348
- - **Unified /flow-spec** (v4.1): Replaces flow-prd/flow-tech/flow-ui/flow-epic with parallel execution
349
- - **Brainstorming** (v2.3.0): `/flow-init` now generates `BRAINSTORM.md` as requirement "North Star"
350
- - **Unified Quality Verification** (v3.0.0): `/flow-quality --full` combines spec compliance, code quality, and security
351
- - **Optional Steps** (yellow): `/flow-clarify` is optional; skip if requirements are clear
352
- - **TDD Checkpoint** (v2.3.0): `/flow-dev` includes mandatory TDD checkpoint (tests must FAIL first)
353
- - **Quality Gates**: Each stage has entry/exit gates ensuring document quality and Constitution compliance
354
- - **Consistency Check**: `/flow-verify` can be called at any stage to ensure document consistency
347
+ - **Canonical Mainline**: `/flow:init` → `/flow:spec` → `/flow:dev` `/flow:verify` `/flow:release`
348
+ - **Harness Runtime Chain**: Each stage delegates to `npm run harness:*` operations with persisted checkpoints
349
+ - **Unified /flow:spec**: Consolidates planning output into a task manifest
350
+ - **Report Card Gate**: `/flow:verify --strict` blocks release when quality gates fail
351
+ - **TDD Checkpoint**: `/flow:dev` keeps fail-first verification before implementation
352
+ - **Deprecated Commands**: `/flow:new`, `/flow:clarify`, `/flow:checklist`, `/flow:quality` remain as migration stubs
355
353
 
356
354
  ---
357
355
 
@@ -405,7 +403,7 @@ devflow/
405
403
  ### Quality Gates
406
404
 
407
405
  - Pre-push Guard (TypeScript, tests, linting, security, build)
408
- - Checklist Gate (`/flow-checklist` 80% completion threshold before `/flow-epic`)
406
+ - Report Card Gate (`/flow:verify --strict` before `/flow:release`)
409
407
  - Constitution Compliance (enforced at every stage)
410
408
  - TDD Checkpoint (TEST VERIFICATION CHECKPOINT)
411
409
  - Guardrail Hooks (PreToolUse real-time blocking of non-compliant operations)
@@ -494,13 +492,42 @@ bash .claude/tests/run-all-tests.sh --scripts
494
492
 
495
493
  ## 📝 Version History
496
494
 
497
- ### v4.7.0 (2026-02-07) - Latest Release
495
+ Note: entries before v6.0.0 keep their original command syntax for historical accuracy.
496
+
497
+ ### v6.0.0 (2026-02-18) - Latest Release
498
+
499
+ **🧩 Harness-First Mainline: Simpler default flow with auditable runtime state**
500
+
501
+ v6.0.0 simplifies cc-devflow around a single default chain and internal runtime engine:
502
+
503
+ - **Default Command Chain**
504
+ - `/flow:init` → `/flow:spec` → `/flow:dev` → `/flow:verify` → `/flow:release`
505
+ - Every stage maps to `npm run harness:*` operations for deterministic orchestration
506
+
507
+ - **Runtime Artifacts**
508
+ - `context-package.md` + `harness-state.json` for bootstrap state
509
+ - `task-manifest.json` + `runtime-events.jsonl` for execution trace
510
+ - `report-card.json` + `release-note.md` for quality and release evidence
511
+
512
+ - **Deprecated Command Migrations**
513
+ - `/flow:new` → run the 5-stage mainline explicitly
514
+ - `/flow:clarify` → merged into `/flow:spec` planning loop
515
+ - `/flow:checklist` and `/flow:quality` → replaced by `/flow:verify`
516
+
517
+ **📊 v6.0 Improvements**:
518
+ | Metric | Before | After | Improvement |
519
+ |--------|--------|-------|-------------|
520
+ | Default requirement commands | 8+ mixed paths | 5-stage fixed chain | Simplified |
521
+ | Resume capability | Command-specific | Unified `harness:resume` | Deterministic |
522
+ | Quality evidence | Fragmented outputs | Single report card gate | Auditable |
523
+
524
+ ### v4.7.0 (2026-02-07)
498
525
 
499
526
  **🤝 Claude Team Integration: Multi-Agent Parallel Collaboration**
500
527
 
501
528
  v4.7.0 introduces Claude Team integration for multi-agent parallel development:
502
529
 
503
- - **Team Mode for /flow-dev** - Parallel task execution with multiple agents
530
+ - **Team Mode for /flow:dev** - Parallel task execution with multiple agents
504
531
  - `--team` flag enables Team mode (default 3 agents)
505
532
  - `--agents N` specifies agent count (2-5)
506
533
  - Automatic task dependency analysis and conflict detection
@@ -555,8 +582,8 @@ v4.3.0 introduces Git Worktree integration for parallel development with isolate
555
582
  - Shell aliases template (za/zl/zm/zw)
556
583
 
557
584
  - **Modified Commands**
558
- - `/flow-init` - Default worktree mode, `--branch-only` for compatibility
559
- - `/flow-release` - Automatic worktree cleanup
585
+ - `/flow:init` - Default worktree mode, `--branch-only` for compatibility
586
+ - `/flow:release` - Automatic worktree cleanup
560
587
 
561
588
  **📊 v4.3 Improvements**:
562
589
  | Metric | Before | After | Improvement |
@@ -567,11 +594,11 @@ v4.3.0 introduces Git Worktree integration for parallel development with isolate
567
594
 
568
595
  ### v4.1.0 (2026-02-07)
569
596
 
570
- **🎯 Unified Specification Phase: /flow-spec Command**
597
+ **🎯 Unified Specification Phase: /flow:spec Command**
571
598
 
572
- v4.1.0 merges flow-prd/flow-tech/flow-ui/flow-epic into a single `/flow-spec` command with parallel execution:
599
+ v4.1.0 merges flow-prd/flow-tech/flow-ui/flow-epic into a single `/flow:spec` command with parallel execution:
573
600
 
574
- - **Unified /flow-spec Command** - One command for entire specification phase
601
+ - **Unified /flow:spec Command** - One command for entire specification phase
575
602
  - Full Mode: PRD → Tech + UI (parallel) → Epic/Tasks
576
603
  - Quick Mode: `--skip-tech --skip-ui` for small requirements
577
604
  - Backend Only: `--skip-ui`
@@ -583,12 +610,12 @@ v4.1.0 merges flow-prd/flow-tech/flow-ui/flow-epic into a single `/flow-spec` co
583
610
 
584
611
  - **Simplified Workflows** (v4.1)
585
612
  ```
586
- Quick (3 steps): /flow-init --quick → /flow-spec --skip-tech --skip-ui → /flow-dev → /flow-release
587
- Standard (4 steps): /flow-init → /flow-spec → /flow-dev → /flow-quality → /flow-release
588
- Full (5 steps): /flow-init → /flow-clarify → /flow-spec → /flow-dev → /flow-quality --full → /flow-release
613
+ Quick (3 steps): /flow:init --quick → /flow:spec --skip-tech --skip-ui → /flow:dev → /flow:release
614
+ Standard (4 steps): /flow:init → /flow:spec → /flow:dev → /flow:verify → /flow:release
615
+ Full (5 steps): /flow:init → /flow:spec → /flow:dev → /flow:verify --strict → /flow:release
589
616
  ```
590
617
 
591
- - **Deprecations**: `/flow-prd`, `/flow-tech`, `/flow-ui`, `/flow-epic` now deprecated (use `/flow-spec`)
618
+ - **Deprecations**: `/flow-prd`, `/flow-tech`, `/flow-ui`, `/flow-epic` now deprecated (use `/flow:spec`)
592
619
 
593
620
  **📊 v4.1 Improvements**:
594
621
  | Metric | Before (v4.0) | After (v4.1) | Improvement |
@@ -681,9 +708,9 @@ v2.3.0 upgrades the Constitution from a "document" to an "executable discipline
681
708
  - Phase 4: TDD Implementation
682
709
  - `flow-debugging` and `flow-tdd` skills
683
710
 
684
- - **Brainstorming Integration** - `/flow-init` now includes brainstorming
711
+ - **Brainstorming Integration** - `/flow:init` now includes brainstorming
685
712
  - `BRAINSTORM.md` as requirement "North Star"
686
- - `/flow-prd` requires BRAINSTORM alignment check
713
+ - `/flow:spec` requires BRAINSTORM alignment check
687
714
  - `flow-brainstorming` skill
688
715
 
689
716
  - **Pressure Testing Framework** - TDD for Skills
@@ -696,12 +723,12 @@ v2.3.0 upgrades the Constitution from a "document" to an "executable discipline
696
723
  - All `superpowers:xxx` references replaced with local skills
697
724
 
698
725
  - **Ralph × Manus Integration** - Autonomous development with memory (NEW)
699
- - Merged into `/flow-dev` (Autonomous by default)
726
+ - Merged into `/flow:dev` (Autonomous by default)
700
727
  - `flow-attention-refresh` skill with 4 refresh protocols
701
728
  - `ERROR_LOG.md` structured error tracking
702
729
  - `research/attempts/` failure trace recording
703
730
  - Stop Hook for self-referential loops
704
- - Manus method in `/flow-init` Stage 2.5 Research
731
+ - Manus method in `/flow:init` Stage 2.5 Research
705
732
  - Target: ≥85% task completion rate without human intervention
706
733
 
707
734
  **📋 Constitution v2.1.0**:
package/README.zh-CN.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # 🚀 cc-devflow
2
2
 
3
- > Claude Code 一键需求开发流系统
3
+ > Claude Code Harness 主链需求开发流系统
4
4
 
5
- 基于 Claude Code 官方子代理、钩子和设置机制构建的完整开发工作流系统。通过单一命令将需求从规划转变为代码交付。
5
+ 基于 Claude Code 官方子代理、钩子和设置机制构建的完整开发工作流系统。通过可恢复的命令链将需求从规划推进到代码交付。
6
6
 
7
7
  [中文文档](./README.zh-CN.md) | [English](./README.md)
8
8
 
@@ -10,17 +10,17 @@
10
10
 
11
11
  ## 🎯 一句话介绍
12
12
 
13
- 通过 `/flow-new "REQ-123|功能|URLs"` 一键从 PRD 生成到代码交付的完整自动化工作流。
13
+ 基于 harness 的 5 阶段主链:`/flow:init` → `/flow:spec` → `/flow:dev` `/flow:verify` → `/flow:release`。
14
14
 
15
15
  ---
16
16
 
17
17
  ## ✨ 核心特性
18
18
 
19
- - 🎯 **一键启动流程** - 单命令完成 PRD代码测试发布全流程
20
- - 🔄 **阶段化命令** - 8个独立阶段命令,精细化控制每个开发环节
19
+ - 🎯 **Harness 主链** - 默认路径固定为 `/flow:init``/flow:spec``/flow:dev``/flow:verify` → `/flow:release`
20
+ - 🔄 **NPM 命令链** - 流程命令统一映射到 `harness:*` 运行时操作,支持断点与恢复
21
21
  - 📋 **文档驱动** - 自动化 PRD → UI原型 → EPIC → TASKS → 实现链条
22
22
  - 📝 **模板驱动** - 自执行模板(PRD_TEMPLATE, EPIC_TEMPLATE, TASKS_TEMPLATE)
23
- - 🔄 **智能恢复** - `/flow-restart` 自动检测重启点,继续中断的开发
23
+ - 🔄 **智能恢复** - `harness:resume` 基于 checkpoint 恢复中断任务
24
24
  - 🛡️ **质量闸** - 自动化 TypeScript 检查、测试、代码检查和安全扫描
25
25
  - 🤖 **子代理编排** - 12 个专业研究型代理负责不同开发阶段
26
26
  - 🎨 **UI原型生成** - 条件触发的HTML原型,融合艺术设计灵感
@@ -98,7 +98,7 @@ export SKIP_TDD_ENFORCER=1
98
98
 
99
99
  | 分类 | Skills | 用途 |
100
100
  |------|--------|------|
101
- | **Workflow** | flow-init, flow-spec, flow-dev, flow-quality, flow-release | 核心开发工作流 |
101
+ | **Workflow** | flow-init, flow-spec, flow-dev, flow-verify, flow-release | 核心开发工作流 |
102
102
  | **Domain** | tdd, debugging, brainstorming, verification | 领域专业知识 |
103
103
  | **Guardrail** | constitution-guardian, tdd-enforcer | 实时合规检查 |
104
104
  | **Utility** | npm-release, skill-creator, writing-skills | 开发工具 |
@@ -184,8 +184,13 @@ cc-devflow init --dir /path/to/project
184
184
  # 编译到特定平台
185
185
  cc-devflow adapt --platform codex
186
186
  cc-devflow adapt --cwd /path/to/project --platform cursor
187
+
188
+ # 直接运行 harness runtime(供 npm scripts 委派)
189
+ cc-devflow harness release --change-id REQ-123
187
190
  ```
188
191
 
192
+ `cc-devflow init` 与 `cc-devflow adapt` 现在会自动补齐 `package.json` 中缺失的 `harness:*` scripts,且统一写入可移植的 `cc-devflow harness <subcommand>`(不使用机器绝对路径),避免 `/flow:*` 因脚本缺失退化到手工 fallback。
193
+
189
194
  ### 验证安装
190
195
 
191
196
  ```bash
@@ -195,7 +200,11 @@ cc-devflow adapt --cwd /path/to/project --platform cursor
195
200
  ### 第一个需求
196
201
 
197
202
  ```bash
198
- /flow-new "REQ-001|用户认证|https://docs.example.com/auth"
203
+ /flow:init "REQ-001|用户认证|https://docs.example.com/auth"
204
+ /flow:spec "REQ-001"
205
+ /flow:dev "REQ-001"
206
+ /flow:verify "REQ-001" --strict
207
+ /flow:release "REQ-001"
199
208
  ```
200
209
 
201
210
  <details>
@@ -254,15 +263,16 @@ bash .claude/tests/constitution/run_all_constitution_tests.sh
254
263
 
255
264
  | 命令 | 用途 | 快速示例 | 详细文档 |
256
265
  |------|------|----------|----------|
257
- | `/flow-new` | 🎯 启动新需求 | `/flow-new "REQ-123\|功能"` | [→](docs/commands/flow-new.zh-CN.md) |
258
- | `/flow-init` | 📦 初始化需求 | `/flow-init "REQ-123\|功能"` | [→](docs/commands/flow-init.zh-CN.md) |
259
- | `/flow-clarify` | 🔎 澄清歧义 | `/flow-clarify "REQ-123"` | [→](.claude/commands/flow/clarify.md) |
260
- | `/flow-spec` | 📋 统一规格阶段 (v4.1) | `/flow-spec "REQ-123"` | [→](.claude/commands/flow/spec.md) |
261
- | `/flow-checklist` | 需求质量检查 | `/flow-checklist --type ux` | [→](.claude/commands/flow/checklist.md) |
262
- | `/flow-quality` | 统一质量验证 | `/flow-quality "REQ-123" --full` | [→](.claude/commands/flow/quality.md) |
263
- | `/flow-fix` | 🐛 系统化缺陷修复 | `/flow-fix "BUG-123\|描述"` | [→](.claude/commands/flow/fix.md) |
264
- | `/flow-verify` | 🔍 验证一致性 | `/flow-verify "REQ-123"` | [→](.claude/commands/flow/verify.md) |
265
- | `/flow-release` | 🚢 创建发布 | `/flow-release "REQ-123"` | [→](.claude/commands/flow/release.md) |
266
+ | `/flow:init` | 📦 初始化需求上下文 | `/flow:init "REQ-123\|功能"` | [→](.claude/commands/flow/init.md) |
267
+ | `/flow:spec` | 📋 生成任务清单 | `/flow:spec "REQ-123"` | [→](.claude/commands/flow/spec.md) |
268
+ | `/flow:dev` | 🛠️ 分发并执行任务 | `/flow:dev "REQ-123"` | [→](.claude/commands/flow/dev.md) |
269
+ | `/flow:verify` | 执行报告卡质量闸 | `/flow:verify "REQ-123" --strict` | [→](.claude/commands/flow/verify.md) |
270
+ | `/flow:release` | 🚢 发布与收尾清理 | `/flow:release "REQ-123"` | [→](.claude/commands/flow/release.md) |
271
+ | `/flow:fix` | 🐛 系统化缺陷修复 | `/flow:fix "BUG-123\|描述"` | [→](.claude/commands/flow/fix.md) |
272
+ | `/flow:new` | ⚠️ 已废弃别名 | 改用 `/flow:init` 主链 | [→](.claude/commands/flow/new.md) |
273
+ | `/flow:clarify` | ⚠️ 已废弃 | 合并入 `/flow:spec` | [→](.claude/commands/flow/clarify.md) |
274
+ | `/flow:checklist` | ⚠️ 已废弃 | 改用 `/flow:verify --strict` | [→](.claude/commands/flow/checklist.md) |
275
+ | `/flow:quality` | ⚠️ 已废弃 | 改用 `/flow:verify` | [→](.claude/commands/flow/quality.md) |
266
276
 
267
277
  📚 [完整命令参考](docs/commands/README.zh-CN.md)
268
278
 
@@ -275,16 +285,15 @@ bash .claude/tests/constitution/run_all_constitution_tests.sh
275
285
  ├─ 设计系统架构? → /core-architecture
276
286
  ├─ 建立编码规范? → /core-guidelines
277
287
  ├─ 建立设计风格指南? → /core-style
278
- ├─ 启动全新功能开发? → /flow-new "REQ-123|功能|URLs"
279
- ├─ 仅创建需求目录? → /flow-init "REQ-123|功能"
280
- ├─ 澄清模糊需求? → /flow-clarify "REQ-123"
281
- ├─ 验证需求质量? → /flow-checklist --type ux,api,security
282
- ├─ 开发中断需要继续? → /flow-restart "REQ-123"
283
- ├─ 检查开发进度? → /flow-status REQ-123
284
- ├─ 发现文档不一致? → /flow-verify "REQ-123"
285
- ├─ 开发完成需要验证? → /flow-quality "REQ-123" --full
286
- ├─ 修复生产 Bug? → /flow-fix "BUG-001|描述"
287
- └─ 准备发布? → /flow-release "REQ-123"
288
+ ├─ 启动需求交付? → /flow:init "REQ-123|功能|URLs"
289
+ ├─ 生成任务清单? → /flow:spec "REQ-123"
290
+ ├─ 执行任务? → /flow:dev "REQ-123"
291
+ ├─ 严格质量闸? → /flow:verify "REQ-123" --strict
292
+ ├─ 开发中断需要继续? → /flow:restart "REQ-123"
293
+ ├─ 检查开发进度? → /flow:status REQ-123
294
+ ├─ 任意阶段复检一致性? → /flow:verify "REQ-123"
295
+ ├─ 修复生产 Bug? → /flow:fix "BUG-001|描述"
296
+ └─ 准备发布? → /flow:release "REQ-123"
288
297
  ```
289
298
  </details>
290
299
 
@@ -308,44 +317,34 @@ graph TB
308
317
  CoreGuidelines --> ReqLevel
309
318
  CoreStyle --> ReqLevel
310
319
 
311
- ReqLevel([需求级开发流程]) --> FlowInit["/flow-init<br/>research.md & BRAINSTORM.md"]
312
-
313
- FlowInit --> FlowClarify["/flow-clarify<br/>clarifications/*.md<br/>可选"]
314
- FlowClarify --> FlowSpec["/flow-spec (v4.1)<br/>PRD → Tech+UI (并行) → Epic<br/>统一规格阶段"]
315
- FlowInit -.->|跳过澄清| FlowSpec
316
-
317
- FlowSpec --> FlowDev["/flow-dev<br/>TASKS.md 执行<br/>TDD 强制"]
318
-
319
- FlowDev --> FlowQuality["/flow-quality<br/>快速/完整验证<br/>规格 + 质量 + 安全"]
320
+ ReqLevel([需求级开发流程]) --> FlowInit["/flow:init<br/>harness:init + harness:pack"]
321
+ FlowInit --> FlowSpec["/flow:spec<br/>harness:plan<br/>task-manifest"]
322
+ FlowSpec --> FlowDev["/flow:dev<br/>harness:dispatch/resume<br/>runtime-events"]
323
+ FlowDev --> FlowVerify["/flow:verify<br/>harness:verify<br/>report-card"]
324
+ FlowVerify --> FlowRelease["/flow:release<br/>harness:release/janitor<br/>release-note"]
325
+ FlowRelease --> End([发布完成])
320
326
 
321
- FlowQuality --> FlowRelease["/flow-release<br/>PR 创建 & 部署"]
322
-
323
- FlowRelease --> FlowVerify["/flow-verify<br/>一致性检查"]
324
-
325
- FlowVerify --> End([发布完成])
326
-
327
- FlowVerify -.->|可在任意阶段调用| ReqLevel
327
+ FlowVerify -.->|可在任意阶段重跑| ReqLevel
328
328
 
329
329
  style ProjectLevel fill:#e1f5ff
330
330
  style ReqLevel fill:#fff4e1
331
331
  style FlowInit fill:#e8f5e9
332
- style FlowClarify fill:#fff9c4
333
332
  style FlowSpec fill:#e8f5e9
334
333
  style FlowDev fill:#f3e5f5
335
- style FlowQuality fill:#fce4ec
334
+ style FlowVerify fill:#fce4ec
336
335
  style FlowRelease fill:#e0f2f1
337
- style FlowVerify fill:#e3f2fd
336
+ style End fill:#e3f2fd
338
337
  ```
339
338
 
340
339
  **流程说明**:
341
340
  - **项目级命令**(浅蓝色):项目初始化时执行一次,建立全局标准(SSOT)
342
341
  - **需求级命令**(浅橙色):每个需求(REQ-XXX)执行一次
343
- - **统一 /flow-spec** (v4.1):替代 flow-prd/flow-tech/flow-ui/flow-epic,支持并行执行
344
- - **统一质量验证** (v3.0.0):`/flow-quality --full` 合并规格合规、代码质量与安全检查
345
- - **可选步骤**(黄色):`/flow-clarify` 为可选步骤,需求清晰时可跳过
346
- - **质量闸门**:每个阶段都有入口/出口闸门,确保文档质量和 Constitution 合规性
347
- - **TDD 强制执行**:`/flow-dev` 严格强制执行测试驱动开发顺序
348
- - **一致性检查**:`/flow-verify` 可在任意阶段调用,确保文档一致性
342
+ - **默认主链**:`/flow:init` → `/flow:spec` `/flow:dev` → `/flow:verify` → `/flow:release`
343
+ - **Harness 运行时链路**:各阶段统一委托 `npm run harness:*`,并持久化 checkpoint
344
+ - **统一 /flow:spec**:将规格阶段收敛为单一任务清单产出
345
+ - **报告卡质量闸**:`/flow:verify --strict` 不通过时阻断发布
346
+ - **TDD 强制执行**:`/flow:dev` 保留 fail-first 检查
347
+ - **废弃命令**:`/flow:new`、`/flow:clarify`、`/flow:checklist`、`/flow:quality` 仅保留迁移提示
349
348
 
350
349
  ---
351
350
 
@@ -399,7 +398,7 @@ devflow/
399
398
  ### 质量闸
400
399
 
401
400
  - Pre-push Guard(TypeScript、测试、代码检查、安全、构建)
402
- - Checklist Gate(`/flow-checklist` 80% 完成度阈值,在 `/flow-epic` 前执行)
401
+ - Report Card Gate(`/flow:verify --strict`,在 `/flow:release` 前执行)
403
402
  - Constitution Compliance(每个阶段强制执行)
404
403
  - TDD Checkpoint(TEST VERIFICATION CHECKPOINT)
405
404
  - Guardrail Hooks(PreToolUse 实时阻止不合规操作)
@@ -488,7 +487,36 @@ bash .claude/tests/run-all-tests.sh --scripts
488
487
 
489
488
  ## 📝 版本历史
490
489
 
491
- ### v4.7.0 (2026-02-07) - 最新版本
490
+ 说明:v6.0.0 之前的条目保留当时的命令写法,用于历史追踪。
491
+
492
+ ### v6.0.0 (2026-02-18) - 最新版本
493
+
494
+ **🧩 Harness-First 主链:默认流程收敛为可审计运行时**
495
+
496
+ v6.0.0 将 cc-devflow 收敛为单一默认路径,并由内部 runtime 引擎驱动:
497
+
498
+ - **默认命令链**
499
+ - `/flow:init` → `/flow:spec` → `/flow:dev` → `/flow:verify` → `/flow:release`
500
+ - 每个阶段都映射到 `npm run harness:*`,保证流程可恢复、可追踪
501
+
502
+ - **核心运行时产物**
503
+ - `context-package.md` + `harness-state.json`:初始化状态
504
+ - `task-manifest.json` + `runtime-events.jsonl`:执行轨迹
505
+ - `report-card.json` + `release-note.md`:质量与发布证据
506
+
507
+ - **废弃命令迁移**
508
+ - `/flow:new` → 改为显式执行 5 阶段主链
509
+ - `/flow:clarify` → 合并进 `/flow:spec` 规划闭环
510
+ - `/flow:checklist`、`/flow:quality` → 统一迁移到 `/flow:verify`
511
+
512
+ **📊 v6.0 改进指标**:
513
+ | 指标 | 之前 | 之后 | 改善 |
514
+ |------|------|------|------|
515
+ | 默认需求命令路径 | 8+ 条混合路径 | 固定 5 阶段主链 | 显著简化 |
516
+ | 中断恢复能力 | 命令分散实现 | 统一 `harness:resume` | 更稳定 |
517
+ | 质量证据 | 分散产物 | 单一 report-card 闸门 | 可审计 |
518
+
519
+ ### v4.7.0 (2026-02-07)
492
520
 
493
521
  **🤝 Claude Team 集成:多 Agent 并行协作**
494
522
 
@@ -549,8 +577,8 @@ v4.3.0 引入 Git Worktree 集成,支持多个隔离的 Claude Code 会话并
549
577
  - Shell 别名模板 (za/zl/zm/zw)
550
578
 
551
579
  - **修改的命令**
552
- - `/flow-init` - 默认 worktree 模式,`--branch-only` 兼容旧模式
553
- - `/flow-release` - 自动清理 worktree
580
+ - `/flow:init` - 默认 worktree 模式,`--branch-only` 兼容旧模式
581
+ - `/flow:release` - 自动清理 worktree
554
582
 
555
583
  **📊 v4.3 改进指标**:
556
584
  | 指标 | 之前 | 之后 | 改善 |
@@ -561,11 +589,11 @@ v4.3.0 引入 Git Worktree 集成,支持多个隔离的 Claude Code 会话并
561
589
 
562
590
  ### v4.1.0 (2026-02-07)
563
591
 
564
- **🎯 统一规格阶段:/flow-spec 命令**
592
+ **🎯 统一规格阶段:/flow:spec 命令**
565
593
 
566
- v4.1.0 将 flow-prd/flow-tech/flow-ui/flow-epic 合并为单一 `/flow-spec` 命令,支持并行执行:
594
+ v4.1.0 将 flow-prd/flow-tech/flow-ui/flow-epic 合并为单一 `/flow:spec` 命令,支持并行执行:
567
595
 
568
- - **统一 /flow-spec 命令** - 一个命令完成整个规格阶段
596
+ - **统一 /flow:spec 命令** - 一个命令完成整个规格阶段
569
597
  - 完整模式:PRD → Tech + UI(并行)→ Epic/Tasks
570
598
  - 快速模式:`--skip-tech --skip-ui` 适用于小需求
571
599
  - 仅后端:`--skip-ui`
@@ -577,12 +605,12 @@ v4.1.0 将 flow-prd/flow-tech/flow-ui/flow-epic 合并为单一 `/flow-spec` 命
577
605
 
578
606
  - **简化工作流** (v4.1)
579
607
  ```
580
- 精简 (3 步): /flow-init --quick → /flow-spec --skip-tech --skip-ui → /flow-dev → /flow-release
581
- 标准 (4 步): /flow-init → /flow-spec → /flow-dev → /flow-quality → /flow-release
582
- 完整 (5 步): /flow-init → /flow-clarify → /flow-spec → /flow-dev → /flow-quality --full → /flow-release
608
+ 精简 (3 步): /flow:init --quick → /flow:spec --skip-tech --skip-ui → /flow:dev → /flow:release
609
+ 标准 (4 步): /flow:init → /flow:spec → /flow:dev → /flow:verify → /flow:release
610
+ 完整 (5 步): /flow:init → /flow:spec → /flow:dev → /flow:verify --strict → /flow:release
583
611
  ```
584
612
 
585
- - **废弃命令**:`/flow-prd`、`/flow-tech`、`/flow-ui`、`/flow-epic` 已废弃(请使用 `/flow-spec`)
613
+ - **废弃命令**:`/flow-prd`、`/flow-tech`、`/flow-ui`、`/flow-epic` 已废弃(请使用 `/flow:spec`)
586
614
 
587
615
  **📊 v4.1 改进指标**:
588
616
  | 指标 | 之前 (v4.0) | 之后 (v4.1) | 改善 |
@@ -675,9 +703,9 @@ v2.3.0 将 Constitution 从"文档"升级为"可执行纪律系统",借鉴 sup
675
703
  - 阶段 4:TDD 实现
676
704
  - `flow-debugging` 和 `flow-tdd` 技能
677
705
 
678
- - **头脑风暴集成** - `/flow-init` 现在包含头脑风暴
706
+ - **头脑风暴集成** - `/flow:init` 现在包含头脑风暴
679
707
  - `BRAINSTORM.md` 作为需求"北极星"
680
- - `/flow-prd` 需要 BRAINSTORM 对齐检查
708
+ - `/flow:spec` 需要 BRAINSTORM 对齐检查
681
709
  - `flow-brainstorming` 技能
682
710
 
683
711
  - **压力测试框架** - 技能的 TDD
@@ -690,12 +718,12 @@ v2.3.0 将 Constitution 从"文档"升级为"可执行纪律系统",借鉴 sup
690
718
  - 所有 `superpowers:xxx` 引用替换为本地技能
691
719
 
692
720
  - **Ralph × Manus 集成** - 有记忆的自主开发(新增)
693
- - 合并入 `/flow-dev` (默认自主模式)
721
+ - 合并入 `/flow:dev` (默认自主模式)
694
722
  - `flow-attention-refresh` 技能提供 4 个刷新协议
695
723
  - `ERROR_LOG.md` 结构化错误追踪
696
724
  - `research/attempts/` 失败痕迹记录
697
725
  - Stop Hook 实现自引用循环
698
- - `/flow-init` Stage 2.5 融入 Manus 研究方法
726
+ - `/flow:init` Stage 2.5 融入 Manus 研究方法
699
727
  - 目标:无人工干预任务完成率 ≥85%
700
728
 
701
729
  **📋 Constitution v2.1.0**: