Skip to content

Move Guardian thread context into guardianv2 configuration - #43104

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/54a91555eb68001e0adedc8a07bdbc5ea2273f9b
Sep 5, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Move Guardian thread context into guardianv2 configuration

What changed

Replace features.guardian_thread_context with features.guardianv2.thread_context and update the configuration schema. The setting controls thread-owned context for synchronous and asynchronous Guardian, defaults to false, and remains independent of features.guardianv2.enabled.

Testing

Update configuration tests to cover the nested setting, profile overrides, and enabling thread context while Guardian v2 is disabled. Migrate Guardian approval, history, and async scorer tests to the new configuration key.

## What changed

Replace `features.guardian_thread_context` with `features.guardianv2.thread_context` and update the configuration schema. The setting controls thread-owned context for synchronous and asynchronous Guardian, defaults to `false`, and remains independent of `features.guardianv2.enabled`.

## Testing

Update configuration tests to cover the nested setting, profile overrides, and enabling thread context while Guardian v2 is disabled. Migrate Guardian approval, history, and async scorer tests to the new configuration key.

GitOrigin-RevId: 54a91555eb68001e0adedc8a07bdbc5ea2273f9b
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/54a91555eb68001e0adedc8a07bdbc5ea2273f9b branch from bc30df2 to e4ce834 Compare September 5, 2026 21:29
@copyberry
copyberry Bot merged commit e4ce834 into main Sep 5, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/54a91555eb68001e0adedc8a07bdbc5ea2273f9b branch September 5, 2026 21:30
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 5, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — e4ce8341 Deployed Sep 5, 2026 by moofone via Generate label suggestions #42639
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.

5 participants