Recipes Recurring work and the person away

Suggest while away Proposals recipe

While the person is away, suggest instead of creating: xale_propose 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.

View as Markdown

When

An unattended run (attended: false), or a scheduled task in your own app, finds something worth adding.

Calls

  1. xale_propose with kind (task, habit, milestone, block, note or list), item (exactly what you'd send to the matching create tool, without requestId), a reason the person will read, and checkInId for the run that found it.
  2. Next chat: xale_read_proposals.
  3. For each, one at a time: xale_accept_proposal with proposalId and their words in personSaid, or xale_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 reason sentence, one suggestion at a time: "Add it, or drop it?"
  • Suggestions expire 30 days after they're made.

If it fails

What comes backWhat 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

Was this helpful?

suggest-while-away-proposals-recipe.md · main@c1725f34