Skip to content

Unblock Runtime Doctor evidence reads and correct PR bootstrap - #11910

Merged
lpcox merged 5 commits into
mainfrom
copilot/aw-runtime-enclave-doctor-updater
Nov 21, 2026
Merged

lpcox merged 5 commits into
mainfrom
copilot/aw-runtime-enclave-doctor-updater

Conversation

@lpcox

@lpcox lpcox commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Runtime Doctor stops before review because the gateway labels PR patches none:public, below its unapproved threshold. The bootstrap also queries issue #11665 as a pull request, producing a 404.

@lpcox lpcox changed the title [WIP] Fix incomplete result reported by Runtime and Enclave Doctor Updater Unblock Runtime Doctor evidence reads and correct PR bootstrap Nov 21, 2026
@lpcox
lpcox marked this pull request as ready for review November 21, 2026 16:48
Copilot AI adaptive review requested due to automatic review settings November 21, 2026 16:48
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

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 agent-only bootstrap fails to persist PR #11676 to intake when it falls outside search windows, causing subsequent runs to omit it from the pending/deferred backlog and treat it as first-time despite existing receipts.

1 open issue
What changed in this PR

This PR updates Runtime Doctor’s diagnosis-maintenance workflow to admit previously blocked PR evidence and corrects the bootstrap’s issue-versus-PR mix-up, addressing the failure reported in #11889.

Changes:

  • Admit none-integrity GitHub evidence within the existing repository scope while retaining read-only access and safety controls.
  • Bootstrap merged PR #11676 and treat issue #11665 only as optional historical context.
  • Regenerate the compiled workflow with policy-isolated cache keys and update contract tests.
File Description
scripts/​ci/​diagnosis-maintenance-workflow.test.ts Updates evidence-policy assertions and adds issue-versus-PR coverage.
.github/​workflows/​runtime-enclave-doctor-updater.md Adjusts evidence admission and corrects bootstrap instructions.
.github/​workflows/​runtime-enclave-doctor-updater.lock.yml Synchronizes compiled policies and cache isolation with the source workflow.

Review effort: Max (adaptive)

namespace change, bootstrap merged fix PR #11676 on each run until its latest
`updated_at` has a completed receipt. After the access probe, call
`pull_request_read` with `method: get` for #11665 and use only its `number` and
`pull_request_read` with `method: get` for #11676 and use only its `number` and
@lpcox

lpcox commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot merge main, resolve conflicts, and address review feedback

…clave-doctor-updater

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@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.

Copilot AI commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main, resolve conflicts, and address review feedback

Merged main in ac06b96 and addressed the intake bootstrap finding in 58d644f. PR #11676 is now seeded by the collector before checkpoint/artifact writes, with the usual receipt and deferred-review rules applied.

@lpcox
lpcox merged commit a8c8dab into main Nov 21, 2026
37 of 39 checks passed
@lpcox
lpcox deleted the copilot/aw-runtime-enclave-doctor-updater branch November 21, 2026 18:31
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] Runtime and Enclave Doctor Updater: reported incomplete result

4 participants