Recipes Recurring work and the person away
Archive or remove Two-step recipe
Two steps, always: xale_ returns a preview and changes nothing; xale_ removes exactly that, with the person's words. Prefer archiving, which can be undone.
When
The person asks you to archive, bin or delete something.
Calls
xale_withprepare_ removal action,id, andmapIdfor a Mindmap branch. Nothing changes yet. It returns apreviewand aremovalId.- Show the person the preview, and ask.
- Only when they clearly say yes:
xale_withconfirm_ removal removalIdand their exact words inpersonSaid. - Pass on
tellThePerson. It says what was removed, how to undo it, and that it's listed under Settings › Connected apps.
action | What it does |
|---|---|
archive_, archive_, archive_, archive_, archive_, archive_, archive_ | Archives the item. It can be undone. |
archive_ | Moves the Capture to Trash. It can be restored. |
delete_ | Deletes the node and everything under it, for good. |
json
[
{ "tool": "xale_prepare_removal", "arguments": { "action": "delete_mindmap_branch", "id": "n_old_ideas", "mapId": "Mg4tY8rB" } },
{ "tool": "xale_confirm_removal", "arguments": { "removalId": "rm_3pQx7L", "personSaid": "yes, delete that branch" } }
]Say
- Prefer archiving: it can be undone.
- A Mindmap branch delete is for good. Say so before they confirm.
- If the person says you may remove things without asking each time, record their words with
xale_. Even then, still prepare each removal, still show the preview, and still say what you removed.allow_ removals xale_turns it off.stop_ allowing_ removals
If it fails
| What comes back | What to do |
|---|---|
| “That preview expired after 30 minutes. Prepare it again with xale_prepare_removal and confirm with the person.” | Prepare it again and ask again. |
| “Nothing was removed: it changed after the preview. Prepare it again, show the person the new preview, and ask again.” | As it says. |
| “Not during an unattended run. Removals happen only while the person is in the chat and has said yes.” | Never remove during an unattended run. |
| “The central topic can't be removed. Remove its branches instead.” | Archive the whole map with archive_, or remove branches. |
Preview, then the person's yes, then exactly what was previewed.
- Checked against main
8aef9b15