Skip to content

Add Copilot Automation group and task status tools - #75925

Merged
pelikhan merged 5 commits into
mainfrom
copilot/update-github-mcp-tools-mapping
Nov 8, 2026
Merged

pelikhan merged 5 commits into
mainfrom
copilot/update-github-mcp-tools-mapping

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

The GitHub MCP toolset mapping was missing five remote Copilot tools. Add them to the copilot toolset and document their purpose and key parameters.

  • Mapping: Add get_automation_group, list_automation_groups, get_automations_configuration_for_repository, get_copilot_task_status, and get_copilot_session_events; bump the mapping version to 2.7.
  • Reference: Update the Copilot tool reference and description.
  • Coverage: Extend the existing mapping test to assert all five tools are included.

Copilot AI changed the title [WIP] [mcp-tools] Update GitHub MCP toolsets mapping with Copilot Automation group and task status tools Add Copilot Automation group and task status tools Nov 8, 2026
Copilot AI requested a review from pelikhan November 8, 2026 17:32
@pelikhan
pelikhan marked this pull request as ready for review November 8, 2026 17:37
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 17:37
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from PR Specification Reviewer · gpt56 · ~2 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.7K · ◷

Generated by PR Specification Reviewer for #75925

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: gpt56 max · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.7K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: gpt56 max · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 6.3K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt56 max · ~2 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 118 · ◷

Generated by Ponytail Reviewer for #75925

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changed toolset mapping, reference documentation, and coverage. I found no actionable correctness or regression issues in the changed lines. The new entries are consistently added to the JSON mapping, documentation, and membership test. Static review only; tests were not run per review constraints.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The five new tools are mapped, documented, and covered by regression tests, with no active review issues remaining.

No open issues 🎉

What changed in this PR

This pull request adds five remote Copilot Automation and task-status tools to the copilot toolset, updates the mapping metadata and documentation, and extends regression coverage.

Changes:

  • Added get_automation_group, list_automation_groups, get_automations_configuration_for_repository, get_copilot_task_status, and get_copilot_session_events.
  • Bumped the mapping version from 2.6 to 2.7.
  • Documented the new tools, purposes, and key parameters.
  • Extended tests to verify all five tools are mapped.
  • Review note: Update .github/aw/github-mcp-server.md:77 so its copilot toolset overview also mentions the newly added task-status tools.
File Description
pkg/​workflow/​permissions_validator_json_test.go Verifies the five newly mapped Copilot tools are included.
pkg/​workflow/​data/​github_toolsets_permissions.json Adds the tools to the copilot mapping and updates its description and version.
.github/​aw/​github-mcp-server-tools.md Documents the new tools, their purposes, parameters, and remote-service note.

Review effort: Lite (auto)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /tdd, /codebase-design, and /grill-with-docs. No blocking issues. The data sync is consistent: the JSON mapping, the doc table, and the test agree on the five added copilot tools, and TestGitHubMCPGovernanceAndAutomationToolsets plus the related permissions tests pass.

📋 Key Themes & Highlights

Key Themes

  • Permission coupling: write_permissions is per toolset, so the new read-only tools inherit issues/pull-requests write scopes. Existing read-only tools already do this, so it is a follow-up rather than a blocker.
  • Test strictness: the test uses assert.Contains, so it does not catch unexpected additions or JSON/doc drift.
  • Unverified parameters: the key-parameter names in the doc are not backed by anything in this repo.

Positive Highlights

  • ✅ Mapping version bumped to 2.7 and the description updated consistently in both the JSON and the doc.
  • ✅ The test was extended to cover all five new tools.
  • ✅ The doc note was updated to cover task-status tools.

Notes

  • I did not invoke the pr-triage agent. The change is three small files, so I classified it directly from the diff.
  • Review is against PR head a4e6dcc. The local checkout has an uncommitted edit to the doc that reverts the copilot section; it is not part of this PR and I did not change it.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~4 AIC · ⌖ ~2 AIC · ⊞ 5.4K
Comment /matt to run again

"get_automation_revision",
"get_automations_configuration_for_repository",
"get_copilot_session_events",
"get_copilot_task_status",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/codebase-design] get_copilot_task_status is read-only, but write_permissions (issues, pull-requests, line 32) applies to every tool in the copilot toolset, so enabling any read tool here now requires write scopes. The existing get_automation and list_automations already share this coupling, so it is not a blocker for this PR.

💡 Suggested follow-up

Track this separately: move read-only Automation and task-status tools into a toolset with read_permissions only, or document the coupling in the toolset description. Keeping this PR as a data sync avoids changing permission semantics for existing tools.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documented the Copilot toolset-wide issues and pull-requests write-permission coupling in both the mapping description and tool reference. Permission semantics are unchanged. Commit: 5862a04f.

