speakeasy-api / speakeasy-api/kit

Headless ACP subagents cannot request permission

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
40
Forks
4
Avg merge
4h 18m
Merged PRs (30d)
148

Description

Kit handles nested ACP RequestPermissionRequest values with a fail-closed profile policy so a headless child cannot wait indefinitely for a human response. The default deny policy selects only a rejection option when available, while cancel returns Cancelled. As a result, ACP harnesses that require approval for protected actions must be configured in a noninteractive or pretrusted mode, or those actions fail.

A future design could route permission requests through the parent interaction surface while preserving cancellation, attribution, and noninteractive safety. Until then this limitation should remain explicit in harness setup guidance.

Relevant implementation: src/acp_child.rs request handler.

Current status

Profiles now have a fail-closed permissions = "deny" | "cancel" policy. deny selects only ACP rejection options and never approval; cancel preserves the previous behavior. Interactive routing to a parent user remains unresolved.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the request handler in src/acp_child.rs and trace how nested RequestPermissionRequest values use the profiles' permissions = "deny" | "cancel" policy. Define the parent-routing design and its cancellation, attribution, and noninteractive-safety behavior before implementing; done means the agreed behavior is covered without allowing headless children to wait indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.