Repository navigation
feat(sdk): opt in to the remote rubric for standalone reclassification - #2257
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
mluck-openai
approved these changes
Nov 2, 2026
3 tasks done
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.
Summary
Standalone severity reclassification previously used either a supplied policy file or the policy bundled with the installed CLI. Picking up a new default meant upgrading the package or maintaining a local copy. This change lets users opt in to the current default for a reclassification.
Changes
CODEX_SECURITY_ENABLE_REMOTE_SEVERITY_RUBRIC=1to look up the default severity rubric in Statsig once for all findings and reviews in a standalone classification. With the variable unset or set to any other value, the bundled rubric is used.CODEX_SECURITY_ENABLE_REMOTE_SEVERITY_RUBRIC=1 codex-security classify-severity --scan latest --json. The three reviews per finding use the same fetched policy. Add--rubric ./policy.mdand all three use the file with zero rubric lookups. SDK callers can passrubricPathfor the same behavior.Testing
classify-severity --help.Risk and rollout
The opt-in is off by default. The lookup sends the config name with exposure logging disabled. It uses a public client key and sends no findings or account identifiers. On timeout, service failure, or an invalid response, classification uses the bundled rubric. The existing result format and saved-assessment hashes stay compatible. The scope is standalone reclassification.
Public disclosure review