microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
hve-core-v2.3.9

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/agents/github-backlog/execution.md

131lines · modecode

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