# Big goal · training week

Building towards a race or a big physical goal: place each training session from the person's Habits into the week, add a stretch wind-down after each, and record how it went. A missed session moves; it doesn't break anything.

Checked 2026-12-02 · https://xale.app/docs/ai/big-goal-training-week

## When

The person is building towards a race or another big physical goal, and wants this week's training placed.

## Calls

1. [`xale_read_habits`](https://xale.app/docs/ai/tools/xale_read_habits): the training Habits and their cadence.
2. [`xale_read_schedule`](https://xale.app/docs/ai/tools/xale_read_schedule) for the week.
3. Propose the sessions, with rest days in. After a yes:
4. [`xale_schedule_intention`](https://xale.app/docs/ai/tools/xale_schedule_intention) with `kind: "habit"` for each session. It returns the new block's `id`.
5. [`xale_plan_block`](https://xale.app/docs/ai/tools/xale_plan_block) with `blockType: "transition"`, `phase: "wind-down"` and `relatedBlockId` set to that id: a stretch after.
6. After each session: [`xale_record_entry`](https://xale.app/docs/ai/tools/xale_record_entry) with `kind: "habit"`, `date` and how it went, in their words.

Below, Europe/London: a long run on Saturday 5 December 2026 at 08:00.

```json
[
  { "tool": "xale_schedule_intention", "arguments": { "kind": "habit", "id": "Hr6tN2pQ", "startAt": 1796457600000, "durationMin": 60, "requestId": "run-2026-12-05" } },
  { "tool": "xale_plan_block", "arguments": { "blockType": "transition", "phase": "wind-down", "relatedBlockId": "b8Ks3fGh", "durationMin": 15, "title": "Stretch", "requestId": "run-2026-12-05-stretch" } },
  { "tool": "xale_record_entry", "arguments": { "kind": "habit", "id": "Hr6tN2pQ", "date": "2026-12-05", "text": "10 km, steady pace, left calf a bit tight.", "requestId": "entry-2026-12-05-run" } }
]
```

## Say

- A slow build, with rest days in.
- A missed session moves to another day. It doesn't break anything.

## If it fails

| What comes back | What to do |
| --- | --- |
| “That Habit is archived, so it can't be scheduled.” | Ask whether they want it back in Xale. |
| A correction to how it went | Send `xale_record_entry` again for the same `date` with a new `requestId`. It replaces your latest entry, unless the person edited it in Xale. |

> Sessions with rest around them, and a missed one moves to another day.

## Related

- For people: [How do I schedule a habit in Xale?](https://xale.app/help/habits-in-your-day-find-a-slot)
- Tools: [xale_read_habits](https://xale.app/docs/ai/tools/xale_read_habits)
- Tools: [xale_read_schedule](https://xale.app/docs/ai/tools/xale_read_schedule)
- Tools: [xale_schedule_intention](https://xale.app/docs/ai/tools/xale_schedule_intention)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Tools: [xale_record_entry](https://xale.app/docs/ai/tools/xale_record_entry)
- Read next: [Missed habit · kind follow-up](https://xale.app/docs/ai/missed-habit-kind-follow-up)
- Read next: [Big goal · goal into milestones](https://xale.app/docs/ai/big-goal-goal-into-milestones)
