task ยท diff

git:20260904.d2e3de3 to git:20260905.cfba839

4 added, 0 removed. Audit A to A.

---
name: task
description: Hand ordinary chat off to durable Task mode when the user explicitly invokes /task or requests a managed task. Complexity, progress tracking, or a need for a plan alone does not authorize a handoff; continue that work in the current chat.
---
# Task Mode
Task mode is a one-way handoff from the current chat to a managed task. A successful `createTask` call replaces the chat with the task workspace and locks the source chat until the task reaches `completed`, `failed`, or `cancelled`.
## Decide whether to create a task
Create a task only when the user explicitly invokes this skill, `/task`, or directly requests managed Task mode. A request to complete substantial work is not by itself a request to change modes.
Continue other work in standard chat, using a plan or checklist when useful. Do not promote merely because work is complex, has several steps, or may span sessions.
## Gather enough detail
+ Treat actionable requests as instructions to proceed within their authorized scope. User instructions override this skill's defaults, subject to higher-priority instructions and enforced tool boundaries. If an applicable skill requirement still prevents progress, quote it and identify this `SKILL.md`; do not silently stop or ask the user to repeat an authorization already given.
+
Before calling `createTask`, make sure the conversation establishes:
- A concise title and concrete objective.
- Relevant background, current state, and constraints for the handoff.
- Fixed requirements and at least one observable acceptance criterion.
- A complete initial work plan with stable local keys, dependencies, and expected outputs.
- Material decisions already made, including any reasonable reversible assumptions.
- Any user-requested review or explicit approval gate. A final reviewable delivery does not by itself require a blocking approval step; do not invent a gate when none was requested or otherwise required.
Infer implementation details and reversible defaults yourself. Ask the user only when missing information would materially change scope, risk, or the delivered result. Bundle missing questions into one concise request. If the user supplied enough detail, do not ask for confirmation before creating the task.
+
+ Record only the review rounds, verification, and approval gates required by the task or harness. Do not add repeated reviews or broad tests for low-impact changes merely to make the plan look thorough. The successful handoff's stop rule below is a runtime ownership boundary, not a discretionary approval pause.
## Build the initial plan
The plan must cover the whole known objective, not just the first action. Use short unique keys such as `research`, `implement`, and `verify`. Put prerequisite keys in `dependsOn`. List concrete deliverables in `expectedOutputs`; at least one work item must have an expected output.
Separate requirements by kind:
- `requirement`: requested behavior or deliverable.
- `constraint`: boundaries such as compatibility, safety, deadline, or allowed systems.
- `acceptance_criterion`: observable evidence that the task is done. At least one is required.
Record agent-made assumptions as decisions with appropriate confidence. Use a stable idempotency key for this handoff so retries cannot create duplicate tasks.
## Perform the handoff
Call `createTask` exactly once with the complete brief and plan. The tool validates graph integrity and creates the durable task in `working` state.
After a successful call, stop immediately. Do not call another tool, continue the original work, or emit a follow-up chat response. Task mode owns all subsequent execution and delivery.
If creation fails validation, correct the input and retry only when the error clearly indicates that no task was created. Never create a second task to work around an uncertain result; reuse the same idempotency key.
$ARGUMENTS