aws / aws/amazon-q-developer-cli

Subagents documentation bug suggests agents can pause for tool permission approval

Aperta
#3,582 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
2k
Fork
439
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 26.2.0 (25C56)

### Expected behaviour

If my (and Kiro's own!) understanding of subagents is correct, in the How Subagents Work section of the CLI Subagents doc ( https://kiro.dev/docs/cli/chat/subagents/#how-subagents-work ) should not suggest that subagents can pause to request user approval for certain tool permissions, because I don't think the CLI provides support (or at the very least the UX is really bad) for providing approvals to subagents.

### Actual behaviour

When I run a task via a subagent I can see the conversation indicating that the subagent wants approval to do a search but I cannot (via the Kiro/Q CLI interface) provide this approval by entering 'y'. See Steps to repro.

### Steps to reproduce

Prompt:
```
[joshea] > use the default subagent to tell me what the latest breaking news related to Rust-based software development insize Amazon is.
```

```
Invoking subagent: kiro_default with query: What is the latest news about Rust-based software development inside Amazon? Search internal resources for recent Rust projects, announcements, or initiatives. (using tool: subagent)
┌ ! kiro_default: What is the latest news about Rust-based software developme┐
→│ │
│> calling tool InternalSearch │
│ │
│ │
│> tool use InternalSearch requires approval, press 'y' to approve and 'n' t│
│ deny │
│ purpose: Search for Rust programming language in technical documentation │
│ and wiki │
└────────────────────────────────────────────────────────────────────────────┘
Controls: o toggle convo ^+C interrupt
```

### Environment

```yaml

[q-details]
version = "1.23.1"
hash = "faddc2c7ee17078025a62a8dfad6543a4154d2fa"
date = "2025-12-23T23:07:20.579821Z (13d ago)"
variant = "full"

[system-info]
os = "macOS 26.2.0 (25C56)"
chip = "Apple M3 Pro"
total-cores = 12
memory = "36.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"

[env-vars]
PATH = "/opt/homebrew/opt/node@20/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/usr/local/go/bin:/opt/podman/bin:/Users/USER/.cargo/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/.toolbox/bin"
QTERM_SESSION_ID = "45817a86fe3a4cb48a7635e8edd2bb6a"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.20.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Apri la documentazione di CLI Subagents all’URL collegato e leggi la sezione “How Subagents Work” insieme all’output del terminale riprodotto. Aggiorna la sezione in modo che la descrizione dell’approvazione delle autorizzazioni degli strumenti dei subagent corrisponda all’interazione con la CLI che gli utenti possono effettivamente completare, quindi verifica che il comportamento documentato non sia più in conflitto con l’esempio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
cli, documentation
Tipo di issue
Documentazione
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.