microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
hve-core-v2.3.8

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/rpi/task-implementor.md

183lines · modecode

1---
2title: Task Implementor Guide
3description: Use the Task Implementor custom agent to execute implementation plans with precision and tracking
4author: Microsoft
5ms.date: 2026-01-24
6ms.topic: tutorial
7keywords:
8 - task implementor
9 - rpi workflow
10 - implementation phase
11 - github copilot
12estimated_reading_time: 4
13---
14
15The Task Implementor custom agent transforms planning files into working code. It executes plans task by task, tracks all changes, and supports stop controls for review between phases.
16
17## When to Use Task Implementor
18
19Use Task Implementor after completing planning when you need:
20
21* ⚡ **Precise execution** following the plan exactly
22* 📝 **Change tracking** documenting all modifications
23* ⏸️ **Stop controls** for review between phases
24* ✅ **Verification** that success criteria are met
25
26## What Task Implementor Does
27
281. **Reads** the plan phase by phase, task by task
292. **Loads** only needed details using line ranges
303. **Implements** code following workspace conventions
314. **Tracks** changes in a changes log
325. **Verifies** success criteria before marking complete
336. **Pauses** at stop points for your review
34
35> [!NOTE]
36> **Why the constraint matters:** Task Implementor has one job: execute the plan using patterns documented in research. No time wasted rediscovering conventions, no "creative" decisions that break existing patterns—just verified facts applied methodically.
37
38## Output Artifacts
39
40Task Implementor creates working code and a changes log:
41
42```text
43.copilot-tracking/
44└── changes/
45 └── {{YYYY-MM-DD}}-<topic>-changes.md # Log of all changes made
46```
47
48Plus all the actual code files created or modified during implementation.
49
50## How to Use Task Implementor
51
52### Step 1: Clear Context
53
54🔴 **Start with `/clear` or a new chat** after Task Planner completes.
55
56### Step 2: Select the Custom Agent
57
581. Open GitHub Copilot Chat (`Ctrl+Alt+I`)
592. Click the agent picker dropdown
603. Select **Task Implementor**
61
62### Step 3: Reference Your Plan
63
64Use `/task-implement` to start execution. The prompt automatically locates the plan and switches to Task Implementor. Alternatively, provide the path to your plan file directly.
65
66### Step 4: Set Stop Controls
67
68Choose your review cadence:
69
70* `phaseStop=true` (default): Pause after each phase
71* `taskStop=true`: Pause after each task
72* Both false: Run to completion
73
74### Step 5: Review and Continue
75
76At each stop point:
77
781. Review the changes made
792. Verify code compiles and lints
803. Approve or request adjustments
814. Continue to next phase/task
82
83## Example Prompt
84
85```text
86/task-implement
87```
88
89Or reference a specific generated prompt:
90
91```text
92/implement-blob-storage
93```
94
95## Understanding Stop Controls
96
97### Phase Stop (Default: true)
98
99Pauses after completing all tasks in a phase:
100
101```text
102Phase 1: [x] Task 1.1, [x] Task 1.2 → STOP for review
103Phase 2: [ ] Task 2.1, [ ] Task 2.2
104```
105
106### Task Stop (Default: false)
107
108Pauses after each individual task:
109
110```text
111Phase 1: [x] Task 1.1 → STOP
112 [ ] Task 1.2
113```
114
115## Tips for Better Implementation
116
117✅ **Do:**
118
119* Review changes at each stop point
120* Run linters and validators
121* Check that success criteria are met
122* Ask for adjustments before continuing
123
124❌ **Don't:**
125
126* Skip reviewing changes
127* Ignore failing tests or lints
128* Rush through all phases without checking
129
130## The Changes Log
131
132Task Implementor maintains a changes log with sections:
133
134```markdown
135## Changes
136
137### Added
138* src/storage/blob_client.py - Azure Blob Storage client class
139
140### Modified
141* src/pipeline/config.py - Added blob storage configuration
142
143### Removed
144* (none this implementation)
145```
146
147## At Completion
148
149When all phases are complete, Task Implementor provides:
150
1511. **Summary** of all changes from the changes log
1522. **Links** to planning files for reference
1533. **Recommendation** to proceed to review
154
155## Common Pitfalls
156
157| Pitfall | Solution |
158|-------------------------|------------------------------------------|
159| Plan not found | Complete Task Planner first |
160| Skipping reviews | Use phaseStop=true for important changes |
161| Not running validations | Check lint/test after each phase |
162
163## Next Steps
164
165After Task Implementor completes:
166
1671. **Clear context** using `/clear` or starting a new chat
1682. **Review** using `/task-review` to switch to [Task Reviewer](task-reviewer.md)
1693. **Address findings** from the review before committing
1704. **Commit** your changes with a descriptive message
1715. **Clean up** planning files if no longer needed
172
173> [!TIP]
174> Use the **✅ Review** handoff button when available to transition directly to Task Reviewer with context.
175
176For your next task, you can start the RPI workflow again with Task Researcher.
177
178---
179
180<!-- markdownlint-disable MD036 -->
181*🤖 Crafted with precision by ✨Copilot following brilliant human instruction,
182then carefully refined by our team of discerning human reviewers.*
183<!-- markdownlint-enable MD036 -->
184