Repository navigation
Conversation
… citation - CI-012: agentic workflow exits 0 without a terminal safe output (issue #11523, PR #11535) - CI-008: cite PR #11558 for local-build config sync on published-release workflows - Regenerate docs/diagnostics/README.md index Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The active CI-012 finding assigns the cited claude-token-optimizer workflow to Anthropic despite its copilot engine and routing contract, so provider-based matching would miss the relevant Copilot failure.
1 open issue
What changed in this PR
Adds the canonical CI-012 diagnosis for agentic workflows that exit successfully without emitting a terminal safe output, records PR #11558 as supporting provenance for CI-008, and updates the diagnostics registry index. Changes:
- Adds CI-012 symptoms, conditions, remediation guidance, and references.
- Adds PR #11558 to CI-008 provenance.
- Updates the diagnostics README index and symptom lookup for CI-012.
- CI-012 has an actionable provider-scope issue and overly broad conditions that should be corrected.
| File | Description |
|---|---|
| docs/diagnostics/README.md | Updates the diagnostics index and symptom lookup table to include CI-012. |
| docs/diagnostics/findings/ci/CI-012.json | Defines the new missing-terminal-safe-output diagnosis, remediation guidance, and references. |
| docs/diagnostics/findings/ci/CI-008.json | Adds PR #11558 as supporting provenance for CI-008. |
Review effort: Lite (adaptive)
| "The workflow declares safe-outputs in its .md source but omits a noop output for successful no-issue exits", | ||
| "The failure is detected after the agent job, in the completion signal, not inside the AWF sandbox" | ||
| ], | ||
| "affects": { "runner": "any", "runtime": "any", "provider": "anthropic", "authMode": "any" }, |
|
@copilot address review feedback |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Updated CI-012’s provider dimension to |
|
✅ 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 e606890 |
|
@copilot merge main and resolve conflicts |
…inal-safe-output-2026-11-19-bfe40cb61213cb22 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Merged |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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.Bounded CI and Integration Doctor Updater proposal. Reviewed the first-time batch of 50 candidates from the scan window; this PR records the two registry changes the batch supports.
Canonical record changes
fixed, versionsunknown/unknown): an agentic workflow exits 0 without a terminal safe output, so completion is unconfirmed. Evidence: issue [aw] Daily Claude Token Optimization Advisor: finished without a terminal safe output #11523 (failure_cause: missing_terminal_safe_output, driver exit 0, safe-output MCP calls 0). Fix verified onmain:.github/workflows/claude-token-optimizer.mddeclaressafe-outputs.noop(max 1,report-as-issue: false) and requires one terminal output on every successful path.scripts/ci/smoke-copilot-workflow.test.tsasserts the noop config and the no-target and no-report noop paths. Related: CI-001 (safe-output contract) and CI-005 (completion-marker gates). Probe:grep -n -A3 -E '^ noop:' .github/workflows/claude-token-optimizer.md(read-only, secret-safe).scripts/ci/workflow-patches/network-and-install.tsandscripts/ci/build-smoke-images.shso local-build AWF configs drop compiler-pinned manifests and published-release workflows keep the compiler-selected binary and images. This is the CI-008 pinned-manifest-plus---build-localsymptom. Status, probe and action are unchanged.Generated
.github/agents/diagnose-awf.mdand.github/workflows/shared/diagnosis-findings.mdare intentionally excluded.npm run diagnostics:checkreports them stale until trusted CI or a reviewer runsnpm run diagnostics:render.Batch coverage (first-time queue, 50 of 101 reviewed)
no-impact, 8covered([docs] ci-doctor: add CI-007 enclave gateway hosts-resolution finding #11511→CI-007, Prevent DNS leaks from Squid IP access exceptions #11562→NET-008, Use published AWF images for the firewall issue dispatcher #11569→CI-008, [docs] network-doctor: network-doctor: cite trusted-service and Foundry upstream provenance in NET-003 #11576→NET-003, [docs] ci-doctor: add CI-008 pre-agent setup failure finding #11610→CI-008, Add B37 diagnosis for upstream-owned no-sudo runner blockers #11639→B37, [docs] auth: Document API-proxy upstream credential-echo masking (AUTH-005) #11657→AUTH-005, [docs] ci-doctor: add CI-009 supply-chain PR-image scan timeout finding #11652→CI-009), 2publication-pending(Require terminal output from Claude token optimizer #11535→CI-012, Support pinned AWF installs without runtime attestation lookups #11558→CI-008 citation).publication-pendingcandidates stay pending until a later run verifies this PR is published./tmp/gh-aw/cache-memory/diagnosis/receipts.json(50 entries,updatedAtmatches each candidate'supdated_at).main(the PR file endpoint was integrity-filtered), so classification uses real file lists, not PR bodies alone.Validation
npm run diagnostics:validate: valid, 37 findings.npm run diagnostics:freshness: no overdue records.npm run diagnostics:render, thennpm run diagnostics:check: README index regenerated; the two generated consumers are stale by design (see above).Review
Human review required; do not auto-merge. Credit for the underlying changes belongs to the cited PR authors and merger (lpcox). Hosted acceptance of CI-012 and the CI-008 citation is not claimed.