Comment thread .github/aw/github-mcp-server-tools.md Outdated
| `get_automation_group` | Get a repository Automation group and its visible members | `owner`, `repo`, `group_id` |
| `get_automation_revision` | Get a Copilot Automation revision | `owner`, `repo`, `automation_id`, `revision_id` |
| `get_automations_configuration_for_repository` | Get Copilot Automations configuration for a repository | `owner`, `repo` |
| `get_copilot_session_events` | Read a chronological page of Copilot session events | `session_id`, `page_number` or `after`, `page_size` |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/grill-with-docs] The key-parameter column for the new tools (here page_number or after, page_size; also group_id on get_automation_group, line 37) is not backed by anything in this repo. The note on line 49 says the placement is unconfirmed, and readers will likely treat these parameter names as authoritative.

💡 Suggested change

Cite the upstream schema in the PR description, or mark the parameter names as provisional in the note so readers know to verify them against the live MCP service.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the new remote-only tool rows to Remote schema and clarified that this repository neither defines their parameters nor confirms their public upstream placement. Commit: 5862a04f.

"get_automation_revision",
"get_automations_configuration_for_repository",
"get_copilot_session_events",
"get_copilot_task_status",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/tdd] The expected list is hand-maintained and uses assert.Contains, so it catches removals but not unexpected additions. Nothing ties the list to the doc table either, so a drift between the JSON and .github/aw/github-mcp-server-tools.md would pass silently.

💡 Suggested change

Assert the exact set with assert.ElementsMatch(t, []string{...}, copilot.Tools). Optionally add a parity check that parses the copilot table in the doc and compares it with copilot.Tools.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a parity assertion that parses the Copilot reference table and compares its exact tool set with the JSON mapping; unexpected additions and documentation drift now fail. Commit: 5862a04f.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/workflow/data/github_toolsets_permissions.json:41): [/codebase-design] get_copilot_task_status is read-only, but write_permissions (issues, pull-requests, line 32) applies to every tool in the copilot toolset, so enabling any read tool here now requires write scopes. The existing get_automation and list_automations already share this coupling, so it is not a blocker for this PR. - Add Copilot Automation group and task status tools #75925 (comment)
  3. Review (.github/aw/github-mcp-server-tools.md:40): [/grill-with-docs] The key-parameter column for the new tools (here page_number or after, page_size; also group_id on get_automation_group, line 37) is not backed by anything in this repo. The note on line 49 says the placement is unconfirmed, and readers will likely treat these parameter names as authoritative. - Add Copilot Automation group and task status tools #75925 (comment)
  4. Review (pkg/workflow/permissions_validator_json_test.go:77): [/tdd] The expected list is hand-maintained and uses assert.Contains, so it catches removals but not unexpected additions. Nothing ties the list to the doc table either, so a drift between the JSON and .github/aw/github-mcp-server-tools.md would pass silently. - Add Copilot Automation group and task status tools #75925 (comment)
  5. Fix failing check impacted-go-tests (FAILURE): https://github.com/github/gh-aw/actions/runs/42505889381/job/128808420485.
  6. Fix failing check impacted-go-tests (FAILURE): https://github.com/github/gh-aw/actions/runs/42505224889/job/128806400970.

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: a4e6dcc
Sous-chef requested-work: 22879038f337e518f13915e1ccb0d63c106330a66084405e87a99d80fa314e09 2dcd855311f716eb0a4927db1005f1d4f22b24e0b5bfbb24334d6e026a26e449 42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac 7a140ca9697ae839aee140da52d05499cd3e1b4b6bc609dc60d55f0ce873783e
Sous-chef requested-state: 8bb0c00b1e7a156ebf2e1f5fc4e66ca7489c3571e9bb4e656bd370abfe50a5ee

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~9 AIC · ⌖ ~16 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

Copilot assignment requested for the following outstanding work:...

Sous-chef requested-head: a4e6dcc
Sous-chef requested-work: 22879038f337e518f13915e1ccb0d63c106330a66084405e87a99d80fa314e09 2dcd855311f716eb0a4927db1005f1d4f22b24e0b5bfbb24334d6e026a26e449 42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac 7a140ca9697ae839aee140da52d05499cd3e1b4b6bc609dc60d55f0ce873783e
Sous-chef requested-state: 8bb0c00b1e7a156ebf2e1f5fc4e66ca7489c3571e9bb4e656bd370abfe50a5ee

@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts on this branch.

…-mcp-tools-mapping

# Conflicts:
#	pkg/workflow/awf_config_conformance_registry_formal_test.go

Co-authored-by: pelikhan <[email protected]>

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts on this branch.

Resolved in a47f51b8 by merging latest main and keeping its corrected conformance-registry parser. Copilot tool additions and review fixes are preserved. Targeted tests and make agent-report-progress passed.

@pelikhan
pelikhan merged commit 37fe23b into main Nov 8, 2026
47 checks passed
@pelikhan
pelikhan deleted the copilot/update-github-mcp-tools-mapping branch November 8, 2026 20:50
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[mcp-tools] Update GitHub MCP toolsets mapping with Copilot Automation group and task status tools

4 participants