Skip to content

[Copilot Dreaming] Avoid invalid setup and tool use; remove misleading prerequisites - #3954

Open
Copilot wants to merge 27 commits into
mainfrom
copilot/dream-curate-memories-20261126055242
Open

Copilot wants to merge 27 commits into
mainfrom
copilot/dream-curate-memories-20261126055242

Conversation

@Copilot

Copilot AI commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

🧠 How this helps Copilot

Development guidance can otherwise select no test, point to a retired REST mock, or require unnecessary personal-token setup. Using the supported testing and authentication contracts avoids those misleading starting points.

Workflow diagnosis can mistake a partial failed-log result for the whole run. Bounded coverage and a route to other jobs avoid that assumption; removing a duplicate one-call listing claim reduces upkeep for the same workflow.

Project guidance can rule out supported view updates. Following the implemented visible-field inputs avoids that restriction, while removing unavailable account-field guidance avoids an unsupported lookup.

A missing optional delegation tool can otherwise turn a suggestion into a launch without approval. Preserving the approval boundary and removing the duplicate unconditional fallback keeps the two actions distinct.

Repository edits can demand inputs that their selected operation does not accept. Scoping branch, path and SHA duties to the applicable file writers, and removing the duplicate overbroad SHA prerequisite, avoids those invalid steps without weakening file-read or confirmation duties.

Review commit by commit for each change's rationale and evidence.

Note

Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.

Automated details

Source: curate-memories Dream, analyzing main at 7edc2dd.

Discarded guidance: Merge-policy wording stays unchanged because workflow event filters do not establish hosted merge requirements. The event-permissions explanation also stays unchanged because its proposed deletion would remove the fork-context caution without a demonstrated surviving equivalent. The supported personal-token path remains documented, respecting the earlier rejection of its removal.

copilot-dreamer[bot] added 27 commits November 26, 2026 05:52
A focused command that selects no test can appear successful without checking the intended behavior. The package's account test is named Test_GetMe, so the example needs that exact selector.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/context_tools_test.go#L22-L31
Treating a personal token as mandatory can prompt unnecessary setup when stdio supports OAuth or GitHub App authentication. The live test harness separately requires its dedicated E2E token variable; that requirement remains documented.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/cmd/github-mcp-server/main.go#L49-L76
https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/e2e/e2e_test.go#L47-L55
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
The run argument can otherwise imply complete log coverage merely because it selects a run. It identifies the failed-only request, whose one jobs page still limits the result.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65
Account-field guidance can otherwise send Copilot looking for a type discriminator that compact account results do not expose. Removing that direction avoids an unsupported lookup while the skill's account-resolution and ambiguity checks remain.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/minimal_types.go#L149-L163
https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/account-and-team-context/SKILL.md#L65-L69
A second fallback adds upkeep for the same reader and can contradict the approval boundary already supplied in the tool-choice section. Removing it leaves the approved-launch fallback there; explicit launch agreement and the prohibition on upgrading suggestions continue to apply.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/skills/catalog/skills/copilot-task-delegation/SKILL.md#L84-L99
A universal branch-input rule can send Copilot looking for an input that repository creation and forking do not accept. File writes still require explicit branch selection.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/repository_tool_types.go#L20-L59
A failed-log shortcut can otherwise be mistaken for complete run coverage. Its single latest-attempt jobs request selects only failure conclusions, so the guidance must bound the result before readers diagnose the run.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L53-L65

The paged job listing and job_id route preserve a way to inspect other failures without assuming the shortcut is complete.

https://github.com/github/github-mcp-server/blob/7edc2dd123a8923db389de8772170663cb2d8e17/pkg/github/actions.go#L782-L806
@Copilot
Copilot AI requested a review from a team as a code owner November 26, 2026 05:52
Copilot AI adaptive review requested due to automatic review settings November 26, 2026 05:52

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

No active review issues were identified in the guidance, tool-description, and snapshot updates.

No open issues 🎉

What changed in this PR

This PR aligns GitHub MCP Server’s development instructions and bundled skills with supported tool behavior. It updates guidance, descriptions, and snapshots without changing tool execution logic.

Changes:

  • Corrects testing and authentication guidance.
  • Clarifies workflow-log coverage and supported project-view updates.
  • Preserves delegation approval requirements and scopes file-write prerequisites to applicable operations.
File Description
README.md Documents the bounded coverage of failed-job logs.
pkg/​skills/​catalog/​skills/​workflow-failure-triage/​SKILL.md Explains pagination and individual-job log retrieval.
pkg/​skills/​catalog/​skills/​workflow-failure-triage/​references/​failure-classes.md Removes the claim that one call lists every job.
pkg/​skills/​catalog/​skills/​repository-content-changes/​SKILL.md Scopes branch, SHA, and path requirements to applicable file writes.
pkg/​skills/​catalog/​skills/​repository-content-changes/​references/​irreversible-operations.md Removes an overbroad SHA prerequisite.
pkg/​skills/​catalog/​skills/​copilot-task-delegation/​SKILL.md Requires approval before fallback assignment launches work.
pkg/​skills/​catalog/​skills/​account-and-team-context/​SKILL.md Removes guidance for an unavailable account field.
pkg/​github/​toolset_instructions.go Corrects visible-field guidance for project views.
pkg/​github/​testdata/​toolset-instructions.json Refreshes the project-instructions digest.
pkg/​github/​actions.go Updates log-tool descriptions and comments to reflect existing limits.
pkg/​github/​__toolsnaps__/​get_job_logs_actions.snap Synchronizes the log-tool description snapshot.
.github/​copilot-instructions.md Corrects the test selector, REST mock helper, and authentication guidance.

Review effort: Balanced (adaptive)

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.

2 participants