Interactive task definition with Q&A and documentation.
Turn a raw task into a documented spec: grill the user until you reach a shared understanding, then record the decisions.
Session path: [SESSION_PATH from working memory] Task: $ARGUMENTS
model: inherit and
no effort override. Never ask the user for something you could look up. Don't block
on a lookup: a running exploration is an unsettled prerequisite, so only the questions
downstream of it wait for the sub-agent ā ask the rest of the frontier now.Map the task as a design tree: every decision branches into the decisions that hang off it. Work the tree in rounds.
The frontier is every decision whose prerequisites are already settled ā the questions you can ask now without guessing at answers you haven't heard yet. Ask the whole frontier in one round. A question whose answer depends on another question still open in this round belongs to a later round, not this one.
Format each question:
ā **Q1** ā **<question title>**: <question body, may span paragraphs and include options>
ā”ļø <your recommended answer + short justification>
The Q&A is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Say: "No more questions, we can move on!" and wait for the user to confirm shared understanding before documenting.
Create file: [SESSION_PATH]/[TIMESTAMP_FILE]-task-[task-slug].md
# Task: [title]
Date: [TIMESTAMP_LOG]
## Description
[What needs to be accomplished]
## Requirements
[Bullet list]
## Clarifications
### [Topic]
**Q:** [question]
**A:** [answer/decision]
**Rationale:** [why]
## Edge Cases
[Things to watch for]
## Success Criteria
[How we know it's done]
[SESSION_PATH]/_overview.md:Phase: planning (the task is defined, so the next worker step is
planning), Last Action: Task defined: [title], Next: Create implementation plan.
Phase is a closed enum ā never write values like task-defined. Interactive
sessions only: under the Samocode worker never touch Phase.- [TIMESTAMP_ITERATION] Task defined: [title] -> [filename].md- [filename].md - Task: [title] (plain filename, no markdown link)cd [SESSION_DIR] && git add . && git commit -m "Task: [title]"/create-plan, /do, /dop2