Loading...
Loading...
Compare original and translation side by side
.claude/settings.local.json~/.claude/settings.json.claude/settings.local.json~/.claude/settings.json.claude/settings.local.json~/.claude/settings.json{}.claude/settings.local.json~/.claude/settings.json{}permissions.allow| Status | Meaning |
|---|---|
| New | Not in global — can be added |
| Exists | Already identical in global — skip |
| Conflict | Present in global with a different value |
permissions.allow| 状态 | 含义 |
|---|---|
| 新增 | 全局配置中不存在 — 可添加 |
| 已存在 | 与全局配置完全一致 — 跳过 |
| 冲突 | 全局配置中存在但值不同 |
./mvnw./gradlew./scripts/foo/Users/matt/project-x/...| Local value | Why it's too narrow | Suggested generalization |
|---|---|---|
| Relative path + subcommand lock | |
| Relative path | |
| Already generic | Keep as-is |
Hook command: | Relative path | Evaluate if hook makes sense globally |
Env: | Absolute path | Likely should not be promoted |
XY./mvnw./gradlew./scripts/foo/Users/matt/project-x/...| 本地值 | 为何过于限定 | 建议的泛化版本 |
|---|---|---|
| 相对路径+子命令锁定 | |
| 相对路径 | |
| 已具备通用性 | 保持原样 |
钩子命令: | 相对路径 | 评估该钩子是否适用于全局 |
环境变量: | 绝对路径 | 建议不推广 |
XY~/.claude/settings.json~/.claude/settings.jsonsettings.local.json{}{}{}~/.claude/settings.json.claude/settings.json~/.claude/settings.json.claude/settings.json