anthropics / anthropics/claude-code

update-config skill generates Write() rules instead of Edit() rules

未關閉
#94,318 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。