Skip to content

Expose the startup tool allowlist on CodexThread - #65493

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/9be59b44160ce0bd199f07fca880a2553303ae4f
Dec 3, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Expose the startup tool allowlist on CodexThread

Why

Hosts starting a child thread need access to the parent thread's startup
tool allowlist so they can carry that policy forward.

What changed

Add CodexThread::allowed_tools() to read the startup allowlist. It
returns None when the policy leaves tool selection unrestricted and
an empty slice when the policy allows no tools.

Testing

Extend the managed-thread startup allowlist test to verify that the
accessor returns the configured list.

## Why

Hosts starting a child thread need access to the parent thread's startup
tool allowlist so they can carry that policy forward.

## What changed

Add `CodexThread::allowed_tools()` to read the startup allowlist. It
returns `None` when the policy leaves tool selection unrestricted and
an empty slice when the policy allows no tools.

## Testing

Extend the managed-thread startup allowlist test to verify that the
accessor returns the configured list.

GitOrigin-RevId: 9be59b44160ce0bd199f07fca880a2553303ae4f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/9be59b44160ce0bd199f07fca880a2553303ae4f branch from 45ea236 to f43e3d3 Compare December 3, 2026 14:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T14:10:47.728354Z 45ea236 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 f43e3d3 into main Dec 3, 2026
7 of 22 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/9be59b44160ce0bd199f07fca880a2553303ae4f branch December 3, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant