summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/executor/preamble.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/executor/preamble.go b/internal/executor/preamble.go
index 8a2cce3..71f8233 100644
--- a/internal/executor/preamble.go
+++ b/internal/executor/preamble.go
@@ -21,12 +21,12 @@ and noting it in your output.
Before doing any implementation work:
-1. Estimate: will this task take more than 5 minutes of implementation effort?
+1. Estimate: will this task take more than 3 minutes of implementation effort?
-2. If YES — break it down:
- - Create 3–7 discrete subtasks by POSTing to $CLAUDOMATOR_API_URL/api/tasks
- - Each subtask POST body should be JSON with: name, claude.instructions, claude.working_dir (copy from current task), claude.model, claude.allowed_tools, and claude.skip_planning set to true
- - Set parent_task_id to $CLAUDOMATOR_TASK_ID in each POST body
+2. If YES — break it down into subtasks:
+ - Create 3–7 discrete subtasks using the claudomator CLI, for example:
+ claudomator create "Subtask name" --instructions "..." --working-dir "/path" --parent-id "$CLAUDOMATOR_TASK_ID" --server "$CLAUDOMATOR_API_URL"
+ - Do NOT pass --start. Tasks will be queued and started in order by the operator.
- After creating all subtasks, output a brief summary and STOP. Do not implement anything.
3. If NO — proceed with the task instructions below.