Skip to content

fix: lower repo-assist min-integrity to unapproved#2890

Merged
lpcox merged 1 commit intomainfrom
fix/repo-assist-min-integrity
Mar 31, 2026
Merged

fix: lower repo-assist min-integrity to unapproved#2890
lpcox merged 1 commit intomainfrom
fix/repo-assist-min-integrity

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Mar 31, 2026

Problem

The repo-assist workflow fails at the 'Fetch repo data for task weighting' step:

the 'github/gh-aw-mcpg' repository has disabled issues

This is misleading — issues are enabled. The actual cause is that gh issue list is routed through the DIFC proxy (after #2885 enabled difc-proxy: true), and the proxy blocks the REST call because min-integrity: merged is too strict for listing issues.

Failed run: https://github.com/github/gh-aw-mcpg/actions/runs/23774155078

Fix

Lower min-integrity from merged to unapproved so the pre-agent steps can access issue/PR data through the proxy.

The 'Fetch repo data for task weighting' step fails because
gh issue list is routed through the DIFC proxy which blocks it
with min-integrity: merged. Lowering to unapproved allows the
pre-agent steps to access issue/PR data through the proxy.

Fixes run: https://github.com/github/gh-aw-mcpg/actions/runs/23774155078

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 00:34
@lpcox lpcox merged commit 3b4c53f into main Mar 31, 2026
9 checks passed
@lpcox lpcox deleted the fix/repo-assist-min-integrity branch March 31, 2026 00:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the DIFC guard policy used by the repo-assist agentic workflow so its pre-agent GitHub CLI steps (and the MCP GitHub tool configuration) can list issues/PRs without being blocked by an overly strict integrity threshold.

Changes:

  • Lowered tools.github.min-integrity in repo-assist.md from merged to unapproved.
  • Regenerated the compiled lock workflow so the injected DIFC proxy and MCP server configs use min-integrity: unapproved.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/repo-assist.md Lowers the workflow’s configured guard minimum integrity to allow issue/PR listing through the DIFC proxy.
.github/workflows/repo-assist.lock.yml Updates the compiled workflow to start the DIFC proxy and MCP GitHub server with min-integrity: unapproved (plus corresponding regenerated heredoc IDs/metadata).

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

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