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.

View as Markdown

What each removal does

actionItemWhat happensWhat the person is told
archive_taskTaskArchived“It can be unarchived in Xale.”
archive_milestoneMilestoneArchived“It can be unarchived in Xale.”
archive_mindmapMindmapArchived“It can be unarchived in Xale.”
archive_note, archive_list, archive_meetingNote, List, MeetingArchived“It can be unarchived in Xale.”
archive_habitHabitArchived“It can be unarchived in Xale.”
archive_captureCaptureMoved to Trash“It can be restored from Trash in Xale.”
delete_mindmap_branchA Mindmap node and everything under itDeleted“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_prepare_removal previews it and returns a removalId (valid 30 minutes), and xale_confirm_removal 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_update_project. 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

ReadArchived items
xale_read_today, xale_read_habitsArchived Habits are left out
xale_find_capturesLeft out unless you send includeArchived: true
xale_find_notes, xale_find_memoriesOnly active items are listed, so archived Notes, Lists and Meetings are left out
xale_read_note by idReturns the item with its state

Before suggesting an item, check it isn't archived.

  • Checked against main 8aef9b15

Was this helpful?

trash-and-removal-what-s-kept.md · main@c1725f34