Skip to content

fix: remove min-integrity to unblock MCP Gateway#660

Merged
PureWeen merged 1 commit intomainfrom
fix/remove-min-integrity
Apr 22, 2026
Merged

fix: remove min-integrity to unblock MCP Gateway#660
PureWeen merged 1 commit intomainfrom
fix/remove-min-integrity

Conversation

@PureWeen
Copy link
Copy Markdown
Owner

Problem

/review is broken on main — every run crashes with:

MCPG Error: allow-only must include repos

Root Cause

min-integrity: approved (added in #653) causes the gh-aw compiler (v0.62.2) to emit an incomplete guard policy — it sets min-integrity but not repos. The MCP Gateway (v0.1.19) requires both fields.

Fix

Remove the hardcoded min-integrity: approved. The runtime determine-automatic-lockdown step correctly sets both min-integrity and repos dynamically.

Verified working in dotnet/maui-labs (4 successful runs after this fix).

Hardcoded min-integrity: approved causes the gh-aw compiler (v0.62.2)
to emit an incomplete guard policy (missing repos field), crashing the
MCP Gateway at startup with "allow-only must include repos".

Runtime determine-automatic-lockdown correctly sets both min-integrity
and repos dynamically. Verified working in dotnet/maui-labs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PureWeen PureWeen merged commit d50cb7a into main Apr 22, 2026
1 check passed
@PureWeen PureWeen deleted the fix/remove-min-integrity branch April 22, 2026 00:51
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.

1 participant