Repository navigation
[docs] ci-doctor: add CI-010/CI-011 and refine CI-003 - #11754
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The probe omits required engine-result metadata and exit code, then attributes missing output to bubblewrap without corroborating evidence that the trusted external-sandbox opt-in was absent.
What changed in this PR
This documentation-only PR expands AWF’s canonical diagnosis registry for CI failures, drawing on recent fixes while keeping hosted acceptance and release versions explicitly unverified.
Changes:
- Adds CI-010 for Codex nested-sandbox failures and CI-011 for primary-agent credential and invocation failures.
- Refines CI-003 with the ordinary-workflow identity requirements and supporting provenance.
- Updates the registry index and symptom lookup; generated agent consumers remain deferred to trusted regeneration.
| File | Description |
|---|---|
docs/diagnostics/README.md |
Indexes the new findings and their symptoms. |
docs/diagnostics/findings/ci/CI-011.json |
Documents guest credential checks and sidecar-backed Codex invocation. |
docs/diagnostics/findings/ci/CI-010.json |
Documents Codex nested-sandbox failures and trusted launch policy. |
docs/diagnostics/findings/ci/CI-003.json |
Clarifies workflow identity conditions and adds provenance. |
Review effort: Balanced (adaptive)
Updated the command and expect fields for the CI-010 finding to improve clarity and accuracy regarding Codex enclave failures. Co-authored-by: Copilot Autofix powered by AI <[email protected]>
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 6c2cbdb |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Fixed in commit |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (11 files)
✨ New Files (5 files)
Coverage comparison generated by |

Caution
Protected files were modified in this change.
This pull request is in
request-reviewmode and requires explicit human scrutiny before merge.Protected files:
README.mdAllow intentional protected-file changes
If this workflow is intended to modify these files, add specific filenames or folder prefixes to
safe-outputs.create-pull-request.protected-files.excludein the workflow Markdown frontmatter. For example, to allow.changeset/*, exclude the folder using.changeset/:Keep your existing policy and exclusions. Folder exclusions use path prefixes, not glob patterns, and allow all files beneath that folder, including subfolders. Other protected files still require review. If
allowed-filesis configured, these paths must also match it. Rungh aw compileafter updating the workflow.Summary
Bounded canonical-record update from the CI and Integration Doctor Updater. It adds two
CI-*findings and refines one, based on a review of merged PRs, each checked against currentmaincode and tests. A human reviewer must approve it. Generated consumers (.github/workflows/shared/diagnosis-findings.md,.github/agents/diagnose-awf.md) are intentionally not included; trusted CI or a reviewer regenerates them withnpm run diagnostics:render. Thedocs/diagnostics/README.mdindex is regenerated.Changes
unknown(Codex CLI 0.159.3 in the enclave image)result-emptyunknown(Codex CLI 0.159.3)CI-010
jq '{failure: .session.failure, lastEvent: .session.lastEvent}' path/to/protected/diagnostics.json. It is read-only and projects only finite categories; raw bwrap text is never retained.AWF_ENCLAVE_AGENT_CODEX_BYPASS_APPROVALS=trueand the entrypoint adds--dangerously-bypass-approvals-and-sandbox. Keep the outer confinement and treat a missing/awf/outresult as failure.containers/enclave/agent-executor/agent-provider-environment.js,containers/enclave/agent-entrypoint.py,src/enclave/agent-provider-environment.test.ts(docker/gvisor/cloud-hypervisor) and theshell-launch-failedcase insrc/enclave/agent-entrypoint-diagnostics.test.ts(exit 0 →result-empty).CI-011
grep -n -e 'COPILOT_PLACEHOLDER_TOKEN' -e 'model_provider' -e 'dev/null' scripts/ci/run-agent-regression-guest.sh. It reads source only and never reads credential values.scripts/ci/run-agent-regression-guest.shandscripts/ci/agent-runtime-regression.test.ts("closes Codex stdin...", "explicitly routes Codex Responses...", placeholder accept/reject cases).CI-003
src/enclave/cloud-hypervisor-conformance-acceptance.tsrequiresworkflow_ref,workflow_sha,job_workflow_refandjob_workflow_shato match the regression workflow at the compiled commit, andscripts/ci/enclave-agent-regression.test.tsrejects mismatched or reusable identities. The new condition is worded to match that code, not the PR body.Coverage and cursors
reviewQueue.firstTime(fix: use Compose renderer in model-routing integration harness #11056 – Automate reviewed Copilot price maintenance and honor promotion expiry #11227). Reviewed: 50. Deferred reviewed: 0 (deferred queue empty). Needs-evidence: 0.publication-pendinguntil this PR is confirmed published.since/updatedSince= 2026-11-17T22:44:37Z,historyBefore= 2026-11-03T22:44:37Z,historyFloor= 2025-10-16T22:26:49Z.npm run diagnostics:freshnessreported no overdue records.Evidence limits
pull_request_read get_files). Classification used PR bodies plus verification of the described behaviour in currentmainsource and tests; no retry through another transport.unknownbecause the shipped release was not verified.Review credit
Merged by
@lpcox(automation-authored PRs credited to the human merger); #11198 and #11212 involved@rabeckett.Validation
npm run diagnostics:validate: registry valid (34 findings).npm run diagnostics:render: run; the generated prompt/agent files were left out for trusted CI.npm run diagnostics:check: in sync before reverting the generated files.