Recipes People and Areas

Who's waiting on me Recipe

Group the person's open Tasks by who each is delivered to (accountableIds), earliest due date first, and offer to put one of them into today.

View as Markdown

When

"Who am I holding up?" "What do I owe people?"

Calls

  1. xale_read_tasks: open Tasks, the default. Each page is ordered by due date (undated last), title and ID. Start at offset 0 and leave areaId unset so unfiled Tasks are visible. Pass nextOffset as offset with the same filters and page size while hasMore is true.
  2. Group them by accountableIds: the people each Task is delivered to (Deliver to in Xale). workerIds are who it's assigned to.
  3. xale_read_people, for their names.
  4. If they ask about one person: xale_read_person with section: "tasks".
  5. If they pick one, after a yes: xale_schedule_intention with kind: "task", id, startAt and a new requestId.
json
[
  { "tool": "xale_read_tasks", "arguments": { "limit": 200 } },
  { "tool": "xale_read_person", "arguments": { "id": "P8kR2mQa", "section": "tasks" } }
]

Say

  • A short list by person, the earliest dueDate first: that is the order xale_read_tasks already gives. Say "no date" for a Task without one, and put those last.
  • Then one nudge: "Want to put one of these in today?"

If it fails

What comes backWhat to do
Tasks with no accountableIdsThey aren't for anyone you can see. Leave them out, or offer to link one person: xale_change_links with kind: "task" and people.
A Person you can't readThey're in an Area kept away from connected AI. Leave them out and don't guess.

A list by person, then one thing for today.

  • Checked against main c1725f34

Was this helpful?

who-s-waiting-on-me-recipe.md · main@c1725f34