deepflow 0.1.43 → 0.1.44
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/package.json
CHANGED
|
@@ -351,6 +351,13 @@ Do NOT write files to the main project directory.
|
|
|
351
351
|
|
|
352
352
|
Implement, test, commit as feat({spec}): {description}.
|
|
353
353
|
Write result to {worktree_absolute_path}/.deepflow/results/{task_id}.yaml
|
|
354
|
+
|
|
355
|
+
**STOP after writing the result file. Do NOT:**
|
|
356
|
+
- Merge branches or cherry-pick commits
|
|
357
|
+
- Rename or move spec files (doing-* → done-*)
|
|
358
|
+
- Remove worktrees or delete branches
|
|
359
|
+
- Run git checkout on main
|
|
360
|
+
These are handled by the orchestrator and /df:verify.
|
|
354
361
|
```
|
|
355
362
|
|
|
356
363
|
**Spike Task:**
|
|
@@ -376,6 +383,7 @@ Rules:
|
|
|
376
383
|
- Worse than baseline = FAILED (baseline 7k, actual 1.5k → FAILED)
|
|
377
384
|
- "Close enough" = FAILED
|
|
378
385
|
- Verifier will check. False positives waste resources.
|
|
386
|
+
- STOP after writing result file. Do NOT merge, rename specs, or clean up worktrees.
|
|
379
387
|
```
|
|
380
388
|
|
|
381
389
|
### 8. FAILURE HANDLING
|
|
@@ -48,7 +48,32 @@ Mark each: ✓ satisfied | ✗ missing | ⚠ partial
|
|
|
48
48
|
### 3. GENERATE REPORT
|
|
49
49
|
|
|
50
50
|
Report per spec: requirements count, acceptance count, quality issues.
|
|
51
|
-
|
|
51
|
+
|
|
52
|
+
**If all pass:** Proceed to Post-Verification merge.
|
|
53
|
+
|
|
54
|
+
**If issues found:** Add fix tasks to PLAN.md in the worktree and loop back to execute:
|
|
55
|
+
|
|
56
|
+
1. Discover worktree (same logic as Post-Verification step 1)
|
|
57
|
+
2. Write new fix tasks to `{worktree_path}/PLAN.md` under the existing spec section
|
|
58
|
+
- Task IDs continue from last (e.g. if T9 was last, fixes start at T10)
|
|
59
|
+
- Format: `- [ ] **T10**: Fix {description}` with `Files:` and details
|
|
60
|
+
3. Output report + next step:
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
done-upload.md: 4/4 reqs ✓, 3/5 acceptance ✗, 1 quality issue
|
|
64
|
+
|
|
65
|
+
Issues:
|
|
66
|
+
✗ AC-3: YAML parsing missing for consolation
|
|
67
|
+
⚠ Quality: TODO in parse_config()
|
|
68
|
+
|
|
69
|
+
Fix tasks added to PLAN.md:
|
|
70
|
+
T10: Add YAML parsing for consolation section
|
|
71
|
+
T11: Remove TODO in parse_config()
|
|
72
|
+
|
|
73
|
+
Run /df:execute --continue to fix in the same worktree.
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Do NOT** create new specs, new worktrees, or merge with issues pending.
|
|
52
77
|
|
|
53
78
|
### 4. CAPTURE LEARNINGS
|
|
54
79
|
|
|
@@ -88,7 +113,7 @@ Default: L1-L3 (L4 optional, can be slow)
|
|
|
88
113
|
- Verify against spec, not assumptions
|
|
89
114
|
- Flag partial implementations
|
|
90
115
|
- Report TODO/FIXME as quality issues
|
|
91
|
-
- Don't auto-fix —
|
|
116
|
+
- Don't auto-fix — add fix tasks to PLAN.md, then `/df:execute --continue`
|
|
92
117
|
- Capture learnings — Write experiments for significant approaches
|
|
93
118
|
|
|
94
119
|
## Agent Usage
|
|
@@ -109,8 +134,9 @@ Task(subagent_type="Explore", model="haiku", prompt="Find: ...")
|
|
|
109
134
|
|
|
110
135
|
Scale: 1-2 agents per spec, cap 10.
|
|
111
136
|
|
|
112
|
-
##
|
|
137
|
+
## Examples
|
|
113
138
|
|
|
139
|
+
### All pass → merge
|
|
114
140
|
```
|
|
115
141
|
/df:verify
|
|
116
142
|
|
|
@@ -119,14 +145,33 @@ done-auth.md: 2/2 reqs ✓, 3/3 acceptance ✓, clean
|
|
|
119
145
|
|
|
120
146
|
✓ All specs verified
|
|
121
147
|
|
|
148
|
+
✓ Merged df/upload to main
|
|
149
|
+
✓ Cleaned up worktree and branch
|
|
150
|
+
|
|
122
151
|
Learnings captured:
|
|
123
152
|
→ experiments/perf--streaming-upload--success.md
|
|
124
|
-
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Issues found → fix tasks added
|
|
156
|
+
```
|
|
157
|
+
/df:verify --doing
|
|
158
|
+
|
|
159
|
+
doing-upload.md: 4/4 reqs ✓, 3/5 acceptance ✗, 1 quality issue
|
|
160
|
+
|
|
161
|
+
Issues:
|
|
162
|
+
✗ AC-3: YAML parsing missing for consolation
|
|
163
|
+
⚠ Quality: TODO in parse_config()
|
|
164
|
+
|
|
165
|
+
Fix tasks added to PLAN.md:
|
|
166
|
+
T10: Add YAML parsing for consolation section
|
|
167
|
+
T11: Remove TODO in parse_config()
|
|
168
|
+
|
|
169
|
+
Run /df:execute --continue to fix in the same worktree.
|
|
125
170
|
```
|
|
126
171
|
|
|
127
172
|
## Post-Verification: Worktree Merge & Cleanup
|
|
128
173
|
|
|
129
|
-
|
|
174
|
+
**Only runs when ALL specs pass verification.** If issues were found, fix tasks were added to PLAN.md instead (see step 3).
|
|
130
175
|
|
|
131
176
|
### 1. DISCOVER WORKTREE
|
|
132
177
|
|