Recipes Everyday

Morning check Today and Now

At the first chat of the day: do any check-in runs that are yours and due, offer waiting suggestions one at a time, then give a short picture of today. Offer to plan the day rather than doing it.

View as Markdown

When

The person's first chat of the day. Xale's own instructions ask for step 1: if the person has recurring workflows with you, check xale_read_check_ins when a chat starts and do what's yours and due.

Calls

  1. xale_read_check_ins. For each run that's due and owned by your app: xale_begin_run with checkInId and attended: true (the person is in the chat), do the work its instructions give, then xale_report_run once with the runId, an outcome and attended: true.
  2. xale_read_proposals: suggestions a connected AI made while the person was away.
  3. For each suggestion, one at a time: xale_accept_proposal with proposalId and their exact words in personSaid, or xale_dismiss_proposal.
  4. xale_read_today, for a short picture of the day.

"Now" is the strip on Xale's Home. Work it out from today's read and the current time in its timezone.

json
{ "tool": "xale_accept_proposal", "arguments": { "proposalId": "p4Hq9Lw2", "personSaid": "yes, add that" } }

Say

  • Missed check-in runs first, if xale_read_check_ins lists any, in a line.
  • Then each waiting suggestion, using its reason sentence: "While you were away I suggested: Permission slip for the zoo trip, due Friday. Add it, or drop it?" Wait for the answer before the next one.
  • Then the day in two or three lines: what's fixed, what's due, and what's on now.
  • Keep it short, one nudge at most. Offer "Want me to plan the day?" rather than planning it.

If it fails

What comes backWhat to do
stalled in the proposals readAn earlier acceptance didn't finish. Check with a read tool whether the item exists; if it isn't there, dismiss the suggestion and suggest it again.
“That suggestion isn't waiting any more (already accepted, dismissed or expired).”Move on. Suggestions expire 30 days after they're made.
“Not during an unattended run: accept only while the person is in the chat.”You began a run with attended: false. Accept only with the person in the chat.
“That run's 30-minute window ended, so it wasn't counted. What you saved during it stays saved. Start a new run with xale_begin_run if any are left, and report that one.”Begin a new run, then report it.

Short and light: what's due, what's waiting, what's on. Suggestions become items only with the person's words.

  • Checked against main 8aef9b15

Was this helpful?

morning-check-today-and-now.md · main@c1725f34