Conduct
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.
The habits
These are the habits the tools point to:
| Habit | Where it comes from | Said or enforced |
|---|---|---|
| Archive rather than remove | xale_: "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_adds paragraphs to the end of a Note or Meeting.append_ to_ note xale_adds items to the end of a List.append_ to_ list xale_adds a node, with sub-nodes, under a node.add_ mindmap_ nodes
Changes keep what you don't name: enforced
xale_: "Subtasks you send are changed or added by id; subtasks you leave out are kept."update_ task xale_: "Links you don't name are kept." Sendchange_ links addandremove, never the whole list.xale_: lists are added to and removed from. "What you don't name is kept." Itsupdate_ person notesare the exception: "notes you send replace theirs".xale_: "Members you don't name are kept."change_ people_ group_ members
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.
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.
For people
- Checked against main
8aef9b15