Repository navigation
Fix inverted strict: mode documentation in frontmatter reference - #52100
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix inverted strict mode documentation in frontmatter reference
Fix inverted strict: mode documentation in frontmatter reference
Aug 11, 2026
pelikhan
approved these changes
Aug 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Corrects the frontmatter reference so strict mode accurately reflects compiler and schema behavior.
Changes:
- Documents
strictas enabling enhanced security validation by default. - Clarifies that
strict: falsedisables enhanced validation.
Show a summary per file
| File | Description |
|---|---|
docs/src/content/docs/reference/frontmatter.md |
Corrects strict-mode documentation and YAML guidance. |
Review details
Tip
Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
Contributor
|
🎉 This pull request is included in a new release. Release: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/src/content/docs/reference/frontmatter.mddescribedstrict:mode backwards, implyingstrict: falsetightens security when the schema and compiler show the opposite:strictdefaults totrueand is the stronger security/compliance mode.Changes
strict:section indocs/src/content/docs/reference/frontmatter.mdto state it enables enhanced security validation (default:true), rather than disables it.strict: falseto clarify it disables the enhanced validation, instead of the previous ambiguous "Disable for development/testing" phrasing.strict:mode documentation in frontmatter reference #52086