Skip to content

Add Guardian V2 analytics events - #42144

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0805975f8e8f9d954aa1058ea8c60545a090ae74
Sep 1, 2026
Merged

Add Guardian V2 analytics events#42144
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/0805975f8e8f9d954aa1058ea8c60545a090ae74

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Add Guardian V2 analytics events

What changed

  • Emit codex_guardian_v2_classification events with the outcome, risk
    level, duration, model, and thread attribution.
  • Emit codex_guardian_v2_fast_decision events when Guardian V2 approves an
    action without a full review.
  • Add guardian_v2_enabled to turn analytics, accounting for review scope
    and model requirements.

Testing

  • Extend the Guardian V2 app-server coverage to verify event payloads,
    attribution, enablement state, and scoped event emission.

## What changed

- Emit `codex_guardian_v2_classification` events with the outcome, risk
  level, duration, model, and thread attribution.
- Emit `codex_guardian_v2_fast_decision` events when Guardian V2 approves an
  action without a full review.
- Add `guardian_v2_enabled` to turn analytics, accounting for review scope
  and model requirements.

## Testing

- Extend the Guardian V2 app-server coverage to verify event payloads,
  attribution, enablement state, and scoped event emission.

GitOrigin-RevId: 0805975f8e8f9d954aa1058ea8c60545a090ae74
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/0805975f8e8f9d954aa1058ea8c60545a090ae74 branch from a005d91 to 86b7d12 Compare September 1, 2026 22:03
@copyberry
copyberry Bot merged commit 86b7d12 into main Sep 1, 2026
24 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/0805975f8e8f9d954aa1058ea8c60545a090ae74 branch September 1, 2026 22:04
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants