speccrew 0.6.10 â 0.6.11
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.
|
@@ -93,33 +93,14 @@ Use Glob to search `{iterations_dir}/*/WORKFLOW-PROGRESS.json`
|
|
|
93
93
|
- If `01_prd.status` is `confirmed`, check resume state (Step 0.2)
|
|
94
94
|
3. **If WORKFLOW-PROGRESS.json does not exist**:
|
|
95
95
|
- **MUST use script to initialize:**
|
|
96
|
+
|
|
97
|
+
> ð **FORBIDDEN**: DO NOT manually create WORKFLOW-PROGRESS.json via Write/Edit tools. ALL initialization MUST be done via `update-progress.js` script.
|
|
98
|
+
|
|
96
99
|
```bash
|
|
97
100
|
node "{update_progress_script}" update-workflow \
|
|
98
|
-
--file {iterations_dir}/{
|
|
101
|
+
--file "{iterations_dir}/{iteration_name}/WORKFLOW-PROGRESS.json" \
|
|
99
102
|
--stage 01_prd --status in_progress
|
|
100
103
|
```
|
|
101
|
-
- **Fallback** (ONLY if script file does not exist):
|
|
102
|
-
Create manually with the following structure:
|
|
103
|
-
```json
|
|
104
|
-
{
|
|
105
|
-
"iteration": "{iteration-name}",
|
|
106
|
-
"current_stage": "01_prd",
|
|
107
|
-
"stages": {
|
|
108
|
-
"01_prd": {
|
|
109
|
-
"status": "in_progress",
|
|
110
|
-
"started_at": "<current-timestamp>",
|
|
111
|
-
"completed_at": null,
|
|
112
|
-
"confirmed_at": null,
|
|
113
|
-
"outputs": []
|
|
114
|
-
},
|
|
115
|
-
"02_feature_design": { "status": "pending" },
|
|
116
|
-
"03_system_design": { "status": "pending" },
|
|
117
|
-
"04_development": { "status": "pending" },
|
|
118
|
-
"05_deployment": { "status": "pending" },
|
|
119
|
-
"06_system_test": { "status": "pending" }
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
```
|
|
123
104
|
|
|
124
105
|
## Phase 0.2: Check Resume State (Checkpoint Recovery)
|
|
125
106
|
|
|
@@ -657,6 +638,9 @@ Clarification File: {iteration_path}/01.product-requirement/.clarification-summa
|
|
|
657
638
|
|
|
658
639
|
- **IF user confirms** (explicit "įĄŪčŪĪ" or "OK"):
|
|
659
640
|
1. Update checkpoint to record user confirmation:
|
|
641
|
+
|
|
642
|
+
> ð **FORBIDDEN**: DO NOT manually edit .checkpoints.json via Write/Edit tools. ALL checkpoint updates MUST be done via `update-progress.js` script.
|
|
643
|
+
|
|
660
644
|
```bash
|
|
661
645
|
node "{update_progress_script}" write-checkpoint \
|
|
662
646
|
--file {iteration_path}/01.product-requirement/.checkpoints.json \
|
|
@@ -1289,10 +1273,14 @@ After presenting the documents above, you MUST stop and ask:
|
|
|
1289
1273
|
> - If NO â Return to Phase 6.2 and wait for confirmation
|
|
1290
1274
|
> - If YES â Proceed with the steps below
|
|
1291
1275
|
|
|
1276
|
+
> ð **FORBIDDEN**: DO NOT manually edit WORKFLOW-PROGRESS.json via Write/Edit tools. ALL updates to this file MUST be done via `update-progress.js` script through `run_in_terminal`.
|
|
1277
|
+
|
|
1292
1278
|
**5.3.1 Update Checkpoints**
|
|
1293
1279
|
|
|
1294
1280
|
Now update all checkpoints (user has confirmed):
|
|
1295
1281
|
|
|
1282
|
+
> ð **FORBIDDEN**: DO NOT manually edit .checkpoints.json via Write/Edit tools. ALL checkpoint updates MUST be done via `update-progress.js` script.
|
|
1283
|
+
|
|
1296
1284
|
```bash
|
|
1297
1285
|
# Update verification_checklist checkpoint
|
|
1298
1286
|
node "{update_progress_script}" write-checkpoint \
|
|
@@ -1309,10 +1297,14 @@ node "{update_progress_script}" write-checkpoint \
|
|
|
1309
1297
|
|
|
1310
1298
|
**5.3.2 Update WORKFLOW-PROGRESS.json**
|
|
1311
1299
|
|
|
1300
|
+
**Update workflow status to completed:**
|
|
1301
|
+
```bash
|
|
1302
|
+
node "{update_progress_script}" update-workflow --file "{iterations_dir}/{iteration_name}/WORKFLOW-PROGRESS.json" --stage 01_prd --status completed
|
|
1303
|
+
```
|
|
1304
|
+
|
|
1305
|
+
**Update workflow status to confirmed (after user confirms):**
|
|
1312
1306
|
```bash
|
|
1313
|
-
node "{update_progress_script}" update-workflow
|
|
1314
|
-
--file {iterations_dir}/{iteration}/WORKFLOW-PROGRESS.json \
|
|
1315
|
-
--stage 01_prd --status completed
|
|
1307
|
+
node "{update_progress_script}" update-workflow --file "{iterations_dir}/{iteration_name}/WORKFLOW-PROGRESS.json" --stage 01_prd --status confirmed
|
|
1316
1308
|
```
|
|
1317
1309
|
|
|
1318
1310
|
**5.3.3 Update PRD Status**
|