Skip to content

Add GitHub CLI fallback guidance to Daily Team Evolution Insights workflow prompt - #51192

Merged
pelikhan merged 2 commits into
mainfrom
copilot/aw-add-github-mcp-server-extension
Aug 7, 2026
Merged

Add GitHub CLI fallback guidance to Daily Team Evolution Insights workflow prompt#51192
pelikhan merged 2 commits into
mainfrom
copilot/aw-add-github-mcp-server-extension

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The Daily Team Evolution Insights workflow (Goose engine) reports github-mcp-server as a missing tool and aborts instead of gathering commits, PRs, issues, and discussions.

Root cause

  • Goose has ToolsAllowlist: false capability, so the compiler discards the entire tools: frontmatter section — tools.github.mode/toolsets/cli-proxy settings have no effect for goose workflows.
  • Goose's native MCP extension connection to the local gateway (localhost:8080) fails inside the network-isolated sandbox (Failed to start extension 'github'). This is systemic across all goose workflows, not specific to this one — confirmed by the identical warning in a successful comparison run (smoke-goose).
  • Regardless of the above, a working github CLI wrapper is always mounted on PATH by the safe-outputs CLI-mount step. In the successful run, the agent discovered it through exploration; in the failing run, it didn't, and gave up.

Fix

  • Added an explicit fallback instruction to the workflow prompt telling the agent to try the github CLI wrapper on PATH if the MCP extension/tools fail to load, before reporting a missing tool:
> **Fallback**: If the GitHub MCP tools/extension fail to load (e.g. a "Failed to start
> extension 'github'" warning), a `github` CLI wrapper command is also available on PATH
> as an alternative way to reach the same GitHub MCP tools. Run `github --help` to list
> the available commands (e.g. `list_commits`, `list_pull_requests`, `list_issues`) and
> use `github <command> --param value` to fetch the same data before giving up and
> reporting a missing tool.

Scope

  • Workflow-content-only change (.md + regenerated .lock.yml); no compiler/engine code touched.
  • The underlying tools-discard behavior for goose and a related CLI-mount filtering gap are broader, systemic issues affecting all goose workflows and are left for a dedicated follow-up rather than bundled into this targeted fix.

…n-insights workflow

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub MCP server extension to Daily Team Evolution Insights Add GitHub CLI fallback guidance to Daily Team Evolution Insights workflow prompt Aug 7, 2026
Copilot AI requested a review from pelikhan August 7, 2026 21:54
@pelikhan
pelikhan marked this pull request as ready for review August 7, 2026 21:55
Copilot AI balanced review requested due to automatic review settings August 7, 2026 21:55
@pelikhan
pelikhan merged commit 877abf6 into main Aug 7, 2026
@pelikhan
pelikhan deleted the copilot/aw-add-github-mcp-server-extension branch August 7, 2026 21:55

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.

Pull request overview

Adds GitHub CLI fallback guidance when Goose cannot load GitHub MCP tools.

Changes:

  • Documents github wrapper discovery and invocation.
  • Regenerates workflow metadata.
Show a summary per file
File Description
.github/workflows/daily-team-evolution-insights.md Adds fallback instructions.
.github/workflows/daily-team-evolution-insights.lock.yml Updates the generated body hash.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

- **Discussions**: Recent discussions and their activity
- **Reviews**: Code review activity and feedback patterns

> **Fallback**: If the GitHub MCP tools/extension fail to load (e.g. a "Failed to start extension 'github'" warning), a `github` CLI wrapper command is also available on PATH as an alternative way to reach the same GitHub MCP tools. Run `github --help` to list the available commands (e.g. `list_commits`, `list_pull_requests`, `list_issues`) and use `github <command> --param value` to fetch the same data before giving up and reporting a missing tool.
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.

[aw] Daily Team Evolution Insights is missing required tool

3 participants