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 TaskPromptBuilder and related documentation to align with new directory structure. Key updates include:
- Updated resource strategy to reflect changes in task storage paths, emphasizing the use of `workspace/` for project-specific artifacts.
- Revised output packaging instructions to ensure task prompt files are created directly in the new structure.
- Clarified validation and communication expectations for task outputs.
These changes enhance clarity and usability for developers implementing task prompts within the updated DevAgent framework.
Copy file name to clipboardExpand all lines: .devagent/agents/TaskPromptBuilder.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@
11
11
- Request missing info by sending a short checklist covering source, base branch, constraints, and research availability; pause until the source reference, base branch, and repo entry points are confirmed.
12
12
13
13
## Resource Strategy
14
-
-`.devagent/features/<feature_slug>/tasks/` — canonical storage; create a dated file per active task using the template. `feature_slug` matches the feature hub, while `task_slug` maps to the spec or external issue id.
15
-
-`.devagent/templates/task-prompt-template.md` — reusable structure for metadata, narrative context, implementation plan, acceptance criteria, and task pack (create/update if the structure evolves).
16
-
-`.devagent/features/<feature_slug>/spec/` & `.devagent/features/<feature_slug>/research/` — cite relevant sections when producing prompts.
14
+
-`.devagent/workspace/features/<feature_slug>/tasks/` — canonical storage; **create a dated file per active task** using the template (e.g., `2025-10-01_task-1-slug.md`). `feature_slug` matches the feature hub, while `task_slug` maps to the spec or external issue id.
15
+
-`.devagent/core/templates/task-prompt-template.md` — reusable structure for metadata, narrative context, implementation plan, acceptance criteria, and task pack (create/update if the structure evolves).
16
+
-`.devagent/workspace/features/<feature_slug>/spec/` & `.devagent/workspace/features/<feature_slug>/research/` — cite relevant sections when producing prompts.
17
17
- #ResearchAgent — pull in missing evidence or clarify ambiguous requirements before finalizing prompts.
18
18
- #TaskPlanner — sanity-check grouping or sequencing when scope spans multiple milestones.
19
19
- Escalate to requester if source materials conflict or research is missing for high-risk tasks.
@@ -37,7 +37,7 @@
37
37
-`file_hints` list of repo paths likely to be touched during execution
38
38
-`context_refs` list of source docs, research files, and code paths for deeper reading
39
39
7.**Validation:** Self-check coverage against source objectives, ensure metadata fields are complete, confirm every section has citations or file hints, and verify formatting against the updated template.
40
-
8.**Output packaging & handoff:**Save to `.devagent/features/<feature_slug>/tasks/YYYY-MM-DD_<task_slug>.md`. Append the status log with a timestamped entry, then notify downstream agents (#TaskPlanner/#Executor) and log unresolved items in `.devagent/product/guiding-questions.md` if needed.
40
+
8.**Output packaging & handoff:****Write the complete task prompt file**to `.devagent/workspace/features/<feature_slug>/tasks/YYYY-MM-DD_<task_slug>.md` using the template structure. Append the status log with a timestamped entry, then notify downstream agents (#TaskPlanner/#Executor) and log unresolved items in `.devagent/workspace/product/guiding-questions.md` if needed.
41
41
42
42
## Adaptation Notes
43
43
- For small fixes, compress steps 4-6 into a single task with embedded checklist but still include base branch confirmation, file hints, and an execution prompt.
@@ -50,8 +50,9 @@
50
50
- No authoritative research for high-risk work — create blocker note and loop in #ResearchAgent.
51
51
52
52
## Expected Output
53
-
- Artifact: Updated `.devagent/features/<feature_slug>/tasks/YYYY-MM-DD_<task_slug>.md` containing the filled template (metadata, narrative context, implementation plan, acceptance criteria, task pack, status log, research links).
54
-
- Communication: Brief summary in team channel or hand-off note listing task ids, blockers, dependencies, and base branch sync info.
53
+
-**Artifact:** Complete task prompt file written to `.devagent/workspace/features/<feature_slug>/tasks/YYYY-MM-DD_<task_slug>.md` containing the filled template (metadata, narrative context, implementation plan, acceptance criteria, task pack, status log, research links).
54
+
-**Communication:** Brief summary in team channel or hand-off note listing task ids, blockers, dependencies, and base branch sync info.
55
+
-**Action:** The agent should create/write the file directly, not just describe what should be in it.
55
56
56
57
## Follow-up Hooks
57
58
- Downstream agents: #Executor consumes prompts; #TaskPlanner monitors sequencing and status log; #ResearchAgent handles flagged gaps.
Copy file name to clipboardExpand all lines: .devagent/features/2025-10-01_core-workspace-split/tasks/2025-10-01_implementation-plan.md
+11-47Lines changed: 11 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
10
10
## Summary
11
11
12
-
Restructure `.devagent/` directory into `core/` (portable agent kit) and `workspace/` (project-specific artifacts) to enable easy DevAgent setup across new projects. The plan executes in 4 phases: (1) directory structure creation and file moves, (2) agent path reference updates across 12 agent files with 79+ path references, (3) documentation updates, (4) validation testing. Clean cut approach - no backwards compatibility needed.
12
+
Restructure `.devagent/` directory into `core/` (portable agent kit) and `workspace/` (project-specific artifacts) to enable easy DevAgent setup across new projects. The plan executes in 3 phases: (1) directory structure creation and file moves, (2) agent path reference updates across 12 agent files with 79+ path references, (3) documentation updates. Clean cut approach - no backwards compatibility needed.
13
13
14
14
## Scope & Assumptions
15
15
@@ -109,9 +109,9 @@ Restructure `.devagent/` directory into `core/` (portable agent kit) and `worksp
109
109
- Acceptance: Template paths use `core/`, feature paths use `workspace/`
110
110
-**Validation plan:** Run `grep -r "\.devagent/\(agents\|templates\|features\|memory\|product\|research\)" .devagent/core/agents/` to verify no old path patterns remain
0 commit comments