taskplane 0.28.4 → 0.28.6
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/LICENSE +21 -21
- package/README.md +215 -215
- package/bin/gitignore-patterns.mjs +79 -79
- package/bin/rpc-wrapper.mjs +1086 -1086
- package/bin/taskplane.mjs +3254 -3254
- package/dashboard/public/app.js +2573 -2573
- package/dashboard/public/index.html +139 -139
- package/dashboard/public/style.css +1882 -1882
- package/dashboard/public/taskplane-word-color.svg +18 -18
- package/dashboard/public/taskplane-word-white.svg +18 -18
- package/dashboard/server.cjs +1666 -1666
- package/extensions/reviewer-extension.ts +119 -119
- package/extensions/task-orchestrator.ts +28 -28
- package/extensions/taskplane/abort.ts +502 -502
- package/extensions/taskplane/agent-bridge-extension.ts +838 -765
- package/extensions/taskplane/agent-host.ts +833 -745
- package/extensions/taskplane/cleanup.ts +747 -747
- package/extensions/taskplane/config-loader.ts +1328 -1322
- package/extensions/taskplane/config-schema.ts +692 -682
- package/extensions/taskplane/config.ts +73 -73
- package/extensions/taskplane/context-window.ts +66 -66
- package/extensions/taskplane/diagnostic-reports.ts +463 -463
- package/extensions/taskplane/diagnostics.ts +385 -385
- package/extensions/taskplane/engine-worker-entry.mjs +34 -34
- package/extensions/taskplane/engine-worker.ts +381 -381
- package/extensions/taskplane/engine.ts +4539 -4527
- package/extensions/taskplane/execution.ts +2733 -2708
- package/extensions/taskplane/extension.ts +30 -9
- package/extensions/taskplane/formatting.ts +773 -773
- package/extensions/taskplane/git.ts +90 -90
- package/extensions/taskplane/index.ts +28 -28
- package/extensions/taskplane/lane-runner.ts +1383 -1360
- package/extensions/taskplane/mailbox.ts +689 -689
- package/extensions/taskplane/merge.ts +3135 -3135
- package/extensions/taskplane/messages.ts +985 -985
- package/extensions/taskplane/migrations.ts +278 -278
- package/extensions/taskplane/naming.ts +117 -117
- package/extensions/taskplane/path-resolver.ts +237 -237
- package/extensions/taskplane/persistence.ts +2087 -2087
- package/extensions/taskplane/process-registry.ts +416 -416
- package/extensions/taskplane/quality-gate.ts +1033 -1033
- package/extensions/taskplane/resume.ts +2879 -2878
- package/extensions/taskplane/sessions.ts +57 -57
- package/extensions/taskplane/settings-loader.ts +136 -136
- package/extensions/taskplane/settings-tui.ts +1867 -1867
- package/extensions/taskplane/sidecar-telemetry.ts +252 -252
- package/extensions/taskplane/supervisor-primer.md +1694 -1694
- package/extensions/taskplane/supervisor.ts +4341 -4341
- package/extensions/taskplane/task-executor-core.ts +550 -550
- package/extensions/taskplane/tmux-compat.ts +37 -37
- package/extensions/taskplane/types.ts +4297 -4278
- package/extensions/taskplane/verification.ts +542 -542
- package/extensions/taskplane/waves.ts +1548 -1548
- package/extensions/taskplane/workspace.ts +705 -705
- package/extensions/taskplane/worktree.ts +2604 -2505
- package/package.json +57 -57
- package/skills/create-taskplane-task/SKILL.md +465 -465
- package/skills/create-taskplane-task/references/prompt-template.md +285 -285
- package/templates/agents/local/supervisor.md +33 -33
- package/templates/agents/local/task-merger.md +27 -27
- package/templates/agents/local/task-reviewer.md +30 -30
- package/templates/agents/local/task-worker.md +34 -34
- package/templates/agents/supervisor-routing.md +92 -92
- package/templates/agents/supervisor.md +168 -168
- package/templates/agents/task-merger.md +214 -214
- package/templates/agents/task-reviewer.md +192 -192
- package/templates/agents/task-worker.md +505 -429
- package/templates/tasks/EXAMPLE-001-hello-world/PROMPT.md +98 -98
- package/templates/tasks/EXAMPLE-001-hello-world/STATUS.md +73 -73
- package/templates/tasks/EXAMPLE-002-parallel-smoke/PROMPT.md +97 -97
- package/templates/tasks/EXAMPLE-002-parallel-smoke/STATUS.md +73 -73
|
@@ -1,285 +1,285 @@
|
|
|
1
|
-
# PROMPT.md Template
|
|
2
|
-
|
|
3
|
-
Copy this template when creating a new task. Replace all `[bracketed]` fields.
|
|
4
|
-
|
|
5
|
-
**Before creating:** Verify you have scored complexity and assigned Review Level.
|
|
6
|
-
Review Level 0 is ONLY for trivial changes. Most M+ tasks need Level ≥1.
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
````markdown
|
|
11
|
-
# Task: [PREFIX-###] - [Name]
|
|
12
|
-
|
|
13
|
-
**Created:** [YYYY-MM-DD]
|
|
14
|
-
**Size:** [S | M | L]
|
|
15
|
-
|
|
16
|
-
## Review Level: [0-3] ([None | Plan Only | Plan and Code | Full])
|
|
17
|
-
|
|
18
|
-
**Assessment:** [1-2 sentences explaining the score]
|
|
19
|
-
**Score:** [N]/8 — Blast radius: [N], Pattern novelty: [N], Security: [N], Reversibility: [N]
|
|
20
|
-
|
|
21
|
-
## Canonical Task Folder
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
[FULL_PATH_TO_TASK_FOLDER]/
|
|
25
|
-
├── PROMPT.md ← This file (immutable above --- divider)
|
|
26
|
-
├── STATUS.md ← Execution state (worker updates this)
|
|
27
|
-
├── .reviews/ ← Reviewer output (created by the orchestrator runtime)
|
|
28
|
-
└── .DONE ← Created when complete
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Mission
|
|
32
|
-
|
|
33
|
-
[One paragraph: what you're building and why it matters]
|
|
34
|
-
|
|
35
|
-
## Dependencies
|
|
36
|
-
|
|
37
|
-
[Choose one:]
|
|
38
|
-
|
|
39
|
-
- **None**
|
|
40
|
-
|
|
41
|
-
[OR:]
|
|
42
|
-
|
|
43
|
-
- **Task:** [PREFIX-###] ([what must be complete])
|
|
44
|
-
- **Task:** [area-name/PREFIX-###] ([use area-qualified form if cross-area ID may be ambiguous])
|
|
45
|
-
- **External:** [what must be true]
|
|
46
|
-
|
|
47
|
-
## Context to Read First
|
|
48
|
-
|
|
49
|
-
> Only list docs the worker actually needs. Less is better.
|
|
50
|
-
|
|
51
|
-
**Tier 2 (area context):**
|
|
52
|
-
- `[path/to/CONTEXT.md]`
|
|
53
|
-
|
|
54
|
-
**Tier 3 (load only if needed):**
|
|
55
|
-
- `[path/to/specific-doc.md]` — [why needed]
|
|
56
|
-
|
|
57
|
-
## Environment
|
|
58
|
-
|
|
59
|
-
- **Workspace:** [primary folder/service being modified]
|
|
60
|
-
- **Services required:** [list, or "None"]
|
|
61
|
-
|
|
62
|
-
## File Scope
|
|
63
|
-
|
|
64
|
-
> The orchestrator uses this to avoid merge conflicts: tasks with overlapping
|
|
65
|
-
> file scope run on the same lane (serial), not in parallel. List the files and
|
|
66
|
-
> directories this task will create or modify. Use wildcards for directories.
|
|
67
|
-
|
|
68
|
-
- `[path/to/file.ext]`
|
|
69
|
-
- `[path/to/directory/*]`
|
|
70
|
-
|
|
71
|
-
## Steps
|
|
72
|
-
|
|
73
|
-
> **Hydration:** STATUS.md tracks outcomes, not individual code changes. Workers
|
|
74
|
-
> expand steps when runtime discoveries warrant it. See task-worker agent for rules.
|
|
75
|
-
|
|
76
|
-
### Step 0: Preflight
|
|
77
|
-
|
|
78
|
-
- [ ] Required files and paths exist
|
|
79
|
-
- [ ] Dependencies satisfied
|
|
80
|
-
|
|
81
|
-
### Step 1: [Name]
|
|
82
|
-
|
|
83
|
-
- [ ] [Specific, verifiable task]
|
|
84
|
-
- [ ] [Specific, verifiable task]
|
|
85
|
-
- [ ] [Specific, verifiable task]
|
|
86
|
-
- [ ] Run targeted tests: `[test command] --changed` or specific test files
|
|
87
|
-
|
|
88
|
-
**Artifacts:**
|
|
89
|
-
- `path/to/file` (new | modified)
|
|
90
|
-
|
|
91
|
-
> **Multi-repo variant:** When file scope spans multiple repos, use
|
|
92
|
-
> `#### Segment: <repoId>` markers within each step instead of flat checkboxes.
|
|
93
|
-
> Replace the single-repo Step 1 above with segment-annotated steps like:
|
|
94
|
-
>
|
|
95
|
-
> ```markdown
|
|
96
|
-
> ### Step 1: [Name]
|
|
97
|
-
>
|
|
98
|
-
> #### Segment: shared-libs
|
|
99
|
-
>
|
|
100
|
-
> - [ ] Create string utility module
|
|
101
|
-
> - [ ] Export from package index
|
|
102
|
-
>
|
|
103
|
-
> #### Segment: web-client
|
|
104
|
-
>
|
|
105
|
-
> - [ ] Add API client wrapper
|
|
106
|
-
> - [ ] Wire into app initialization
|
|
107
|
-
>
|
|
108
|
-
> ### Step [N]: Documentation & Delivery
|
|
109
|
-
>
|
|
110
|
-
> #### Segment: [packet-repo]
|
|
111
|
-
>
|
|
112
|
-
> - [ ] "Must Update" docs modified
|
|
113
|
-
> - [ ] Discoveries logged in STATUS.md
|
|
114
|
-
> ```
|
|
115
|
-
>
|
|
116
|
-
> Rules:
|
|
117
|
-
> - Always use explicit `#### Segment: <repoId>` markers (never rely on fallback)
|
|
118
|
-
> - Order: shared/common repos → per-repo impl → integration/docs (packet repo)
|
|
119
|
-
> - Final documentation/delivery step always uses the packet repo
|
|
120
|
-
> - Max 10 segments per task; split larger tasks with dependencies
|
|
121
|
-
|
|
122
|
-
### Step [N-1]: Testing & Verification
|
|
123
|
-
|
|
124
|
-
> ZERO test failures allowed. This step runs the FULL test suite as a quality gate.
|
|
125
|
-
> (Earlier steps should use targeted tests for fast feedback — see worker prompt.)
|
|
126
|
-
|
|
127
|
-
- [ ] Run FULL test suite: `[test command from project config]`
|
|
128
|
-
- [ ] Run integration tests (if applicable)
|
|
129
|
-
- [ ] Fix all failures
|
|
130
|
-
- [ ] Build passes: `[build command]`
|
|
131
|
-
|
|
132
|
-
### Step [N]: Documentation & Delivery
|
|
133
|
-
|
|
134
|
-
- [ ] "Must Update" docs modified
|
|
135
|
-
- [ ] "Check If Affected" docs reviewed
|
|
136
|
-
- [ ] Discoveries logged in STATUS.md
|
|
137
|
-
|
|
138
|
-
## Documentation Requirements
|
|
139
|
-
|
|
140
|
-
**Must Update:**
|
|
141
|
-
- `[path/to/doc.md]` — [what to add/change]
|
|
142
|
-
|
|
143
|
-
**Check If Affected:**
|
|
144
|
-
- `[path/to/doc.md]` — [update if relevant]
|
|
145
|
-
|
|
146
|
-
## Completion Criteria
|
|
147
|
-
|
|
148
|
-
- [ ] All steps complete
|
|
149
|
-
- [ ] All tests passing
|
|
150
|
-
- [ ] Documentation updated
|
|
151
|
-
|
|
152
|
-
## Git Commit Convention
|
|
153
|
-
|
|
154
|
-
Commits happen at **step boundaries** (not after every checkbox). All commits
|
|
155
|
-
for this task MUST include the task ID for traceability:
|
|
156
|
-
|
|
157
|
-
- **Step completion:** `feat([PREFIX-###]): complete Step N — description`
|
|
158
|
-
- **Bug fixes:** `fix([PREFIX-###]): description`
|
|
159
|
-
- **Tests:** `test([PREFIX-###]): description`
|
|
160
|
-
- **Hydration:** `hydrate: [PREFIX-###] expand Step N checkboxes`
|
|
161
|
-
|
|
162
|
-
## Do NOT
|
|
163
|
-
|
|
164
|
-
- Expand task scope — add tech debt to CONTEXT.md instead
|
|
165
|
-
- Skip tests
|
|
166
|
-
- Modify framework/standards docs without explicit user approval
|
|
167
|
-
- Load docs not listed in "Context to Read First"
|
|
168
|
-
- Commit without the task ID prefix in the commit message
|
|
169
|
-
|
|
170
|
-
---
|
|
171
|
-
|
|
172
|
-
## Amendments (Added During Execution)
|
|
173
|
-
|
|
174
|
-
<!-- Workers add amendments here if issues discovered during execution.
|
|
175
|
-
Format:
|
|
176
|
-
### Amendment N — YYYY-MM-DD HH:MM
|
|
177
|
-
**Issue:** [what was wrong]
|
|
178
|
-
**Resolution:** [what was changed] -->
|
|
179
|
-
````
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
# STATUS.md Template
|
|
184
|
-
|
|
185
|
-
Create alongside PROMPT.md. If omitted, the execution engine may auto-generate
|
|
186
|
-
this from PROMPT.md.
|
|
187
|
-
|
|
188
|
-
````markdown
|
|
189
|
-
# [PREFIX-###]: [Name] — Status
|
|
190
|
-
|
|
191
|
-
**Current Step:** Not Started
|
|
192
|
-
**Status:** 🔵 Ready for Execution
|
|
193
|
-
**Last Updated:** [YYYY-MM-DD]
|
|
194
|
-
**Review Level:** [0-3]
|
|
195
|
-
**Review Counter:** 0
|
|
196
|
-
**Iteration:** 0
|
|
197
|
-
**Size:** [S | M | L]
|
|
198
|
-
|
|
199
|
-
> **Hydration:** Checkboxes represent meaningful outcomes, not individual code
|
|
200
|
-
> changes. Workers expand steps when runtime discoveries warrant it — aim for
|
|
201
|
-
> 2-5 outcome-level items per step, not exhaustive implementation scripts.
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
### Step 0: Preflight
|
|
206
|
-
**Status:** ⬜ Not Started
|
|
207
|
-
|
|
208
|
-
- [ ] Required files and paths exist
|
|
209
|
-
- [ ] Dependencies satisfied
|
|
210
|
-
|
|
211
|
-
---
|
|
212
|
-
|
|
213
|
-
### Step 1: [Name]
|
|
214
|
-
**Status:** ⬜ Not Started
|
|
215
|
-
|
|
216
|
-
[If items are known at creation time, list each one:]
|
|
217
|
-
- [ ] [Specific item from PROMPT.md]
|
|
218
|
-
- [ ] [Specific item from PROMPT.md]
|
|
219
|
-
|
|
220
|
-
[If items depend on runtime discovery:]
|
|
221
|
-
> ⚠️ Hydrate: Expand checkboxes when entering this step based on [what]
|
|
222
|
-
|
|
223
|
-
- [ ] [High-level placeholder — worker will expand]
|
|
224
|
-
|
|
225
|
-
[Multi-repo variant — use segment markers matching PROMPT.md:]
|
|
226
|
-
|
|
227
|
-
#### Segment: [repo-a]
|
|
228
|
-
- [ ] [Item in repo-a]
|
|
229
|
-
|
|
230
|
-
#### Segment: [repo-b]
|
|
231
|
-
- [ ] [Item in repo-b]
|
|
232
|
-
|
|
233
|
-
---
|
|
234
|
-
|
|
235
|
-
### Step [N-1]: Testing & Verification
|
|
236
|
-
**Status:** ⬜ Not Started
|
|
237
|
-
|
|
238
|
-
- [ ] FULL test suite passing
|
|
239
|
-
- [ ] Integration tests (if applicable)
|
|
240
|
-
- [ ] All failures fixed
|
|
241
|
-
- [ ] Build passes
|
|
242
|
-
|
|
243
|
-
---
|
|
244
|
-
|
|
245
|
-
### Step [N]: Documentation & Delivery
|
|
246
|
-
**Status:** ⬜ Not Started
|
|
247
|
-
|
|
248
|
-
- [ ] "Must Update" docs modified
|
|
249
|
-
- [ ] "Check If Affected" docs reviewed
|
|
250
|
-
- [ ] Discoveries logged
|
|
251
|
-
|
|
252
|
-
---
|
|
253
|
-
|
|
254
|
-
## Reviews
|
|
255
|
-
|
|
256
|
-
| # | Type | Step | Verdict | File |
|
|
257
|
-
|---|------|------|---------|------|
|
|
258
|
-
|
|
259
|
-
---
|
|
260
|
-
|
|
261
|
-
## Discoveries
|
|
262
|
-
|
|
263
|
-
| Discovery | Disposition | Location |
|
|
264
|
-
|-----------|-------------|----------|
|
|
265
|
-
|
|
266
|
-
---
|
|
267
|
-
|
|
268
|
-
## Execution Log
|
|
269
|
-
|
|
270
|
-
| Timestamp | Action | Outcome |
|
|
271
|
-
|-----------|--------|---------|
|
|
272
|
-
| [YYYY-MM-DD] | Task staged | PROMPT.md and STATUS.md created |
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## Blockers
|
|
277
|
-
|
|
278
|
-
*None*
|
|
279
|
-
|
|
280
|
-
---
|
|
281
|
-
|
|
282
|
-
## Notes
|
|
283
|
-
|
|
284
|
-
*Reserved for execution notes*
|
|
285
|
-
````
|
|
1
|
+
# PROMPT.md Template
|
|
2
|
+
|
|
3
|
+
Copy this template when creating a new task. Replace all `[bracketed]` fields.
|
|
4
|
+
|
|
5
|
+
**Before creating:** Verify you have scored complexity and assigned Review Level.
|
|
6
|
+
Review Level 0 is ONLY for trivial changes. Most M+ tasks need Level ≥1.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
````markdown
|
|
11
|
+
# Task: [PREFIX-###] - [Name]
|
|
12
|
+
|
|
13
|
+
**Created:** [YYYY-MM-DD]
|
|
14
|
+
**Size:** [S | M | L]
|
|
15
|
+
|
|
16
|
+
## Review Level: [0-3] ([None | Plan Only | Plan and Code | Full])
|
|
17
|
+
|
|
18
|
+
**Assessment:** [1-2 sentences explaining the score]
|
|
19
|
+
**Score:** [N]/8 — Blast radius: [N], Pattern novelty: [N], Security: [N], Reversibility: [N]
|
|
20
|
+
|
|
21
|
+
## Canonical Task Folder
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
[FULL_PATH_TO_TASK_FOLDER]/
|
|
25
|
+
├── PROMPT.md ← This file (immutable above --- divider)
|
|
26
|
+
├── STATUS.md ← Execution state (worker updates this)
|
|
27
|
+
├── .reviews/ ← Reviewer output (created by the orchestrator runtime)
|
|
28
|
+
└── .DONE ← Created when complete
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Mission
|
|
32
|
+
|
|
33
|
+
[One paragraph: what you're building and why it matters]
|
|
34
|
+
|
|
35
|
+
## Dependencies
|
|
36
|
+
|
|
37
|
+
[Choose one:]
|
|
38
|
+
|
|
39
|
+
- **None**
|
|
40
|
+
|
|
41
|
+
[OR:]
|
|
42
|
+
|
|
43
|
+
- **Task:** [PREFIX-###] ([what must be complete])
|
|
44
|
+
- **Task:** [area-name/PREFIX-###] ([use area-qualified form if cross-area ID may be ambiguous])
|
|
45
|
+
- **External:** [what must be true]
|
|
46
|
+
|
|
47
|
+
## Context to Read First
|
|
48
|
+
|
|
49
|
+
> Only list docs the worker actually needs. Less is better.
|
|
50
|
+
|
|
51
|
+
**Tier 2 (area context):**
|
|
52
|
+
- `[path/to/CONTEXT.md]`
|
|
53
|
+
|
|
54
|
+
**Tier 3 (load only if needed):**
|
|
55
|
+
- `[path/to/specific-doc.md]` — [why needed]
|
|
56
|
+
|
|
57
|
+
## Environment
|
|
58
|
+
|
|
59
|
+
- **Workspace:** [primary folder/service being modified]
|
|
60
|
+
- **Services required:** [list, or "None"]
|
|
61
|
+
|
|
62
|
+
## File Scope
|
|
63
|
+
|
|
64
|
+
> The orchestrator uses this to avoid merge conflicts: tasks with overlapping
|
|
65
|
+
> file scope run on the same lane (serial), not in parallel. List the files and
|
|
66
|
+
> directories this task will create or modify. Use wildcards for directories.
|
|
67
|
+
|
|
68
|
+
- `[path/to/file.ext]`
|
|
69
|
+
- `[path/to/directory/*]`
|
|
70
|
+
|
|
71
|
+
## Steps
|
|
72
|
+
|
|
73
|
+
> **Hydration:** STATUS.md tracks outcomes, not individual code changes. Workers
|
|
74
|
+
> expand steps when runtime discoveries warrant it. See task-worker agent for rules.
|
|
75
|
+
|
|
76
|
+
### Step 0: Preflight
|
|
77
|
+
|
|
78
|
+
- [ ] Required files and paths exist
|
|
79
|
+
- [ ] Dependencies satisfied
|
|
80
|
+
|
|
81
|
+
### Step 1: [Name]
|
|
82
|
+
|
|
83
|
+
- [ ] [Specific, verifiable task]
|
|
84
|
+
- [ ] [Specific, verifiable task]
|
|
85
|
+
- [ ] [Specific, verifiable task]
|
|
86
|
+
- [ ] Run targeted tests: `[test command] --changed` or specific test files
|
|
87
|
+
|
|
88
|
+
**Artifacts:**
|
|
89
|
+
- `path/to/file` (new | modified)
|
|
90
|
+
|
|
91
|
+
> **Multi-repo variant:** When file scope spans multiple repos, use
|
|
92
|
+
> `#### Segment: <repoId>` markers within each step instead of flat checkboxes.
|
|
93
|
+
> Replace the single-repo Step 1 above with segment-annotated steps like:
|
|
94
|
+
>
|
|
95
|
+
> ```markdown
|
|
96
|
+
> ### Step 1: [Name]
|
|
97
|
+
>
|
|
98
|
+
> #### Segment: shared-libs
|
|
99
|
+
>
|
|
100
|
+
> - [ ] Create string utility module
|
|
101
|
+
> - [ ] Export from package index
|
|
102
|
+
>
|
|
103
|
+
> #### Segment: web-client
|
|
104
|
+
>
|
|
105
|
+
> - [ ] Add API client wrapper
|
|
106
|
+
> - [ ] Wire into app initialization
|
|
107
|
+
>
|
|
108
|
+
> ### Step [N]: Documentation & Delivery
|
|
109
|
+
>
|
|
110
|
+
> #### Segment: [packet-repo]
|
|
111
|
+
>
|
|
112
|
+
> - [ ] "Must Update" docs modified
|
|
113
|
+
> - [ ] Discoveries logged in STATUS.md
|
|
114
|
+
> ```
|
|
115
|
+
>
|
|
116
|
+
> Rules:
|
|
117
|
+
> - Always use explicit `#### Segment: <repoId>` markers (never rely on fallback)
|
|
118
|
+
> - Order: shared/common repos → per-repo impl → integration/docs (packet repo)
|
|
119
|
+
> - Final documentation/delivery step always uses the packet repo
|
|
120
|
+
> - Max 10 segments per task; split larger tasks with dependencies
|
|
121
|
+
|
|
122
|
+
### Step [N-1]: Testing & Verification
|
|
123
|
+
|
|
124
|
+
> ZERO test failures allowed. This step runs the FULL test suite as a quality gate.
|
|
125
|
+
> (Earlier steps should use targeted tests for fast feedback — see worker prompt.)
|
|
126
|
+
|
|
127
|
+
- [ ] Run FULL test suite: `[test command from project config]`
|
|
128
|
+
- [ ] Run integration tests (if applicable)
|
|
129
|
+
- [ ] Fix all failures
|
|
130
|
+
- [ ] Build passes: `[build command]`
|
|
131
|
+
|
|
132
|
+
### Step [N]: Documentation & Delivery
|
|
133
|
+
|
|
134
|
+
- [ ] "Must Update" docs modified
|
|
135
|
+
- [ ] "Check If Affected" docs reviewed
|
|
136
|
+
- [ ] Discoveries logged in STATUS.md
|
|
137
|
+
|
|
138
|
+
## Documentation Requirements
|
|
139
|
+
|
|
140
|
+
**Must Update:**
|
|
141
|
+
- `[path/to/doc.md]` — [what to add/change]
|
|
142
|
+
|
|
143
|
+
**Check If Affected:**
|
|
144
|
+
- `[path/to/doc.md]` — [update if relevant]
|
|
145
|
+
|
|
146
|
+
## Completion Criteria
|
|
147
|
+
|
|
148
|
+
- [ ] All steps complete
|
|
149
|
+
- [ ] All tests passing
|
|
150
|
+
- [ ] Documentation updated
|
|
151
|
+
|
|
152
|
+
## Git Commit Convention
|
|
153
|
+
|
|
154
|
+
Commits happen at **step boundaries** (not after every checkbox). All commits
|
|
155
|
+
for this task MUST include the task ID for traceability:
|
|
156
|
+
|
|
157
|
+
- **Step completion:** `feat([PREFIX-###]): complete Step N — description`
|
|
158
|
+
- **Bug fixes:** `fix([PREFIX-###]): description`
|
|
159
|
+
- **Tests:** `test([PREFIX-###]): description`
|
|
160
|
+
- **Hydration:** `hydrate: [PREFIX-###] expand Step N checkboxes`
|
|
161
|
+
|
|
162
|
+
## Do NOT
|
|
163
|
+
|
|
164
|
+
- Expand task scope — add tech debt to CONTEXT.md instead
|
|
165
|
+
- Skip tests
|
|
166
|
+
- Modify framework/standards docs without explicit user approval
|
|
167
|
+
- Load docs not listed in "Context to Read First"
|
|
168
|
+
- Commit without the task ID prefix in the commit message
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Amendments (Added During Execution)
|
|
173
|
+
|
|
174
|
+
<!-- Workers add amendments here if issues discovered during execution.
|
|
175
|
+
Format:
|
|
176
|
+
### Amendment N — YYYY-MM-DD HH:MM
|
|
177
|
+
**Issue:** [what was wrong]
|
|
178
|
+
**Resolution:** [what was changed] -->
|
|
179
|
+
````
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
# STATUS.md Template
|
|
184
|
+
|
|
185
|
+
Create alongside PROMPT.md. If omitted, the execution engine may auto-generate
|
|
186
|
+
this from PROMPT.md.
|
|
187
|
+
|
|
188
|
+
````markdown
|
|
189
|
+
# [PREFIX-###]: [Name] — Status
|
|
190
|
+
|
|
191
|
+
**Current Step:** Not Started
|
|
192
|
+
**Status:** 🔵 Ready for Execution
|
|
193
|
+
**Last Updated:** [YYYY-MM-DD]
|
|
194
|
+
**Review Level:** [0-3]
|
|
195
|
+
**Review Counter:** 0
|
|
196
|
+
**Iteration:** 0
|
|
197
|
+
**Size:** [S | M | L]
|
|
198
|
+
|
|
199
|
+
> **Hydration:** Checkboxes represent meaningful outcomes, not individual code
|
|
200
|
+
> changes. Workers expand steps when runtime discoveries warrant it — aim for
|
|
201
|
+
> 2-5 outcome-level items per step, not exhaustive implementation scripts.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
### Step 0: Preflight
|
|
206
|
+
**Status:** ⬜ Not Started
|
|
207
|
+
|
|
208
|
+
- [ ] Required files and paths exist
|
|
209
|
+
- [ ] Dependencies satisfied
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
### Step 1: [Name]
|
|
214
|
+
**Status:** ⬜ Not Started
|
|
215
|
+
|
|
216
|
+
[If items are known at creation time, list each one:]
|
|
217
|
+
- [ ] [Specific item from PROMPT.md]
|
|
218
|
+
- [ ] [Specific item from PROMPT.md]
|
|
219
|
+
|
|
220
|
+
[If items depend on runtime discovery:]
|
|
221
|
+
> ⚠️ Hydrate: Expand checkboxes when entering this step based on [what]
|
|
222
|
+
|
|
223
|
+
- [ ] [High-level placeholder — worker will expand]
|
|
224
|
+
|
|
225
|
+
[Multi-repo variant — use segment markers matching PROMPT.md:]
|
|
226
|
+
|
|
227
|
+
#### Segment: [repo-a]
|
|
228
|
+
- [ ] [Item in repo-a]
|
|
229
|
+
|
|
230
|
+
#### Segment: [repo-b]
|
|
231
|
+
- [ ] [Item in repo-b]
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
### Step [N-1]: Testing & Verification
|
|
236
|
+
**Status:** ⬜ Not Started
|
|
237
|
+
|
|
238
|
+
- [ ] FULL test suite passing
|
|
239
|
+
- [ ] Integration tests (if applicable)
|
|
240
|
+
- [ ] All failures fixed
|
|
241
|
+
- [ ] Build passes
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
### Step [N]: Documentation & Delivery
|
|
246
|
+
**Status:** ⬜ Not Started
|
|
247
|
+
|
|
248
|
+
- [ ] "Must Update" docs modified
|
|
249
|
+
- [ ] "Check If Affected" docs reviewed
|
|
250
|
+
- [ ] Discoveries logged
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Reviews
|
|
255
|
+
|
|
256
|
+
| # | Type | Step | Verdict | File |
|
|
257
|
+
|---|------|------|---------|------|
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Discoveries
|
|
262
|
+
|
|
263
|
+
| Discovery | Disposition | Location |
|
|
264
|
+
|-----------|-------------|----------|
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Execution Log
|
|
269
|
+
|
|
270
|
+
| Timestamp | Action | Outcome |
|
|
271
|
+
|-----------|--------|---------|
|
|
272
|
+
| [YYYY-MM-DD] | Task staged | PROMPT.md and STATUS.md created |
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Blockers
|
|
277
|
+
|
|
278
|
+
*None*
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Notes
|
|
283
|
+
|
|
284
|
+
*Reserved for execution notes*
|
|
285
|
+
````
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: supervisor
|
|
3
|
-
# tools: read,write,edit,bash,grep,find,ls
|
|
4
|
-
# model:
|
|
5
|
-
# standalone: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<!-- ═══════════════════════════════════════════════════════════════════
|
|
9
|
-
Project-Specific Supervisor Guidance
|
|
10
|
-
|
|
11
|
-
This file is COMPOSED with the base supervisor prompt shipped in the
|
|
12
|
-
taskplane package. Your content here is appended after the base prompt.
|
|
13
|
-
|
|
14
|
-
The base prompt (maintained by taskplane) handles:
|
|
15
|
-
- Supervisor identity and standing orders
|
|
16
|
-
- Recovery action classification and autonomy levels
|
|
17
|
-
- Audit trail format and rules
|
|
18
|
-
- Batch monitoring, failure handling, operator communication
|
|
19
|
-
- Orchestrator tool reference (orch_status, orch_pause, etc.)
|
|
20
|
-
- Startup checklist and operational knowledge
|
|
21
|
-
|
|
22
|
-
Add project-specific supervisor rules below. Common examples:
|
|
23
|
-
- Run linter before integration ("always run `npm run lint` after merge")
|
|
24
|
-
- CI dashboard URL for failure triage
|
|
25
|
-
- PR template or label conventions
|
|
26
|
-
- Project-specific recovery procedures
|
|
27
|
-
- Team notification preferences (Slack, etc.)
|
|
28
|
-
- Custom health check commands
|
|
29
|
-
|
|
30
|
-
To override frontmatter values (tools, model), uncomment and edit above.
|
|
31
|
-
To use this file as a FULLY STANDALONE prompt (ignoring the base),
|
|
32
|
-
uncomment `standalone: true` above and write the complete prompt below.
|
|
33
|
-
═══════════════════════════════════════════════════════════════════ -->
|
|
1
|
+
---
|
|
2
|
+
name: supervisor
|
|
3
|
+
# tools: read,write,edit,bash,grep,find,ls
|
|
4
|
+
# model:
|
|
5
|
+
# standalone: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- ═══════════════════════════════════════════════════════════════════
|
|
9
|
+
Project-Specific Supervisor Guidance
|
|
10
|
+
|
|
11
|
+
This file is COMPOSED with the base supervisor prompt shipped in the
|
|
12
|
+
taskplane package. Your content here is appended after the base prompt.
|
|
13
|
+
|
|
14
|
+
The base prompt (maintained by taskplane) handles:
|
|
15
|
+
- Supervisor identity and standing orders
|
|
16
|
+
- Recovery action classification and autonomy levels
|
|
17
|
+
- Audit trail format and rules
|
|
18
|
+
- Batch monitoring, failure handling, operator communication
|
|
19
|
+
- Orchestrator tool reference (orch_status, orch_pause, etc.)
|
|
20
|
+
- Startup checklist and operational knowledge
|
|
21
|
+
|
|
22
|
+
Add project-specific supervisor rules below. Common examples:
|
|
23
|
+
- Run linter before integration ("always run `npm run lint` after merge")
|
|
24
|
+
- CI dashboard URL for failure triage
|
|
25
|
+
- PR template or label conventions
|
|
26
|
+
- Project-specific recovery procedures
|
|
27
|
+
- Team notification preferences (Slack, etc.)
|
|
28
|
+
- Custom health check commands
|
|
29
|
+
|
|
30
|
+
To override frontmatter values (tools, model), uncomment and edit above.
|
|
31
|
+
To use this file as a FULLY STANDALONE prompt (ignoring the base),
|
|
32
|
+
uncomment `standalone: true` above and write the complete prompt below.
|
|
33
|
+
═══════════════════════════════════════════════════════════════════ -->
|