From 61e7f1b5a1e6b10aa356265eef73dfe20bceccbd Mon Sep 17 00:00:00 2001 From: phall Date: Mon, 17 Aug 2026 10:34:27 -0400 Subject: [PATCH] fix(claude): keep permissions.defaultMode on auto The modify_ script merges its managed block over whatever is on disk, managed winning, so it re-asserted permissions.defaultMode=bypassPermissions on every apply while the live file sat on auto. That was the last standing dot-doctor drift warning, and it was a disagreement about permission posture rather than drift: chezmoi and the running tool each wanted a different answer. auto is the answer. The script now asserts it, so the two agree and the warning cannot recur. skipDangerousModePermissionPrompt is left as it was. It suppresses the confirmation when bypass mode is entered deliberately and does not select the mode, so it is unaffected by this change. Co-Authored-By: Claude Opus 5 (1M context) --- dot_claude/modify_settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_claude/modify_settings.json b/dot_claude/modify_settings.json index 9922023..f044dc0 100755 --- a/dot_claude/modify_settings.json +++ b/dot_claude/modify_settings.json @@ -28,7 +28,7 @@ managed='{ "effortLevel": "high", "skipDangerousModePermissionPrompt": true, "permissions": { - "defaultMode": "bypassPermissions" + "defaultMode": "auto" }, "alwaysThinkingEnabled": true, "showThinkingSummaries": true,