Make Agent Profiles Portable

Open 💬 1 comment Opened Aug 26, 2026 by Esk3nder
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

CLI

What feature would you like to see?

I understand why Codex 0.149.1 introduced bounded configuration overrides:
https://github.com/openai/codex/pull/39299

TL;DR: Installing an agent profile should not silently install arbitrary executable code.

However, as an agent publisher, this change breaks a core capability I was excited about:
functionally portable agent profiles.

Before, a role could package both behavior and enforcement, including its instructions, model configuration, start logic, identity binding, and completion validation. Now, executable guarantees a required to be in a separately trusted project or plugin layer, so the profile alone no longer describes the complete agent.

Removing role-local hooks makes a role less like a program and more like a prompt.

This makes sophisticated agents harder to share, install, version, test, and reproduce reliably across environments. The security change is defensible, but it should have shipped with a first-class agent package that can declare its required lifecycle capabilities, request scoped user approval, and let developers distribute the complete system as one inspectable, portable unit.

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 2 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #40130

Powered by Codex Action