Skip to content

Allow scoped PR evidence reads in Auth Doctor Updater - #11770

Merged
lpcox merged 3 commits into
mainfrom
copilot/aw-auth-doctor-updater-fix
Nov 18, 2026
Merged

lpcox merged 3 commits into
mainfrom
copilot/aw-auth-doctor-updater-fix

Conversation

@lpcox

@lpcox lpcox commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Auth Doctor Updater reported incomplete results after GitHub MCP integrity filtering left 48 of 50 selected PRs without reviewable evidence.

  • Evidence access: Allow unapproved content reads from github/gh-aw-firewall, github/gh-aw, and github/gh-aw-mcpg; regenerate the workflow lock.
  • Trust boundaries: Keep candidate content untrusted, prohibit credential or transport bypasses, and retain incomplete reporting when required evidence is unavailable.
  • Regression coverage: Assert repository scope, integrity policy, unchanged permissions, and compiled policy wiring.

@lpcox lpcox changed the title [WIP] Fix incomplete result reported by Auth Doctor Updater Allow scoped PR evidence reads in Auth Doctor Updater Nov 18, 2026
@lpcox
lpcox marked this pull request as ready for review November 18, 2026 14:56
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 14:56

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.

🟡 Changes recommended

The runtime policy permits unapproved reads from all public repositories instead of the explicit allowlist, while threat detection is disabled and tests do not validate the effective gateway policy.

3 open issues
What changed in this PR

Updates Auth Doctor Updater’s evidence-access configuration to address the incomplete PR reviews reported in #11762.

Changes:

  • Declares unapproved evidence reads for three related repositories.
  • Clarifies untrusted-content handling, credential restrictions, and incomplete reporting.
  • Regenerates the workflow lock and adds policy and permission regression checks.
File Description
scripts/​ci/​auth-doctor-updater-workflow.test.ts Adds assertions for repository scope, integrity settings, permissions, and trust-boundary instructions.
.github/​workflows/​auth-doctor-updater.md Configures evidence reads and defines handling for untrusted or unavailable content.
.github/​workflows/​auth-doctor-updater.lock.yml Regenerates proxy and gateway policy wiring, cache isolation, and diagnostic collection.

Review effort: Max (adaptive)

Comment on lines +1078 to +1082
"repos": [
"github/gh-aw-firewall",
"github/gh-aw",
"github/gh-aw-mcpg"
],
github:
toolsets: [default]
allowed-repos: [github/gh-aw-firewall, github/gh-aw, github/gh-aw-mcpg]
min-integrity: unapproved
Comment on lines +85 to +86
expect(lock).toContain('GH_AW_GITHUB_REPOS: \'["github/gh-aw-firewall","github/gh-aw","github/gh-aw-mcpg"]\'');
expect(lock).toContain("GH_AW_GITHUB_MIN_INTEGRITY: 'unapproved'");
@lpcox

lpcox commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address review feedback

Copilot AI commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

I found a configuration conflict in the pinned gh-aw v1.3.0 compiler: its only workflow option to stop mcpg from replacing the explicit allowlist (private-to-public-flows: allow) also disables default sink-visibility protections. The selective form preserves those protections but leaves the public-repository scope override enabled. Should I avoid weakening that protection and leave this change pending an upstream compiler option, or do you explicitly want the blanket opt-out?

@github-actions

Copy link
Copy Markdown
Contributor

✅ Copilot review passed with no inline comments.

@lpcox Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

Copy link
Copy Markdown
Contributor

⏳ Copilot review left inline comments.

@lpcox To proceed:

  1. Ask @copilot to address the review feedback (reply to this comment or the review thread)
  2. Once the fix is pushed, add the ready-for-aw label to trigger agentic CI smoke tests

@github-actions

Copy link
Copy Markdown
Contributor

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 94.33% 94.33% ➡️ +0.00%
Statements 92.94% 92.94% ➡️ +0.00%
Functions 93.53% 93.53% ➡️ +0.00%
Branches 87.20% 87.20% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/enclave/host-executor-socket.ts 95.9% → 95.9% (+0.00%) 91.5% → 90.2% (-1.22%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@lpcox

lpcox commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot merge main and resolve conflicts

Copilot AI commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main and resolve conflicts

Merged main cleanly into this branch in commit 8e0cbd0; the commit has both branch parents, and there were no conflicts.

@lpcox
lpcox merged commit 5a2fb89 into main Nov 18, 2026
36 of 39 checks passed
@lpcox
lpcox deleted the copilot/aw-auth-doctor-updater-fix branch November 18, 2026 18:49
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] Auth Doctor Updater: reported incomplete result

3 participants