-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Purpose
During interactive sessions, Claude Code frequently asks "Do you want to proceed?" for repetitive tool uses (Bash commands, file edits, etc.). Users who trust the agent should be able to pre-register permissions for frequently used patterns to eliminate confirmation prompts.
Background
In the 2026-03-22 session, the conductor was interrupted 5+ times by permission prompts for:
Bashcommands: git, gh, tmux, yarn, node- File edits:
.claude/rules/,.claude/skills/,packages/rules/.ai-rules/ - MCP tool calls: codingbuddy tools
Changes
.claude/settings.jsonor.claude/settings.local.json— Add permission allowlist entries- Document recommended permission presets for common workflows
Proposed Permission Presets
Preset: "parallel-execution" (for taskMaestro conductor)
{
"permissions": {
"allow": [
"Bash(git *)",
"Bash(gh *)",
"Bash(tmux *)",
"Bash(yarn *)",
"Bash(cat *)",
"Bash(ls *)",
"Bash(mkdir *)",
"Bash(sleep *)",
"Edit(.claude/**)",
"Edit(packages/rules/.ai-rules/**)",
"Edit(apps/mcp-server/**)",
"Edit(docs/**)",
"mcp__codingbuddy__*"
]
}
}Preset: "development" (general development)
{
"permissions": {
"allow": [
"Bash(git *)",
"Bash(yarn *)",
"Bash(npm *)",
"Bash(node *)",
"Bash(npx *)",
"Edit(src/**)",
"Edit(tests/**)",
"Edit(packages/**)"
]
}
}Implementation Approach
- Audit current session's permission requests (from hooks/logs)
- Group into semantic categories (git, build, edit, mcp)
- Create preset configurations in
.claude/settings.local.json - Document in
.claude/rules/for team sharing - Optionally: add
/taskmaestro setup-permissionssubcommand that applies the parallel-execution preset
Acceptance Criteria
- Permission presets documented for parallel-execution and development workflows
-
.claude/settings.local.jsonupdated with recommended allowlist - Zero "Do you want to proceed?" prompts for covered patterns
- Presets are opt-in (not auto-applied)
- Security: exclude destructive commands (rm -rf, git push --force) from presets
- Can be merged independently
References
- Claude Code permissions docs:
settings.jsonallow/deny patterns - Incident: 2026-03-22 session — 5+ permission interruptions during parallel execution
- Parent: Improve taskMaestro parallel execution reliability (retrospective action items) #866
Reactions are currently unavailable