From 0f09137e4ff442ee78fb8c95c2539c7f1026c824 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 26 Mar 2026 09:22:23 +0200 Subject: work-on-tasks: cap description display and have sub-agents self-fetch task info Co-Authored-By: Claude Sonnet 4.6 --- prompts/commands/work-on-tasks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'prompts') diff --git a/prompts/commands/work-on-tasks.md b/prompts/commands/work-on-tasks.md index 10da5f1..5fd2423 100644 --- a/prompts/commands/work-on-tasks.md +++ b/prompts/commands/work-on-tasks.md @@ -33,16 +33,16 @@ You are the **orchestrator**. You pick tasks, mark them started, launch a sub-ag 2. **Pick the next task** (default strategy: `{{strategy|highest-impact}}`): - Choose one actionable task based on impact, urgency, and clarity - If two tasks are equivalent, prefer the one that unblocks other work - - Run `ask info uuid:` to read the full task description and all annotations + - Run `ask info uuid: 2>&1 | head -20` to preview the task — this caps the output at 20 lines so long descriptions do not flood the screen 3. **Mark the task started**: - Run `ask start uuid:` 4. **Delegate to a fresh sub-agent**: - Spawn a **new sub-agent** with a self-contained prompt that includes: - - The full task description and all annotations (copy them verbatim) + - The task UUID and a one-line summary of what the task is about + - Instruction to run `ask info uuid:` as its **first action** to get the full description and all annotations (do not paste the description inline — the sub-agent fetches it fresh, keeping the prompt short) - The absolute path of the project root - - The UUID of the task (so the sub-agent can annotate it) - Instruction to run `ask annotate uuid: ""` as it works - Instruction to commit all changes to git when done - Instruction to **not** mark the task done (the orchestrator does that) -- cgit v1.2.3