Skip to content

acp: select a reject option on permission requests; cancel only without options - #63

Open
CryptoJones wants to merge 1 commit into
mainfrom
fix/62-permission-reject-not-cancel
Open

acp: select a reject option on permission requests; cancel only without options#63
CryptoJones wants to merge 1 commit into
mainfrom
fix/62-permission-reject-not-cancel

Conversation

@CryptoJones

Copy link
Copy Markdown
Owner

Fixes #62. Follow-up to #61, found on the first delivered CmdrData full-brief turn: the turn completed (506.1s, exit 0 — the #56 stall is gone) but the answer was one sentence, because our cancelled reply to its permission request read as "the user cancelled the turn" (pool-acp log: permission request cancelled at 19:29:22, then wrap-up). ACP permission requests carry an options list; the client now selects a reject-kind option ("denied, carry on") and falls back to cancelled only when no options are present. One new test; 123 pass.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

🤖 Generated with Claude Code

https://claude.ai/code/session_01VmauK5UCYGRYyXoQ36FQ3S

…ut options (#62)

"cancelled" means the user cancelled the turn, and agents honour it:
Laguna's first delivered full-brief turn (506s, post-#61) ended after one
sentence on exactly that reply. With options present the client now
selects a reject-kind option -- denied, carry on -- falling back to
cancelled only when the request carries none. 123 tests pass (1 new).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmauK5UCYGRYyXoQ36FQ3S
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: deb9c2e0-9e50-4925-8218-d521e9d8dbe2


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

acp: 'cancelled' permission response aborts the agent's turn — select a reject option instead

1 participant