chore(claude-code): bypassPermissions + ask sur git commit/push

Auto-approuve toutes les actions Claude Code par défaut sauf `git commit`
et `git push` qui prompteront toujours — ces deux commandes restent sous
validation manuelle pour ne pas pousser accidentellement du code sans
validation explicite. Le skill /push déclenche naturellement ces deux
prompts à la fin de la release.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ordinarthur 2026-05-11 00:58:32 +02:00
parent fc66775109
commit 7a112d3329

View File

@ -1,11 +1,16 @@
{ {
"permissions": { "permissions": {
"defaultMode": "bypassPermissions",
"allow": [ "allow": [
"Bash(pnpm -F api typecheck)", "Bash(pnpm -F api typecheck)",
"Bash(pnpm -F @rubis/web typecheck)", "Bash(pnpm -F @rubis/web typecheck)",
"Bash(rtk grep *)", "Bash(rtk grep *)",
"Bash(rtk node *)", "Bash(rtk node *)",
"Bash(rtk pnpm *)" "Bash(rtk pnpm *)"
],
"ask": [
"Bash(git commit *)",
"Bash(git push *)"
] ]
} }
} }