speccrew 0.6.46 → 0.6.48
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.
- package/.speccrew/skills/speccrew-knowledge-bizs-api-graph-xml/SKILL.md +7 -7
- package/.speccrew/skills/speccrew-knowledge-bizs-dispatch-xml/SKILL.md +40 -183
- package/.speccrew/skills/speccrew-knowledge-bizs-identify-entries-xml/SKILL.md +6 -2
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze-xml/SKILL.md +13 -13
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-graph-xml/SKILL.md +5 -5
- package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract-xml/SKILL.md +9 -3
- package/.speccrew/skills/speccrew-knowledge-module-summarize-xml/SKILL.md +7 -7
- package/.speccrew/skills/speccrew-knowledge-system-summarize-xml/SKILL.md +8 -8
- package/.speccrew/skills/speccrew-knowledge-techs-dispatch-xml/SKILL.md +32 -110
- package/.speccrew/skills/speccrew-knowledge-techs-generate-quality-xml/SKILL.md +11 -11
- package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style-xml/SKILL.md +9 -9
- package/.speccrew/skills/speccrew-knowledge-techs-generate-xml/SKILL.md +4 -4
- package/.speccrew/skills/speccrew-knowledge-techs-index-xml/SKILL.md +2 -2
- package/package.json +1 -1
- package/workspace-template/docs/rules/xml-workflow-spec.md +13 -5
|
@@ -95,7 +95,7 @@ Worker Agent (speccrew-task-worker)
|
|
|
95
95
|
<block type="gateway" id="G0" mode="exclusive" desc="Check platform type eligibility">
|
|
96
96
|
<branch test="${platform_type} NOT IN ['web', 'mobile', 'desktop']" name="Skip non-frontend platform">
|
|
97
97
|
<block type="event" id="E0-Skip" action="log" level="warn" desc="Log skip reason">
|
|
98
|
-
Skipping UI style generation: {platform_type} is not a frontend platform
|
|
98
|
+
<field name="message">Skipping UI style generation: {platform_type} is not a frontend platform</field>
|
|
99
99
|
</block>
|
|
100
100
|
<block type="output" id="O-Skip" desc="Skip result">
|
|
101
101
|
<field name="status" value="skipped"/>
|
|
@@ -169,7 +169,7 @@ Skipping UI style generation: {platform_type} is not a frontend platform
|
|
|
169
169
|
</block>
|
|
170
170
|
|
|
171
171
|
<block type="event" id="E1a" action="log" level="info" desc="Record analysis level">
|
|
172
|
-
Primary path succeeded. ui_analysis_level = "full"
|
|
172
|
+
<field name="message">Primary path succeeded. ui_analysis_level = "full"</field>
|
|
173
173
|
</block>
|
|
174
174
|
|
|
175
175
|
<field name="ui_analysis_level" value="full"/>
|
|
@@ -259,7 +259,7 @@ Primary path succeeded. ui_analysis_level = "full"
|
|
|
259
259
|
</block>
|
|
260
260
|
|
|
261
261
|
<block type="event" id="E1b" action="log" level="info" desc="Record analysis level">
|
|
262
|
-
Secondary path completed. ui_analysis_level = "minimal"
|
|
262
|
+
<field name="message">Secondary path completed. ui_analysis_level = "minimal"</field>
|
|
263
263
|
</block>
|
|
264
264
|
|
|
265
265
|
<field name="ui_analysis_level" value="minimal"/>
|
|
@@ -286,7 +286,7 @@ Secondary path completed. ui_analysis_level = "minimal"
|
|
|
286
286
|
</block>
|
|
287
287
|
|
|
288
288
|
<block type="event" id="E1c" action="log" level="info" desc="Record analysis level">
|
|
289
|
-
Tertiary path completed. ui_analysis_level = "reference_only"
|
|
289
|
+
<field name="message">Tertiary path completed. ui_analysis_level = "reference_only"</field>
|
|
290
290
|
</block>
|
|
291
291
|
|
|
292
292
|
<field name="ui_analysis_level" value="reference_only"/>
|
|
@@ -313,7 +313,7 @@ Tertiary path completed. ui_analysis_level = "reference_only"
|
|
|
313
313
|
</block>
|
|
314
314
|
|
|
315
315
|
<block type="event" id="E2" action="log" level="info" desc="Output files written">
|
|
316
|
-
All UI style documents written to {output_path}/ui-style
|
|
316
|
+
<field name="message">All UI style documents written to {output_path}/ui-style/</field>
|
|
317
317
|
</block>
|
|
318
318
|
|
|
319
319
|
<block type="checkpoint" id="CP2" name="output_files_written" desc="Output files written">
|
|
@@ -382,7 +382,7 @@ All UI style documents written to {output_path}/ui-style/
|
|
|
382
382
|
</block>
|
|
383
383
|
|
|
384
384
|
<block type="event" id="E4" action="log" level="info" desc="Report completion">
|
|
385
|
-
Platform UI Style Documents Generated: {platform_id}
|
|
385
|
+
<field name="message">Platform UI Style Documents Generated: {platform_id}
|
|
386
386
|
- ui-style-guide.md: ✓ (analysis level: {ui_analysis_level})
|
|
387
387
|
- page-types/page-type-summary.md: ✓
|
|
388
388
|
- components/component-library.md: ✓
|
|
@@ -390,7 +390,7 @@ Platform UI Style Documents Generated: {platform_id}
|
|
|
390
390
|
- styles/color-system.md: ✓
|
|
391
391
|
- Output Directory: {output_path}/ui-style/
|
|
392
392
|
- Analysis Report: {completed_dir}/{platform_id}.analysis-ui-style.json
|
|
393
|
-
- Completion Marker: {completed_dir}/{platform_id}.done-ui-style.json
|
|
393
|
+
- Completion Marker: {completed_dir}/{platform_id}.done-ui-style.json</field>
|
|
394
394
|
</block>
|
|
395
395
|
|
|
396
396
|
<!-- ============================================================
|
|
@@ -424,12 +424,12 @@ Platform UI Style Documents Generated: {platform_id}
|
|
|
424
424
|
</try>
|
|
425
425
|
<catch on="skill_invocation_failed">
|
|
426
426
|
<block type="event" id="EH1-E1" action="log" level="warn" desc="Skill invocation failed">
|
|
427
|
-
UI analyzer skill invocation failed, falling back to secondary path
|
|
427
|
+
<field name="message">UI analyzer skill invocation failed, falling back to secondary path</field>
|
|
428
428
|
</block>
|
|
429
429
|
</catch>
|
|
430
430
|
<catch on="output_write_failed">
|
|
431
431
|
<block type="event" id="EH1-E2" action="log" level="error" desc="Output write failed">
|
|
432
|
-
Failed to write output files: {error.message}
|
|
432
|
+
<field name="message">Failed to write output files: {error.message}</field>
|
|
433
433
|
</block>
|
|
434
434
|
</catch>
|
|
435
435
|
</block>
|
|
@@ -140,7 +140,7 @@ Generate comprehensive technology documentation for a specific platform by analy
|
|
|
140
140
|
</branch>
|
|
141
141
|
<branch default="true" name="Backend platform">
|
|
142
142
|
<block type="event" id="S4-E1" action="log" level="info" desc="UI style analysis skipped">
|
|
143
|
-
UI style analysis skipped for backend platform
|
|
143
|
+
<field name="message">UI style analysis skipped for backend platform</field>
|
|
144
144
|
</block>
|
|
145
145
|
</branch>
|
|
146
146
|
</block>
|
|
@@ -181,7 +181,7 @@ UI style analysis skipped for backend platform
|
|
|
181
181
|
</branch>
|
|
182
182
|
<branch default="true" name="No data layer">
|
|
183
183
|
<block type="event" id="S5b-E1" action="log" level="info" desc="Data conventions skipped">
|
|
184
|
-
conventions-data.md skipped - not required for this platform
|
|
184
|
+
<field name="message">conventions-data.md skipped - not required for this platform</field>
|
|
185
185
|
</block>
|
|
186
186
|
</branch>
|
|
187
187
|
</block>
|
|
@@ -213,7 +213,7 @@ conventions-data.md skipped - not required for this platform
|
|
|
213
213
|
Step 8: Report Results
|
|
214
214
|
============================================================ -->
|
|
215
215
|
<block type="event" id="S8-E1" action="log" level="info" desc="Report generation results">
|
|
216
|
-
Platform Technology Documents Generated: ${platform_id}
|
|
216
|
+
<field name="message">Platform Technology Documents Generated: ${platform_id}
|
|
217
217
|
- INDEX.md: ✓
|
|
218
218
|
- tech-stack.md: ✓
|
|
219
219
|
- architecture.md: ✓
|
|
@@ -224,7 +224,7 @@ Platform Technology Documents Generated: ${platform_id}
|
|
|
224
224
|
- conventions-build.md: ✓
|
|
225
225
|
- conventions-data.md: ✓ (or skipped)
|
|
226
226
|
- ui-style-guide.md: ✓ (frontend only)
|
|
227
|
-
- Output Directory: ${output_path}
|
|
227
|
+
- Output Directory: ${output_path}</field>
|
|
228
228
|
</block>
|
|
229
229
|
|
|
230
230
|
<!-- ============================================================
|
|
@@ -185,12 +185,12 @@ Worker Agent (speccrew-task-worker)
|
|
|
185
185
|
Step 7: Report Results
|
|
186
186
|
============================================================ -->
|
|
187
187
|
<block type="event" id="S7-E1" action="log" level="info" desc="Report generation results">
|
|
188
|
-
Stage 3 completed: Root Technology Index Generated
|
|
188
|
+
<field name="message">Stage 3 completed: Root Technology Index Generated
|
|
189
189
|
- Platforms Indexed: ${platform_count}
|
|
190
190
|
- web-react: ✓
|
|
191
191
|
- backend-nestjs: ✓
|
|
192
192
|
- Root Index: ${output_path}/INDEX.md
|
|
193
|
-
- Agent Mappings: Documented for all platforms
|
|
193
|
+
- Agent Mappings: Documented for all platforms</field>
|
|
194
194
|
</block>
|
|
195
195
|
|
|
196
196
|
<!-- ============================================================
|
package/package.json
CHANGED
|
@@ -106,7 +106,9 @@ Conditional branching and guard checks.
|
|
|
106
106
|
<block type="task" action="run-skill" desc="Run full initialization">...</block>
|
|
107
107
|
</branch>
|
|
108
108
|
<branch default="true" name="Fallback">
|
|
109
|
-
<block type="event" action="log" level="error">
|
|
109
|
+
<block type="event" action="log" level="error">
|
|
110
|
+
<field name="message">Unknown state</field>
|
|
111
|
+
</block>
|
|
110
112
|
</branch>
|
|
111
113
|
</block>
|
|
112
114
|
```
|
|
@@ -164,7 +166,7 @@ Logging, confirmation, and signaling.
|
|
|
164
166
|
```xml
|
|
165
167
|
<!-- Log event -->
|
|
166
168
|
<block type="event" action="log" level="info" desc="Log progress">
|
|
167
|
-
Processing ${tasks.length} tasks
|
|
169
|
+
<field name="message">Processing ${tasks.length} tasks</field>
|
|
168
170
|
</block>
|
|
169
171
|
|
|
170
172
|
<!-- Confirm event (pauses for user input) -->
|
|
@@ -194,13 +196,19 @@ Try/catch/finally error handling.
|
|
|
194
196
|
</block>
|
|
195
197
|
</try>
|
|
196
198
|
<catch error-type="timeout">
|
|
197
|
-
<block type="event" action="log" level="error">
|
|
199
|
+
<block type="event" action="log" level="error">
|
|
200
|
+
<field name="message">Timeout: ${error.taskId}</field>
|
|
201
|
+
</block>
|
|
198
202
|
</catch>
|
|
199
203
|
<catch>
|
|
200
|
-
<block type="event" action="log" level="error">
|
|
204
|
+
<block type="event" action="log" level="error">
|
|
205
|
+
<field name="message">Unexpected: ${error.message}</field>
|
|
206
|
+
</block>
|
|
201
207
|
</catch>
|
|
202
208
|
<finally>
|
|
203
|
-
<block type="event" action="log" level="info">
|
|
209
|
+
<block type="event" action="log" level="info">
|
|
210
|
+
<field name="message">Batch completed</field>
|
|
211
|
+
</block>
|
|
204
212
|
</finally>
|
|
205
213
|
</block>
|
|
206
214
|
```
|