Recipes Intentions

Big task into steps Recipe

Think through a big Task with the person and offer a few sub-tasks. After a yes, put them on a new Task with xale_create_task or add them to an existing one with xale_update_task.

View as Markdown

When

A Task feels big or vague, or the person keeps putting it off.

Calls

  1. xale_read_task with its id: its notes and any subtasks it already has.
  2. Think it through with the person first. If it's hard, offer a Note or Mindmap to think in.
  3. Propose the steps. After a yes: xale_update_task with id and subtasks. Each subtask needs all five fields: id, title, durationMin (whole minutes, or null), completedAt (null for a new step) and order.
  4. Offer to schedule the first step: xale_schedule_intention with kind: "task", the Task's id, startAt and a new requestId.

Subtasks you send are changed or added by id; the ones you leave out are kept. For a new step, choose an id that isn't used yet on that Task (any string: step-1, a short random string). To change an existing step, send its own id from xale_read_task.

json
{ "tool": "xale_update_task", "arguments": {
  "id": "Tq3wP8xL",
  "subtasks": [
    { "id": "step-1", "title": "List what the report must answer", "durationMin": 15, "completedAt": null, "order": 0 },
    { "id": "step-2", "title": "Pull last quarter's numbers", "durationMin": 30, "completedAt": null, "order": 1 },
    { "id": "step-3", "title": "Write the summary page", "durationMin": 45, "completedAt": null, "order": 2 }
  ]
} }

When the Task is new

Use xale_create_task with the agreed title and subtasks as an ordered array of strings. Give each piece a non-blank title. The create returns the new Task’s ID and its subtaskIds.

Or as a Mindmap

The steps can live on a Mindmap instead, one node each. A node linked to a Task completes or reopens that Task when you tick it with xale_tick_mindmap_node (mapId, nodeId, done).

Say

  • Propose three to seven steps, small enough to start, and ask before saving.
  • Then: "Want the first one in your day?"
  • One nudge at most: link the Task to the Note or Mindmap you thought it through in (Link to the note behind).

If it fails

What comes backWhat to do
“Invalid arguments for xale_update_task: check …”A subtask is missing a field. Send all five, with null where there's no value.
“Nothing with that id is available in this Xale.”The Task is in Trash or an Area kept away from connected AI.

Think first, a few small steps, saved after a yes, then one step into the day.

  • Checked against main d2feeb6e

Was this helpful?

big-task-into-steps-recipe.md · main@c1725f34