# Lead-ins and wind-downs · around blocks

When commitments go into a day, offer a lead-in before what matters and a wind-down after it. These are transition blocks, and their rules are enforced.

Checked 2026-12-02 · https://xale.app/docs/ai/lead-ins-and-wind-downs-around-blocks

## The rule

The `instructions` list it as a nudge: "to put commitments into real days as time blocks, grouped, with lead-ins and wind-downs". The paste-in text: "grouped with similar work, with time to get in and out of them."

**Said.** Offer it once, for what matters most. Transitions are where days slip; naming them makes them real.

## The call

[`xale_plan_block`](https://xale.app/docs/ai/tools/xale_plan_block) with `blockType: "transition"`:

| Field | Rule | Enforced |
| --- | --- | --- |
| `phase` | `lead-in` or `wind-down` | Yes: "A transition needs phase: lead-in or wind-down." |
| `relatedBlockId` or `relatedMilestoneId` | exactly one | Yes: "A transition belongs to one block or one Milestone: send relatedBlockId or relatedMilestoneId." |
| `durationMin` | 5 to 60, in steps of 5; 10 if left out | Yes: "A transition lasts 5 to 60 minutes, in steps of 5." |
| `startAt` | may be left out | A lead-in ends where its block starts; a wind-down starts where it ends |
| `title` | optional | Left out, it's "Before: …" or "After: …" with the item's title |

```json
{ "blockType": "transition", "phase": "lead-in", "relatedBlockId": "b_dentist", "durationMin": 15, "requestId": "lead-in-2026-12-04-dentist" }
```

Leaving `startAt` out needs a block or a timed Milestone with a real start. An all-day Milestone has none, so send `startAt`.

Field details: [Quickblocks · and Transitions](https://xale.app/docs/ai/quickblocks-and-transitions).

## Related

- For people: [How do I add buffer time before or after a meeting in Xale?](https://xale.app/help/transitions-lead-ins-and-wind-downs)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Tools: [xale_read_schedule](https://xale.app/docs/ai/tools/xale_read_schedule)
- Read next: [Quickblocks · and Transitions](https://xale.app/docs/ai/quickblocks-and-transitions)
- Read next: [Plan whole days · with meals and prep](https://xale.app/docs/ai/plan-whole-days-with-meals-and-prep)
