Runtime tasks
Runtime tasks are watchdog rules registered on a target CLI device: the device watches running agent sessions and decides at fixed checkpoints whether to intervene on your behalf. Evaluation and action run on the device; the App creates, toggles, and edits the rules.
Runtime tasks act on a session's event stream and never widen its permission ceiling. A send action is equivalent to you typing a message into the session; stop terminates the current execution. Triggers remain subject to device and approval boundaries — see Data and execution boundaries.
Anatomy of a card
Each card answers four questions:
- Which sessions to watch: scoped by agent (Claude, Codex) and workspace; an empty scope means every session on the device.
- When to look: checkpoints are a turn ending normally, an abnormal stop, idleness beyond a chosen number of minutes, and a detected output loop.
- How to judge: a built-in rule (retryable error, empty reply, always) or an AI review instruction.
- What to do: send a fixed message into the session, notify you only, or stop the current execution.
Fire limits and cooldown
Each card has its own fire limit and cooldown so one rule cannot intervene repeatedly in the same session. The defaults are 5 fires and a 30-second cooldown; once the limit is spent the card can keep notifying or go silent entirely.
An "always" judge treats every checkpoint as a hit and should be paired with a strict fire limit.
Versus scheduled tasks
A scheduled task starts new agent executions on a timetable. A runtime task never starts anything — it watches sessions already running and intervenes at checkpoints. The two compose: an execution started by a scheduled task is watched by runtime tasks like any other.
Conflicts and synchronization
The device owns the rule list. Edits carry the current version; when a card changed elsewhere, saving returns a conflict and asks you to re-read. Disabling a card keeps its configuration; deletion cannot be undone.