Skip to content

Place shared request policy in the headless application - #190

Merged
tzhouam merged 2 commits into
mainfrom
codex/run-policy-boundary-20260926
Sep 25, 2026
Merged

tzhouam merged 2 commits into
mainfrom
codex/run-policy-boundary-20260926

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

The SDK and reserved-run worker currently import request validation from a module named for the MCP transport, obscuring which layer owns the safety gate. This moves that policy into the headless application, points application callers at it, and keeps mcp_policy as a compatibility import for existing hosts. The policy behavior is unchanged. A drift-guard test now forces its intended import failure instead of depending on whether this development environment has vllm installed.

Validation: focused SDK/MCP/contract/packaging tests passed; the full local suite now passes, and strict SPEC coverage/freshness passes, and an installed-wheel smoke confirms the legacy and application policy imports resolve to the same callables. An environment-sensitive drift-guard test was made deterministic after the same failure was reproduced on unchanged main. CI validates the complete branch.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T21:50:10.890059Z 751ca8c 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.

@tzhouam
tzhouam merged commit 9686c8e into main Sep 25, 2026
2 checks passed
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