Skip to content

Commit ba25460

Browse files
committed
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.
1 parent 44c7049 commit ba25460

3 files changed

Lines changed: 62 additions & 183 deletions

File tree

.devagent/agents/TaskPlanner.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# TaskPlanner
22

33
## 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.
77

88
## Inputs
99
- 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 @@
2525
- Retrieval etiquette: Cite file paths and spec anchors within each task, note assumptions explicitly, and log new references in the feature hub when discovered.
2626

2727
## 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 tests or 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 spec and 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.
3636

3737
## Adaptation Notes
3838
- For quick fixes or small deltas, leverage the template's lightweight view (single backlog group) and focus on regression risks.
@@ -46,8 +46,8 @@
4646

4747
## Expected Output
4848
- 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.
49-
- Communication: Planning summary covering backlog slices, critical risks, validation strategy, and unresolved questions.
50-
- Guardrails: Keep each backlog slice reviewable in isolation, avoid embedding delivery commitments, and ensure every task references supporting evidence.
49+
- Communication: Planning summary covering implementation tasks, critical technical risks, and unresolved questions.
50+
- 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).
5151

5252
## Follow-up Hooks
5353
- Downstream agents: #TaskExecutor consumes the task plan; #ResearchAgent may follow up on outstanding validation tasks.

.devagent/features/2025-10-01_core-workspace-split/spec/2025-10-01_core-workspace-split-spec.md

Lines changed: 23 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -66,23 +66,21 @@ The mission targets "30 days: Daily coding in DevAgent prompts feels natural for
6666
1. **Maximize portability:** `core/` must work in any project without modification
6767
2. **Preserve tool-agnosticism:** No vendor lock-in (aligns with C4)
6868
3. **Support incremental adoption:** Projects can use a subset of agents without breaking references
69-
4. **Maintain backwards compatibility during migration:** Existing `.devagent/` projects should continue working
70-
5. **Optimize for onboarding clarity:** New developers should immediately grasp the structure
69+
4. **Optimize for onboarding clarity:** New developers should immediately grasp the structure
7170

7271
## Scope Definition
7372

7473
### In Scope
7574
- Reorganize `.devagent/` into `core/` and `workspace/` subdirectories
7675
- Update all agent instruction sheets to reference new paths (`.devagent/core/templates/...`, `.devagent/workspace/features/...`)
7776
- Update AGENTS.md and create a new `core/README.md` with setup instructions
78-
- Create a migration guide for existing DevAgent projects
79-
- Test the new structure against at least one real Lambda Curry project
77+
- Validate the new structure works with all agent workflows
8078

8179
### Out of Scope / Future
80+
- Migration guides for existing DevAgent projects (clean break, no backwards compatibility)
8281
- Automated sync tools to pull `core/` updates from a central repo (future: DevAgent CLI)
8382
- Versioning or release tagging for `core/` kit snapshots (defer until multi-project usage confirms need)
8483
- Tool-specific implementations under `.devagent/tools/` (separate future work per C4)
85-
- Migration of existing feature hubs' historical artifacts (preserve in place, new work uses new paths)
8684

8785
## Functional Narrative
8886

@@ -133,22 +131,6 @@ The mission targets "30 days: Daily coding in DevAgent prompts feels natural for
133131
- [ ] No hardcoded assumptions about directory depth or project name
134132
- [ ] Agent workflows function identically to pre-restructure behavior
135133

136-
### Flow 4: Migrate Existing DevAgent Project
137-
138-
**Trigger:** Existing DevAgent project wants to adopt new structure
139-
140-
**Experience Narrative:**
141-
1. Developer reads migration guide in `core/README.md`
142-
2. Developer creates `core/` and `workspace/` directories
143-
3. Developer moves agents and templates to `core/`, features and memory to `workspace/`
144-
4. Developer updates custom agent extensions (if any) to reference new paths
145-
5. Developer validates by running one agent workflow end-to-end
146-
147-
**Acceptance Criteria:**
148-
- [ ] Migration guide provides file-by-file move instructions
149-
- [ ] Migration preserves all existing feature hub history and decision logs
150-
- [ ] Agent invocations work after migration without syntax changes
151-
- [ ] Migration time under 15 minutes for a standard DevAgent setup
152134

