Skip to content

Display bounded edit requests and results in chat - #10643

Closed
PhilipJohnBasile wants to merge 4 commits into
unslothai:mainfrom
PhilipJohnBasile:codex/project-tool-approval-review-20260909
Closed

PhilipJohnBasile wants to merge 4 commits into
unslothai:mainfrom
PhilipJohnBasile:codex/project-tool-approval-review-20260909

Conversation

@PhilipJohnBasile

@PhilipJohnBasile PhilipJohnBasile commented Sep 9, 2026 •

Copy link
Copy Markdown

Edit-file calls now have a dedicated chat card showing the requested path and replacements, with distinct results for declined, cancelled, incomplete and failed edits. Malformed streamed arguments remain safe to display. Edits exceeding the complete argument-display limit cannot be approved through buttons, keyboard shortcuts or a remembered allowance; Deny remains visible.

This frontend-only PR is narrowed to edit presentation and its complete-request display guard. Existing Python and terminal “Always allow” behavior is preserved, and the permission-mode copy is unchanged. The broader per-call approval-policy proposal is removed from this diff and retained separately for later discussion. Command execution and supervision are outside this PR.

Current head be86fdaff6ab29e162e270c285c1916a63e293b3 includes upstream 08733896d. All 7,292 frontend tests, app/test typechecks, production build, and startup budget passed locally. The branch uses upstream's current bundle limits. The scope remains edit presentation and the complete-request display guard, with existing Python/terminal remembered approvals preserved. No packaged-desktop acceptance is claimed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 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-09T16:23:17.015646Z 1c4deca 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c4deca98e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen

Copy link
Copy Markdown
Member

This also removes the Always allow button for python and terminal, so anyone using that today will get a prompt on every call, could you confirm that is intended? The edit card itself looks like a useful addition, but it would be easier to review split from the approval policy change.

@PhilipJohnBasile PhilipJohnBasile changed the title Require per-call local tool approval and display edit results Display bounded edit requests and results in chat Sep 10, 2026
@PhilipJohnBasile
PhilipJohnBasile deleted the codex/project-tool-approval-review-20260909 branch September 12, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants