speccrew 0.6.33 → 0.6.34
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.
|
@@ -187,12 +187,18 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
187
187
|
<block type="gateway" id="P05-G3" mode="exclusive" desc="Check techs knowledge base">
|
|
188
188
|
<branch test="${techs_kb.exists} == false" name="Techs Not Initialized">
|
|
189
189
|
<block type="event" id="P05-E3" action="log" desc="Guide to initialize techs knowledge base"/>
|
|
190
|
+
<block type="rule" id="P05-R-TECHS" level="mandatory" desc="Parallel worker dispatch for techs">
|
|
191
|
+
<field name="text">When techs-dispatch Stage 2 prepares task plans for multiple platforms, dispatch ALL platform workers IN PARALLEL — DO NOT execute sequentially</field>
|
|
192
|
+
</block>
|
|
190
193
|
<block type="task" id="P05-B5" action="run-skill" desc="Invoke techs-dispatch">
|
|
191
194
|
<field name="skill">speccrew-knowledge-techs-dispatch</field>
|
|
192
195
|
</block>
|
|
193
196
|
</branch>
|
|
194
197
|
<branch test="${bizs_kb.exists} == false" name="Bizs Not Initialized">
|
|
195
198
|
<block type="event" id="P05-E4" action="log" desc="Guide to initialize bizs knowledge base"/>
|
|
199
|
+
<block type="rule" id="P05-R-BIZS" level="mandatory" desc="Parallel worker dispatch for bizs">
|
|
200
|
+
<field name="text">When bizs-dispatch prepares worker task plans, dispatch ALL workers IN PARALLEL per stage — DO NOT execute sequentially</field>
|
|
201
|
+
</block>
|
|
196
202
|
<block type="task" id="P05-B6" action="run-skill" desc="Invoke bizs-dispatch-xml">
|
|
197
203
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
198
204
|
</block>
|
|
@@ -230,11 +236,19 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
230
236
|
</block>
|
|
231
237
|
</branch>
|
|
232
238
|
<branch test="${intent} == 'knowledge_bizs'" name="Bizs Knowledge Base">
|
|
239
|
+
<block type="rule" id="P1-R-BIZS" level="mandatory" desc="Bizs dispatch parallel execution rules">
|
|
240
|
+
<field name="text">When bizs-dispatch prepares worker task plans for multiple features or platforms, dispatch ALL workers IN PARALLEL — DO NOT execute features or platforms sequentially one by one</field>
|
|
241
|
+
<field name="text">Each Worker (analysis, graph, summarize) runs independently — dispatch all of them at once per stage, then monitor completion markers</field>
|
|
242
|
+
</block>
|
|
233
243
|
<block type="task" id="P1-B3" action="run-skill" status="pending" desc="Invoke bizs-dispatch XML version">
|
|
234
244
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
235
245
|
</block>
|
|
236
246
|
</branch>
|
|
237
247
|
<branch test="${intent} == 'knowledge_techs'" name="Techs Knowledge Base">
|
|
248
|
+
<block type="rule" id="P1-R-TECHS" level="mandatory" desc="Techs dispatch parallel execution rules">
|
|
249
|
+
<field name="text">When techs-dispatch Stage 2 prepares task plans for multiple platforms, dispatch ALL platform workers IN PARALLEL using concurrent task dispatch — DO NOT execute platforms sequentially one by one</field>
|
|
250
|
+
<field name="text">Each platform worker (techs-generate-conventions, techs-generate-ui-style) runs independently — dispatch all of them at once, then monitor completion markers</field>
|
|
251
|
+
</block>
|
|
238
252
|
<block type="task" id="P1-B4" action="run-skill" status="pending" desc="Invoke techs-dispatch Skill">
|
|
239
253
|
<field name="skill">speccrew-knowledge-techs-dispatch</field>
|
|
240
254
|
</block>
|
|
@@ -473,7 +473,7 @@ Preparing Graph data generation for completed Features
|
|
|
473
473
|
</block>
|
|
474
474
|
|
|
475
475
|
<!-- Step 2.5: Dispatch Graph Worker -->
|
|
476
|
-
<block type="loop" id="S2-L25" over="${batch_response.batch}" as="feature" desc="Dispatch Graph Worker for each Feature">
|
|
476
|
+
<block type="loop" id="S2-L25" over="${batch_response.batch}" as="feature" parallel="true" max-concurrency="${max_concurrent_workers}" desc="Dispatch Graph Worker for each Feature IN PARALLEL">
|
|
477
477
|
<block type="gateway" id="S2-G2" mode="exclusive" desc="Route Graph Worker based on analysis type">
|
|
478
478
|
<branch test="${feature.platformType} == 'backend'" name="API Graph">
|
|
479
479
|
<block type="task" id="S2-B25a" action="dispatch-to-worker" status="pending" desc="Dispatch API Graph Worker">
|
|
@@ -637,11 +637,12 @@ Stage 3 Milestone: Module summaries complete. ${module_count} modules summarized
|
|
|
637
637
|
|
|
638
638
|
<block type="rule" id="S35-R1" level="mandatory" desc="Stage 3.5 mandatory rules">
|
|
639
639
|
<field name="text">Worker dispatch is handled by the calling Agent (Team Leader). This Skill only prepares the task plan and parameters.</field>
|
|
640
|
+
<field name="text">ALL UI style extraction workers MUST be dispatched IN PARALLEL — sequential execution is FORBIDDEN</field>
|
|
640
641
|
<field name="text">This stage writes to techs knowledge base, not bizs knowledge base</field>
|
|
641
642
|
</block>
|
|
642
643
|
|
|
643
644
|
<!-- Dispatch UI Style Extract Worker for each frontend platform -->
|
|
644
|
-
<block type="loop" id="S35-L1" over="${platforms}" as="platform" desc="
|
|
645
|
+
<block type="loop" id="S35-L1" over="${platforms}" as="platform" parallel="true" max-concurrency="${max_concurrent_workers}" desc="Dispatch UI style extraction Workers for frontend platforms IN PARALLEL">
|
|
645
646
|
<block type="gateway" id="S35-G1" mode="exclusive" desc="Execute for UI platforms only">
|
|
646
647
|
<branch test="${platform.platformType} in ['web', 'mobile', 'desktop']" name="UI platform">
|
|
647
648
|
<block type="task" id="S35-B1" action="dispatch-to-worker" status="pending" desc="Dispatch UI style extraction Worker">
|
|
@@ -124,6 +124,12 @@ See [Platform Status Tracking Fields](#platform-status-tracking-fields) for stat
|
|
|
124
124
|
|
|
125
125
|
## Stage 2: Generate Platform Documents (Parallel)
|
|
126
126
|
|
|
127
|
+
> **🚨 CRITICAL: PARALLEL EXECUTION IS MANDATORY**
|
|
128
|
+
> - Prepare task plans for ALL platforms FIRST, then dispatch ALL workers SIMULTANEOUSLY
|
|
129
|
+
> - DO NOT finish one platform before starting the next — this wastes time and violates the pipeline design
|
|
130
|
+
> - The calling Agent MUST use concurrent task dispatch (e.g., dispatch 3 workers in one turn for 3 platforms)
|
|
131
|
+
> - Sequential platform-by-platform execution is FORBIDDEN
|
|
132
|
+
|
|
127
133
|
**Goal**: Generate technology documentation for each platform in parallel.
|
|
128
134
|
|
|
129
135
|
**Action**:
|