Xale's model Intentions

Check-ins Recurring workflows

A check-in is a recurring workflow an AI app takes on for the person, such as asking about a Habit every evening. Every one is finite, and at most 5 run at once.

View as Markdown

Workflows

xale_find_workflows lists Xale's ready-made workflows: 14 in all. Use them when the person asks for help with that kind of thing; never pitch them unprompted.

RunsWorkflows (workflowId)Runs, default and most
Dailydaily-check-in, evening-decompression, end-of-day-handoff, morning-placement14, up to 60
Weeklyweekly-reset, weekend-look-ahead, check-a-source4, up to 12
Oncepacking-list, milestone-checklist, proposed-actions, brain-dump, scoping-brief, meeting-prep, long-read-inbox1

A once workflow is done straight away with xale_get_workflow, which returns its instructions (Xale's own, to follow) and only the context it needs. Only daily and weekly workflows can be taken on as check-ins.

The life of a check-in

  1. xale_take_on_check_in: workflowId, optionally the item it's about (itemKind, itemId), runs (left out: the default), and reminderSet: true only if you set a reminder in your own app. Say when it runs in reminderNote.
  2. Each time it runs: xale_begin_run with attended (true if the person is in the chat now). It returns a runId.
  3. xale_report_run with the runId and how it went: answered, no answer, nothing new, found items, couldn't access, or skipped. Reporting the same run twice changes nothing.
  4. It ends after its last run, or with xale_end_check_in when the person asks. Then tell them, and remove your reminder.

Rules

RuleDetail
FiniteEvery check-in has a set number of runs, then ends
At most 5Five active check-ins per person, across all apps
One ownerIf another app already runs the same thing, you're told which; the person ends it there first
Unattended runsNothing is removed and no suggestion is accepted. Use xale_propose to suggest a Task, Habit, Milestone, time block, Note or List instead; nothing is created until the person accepts
At the start of a chatCall xale_read_check_ins and do what's yours and due

Reminders

A run happens when your own reminder fires, or when the person next chats with you. Tell them which. For a Habit nudge, use workflowId: "daily-check-in" with itemKind: "habit" at the time they choose.

  • Checked against main 8aef9b15

Was this helpful?

check-ins-recurring-workflows.md · main@c1725f34