failed to retrieve governance settings — MCP and web tools disabled
还没有人认领这个 Issue。
评估
调研方向
The payload names no source files. Start by searching the Rust codebase for the string "failed to retrieve governance settings" to find where the error is raised and how governance settings are fetched and used to disable MCP and web tools. Reproducing needs a macOS account with governance settings, which the issue does not describe. Done means the CLI starts with MCP and tools enabled, or the error is explained as expected behaviour for that account.
由索引模型根据 Issue 内容生成。
描述
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 15.7.9 (24G830)
Expected behaviour
which kiro-cli
kiro-cli 2.29.0
/Users/username/.local/bin/kiro-cli
it should properly start with connecting mcp & tools
Actual behaviour
which kiro-cli
kiro-cli 2.29.0
/Users/username/.local/bin/kiro-cli
While the Kiro itself working on Kiro IDE tool but Cli throwing the error.
I open the terminal , type Kiro-cli command and it throws the error .I'm getting the following error:
failed to retrieve governance settings - MCP and web tools disabled
After that, any command I try fails with a "failure dispatch" error.
Steps to reproduce
No response
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "2.29.0"
hash = "31e6bb3fad4a1fff9ba23aee436cef61c8579a58"
date = "2026-10-09T03:13:41.368Z (1d ago)"
variant = "full"
[system-info]
os = "macOS 15.7.9 (24G830)"
chip = "Apple M4 Pro"
total-cores = 14
memory = "24.00 GB"
[environment]
cwd = "/Users/USER/project/ft-duplicate-jar-project"
cli-path = "/Users/USER/project/ft-duplicate-jar-project"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/opt/homebrew/Cellar/openjdk@17/17.0.18/libexec/openjdk.jdk/Contents/Home/bin:/Users/USER/.local/bin:/opt/homebrew/bin/node/bin:/opt/homebrew/bin/gradle/bin:/Users/USER/apache-maven-3.8.8/bin:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin:/usr/local/opt/openjdk@8/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/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/homebrew/bin:/Users/USER/.docker/bin:/Users/USER/.local/bin:/Users/USER/.docker/bin:/Users/USER/Library/Android/sdk/tools:/Users/USER/Library/Android/sdk/platform-tools:/Users/USER/user/olp_tools:/Users/USER/Library/Android/sdk/tools:/Users/USER/Library/Android/sdk/platform-tools"
QTERM_SESSION_ID = "3e69895b25cb4bdda1cb6fc1ca234bd6"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "2.29.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
- 主要语言
- Rust
- 星标
- 2k
- 派生
- 441
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/amazon-q-developer-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/amazon-q-developer-cli#3898 ·
-
bug: invalid JSON in agent-format.md `allowedTools` Examples block (JS `//` comments + unquoted `@builtin`) breaks copy-paste可能已有人在做 @ken-jo 于 115 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
aws/amazon-q-developer-cli#3851 ·
-
难度 1/5 1 小时以内 新手友好度 72/100
aws/amazon-q-developer-cli#3316 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
aws/amazon-q-developer-cli#3023 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
aws/amazon-q-developer-cli#3928 ·
查看 aws/amazon-q-developer-cli 的全部 Issue
相似的 Issue
-
area::tern difficulty::easy good first issue kind::cleanup triage::ready
难度 1/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 76/100
eclipse-zenoh/zenoh#2842 · 2 条评论 ·
维护者通常 1 天内回复
-
中文字符导致软件崩溃未关闭bug
难度 2/5 1-3 小时 新手友好度 62/100
Y-ASLant/ElegantClipboard#172 ·
-
bug documentation
难度 2/5 1-3 小时 新手友好度 78/100
SaboLabs/soroban-devkit#341 ·
维护者通常 1 天内回复
-
agent:sonnet-high enhancement priority: P2 ready-for-agent
难度 2/5 1-3 小时 新手友好度 82/100
shep-pm/shep-kelpie#652 ·
维护者通常 1 天内回复