speccrew 0.7.21 → 0.7.22

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.
@@ -2,14 +2,15 @@
2
2
 
3
3
  ## Description
4
4
 
5
- PM Phase 5 Sub-PRD Batch Dispatch Skill. Responsible for dispatching Sub-PRD generation tasks (split from complex requirements) to Worker Agents in batches.
6
-
7
- This Skill is the core orchestration component of the Master-Sub PRD workflow, implementing:
8
- - Reading Dispatch Plan from Master PRD (Sub-PRD grouping information)
9
- - Initializing dispatch progress tracking file DISPATCH-PROGRESS.json
10
- - Batch parallel dispatch of Workers to generate Sub-PRDs for each module
11
- - Failure retry mechanism (max 1 retry)
12
- - Result collection and completeness verification
5
+ PM Phase 5 Sub-PRD Batch Dispatch Skill. Core orchestration component for Master-Sub PRD workflow, executed directly by PM Agent (NOT dispatched to Worker).
6
+
7
+ PM Agent loads and executes this skill directly to coordinate batch dispatch of Sub-PRD generation tasks to Worker Agents, implementing:
8
+ - Reading Dispatch Plan from Master PRD
9
+ - Initializing dispatch progress tracking
10
+ - Dispatching Workers in parallel batches for Sub-PRD generation per module
11
+ - Failure retry and result verification
12
+
13
+ **CRITICAL**: This skill contains dispatch-to-worker logic internally. It MUST be executed by PM Agent (who has Agent tool access), NOT by a Worker Agent (who cannot create sub-Workers).
13
14
 
14
15
  ## Input Parameters
15
16
 
@@ -17,9 +17,9 @@
17
17
  Global Invocation Rules
18
18
  ============================================================ -->
19
19
  <block type="rule" id="GLOBAL-R-INVOCATION" level="mandatory" desc="Invocation constraints - NEVER violate">
20
- <field name="text">This skill MUST be loaded directly by PM Agent via Skill tool</field>
21
- <field name="text">Worker Agents MUST NOT execute this dispatch skill - if loaded by a Worker, report error and abort</field>
22
- <field name="text">Sub-PRD generation skill (speccrew-pm-sub-prd-generate) MUST be dispatched via speccrew-task-worker</field>
20
+ <field name="text">This skill MUST be loaded and executed directly by PM Agent (via run-skill action in orchestration)</field>
21
+ <field name="text">PM Agent will internally dispatch Workers to execute speccrew-pm-sub-prd-generate via dispatch-to-worker</field>
22
+ <field name="text">Worker Agents MUST NOT attempt to execute this skill - this is an orchestration-level skill</field>
23
23
  </block>
24
24
 
25
25
  <!-- ============================================================
@@ -194,15 +194,16 @@
194
194
  <branch default="true" name="Execute Phase 5" goto="P5"/>
195
195
  </block>
196
196
 
197
- <block type="task" id="P5" action="dispatch-to-worker" desc="Phase 5: Sub-PRD dispatch">
198
- <field name="worker">speccrew-task-worker</field>
197
+ <block type="task" id="P5" action="run-skill" desc="Phase 5: Sub-PRD dispatch (PM executes directly)">
199
198
  <field name="skill">speccrew-pm-phase5-subprd-dispatch</field>
200
199
  <field name="context">{
200
+ "prd_output": {
201
+ "master_prd_path": "${phase4b_result.master_prd_path}",
202
+ "dispatch_plan_path": "${phase4b_result.dispatch_plan_path}"
203
+ },
201
204
  "workspace_path": "${phase0_result.workspace_path}",
202
205
  "iteration_path": "${phase0_result.iteration_path}",
203
206
  "update_progress_script": "${phase0_result.update_progress_script}",
204
- "master_prd_path": "${phase4b_result.master_prd_path}",
205
- "dispatch_plan_path": "${phase4b_result.dispatch_plan_path}",
206
207
  "language": "${language}"
207
208
  }</field>
208
209
  <field name="output" var="phase5_result"/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.7.21",
3
+ "version": "0.7.22",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {