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
|`implementer`| Executes plans with **mandatory** standards reading (INDEX.md + implementation-plan.md Standards Compliance section + keyword-triggered) and **test step enforcement** (requires user approval to skip N.1 tests) |`skills/implementer/SKILL.md`|
458
+
|`implementation-plan-executor`| Executes implementation plans with two-mode adaptive execution. Mode A (≤5 steps): direct. Mode B (6+ steps): delegates to `task-group-implementer` subagent with **model escalation** (sonnet → opus on BLOCKED) |`skills/implementation-plan-executor/SKILL.md`|
458
459
|`implementation-verifier`| Read-only QA orchestrator: delegates completeness checks, test execution, code review, and production readiness to specialized subagents; compiles results into verification report |`skills/implementation-verifier/SKILL.md`|
|`task-group-implementer`| Executes a single task group: writes code, runs tests, reports status. Supports model escalation (sonnet → opus on BLOCKED). | implementation-plan-executor |`agents/task-group-implementer.md`|
604
606
605
607
**See**: Individual `agents/*.md` files for detailed workflows and philosophies.
606
608
@@ -614,6 +616,7 @@ Subagents are specialized AI agents invoked by skills and orchestrators. All age
614
616
6.**Incremental Verification**: Run only new tests after each group, not entire suite
615
617
7.**Comprehensive Verification Before Commit**: Run full test suite and create verification report before code review
616
618
8.**Task Directory Artifact Anchoring**: ALL workflow artifacts (reports, documentation, screenshots) MUST be saved under the task directory (`.maister/tasks/[type]/[task-name]/`). NEVER save task artifacts to project directories like `docs/`, `src/`, or project root.
619
+
9.**Model Escalation**: Subagents start on sonnet; if BLOCKED, automatically retry with opus before asking the user
Copy file name to clipboardExpand all lines: plugins/maister/agents/task-group-implementer.md
+30-6Lines changed: 30 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
name: task-group-implementer
3
3
description: Execute a single task group from an implementation plan with continuous standards discovery. Writes code, runs tests, returns structured execution report. Does NOT mark checkboxes - main agent handles progress tracking.
4
-
model: inherit
4
+
model: sonnet
5
5
color: green
6
6
---
7
7
@@ -25,6 +25,24 @@ Execute one task group from an implementation plan: write tests, implement code,
25
25
4.**Structured reporting**: Return results in expected format for main agent
26
26
5.**No progress tracking**: Do NOT mark checkboxes - main agent owns that responsibility
27
27
28
+
## When You're Stuck
29
+
30
+
It is always OK to stop and report that you can't complete the task. Bad work is worse than no work. You will not be penalized for escalating.
31
+
32
+
**Report BLOCKED when:**
33
+
- The task requires architectural decisions with multiple valid approaches
34
+
- You need to understand code beyond what was provided and can't find clarity
35
+
- You feel uncertain about whether your approach is correct
36
+
- The task involves restructuring existing code in ways the plan didn't anticipate
37
+
- You've been reading file after file trying to understand the system without progress
38
+
39
+
**Report NEEDS_CONTEXT when:**
40
+
- You need information about a specific file, function, or pattern not provided
41
+
- The spec is ambiguous about a specific requirement
42
+
- You need to know which of two approaches the project prefers
43
+
44
+
**How to report:** Set your status to BLOCKED or NEEDS_CONTEXT. Describe specifically what you're stuck on, what you've tried, and what kind of help you need. The coordinator can provide more context, re-dispatch with a more capable model, or break the task into smaller pieces.
45
+
28
46
## Decision-Making Framework
29
47
30
48
When facing implementation choices:
@@ -139,7 +157,7 @@ Output structured report in expected format (see Output Format section).
@@ -216,15 +234,21 @@ If you encounter errors during implementation:
216
234
1.**Syntax/compile errors**: Fix before proceeding
217
235
2.**Missing dependencies**: Note in report, attempt reasonable fix
218
236
3.**Unclear requirements**: Make reasonable choice, document in notes
219
-
4.**Blocking issues**: Report FAILED status with details
237
+
4.**Blocking issues**: Report BLOCKED status with details
220
238
221
239
### What Triggers Each Status
222
240
223
241
| Status | When to Use |
224
242
|--------|-------------|
225
243
|**SUCCESS**| All steps complete, all tests pass |
226
-
|**PARTIAL**| Some steps complete, tests failing, or minor issues |
227
-
|**FAILED**| Blocking issue prevents completion, needs main agent intervention |
244
+
|**SUCCESS_WITH_CONCERNS**| All steps complete, but flagging doubts (e.g., file growing too large, uncertain edge case) |
245
+
|**PARTIAL**| Some steps complete, tests failing, or minor issues — you made progress but couldn't finish |
246
+
|**NEEDS_CONTEXT**| Missing information that wasn't provided. You know what you need — specify it precisely |
247
+
|**BLOCKED**| Cannot complete due to complexity, unclear architecture, or conflicting requirements. Describe what you're stuck on and what you've tried |
248
+
249
+
**BLOCKED vs PARTIAL:** Use BLOCKED when the problem is reasoning/understanding (you don't know HOW), not execution (you know how but hit errors). BLOCKED triggers model escalation; PARTIAL triggers main agent investigation.
250
+
251
+
**NEEDS_CONTEXT vs BLOCKED:** Use NEEDS_CONTEXT when you can name the specific missing information. Use BLOCKED when you can't articulate a specific ask — you're stuck.
228
252
229
253
## Integration
230
254
@@ -279,4 +303,4 @@ During step N.3, realize auth pattern needed → Check INDEX.md → Find and rea
279
303
280
304
### Scenario 4: Blocking Issue
281
305
282
-
Can't proceed due to missing dependency or unclear spec → Report FAILED with clear explanation → Main agent will use AskUserQuestion to decide path forward
306
+
Can't proceed due to missing dependency or unclear spec → Report BLOCKED with clear explanation → Main agent will escalate model or use AskUserQuestion to decide path forward
**Philosophy**: Standards are discovered when relevant, not memorized upfront.
@@ -237,14 +267,42 @@ You have access to `.maister/docs/INDEX.md` for continuous standards discovery.
237
267
[See Subagent Output Format section]
238
268
```
239
269
270
+
### Re-dispatch on BLOCKED (Model Escalation)
271
+
272
+
When re-dispatching with opus after BLOCKED:
273
+
274
+
````markdown
275
+
## Task: Execute Task Group [N] (Escalated)
276
+
277
+
**Previous attempt status**: BLOCKED
278
+
**Previous attempt explanation**: [paste BLOCKED explanation from subagent]
279
+
**Model**: opus (escalated from sonnet)
280
+
281
+
### Task Group Content
282
+
[Same as original dispatch]
283
+
284
+
### Specification Excerpt
285
+
[Same as original dispatch]
286
+
287
+
### Standards
288
+
[Same as original dispatch]
289
+
290
+
### Additional Context
291
+
[Any context gathered based on the BLOCKED explanation]
292
+
293
+
### Requirements
294
+
[Same as original dispatch, plus:]
295
+
5. You are running on a more capable model because the previous attempt was blocked. Use your additional reasoning capability to work through the complexity described above.
296
+
````
297
+
240
298
## Subagent Output Format
241
299
242
300
The task-group-implementer returns structured output:
Copy file name to clipboardExpand all lines: plugins/maister/skills/orchestrator-framework/references/orchestrator-patterns.md
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -324,3 +324,60 @@ If prerequisites missing, use AskUserQuestion: "Start from Phase 1", "Specify di
324
324
| User chooses "Proceed with known issues" | Proceed with warning logged |
325
325
| Max iterations (3) reached | Ask user how to proceed |
326
326
| Critical issues remain unresolved | **MUST NOT proceed** — require user approval first |
327
+
328
+
---
329
+
330
+
## 7. Model Escalation Pattern
331
+
332
+
When a subagent reports BLOCKED status, the coordinator can re-dispatch with a more capable model. This is an automatic escalation — no user confirmation needed for the first tier.
333
+
334
+
### Escalation Chain
335
+
336
+
````
337
+
sonnet (default) → BLOCKED → opus → BLOCKED → AskUserQuestion
0 commit comments