Skip to content

[docs] Update documentation for strict mode network validation features from 2026-02-13#15426

Merged
pelikhan merged 3 commits intomainfrom
main-d5907a5e8e0a26d4
Feb 13, 2026
Merged

[docs] Update documentation for strict mode network validation features from 2026-02-13#15426
pelikhan merged 3 commits intomainfrom
main-d5907a5e8e0a26d4

Conversation

@github-actions
Copy link
Contributor

Documentation Updates - 2026-02-13

This PR updates the documentation based on features merged in the last 24 hours.

Features Documented

  1. Strict mode ecosystem validation for all engines (from Enforce strict mode network domain validation for all engines #15409)

    • Strict mode now applies network domain validation to ALL engines, including codex
    • Previously only engines without LLM gateway support enforced known ecosystem domains
    • Updated to clarify this unified policy across all engines
  2. Helpful error messages for ecosystem suggestions (from Add ecosystem identifier suggestions to strict mode network validation errors #15424)

    • When strict mode rejects individual ecosystem domains (e.g., pypi.org), error messages now suggest the appropriate ecosystem identifier (e.g., python)
    • Added examples of the new error message format
    • Documented the "Did you mean" suggestion feature

Changes Made

  • docs/src/content/docs/reference/network.md:

    • Added new "Strict Mode Validation" section explaining ecosystem identifier requirements
    • Documented that strict mode applies to all engines (not just those without LLM gateway support)
    • Added examples of helpful error messages with ecosystem suggestions
    • Included examples showing rejected vs. accepted configurations
  • docs/src/content/docs/guides/network-configuration.md:

    • Added new "Strict Mode and Ecosystem Identifiers" section in the guide
    • Provided practical examples of rejected and accepted configurations
    • Added example of the new error message format with suggestions
    • Updated "Security Best Practices" to include keeping strict mode enabled
  • docs/src/content/docs/reference/frontmatter.md:

    • Updated strict mode enforcement areas to include ecosystem identifier requirement
    • Added note about helpful error messages with ecosystem suggestions
    • Added cross-reference to the new Network Permissions strict mode validation section
    • Clarified that this validation applies to all engines

Merged PRs Referenced

Notes

The documentation now clearly explains:

  • Strict mode network validation applies to ALL engines uniformly
  • Individual ecosystem domains are rejected in strict mode with helpful suggestions
  • Custom domains (not part of known ecosystems) are still allowed in strict mode
  • Error messages provide "Did you mean" suggestions mapping domains to ecosystems
  • Users can disable strict mode for development/testing if needed

🤖 Generated with [Claude Code]((claude.com/redacted)

AI generated by Daily Documentation Updater

  • expires on Feb 14, 2026, 3:13 PM UTC

Document new strict mode features for network configuration:
- Strict mode now enforces ecosystem identifiers for all engines
- Error messages suggest appropriate ecosystem identifiers
- Custom domains still allowed in strict mode

Changes:
- Add "Strict Mode Validation" section to network reference
- Add "Strict Mode and Ecosystem Identifiers" to network guide
- Update frontmatter strict mode enforcement areas
- Include examples of new error messages

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Feb 13, 2026
- "pypi.org" # Error: use 'python' ecosystem instead
- "npmjs.org" # Error: use 'node' ecosystem instead

# ✅ Accepted in strict mode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot custom domains are always refused in strict mode

Copy link
Contributor

Copilot AI commented Feb 13, 2026

@pelikhan I've opened a new pull request, #15431, to work on those changes. Once the pull request is ready, I'll request review from you.

* Initial plan

* Fix documentation: clarify custom domains are rejected in strict mode

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan merged commit 68c039d into main Feb 13, 2026
1 check passed
@pelikhan pelikhan deleted the main-d5907a5e8e0a26d4 branch February 13, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants