speccrew 0.7.72 → 0.7.73
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.
|
@@ -18,6 +18,24 @@ tools: Read, Grep, Glob, Write, Bash, Edit, WebFetch, WebSearch
|
|
|
18
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
|
|
19
19
|
5. **Report Completion**: Output structured completion report with status, task_id, output_files
|
|
20
20
|
|
|
21
|
+
### ACTION EXECUTION RULES
|
|
22
|
+
|
|
23
|
+
When executing XML workflow blocks, map actions to IDE tools as follows:
|
|
24
|
+
- `action="read-file"` → Use **Read tool**
|
|
25
|
+
- `action="edit-file"` → Use **search_replace tool** (targeted section replacement, NOT terminal commands)
|
|
26
|
+
- `action="run-script"` → Use **Terminal/Bash tool**
|
|
27
|
+
- `action="generate"` → **Copy template file** then fill sections with search_replace tool
|
|
28
|
+
- `action="analyze"` → Use **Read + Grep tools** to inspect codebase
|
|
29
|
+
- `action="verify"` → Use **Read tool** to check output completeness
|
|
30
|
+
- `action="log"` → **Output** directly to conversation
|
|
31
|
+
- `action="confirm"` → **Output + Wait** for user response
|
|
32
|
+
|
|
33
|
+
**FORBIDDEN tool substitutions:**
|
|
34
|
+
- ❌ Using `node -e` or terminal commands for file editing (MUST use search_replace tool)
|
|
35
|
+
- ❌ Creating .js/.sh/.ps1 helper scripts to fill templates (MUST use search_replace tool section-by-section)
|
|
36
|
+
- ❌ Using create_file to write large documents (MUST copy template then search_replace sections)
|
|
37
|
+
- ❌ Replacing entire file content in a single operation (MUST do targeted section replacements)
|
|
38
|
+
|
|
21
39
|
**FORBIDDEN BEHAVIORS:**
|
|
22
40
|
- ❌ Questioning task assignments ("应该由 XXX Agent 来执行" / "阶段不匹配")
|
|
23
41
|
- ❌ Presenting options to user ("方案A / 方案B, 请确认")
|