speccrew 0.7.56 → 0.7.57
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.
|
@@ -31,8 +31,8 @@ Phase 2: Resource Verification
|
|
|
31
31
|
Phase 3: Framework Evaluation (HARD STOP)
|
|
32
32
|
└── Dispatch speccrew-sd-framework-evaluate skill → User confirms
|
|
33
33
|
↓
|
|
34
|
-
Phase 4: Generate DESIGN-OVERVIEW.md (WORKER-DISPATCH)
|
|
35
|
-
└── Dispatch speccrew-sd-design-overview-generate skill → Wait for worker → Validate
|
|
34
|
+
Phase 4: Generate DESIGN-OVERVIEW.md (WORKER-DISPATCH + HARD STOP)
|
|
35
|
+
└── Dispatch speccrew-sd-design-overview-generate skill → Wait for worker → Validate → User confirms
|
|
36
36
|
↓
|
|
37
37
|
Phase 5: Dispatch Per-Platform Skills
|
|
38
38
|
├── Single Feature + Single Platform → Direct skill invocation
|
|
@@ -126,7 +126,7 @@ This agent MUST execute tasks continuously without unnecessary interruptions.
|
|
|
126
126
|
| Phase 2 | KNOWLEDGE-FIRST | MUST load ALL techs knowledge before Phase 3. DO NOT assume technology stack |
|
|
127
127
|
| Phase 3 | WORKER-DISPATCH | Framework evaluation MUST be dispatched to speccrew-task-worker via **Agent tool**. Agent MUST NOT invoke speccrew-sd-framework-evaluate via Skill tool. |
|
|
128
128
|
| Phase 3 | HARD STOP | User must confirm framework decisions before proceeding to Phase 4 |
|
|
129
|
-
| Phase 4 | WORKER-DISPATCH | DESIGN-OVERVIEW.md generation MUST be dispatched to speccrew-task-worker via **Agent tool**.
|
|
129
|
+
| Phase 4 | WORKER-DISPATCH + HARD STOP | DESIGN-OVERVIEW.md generation MUST be dispatched to speccrew-task-worker via **Agent tool**. After worker completes, present summary to user and WAIT for confirmation before Phase 5. |
|
|
130
130
|
| Phase 5 | SKILL-ONLY | Platform design workers MUST use platform-specific design skills. Agent MUST NOT write design documents itself |
|
|
131
131
|
| Phase 6 | HARD STOP | User must confirm all designs before finalizing |
|
|
132
132
|
| ALL | ABORT ON FAILURE | If any skill invocation fails → STOP and report. Do NOT generate content manually as fallback |
|
|
@@ -544,6 +544,20 @@ Proceed to Phase 4? (Confirm/Cancel)
|
|
|
544
544
|
> - ❌ DO NOT generate DESIGN-OVERVIEW.md yourself
|
|
545
545
|
> - ❌ DO NOT use Skill tool to invoke speccrew-sd-design-overview-generate
|
|
546
546
|
|
|
547
|
+
> ⚠️ **HARD STOP — Phase 4.5: DESIGN-OVERVIEW.md Confirmation**
|
|
548
|
+
> After worker completes and DESIGN-OVERVIEW.md passes validation:
|
|
549
|
+
> 1. Present summary to user: feature count, platform count, matrix entries, key design decisions
|
|
550
|
+
> 2. **STOP** — Wait for user explicit confirmation
|
|
551
|
+
> 3. User responses:
|
|
552
|
+
> - "确认" or "OK" → Update checkpoint, proceed to Phase 5
|
|
553
|
+
> - "修改" + specific changes → Re-dispatch worker with adjustments
|
|
554
|
+
> - "取消" → Abort workflow
|
|
555
|
+
> **FORBIDDEN during HARD STOP**:
|
|
556
|
+
> - ❌ DO NOT update checkpoint until user confirms
|
|
557
|
+
> - ❌ DO NOT suggest next steps
|
|
558
|
+
> - ❌ DO NOT proceed to Phase 5
|
|
559
|
+
> - ❌ DO NOT auto-approve even if all validations pass
|
|
560
|
+
|
|
547
561
|
Create the top-level overview at:
|
|
548
562
|
`{iterations_dir}/{current}/03.system-design/DESIGN-OVERVIEW.md`
|
|
549
563
|
|
|
@@ -114,13 +114,16 @@ This skill MUST execute tasks continuously without unnecessary interruptions.
|
|
|
114
114
|
4. **Wait** for the worker agent to complete and return results
|
|
115
115
|
5. After worker completes, verify DESIGN-OVERVIEW.md exists at output_path
|
|
116
116
|
6. Then proceed to Phase 4 checkpoint validation (P4-CP1)
|
|
117
|
+
7. Present DESIGN-OVERVIEW.md summary to user (feature count, platform count, matrix entries)
|
|
118
|
+
8. **⚠️ HARD STOP** — Wait for user explicit confirmation before proceeding to Phase 5
|
|
117
119
|
|
|
118
120
|
**CRITICAL**: The `Agent tool` creates a NEW agent session — this is completely different from the `Skill tool` which executes inline.
|
|
119
121
|
|
|
120
122
|
### HARD STOP Checkpoints
|
|
121
123
|
|
|
122
124
|
This workflow has **mandatory HARD STOP** checkpoints at:
|
|
123
|
-
- **Phase 3.5**: Framework evaluation confirmation (user MUST approve)
|
|
125
|
+
- **Phase 3.5**: Framework evaluation confirmation (user MUST approve framework decisions)
|
|
126
|
+
- **Phase 4.5**: Design overview confirmation (user MUST approve DESIGN-OVERVIEW.md before Phase 5 dispatch)
|
|
124
127
|
- **Phase 6.1**: Joint design confirmation (user MUST approve all designs)
|
|
125
128
|
|
|
126
129
|
DO NOT proceed past these checkpoints without explicit user confirmation.
|
|
@@ -285,6 +285,15 @@
|
|
|
285
285
|
<block type="checkpoint" id="P4-CP1" name="design_overview" desc="DESIGN-OVERVIEW validation">
|
|
286
286
|
<field name="conditions">file_exists, has_design_scope_section, has_tech_decisions_section, has_platform_design_index, index_covers_all_feature_platform_combinations</field>
|
|
287
287
|
</block>
|
|
288
|
+
|
|
289
|
+
<!-- Phase 4.5: HARD STOP — User must confirm DESIGN-OVERVIEW.md -->
|
|
290
|
+
<block type="rule" id="P4-HS1" level="mandatory" desc="HARD STOP — DESIGN-OVERVIEW.md confirmation required">
|
|
291
|
+
<field name="text">⚠️ HARD STOP — WAIT FOR USER CONFIRMATION</field>
|
|
292
|
+
<field name="text">Present DESIGN-OVERVIEW.md summary to user (feature count, platform count, matrix entries, key sections)</field>
|
|
293
|
+
<field name="text">User responses: "确认"/"OK" → proceed to Phase 5 | "修改" + changes → re-dispatch worker | "取消" → abort</field>
|
|
294
|
+
<field name="text">FORBIDDEN: Do NOT update checkpoint, suggest next steps, or proceed to Phase 5 until user explicitly confirms</field>
|
|
295
|
+
<field name="text">FORBIDDEN: Do NOT auto-approve even if validation passes — user review is mandatory</field>
|
|
296
|
+
</block>
|
|
288
297
|
</sequence>
|
|
289
298
|
|
|
290
299
|
<!-- ========== Phase 5: Dispatch Per-Platform Skills ========== -->
|