From 75c1164ad7e425a7f95cb07054e2f8e972e1e737 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 8 Sep 2026 18:44:37 +0200 Subject: [PATCH] chore(claude): ask before touching CHANGELOG.md and pyproject.toml 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) --- .claude/settings.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .claude/settings.json diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..526dd59 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,10 @@ +{ + "permissions": { + "ask": [ + "Edit(CHANGELOG.md)", + "Write(CHANGELOG.md)", + "Edit(pyproject.toml)", + "Write(pyproject.toml)" + ] + } +}