fix: resolve merge conflict in claude_code.rs

Keep master's quiet system/rate_limit_event handlers while preserving
the story-62 permission_request handler (the core feature).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-23 16:01:22 +00:00
parent 026ba3cbcf
commit 6962e92f0c
8 changed files with 367 additions and 43 deletions

View File

@@ -0,0 +1,26 @@
---
name: Agent Permission Prompts in Web UI
test_plan: pending
---
# Story 62: Agent Permission Prompts in Web UI
## User Story
As a user interacting with an agent through the web UI, I want to be prompted for permission approvals (e.g. file writes, commits) so that the agent can complete tasks that require elevated permissions without getting blocked.
Right now, the web UI does not have any way of the user allowing permissions requests, so dev processes are basically blocked.
## Acceptance Criteria
- [ ] When an agent action requires permission (e.g. writing to a file, committing), the web UI surfaces a prompt to the user
- [ ] The user can approve or deny the permission request from the UI
- [ ] On approval, the agent continues with the requested action
- [ ] On denial, the agent receives the denial and adjusts its approach
- [ ] Permission prompts display enough context (file path, action type) for the user to make an informed decision
## Out of Scope
- Bulk/blanket permission grants (e.g. "allow all writes to this directory")
- Persisting permission decisions across sessions