speccrew 0.6.23 → 0.6.25

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.
@@ -578,11 +578,29 @@ No knowledge base exists. A lightweight feature inventory scan is triggered to d
578
578
  >
579
579
  > This step aggregates all module-overview.md files into a single system-overview.md, which PM Agent uses as the primary knowledge context when processing new requirements.
580
580
  >
581
- > ⚠️ This step MUST complete before Phase 1 exits. system-overview.md is required for subsequent requirement analysis.
582
- >
583
- > Only after ALL Steps complete, proceed to Phase 2 (Requirement Clarification).
584
- >
585
- > 🛑 **Path B Completion Check**:
581
+ ⚠️ This step MUST complete before Phase 1 exits. system-overview.md is required for subsequent requirement analysis.
582
+
583
+ **Path B Step 7: Cleanup Intermediate Files**
584
+
585
+ After system-overview.md is successfully generated, delete intermediate files that are no longer needed:
586
+
587
+ ```bash
588
+ # Delete matcher result (used for task generation, no longer needed)
589
+ rm "{workspace_path}/knowledges/bizs/.matcher-result.json"
590
+
591
+ # Delete dispatch progress (used for task tracking, no longer needed)
592
+ rm "{workspace_path}/knowledges/bizs/DISPATCH-PROGRESS.json"
593
+ ```
594
+
595
+ ⚠️ Only execute cleanup AFTER confirming:
596
+ - [ ] Step 6 completed: system-overview.md exists and is non-empty
597
+ - [ ] All tasks in DISPATCH-PROGRESS.json have status "completed"
598
+
599
+ These files were used for breakpoint recovery during initialization. Once all tasks complete and system-overview.md is generated, they become obsolete and can be safely removed.
600
+
601
+ Only after ALL Steps complete, proceed to Phase 2 (Requirement Clarification).
602
+
603
+ 🛑 **Path B Completion Check**:
586
604
  > Before proceeding to Phase 2, verify:
587
605
  > - [ ] Step 1.5 completed: DISPATCH-PROGRESS.json created with all tasks
588
606
  > - [ ] Step 2 completed: task plan JSON generated for each matched module
@@ -590,7 +608,8 @@ No knowledge base exists. A lightweight feature inventory scan is triggered to d
590
608
  > - [ ] Step 4 completed: module-summarize Workers completed for ALL matched modules
591
609
  > - [ ] Step 5 completed: features-*.json updated with analyzed=true
592
610
  > - [ ] Step 6 completed: system-overview.md generated
593
- >
611
+ > - [ ] Step 7 completed: intermediate files (.matcher-result.json, DISPATCH-PROGRESS.json) cleaned up
612
+ >
594
613
  > If ANY step is incomplete, DO NOT proceed. Execute the missing steps first.
595
614
 
596
615
  4. **IF feature inventory fails**:
@@ -1734,6 +1753,29 @@ and invoke the Feature Designer Agent (speccrew-feature-designer).
1734
1753
  DO NOT proceed to Feature Design in this conversation.
1735
1754
  ```
1736
1755
 
1756
+ **5.3.5 Cleanup PRD Intermediate Files**
1757
+
1758
+ After PRD verification passes and user has confirmed, delete intermediate process files that are no longer needed:
1759
+
1760
+ **Files to delete:**
1761
+ - `{iteration_path}/01.product-requirement/.checkpoints.json` (execution checkpoint tracking)
1762
+ - `{iteration_path}/01.product-requirement/.prd-generation-report.md` (intermediate generation report)
1763
+ - `{iteration_path}/01.product-requirement/.prd-completion-report.md` (completion report)
1764
+ - `{iteration_path}/01.product-requirement/.sub-prd-dispatch-plan.json` (Sub-PRD dispatch plan)
1765
+
1766
+ **Files to KEEP (referenced by downstream phases):**
1767
+ - Master PRD and all Sub-PRD documents (`*-prd.md`, `*-sub-*.md`)
1768
+ - `.clarification-summary.md`
1769
+ - `.module-design.md`
1770
+ - `.clarification-questions-round-*.md` (optional, for reference)
1771
+
1772
+ ⚠️ **Only execute cleanup AFTER:**
1773
+ - All Sub-PRDs are verified and confirmed
1774
+ - User has explicitly confirmed in Phase 6.2
1775
+ - WORKFLOW-PROGRESS.json has been updated to "confirmed" status
1776
+
1777
+ > 🛑 **FORBIDDEN**: DO NOT delete PRD documents or clarification-related files.
1778
+
1737
1779
  **END** — Do not invoke or suggest transitioning to the next stage agent.
1738
1780
 
1739
1781
  # Deliverables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.6.23",
3
+ "version": "0.6.25",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {