speccrew 0.6.38 → 0.6.40
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.
|
@@ -190,8 +190,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
190
190
|
<block type="rule" id="P05-R-TECHS" level="mandatory" desc="Parallel worker dispatch for techs">
|
|
191
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
192
|
</block>
|
|
193
|
-
<block type="task" id="P05-B5" action="
|
|
193
|
+
<block type="task" id="P05-B5" action="dispatch-to-worker" desc="Dispatch techs-dispatch via Task tool → speccrew-task-worker">
|
|
194
|
+
<field name="worker">speccrew-task-worker</field>
|
|
194
195
|
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
196
|
+
<field name="instructions">
|
|
197
|
+
CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
|
|
198
|
+
|
|
199
|
+
Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-techs-dispatch-xml.
|
|
200
|
+
The Worker Agent will load and execute the dispatch workflow autonomously.
|
|
201
|
+
DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
|
|
202
|
+
</field>
|
|
195
203
|
</block>
|
|
196
204
|
</branch>
|
|
197
205
|
<branch test="${bizs_kb.exists} == false" name="Bizs Not Initialized">
|
|
@@ -199,8 +207,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
199
207
|
<block type="rule" id="P05-R-BIZS" level="mandatory" desc="Parallel worker dispatch for bizs">
|
|
200
208
|
<field name="text">When bizs-dispatch prepares worker task plans, dispatch ALL workers IN PARALLEL per stage — DO NOT execute sequentially</field>
|
|
201
209
|
</block>
|
|
202
|
-
<block type="task" id="P05-B6" action="
|
|
210
|
+
<block type="task" id="P05-B6" action="dispatch-to-worker" desc="Dispatch bizs-dispatch via Task tool → speccrew-task-worker">
|
|
211
|
+
<field name="worker">speccrew-task-worker</field>
|
|
203
212
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
213
|
+
<field name="instructions">
|
|
214
|
+
CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
|
|
215
|
+
|
|
216
|
+
Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-bizs-dispatch-xml.
|
|
217
|
+
The Worker Agent will load and execute the dispatch workflow autonomously.
|
|
218
|
+
DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
|
|
219
|
+
</field>
|
|
204
220
|
</block>
|
|
205
221
|
</branch>
|
|
206
222
|
<branch default="true" name="Knowledge Base Ready">
|
|
@@ -221,6 +237,7 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
221
237
|
<field name="text">DO NOT trigger business process Skills (PRD, Solution, Design, Dev) — these are loaded by corresponding role Agents</field>
|
|
222
238
|
<field name="text">DO NOT handle business development requests (feature requirements, code modifications, bug fixes) — prompt user to talk directly to Qoder</field>
|
|
223
239
|
<field name="text">DO NOT delete or modify WORKFLOW-PROGRESS.json (read-only)</field>
|
|
240
|
+
<field name="text">DO NOT call the Skill tool directly for speccrew-knowledge-* skills (speccrew-knowledge-bizs-dispatch-xml, speccrew-knowledge-techs-dispatch-xml) — MUST use Task tool to create speccrew-task-worker Agent for indirect execution</field>
|
|
224
241
|
</block>
|
|
225
242
|
|
|
226
243
|
<block type="gateway" id="P1-G1" mode="exclusive" desc="Intent Recognition Routing">
|
|
@@ -240,8 +257,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
240
257
|
<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
258
|
<field name="text">Each Worker (analysis, graph, summarize) runs independently — dispatch all of them at once per stage, then monitor completion markers</field>
|
|
242
259
|
</block>
|
|
243
|
-
<block type="task" id="P1-B3" action="
|
|
260
|
+
<block type="task" id="P1-B3" action="dispatch-to-worker" status="pending" desc="Dispatch bizs-dispatch via Task tool → speccrew-task-worker">
|
|
261
|
+
<field name="worker">speccrew-task-worker</field>
|
|
244
262
|
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
263
|
+
<field name="instructions">
|
|
264
|
+
CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
|
|
265
|
+
|
|
266
|
+
Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-bizs-dispatch-xml.
|
|
267
|
+
The Worker Agent will load and execute the dispatch workflow autonomously.
|
|
268
|
+
DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
|
|
269
|
+
</field>
|
|
245
270
|
</block>
|
|
246
271
|
</branch>
|
|
247
272
|
<branch test="${intent} == 'knowledge_techs'" name="Techs Knowledge Base">
|
|
@@ -249,8 +274,16 @@ rule : Constraint declaration (level: forbidden | mandatory | note)
|
|
|
249
274
|
<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
275
|
<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
276
|
</block>
|
|
252
|
-
<block type="task" id="P1-B4" action="
|
|
277
|
+
<block type="task" id="P1-B4" action="dispatch-to-worker" status="pending" desc="Dispatch techs-dispatch via Task tool → speccrew-task-worker">
|
|
278
|
+
<field name="worker">speccrew-task-worker</field>
|
|
253
279
|
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
280
|
+
<field name="instructions">
|
|
281
|
+
CRITICAL: This skill MUST be invoked via Task tool creating a Worker Agent (speccrew-task-worker), NOT via direct Skill tool call.
|
|
282
|
+
|
|
283
|
+
Use the Task tool to create a Worker Agent with the skill speccrew-knowledge-techs-dispatch-xml.
|
|
284
|
+
The Worker Agent will load and execute the dispatch workflow autonomously.
|
|
285
|
+
DO NOT call the Skill tool directly for speccrew-knowledge-* skills.
|
|
286
|
+
</field>
|
|
254
287
|
</block>
|
|
255
288
|
</branch>
|
|
256
289
|
|
|
@@ -400,6 +433,13 @@ When user reports problems ("something went wrong", "error occurred", "not worki
|
|
|
400
433
|
- When dispatching workers: ensure task descriptions explicitly state "use PowerShell/Bash only"
|
|
401
434
|
- For JSON operations: use `node -e` with inline JS, or PowerShell `ConvertFrom-Json` / `ConvertTo-Json`
|
|
402
435
|
|
|
436
|
+
**CONTINUOUS EXECUTION ENFORCEMENT:**
|
|
437
|
+
- NEVER offer A/B/C choices during pipeline execution
|
|
438
|
+
- NEVER pause to ask "Should I continue?" when workload is large
|
|
439
|
+
- NEVER suggest "partial execution" or "on-demand initialization" as options
|
|
440
|
+
- When context window is running low, complete current stage fully, write checkpoint, then continue in next context — DO NOT ask user
|
|
441
|
+
- The ONLY acceptable reason to stop is: unrecoverable error (file system failure, missing dependencies)
|
|
442
|
+
|
|
403
443
|
**Must NOT Do:**
|
|
404
444
|
- Do not directly execute specific steps in Skill (must read Skill file first)
|
|
405
445
|
- Do not skip Skill and directly generate deliverables
|
|
@@ -8,6 +8,26 @@ tools: Read, Write, Task, Bash
|
|
|
8
8
|
|
|
9
9
|
Orchestrate **bizs knowledge base generation** with a 5-stage pipeline using **XML Block system**: Feature Inventory → Feature Analysis + Graph Write → Module Summarize → UI Style Pattern Extract → System Summary.
|
|
10
10
|
|
|
11
|
+
## Invocation Method
|
|
12
|
+
|
|
13
|
+
**CRITICAL**: This skill MUST be invoked via Task tool → speccrew-task-worker, NOT via direct Skill tool call.
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Correct: Use Task tool to create speccrew-task-worker with this skill
|
|
17
|
+
Incorrect: Use Skill tool to call this skill directly
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Why?** This skill requires run_in_terminal capability for script execution, which Worker Agents possess but direct Skill invocations may not support correctly. The Task tool creates a dedicated Worker Agent (speccrew-task-worker) that loads and executes this workflow autonomously.
|
|
21
|
+
|
|
22
|
+
**Correct Invocation Pattern**:
|
|
23
|
+
```xml
|
|
24
|
+
<block type="task" action="dispatch-to-worker" desc="Dispatch bizs-dispatch via Task tool">
|
|
25
|
+
<field name="worker">speccrew-task-worker</field>
|
|
26
|
+
<field name="skill">speccrew-knowledge-bizs-dispatch-xml</field>
|
|
27
|
+
<field name="instructions">Execute the bizs knowledge base generation pipeline.</field>
|
|
28
|
+
</block>
|
|
29
|
+
```
|
|
30
|
+
|
|
11
31
|
## Quick Reference — Execution Flow
|
|
12
32
|
|
|
13
33
|
```
|
|
@@ -105,6 +125,10 @@ Stage 4: System Summary
|
|
|
105
125
|
<field name="text">DO NOT ask for confirmation before generating output files</field>
|
|
106
126
|
<field name="text">DO NOT warn about "large number of files" or "this may take a while" — proceed with generation</field>
|
|
107
127
|
<field name="text">ONLY pause at explicit <event action="confirm"> blocks defined in the workflow</field>
|
|
128
|
+
<field name="text">DO NOT offer "continue/pause/partial" options — EVER</field>
|
|
129
|
+
<field name="text">DO NOT estimate workload and suggest breaking it into phases — execute ALL phases in sequence</field>
|
|
130
|
+
<field name="text">When many features need analysis, dispatch ALL of them — do NOT skip or defer any</field>
|
|
131
|
+
<field name="text">Context window management: if approaching limit, save progress to checkpoint file and resume — do NOT ask user for guidance</field>
|
|
108
132
|
</block>
|
|
109
133
|
|
|
110
134
|
<!-- ============================================================
|
|
@@ -8,6 +8,26 @@ tools: Read, Write, Task, Bash
|
|
|
8
8
|
|
|
9
9
|
Orchestrate **techs knowledge base generation** with a 3-stage pipeline using **XML Block system**: Platform Detection → Tech Doc Generation → Root Index.
|
|
10
10
|
|
|
11
|
+
## Invocation Method
|
|
12
|
+
|
|
13
|
+
**CRITICAL**: This skill MUST be invoked via Task tool → speccrew-task-worker, NOT via direct Skill tool call.
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Correct: Use Task tool to create speccrew-task-worker with this skill
|
|
17
|
+
Incorrect: Use Skill tool to call this skill directly
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Why?** This skill requires run_in_terminal capability for script execution, which Worker Agents possess but direct Skill invocations may not support correctly. The Task tool creates a dedicated Worker Agent (speccrew-task-worker) that loads and executes this workflow autonomously.
|
|
21
|
+
|
|
22
|
+
**Correct Invocation Pattern**:
|
|
23
|
+
```xml
|
|
24
|
+
<block type="task" action="dispatch-to-worker" desc="Dispatch techs-dispatch via Task tool">
|
|
25
|
+
<field name="worker">speccrew-task-worker</field>
|
|
26
|
+
<field name="skill">speccrew-knowledge-techs-dispatch-xml</field>
|
|
27
|
+
<field name="instructions">Execute the techs knowledge base generation pipeline.</field>
|
|
28
|
+
</block>
|
|
29
|
+
```
|
|
30
|
+
|
|
11
31
|
## Quick Reference — Execution Flow
|
|
12
32
|
|
|
13
33
|
```
|
|
@@ -118,6 +138,10 @@ Read `speccrew-workspace/docs/configs/platform-mapping.json` for standardized pl
|
|
|
118
138
|
<field name="text">DO NOT ask for confirmation before generating output files</field>
|
|
119
139
|
<field name="text">DO NOT warn about "large number of files" or "this may take a while" — proceed with generation</field>
|
|
120
140
|
<field name="text">ONLY pause at explicit <event action="confirm"> blocks defined in the workflow</field>
|
|
141
|
+
<field name="text">DO NOT offer "continue/pause/partial" options — EVER</field>
|
|
142
|
+
<field name="text">DO NOT estimate workload and suggest breaking it into phases — execute ALL phases in sequence</field>
|
|
143
|
+
<field name="text">When many platforms need analysis, dispatch ALL of them — do NOT skip or defer any</field>
|
|
144
|
+
<field name="text">Context window management: if approaching limit, save progress to checkpoint file and resume — do NOT ask user for guidance</field>
|
|
121
145
|
</block>
|
|
122
146
|
|
|
123
147
|
<!-- ============================================================
|