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.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
- Reading Dispatch Plan from Master PRD
|
|
9
|
-
- Initializing dispatch progress tracking
|
|
10
|
-
-
|
|
11
|
-
- Failure retry
|
|
12
|
-
|
|
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
|
|
21
|
-
<field name="text">
|
|
22
|
-
<field name="text">
|
|
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="
|
|
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"/>
|