[docs] Update documentation for features merged April 15, 2026#26399
Merged
[docs] Update documentation for features merged April 15, 2026#26399
Conversation
- Add --approve flag to compile, run, and upgrade command options in
cli.md; explain safe update mode enforcement behavior and when to use it
- Document protected-files object form ({ policy, exclude }) in
safe-outputs-pull-requests.md; covers how to exempt specific files
(e.g. AGENTS.md) from the default protected set without disabling
all protection
From PRs: #26350 (--approve rename), #26339 (protected-files exclude)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Documentation Updates — April 15, 2026
This PR updates the documentation based on features merged in the last 24 hours.
Features Documented
--approveflag forcompile,run, andupgradecommands (from fix: rename --approve-updates to --approve and skip safe update enforcement on first compile #26350)protected-files: { policy, exclude }object form forcreate-pull-requestandpush-to-pull-request-branch(from feat: addprotected-files: { exclude: [...] }to override the default protected-file set #26339)📝 Detailed Changes & References
Changes Made
Updated
docs/src/content/docs/setup/cli.md:--approveto the options list forcompile,run, andupgradecommands--approveis needed (subsequent compiles with manifest changes vs. first-compile no-op)Updated
docs/src/content/docs/reference/safe-outputs-pull-requests.md:protected-filesobject form ({ policy: ..., exclude: [...] })AGENTS.md,.agents/) from the default protected set without disabling all protection viaallowedMerged PRs Referenced
fix: rename --approve-updates to --approve and skip safe update enforcement on first compileprotected-files: { exclude: [...] }to override the default protected-file set #26339 —feat: add protected-files: { exclude: [...] } to override the default protected-file setSkipped Issues
COPILOT_PROVIDER_*BYOK vars: requires understanding of Copilot CLI 1.0.19 internals not present in a recent code change; deferring to a focused follow-up.v0.45.5version links in blog posts: requires automation or bulk update across 18 files; out of scope for this daily run.patterns/workqueue-ops.md,patterns/batch-ops.md); issue can be closed separately.Notes
The following merged PRs from the last 24 hours were reviewed but did not require doc updates:
safe-outputs-pull-requeststhe primary reference for all PR-safe outputs #26366 — Docs consolidation (already applied in a previous PR)git cat-filerefactor (internal).mcp.jsonpath fix (already documented correctly)permission-discussionsunexpected input warning from actions/create-github-app-token #26337 —permission-discussionswarning fix (internal)tools.github: falseoverride fix (internal)