Repository navigation
[docs] docs: unbloat network permissions reference - #78874
Conversation
Consolidate engine domain-set information that was repeated across the Ecosystem Identifiers table, the Engine Domain Sets table, and the prose that followed. Remove duplicate YAML examples and repeated sentences. All domain lists, precedence rules, and compile-time behavior are kept.
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
The documentation still contains two active inaccuracies about GitHub domain defaults and automatic threat-detection behavior that must be corrected.
2 open issues
What changed in this PR
This PR streamlines the network permissions reference by removing duplicated engine-set details, redundant examples, and repetitive explanations while preserving domain rules, precedence behavior, validation guidance, and configuration semantics.
Changes:
- Consolidates ecosystem and engine-domain information into linked summary rows.
- Removes duplicate YAML examples and merges validation examples.
- Condenses prose across defaults, filtering, sanitization, firewall behavior, wildcard patterns, strict mode, and troubleshooting.
| File | Description |
|---|---|
| docs/src/content/docs/reference/network.md | Condensed the network permissions reference by consolidating domain-set documentation, removing redundant examples, and tightening explanatory prose. |
Review effort: Lite (adaptive)
| ## Content Sanitization | ||
|
|
||
| `network:` also controls which domains may appear in sanitized content. URLs from domains outside the allowlist are replaced with `(redacted)` to reduce exfiltration risk through untrusted links. | ||
| `network:` also controls sanitized content: URLs from domains outside the allowlist are replaced with `(redacted)` to reduce exfiltration risk through untrusted links. GitHub domains (`github.com`, `githubusercontent.com`, etc.) are always allowed. |
| | `pi` | Pi gateway/GitHub transport (GitHub web, `host.docker.internal`, `raw.githubusercontent.com`) | | ||
| | `pi-base` | Pi provider-independent gateway baseline (`github.com`, `host.docker.internal`, `raw.githubusercontent.com`) | | ||
| | `threat-detection` | Compatibility alias for Copilot threat-detection network access (`api.githubcopilot.com`, Copilot plan APIs, `api.github.com`, `github.com`, `host.docker.internal`) | | ||
| | `copilot`, `claude`, `codex`, `gemini`, `pi`, `pi-base`, `threat-detection` | Engine gateway/GitHub transport sets, not added automatically ([details](#engine-domain-sets)) | |
|
🎉 This pull request is included in a new release. Release: |

Summary
Consolidates
docs/src/content/docs/reference/network.md, the only file changed in this run. Removes repeated engine-set information and duplicate examples. All domain lists, precedence rules, and compile-time behavior are kept.Bloat removed
linux-distrosYAML (now an inline snippet). Merged the three ecosystem-validation examples into one block.Metrics
The 20% target was not reached. The remaining text is normative per-engine domain rules, and cutting further would remove facts.
Verification
#engine-domain-setsand#defaults-baselinestill exist.network.mdwas committed. Pre-existing uncommitted changes in the working tree were left alone.Section-level changes
References: §44209993078