Skip to content

Restrict Guardian native multi-agent history to the OpenAI provider - #59737

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bfbe547b0544e66763dca7d1e1376f805994bcb2
Nov 5, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/bfbe547b0544e66763dca7d1e1376f805994bcb2

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Restrict Guardian native multi-agent history to the OpenAI provider

What changed

Require the openai provider ID as well as GuardianNativeMultiAgentHistory to enable native agent history and review of multi-agent calls. Apply the same check to Guardian prompt construction, collaboration tool registration, and Guardian v2 configuration.

Testing

Add coverage for fresh and resumed sessions with the feature enabled and disabled on OpenAI, and enabled on Bedrock and LiteLLM. Verify that only OpenAI sessions with the feature enabled request native review and include the agent call as evidence.

…59737)

## What changed

Require the `openai` provider ID as well as `GuardianNativeMultiAgentHistory` to enable native agent history and review of multi-agent calls. Apply the same check to Guardian prompt construction, collaboration tool registration, and Guardian v2 configuration.

## Testing

Add coverage for fresh and resumed sessions with the feature enabled and disabled on OpenAI, and enabled on Bedrock and LiteLLM. Verify that only OpenAI sessions with the feature enabled request native review and include the agent call as evidence.

GitOrigin-RevId: bfbe547b0544e66763dca7d1e1376f805994bcb2
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/bfbe547b0544e66763dca7d1e1376f805994bcb2 branch from b993efb to 9abfbce Compare November 5, 2026 20:57
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-05T20:57:17.128073Z b993efb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 9abfbce into main Nov 5, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/bfbe547b0544e66763dca7d1e1376f805994bcb2 branch November 5, 2026 20:57
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 5, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 9abfbcea Deployed Nov 5, 2026 by Konstantinopl85 via Generate label suggestions #61716
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