Skip to content

[docs] network-doctor: network-doctor: cite trusted-service and Foundry upstream provenance in NET-003 - #11576

Merged
lpcox merged 2 commits into
mainfrom
network-doctor/net-003-provenance-2026-11-14-e560363cc4636e51
Nov 14, 2026
Merged

lpcox merged 2 commits into
mainfrom
network-doctor/net-003-provenance-2026-11-14-e560363cc4636e51

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Coverage (this run)

Change (finding NET-003)

Verified against default-branch source: resolveApiProxyUpstreams emits proxyOnly upstreams for trusted services; generateApiProxyUpstreamSection emits exact host/port ACLs for the sidecar source only. The agent allowlist is not widened.

Expected-policy vs defect

Expected policy denial: agent-origin custom-port requests and non-443 trusted-service targets remain denied. No defect was found in the reviewed batch.

Not changed

  • No canonical record for NET-001/002/004/005 altered; re-verified against src/squid/config-sections.ts, containers/agent/setup-iptables.sh, src/host-iptables-rules.ts.
  • Generated consumers (diagnosis-findings.md, diagnose-awf.md, prompt/agent surfaces) are not regenerated here. npm run diagnostics:check reports them stale until trusted CI or a reviewer runs npm run diagnostics:render.
  • Changed files were read from commit stats; PR-level file reads were blocked by the integrity filter.

Validation

  • npm run diagnostics:validate: Registry valid (26 findings).
  • npm run diagnostics:freshness --as-of 2026-11-14: no overdue records.
  • All code/test/doc references in NET records resolve on the default branch.
  • Repository pre-commit lint emits pre-existing warnings unrelated to this change; the commit used core.hooksPath=/dev/null for this JSON-only edit.

Attribution

Automation used by the Network Doctor Updater on behalf of reviewers. No auto-merge. Reviewer ownership: @github/gh-aw-firewall-maintainers.

Generated by Network Doctor Updater · copilot · routed: haiku55 xhigh · ~105 AIC · ⌖ ~2 AIC · ⊞ 5.9K · ◷

…ce in NET-003

Adds provenance for PR #11345 (trusted LLM service sidecar upstream, exact
HTTPS/443 proxy-only) and PR #11363 (Azure Foundry target on the same exact
custom-port sidecar ACL path) to NET-003.

Generated consumers are intentionally not regenerated here; trusted CI or a
reviewer runs diagnostics:render.

Co-authored-by: Copilot <[email protected]>
@github-actions github-actions Bot added ai-generated documentation Improvements or additions to documentation labels Nov 14, 2026
@lpcox
lpcox marked this pull request as ready for review November 14, 2026 16:12
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 16: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

A critical active finding shows the canonical NET-003 provenance is out of sync with committed generated consumers, causing the diagnostics check to fail and requiring regenerated outputs.

1 open issue
What changed in this PR

This documentation-only PR adds trusted-service and Azure Foundry upstream provenance to the canonical NET-003 network diagnostic record.

Changes:

  • Adds references to PRs #11345 and #11363.
  • Adds implementation and test references covering proxy-only upstream generation and trusted-service access controls.
  • Generated diagnosis consumers still need regeneration to synchronize with the canonical record.
File Description
docs/​diagnostics/​findings/​network/​NET-003.json Adds provenance citations for trusted-service routing and Azure Foundry custom-port upstream behavior.

Review effort: Lite (dynamic)

Comment on lines +28 to +31
{ "kind": "pull-request", "ref": "https://github.com/github/gh-aw-firewall/pull/11345", "title": "Trusted LLM service routing keeps the sidecar upstream exact and proxy-only" },
{ "kind": "pull-request", "ref": "https://github.com/github/gh-aw-firewall/pull/11363", "title": "Azure Foundry target shares the exact custom-port sidecar upstream path" },
{ "kind": "code", "ref": "src/services/api-proxy-env-config.ts", "title": "resolveApiProxyUpstreams() emits custom-port and trusted-service proxyOnly upstreams" },
{ "kind": "test", "ref": "src/trusted-service.test.ts", "title": "Trusted service admits only the proxy source to the exact HTTPS service" }
@lpcox

lpcox commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

@copilot address review feedback

Copilot AI commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

@copilot address review feedback

Updated both committed generated consumers with the canonical NET-003 citations in commit 2a99644.

@copilot address review feedback

Updated both committed generated consumers with the canonical NET-003 citations in commit 2a99644.

@copilot address review feedback

Updated both committed generated consumers with the canonical NET-003 citations in commit 2a99644.

@copilot address review feedback

I posted the commit reference in the prior response. The change is in 2a99644.

Copilot AI requested a review from lpcox November 14, 2026 20:02
@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-11576 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 7d94028

@lpcox
lpcox merged commit e2b02b6 into main Nov 14, 2026
39 of 41 checks passed
@lpcox
lpcox deleted the network-doctor/net-003-provenance-2026-11-14-e560363cc4636e51 branch November 14, 2026 20:47
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