Repository navigation
fix: review agent app requests before first use - #510
Closed
ahmad-ajmal wants to merge 1 commit into
Closed
ahmad-ajmal wants to merge 1 commit into
ahmad-ajmal wants to merge 1 commit into
Conversation
Signed-off-by: ahmad-ajmal <ahmadajmal1514@gmail.com>
ahmad-ajmal
force-pushed
the
codex/remove-agent-app-trigger-approval
branch
from
October 29, 2026 09:34
e71f9a9 to
013a692
Compare
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Move Agent App request approval to a visible review modal on first launch and when delivered request definitions change. The app starts in the background while the user reviews the requests; triggering an agent run never starts a separate consent-question run.
Why
An app could appear broken because its first request was refused pending an approval the user did not know was required. Users need to see and approve what the app may ask CraftBot to do before those requests run, especially for third-party apps.
Legacy per-app approval booleans do not identify the reviewed definitions, so existing apps receive one UI review. The agent-facing approval action, chat consent prompts, and automatic pre-approval during creation/promotion are removed. Declining does not uninstall or stop the app, and previously blocked requests are not automatically replayed after approval.
How to test
Validation:
tsc --noEmit, Vite production build, source byte-compilation, andgit diff --checkpass.app/credentials/vault.py(1087 and 1145) as the base branch.Screenshots / Logs
Live verification used the real CraftBot backend, PocketBase app, and configured model in an isolated profile:
The review modal also explains that app requests can start agent work and use connected services, including while the app is not being viewed.