Skip to content

[docs] docs: unbloat network permissions reference - #78874

Merged
pelikhan merged 1 commit into
mainfrom
docs/unbloat-network-c648bf219349bbb9
Nov 18, 2026
Merged

pelikhan merged 1 commit into
mainfrom
docs/unbloat-network-c648bf219349bbb9

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

  • Duplicate content: The Ecosystem Identifiers table repeated the 10 engine and vendor sets from the Engine Domain Sets table. Those rows are now two summary rows that link to the detailed table.
  • Repeated prose: Engine-set paragraphs restated exclusions already in the table. Each paragraph is shorter, and every host, opt-in path, and exception is kept.
  • Redundant examples: Removed the Implementation YAML (it duplicated the Configuration example) and the Defaults linux-distros YAML (now an inline snippet). Merged the three ecosystem-validation examples into one block.
  • Verbose text: Tightened the intro, content sanitization, protocol filtering, hosted web, wildcard, strict mode, and troubleshooting sections.

Metrics

Metric Before After Change
Words 2,843 2,529 -11%
Lines 364 318 -13%
Code fences 15 13 -2

The 20% target was not reached. The remaining text is normative per-engine domain rules, and cutting further would remove facts.

Verification

  • Anchors #engine-domain-sets and #defaults-baseline still exist.
  • This file has no Mermaid blocks.
  • Only network.md was committed. Pre-existing uncommitted changes in the working tree were left alone.
Section-level changes
  • Intro: one sentence shortened.
  • Hosted web tools: intro sentence shortened.
  • Protocol-specific filtering: shortened.
  • Content sanitization: first paragraph merged with the GitHub-domains sentence; tip shortened.
  • Ecosystem Identifiers: 10 engine/vendor rows replaced by 2 summary rows.
  • Defaults baseline: YAML example replaced with an inline snippet; prose tightened.
  • Engine Domain Sets: intro, threat-detection, claude, and codex paragraphs condensed.
  • Ecosystem Identifier Validation: three examples merged into one block.
  • Strict Mode Validation: intro condensed.
  • Implementation: YAML example removed; four paragraphs and the domains.go note condensed.
  • Firewall Log Level: example trimmed to the sandbox args.
  • Wildcard Domain Patterns: duplicate subdomain sentence removed.
  • Troubleshooting: first paragraph tightened.

References: §44209993078

🗜️ Compressed by Documentation Unbloat · pi · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 5.7K · ◷
Comment /unbloat to run again

  • expires on Nov 19, 2026, 4:52 PM UTC-08:00

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.
@github-actions github-actions Bot added automation doc-unbloat documentation Improvements or additions to documentation labels Nov 18, 2026
@github-actions
github-actions Bot requested an adaptive review from Copilot November 18, 2026 00:53
@pelikhan
pelikhan marked this pull request as ready for review November 18, 2026 00:56
@pelikhan
pelikhan merged commit 956dee5 into main Nov 18, 2026
3 checks passed
@pelikhan
pelikhan deleted the docs/unbloat-network-c648bf219349bbb9 branch November 18, 2026 00:56
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 7.2K · ◷

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 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)) |
@github-actions

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation doc-unbloat documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants