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.
When
"Who am I holding up?" "What do I owe people?"
Calls
xale_: open Tasks, the default. Each page is ordered by due date (undated last), title and ID. Start at offset 0 and leaveread_ tasks areaIdunset so unfiled Tasks are visible. PassnextOffsetasoffsetwith the same filters and page size whilehasMoreis true.- Group them by
accountableIds: the people each Task is delivered to (Deliver to in Xale).workerIdsare who it's assigned to. xale_, for their names.read_ people - If they ask about one person:
xale_withread_ person section: "tasks". - If they pick one, after a yes:
xale_withschedule_ intention kind: "task",id,startAtand a newrequestId.
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
dueDatefirst: that is the orderxale_already gives. Say "no date" for a Task without one, and put those last.read_ tasks - Then one nudge: "Want to put one of these in today?"
If it fails
| What comes back | What to do |
|---|---|
Tasks with no accountableIds | They aren't for anyone you can see. Leave them out, or offer to link one person: xale_ with kind: "task" and people. |
| A Person you can't read | They'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