microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
6b5ae0678c3a450006e30add31f0a795c1459ea3

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/agents/github-backlog/using-together.md

160lines · modecode

1---
2title: Using Workflows Together
3description: Connect discovery, triage, sprint planning, and execution into a complete backlog management pipeline
4sidebar_position: 7
5author: Microsoft
6ms.date: 2026-02-12
7ms.topic: tutorial
8keywords:
9 - github backlog manager
10 - workflow pipeline
11 - github copilot
12 - backlog management
13estimated_reading_time: 8
14---
15
16Each backlog manager workflow handles one phase of issue management. Connecting them creates a pipeline that takes issues from discovery through execution, with structured handoffs ensuring nothing falls through the cracks.
17
18## The Pipeline
19
20```text
21┌───────────┐ ┌────────┐ ┌─────────────────┐ ┌───────────┐
22│ Discovery │ ──→│ Triage │ ──→│ Sprint Planning │ ──→│ Execution │
23└───────────┘ └────────┘ └─────────────────┘ └───────────┘
24 ↑ │
25 └──────────────── Iterate ─────────────────────────────┘
26```
27
28The pipeline is linear but not rigid. Skip sprint planning when you only need to apply labels. Return to discovery after execution when new issues surface. Each workflow reads its predecessor's output files, so the pipeline works as long as the handoff artifacts exist.
29
30## Clear Context Between Workflows
31
32Each workflow operates within its own session context. Mixing workflows in a single session produces unreliable results because the agent carries forward assumptions from the previous workflow.
33
34Between each workflow:
35
361. Type `/clear` to reset the conversation context
372. Attach or reference the output files from the previous workflow
383. Start the next workflow with a fresh prompt
39
40This is the single most important practice for reliable pipeline execution. The `/clear` step takes seconds and prevents hours of debugging misapplied labels or incorrect milestone assignments.
41
42> [!IMPORTANT]
43> The `/clear` step between workflows is not optional. Each workflow loads specific instruction files and planning artifacts. Stale context from a previous workflow interferes with the current workflow's classification logic.
44
45All GitHub-facing comments (issue replies, label rationale, duplicate explanations) follow the voice and tone rules defined in `community-interaction.instructions.md`. This instruction file loads automatically when the backlog manager agents operate, so you do not need to configure it separately.
46
47## End-to-End Walkthrough
48
49This walkthrough covers a realistic pipeline run for a repository with accumulated issues that have not been reviewed.
50
51### Step 1: Discover Issues
52
53Start with a scoped discovery pass:
54
55```text
56Discover all open issues in microsoft/hve-core that are unassigned
57and don't have a milestone. Include issues labeled "needs-triage".
58```
59
60Discovery produces analysis files in `.copilot-tracking/github-issues/discovery/hve-core/`. Review the issue analysis to confirm the scope is correct before proceeding.
61
62### Step 2: Clear and Triage
63
64```text
65/clear
66```
67
68Then start triage:
69
70```text
71Triage the issues from my latest discovery session for microsoft/hve-core.
72Flag duplicates with confidence scores and suggest labels using the
73standard taxonomy.
74```
75
76Review the triage plan at `.copilot-tracking/github-issues/triage/<YYYY-MM-DD>/triage-plan.md`. Adjust any label suggestions or duplicate flags before continuing.
77
78### Step 3: Clear and Plan
79
80```text
81/clear
82```
83
84Then plan the sprint:
85
86```text
87Plan sprint assignments for microsoft/hve-core using the triage results.
88Assign high-priority bugs to the v2.1 milestone and enhancements to v2.2.
89```
90
91Review the sprint plan and handoff file. Adjust milestone assignments for any issues where the automatic mapping doesn't fit.
92
93### Step 4: Clear and Execute
94
95```text
96/clear
97```
98
99Then execute:
100
101```text
102Execute the sprint planning handoff for microsoft/hve-core. Apply all
103checked operations in the handoff file.
104```
105
106Check the execution log for any skipped operations or state conflicts.
107
108### Step 5: Iterate
109
110Review the execution results. If new issues were discovered during the process, or if some operations were skipped due to conflicts, return to discovery or triage for another pass.
111
112## Planning File Lifecycle
113
114Planning files move through three states during the pipeline:
115
116| State | Location | Created By | Consumed By |
117|---------------|-------------------------------------------|-----------------|-------------|
118| Analysis | `discovery/<scope>/issue-analysis.md` | Discovery | Triage |
119| Triage Plan | `triage/<YYYY-MM-DD>/triage-plan.md` | Triage | Execution |
120| Sprint Plan | `sprint/<milestone-kebab>/handoff.md` | Sprint Planning | Execution |
121| Execution Log | `<planning-type>/<scope>/handoff-logs.md` | Execution | User review |
122
123Files are created once and updated in place. The execution workflow marks checkboxes in handoff files as it processes each operation, providing a built-in audit trail.
124
125## Iteration Model
126
127Most backlogs require multiple passes through the pipeline. The iteration model supports this with three patterns:
128
129* Full cycle: Run all four workflows when starting a new sprint or onboarding a new repository
130* Triage-execute: Skip sprint planning when applying label corrections or closing duplicates
131* Discovery-only: Run discovery periodically to monitor for new issues without immediate action
132
133Each pass produces independent output files scoped by date and target, so previous results are preserved for comparison.
134
135## Artifact Summary
136
137| Workflow | Input | Output | Key File |
138|-----------------|------------------|---------------------------------------|---------------------|
139| Discovery | Repository scope | Issue inventory and recommendations | `issue-analysis.md` |
140| Triage | Discovery output | Label suggestions and duplicate flags | `triage-plan.md` |
141| Sprint Planning | Triage output | Milestone assignments and sequencing | `handoff.md` |
142| Execution | Handoff files | Applied changes and operation log | `handoff-logs.md` |
143
144## Quick Reference
145
146| Task | Workflow | Prompt Example |
147|-----------------------------|--------------------|--------------------------------------------------|
148| Survey open issues | Discovery | "Discover open issues assigned to me" |
149| Assign labels to new issues | Triage | "Triage issues from my latest discovery" |
150| Find and close duplicates | Triage + Execution | "Check for duplicates and close confirmed ones" |
151| Plan the next sprint | Sprint Planning | "Plan sprint assignments for the v2.1 milestone" |
152| Apply all recommendations | Execution | "Execute the triage handoff" |
153| Full backlog review | All four workflows | Run each in sequence with `/clear` between them |
154
155---
156
157<!-- markdownlint-disable MD036 -->
158*🤖 Crafted with precision by ✨Copilot following brilliant human instruction,
159then carefully refined by our team of discerning human reviewers.*
160<!-- markdownlint-enable MD036 -->
161