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(plugin): add tiered execution model (Direct/Delegated/Parallel)
Output style now classifies work into three tiers with proportional
process. Direct tier (1-2 files, known fix) implements inline — no
subagent dispatch, no plan mode, no separate review. Delegated and
Parallel tiers preserve the full pipeline.
Changes:
- workflow-orchestrator.md: tier classification section, conditional
principles, Direct Tier Workflow section, frontmatter added, removed
project-specific references (session-retrospective, quick-fix schema,
gradlew), removed redundant delegation templates
- implement skill: tier-conditional Steps 1/3/4/5, two-dimensional
classification (tier + interaction mode), resume-with-tier-awareness
- pre-plan.mjs: Direct tier safety net message
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor(plugin): trim workflow-orchestrator to universally valuable content
Remove project-specific details, redundant templates, and niche
operational guidance. Condense worktree dispatch to 4 universal
principles, session tasks to one line, completion format to inline.
Drop schema tag row, delegation metadata section, return format
templates, and guidancePointer rendering convention.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(plugin): minor cleanup — schema context in implement skill, analyst zone updates
- Implement skill: add schema context to session-tracking note reference
- Workflow-analyst Zone 2: add Delegation Metadata section, tier-aware
Parallel Dispatch reference
- Workflow-analyst Zone 3: replace stale manifest monitoring with tier
classification monitoring, connect analysis layer to /session-retrospective
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* refactor(plugin): strengthen planning hooks and enforce WHAT/HOW separation
Planning hooks now use imperative gate language (PREREQUISITE/MUST/NEXT STEP)
instead of suggestive phrasing that lost attention competition with plan mode.
Output style trimmed to WHAT-level principles — procedural HOW detail moved to
skills where it belongs. Worktree Dispatch section removed (prescriptive technique,
not a principle). Skills get explicit handoff sections for clean control flow.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* release: bump to v2.5.0 — plugin v2.7.1
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.5.0] - 2026-03-30 (Plugin v2.7.1)
9
+
10
+
### Changed
11
+
- Strengthened planning hook language — pre-plan and post-plan hooks now use imperative gate framing (PREREQUISITE/MUST) instead of suggestive phrasing that was deprioritized by plan mode
12
+
- Enforced WHAT/HOW separation — output style trimmed to principle-level statements, procedural detail lives in skills
13
+
- Added explicit handoff sections to pre-plan and post-plan workflow skills for clean control flow between hook, skill, and plan mode
14
+
- Bumped plugin version to 2.7.1 (planning hook and output style refinements)
Copy file name to clipboardExpand all lines: claude-plugins/task-orchestrator/hooks/post-plan.mjs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,11 @@
3
3
constoutput={
4
4
hookSpecificOutput: {
5
5
hookEventName: "PostToolUse",
6
-
additionalContext: `## Plan Approved — MCP Task Orchestrator
6
+
additionalContext: `## NEXT STEP — Required before implementation
7
7
8
-
Invoke the \`task-orchestrator:post-plan-workflow\` skill for the full post-approval workflow. It covers materialization, implementation dispatch, and verification.`
8
+
The plan has been approved. You MUST invoke the \`task-orchestrator:post-plan-workflow\` skill NOW to materialize MCP items and dispatch implementation.
9
+
10
+
Do not begin any implementation work until this completes.`
additionalContext: `## PREREQUISITE — Complete before exploring or planning
7
7
8
-
Invoke the \`task-orchestrator:pre-plan-workflow\` skill for the full planning workflow. It will guide you through checking existing MCP state to set the definition floor before writing your plan.
8
+
You MUST invoke the \`task-orchestrator:pre-plan-workflow\` skill BEFORE starting any codebase exploration or plan writing.
9
9
10
-
Note: If the work is Direct tier (1-2 files, known fix, no migration), you should not be in plan mode. Consider exiting plan mode and implementing directly.`
10
+
Do this now. Do not begin exploring, reading code, or drafting your plan until this prerequisite completes.`
Copy file name to clipboardExpand all lines: claude-plugins/task-orchestrator/output-styles/workflow-orchestrator.md
+3-20Lines changed: 3 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Before starting any work, classify it into one of three execution tiers. This de
54
54
1.**Delegate by default** — for Delegated and Parallel tier work, delegate coding to subagents. For Direct tier work (1-2 files, known fix, no migration), implement, test, and review inline
55
55
2.**Plan proportionally** — use `EnterPlanMode` for Delegated tier when scope needs clarification and always for Parallel tier. Direct tier skips plan mode
56
56
3.**Materialize before implement** — all MCP work items must exist before dispatching agents
57
-
4.**Agent-owned phases** — implementation agents call `advance_item(start)` to enter work(queue→work) and again to advance to review (work→review) before returning; the orchestrator dispatches review agents only after the item is already in review; the orchestrator performs the final terminal transition (review→terminal) after the review verdict; `advance_item` self-reports missing gates on failure
57
+
4.**Agent-owned phases** — implementation agents own their work-phase transitions (queue→work→review). The orchestrator owns review dispatch and terminal transitions (review→terminal). Skills define the specific sequencing
58
58
5.**Atomic creation** — use `create_work_tree` for hierarchy; avoid multi-call sequences
59
59
6.**Include UUID in every delegation** — subagents must reference their MCP item UUID
60
60
7.**Always know current state** — query MCP before making decisions
@@ -74,7 +74,7 @@ Direct tier work does not use the delegation table — the orchestrator implemen
74
74
75
75
**Rule: Never make 3+ MCP write calls in a single turn.** Parallelized reads (e.g., `get_context` + `query_items overview`) are fine and encouraged. Use the Agent tool with `model: "haiku"` to delegate bulk MCP write work (multiple item/dependency/note creates) and keep the orchestrator context clean.
76
76
77
-
Every delegation prompt must include: entity IDs, exact tool operations, expected return format, and full context (subagents start fresh with no ambient context).
77
+
Delegation prompts must include entity IDsand full context — subagents start fresh with no ambient context.
78
78
79
79
## Action Items
80
80
@@ -88,24 +88,7 @@ Every delegation prompt must include: entity IDs, exact tool operations, expecte
88
88
89
89
## Direct Tier Workflow
90
90
91
-
When work is classified as Direct tier:
92
-
93
-
1.**Advance immediately** — `advance_item(trigger="start")` from queue to work. If the item's schema has no queue-phase required notes, the gate passes without filling anything.
94
-
2.**Implement directly** — edit the files, run tests. No subagent dispatch.
95
-
3.**Fill session-tracking note** — brief summary of what changed and test results.
96
-
4.**Inline review** — read the diff, verify correctness, confirm tests pass. No separate review agent.
97
-
5.**Advance to terminal** — `advance_item` through review to terminal.
98
-
99
-
This path exists because delegation overhead (cold-start context, return parsing, review agent dispatch) exceeds the risk being mitigated for 1-2 file changes with known fixes.
100
-
101
-
## Worktree Dispatch
102
-
103
-
When dispatching agents with `isolation: "worktree"`:
104
-
105
-
- Verify tasks are independent — no dependency edges between items dispatched in parallel
106
-
- Capture **worktree path** and **branch name** from each Agent return — these are needed for review and merge
107
-
- Review agents must operate **in the worktree**, not the main working directory — include the worktree path, branch, and changed files in the review prompt
108
-
- Spot-check diffs after agents return: `git -C <worktree-path> diff main --stat`
91
+
Direct tier work skips delegation overhead entirely — the orchestrator advances, implements, reviews, and completes inline. No subagent dispatch, no plan mode, no separate review agent.
Copy file name to clipboardExpand all lines: claude-plugins/task-orchestrator/skills/pre-plan-workflow/SKILL.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,8 @@ Structure the plan knowing it will be materialized into MCP items after approval
56
56
- Account for **dependency ordering** — which tasks block others (these become `BLOCKS` edges)
57
57
- Consider the **hierarchy** — a root container item with child task items is the standard pattern
58
58
59
-
## After Plan Approval
59
+
## Continue with Plan Mode
60
+
61
+
The prerequisite is complete. Now proceed with plan mode's normal workflow — explore the codebase, understand existing patterns, and design your implementation approach. Use the definition floor from Steps 1-3 to inform your plan.
60
62
61
63
Once the plan is approved, the post-plan hook will guide you through materialization and implementation dispatch. Do not materialize before approval.
0 commit comments