# Write conflicts · edits at once

The person may edit in Xale while you write. Xale's change tools keep what you don't name, check each item where it's written, and refuse a removal that no longer matches its preview.

Checked 2026-12-02 · https://xale.app/docs/ai/write-conflicts-edits-at-once

## Changes read and write together

Changes to Tasks, Projects, Habits and Milestones (and completing a Task) read the item, check it, and write it in one transaction. If the item moved into a kept-away Area meanwhile, it isn't changed: you get "Nothing with that id is available in this Xale." **Enforced.**

## Changes keep what you don't name

| Tool | Rule |
| --- | --- |
| [`xale_update_task`](https://xale.app/docs/ai/tools/xale_update_task) | Subtasks are merged by id; ones added meanwhile are kept |
| [`xale_change_links`](https://xale.app/docs/ai/tools/xale_change_links) | Links are added and removed, never replaced |
| [`xale_update_person`](https://xale.app/docs/ai/tools/xale_update_person) | Lists (relationship types, Areas, groups, other names, emails) are added and removed; `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 |

Send only what to change, never a whole list you read earlier.

## Removals match their preview

A confirmed removal does exactly what was previewed. If the item, or a Mindmap branch, changed since:

> "Nothing was removed: it changed after the preview. Prepare it again, show the person the new preview, and ask again."

## Dated entries

[`xale_record_entry`](https://xale.app/docs/ai/tools/xale_record_entry): "A correction for the same day replaces your latest entry, unless the person has edited that entry in Xale: then theirs is kept and the correction goes after it."

## The same `requestId`, different content

> "This requestId was already used for different content with {tool}. Use a new requestId for each new item."

Make a new id for each new item, and reuse one only to retry the same call. See [Request ids · safe retries](https://xale.app/docs/ai/request-ids-safe-retries).

## Mindmap links

Linking a Task to a Mindmap node checks the node as it's written. If it changed: "That Mindmap node changed or was removed while Xale was linking it, so nothing was changed. Read the Mindmap again."

## Related

- For people: [Why is Xale not syncing between devices?](https://xale.app/help/changes-not-syncing-between-devices)
- Tools: [xale_update_task](https://xale.app/docs/ai/tools/xale_update_task)
- Tools: [xale_change_links](https://xale.app/docs/ai/tools/xale_change_links)
- Tools: [xale_confirm_removal](https://xale.app/docs/ai/tools/xale_confirm_removal)
- Tools: [xale_record_entry](https://xale.app/docs/ai/tools/xale_record_entry)
- Read next: [Request ids · safe retries](https://xale.app/docs/ai/request-ids-safe-retries)
- Read next: [Partial saves · what to tell people](https://xale.app/docs/ai/partial-saves-what-to-tell-people)
