[docs] Update documentation for features from 2026-05-23#34202
Merged
pelikhan merged 1 commit intoMay 23, 2026
Merged
Conversation
…-warning REQUEST_CHANGES review The `protected-files` policy on `create-pull-request` and `push-to-pull-request-branch` now defaults to `request_review` (creates the PR and submits a REQUEST_CHANGES review) and accepts a fourth value of that same name. The reference tables previously listed only `blocked`/`allowed`/`fallback-to-issue` and marked `blocked` as the default, which no longer matches runtime behavior. PR #34133 additionally extended `create_pull_request` to submit a REQUEST_CHANGES review when threat detection returns a warning (with the detection reason and run-log link), composing with the protected-files review when both fire. Added a short "When Detection Returns a Warning" note under Error Handling. Refs: #34133 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
pelikhan
approved these changes
May 23, 2026
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 - 2026-05-23
This PR updates the documentation based on features merged in the last 24 hours.
Features Documented
protected-filespolicy: newrequest_reviewvalue, now the default (from Create REQUEST_CHANGES review forcreate_pull_requestthreat-warning mode #34133)REQUEST_CHANGESreview composition forcreate-pull-request(from Create REQUEST_CHANGES review forcreate_pull_requestthreat-warning mode #34133)📝 Detailed Changes & References
Changes Made
docs/src/content/docs/reference/safe-outputs-pull-requests.mdprotected-filesnow listsrequest_reviewas the default; previous rows kept forblocked,fallback-to-issue,allowed.default: blocked→default: request_review.workflow_callexample description updated to enumerate all four valid policy values.docs/src/content/docs/reference/threat-detection.mdrequest_reviewdefault and added value.REQUEST_CHANGESreview the handler now submits on warning detections, including composition with the protected-files review when both fire.Verified against current source:
compiler_safe_outputs_handlers.gosetsprotectedFilesPolicy := "request_review"and the spec testcompiler_safe_outputs_config_test.goasserts the same default.actions/setup/js/create_pull_request.cjsbuildsrequestChangesSectionsfromdetectionCaution+ protected-files signals and submits a singleREQUEST_CHANGESreview (falling back toCOMMENTon "own PR" errors).Merged PRs Referenced
create_pull_requestthreat-warning mode #34133 — Create REQUEST_CHANGES review forcreate_pull_requestthreat-warning mode (and protected-files request-review composition)Other merged PRs scanned (no docs update required)
reference/feature-flags.md)reference/effective-tokens-specification.mdR-REG-009)FieldLocationonto consoleErrorPosition#34123, Guard OTLP attribute merge against allocation-size overflow #34117, Increase audit workflow repo-memory patch budget to prevent push_repo_memory failures #34120, Fix Codex smoke workflow by preservingOPENAI_API_KEYin AWF container env #34129, fix: set GH_AW_WORKFLOW_SOURCE_URL for local workflows in failure issues #34090, Remove shared/apm.md; point to microsoft/apm canonical source #34068, Add SEC-004 exemption forgenerate_safe_outputs_tools.cjsfalse positive #34038, Optimize ab-testing-advisor prompt with inline sub-agents #34063 — internal refactors / fixes / spec editsSkipped Issues
[deep-report] Add Claude/Codex/Gemini engine examples to 7+ Copilot-only reference docs) — out of scope for this daily run: estimated ~3h of agent work touching 9 reference pages with parallel non-Copilot examples; deferred to a dedicated PR.[workflow-style] Normalize report formatting for non-compliant workflows) — targets.github/workflows/*.mdprompt files (workflow prompts), not user documentation indocs/src/content/docs/. Outside the scope of the docs updater.Notes
No other unaddressed open
documentation-labeled issues represent a confirmed gap that this run could close.