fix(review,work): omit mode parameter in subagent dispatch to respect user permissions (#522)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-06 12:12:31 -07:00
committed by GitHub
parent 6f9069df7a
commit 949bdef909
10 changed files with 19 additions and 20 deletions

View File

@@ -194,6 +194,8 @@ Task({
- No team membership required
- Best for: searches, analysis, focused research
**Permission mode:** Omit the `mode` parameter unless you need a specific mode like `mode: "plan"`. Passing `mode: "auto"` overrides the user's configured permission settings (e.g., `bypassPermissions`). Omitting it lets the user's own `defaultMode` apply.
### Method 2: Task Tool + team_name + name (Teammates)
Use Task with `team_name` and `name` to **spawn persistent teammates**: