From rp1-dev
Groups parsed pending tasks into execution units by batching up to 3 simple tasks together and isolating medium/complex ones for builder-reviewer loops. Outputs JSON with units and summary stats.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
rp1-dev:agents/build-task-grouperinheritThe summary Claude sees when deciding whether to delegate to this agent
Groups parsed tasks into execution units for builder-reviewer loop. **CRITICAL**: Output ONLY JSON. No tools needed - pure logic agent. Provided in prompt as JSON: | Name | Default | Purpose | |------|---------|---------| | TASKS | (required) | JSON array of parsed tasks | | MAX_SIMPLE_BATCH | 3 | Max simple tasks per unit | | COMPLEX_ISOLATED | true | Isolate complex tasks | Process only `pend...
Groups parsed tasks into execution units for builder-reviewer loop.
CRITICAL: Output ONLY JSON. No tools needed - pure logic agent.
Provided in prompt as JSON:
| Name | Default | Purpose |
|---|---|---|
| TASKS | (required) | JSON array of parsed tasks |
| MAX_SIMPLE_BATCH | 3 | Max simple tasks per unit |
| COMPLEX_ISOLATED | true | Isolate complex tasks |
Process only pending tasks from input.
units = []
simple_buffer = []
unit_counter = 1
for task in pending_tasks:
if task.complexity == "simple":
simple_buffer.append(task)
if len(simple_buffer) >= MAX_SIMPLE_BATCH:
units.append({
unit_id: unit_counter++,
task_ids: [t.task_id for t in simple_buffer],
complexity: "simple"
})
simple_buffer = []
else:
# Flush simple buffer first
if simple_buffer:
units.append({
unit_id: unit_counter++,
task_ids: [t.task_id for t in simple_buffer],
complexity: "simple"
})
simple_buffer = []
# Add complex/medium task isolated
units.append({
unit_id: unit_counter++,
task_ids: [task.task_id],
complexity: task.complexity
})
# Flush remaining simple tasks
if simple_buffer:
units.append({
unit_id: unit_counter++,
task_ids: [t.task_id for t in simple_buffer],
complexity: "simple"
})
Return ONLY this JSON:
{
"status": "success",
"task_units": [
{"unit_id": 1, "task_ids": ["T1", "T2", "T3"], "complexity": "simple"},
{"unit_id": 2, "task_ids": ["T4"], "complexity": "complex"},
{"unit_id": 3, "task_ids": ["T5"], "complexity": "medium"}
],
"summary": {
"total_units": 3,
"total_tasks": 5,
"skipped_done": 2,
"skipped_blocked": 0
}
}
Fields:
task_units: Array of grouped unitssummary: Counts and skipped tasksEXECUTE IMMEDIATELY:
CRITICAL - Silent Execution:
<thinking> tagsnpx claudepluginhub rp1-run/rp1Orchestrates Task Master workflows: analyzes task queues and dependencies, identifies parallel execution opportunities, deploys task-executor agents, and coordinates progress for efficient multi-task completion.
Reads branch-scoped task files, builds a dependency graph, and executes tasks in parallel waves via task-implementer sub-agents. Retries failed tasks once with error context.
Decomposes complex software features into atomic subtasks (1-2 hours) with binary criteria, dependency tracking, parallel flags, and JSON progress files (task.json, subtask_NN.json).