Repository navigation
Add managed command checkpoints requiring fresh human approval - #58045
Merged
copyberry[bot] merged 1 commit intoOct 29, 2026
Conversation
## Why Managed command policies need to require a human decision independently of automatic review, hook allowances, and saved approvals. ## What changed - Support `decision = "prompt-user"` in managed `requirements.toml` prefix rules, requiring a fresh, one-time human decision for matching commands. - Add experimental `humanCommand` approval requests for clients advertising both `experimentalApi` and `requiredHumanApproval`. Accept only `accept`, `decline`, or `cancel`; reject commands when no capable client is available. - Restrict responses to capable clients that received the request, and replay pending prompts to compatible clients on reconnect. - Enable the capability in the TUI and update protocol schemas and client bindings. ## Testing Add coverage for fresh decisions overriding saved allowances, hook allowances, and automatic review, plus child-thread approval routing and rejection of responses from incompatible or unrelated clients. GitOrigin-RevId: 0b95ff6aab7f8a04b7298c8a4329d1fddf6a603e
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/0b95ff6aab7f8a04b7298c8a4329d1fddf6a603e
branch
from
October 29, 2026 11:24
cf3d2bc to
9cc14e7
Compare
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/0b95ff6aab7f8a04b7298c8a4329d1fddf6a603e
branch
October 29, 2026 11:24
maryam-naseem-alavi
temporarily deployed
to
issue-triage
October 29, 2026 11:24 — with
GitHub Actions
Inactive
maryam-naseem-alavi
temporarily deployed
to
issue-triage
October 29, 2026 11:24 — with
GitHub Actions
Inactive
maryam-naseem-alavi
temporarily deployed
to
issue-triage
October 29, 2026 11:24 — with
GitHub Actions
Inactive
studioroaaalhaidari-dev
temporarily deployed
to
issue-triage
October 29, 2026 11:26 — with
GitHub Actions
Inactive
studioroaaalhaidari-dev
temporarily deployed
to
issue-triage
October 29, 2026 11:26 — with
GitHub Actions
Inactive
studioroaaalhaidari-dev
temporarily deployed
to
issue-triage
October 29, 2026 11:26 — with
GitHub Actions
Inactive
studioroaaalhaidari-dev
temporarily deployed
to
issue-triage
October 29, 2026 11:27 — with
GitHub Actions
Inactive
Olof-Lagerkvist
temporarily deployed
to
issue-triage
October 29, 2026 11:31 — with
GitHub Actions
Inactive
Olof-Lagerkvist
temporarily deployed
to
issue-triage
October 29, 2026 11:31 — with
GitHub Actions
Inactive
Olof-Lagerkvist
temporarily deployed
to
issue-triage
October 29, 2026 11:31 — with
GitHub Actions
Inactive
carloscdlr
temporarily deployed
to
issue-triage
October 29, 2026 11:42 — with
GitHub Actions
Inactive
carloscdlr
temporarily deployed
to
issue-triage
October 29, 2026 11:42 — with
GitHub Actions
Inactive
carloscdlr
temporarily deployed
to
issue-triage
October 29, 2026 11:42 — with
GitHub Actions
Inactive
G384278678
temporarily deployed
to
issue-triage
October 29, 2026 11:43 — with
GitHub Actions
Inactive
G384278678
temporarily deployed
to
issue-triage
October 29, 2026 11:43 — with
GitHub Actions
Inactive
G384278678
temporarily deployed
to
issue-triage
October 29, 2026 11:43 — with
GitHub Actions
Inactive
G384278678
temporarily deployed
to
issue-triage
October 29, 2026 11:44 — with
GitHub Actions
Inactive
tfdmendes
temporarily deployed
to
issue-triage
October 29, 2026 11:46 — with
GitHub Actions
Inactive
tfdmendes
temporarily deployed
to
issue-triage
October 29, 2026 11:46 — with
GitHub Actions
Inactive
tfdmendes
temporarily deployed
to
issue-triage
October 29, 2026 11:46 — with
GitHub Actions
Inactive
tfdmendes
temporarily deployed
to
issue-triage
October 29, 2026 11:47 — with
GitHub Actions
Inactive
Priate-cat
temporarily deployed
to
issue-triage
October 29, 2026 12:00 — with
GitHub Actions
Inactive
Priate-cat
temporarily deployed
to
issue-triage
October 29, 2026 12:00 — with
GitHub Actions
Inactive
Priate-cat
temporarily deployed
to
issue-triage
October 29, 2026 12:00 — with
GitHub Actions
Inactive
lonh-jing
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
lonh-jing
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
lonh-jing
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
Manamomachismo
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
Manamomachismo
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
Manamomachismo
temporarily deployed
to
issue-triage
October 29, 2026 12:05 — with
GitHub Actions
Inactive
Manamomachismo
temporarily deployed
to
issue-triage
October 29, 2026 12:06 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Add managed command checkpoints requiring fresh human approval
Why
Managed command policies need to require a human decision independently of automatic review, hook allowances, and saved approvals.
What changed
decision = "prompt-user"in managedrequirements.tomlprefix rules, requiring a fresh, one-time human decision for matching commands.humanCommandapproval requests for clients advertising bothexperimentalApiandrequiredHumanApproval. Accept onlyaccept,decline, orcancel; reject commands when no capable client is available.Testing
Add coverage for fresh decisions overriding saved allowances, hook allowances, and automatic review, plus child-thread approval routing and rejection of responses from incompatible or unrelated clients.