Skip to content

cli: rename sandbox permission profile flag - #30095

Merged
viyatb-oai merged 1 commit into
mainfrom
pr30095
Jun 25, 2026
Merged

cli: rename sandbox permission profile flag#30095
viyatb-oai merged 1 commit into
mainfrom
pr30095

Conversation

@bolinfest

@bolinfest bolinfest commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Why

codex sandbox accepts a single named permissions profile, so the existing plural --permissions-profile spelling is misleading. The canonical flag and its help text should use the singular form without breaking scripts that already use the old spelling.

What changed

  • Make --permission-profile the canonical flag for all sandbox backends.
  • Keep --permissions-profile as a hidden backwards-compatible alias.
  • Cover the canonical spelling, legacy alias, and help visibility with regression tests.

Testing

Ran just c sandbox --help and verified I saw:

  -P, --permission-profile <NAME>
          Named permissions profile to apply from the active configuration stack

@bolinfest bolinfest changed the title cli: singularize sandbox permission profile flag cli: rename sandbox permission profile flag Jun 25, 2026
@bolinfest
bolinfest requested a review from viyatb-oai June 25, 2026 18:03
@viyatb-oai
viyatb-oai merged commit 31b99f6 into main Jun 25, 2026
46 of 47 checks passed
@viyatb-oai
viyatb-oai deleted the pr30095 branch June 25, 2026 18:25
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 25, 2026
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