Repository navigation
Tag Guardian review counts with turn origin - #62225
Merged
copyberry[bot] merged 1 commit intoNov 18, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Guardian review counts need a way to distinguish automation-triggered turns from other turns, including when a subagent requests the review. ## What changed Add a `turn_origin` tag to the `codex.guardian.review` counter based on the trigger recorded when the turn started. Recognized automation triggers map to `automation`, missing or empty triggers map to `unknown`, and all other values map to `other`. This keeps the set of metric labels bounded. ## Testing Cover trigger classification for both allow and deny verdicts and verify that a later user turn on the same thread is counted separately from an automation turn in both main and subagent threads. GitOrigin-RevId: 6a5808798df7d184203cea18e60a94a82d71f036
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/6a5808798df7d184203cea18e60a94a82d71f036
branch
from
November 18, 2026 08:20
daf2b4d to
ca21fe6
Compare
Contributor
Codex Review Summary: 🔄 RunningThis 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. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/6a5808798df7d184203cea18e60a94a82d71f036
branch
November 18, 2026 08:21
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:21 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:21 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:21 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:22 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:29 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:29 — with
GitHub Actions
Inactive
lij09406-bit
temporarily deployed
to
issue-triage
November 18, 2026 08:29 — with
GitHub Actions
Inactive
marvin-richter
temporarily deployed
to
issue-triage
November 18, 2026 08:31 — with
GitHub Actions
Inactive
marvin-richter
temporarily deployed
to
issue-triage
November 18, 2026 08:31 — with
GitHub Actions
Inactive
marvin-richter
temporarily deployed
to
issue-triage
November 18, 2026 08:31 — with
GitHub Actions
Inactive
marvin-richter
temporarily deployed
to
issue-triage
November 18, 2026 08:32 — with
GitHub Actions
Inactive
denny-albert
temporarily deployed
to
issue-triage
November 18, 2026 08:33 — with
GitHub Actions
Inactive
denny-albert
temporarily deployed
to
issue-triage
November 18, 2026 08:33 — with
GitHub Actions
Inactive
denny-albert
temporarily deployed
to
issue-triage
November 18, 2026 08:33 — with
GitHub Actions
Inactive
denny-albert
temporarily deployed
to
issue-triage
November 18, 2026 08:34 — with
GitHub Actions
Inactive
liuzhao1225
temporarily deployed
to
issue-triage
November 18, 2026 08:39 — with
GitHub Actions
Inactive
liuzhao1225
temporarily deployed
to
issue-triage
November 18, 2026 08:39 — with
GitHub Actions
Inactive
liuzhao1225
temporarily deployed
to
issue-triage
November 18, 2026 08:39 — with
GitHub Actions
Inactive
thomaskung-chk
temporarily deployed
to
issue-triage
November 18, 2026 08:47 — with
GitHub Actions
Inactive
thomaskung-chk
temporarily deployed
to
issue-triage
November 18, 2026 08:47 — with
GitHub Actions
Inactive
vchaindz
temporarily deployed
to
issue-triage
November 18, 2026 08:53 — with
GitHub Actions
Inactive
ashwin220905-create
temporarily deployed
to
issue-triage
November 18, 2026 09:32 — with
GitHub Actions
Inactive
ashwin220905-create
temporarily deployed
to
issue-triage
November 18, 2026 09:32 — with
GitHub Actions
Inactive
ashwin220905-create
temporarily deployed
to
issue-triage
November 18, 2026 09:32 — with
GitHub Actions
Inactive
voropaevv
temporarily deployed
to
issue-triage
November 18, 2026 09:33 — with
GitHub Actions
Inactive
voropaevv
temporarily deployed
to
issue-triage
November 18, 2026 09:33 — with
GitHub Actions
Inactive
voropaevv
temporarily deployed
to
issue-triage
November 18, 2026 09:33 — with
GitHub Actions
Inactive
voropaevv
temporarily deployed
to
issue-triage
November 18, 2026 09:33 — with
GitHub Actions
Inactive
lemonz666
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
lemonz666
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
lemonz666
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
leventov
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
leventov
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
leventov
temporarily deployed
to
issue-triage
November 18, 2026 09:41 — with
GitHub Actions
Inactive
leventov
temporarily deployed
to
issue-triage
November 18, 2026 09:42 — with
GitHub Actions
Inactive
hoshimoe
temporarily deployed
to
issue-triage
November 18, 2026 09:51 — with
GitHub Actions
Inactive
hoshimoe
temporarily deployed
to
issue-triage
November 18, 2026 09:51 — with
GitHub Actions
Inactive
hoshimoe
temporarily deployed
to
issue-triage
November 18, 2026 09:51 — with
GitHub Actions
Inactive
hoshimoe
temporarily deployed
to
issue-triage
November 18, 2026 09:52 — with
GitHub Actions
Inactive
ariel-levin
temporarily deployed
to
issue-triage
November 18, 2026 09:52 — with
GitHub Actions
Inactive
ariel-levin
temporarily deployed
to
issue-triage
November 18, 2026 09:52 — with
GitHub Actions
Inactive
ariel-levin
temporarily deployed
to
issue-triage
November 18, 2026 09:52 — with
GitHub Actions
Inactive
ariel-levin
temporarily deployed
to
issue-triage
November 18, 2026 09:53 — with
GitHub Actions
Inactive
This branch was previously deployed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Tag Guardian review counts with turn origin
Why
Guardian review counts need a way to distinguish automation-triggered
turns from other turns, including when a subagent requests the review.
What changed
Add a
turn_origintag to thecodex.guardian.reviewcounter based onthe trigger recorded when the turn started. Recognized automation
triggers map to
automation, missing or empty triggers map tounknown, and all other values map toother. This keeps the set ofmetric labels bounded.
Testing
Cover trigger classification for both allow and deny verdicts and
verify that a later user turn on the same thread is counted separately
from an automation turn in both main and subagent threads.