aws / aws/amazon-q-developer-cli
Trusted tool settings do not persist
- 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.4.0 (24E248)
### Expected behaviour
In `q chat`, when you have trusted some tools in one chat session, it should persist when quit and start a new chat.
### Actual behaviour
Trusted some tools in one chat session reset after quit and start a new chat.
### Steps to reproduce
1. Open `q chat`;
2. Trust a tool, say `some-tool`
3. Quit the chat and start a new chat;
4. `some-tool` is not trusted anymore;
### Environment
```yaml
[q-details]
version = "1.7.3"
hash = "1320eb8c18fa62c781b1cf4146b2453b71f9b225"
date = "2025-04-11T20:08:35.856711Z (3d ago)"
variant = "full"
[system-info]
os = "macOS 15.4.0 (24E248)"
chip = "Apple M3 Pro"
total-cores = 12
memory = "36.00 GB"
[environment]
cwd = "/Users/USER/.aws/amazonq"
cli-path = "/Users/USER/.aws/amazonq"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"
[env-vars]
PATH = "REDACTED"
QTERM_SESSION_ID = "REDACTED"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.2"
Q_USING_ZSH_AUTOSUGGESTIONS = "1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```
Contributor guide
Assessment
This issue has not been assessed yet.