Version bumps and changelog entries are release decisions, so an agent should not write those two files on its own. Project-scoped ask rules make Claude Code prompt instead. Scope note: these rules match the Edit and Write tools, which are path-based. Bash is matched by command prefix, not by path, so a shell write (sed -i, a heredoc) is not covered. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
11 lines
163 B
JSON
11 lines
163 B
JSON
{
|
|
"permissions": {
|
|
"ask": [
|
|
"Edit(CHANGELOG.md)",
|
|
"Write(CHANGELOG.md)",
|
|
"Edit(pyproject.toml)",
|
|
"Write(pyproject.toml)"
|
|
]
|
|
}
|
|
}
|