# Undo-friendly writes · small steps

Prefer changes the person can take back: archive rather than remove, add to an item rather than replace it, one item per call. Several of these are built into the tools.

Checked 2026-12-02 · https://xale.app/docs/ai/undo-friendly-writes-small-steps

## The habits

These are the habits the tools point to:

| Habit | Where it comes from | Said or enforced |
| --- | --- | --- |
| Archive rather than remove | [`xale_prepare_removal`](https://xale.app/docs/ai/tools/xale_prepare_removal): "prefer archiving: it can be undone" | Said |
| Add to what exists | `instructions`: "Check for an existing item to add to first" | Said |
| One item per call, each with its own yes | The prompts: "Save only what I agree to, each with a new requestId" | Said |
| Changes keep what you don't name | The change tools | Enforced |
| A retry never saves twice | `requestId` on every create | Enforced |

## Adding, not replacing

- [`xale_append_to_note`](https://xale.app/docs/ai/tools/xale_append_to_note) adds paragraphs to the end of a Note or Meeting.
- [`xale_append_to_list`](https://xale.app/docs/ai/tools/xale_append_to_list) adds items to the end of a List.
- [`xale_add_mindmap_nodes`](https://xale.app/docs/ai/tools/xale_add_mindmap_nodes) adds a node, with sub-nodes, under a node.

## Changes keep what you don't name: enforced

- [`xale_update_task`](https://xale.app/docs/ai/tools/xale_update_task): "Subtasks you send are changed or added by id; subtasks you leave out are kept."
- [`xale_change_links`](https://xale.app/docs/ai/tools/xale_change_links): "Links you don't name are kept." Send `add` and `remove`, never the whole list.
- [`xale_update_person`](https://xale.app/docs/ai/tools/xale_update_person): lists are added to and removed from. "What you don't name is kept." Its `notes` are the exception: "notes you send replace theirs".
- [`xale_change_people_group_members`](https://xale.app/docs/ai/tools/xale_change_people_group_members): "Members you don't name are kept."

## Retries

Every create takes a `requestId`: "Send the same id again if you retry, and Xale returns the first result instead of saving twice." After a lost reply, retry with the same id, never a new one. See [Request ids · safe retries](https://xale.app/docs/ai/request-ids-safe-retries).

## What the person sees

Settings › Connected apps › **Recent changes by connected apps** lists each change with a link to the item, so the person can find and undo it in Xale.

## Related

- For people: [How do I disconnect Claude from Xale?](https://xale.app/help/connected-apps-see-and-remove)
- Tools: [xale_prepare_removal](https://xale.app/docs/ai/tools/xale_prepare_removal)
- Tools: [xale_append_to_note](https://xale.app/docs/ai/tools/xale_append_to_note)
- Tools: [xale_change_links](https://xale.app/docs/ai/tools/xale_change_links)
- Tools: [xale_update_task](https://xale.app/docs/ai/tools/xale_update_task)
- Read next: [Request ids · safe retries](https://xale.app/docs/ai/request-ids-safe-retries)
- Read next: [Write conflicts · edits at once](https://xale.app/docs/ai/write-conflicts-edits-at-once)
- Read next: [Removals · only when allowed](https://xale.app/docs/ai/removals-only-when-allowed)
