ratchet docs

Alerts

A notification on your phone or on this PC when an agent needs you, finishes, or its pull request fails CI.

On this pageTurn alerts onTurn alerts on for this PCWhen you get oneWhen you don't
Phone screenshot of ratchet, settings alerts view
Settings on the phone: Allow alerts, what to be alerted about and quiet hours.

Turn alerts on

A new phone is asked to allow alerts right after it pairs: press Allow alerts on that screen (see Quick setup). Settings on the phone stays the place to turn them on later, change them, or press Send test alert:

  1. Set up phone access and add ratchet to your home screen. On an iPhone this is required for alerts.
  2. On the phone, open This PC → Settings and press Allow alerts.
  3. Press Send test alert to check it works.

Turn alerts on for this PC

  1. On the PC, open Settings and go to Notifications.
  2. In the This PC row, press Allow alerts. The browser asks once: allow it.
  3. Press Send test alert. A Windows, macOS or Linux notification appears.

Each browser is turned on by itself: Edge and Chrome on the same PC are two rows in Getting alerts. The installed ratchet window shares its browser's row. Turn off stops alerts for this browser only.

The PC gets the same alerts as a phone, under the same settings, whether or not a phone is set up, with two differences. The PC gets no new version alert: it shows its update banner instead. And the Team notice and teammate overlap alerts come only to the PC. Click one to open that agent. Alerts arrive with the ratchet tab closed, as long as the browser is running.

When you get one

AlertTitle
An agent asks a question or wants permissionratchet · db/uuid-orders needs you
An agent finishes its turnratchet · vitest-3-2 finished
CI fails on an agent's pull requestratchet · PR #214 CI failed
A plugin sends an alert (see Plugin alerts)ratchet · headroom: <text>
You are in a team and have not read its notice yet (on this PC only)ratchet · Team: read what is shared
The Team notice changed since you read it (on this PC only)ratchet · Team: what is shared changed
A teammate works on the same files. Once per overlap, on this PC only. Muting a repo mutes its overlap alerts too.ratchet · Sara also changes total.ts
A new ratchet version is out. Once per version, on phones only.ratchet · Version 0.8.0 is out

The name is the agent's branch. An agent working on your main branch shows as an agent. On a phone with two or more PCs, the PC's name takes the place of ratchet, for example Home PC: db/uuid-orders needs you.

Tap or click an alert to open that agent, or that CI run. Tap a new version alert to open What's new for that version. Close it, then press Update now on the update banner to update ratchet on your PC (see Updating).

When you don't

  • You're already looking at that agent on some device. CI alerts still come.
  • It's inside your quiet hours, or that alert type or repo is switched off in Settings.
  • Away mode is on: you get no question or permission alerts for the agents it covers. Their finished alerts still come.
  • A turn was interrupted, or ended with background work still running.
  • Anything already waiting when ratchet starts doesn't send an alert.
  • CI alerts are for failed runs on the latest commit of an agent's pull request, not for cancelled runs or agents on your main branch.
  • On the PC, the browser is not running. The alert is held for about 4 hours and shows when the browser starts again within that time.
  • On the PC, Focus Assist (Windows) or Do Not Disturb (macOS) is on, or the system has notifications turned off for the browser.

To check, press Send test alert in Settings. It goes to this PC and to every phone getting alerts, and says what it reached, for example Test alert sent to 1 PC and 2 phones.

Screenshots use example data. Written for ratchet 0.8.0.