Repository navigation
[docs] ci-doctor: add CI-005 and CI-006 findings - #11434
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
The change still has unresolved documentation and diagnostic-probe defects, including stale generated consumers, missing evidence rows, and probes that read artifacts unable to identify the promised failure classifications.
4 open issues
What changed in this PR
Adds two canonical CI diagnosis findings for agent regression evidence failures and Claude enclave startup-option failures, along with their diagnostics registry indexes.
Changes:
- Adds CI-005 for completion-marker and Codex routing evidence-gate failures.
- Adds CI-006 for invalid Claude enclave launch options before initialization.
- Updates the diagnostics README index and symptom lookup mappings.
| File | Description |
|---|---|
| docs/diagnostics/README.md | Indexes CI-005 and CI-006 in the diagnostics findings and symptom lookup tables. |
| docs/diagnostics/findings/ci/CI-006.json | Defines the Claude enclave startup-option diagnosis, bounded diagnostic probe, remediation, and provenance. |
| docs/diagnostics/findings/ci/CI-005.json | Defines symptoms, probes, remediation, and provenance for completion-marker and Codex routing evidence failures. |
Review effort: Lite (auto)
| "readOnly": true, | ||
| "secretSafe": true | ||
| }, | ||
| "action": "Use source that emits the marker on its own line and collects marker-check.json and the routing audit projection. Fix the classified gate; do not loosen exact marker, proof/response or nonzero-exit checks, and do not accept start/close events as routing success. Hosted acceptance remains separate.", |
| "command": "jq '.' path/to/protected/marker-check.json", | ||
| "expect": "Read the bounded classification only: proof/response match|mismatch|missing|rejected and completion match-lf|match-crlf|unterminated|embedded-or-decorated|partial|missing. Raw private log bytes are not retained, so historical failures remain unknown.", |
| "command": "jq '.diagnostic' path/to/protected/startup.json", | ||
| "expect": "Read the finite classification (unknown-option, invalid-option-value, missing-option-value, invalid-settings, invalid-mcp-config or unknown). A classification identifies a configuration class, not the offending value; absence is unknown, not success.", |
| | CI-005 | ci | Daily agent regression rejects an exit-0 run at a completion or routing evidence gate | fixed | [`findings/ci/CI-005.json`](./findings/ci/CI-005.json) | | ||
| | CI-006 | ci | Claude enclave agent exits 1 before initialization with an invalid launch option | fixed | [`findings/ci/CI-006.json`](./findings/ci/CI-006.json) | |
|
@copilot address the review feedback |
Co-authored-by: lpcox <[email protected]>
Addressed the probe, generated-consumer, and provenance-row feedback in commit |
|
✅ 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 c6730c9 |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 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.Coverage
Reviewed the first 50 of 116 first-time candidates (#11056–#11227 in queue order; deferred 0). Remaining backlog: 66 first-time candidates. Cursors: since/updatedSince 2026-11-10T22:44:37Z, historyBefore 2026-11-03T22:44:37Z, floor 2025-10-16.
diagnostics:freshness: no overdue records. Receipts were not persisted for the unreviewed remainder; most reviewed PRs were pricing, docs, model-source or coverage work (no CI-diagnosis impact), or covered by CI-003/CI-004.New findings
CI-005 (ci, fixed, versions unknown): exit-0 regression run rejected at a completion-marker or Codex routing evidence gate.
jq '.' path/to/protected/marker-check.json(bounded classifications only).scripts/ci/collect-agent-regression-evidence.cjs,run-agent-regression-guest.shand their tests on main.CI-006 (ci, fixed, versions unknown): Claude enclave exits 1 before initialization because of an invalid launch option.
jq '.diagnostic' path/to/protected/startup.json(finite classification).containers/enclave/agent-entrypoint.py,src/enclave/claude-unattended.test.ts,agent-entrypoint-diagnostics.test.ts.Validation
npm run diagnostics:validatepasses (25 findings); README index regenerated. Generated prompt/agent consumers (diagnosis-findings.md,diagnose-awf.md) were intentionally not included; a trusted CI/reviewer must runnpm run diagnostics:render. Hosted acceptance remains a separate gap. Human review required; do not auto-merge.