routine_set: Repeat a plan on a schedule, daily, every weekday or on chosen days at a local time, for work wanted continuously or every day: each run is a turn in the routine's own thread, capped at a budget per run. Also changes a routine the project holds.Teamruns on a thread, stream it
| Field | Type | Required | Description |
|---|
| routineId | string | optional | the routine to change; empty creates one |
| title | string | optional | the routine's name, which titles its thread; required to create |
| instruction | string | optional | what every run does, in the person's own terms; required to create |
| steps | object[] | optional | the plan's steps in order, each {capability, input, label}: a catalog capability id, its JSON input, and the line the thread shows |
| days | string | optional | 'daily', 'weekdays', or weekday names such as 'mon,wed,fri'; daily by default |
| at | string | optional | the local time each run starts, HH:MM in 24 hours; required to create |
| timeZone | string | optional | the IANA time zone the time is read in, such as America/New_York; required to create |
| budgetUsd | number | optional | the most one run may spend, in dollars; required to create |
| runNow | boolean | optional | true starts the first run at the next sweep instead of waiting for the schedule |
Contract Every run is a turn in the routine's own thread under the person who last set it, metered like any other work, stopping at its budget or at a billing refusal.
Contract A step that sends outside the project stages its draft for the person's approval; a routine never sends on its own.
Contract Each step names a catalog capability; an unknown id, or a routine capability, is refused.