Session M7-03 lab: Create, check, and correct a GitHub issue plan¶
Duration: 2 hours
Difficulty: Intermediate
Lab outcome¶
Create a reviewed GitHub issue hierarchy through MCP. Read the issues back to check what was saved. Make one focused correction and read it back again.
Boundary: Copilot proposes, you approve each write, and a fresh GitHub read confirms it. Work only in the training repository.
| Part | Work | Time |
|---|---|---|
| 1 | Check GitHub MCP and write access | 15 min |
| 2 | Read the source and existing GitHub state | 20 min |
| 3 | Design and review the issue hierarchy | 30 min |
| 4 | Preview and create the issues | 35 min |
| 5 | Check and correct one issue | 20 min |
Before you start¶
Complete the track capability setup.
Part 1: Check GitHub MCP and write access (15 minutes)¶
In the GitHub Copilot app:
- open Customize → MCP → Installed;
- check that the approved GitHub MCP connection is available;
- start a session for the training repository;
- ask Copilot to list the GitHub tools it can use;
- ask it to retrieve the repository name and five open issues;
- check that you have issue-write permission.
GitHub MCP is built into Copilot CLI. CLI users can inspect it with:
If /mcp differs in your version, run /help or copilot mcp list in a terminal.
If the connection is missing, use Customize → MCP to install or configure the GitHub server. Never paste a token into a prompt or repository file.
Part 2: Read the source and existing GitHub state (20 minutes)¶
Attach the approved Session M7-02 decision brief and issue proposal. Use
starter/approved-decision-brief.md when those artifacts are unavailable.
Ask Copilot to:
- summarize the approved outcome, non-goals, results needed for acceptance, and owners;
- retrieve available labels and milestones;
- search open and closed issues for matching live work (use
starter/existing-issues.jsononly if the repository has no seeded issues); - report every GitHub MCP read it used;
- identify any decision in the proposal that is absent from the brief.
Classify each candidate as duplicate, partial overlap, conflict, or unrelated. Record what you will do with it and why in the issue plan.
Checkpoint: No issue is proposed until the source and existing repository state have both been read.
Part 3: Design and review the issue hierarchy (30 minutes)¶
Copy starter/issue-plan-template.md into your working folder.
This file is a temporary preview. Don't commit it. The live issues replace it.
Ask Copilot to propose:
- one parent issue for the approved outcome;
- four child issues: public status mapping, requester status view, empty and stale states, and requester-access verification;
- dependencies and parallel work;
- acceptance criteria and non-goals;
- source links to the decision brief;
- ownership gaps left unassigned.
Review the plan before any write.
These four roles feed Sessions M7-04 and M7-05. A fifth issue is optional and stays outside the four orchestration workstreams.
Reuse or update an existing issue when it owns part of the approved outcome. Link a closed duplicate for context. Do not merge conflicting or out-of-scope work.
Reject or revise an issue that:
- combines unrelated outcomes;
- duplicates existing work;
- gives reviewers no way to check acceptance;
- invents an assignee, label, milestone, or date;
- includes work excluded by the decision brief.
Checkpoint: Every child issue traces to a decision and can be reviewed independently.
Part 4: Preview and create the issues (30 minutes)¶
Send this prompt:
Before using a GitHub write tool, show the repository owner and name, issue count,
full title and body for every issue, labels, milestone, parent-child references,
dependencies, and every field left unset. Wait for my approval.
Compare the preview with the issue plan. Revise it until it is safe to approve.
After approval, ask Copilot to create the issues through GitHub MCP. Save each returned issue number and URL in the parent issue or its linked child issues.
Checkpoint: The live hierarchy contains one parent and the four required child roles in the approved repository. Reuse existing issues that cover a required role. The hierarchy may also contain one optional fifth child.
Part 5: Check and correct one issue (15 minutes)¶
Start a new Copilot request. Don't reuse the create response.
Ask Copilot to retrieve the created issues through GitHub MCP. Compare the saved issues with the approved plan:
- title and body;
- acceptance criteria and non-goals;
- labels and milestone;
- source links and relationships;
- ownership fields.
Choose one child issue and add the missing section that names who will check the work and which decision it follows:
Require a full update preview. Approve the focused write, then retrieve the issue again and check the new section is present.
Checkpoint: Fresh reads show that GitHub saved both the issues and the correction.
Link every child issue from the parent. Mark the four required roles and label any optional fifth child as outside the Session M7-05 workstreams. Session M7-04 reads this live issue set through GitHub MCP.
Final deliverable¶
- One parent issue and four required child issues (plus an optional fifth) in the training repository.
- A parent issue that links every child and records dependency order, open ownership, and your decisions about existing work.
- One child issue corrected and read back from GitHub.
- A short note that names the issue numbers and the correction you checked.