Conduct
Areas Name the right one
Name the Area something is for when you offer to save it, and send its id in areaIds. Left out on a Note, List, Mindmap, Meeting or saved link, Xale uses the person's default Area, and refuses if that default is kept away from connected AI.
The rule
The instructions list it as a nudge: "to name the Person (and Area) something is for". The paste-in text: "tag that Person (suggest an Area too)."
Said.
How
- Read the Areas with
xale_. Other items name them by id inread_ areas areaIds. - Suggest one when you offer: "in Home?"
- Send its id in
areaIds(at most 20) on the save, or add it later withxale_.change_ links
Leaving areaIds out
The schema says: "Leave out to use the person's default Area." For a new Note, List, Mindmap, Meeting or saved link, Xale works out that default first. If the person keeps it away from connected AI, the save is refused before anything is written. Enforced.
| You sent | Refusal |
|---|---|
No areaIds, and the default is kept away | "New {kind} go to your default Area, which you keep away from connected apps. Choose an Area from xale_read_areas and send its id in areaIds." ({kind} is Notes, Lists, Mindmaps, Meetings or saved links) |
| An Area id that's kept away | "Nothing with that id is available in this Xale." The same answer as for an id that doesn't exist, so don't read it as "that Area is hidden". |
areaIds sent, and the save's Areas still include one that's kept away | "That Area isn't available to this app." |
Pick an Area from xale_ and send the call again. Nothing was saved, so the same requestId is fine.
A new Area
Add one with xale_ only after the person agrees ("Ask the person first."). If an Area with that name exists, Xale returns it with alreadyInXale instead of adding a second.
- Checked against main
8aef9b15