aws / aws/amazon-q-developer-cli
trusting `t` a tool doesn't work anymore
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### 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 15.5.0 (24F74)
### Expected behaviour
Once trusted (`t`), `execute_bash` will run without prompt.
### Actual behaviour
It prompts every time. See log below.
### Steps to reproduce
```console
q chat "run git status 5 times in a row"
```
```
> I'll run git status 5 times in a row for you.
🛠️ Using tool: execute_bash
⋮
● I will run the following shell command: git status
⋮
↳ Purpose: First git status check
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
[Q] > t
On branch my-branch
Your branch is up to date with 'origin/my-branch'.
nothing to commit, working tree clean
⋮
● Completed in 0.72s
🛠️ Using tool: execute_bash
⋮
● I will run the following shell command: git status
⋮
↳ Purpose: Second git status check
Allow this action? Use 't' to trust (always allow) this tool for the session. [y/n/t]:
[Q] > ```
### Environment
```yaml
[q-details]
version = "1.13.0"
hash = "5f91e9a7619f1460eb2a017f4df5ca8d6bcd01fa"
date = "2025-07-31T03:24:01.41319Z (4d ago)"
variant = "full"
[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M4 Pro"
total-cores = 14
memory = "48.00 GB"
[environment]
cwd = "/Users/USER/code/"
cli-path = "/Users/USER/code/"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "VSCode"
install-method = "unknown"
[env-vars]
PATH = ""
QTERM_SESSION_ID = "4862dde938e440c78ad8d8c900e9f470"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.13.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/Users/USER"
__CFBundleIdentifier = "com.microsoft.VSCode"
```
Contributor guide
Assessment
This issue has not been assessed yet.