speccrew 0.1.11 → 0.2.0
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/agents/speccrew-feature-designer.md +120 -0
- package/.speccrew/agents/speccrew-product-manager.md +54 -0
- package/.speccrew/agents/speccrew-system-designer.md +163 -25
- package/.speccrew/agents/speccrew-system-developer.md +357 -52
- package/.speccrew/agents/speccrew-task-worker.md +43 -0
- package/.speccrew/agents/speccrew-team-leader.md +108 -11
- package/.speccrew/agents/speccrew-test-manager.md +285 -9
- package/.speccrew/skills/speccrew-dev-backend/SKILL.md +47 -1
- package/.speccrew/skills/speccrew-dev-desktop/SKILL.md +51 -6
- package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +49 -3
- package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +50 -5
- package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +70 -0
- package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +158 -0
- package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +65 -0
- package/.speccrew/skills/speccrew-sd-backend/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-desktop/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-frontend/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-sd-mobile/SKILL.md +38 -0
- package/.speccrew/skills/speccrew-test-case-design/SKILL.md +33 -0
- package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +34 -0
- package/.speccrew/skills/speccrew-test-execute/SKILL.md +34 -0
- package/README.ar.md +70 -3
- package/README.bn.md +52 -0
- package/README.bs.md +70 -3
- package/README.da.md +70 -3
- package/README.de.md +70 -3
- package/README.el.md +52 -0
- package/README.en.md +69 -2
- package/README.es.md +70 -3
- package/README.fr.md +70 -3
- package/README.it.md +70 -3
- package/README.ja.md +70 -3
- package/README.ko.md +70 -3
- package/README.md +69 -2
- package/README.no.md +70 -3
- package/README.pl.md +70 -3
- package/README.pt-BR.md +70 -3
- package/README.ru.md +70 -3
- package/README.th.md +69 -2
- package/README.tr.md +69 -2
- package/README.uk.md +69 -2
- package/README.vi.md +52 -0
- package/README.zh-TW.md +70 -3
- package/docs/GETTING-STARTED.ar.md +78 -4
- package/docs/GETTING-STARTED.bn.md +78 -4
- package/docs/GETTING-STARTED.bs.md +78 -4
- package/docs/GETTING-STARTED.da.md +78 -4
- package/docs/GETTING-STARTED.de.md +78 -4
- package/docs/GETTING-STARTED.el.md +78 -4
- package/docs/GETTING-STARTED.en.md +78 -4
- package/docs/GETTING-STARTED.es.md +78 -4
- package/docs/GETTING-STARTED.fr.md +78 -4
- package/docs/GETTING-STARTED.it.md +78 -4
- package/docs/GETTING-STARTED.ja.md +79 -5
- package/docs/GETTING-STARTED.ko.md +79 -5
- package/docs/GETTING-STARTED.md +78 -4
- package/docs/GETTING-STARTED.no.md +78 -4
- package/docs/GETTING-STARTED.pl.md +78 -4
- package/docs/GETTING-STARTED.pt-BR.md +78 -4
- package/docs/GETTING-STARTED.ru.md +78 -4
- package/docs/GETTING-STARTED.th.md +79 -5
- package/docs/GETTING-STARTED.tr.md +78 -4
- package/docs/GETTING-STARTED.uk.md +78 -4
- package/docs/GETTING-STARTED.vi.md +79 -5
- package/docs/GETTING-STARTED.zh-TW.md +79 -5
- package/package.json +1 -1
- package/.speccrew/skills/speccrew-create-agents/SKILL.md +0 -98
- package/.speccrew/skills/speccrew-create-agents/templates/agents/designer-agent.md +0 -54
- package/.speccrew/skills/speccrew-create-agents/templates/agents/dev-agent.md +0 -79
- package/.speccrew/skills/speccrew-create-agents/templates/agents/test-agent.md +0 -80
- package/.speccrew/skills/speccrew-project-diagnosis/SKILL.md +0 -233
- package/.speccrew/skills/speccrew-project-diagnosis/templates/DIAGNOSIS-REPORT-TEMPLATE.md +0 -202
- package/.speccrew/skills/speccrew-workflow-diagnose/SKILL.md +0 -155
- package/workspace-template/docs/solutions/Agent/346/212/200/350/203/275/345/256/232/344/271/211+/351/234/200/346/261/202/346/226/207/346/241/243+UML/344/275/277/347/224/250/346/250/241/346/235/277/357/274/210ISA-95/345/205/255/346/256/265/345/274/217/350/236/215/345/220/210/347/211/210/357/274/211.md +0 -586
- package/workspace-template/docs/solutions/harness.md +0 -410
|
@@ -99,6 +99,76 @@ Please confirm the following key points:
|
|
|
99
99
|
After confirmation, you can start frontend and backend Designer Agents separately.
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
+
## Step 6: Update Progress Files
|
|
103
|
+
|
|
104
|
+
After user confirms Joint Confirmation:
|
|
105
|
+
|
|
106
|
+
### 6.1 Update Checkpoints File
|
|
107
|
+
|
|
108
|
+
Write/Update `.checkpoints.json`:
|
|
109
|
+
|
|
110
|
+
- Path: `speccrew-workspace/iterations/{iteration-id}/02.feature-design/.checkpoints.json`
|
|
111
|
+
- Content:
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"stage": "02_feature_design",
|
|
115
|
+
"checkpoints": {
|
|
116
|
+
"function_decomposition": {
|
|
117
|
+
"passed": true,
|
|
118
|
+
"confirmed_at": "..."
|
|
119
|
+
},
|
|
120
|
+
"feature_spec_review": {
|
|
121
|
+
"passed": true,
|
|
122
|
+
"confirmed_at": "..."
|
|
123
|
+
},
|
|
124
|
+
"api_contract_joint": {
|
|
125
|
+
"passed": true,
|
|
126
|
+
"confirmed_at": "{current_timestamp}",
|
|
127
|
+
"description": "API contract joint confirmation passed"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
- Preserve existing checkpoint statuses when updating
|
|
134
|
+
- Log: "✅ Checkpoint (api_contract_joint) passed and recorded"
|
|
135
|
+
|
|
136
|
+
### 6.2 Update Workflow Progress
|
|
137
|
+
|
|
138
|
+
Update `WORKFLOW-PROGRESS.json` to finalize the stage:
|
|
139
|
+
|
|
140
|
+
- Path: `speccrew-workspace/iterations/{iteration-id}/WORKFLOW-PROGRESS.json`
|
|
141
|
+
- Update:
|
|
142
|
+
```json
|
|
143
|
+
{
|
|
144
|
+
"current_stage": "03_system_design",
|
|
145
|
+
"stages": {
|
|
146
|
+
"02_feature_design": {
|
|
147
|
+
"status": "confirmed",
|
|
148
|
+
"completed_at": "{current_timestamp}",
|
|
149
|
+
"confirmed_at": "{current_timestamp}",
|
|
150
|
+
"outputs": [
|
|
151
|
+
"02.feature-design/[feature-name]-feature-spec.md",
|
|
152
|
+
"02.feature-design/[feature-name]-api-contract.md"
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
- Set `02_feature_design.status` to `confirmed`
|
|
160
|
+
- Set `current_stage` to `03_system_design`
|
|
161
|
+
- Record all output file paths
|
|
162
|
+
- Log: "✅ Stage 02_feature_design confirmed. Ready for System Design phase."
|
|
163
|
+
|
|
164
|
+
### 6.3 Backward Compatibility
|
|
165
|
+
|
|
166
|
+
If `WORKFLOW-PROGRESS.json` does not exist:
|
|
167
|
+
- Log: "⚠️ No workflow progress file found. Skipping workflow update."
|
|
168
|
+
- Still update `.checkpoints.json` if the directory exists
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
102
172
|
# Checklist
|
|
103
173
|
|
|
104
174
|
- [ ] All APIs mentioned in feature spec have defined contracts
|
|
@@ -98,6 +98,38 @@ For each function, identify:
|
|
|
98
98
|
|
|
99
99
|
Ask: "Here is the function breakdown with [EXISTING]/[MODIFIED]/[NEW] markers. Does this align with your understanding of the requirements?"
|
|
100
100
|
|
|
101
|
+
### Checkpoint A Progress Update
|
|
102
|
+
|
|
103
|
+
After user confirms the function breakdown:
|
|
104
|
+
|
|
105
|
+
1. **Write/Update `.checkpoints.json`**:
|
|
106
|
+
- Path: `speccrew-workspace/iterations/{iteration-id}/02.feature-design/.checkpoints.json`
|
|
107
|
+
- Content:
|
|
108
|
+
```json
|
|
109
|
+
{
|
|
110
|
+
"stage": "02_feature_design",
|
|
111
|
+
"checkpoints": {
|
|
112
|
+
"function_decomposition": {
|
|
113
|
+
"passed": true,
|
|
114
|
+
"confirmed_at": "{current_timestamp}",
|
|
115
|
+
"description": "Function decomposition confirmed"
|
|
116
|
+
},
|
|
117
|
+
"feature_spec_review": {
|
|
118
|
+
"passed": false,
|
|
119
|
+
"confirmed_at": null
|
|
120
|
+
},
|
|
121
|
+
"api_contract_joint": {
|
|
122
|
+
"passed": false,
|
|
123
|
+
"confirmed_at": null
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
2. If the file already exists, merge with existing content (preserve other checkpoints)
|
|
130
|
+
|
|
131
|
+
3. Log: "✅ Checkpoint A (function_decomposition) passed and recorded"
|
|
132
|
+
|
|
101
133
|
## Step 4: Determine Output Structure
|
|
102
134
|
|
|
103
135
|
Based on PRD structure, determine feature spec output structure:
|
|
@@ -398,6 +430,38 @@ Data Entities: {count} new, {count} modified
|
|
|
398
430
|
4. Are all business rules and constraints captured?
|
|
399
431
|
5. **[Master-Sub]** Is the module breakdown appropriate?
|
|
400
432
|
|
|
433
|
+
### Checkpoint B Progress Update
|
|
434
|
+
|
|
435
|
+
After user confirms the complete feature spec:
|
|
436
|
+
|
|
437
|
+
1. **Update `.checkpoints.json`**:
|
|
438
|
+
- Path: `speccrew-workspace/iterations/{iteration-id}/02.feature-design/.checkpoints.json`
|
|
439
|
+
- Update content:
|
|
440
|
+
```json
|
|
441
|
+
{
|
|
442
|
+
"stage": "02_feature_design",
|
|
443
|
+
"checkpoints": {
|
|
444
|
+
"function_decomposition": {
|
|
445
|
+
"passed": true,
|
|
446
|
+
"confirmed_at": "..."
|
|
447
|
+
},
|
|
448
|
+
"feature_spec_review": {
|
|
449
|
+
"passed": true,
|
|
450
|
+
"confirmed_at": "{current_timestamp}",
|
|
451
|
+
"description": "Feature specification confirmed"
|
|
452
|
+
},
|
|
453
|
+
"api_contract_joint": {
|
|
454
|
+
"passed": false,
|
|
455
|
+
"confirmed_at": null
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
2. Preserve `function_decomposition` checkpoint status when updating
|
|
462
|
+
|
|
463
|
+
3. Log: "✅ Checkpoint B (feature_spec_review) passed and recorded"
|
|
464
|
+
|
|
401
465
|
## Step 10: Write Files
|
|
402
466
|
|
|
403
467
|
### 10.1 Determine Output Paths
|
|
@@ -473,6 +537,100 @@ Key requirements:
|
|
|
473
537
|
|
|
474
538
|
After feature spec documents are complete, call `speccrew-fd-api-contract/SKILL.md` to generate API contract document.
|
|
475
539
|
|
|
540
|
+
### 10.5 Multi-Platform Dispatch Progress Management
|
|
541
|
+
|
|
542
|
+
**For multi-platform feature design (multiple frontend platforms):**
|
|
543
|
+
|
|
544
|
+
#### 10.5.1 Pre-Dispatch: Check Resume State
|
|
545
|
+
|
|
546
|
+
Before dispatching to multiple platforms:
|
|
547
|
+
|
|
548
|
+
1. **Read existing `DISPATCH-PROGRESS.json`**:
|
|
549
|
+
- Path: `speccrew-workspace/iterations/{iteration-id}/02.feature-design/DISPATCH-PROGRESS.json`
|
|
550
|
+
- If exists, analyze task status:
|
|
551
|
+
```json
|
|
552
|
+
{
|
|
553
|
+
"stage": "02_feature_design",
|
|
554
|
+
"total": 3,
|
|
555
|
+
"completed": 2,
|
|
556
|
+
"failed": 0,
|
|
557
|
+
"pending": 1,
|
|
558
|
+
"tasks": [
|
|
559
|
+
{
|
|
560
|
+
"id": "fd-web-vue",
|
|
561
|
+
"platform": "web-vue",
|
|
562
|
+
"skill": "speccrew-fd-feature-design",
|
|
563
|
+
"status": "completed",
|
|
564
|
+
"started_at": "...",
|
|
565
|
+
"completed_at": "...",
|
|
566
|
+
"output": "02.feature-design/[feature]-web-vue-feature-spec.md",
|
|
567
|
+
"error": null
|
|
568
|
+
}
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
2. **Resume Strategy**:
|
|
574
|
+
- Skip tasks with `status == "completed"`
|
|
575
|
+
- Re-execute tasks with `status == "failed"`
|
|
576
|
+
- Execute tasks with `status == "pending"`
|
|
577
|
+
|
|
578
|
+
#### 10.5.2 Initialize/Update Dispatch Progress
|
|
579
|
+
|
|
580
|
+
Create or update `DISPATCH-PROGRESS.json` before starting dispatch:
|
|
581
|
+
|
|
582
|
+
```json
|
|
583
|
+
{
|
|
584
|
+
"stage": "02_feature_design",
|
|
585
|
+
"total": {count},
|
|
586
|
+
"completed": 0,
|
|
587
|
+
"failed": 0,
|
|
588
|
+
"pending": {count},
|
|
589
|
+
"tasks": [
|
|
590
|
+
{
|
|
591
|
+
"id": "fd-{platform}",
|
|
592
|
+
"platform": "{platform}",
|
|
593
|
+
"skill": "speccrew-fd-feature-design",
|
|
594
|
+
"status": "pending",
|
|
595
|
+
"started_at": null,
|
|
596
|
+
"completed_at": null,
|
|
597
|
+
"output": null,
|
|
598
|
+
"error": null
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
#### 10.5.3 Update Task Status on Completion
|
|
605
|
+
|
|
606
|
+
After each worker completes:
|
|
607
|
+
|
|
608
|
+
1. **Read current `DISPATCH-PROGRESS.json`**
|
|
609
|
+
|
|
610
|
+
2. **Update the corresponding task entry**:
|
|
611
|
+
- On success:
|
|
612
|
+
```json
|
|
613
|
+
{
|
|
614
|
+
"status": "completed",
|
|
615
|
+
"completed_at": "{timestamp}",
|
|
616
|
+
"output": "{output_file_path}"
|
|
617
|
+
}
|
|
618
|
+
```
|
|
619
|
+
- On failure:
|
|
620
|
+
```json
|
|
621
|
+
{
|
|
622
|
+
"status": "failed",
|
|
623
|
+
"completed_at": "{timestamp}",
|
|
624
|
+
"error": "{error_message}"
|
|
625
|
+
}
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
3. **Update summary counters** (`completed`, `failed`, `pending`)
|
|
629
|
+
|
|
630
|
+
4. **Write updated `DISPATCH-PROGRESS.json`**
|
|
631
|
+
|
|
632
|
+
5. Log progress: "📊 Dispatch progress: {completed}/{total} completed, {failed} failed, {pending} pending"
|
|
633
|
+
|
|
476
634
|
# Key Rules
|
|
477
635
|
|
|
478
636
|
| Rule | Description |
|
|
@@ -442,6 +442,69 @@ Please confirm the following key points:
|
|
|
442
442
|
|
|
443
443
|
After confirmation, you can start the Solution Agent for solution planning.
|
|
444
444
|
|
|
445
|
+
## Step 13: Write Progress Files
|
|
446
|
+
|
|
447
|
+
After user confirms the PRD, write progress tracking files:
|
|
448
|
+
|
|
449
|
+
### 13a Write Checkpoint File
|
|
450
|
+
|
|
451
|
+
Write or update the checkpoint file at:
|
|
452
|
+
```
|
|
453
|
+
speccrew-workspace/iterations/{iteration}/01.product-requirement/.checkpoints.json
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
Content:
|
|
457
|
+
```json
|
|
458
|
+
{
|
|
459
|
+
"stage": "01_prd",
|
|
460
|
+
"checkpoints": {
|
|
461
|
+
"prd_review": {
|
|
462
|
+
"passed": true,
|
|
463
|
+
"confirmed_at": "<current-ISO-timestamp>",
|
|
464
|
+
"description": "PRD review and confirmation"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
### 13b Update Workflow Progress
|
|
471
|
+
|
|
472
|
+
Read and update the WORKFLOW-PROGRESS.json file:
|
|
473
|
+
|
|
474
|
+
1. **Read**: `speccrew-workspace/iterations/{iteration}/WORKFLOW-PROGRESS.json`
|
|
475
|
+
2. **Update the following fields**:
|
|
476
|
+
- `current_stage` = "02_feature_design"
|
|
477
|
+
- `01_prd.status` = "confirmed"
|
|
478
|
+
- `01_prd.completed_at` = `<current-ISO-timestamp>`
|
|
479
|
+
- `01_prd.confirmed_at` = `<current-ISO-timestamp>`
|
|
480
|
+
- `01_prd.outputs` = `["01.product-requirement/{feature-name}-prd.md"]`
|
|
481
|
+
|
|
482
|
+
**Example updated stage entry**:
|
|
483
|
+
```json
|
|
484
|
+
{
|
|
485
|
+
"01_prd": {
|
|
486
|
+
"status": "confirmed",
|
|
487
|
+
"started_at": "2026-04-08T10:00:00Z",
|
|
488
|
+
"completed_at": "2026-04-08T11:30:00Z",
|
|
489
|
+
"confirmed_at": "2026-04-08T11:35:00Z",
|
|
490
|
+
"outputs": [
|
|
491
|
+
"01.product-requirement/user-management-prd.md"
|
|
492
|
+
]
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
### 13c Handle Missing Progress File
|
|
498
|
+
|
|
499
|
+
If WORKFLOW-PROGRESS.json does not exist (backward compatibility):
|
|
500
|
+
- Create the file with initial structure
|
|
501
|
+
- Set `01_prd` to confirmed state directly
|
|
502
|
+
- Other stages remain as `pending`
|
|
503
|
+
|
|
504
|
+
**Status Flow**: `pending` → `in_progress` → `completed` → `confirmed`
|
|
505
|
+
|
|
506
|
+
---
|
|
507
|
+
|
|
445
508
|
# Knowledge Loading Strategy
|
|
446
509
|
|
|
447
510
|
1. **First**: Read `system-overview.md` for system context
|
|
@@ -473,3 +536,5 @@ After confirmation, you can start the Solution Agent for solution planning.
|
|
|
473
536
|
- [ ] **[If modifying existing features]** All changes marked with [EXISTING]/[MODIFIED]/[NEW]
|
|
474
537
|
- [ ] Files written to correct paths
|
|
475
538
|
- [ ] Summary shown to user and confirmation requested
|
|
539
|
+
- [ ] **[After confirmation]** Checkpoint file written to `01.product-requirement/.checkpoints.json`
|
|
540
|
+
- [ ] **[After confirmation]** WORKFLOW-PROGRESS.json updated with confirmed status and outputs
|
|
@@ -191,6 +191,44 @@ Files Generated:
|
|
|
191
191
|
- {list all file paths}
|
|
192
192
|
```
|
|
193
193
|
|
|
194
|
+
## Step 7: Task Completion Report
|
|
195
|
+
|
|
196
|
+
After completing all steps, output a structured completion report for the System Designer Agent to parse and update DISPATCH-PROGRESS.json:
|
|
197
|
+
|
|
198
|
+
### On Success
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
## Task Completion Report
|
|
202
|
+
- **Status**: SUCCESS
|
|
203
|
+
- **Task ID**: {task_id from context}
|
|
204
|
+
- **Platform**: {platform_id}
|
|
205
|
+
- **Feature**: {feature_name}
|
|
206
|
+
- **Output Files**:
|
|
207
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/INDEX.md
|
|
208
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module1}-design.md
|
|
209
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module2}-design.md
|
|
210
|
+
- **Summary**: Backend system design completed for {feature_name} on {platform_id} with {count} module designs
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### On Failure
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
## Task Completion Report
|
|
217
|
+
- **Status**: FAILED
|
|
218
|
+
- **Task ID**: {task_id from context}
|
|
219
|
+
- **Platform**: {platform_id}
|
|
220
|
+
- **Feature**: {feature_name}
|
|
221
|
+
- **Output Files**: []
|
|
222
|
+
- **Error**: {description of what went wrong}
|
|
223
|
+
- **Error Category**: DEPENDENCY_MISSING | VALIDATION_ERROR | BLOCKED
|
|
224
|
+
- **Recovery Hint**: {suggestion for how to resolve or retry}
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
**Error Categories:**
|
|
228
|
+
- `DEPENDENCY_MISSING`: Required input file or knowledge document not found
|
|
229
|
+
- `VALIDATION_ERROR`: Input validation failed (e.g., invalid Feature Spec format)
|
|
230
|
+
- `BLOCKED`: Blocked by external dependency or prerequisite not met
|
|
231
|
+
|
|
194
232
|
# Key Rules
|
|
195
233
|
|
|
196
234
|
| Rule | Description |
|
|
@@ -208,6 +208,44 @@ Concerns/Trade-offs:
|
|
|
208
208
|
4. Are all API calls from API Contract covered?
|
|
209
209
|
5. Is the native integration approach suitable?
|
|
210
210
|
|
|
211
|
+
## Step 7: Task Completion Report
|
|
212
|
+
|
|
213
|
+
After completing all steps, output a structured completion report for the System Designer Agent to parse and update DISPATCH-PROGRESS.json:
|
|
214
|
+
|
|
215
|
+
### On Success
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
## Task Completion Report
|
|
219
|
+
- **Status**: SUCCESS
|
|
220
|
+
- **Task ID**: {task_id from context}
|
|
221
|
+
- **Platform**: {platform_id}
|
|
222
|
+
- **Feature**: {feature_name}
|
|
223
|
+
- **Output Files**:
|
|
224
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/INDEX.md
|
|
225
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module1}-design.md
|
|
226
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module2}-design.md
|
|
227
|
+
- **Summary**: Desktop system design completed for {feature_name} on {platform_id} with {count} module designs
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### On Failure
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
## Task Completion Report
|
|
234
|
+
- **Status**: FAILED
|
|
235
|
+
- **Task ID**: {task_id from context}
|
|
236
|
+
- **Platform**: {platform_id}
|
|
237
|
+
- **Feature**: {feature_name}
|
|
238
|
+
- **Output Files**: []
|
|
239
|
+
- **Error**: {description of what went wrong}
|
|
240
|
+
- **Error Category**: DEPENDENCY_MISSING | VALIDATION_ERROR | BLOCKED
|
|
241
|
+
- **Recovery Hint**: {suggestion for how to resolve or retry}
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
**Error Categories:**
|
|
245
|
+
- `DEPENDENCY_MISSING`: Required input file or knowledge document not found
|
|
246
|
+
- `VALIDATION_ERROR`: Input validation failed (e.g., invalid Feature Spec format)
|
|
247
|
+
- `BLOCKED`: Blocked by external dependency or prerequisite not met
|
|
248
|
+
|
|
211
249
|
# Key Rules
|
|
212
250
|
|
|
213
251
|
| Rule | Description |
|
|
@@ -196,6 +196,44 @@ Concerns/Trade-offs:
|
|
|
196
196
|
3. Do the pseudo-code patterns match project conventions?
|
|
197
197
|
4. Are all API calls from API Contract covered?
|
|
198
198
|
|
|
199
|
+
## Step 7: Task Completion Report
|
|
200
|
+
|
|
201
|
+
After completing all steps, output a structured completion report for the System Designer Agent to parse and update DISPATCH-PROGRESS.json:
|
|
202
|
+
|
|
203
|
+
### On Success
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
## Task Completion Report
|
|
207
|
+
- **Status**: SUCCESS
|
|
208
|
+
- **Task ID**: {task_id from context}
|
|
209
|
+
- **Platform**: {platform_id}
|
|
210
|
+
- **Feature**: {feature_name}
|
|
211
|
+
- **Output Files**:
|
|
212
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/INDEX.md
|
|
213
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module1}-design.md
|
|
214
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module2}-design.md
|
|
215
|
+
- **Summary**: Frontend system design completed for {feature_name} on {platform_id} with {count} module designs
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### On Failure
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
## Task Completion Report
|
|
222
|
+
- **Status**: FAILED
|
|
223
|
+
- **Task ID**: {task_id from context}
|
|
224
|
+
- **Platform**: {platform_id}
|
|
225
|
+
- **Feature**: {feature_name}
|
|
226
|
+
- **Output Files**: []
|
|
227
|
+
- **Error**: {description of what went wrong}
|
|
228
|
+
- **Error Category**: DEPENDENCY_MISSING | VALIDATION_ERROR | BLOCKED
|
|
229
|
+
- **Recovery Hint**: {suggestion for how to resolve or retry}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Error Categories:**
|
|
233
|
+
- `DEPENDENCY_MISSING`: Required input file or knowledge document not found
|
|
234
|
+
- `VALIDATION_ERROR`: Input validation failed (e.g., invalid Feature Spec format)
|
|
235
|
+
- `BLOCKED`: Blocked by external dependency or prerequisite not met
|
|
236
|
+
|
|
199
237
|
# Key Rules
|
|
200
238
|
|
|
201
239
|
| Rule | Description |
|
|
@@ -204,6 +204,44 @@ Concerns/Trade-offs:
|
|
|
204
204
|
4. Are all API calls from API Contract covered?
|
|
205
205
|
5. Are platform-specific features (permissions, native integration) properly handled?
|
|
206
206
|
|
|
207
|
+
## Step 7: Task Completion Report
|
|
208
|
+
|
|
209
|
+
After completing all steps, output a structured completion report for the System Designer Agent to parse and update DISPATCH-PROGRESS.json:
|
|
210
|
+
|
|
211
|
+
### On Success
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
## Task Completion Report
|
|
215
|
+
- **Status**: SUCCESS
|
|
216
|
+
- **Task ID**: {task_id from context}
|
|
217
|
+
- **Platform**: {platform_id}
|
|
218
|
+
- **Feature**: {feature_name}
|
|
219
|
+
- **Output Files**:
|
|
220
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/INDEX.md
|
|
221
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module1}-design.md
|
|
222
|
+
- speccrew-workspace/iterations/{iter}/03.system-design/{platform_id}/{module2}-design.md
|
|
223
|
+
- **Summary**: Mobile system design completed for {feature_name} on {platform_id} with {count} module designs
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### On Failure
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
## Task Completion Report
|
|
230
|
+
- **Status**: FAILED
|
|
231
|
+
- **Task ID**: {task_id from context}
|
|
232
|
+
- **Platform**: {platform_id}
|
|
233
|
+
- **Feature**: {feature_name}
|
|
234
|
+
- **Output Files**: []
|
|
235
|
+
- **Error**: {description of what went wrong}
|
|
236
|
+
- **Error Category**: DEPENDENCY_MISSING | VALIDATION_ERROR | BLOCKED
|
|
237
|
+
- **Recovery Hint**: {suggestion for how to resolve or retry}
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
**Error Categories:**
|
|
241
|
+
- `DEPENDENCY_MISSING`: Required input file or knowledge document not found
|
|
242
|
+
- `VALIDATION_ERROR`: Input validation failed (e.g., invalid Feature Spec format)
|
|
243
|
+
- `BLOCKED`: Blocked by external dependency or prerequisite not met
|
|
244
|
+
|
|
207
245
|
# Key Rules
|
|
208
246
|
|
|
209
247
|
| Rule | Description |
|
|
@@ -302,3 +302,36 @@ Fill each section with test case data using `search_replace`.
|
|
|
302
302
|
- [ ] Preconditions are clearly stated for each test case
|
|
303
303
|
- [ ] Steps are detailed enough for execution without ambiguity
|
|
304
304
|
- [ ] Document written to correct output path
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
# Task Completion Report
|
|
309
|
+
|
|
310
|
+
Upon completion (success or failure), output the following report format:
|
|
311
|
+
|
|
312
|
+
## Success Report
|
|
313
|
+
```
|
|
314
|
+
## Task Completion Report
|
|
315
|
+
- **Status**: SUCCESS
|
|
316
|
+
- **Task ID**: <from dispatch context, e.g., "test-case-web-vue">
|
|
317
|
+
- **Platform**: <platform_id, e.g., "web-vue">
|
|
318
|
+
- **Phase**: test_case_design
|
|
319
|
+
- **Output Files**:
|
|
320
|
+
- `speccrew-workspace/iterations/{iteration}/05.system-test/cases/{platform_id}/[feature]-test-cases.md`
|
|
321
|
+
- **Summary**: Test case design completed with {count} test cases covering {dimensions} dimensions
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
## Failure Report
|
|
325
|
+
```
|
|
326
|
+
## Task Completion Report
|
|
327
|
+
- **Status**: FAILED
|
|
328
|
+
- **Task ID**: <from dispatch context>
|
|
329
|
+
- **Platform**: <platform_id>
|
|
330
|
+
- **Phase**: test_case_design
|
|
331
|
+
- **Output Files**: None
|
|
332
|
+
- **Summary**: Test case design failed during {step}
|
|
333
|
+
- **Error**: <detailed error description>
|
|
334
|
+
- **Error Category**: DEPENDENCY_MISSING | BUILD_FAILURE | VALIDATION_ERROR | RUNTIME_ERROR | BLOCKED
|
|
335
|
+
- **Partial Outputs**: <list of partially generated files or "None">
|
|
336
|
+
- **Recovery Hint**: <suggestion for recovery, e.g., "Check feature spec document exists at specified path">
|
|
337
|
+
```
|
|
@@ -344,3 +344,37 @@ Fill each section with code plan data from Step 4.
|
|
|
344
344
|
- [ ] Shared fixtures and helpers are extracted properly
|
|
345
345
|
- [ ] Arrange-Act-Assert structure maintained in tests
|
|
346
346
|
- [ ] Code plan document written to correct path
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
# Task Completion Report
|
|
351
|
+
|
|
352
|
+
Upon completion (success or failure), output the following report format:
|
|
353
|
+
|
|
354
|
+
## Success Report
|
|
355
|
+
```
|
|
356
|
+
## Task Completion Report
|
|
357
|
+
- **Status**: SUCCESS
|
|
358
|
+
- **Task ID**: <from dispatch context, e.g., "test-code-web-vue">
|
|
359
|
+
- **Platform**: <platform_id, e.g., "web-vue">
|
|
360
|
+
- **Phase**: test_code_gen
|
|
361
|
+
- **Output Files**:
|
|
362
|
+
- `speccrew-workspace/iterations/{iteration}/05.system-test/code/{platform_id}/[feature]-test-code-plan.md`
|
|
363
|
+
- <list of generated test source files>
|
|
364
|
+
- **Summary**: Test code generation completed with {file_count} files covering {case_count} test cases
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
## Failure Report
|
|
368
|
+
```
|
|
369
|
+
## Task Completion Report
|
|
370
|
+
- **Status**: FAILED
|
|
371
|
+
- **Task ID**: <from dispatch context>
|
|
372
|
+
- **Platform**: <platform_id>
|
|
373
|
+
- **Phase**: test_code_gen
|
|
374
|
+
- **Output Files**: <list of partial outputs or "None">
|
|
375
|
+
- **Summary**: Test code generation failed during {step}
|
|
376
|
+
- **Error**: <detailed error description>
|
|
377
|
+
- **Error Category**: DEPENDENCY_MISSING | BUILD_FAILURE | VALIDATION_ERROR | RUNTIME_ERROR | BLOCKED
|
|
378
|
+
- **Partial Outputs**: <list of partially generated files or "None">
|
|
379
|
+
- **Recovery Hint**: <suggestion for recovery, e.g., "Verify test case document format is valid">
|
|
380
|
+
```
|
|
@@ -291,3 +291,37 @@ Each bug report must include:
|
|
|
291
291
|
- [ ] Bug severity is classified (Critical/High/Medium/Low)
|
|
292
292
|
- [ ] All bug reports written to correct output path
|
|
293
293
|
- [ ] Test report written to correct output path
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
# Task Completion Report
|
|
298
|
+
|
|
299
|
+
Upon completion (success or failure), output the following report format:
|
|
300
|
+
|
|
301
|
+
## Success Report
|
|
302
|
+
```
|
|
303
|
+
## Task Completion Report
|
|
304
|
+
- **Status**: SUCCESS
|
|
305
|
+
- **Task ID**: <from dispatch context, e.g., "test-exec-web-vue">
|
|
306
|
+
- **Platform**: <platform_id, e.g., "web-vue">
|
|
307
|
+
- **Phase**: test_execution
|
|
308
|
+
- **Output Files**:
|
|
309
|
+
- `speccrew-workspace/iterations/{iteration}/05.system-test/reports/[feature]-test-report.md`
|
|
310
|
+
- `speccrew-workspace/iterations/{iteration}/05.system-test/bugs/[feature]-bug-{seq}.md` (if any failures)
|
|
311
|
+
- **Summary**: Test execution completed with {passed}/{total} passed, {failed} failed, {skipped} skipped
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
## Failure Report
|
|
315
|
+
```
|
|
316
|
+
## Task Completion Report
|
|
317
|
+
- **Status**: FAILED
|
|
318
|
+
- **Task ID**: <from dispatch context>
|
|
319
|
+
- **Platform**: <platform_id>
|
|
320
|
+
- **Phase**: test_execution
|
|
321
|
+
- **Output Files**: <list of partial outputs or "None">
|
|
322
|
+
- **Summary**: Test execution failed during {step}
|
|
323
|
+
- **Error**: <detailed error description>
|
|
324
|
+
- **Error Category**: DEPENDENCY_MISSING | BUILD_FAILURE | VALIDATION_ERROR | RUNTIME_ERROR | BLOCKED
|
|
325
|
+
- **Partial Outputs**: <list of partially generated files or "None">
|
|
326
|
+
- **Recovery Hint**: <suggestion for recovery, e.g., "Check test dependencies are installed and test configuration is valid">
|
|
327
|
+
```
|