Recipes Recurring work and the person away
Suggest while away Proposals recipe
While the person is away, suggest instead of creating: xale_ holds exactly what you'd send to the create tool, with a reason. At the next chat, read the suggestions and accept each only with the person's own words.
When
An unattended run (attended: false), or a scheduled task in your own app, finds something worth adding.
Calls
xale_withpropose kind(task,habit,milestone,block,noteorlist),item(exactly what you'd send to the matching create tool, withoutrequestId), areasonthe person will read, andcheckInIdfor the run that found it.- Next chat:
xale_.read_ proposals - For each, one at a time:
xale_withaccept_ proposal proposalIdand their words inpersonSaid, orxale_.dismiss_ proposal
json
[
{ "tool": "xale_propose", "arguments": { "kind": "task", "item": { "title": "Return the permission slip", "dueDate": "2026-12-11" }, "reason": "Permission slip for the zoo trip, due Friday", "checkInId": "ci4Ks8Mp" } },
{ "tool": "xale_accept_proposal", "arguments": { "proposalId": "p4Hq9Lw2", "personSaid": "yes please" } }
]Say
- The
reasonsentence, one suggestion at a time: "Add it, or drop it?" - Suggestions expire 30 days after they're made.
If it fails
| What comes back | What to do |
|---|---|
| “That task isn't valid: check …” | item doesn't match the create tool's schema. Fix the fields it names. |
stalled in the proposals read | “An earlier acceptance didn't finish, so it may or may not have been added. Check with a read tool; if it isn't there, dismiss it with xale_dismiss_proposal and suggest it again.” |
| “Not during an unattended run: accept only while the person is in the chat.” | Accept only with the person in the chat. |
| “That suggestion isn't waiting any more (already accepted, dismissed or expired).” | Move on. |
Away, suggest; present, accept only with their words.
- Checked against main
8aef9b15