Skip to content

Commit 8ac52d7

Browse files
authored
Merge pull request #44 from barkain/fix/skip-plan-for-specified-tasks
feat: skip plan mode for fully-specified sequential tasks
2 parents 5812aa7 + 35a6d78 commit 8ac52d7

4 files changed

Lines changed: 25 additions & 5 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "workflow-orchestrator",
99
"source": "./",
1010
"description": "Delegation system with workflow orchestration, specialized agents, and parallel execution for Claude Code",
11-
"version": "2.0.1",
11+
"version": "2.0.2",
1212
"author": {
1313
"name": "Nadav Barkai"
1414
},

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "workflow-orchestrator",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Delegation system with workflow orchestration, specialized agents, and parallel execution for Claude Code",
55
"author": {
66
"name": "Nadav Barkai"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.0.2] - 2026-04-12
6+
7+
### Added
8+
9+
- **Skip plan mode for fully-specified sequential tasks.** New routing step (Step 3: Fully-Specified Task Detection) in `commands/delegate.md`. When the user provides explicit ordered steps with no ambiguities or design decisions, the orchestrator routes to direct sequential execution instead of entering plan mode unnecessarily. Detects numbered steps, imperative chains, and explicit signals like "just do it" or "no plan needed".
10+
511
## [2.0.1] - 2026-04-12
612

713
### Fixed

commands/delegate.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Multi-step workflow orchestration for Claude Code. Main agent enters plan mode (
2222

2323
## ROUTING (CHECK FIRST - MANDATORY)
2424

25-
**Three-step routing check. MUST follow this order:**
25+
**Four-step routing check. MUST follow this order:**
2626

2727
### Step 1: Write Detection
2828

@@ -36,12 +36,26 @@ Multi-step workflow orchestration for Claude Code. Main agent enters plan mode (
3636

3737
**Breadth keywords:** review, analyze, summarize, scan + quantifiers like "all", "each", "files in", or explicit counts
3838

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
4053

4154
| Pattern | Route | Example |
4255
|---------|-------|---------|
4356
| 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" |
57+
| Fully-specified sequential task (all steps explicit) | **DIRECT SEQUENTIAL EXECUTION** (skip plan mode) | "bump version, commit, push, merge, tag, release" |
58+
| Multi-phase workflow (needs design/decomposition) | plan mode (EnterPlanMode) | "create calculator with tests and verify" |
4559
| Read-only breadth (no write indicators) | Spawn parallel Explore agents or codebase-context-analyzer | "explore code in X", "summarize files in X" |
4660
| Single simple task | general-purpose agent | "fix this bug" |
4761

0 commit comments

Comments
 (0)