You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: skip plan mode for fully-specified sequential tasks
Add Step 3 (Fully-Specified Task Detection) to the routing table in
delegate.md. When the user provides explicit ordered steps with no
ambiguities or design decisions, the orchestrator now routes to direct
sequential execution instead of entering plan mode unnecessarily.
Detection indicators:
- Numbered/ordered steps in the request
- Imperative sequential chains with concrete steps
- Explicit signals: "just do it", "no plan needed"
- All steps map trivially to tool calls
- Zero ambiguity markers
Closes#43
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: commands/delegate.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Multi-step workflow orchestration for Claude Code. Main agent enters plan mode (
22
22
23
23
## ROUTING (CHECK FIRST - MANDATORY)
24
24
25
-
**Three-step routing check. MUST follow this order:**
25
+
**Four-step routing check. MUST follow this order:**
26
26
27
27
### Step 1: Write Detection
28
28
@@ -36,12 +36,26 @@ Multi-step workflow orchestration for Claude Code. Main agent enters plan mode (
36
36
37
37
**Breadth keywords:** review, analyze, summarize, scan + quantifiers like "all", "each", "files in", or explicit counts
38
38
39
-
### Step 3: Route Decision
39
+
### Step 3: Fully-Specified Task Detection
40
+
41
+
**Pattern:** The user provided explicit, ordered steps with no ambiguities or design decisions needed. Every step is directly actionable without decomposition.
42
+
43
+
**Indicators (ANY of these):**
44
+
- Numbered or ordered steps in the request ("1. do X, 2. do Y, 3. do Z")
45
+
- Imperative sequential chain ("do X, then Y, then Z" where each step is concrete)
46
+
- Explicit skip-planning signals: "just do it", "no plan needed", "skip planning", "don't plan"
47
+
- All steps map trivially to tool calls (edit file, run command, commit, push, merge, tag, release)
48
+
- Zero ambiguity: no "should we", "which approach", "evaluate options", "design"
49
+
50
+
**If fully-specified -> DIRECT SEQUENTIAL EXECUTION** (skip plan mode). Spawn one agent per step or batch related steps into a single agent. No `EnterPlanMode`, no `TaskCreate` during planning.
51
+
52
+
### Step 4: Route Decision
40
53
41
54
| Pattern | Route | Example |
42
55
|---------|-------|---------|
43
56
| Breadth + Write (same op x many items, with output) |**DIRECT EXECUTION** (skip plan mode) | "review 16 files, create reports" |
44
-
| Multi-phase workflow (create -> test -> deploy) | plan mode (EnterPlanMode) | "create calculator with tests and verify" |
0 commit comments