Skip to content

[docs] ci-doctor: add CI-007 enclave gateway hosts-resolution finding - #11511

Merged
lpcox merged 2 commits into
mainfrom
ci-doctor/add-ci-007-d98e413dd7b5c332
Nov 13, 2026
Merged

lpcox merged 2 commits into
mainfrom
ci-doctor/add-ci-007-d98e413dd7b5c332

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.

Coverage

Reviewed the first-time queue (109 candidates, 0 deferred, 109 pending). Deep-reviewed enclave/CI PRs: #11160, #11192, #11194, #11191, #11193, #11222, #11223, #11239, #11276, #11277, #11275, #11393, #11472. Many are already covered by CI-003..006 and RT-003/004. Not all 109 are reviewed yet; the rest (model catalogue, budget notices, docs syncs, dependency bumps and the like) remain pending. Cursors: updatedSince 2026-11-12T22:44:55Z, historyBefore 2026-11-05T22:44:55Z, historyFloor 2025-10-16. Freshness: no overdue CI records.

New finding: CI-007 (ci, status fixed, versions unknown)

Prestarted mcpg gateway cannot resolve awf-enclave-mcp after being attached to the private control network. #11393 added the in-gateway hosts mapping. #11472 fixed the sed -i rename over Docker's bind-mounted /etc/hosts by rewriting the existing inode.

Validation

npm run diagnostics:validate passes (26 findings). README index regenerated. Generated prompt/agent consumers are deliberately left for trusted CI.

Gaps

Hosted acceptance is unverified. Fix release versions are unknown. Remaining pending PRs need review in later runs.

Generated by CI and Integration Doctor Updater · copilot · auto (Claude Sonnet 5.5) · ~34 AIC · ⌖ ~2 AIC · ⊞ 13.9K · ◷

@github-actions github-actions Bot added ai-generated documentation Improvements or additions to documentation labels Nov 12, 2026
@lpcox
lpcox marked this pull request as ready for review November 12, 2026 23:08
Copilot AI adaptive review requested due to automatic review settings November 12, 2026 23:08

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 change has unresolved correctness and integration issues: CI-007 misrepresents unavailable error details and the generated workflow catalog and portable agent remain stale, causing the diagnostics freshness check to fail.

2 open issues
What changed in this PR

Adds the CI-007 diagnostic finding for enclave gateway host-resolution failures after private-network attachment, with probing guidance, remediation, provenance, and registry updates.

Changes:

  • Adds the canonical CI-007 finding with symptoms, conditions, probe, action, and references.
  • Registers CI-007 in the diagnostics index and symptom lookup table.
  • Generated workflow and portable-agent consumers still require regeneration to remain synchronized.
File Description
docs/​diagnostics/​README.md Registers CI-007 in the generated finding catalog and symptom lookup table.
docs/​diagnostics/​findings/​ci/​CI-007.json Defines the enclave gateway host-resolution diagnosis, diagnostic probe, remediation guidance, conditions, and provenance.

Review effort: Lite (auto)

@@ -0,0 +1,33 @@
{
"$schema": "../../schema.json",
"id": "CI-007",
"rootCause": "The prestarted gateway's resolver cannot see the AWF-created private network alias, and the first hosts-file update could not replace Docker's bind-mounted /etc/hosts. Without the alias, initialize could not reach the enclave MCP server.",
"probe": {
"command": "jq '.diagnostic.enclaveStartup.hostPreflight' path/to/protected/startup.json",
"expect": "Find the gateway-attachment preflight and the phase that failed (contract, identity, network-connect or network-membership). A network-membership failure with the resolution message points here; an absent record is unknown, not success. Do not read container environments.",
@lpcox

lpcox commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Updated the probe to state the raw host-resolution error is unavailable and that network-membership alone is insufficient; rendered both generated consumers and verified diagnostics synchronization passes. Commit: a9a6338.

Copilot AI requested a review from lpcox November 12, 2026 23:28
@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

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-11511 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit a1020e1

@lpcox
lpcox merged commit 3a3fca1 into main Nov 13, 2026
37 of 39 checks passed
@lpcox
lpcox deleted the ci-doctor/add-ci-007-d98e413dd7b5c332 branch November 13, 2026 00:17
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