microsoft/hve-core

Public

mirrored fromhttps://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
940773c7065ca3c06217d8ebda68b40571cd73f3

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/agents/github-backlog/execution.md

132lines · modecode

1---
2title: Execution Workflow
3description: Apply triage and planning recommendations to GitHub issues through structured handoff consumption
4sidebar_position: 6
5author: Microsoft
6ms.date: 2026-02-12
7ms.topic: tutorial
8keywords:
9 - github backlog manager
10 - issue execution
11 - handoff
12 - github copilot
13estimated_reading_time: 5
14---
15
16The Execution workflow consumes handoff files from triage and sprint planning, applying approved changes to GitHub issues. It tracks progress through checkbox-based handoff logs and produces operation reports for audit and recovery.
17
18## When to Use
19
20* ✅ Triage or sprint planning handoff files are ready for application
21* 🏷️ Applying label changes, milestone assignments, or issue closures in bulk
22* 🔗 Linking duplicate issues and closing the redundant copies
23* 📝 Updating issue metadata across multiple issues in a single session
24
25## What It Does
26
271. Reads handoff files from triage or sprint planning workflows
282. Validates each recommended operation against current issue state
293. Applies approved changes (labels, milestones, closures, comments) via GitHub MCP tools
304. Marks each handoff checkbox as complete after successful application
315. Produces an operation log documenting what changed and what was skipped
32
33> [!NOTE]
34> Execution only processes checked items in the handoff file. Uncheck any recommendation you want to skip before starting the execution workflow.
35
36## Handoff Consumption
37
38The execution workflow uses checkbox-based progress tracking in handoff files:
39
40```markdown
41## Pending Operations
42
43- [x] #42 - Add label: bug (applied)
44- [x] #42 - Assign milestone: v2.1 (applied)
45- [ ] #57 - Close as duplicate of #42 (skipped - unchecked)
46- [x] #63 - Add label: documentation (applied)
47```
48
49Each line represents one atomic operation. The workflow processes checked items sequentially, validating current issue state before each change. If an issue has been modified since triage (new labels added, milestone changed, issue closed), the workflow flags the conflict and skips that operation rather than overwriting recent changes.
50
51## Operation Logging
52
53Every execution session produces a structured log:
54
55* Operations attempted with timestamps
56* Success and failure counts with error details
57* Issues skipped due to state conflicts
58* API rate limit status at session end
59
60This log supports recovery when execution is interrupted. Re-running execution on the same handoff file picks up where it left off because completed items are already checked.
61
62## Output Artifacts
63
64```text
65.copilot-tracking/github-issues/<planning-type>/<scope-name>/
66└── handoff-logs.md # Per-operation processing status (created next to consumed handoff)
67```
68
69The consumed handoff file is updated in place as operations complete, marking checkboxes for processed items. The handoff log records per-operation results with processing status, supporting recovery when execution is interrupted.
70
71## How to Use
72
73### Option 1: Prompt Shortcut
74
75```text
76Execute the triage handoff for microsoft/hve-core
77```
78
79```text
80Apply sprint planning assignments from my latest planning session
81```
82
83### Option 2: Direct Agent
84
85Attach or reference the handoff file when starting an execution conversation. The agent reads the pending operations and begins processing checked items.
86
87## Example Prompt
88
89```text
90Execute the triage handoff at .copilot-tracking/github-issues/triage/2026-02-10/triage-plan.md.
91Skip any operations on issues that have been updated in the last 24 hours.
92```
93
94## Tips
95
96✅ Do:
97
98* Review handoff files before execution and uncheck operations you want to skip
99* Run execution in a clean session (use `/clear` after triage or planning)
100* Check the operation log after execution to verify all changes applied correctly
101* Re-run execution if interrupted; completed checkboxes prevent duplicate operations
102
103❌ Don't:
104
105* Execute handoffs without reviewing the recommendations first
106* Modify the checkbox format in handoff files (the workflow depends on the `- [ ]` / `- [x]` syntax)
107* Run execution while other team members are actively editing the same issues
108* Combine triage and planning handoffs in a single execution session
109
110## Common Pitfalls
111
112| Pitfall | Solution |
113|--------------------------------------|--------------------------------------------------------------------------|
114| Autonomy level mismatches | Set the expected autonomy level before execution (full, partial, manual) |
115| Stale handoff data | Re-run discovery and triage if the handoff is more than a few days old |
116| Partial execution after interruption | Re-run execution on the same handoff; completed items are skipped |
117| Rate limiting during bulk operations | The workflow pauses automatically and resumes; check the operation log |
118
119## Next Steps
120
1211. Review the execution log for any skipped operations or conflicts
1222. See [Using Workflows Together](using-together.md) for iterating through the full pipeline after execution
123
124> [!TIP]
125> For large handoffs with many operations, consider executing in batches by checking only a subset of items at a time. This makes review easier and reduces the blast radius of any unexpected changes.
126
127---
128
129<!-- markdownlint-disable MD036 -->
130*🤖 Crafted with precision by ✨Copilot following brilliant human instruction,
131then carefully refined by our team of discerning human reviewers.*
132<!-- markdownlint-enable MD036 -->
133