Skip to content

feat: enable difc-proxy feature flag on all guarded workflows#2885

Merged
lpcox merged 1 commit intomainfrom
feat/enable-difc-proxy-flag
Mar 31, 2026
Merged

feat: enable difc-proxy feature flag on all guarded workflows#2885
lpcox merged 1 commit intomainfrom
feat/enable-difc-proxy-flag

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Mar 31, 2026

Summary

After gh-aw PR #23471, proxy filtering is now opt-in via the difc-proxy feature flag. Without it, the compiler no longer injects the DIFC proxy into the gateway config, meaning guard policies (min-integrity, allowed-repos) have no effect at runtime.

Changes

Added features: { difc-proxy: true } to all 28 workflows that have tools.github: configured with min-integrity and allowed-repos.

Recompiled all 31 workflows with gh aw compile (0 errors, 1 pre-existing warning).

Workflows NOT modified (no tools.github: config):

  • duplicate-code-detector.md — uses serena only
  • ghcr-download-tracker.md — uses bash + cache-memory only
  • release.md — uses bash + edit only

Testing

  • Verified all 28 .md files contain difc-proxy: true
  • All 31 workflows compile successfully
  • Lock files updated with DIFC proxy injection

Add features.difc-proxy: true to all 28 workflows that have
tools.github with min-integrity and allowed-repos configured.
This is required after gh-aw PR #23471 made proxy filtering
opt-in via the difc-proxy feature flag.

Recompile all 31 workflows with gh aw compile.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 00:04
@lpcox lpcox merged commit feaf2ab into main Mar 31, 2026
12 checks passed
@lpcox lpcox deleted the feat/enable-difc-proxy-flag branch March 31, 2026 00:08
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

Enables the difc-proxy feature flag across guarded agentic workflows so GitHub tool policies (e.g., min-integrity, allowed-repos) continue to take effect at runtime after proxy filtering became opt-in.

Changes:

  • Added features: { difc-proxy: true } to the frontmatter of guarded workflows.
  • Recompiled workflows, updating corresponding .lock.yml outputs/metadata.
  • Lockfiles now include DIFC-proxy related runtime wiring (e.g., proxy log artifact paths; and in workflows that run gh pre-agent, injected start/stop DIFC proxy steps).

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/test-improver.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/test-improver.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/test-coverage-improver.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/test-coverage-improver.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-safeoutputs-reviews.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-safeoutputs-reviews.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-safeoutputs-prs.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-safeoutputs-prs.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-safeoutputs-labels.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-safeoutputs-labels.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-safeoutputs-issues.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-safeoutputs-issues.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-safeoutputs-discussions.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-safeoutputs-discussions.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-proxy-github-script.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-proxy-github-script.lock.yml Recompiled lock output; injects pre-agent DIFC proxy start/stop steps and adds proxy log artifact paths.
.github/workflows/smoke-copilot.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-copilot.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/smoke-allowonly.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/smoke-allowonly.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/semantic-function-refactor.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/semantic-function-refactor.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/rust-guard-improver.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/rust-guard-improver.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/repo-assist.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/repo-assist.lock.yml Recompiled lock output; injects pre-agent DIFC proxy start/stop steps and adds proxy log artifact paths.
.github/workflows/plan.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/plan.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/nightly-workflow-compiler.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/nightly-workflow-compiler.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/nightly-schema-updater.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/nightly-schema-updater.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/nightly-docs-reconciler.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/nightly-docs-reconciler.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/mcp-gateway-log-analyzer.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/mcp-gateway-log-analyzer.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/large-payload-tester.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/large-payload-tester.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/issue-monster.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/issue-monster.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/integrity-filtering-audit.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/integrity-filtering-audit.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/guard-status-tracker.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/guard-status-tracker.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/gpl-dependency-checker.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/gpl-dependency-checker.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/go-logger.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/go-logger.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/go-fan.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/go-fan.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/github-mcp-guard-coverage-checker.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/github-mcp-guard-coverage-checker.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/gateway-issue-dispatcher.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/gateway-issue-dispatcher.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).
.github/workflows/daily-compliance-checker.md Enables difc-proxy feature flag in workflow frontmatter.
.github/workflows/daily-compliance-checker.lock.yml Recompiled lock output reflecting difc-proxy enablement (incl. proxy log artifact paths).

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

lpcox added a commit that referenced this pull request 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.
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