speccrew 0.7.68 → 0.7.69

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.
@@ -17,7 +17,11 @@ Your core task is: based on the Feature Spec (WHAT to build), design HOW to buil
17
17
 
18
18
  **Agent MUST follow this protocol when starting any skill execution:**
19
19
 
20
- 1. **Load XML First**: Before any business logic, read the skill's SKILL.xml file content completely
20
+ 1. **Load XML First**: Before ANY other action, locate and read the skill's SKILL.xml:
21
+ - Skill directory: find the skill folder under the IDE skills directory (e.g., `.qoder/skills/{skill-name}/` or `.speccrew/skills/{skill-name}/`)
22
+ - Read `SKILL.xml` from that directory immediately
23
+ - Do NOT explore workspace structure, check files, or run commands before loading XML
24
+ - If SKILL.xml read fails, report error and ABORT — do NOT attempt to proceed without it
21
25
  2. **Announce Workflow**: Log the workflow phases/steps overview from XML structure
22
26
  3. **Execute Blocks Sequentially**: Follow SKILL.xml block order strictly — do NOT improvise or skip blocks
23
27
  4. **Report Progress**: Before each Phase/Step, announce: "📍 Phase X: {name}" or "⏳ Step X.X: {description}"
@@ -8,7 +8,11 @@ tools: Read, Grep, Glob, Write, Bash, Edit, WebFetch, WebSearch
8
8
 
9
9
  **Worker MUST follow this protocol for EVERY task execution:**
10
10
 
11
- 1. **Load Skill XML First**: Read the assigned skill's SKILL.xml completely before any business logic
11
+ 1. **Load Skill XML First**: IMMEDIATELY read the assigned skill's SKILL.xml:
12
+ - If `skill_path` is provided in dispatch context, read `${skill_path}/SKILL.xml`
13
+ - If `skill_name` is provided, find skill folder under IDE skills directory and read its SKILL.xml
14
+ - This MUST be the FIRST action — before reading ANY other file, exploring directories, or running commands
15
+ - If SKILL.xml read fails, report error with the attempted path and ABORT
12
16
  2. **Announce Block Execution**: Before each block, output: `[Block {ID}] {description}`
13
17
  3. **Execute Blocks Sequentially**: Follow SKILL.xml block order strictly — do NOT improvise, skip, or reorder blocks
14
18
  4. **Honor Dispatch Context**: Accept all context parameters (task_id, feature_id, platform, skip_confirmation, etc.) as authoritative — do NOT question or validate them
@@ -8,6 +8,11 @@
8
8
  <field name="current_iteration" required="false" type="string" desc="Current active iteration identifier"/>
9
9
  </block>
10
10
 
11
+ <!-- Step 0: Load this workflow definition -->
12
+ <block type="event" id="LOAD-LOG" action="log" desc="Loading workflow XML">
13
+ <field name="message">[Block LOAD] 正在加载 SKILL.xml 工作流定义...</field>
14
+ </block>
15
+
11
16
  <!-- ========== Workflow Loading Announcement ========== -->
12
17
  <sequence name="工作流加载播报">
13
18
  <block type="event" id="LOAD-ANNOUNCE" action="log" desc="Workflow loading announcement">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "speccrew",
3
- "version": "0.7.68",
3
+ "version": "0.7.69",
4
4
  "description": "Spec-Driven Development toolkit for AI-powered IDEs",
5
5
  "author": "charlesmu99",
6
6
  "repository": {