153135
## Technical Notes & Dependencies
154136

@@ -179,7 +161,11 @@ The mission targets "30 days: Daily coding in DevAgent prompts feels natural for
179161
│ │ ├── spec-document-template.md
180162
│ │ ├── task-plan-template.md
181163
│ │ ├── task-prompt-template.md
182-
│ │ └── tech-stack-template.md
164+
│ │ ├── tech-stack-template.md
165+
│ │ └── feature-hub-template/ # Template for new feature hubs
166+
│ │ ├── README.md
167+
│ │ ├── research/
168+
│ │ └── spec/
183169
│ ├── AGENTS.md # Agent roster documentation
184170
│ └── README.md # Core kit usage & setup instructions
185171
@@ -196,8 +182,6 @@ The mission targets "30 days: Daily coding in DevAgent prompts feels natural for
196182
│ └── _archive/ # Historical constitution snapshots
197183
├── features/ # Feature hubs with research & specs
198184
│ ├── README.md
199-
│ ├── _template/
200-
│ │ └── README.md
201185
│ └── YYYY-MM-DD_feature-slug/
202186
│ ├── README.md
203187
│ ├── research/
@@ -234,68 +218,49 @@ All agent instruction sheets must be updated to use new path conventions:
234218

235219
### Data Migration
236220

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.
244222

245223
## Risks & Open Questions
246224

247225
| Item | Type | Owner | Mitigation / Next Step | Due |
248226
| --- | --- | --- | --- | --- |
249-
| Existing projects break if they pull updates without migrating | Risk | @jaruesink | Provide clear migration guide + changelog in README | Before merge |
250227
| Agents reference old paths in examples or error messages | Risk | @jaruesink | Audit all agent `.md` files for hardcoded paths | During implementation |
251228
| Teams may want different `workspace/` layouts per project type | Question | @jaruesink | Start with opinionated default, document customization in FAQ | Post-launch |
252229
| 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 |
254230

255231
## Delivery Plan
256232

257233
### Milestones
258234

259-
**Phase 1: Structure & Documentation (Week 1)**
235+
**Phase 1: Structure Creation**
260236
- Create `core/` and `workspace/` directories in DevAgent repo
261237
- Move files to new locations
262-
- Update `AGENTS.md` and create `core/README.md` with setup guide
263-
- Draft migration guide
264238

265-
**Phase 2: Agent Reference Updates (Week 1)**
239+
**Phase 2: Path Reference Updates**
266240
- Audit all agent instruction sheets for path references
267241
- Update agent `.md` files to use new paths
268242
- Update templates to reference new structure
269-
- Test agent invocations end-to-end
270243

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
276248

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
282252

283253
### Review Gates
284254

285255
- **Pre-implementation:** Design review with @jaruesink (this spec)
286-
- **Post-migration:** Validation with one real project (sign-off: successful agent run)
287-
- **Pre-announce:** Documentation completeness check (setup guide, migration guide, FAQ)
256+
- **Post-implementation:** All agent workflows tested successfully
288257

289258
### Analytics & QA Requirements
290259

291260
**Validation Signals:**
292-
- Setup time measured via stopwatch during test runs
293-
- Zero clarification questions needed during setup by unfamiliar developer
294-
- All agents execute successfully in migrated structure
295-
- At least one Lambda Curry project adopts within 30 days
296-
297-
**Rollback Plan:**
298-
If validation fails, revert to flat `.devagent/` structure and document lessons learned in feature hub.
261+
- All agents execute successfully in new structure
262+
- Path references correctly use `core/` and `workspace/` conventions
263+
- Documentation complete and accurate
299264

300265
## Approval & Ops Readiness
301266

@@ -306,9 +271,7 @@ If validation fails, revert to flat `.devagent/` structure and document lessons
306271
### Operational Checklist
307272
- [ ] Update onboarding documentation with new structure
308273
- [ ] Add setup instructions to DevAgent repository README
309-
- [ ] Create migration guide for existing projects
310-
- [ ] Announce change in Lambda Curry team channel
311-
- [ ] Monitor adoption and address blockers within 48 hours
274+
- [ ] Create `core/README.md` with usage guide
312275

313276
## Appendices & References
314277

0 commit comments

Comments
 (0)