Restrict shell_command to a single local environment - #36329
Merged
copyberry[bot] merged 1 commit intoJul 31, 2026
Merged
Conversation
## What changed - Register the legacy `shell_command` handler only when exactly one local environment is available, including when unified exec keeps it hidden for compatibility. - Reserve the unnamespaced `shell_command` name so external tools cannot claim it when the built-in handler is unavailable. Namespaced tools with that name remain supported. ## Testing - Cover remote and multiple-environment tool plans, unified exec routing, and external tool registration for reserved and namespaced variants. GitOrigin-RevId: 93834539b31ac8a7fea072bfa4de792bcc3e053b
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/93834539b31ac8a7fea072bfa4de792bcc3e053b
branch
from
July 31, 2026 14:02
5055bad to
ef293f7
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/93834539b31ac8a7fea072bfa4de792bcc3e053b
branch
July 31, 2026 14:03
jiuzaizhezheer
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
jiuzaizhezheer
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
jiuzaizhezheer
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
barrettpk1-arch
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
barrettpk1-arch
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
barrettpk1-arch
temporarily deployed
to
issue-triage
July 31, 2026 14:30 — with
GitHub Actions
Inactive
barrettpk1-arch
temporarily deployed
to
issue-triage
July 31, 2026 14:31 — with
GitHub Actions
Inactive
jiuzaizhezheer
temporarily deployed
to
issue-triage
July 31, 2026 14:31 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restrict
shell_commandto a single local environmentWhat changed
shell_commandhandler only when exactly one local environment is available, including when unified exec keeps it hidden for compatibility.shell_commandname so external tools cannot claim it when the built-in handler is unavailable. Namespaced tools with that name remain supported.Testing