anthropics / anthropics/claude-code
update-config skill generates Write() rules instead of Edit() rules
未關閉
area:permissions
area:skills
bug
- 主要語言
- Python
- 星號
- 145k
- 分支
- 23.1k
- PR 合併指標
- PR 指標待擷取
描述
The update-config skill generates permission rules using Write() when it should use Edit() for file-editing operations.
When configuring allow rules for file paths (e.g. for handoff file locations), the skill generates rules like:
```
Write(~/Documents/Claude/handoffs/**)
```
But permission checks only validate against Edit() rules. This causes a mismatch and generates a warning:
> Permission allow rule: Write(...) is not matched by file permission checks — only Edit(path) rules are.
The fix is for update-config to generate Edit() rules instead of Write() rules for file-editing operations.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。