speccrew 0.6.13 → 0.6.14
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.
|
@@ -422,6 +422,12 @@ No knowledge base exists. A lightweight feature inventory scan is triggered to d
|
|
|
422
422
|
> requirement_summary: <brief summary of user's requirement>
|
|
423
423
|
> ```
|
|
424
424
|
>
|
|
425
|
+
> 🛑 **CRITICAL GATE — DO NOT SKIP Steps 2-5**:
|
|
426
|
+
> After matcher completes, you MUST execute Steps 2-5 to deep-initialize the matched modules' knowledge base.
|
|
427
|
+
> DO NOT jump to Phase 2 (Complexity Assessment) or Phase 3 (Requirement Clarification) until ALL Steps complete.
|
|
428
|
+
> The matcher output is INPUT for Step 2, not the final output of Path B.
|
|
429
|
+
> Skipping Steps 2-5 means the PRD will lack descriptions of existing system features.
|
|
430
|
+
>
|
|
425
431
|
> **Path B Step 2: Generate Analyze Task Plan**
|
|
426
432
|
> For EACH matched module, dispatch Worker with `speccrew-pm-module-initializer` skill.
|
|
427
433
|
> This Worker will output a task plan JSON (list of features to analyze + analyzer parameters).
|
|
@@ -494,6 +500,15 @@ No knowledge base exists. A lightweight feature inventory scan is triggered to d
|
|
|
494
500
|
> After all analyze Workers complete, update each analyzed feature's `analyzed` field to `true` in the corresponding features-*.json file.
|
|
495
501
|
>
|
|
496
502
|
> Only after ALL Steps complete, proceed to Phase 2 (Requirement Clarification).
|
|
503
|
+
>
|
|
504
|
+
> 🛑 **Path B Completion Check**:
|
|
505
|
+
> Before proceeding to Phase 2, verify:
|
|
506
|
+
> - [ ] Step 2 completed: task plan JSON generated for each matched module
|
|
507
|
+
> - [ ] Step 3 completed: analyze Workers dispatched and completed for ALL pending features
|
|
508
|
+
> - [ ] Step 4 completed: module-summarize Workers completed for ALL matched modules
|
|
509
|
+
> - [ ] Step 5 completed: features-*.json updated with analyzed=true
|
|
510
|
+
>
|
|
511
|
+
> If ANY step is incomplete, DO NOT proceed. Execute the missing steps first.
|
|
497
512
|
|
|
498
513
|
4. **IF feature inventory fails**:
|
|
499
514
|
- Report to user: "Project structure scan encountered issues: [specific error]. Continuing without knowledge base context."
|
|
@@ -515,6 +530,10 @@ This context will be passed to Phase 3 (Requirement Clarification) and Phase 4 (
|
|
|
515
530
|
|
|
516
531
|
## Phase 2: Complexity Assessment & Skill Routing
|
|
517
532
|
|
|
533
|
+
> **PRE-CONDITION**: Path B Steps 2-5 must be completed before entering Phase 2.
|
|
534
|
+
> If matched_modules exist but knowledges/bizs/ directories are empty, Path B was not fully executed.
|
|
535
|
+
> Go back and execute the remaining Path B steps.
|
|
536
|
+
|
|
518
537
|
Before starting requirement analysis, assess the requirement complexity to determine the appropriate skill path.
|
|
519
538
|
|
|
520
539
|
### 2.1 Complexity Indicators
|