Session log: Windows setup continuation, bypass permissions fix, machine registration

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-24 06:46:41 -07:00
parent 5a73b18409
commit 9288f3ba93
5 changed files with 265 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
---
name: Bypass Permissions Persistent Setting
description: Configure settings.json on all machines to persist bypass permissions mode across context compressions
type: feedback
---
Always set `permissions.defaultMode` to `"bypassPermissions"` in `~/.claude/settings.json` on all workstations.
**Why:** The `--dangerously-skip-permissions` CLI flag is not preserved when Claude Code compresses context or resumes sessions -- the new process starts without the flag, causing unexpected permission prompts mid-session. This is a known bug (GitHub issue #21974).
**How to apply:** On any new machine setup, ensure `~/.claude/settings.json` includes:
```json
{
"permissions": {
"defaultMode": "bypassPermissions"
},
"skipDangerousModePermissionPrompt": true
}
```
This makes bypass mode the default without needing the CLI flag. Both keys are needed -- `defaultMode` sets the mode, `skipDangerousModePermissionPrompt` suppresses the warning dialog.