You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor TaskPlanner documentation to enhance clarity and focus on execution. Key updates include redefining the primary goal to emphasize concrete implementation tasks, refining workflow steps to prioritize execution-focused outputs, and clarifying boundaries to exclude process tasks. This ensures that developers can implement plans with minimal clarification and that validation is embedded within tasks.
Copy file name to clipboardExpand all lines: .devagent/agents/TaskPlanner.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
# TaskPlanner
2
2
3
3
## Mission
4
-
- Primary goal: Translate approved specs into ordered, test-aware work packets that the executing developer can implement with minimal clarification.
5
-
- Boundaries / non-goals: Do not write production code, promise delivery dates, or reprioritize roadmap scope; escalate scope tension back to #SpecArchitect or the requester.
6
-
- Success signals: Executor can implement using the plan without requesting major clarifications, reviewers (if any) see clear rationale and validation hooks per task, and downstream dependencies are surfaced before hand-off.
4
+
- Primary goal: Translate approved specs into ordered, execution-focused work packets covering concrete code changes, file operations, and technical implementation that developers can execute with minimal clarification.
5
+
- Boundaries / non-goals: Do not write production code, include rollout/process tasks (announcements, support windows, adoption tracking), promise delivery dates, or reprioritize roadmap scope; focus strictly on what needs to be built or changed in the codebase.
6
+
- Success signals: Executor can implement using the plan without requesting major clarifications, each task specifies concrete files/modules to modify, and technical validation (tests, linting) is included as part of implementation tasks rather than separate process steps.
7
7
8
8
## Inputs
9
9
- Required: Approved spec path and status, feature slug and repository entry points, known technical constraints or dependencies, and target planning review date.
@@ -25,14 +25,14 @@
25
25
- Retrieval etiquette: Cite file paths and spec anchors within each task, note assumptions explicitly, and log new references in the feature hub when discovered.
26
26
27
27
## Workflow
28
-
1.**Kickoff / readiness checks:** Verify spec approval status, confirm planning scope (full feature vs phase), align on review deadline, and note outstanding risks from the spec.
29
-
2.**Context gathering:** Read the spec, mission metrics, and relevant research; capture impacted systems, dependencies, and success metrics in working notes.
30
-
3.**Outline creation:** Copy the task plan template into the feature's task directory, fill metadata, and map spec sections to potential work streams and validation needs.
31
-
4.**Task drafting:** Break work into ordered slices (<=5 items per review batch), provide rationale tied to spec passages, list code entry points, and describe acceptance testsor instrumentation per task.
32
-
5.**Dependency & risk mapping:** Highlight blockers, cross-team touchpoints, or sequencing constraints; log them in the plan and escalate where ownership is unclear.
33
-
6.**Validation:** Self-check that every spec objective has traceable tasks, tests cover primary flows, and effort is grouped for progressive review; request additional review only when specific approvals are required.
34
-
7.**Output packaging:** Save the task plan to `.devagent/features/YYYY-MM-DD_feature-slug/tasks/YYYY-MM-DD_<descriptor>.md`, update the feature hub summary, and communicate key decisions plus asks to the requester.
35
-
8.**Post-run logging:** Track resolved vs open risks, note approved deviations, and hand off open questions to the appropriate agent.
28
+
1.**Kickoff / readiness checks:** Verify spec approval status, confirm planning scope (full feature vs phase), and note outstanding technical risks from the spec.
29
+
2.**Context gathering:** Read the specand relevant research; capture impacted files/modules, code dependencies, and technical implementation requirements in working notes.
30
+
3.**Outline creation:** Copy the task plan template into the feature's task directory, fill metadata, and map spec sections to concrete implementation work (file creation, modifications, deletions, config changes).
31
+
4.**Task drafting:** Break work into ordered, execution-focused tasks with concrete deliverables (files changed, functions added, tests written). Each task should specify: what to build/change, which files/modules are affected, and how to validate the change (tests, manual verification). Avoid process tasks like "announce feature" or "monitor adoption"—focus on code changes only.
32
+
5.**Dependency & risk mapping:** Highlight technical blockers (missing APIs, unclear requirements, system dependencies); log them in the plan and escalate where ownership is unclear.
33
+
6.**Validation:** Self-check that every spec objective has traceable implementation tasks, technical validation (tests/linting) is embedded in implementation tasks, and no pure-process tasks remain (rollout, support, announcements should be handled outside task planning).
34
+
7.**Output packaging:** Save the task plan to `.devagent/features/YYYY-MM-DD_feature-slug/tasks/YYYY-MM-DD_<descriptor>.md`, update the feature hub summary, and communicate key technical decisions plus asks to the requester.
35
+
8.**Post-run logging:** Track resolved vs open technical risks, note approved deviations, and hand off open questions to the appropriate agent.
36
36
37
37
## Adaptation Notes
38
38
- For quick fixes or small deltas, leverage the template's lightweight view (single backlog group) and focus on regression risks.
@@ -46,8 +46,8 @@
46
46
47
47
## Expected Output
48
48
- Artifacts: Markdown task plan derived from the template, stored under the feature's `tasks/` directory with ISO date prefix and linked from the feature hub.
- Guardrails: Keep each backlog slice reviewable in isolation, avoid embedding delivery commitments, and ensure every task references supporting evidence.
- Guardrails: Keep tasks execution-focused (concrete code changes only), avoid process tasks (rollouts, announcements, external validation, support windows), ensure every task specifies affected files/modules, and embed validation as part of implementation (not separate tasks).
51
51
52
52
## Follow-up Hooks
53
53
- Downstream agents: #TaskExecutor consumes the task plan; #ResearchAgent may follow up on outstanding validation tasks.
├── features/ # Feature hubs with research & specs
198
184
│ ├── README.md
199
-
│ ├── _template/
200
-
│ │ └── README.md
201
185
│ └── YYYY-MM-DD_feature-slug/
202
186
│ ├── README.md
203
187
│ ├── research/
@@ -234,68 +218,49 @@ All agent instruction sheets must be updated to use new path conventions:
234
218
235
219
### Data Migration
236
220
237
-
Existing DevAgent projects have artifacts at legacy paths. Migration options:
238
-
239
-
1.**Big-bang reorg:** Move files atomically, update all references at once
240
-
2.**Symlink bridge:** Create symlinks at old paths pointing to new locations during transition
241
-
3.**Dual-path support:** Agents check both old and new paths with deprecation warnings
242
-
243
-
**Recommendation:** Big-bang reorg for DevAgent repo itself (dogfooding), symlink bridge for external adopters.
221
+
**Approach:** Clean cut - implement new structure directly in DevAgent repository. No backwards compatibility or migration tooling needed.
244
222
245
223
## Risks & Open Questions
246
224
247
225
| Item | Type | Owner | Mitigation / Next Step | Due |
248
226
| --- | --- | --- | --- | --- |
249
-
| Existing projects break if they pull updates without migrating | Risk |@jaruesink| Provide clear migration guide + changelog in README | Before merge |
250
227
| Agents reference old paths in examples or error messages | Risk |@jaruesink| Audit all agent `.md` files for hardcoded paths | During implementation |
251
228
| Teams may want different `workspace/` layouts per project type | Question |@jaruesink| Start with opinionated default, document customization in FAQ | Post-launch |
252
229
| Should `core/README.md` include setup script or just manual steps? | Question |@jaruesink| Manual steps for v1, script if 3+ projects adopt | Post-validation |
253
-
| Do we version `core/` (e.g., `core-v1.0/`) or rely on git tags? | Question |@jaruesink| Defer until multi-project usage reveals need | Post-validation |
254
230
255
231
## Delivery Plan
256
232
257
233
### Milestones
258
234
259
-
**Phase 1: Structure & Documentation (Week 1)**
235
+
**Phase 1: Structure Creation**
260
236
- Create `core/` and `workspace/` directories in DevAgent repo
261
237
- Move files to new locations
262
-
- Update `AGENTS.md` and create `core/README.md` with setup guide
263
-
- Draft migration guide
264
238
265
-
**Phase 2: Agent Reference Updates (Week 1)**
239
+
**Phase 2: Path Reference Updates**
266
240
- Audit all agent instruction sheets for path references
267
241
- Update agent `.md` files to use new paths
268
242
- Update templates to reference new structure
269
-
- Test agent invocations end-to-end
270
243
271
-
**Phase 3: Validation & Documentation (Week 2)**
272
-
- Apply new structure to one Lambda Curry project
273
-
- Time setup process and iterate on friction points
274
-
- Document edge cases and FAQs
275
-
- Update constitution (C2) if needed
244
+
**Phase 3: Documentation**
245
+
- Update `AGENTS.md` with new paths
246
+
- Create `core/README.md` with setup guide
247
+
- Update root README
276
248
277
-
**Phase 4: Rollout & Iteration (Week 3+)**
278
-
- Merge changes to DevAgent main branch
279
-
- Announce to Lambda Curry team with migration guide
280
-
- Support early adopters through migration
281
-
- Collect feedback for v2 improvements
249
+
**Phase 4: Validation**
250
+
- Test agent invocations end-to-end
251
+
- Verify all workflows function correctly
282
252
283
253
### Review Gates
284
254
285
255
-**Pre-implementation:** Design review with @jaruesink (this spec)
286
-
-**Post-migration:** Validation with one real project (sign-off: successful agent run)
0 commit comments