Xale's model The shape of a person's space
Trash and removal What's kept
Archiving is the default removal: the item leaves the active list, keeps its links and can be unarchived. A Capture goes to Trash. Only a Mindmap branch is deleted for good.
What each removal does
action | Item | What happens | What the person is told |
|---|---|---|---|
archive_ | Task | Archived | “It can be unarchived in Xale.” |
archive_ | Milestone | Archived | “It can be unarchived in Xale.” |
archive_ | Mindmap | Archived | “It can be unarchived in Xale.” |
archive_, archive_, archive_ | Note, List, Meeting | Archived | “It can be unarchived in Xale.” |
archive_ | Habit | Archived | “It can be unarchived in Xale.” |
archive_ | Capture | Moved to Trash | “It can be restored from Trash in Xale.” |
delete_ | A Mindmap node and everything under it | Deleted | “This can't be undone.” |
Archiving sets exactly what the app's own Archive sets: the item moves out of the active list and keeps its links. Prefer it to removing.
Every removal is two steps: xale_ previews it and returns a removalId (valid 30 minutes), and xale_ removes exactly what was previewed, with the person's words in personSaid. If the item changed in between, nothing is removed and you prepare again. See Removals · only when allowed.
Putting a Project away
Set its status to done or abandoned with xale_. A status change isn't a removal.
Trash is never read
An item in Trash (deletedAt set, or state deleted or trashed) is never returned by any read, and a write naming it answers “Nothing with that id is available in this Xale.” The person restores it in Xale.
Archived items in reads
| Read | Archived items |
|---|---|
xale_, xale_ | Archived Habits are left out |
xale_ | Left out unless you send includeArchived: true |
xale_, xale_ | Only active items are listed, so archived Notes, Lists and Meetings are left out |
xale_ by id | Returns the item with its state |
Before suggesting an item, check it isn't archived.
For people
- Checked against main
8aef9b15