Skip to content

Commit 3598e0f

Browse files
jpicklykclaude
andauthored
release: plugin v2.7.1 — planning hook and output style refinements (#88)
* 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>
1 parent 0c35525 commit 3598e0f

9 files changed

Lines changed: 30 additions & 29 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"plugins": [
1111
{
1212
"name": "task-orchestrator",
13-
"version": "2.7.0",
13+
"version": "2.7.1",
1414
"description": "Skills, hooks, and workflows for MCP Task Orchestrator. Schema-aware context, note-driven workflow, and session hooks.",
1515
"author": {
1616
"name": "Jeff Picklyk",

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

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)
15+
16+
---
17+
818
## [2.5.0] - 2026-03-25 (Plugin v2.7.0)
919

1020
### Added

claude-plugins/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ removing and re-adding the marketplace in Claude Code. No version bump is needed
1010

1111
| Plugin | Directory | Current Version |
1212
|--------|-----------|-----------------|
13-
| `task-orchestrator` | `claude-plugins/task-orchestrator/` | `2.7.0` |
13+
| `task-orchestrator` | `claude-plugins/task-orchestrator/` | `2.7.1` |
1414

1515
> Updated automatically by `/prepare-release`. Do not bump manually.
1616

claude-plugins/task-orchestrator/.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": "task-orchestrator",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"description": "Claude Code integration for MCP Task Orchestrator — schema-aware context, note-driven workflow",
55
"skills": "./skills",
66
"hooks": "./hooks/hooks-config.json",

claude-plugins/task-orchestrator/hooks/post-plan.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
const output = {
44
hookSpecificOutput: {
55
hookEventName: "PostToolUse",
6-
additionalContext: `## Plan ApprovedMCP Task Orchestrator
6+
additionalContext: `## NEXT STEPRequired before implementation
77
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.`
911
}
1012
};
1113
process.stdout.write(JSON.stringify(output));

claude-plugins/task-orchestrator/hooks/pre-plan.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
const output = {
44
hookSpecificOutput: {
55
hookEventName: "PreToolUse",
6-
additionalContext: `## Planning Mode — MCP Task Orchestrator
6+
additionalContext: `## PREREQUISITE — Complete before exploring or planning
77
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.
99
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.`
1111
}
1212
};
1313
process.stdout.write(JSON.stringify(output));

claude-plugins/task-orchestrator/output-styles/workflow-orchestrator.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Before starting any work, classify it into one of three execution tiers. This de
5454
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
5555
2. **Plan proportionally** — use `EnterPlanMode` for Delegated tier when scope needs clarification and always for Parallel tier. Direct tier skips plan mode
5656
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
5858
5. **Atomic creation** — use `create_work_tree` for hierarchy; avoid multi-call sequences
5959
6. **Include UUID in every delegation** — subagents must reference their MCP item UUID
6060
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
7474

7575
**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.
7676

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 IDs and full context subagents start fresh with no ambient context.
7878

7979
## Action Items
8080

@@ -88,24 +88,7 @@ Every delegation prompt must include: entity IDs, exact tool operations, expecte
8888

8989
## Direct Tier Workflow
9090

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.
10992

11093
## Visual Conventions
11194

claude-plugins/task-orchestrator/skills/post-plan-workflow/SKILL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ After all agents complete:
4343
2. Run `get_context()` health check to see what completed, what stalled, and what needs attention
4444
3. Review any stalled items — check which notes are missing with `get_context(itemId=...)`
4545
4. Address blockers or incomplete work as needed
46+
47+
## Workflow Complete
48+
49+
The post-plan workflow is done. Report the final status to the user — what completed, what needs attention, and any items still in progress.

claude-plugins/task-orchestrator/skills/pre-plan-workflow/SKILL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Structure the plan knowing it will be materialized into MCP items after approval
5656
- Account for **dependency ordering** — which tasks block others (these become `BLOCKS` edges)
5757
- Consider the **hierarchy** — a root container item with child task items is the standard pattern
5858

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.
6062

6163
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

Comments
 (0)