# Milestone prep · plan backwards

For a launch, exam, trip or celebration: read the Milestone, offer one ordered checklist, then Tasks with dates counted back from it, then a lead-in before the day.

Checked 2026-12-04 · https://xale.app/docs/ai/milestone-prep-plan-backwards

## When

A Milestone is coming: a launch, an exam, a trip, a celebration. This is Xale's **Milestone checklist** workflow (`workflowId: milestone-checklist`, once).

## Calls

1. [`xale_read_milestone`](https://xale.app/docs/ai/tools/xale_read_milestone) with its `id` (from [`xale_read_schedule`](https://xale.app/docs/ai/tools/xale_read_schedule)): its date, times, notes and linked Tasks and Habits. If either count is `null` or `holdsTruncated` is true, explain the read is partial.
2. Ask for the date if it's not set, the people involved, and what's already done.
3. After a yes: [`xale_save_list`](https://xale.app/docs/ai/tools/xale_save_list) with one ordered checklist in `list`, `projects` set to the Milestone's Project if it has one, and a new `requestId`.
4. After a yes: [`xale_create_task`](https://xale.app/docs/ai/tools/xale_create_task) for the steps that need a day, with `dueDate` counted back from the Milestone, with `milestones: [milestoneId]` and a new `requestId` for each. Use `xale_change_links` on work the person already has.
5. After a yes: a lead-in before the moment itself: [`xale_plan_block`](https://xale.app/docs/ai/tools/xale_plan_block) with `blockType: "transition"`, `phase: "lead-in"`, `relatedMilestoneId` and a new `requestId`.

```json
[
  { "tool": "xale_save_list", "arguments": { "title": "Party prep", "list": "1. Send invitations\n1. Confirm the hall\n1. Order the cake\n  1. Ask about nut-free\n1. Make a playlist", "projects": ["Pp2kH9vT"], "requestId": "list-2026-12-04-party" } },
  { "tool": "xale_create_task", "arguments": { "title": "Confirm the hall", "dueDate": "2026-12-11", "milestones": ["E5nQ7wXc"], "requestId": "task-2026-12-04-hall" } },
  { "tool": "xale_plan_block", "arguments": { "blockType": "transition", "phase": "lead-in", "relatedMilestoneId": "E5nQ7wXc", "durationMin": 30, "requestId": "leadin-2026-12-19-party" } }
]
```

## Say

- Offer the checklist first, then Tasks with dates, then prep time. One offer at a time.
- Offer to link the people involved to the Milestone or the Tasks.

## If it fails

| What comes back | What to do |
| --- | --- |
| “Send startAt: that Milestone is all-day or has no time, so there's no moment to lead into or out of.” | An all-day Milestone has no start to lead into. Send `startAt` for the lead-in yourself. |
| A list line is refused | The refusal names the line. Fix it and send again with the same `requestId`. A List holds 100 items, 8 levels deep. |
| The List should be tied to the Milestone | Save it with a clear title. After a yes, use `xale_change_links` on the List with `milestones: { add: [milestoneId] }`. |

> Checklist, then dated Tasks, then a lead-in: one offer at a time.

## Related

- For people: [How do I prepare for a milestone in Xale?](https://xale.app/help/milestone-prep-tasks-before)
- For people: [How do I add a milestone in Xale?](https://xale.app/help/new-milestone-plan-towards)
- Tools: [xale_read_milestone](https://xale.app/docs/ai/tools/xale_read_milestone)
- Tools: [xale_save_list](https://xale.app/docs/ai/tools/xale_save_list)
- Tools: [xale_create_task](https://xale.app/docs/ai/tools/xale_create_task)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Read next: [Dates to plan towards · as a Milestone](https://xale.app/docs/ai/dates-to-plan-towards-as-a-milestone)
- Read next: [Milestones · dates to plan towards](https://xale.app/docs/ai/milestones-dates-to-plan-towards)
- Read next: [Lead-ins and wind-downs · around blocks](https://xale.app/docs/ai/lead-ins-and-wind-downs-around-blocks)
