aws / aws/amazon-q-developer-cli
Knowledge add fails
- 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
I used `/knowledge add /Users/username/obsidian` to add my Obsidian vault to Q. The folder mostly contains markdown files, but there are also some images, pdfs, and documents.
I expected Q to index the files in this folder, allowing me to query from the Knowledge Base.
### Actual behaviour
Here is what I experienced:
`> /knowledge add /Users/rlobrech/obsidian
🚀 Started indexing '/Users/rlobrech/obsidian'
📁 Path: /Users/rlobrech/obsidian
🆔 Operation ID: d9f4506f.
> /knowledge status
📚 Total contexts: 0 (0 persistent, 0 volatile)
✅ No active operations
> /knowledge show
No knowledge base entries found.
💡 Tip: If indexing is in progress, contexts may not appear until indexing completes.
Use 'knowledge status' to check active operations.
`
You can see that the `/knowledge add` command executed with no errors, but checking the `status` or `show` commands show that the Knowledge Base wasn't added after all
### Steps to reproduce
Here is how to reproduce the error:
`
/knowledge add /path/to/folder
/knowledge status
/knowledge show
`
### Environment
```yaml
[q-details]
version = "1.13.0"
hash = "5f91e9a7619f1460eb2a017f4df5ca8d6bcd01fa"
date = "2025-07-31T03:24:01.41319Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1"
total-cores = 8
memory = "16.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/Library/pnpm:/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:/Library/Apple/usr/bin:/Users/USER/.local/bin:/Users/USER/.toolbox/bin"
QTERM_SESSION_ID = "fb66613e3db14656a34e6d8e0975355a"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.13.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Contributor guide
Assessment
This issue has not been assessed yet.