Skip to content

docs: add CI-012 terminal safe-output finding and CI-008 citation - #11850

Merged
lpcox merged 4 commits into
mainfrom
ci-doctor/ci-012-terminal-safe-output-2026-11-19-bfe40cb61213cb22
Nov 20, 2026
Merged

lpcox merged 4 commits into
mainfrom
ci-doctor/ci-012-terminal-safe-output-2026-11-19-bfe40cb61213cb22

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Caution

Protected files were modified in this change.
This pull request is in request-review mode and requires explicit human scrutiny before merge.

Protected files: README.md

Allow 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.exclude in the workflow Markdown frontmatter. For example, to allow .changeset/*, exclude the folder using .changeset/:

safe-outputs:
  create-pull-request:
    protected-files:
      policy: request-review
      exclude:
        - .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-files is configured, these paths must also match it. Run gh aw compile after 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

  • CI-012 (new, ci, fixed, versions unknown/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 on main: .github/workflows/claude-token-optimizer.md declares safe-outputs.noop (max 1, report-as-issue: false) and requires one terminal output on every successful path. scripts/ci/smoke-copilot-workflow.test.ts asserts 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).
  • CI-008 (citation only): adds PR Support pinned AWF installs without runtime attestation lookups #11558 to references. That PR changes scripts/ci/workflow-patches/network-and-install.ts and scripts/ci/build-smoke-images.sh so 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-local symptom. Status, probe and action are unchanged.

Generated .github/agents/diagnose-awf.md and .github/workflows/shared/diagnosis-findings.md are intentionally excluded. npm run diagnostics:check reports them stale until trusted CI or a reviewer runs npm run diagnostics:render.

Batch coverage (first-time queue, 50 of 101 reviewed)

Validation

  • npm run diagnostics:validate: valid, 37 findings.
  • npm run diagnostics:freshness: no overdue records.
  • npm run diagnostics:render, then npm 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.

Generated by CI and Integration Doctor Updater · copilot · routed: haiku55 xhigh · ~101 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

… 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>
@github-actions github-actions Bot added ai-generated documentation Improvements or additions to documentation labels Nov 19, 2026
@lpcox
lpcox marked this pull request as ready for review November 19, 2026 23:12
Copilot AI adaptive review requested due to automatic review settings November 19, 2026 23:12

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 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" },
@lpcox

lpcox commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Copilot AI commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Updated CI-012’s provider dimension to copilot to match the cited workflow and routing contract. Committed as 447329e.

Copilot AI requested a review from lpcox November 19, 2026 23:42
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11850 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit e606890

@lpcox

lpcox commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

@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>

Copilot AI commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main and resolve conflicts

Merged main cleanly with no conflicts. Two-parent merge commit: f157191.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lpcox lpcox changed the title [docs] ci-doctor: ci-doctor: add CI-012 terminal safe-output finding and CI-008 citation docs: add CI-012 terminal safe-output finding and CI-008 citation Nov 20, 2026
@lpcox
lpcox merged commit 3535251 into main Nov 20, 2026
39 of 41 checks passed
@lpcox
lpcox deleted the ci-doctor/ci-012-terminal-safe-output-2026-11-19-bfe40cb61213cb22 branch November 20, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-generated documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants