ratchet docs

Privacy and data

ratchet runs on your PC with your own logins. You don't need a ratchet account. This page lists everything ratchet sends, and how to turn each part off.

On this pageWhat ratchet readsWhat leaves your PCThe optional accountUsage statisticsThe log fileReports you sendCrash reportsTeamHooks on agents ratchet startsWhere ratchet keeps its data

What ratchet reads

  • Claude Code's session files in ~/.claude/projects.
  • History reads Claude Code's session files on your PC. Results go only to the screen that searched: this PC, a paired phone or a browser you approved, the same way transcripts do.
  • Usage keeps a daily record of tokens and estimated cost per day, account, repo and model in ~/.ratchet/spend. It holds no prompts, chat text, file names or branches, and it stays on your PC; only your own screens see it, the same way transcripts do.
  • The repos you add.
  • GitHub, through your own GitHub CLI login.
  • The list of running processes, for Machine.
  • ratchet stores the time a ratchet screen was last in front of you, on your PC, to know when you were away. The Since you left report reads Claude Code's session files on your PC and goes only to your own screens, the same way transcripts do.

What leaves your PC

  • Usage statistics, only if you said yes, sent to the ratchet team through PostHog. See Usage statistics below.
  • Phone access goes through the ratchet relay or over your own Tailscale network, whichever you choose. The relay only passes on encrypted traffic it can't read, and keeps room details only: when the room was made, when your PC was last seen, and for each paired phone or approved browser a random ID and a hash of its join pass. While a pairing code is live, it also keeps the first half of that code, for at most 10 minutes. When you list a PC in your account, it keeps that PC's link code as a hash, with the PC's name, until the code is used or for at most 10 minutes.
  • Your optional account: when you turn on List this PC in my account, the PC gives the relay its name for your account to show, and gives it again whenever the name changes. Turning the switch off removes the PC from your account. See The optional account. Tailscale connects PC and phone directly where it can; when it can't, its relays pass on traffic they can't read. See Phone access.
  • Push alerts go through the push service of the browser that gets them, on your phone or on this PC (Apple, Google, Mozilla or Microsoft), encrypted so the service can't read them. A PC alert carries the same words as a phone alert.
  • PR file groups send the pull request's diff to Claude through your own Claude Code login.
  • Plugins you allow can reach other services; the Allow dialog lists what each one can do. The built-in Staged tasks plugin sends a stage's work to GLM or Kimi only when you pick that model and add its key. Once a day ratchet checks each plugin's git link for updates.
  • Update checks: once an hour, ratchet asks npm whether a newer ratchet exists. When it offers you a new version, it fetches that version's changelog from jsDelivr. Only version numbers are involved; nothing about you or your repos is sent. To turn it off, start ratchet with RATCHET_NO_UPDATE_CHECK=1.
  • Reports you send with Send report go to ratchet's own report inbox on Cloudflare in the EU, only when you press Send. See Reports you send below.
  • Crash reports, sent to Sentry, are off until you turn them on. See Crash reports below.
  • Team is off until you start or join a team. Then your PC shares what the team notice lists with your team, encrypted, through your team's mailbox on the ratchet relay, and only after you have read the notice. See the Team section below and the Team page.

The optional account

If you sign in with GitHub at account.ratchet.build, ratchet keeps your GitHub user id and login name, and for each PC you list: the relay room it is reached at, the name the PC gives, and when you listed it. GitHub is asked for your public profile only: no email, no repositories, no organisations. The account runs on Cloudflare, next to the relay. It holds nothing that opens a PC: no keys, no join passes, no codes. Delete my account on that site removes all of it at once; your PCs and paired phones keep working.

The account also keeps the date you signed up. A cookie on account.ratchet.build keeps you signed in: a random id, kept for 30 days or until you sign out.

Usage statistics

ratchet sends anonymous usage statistics to the ratchet team through PostHog, and they are stored in Frankfurt. PostHog is a US company. ratchet asks first: the first time you start it, a bar at the top asks Share anonymous usage counts to help improve ratchet? with No and Yes. Nothing is counted or sent, and no install ID is made, until you press Yes. No, or closing the bar with ×, sends nothing. If you had ratchet before this question existed, it asks on your next start, unless you had already turned the switch off.

You can change your answer at any time with the Send usage statistics switch in Settings → Diagnostics. Setting DO_NOT_TRACK or RATCHET_NO_USAGE on this PC turns them off whatever you answered. Turning them off stops all sending at once.

What is sent:

  • Every event carries a random install ID made on this PC, your ratchet version, your operating system, how you are connected (on the PC itself, over Tailscale, or through the relay), the day this PC first sent usage statistics, and whether ratchet had run here before.
  • Each time ratchet starts, one 'ratchet started' event.
  • Screen views add the name of the screen from a fixed list, whether you are on the desktop or the phone, and a random ID for the browser tab, so one sitting's screens group together.
  • Actions add the name of the action from a fixed list, and count only when the action succeeds.
  • Agent runs add that an agent started and that it finished, with a rough duration: under a minute, one to ten minutes, ten minutes to an hour, or over an hour.
  • One event, sent once, notes that you said yes.
  • PostHog works out your country and city from your IP address, then discards the IP. No IP address is kept.

Never sent: your code, file contents, repo or branch names, file paths, prompts, terminal text, or your PC's name or your user name.

Nothing is sent before you say yes, and nothing is sent from ratchet's own development runs, tests or CI.

The legal basis is your consent: ratchet asks first, and you can change your answer in Settings at any time. PostHog keeps the data for 1 year. To have an install's data deleted, copy its install ID from Settings → Diagnostics and email it to hello@ratchet.build. It is deleted within 30 days.

The log file

ratchet writes a log to your own PC: one file a day in ~/.ratchet/logs (%USERPROFILE%\.ratchet\logs on Windows). Each line says what ratchet did and when: an agent started, Claude Code waited for permission, a phone opened an agent, a worktree was removed, an update installed, and how long each step took. To make that readable, lines name your repos, branches, worktrees, agent task names, PCs, phones, plugins and the tools Claude Code asked to use. Repo, worktree and other folders ratchet names appear by their own name, never their full path. Your home folder always shows as ~, also inside error messages from git, npm or a plugin. A task started by a plugin is named by the plugin, because its title is your prompt. The log never holds what you type to Claude Code, Claude's answers, terminal input or output, file contents, phone pairing codes or keys. Files older than 7 days are deleted, and a day's file stops at 10 MB. When a day's file is full, ratchet writes one line saying so, keeps working as usual, and starts a new file the next day. The log stays on your PC unless you send it with Send report. You can read it in Settings → Logs on the PC, on your paired phone or in a browser you approved; a phone gets it encrypted through the relay, and neither keeps it after you close the screen. It reaches us only when you press Send report, or copy it yourself with Copy diagnostics or Copy in Logs and send it.

Reports you send

When you press Send report in Settings → Diagnostics, ratchet sends one report: the line you wrote, your email if you gave it, your ratchet version and system, the diagnostics, and the log files of the days you left ticked. Before it leaves, the same cleaning as in the log runs again: secrets show as <hidden> and your home folder as ~. The report is stored compressed in ratchet's own report inbox on Cloudflare R2 in the EU and deleted after 90 days. Only the people who make ratchet read it. Your email is used only to answer you. ratchet never sends a report by itself.

Crash reports

They are off by default. ratchet asks once, on a later start after you have answered the usage question (on the first start when DO_NOT_TRACK or RATCHET_NO_USAGE keeps that question away), and you can change your answer any time with the Send crash reports switch in Settings → Diagnostics. Turning it off stops sending at once. With RATCHET_NO_CRASH_REPORTS=1 set on this PC, ratchet never asks and never sends.

When it is on and ratchet hits an error, it sends the error and the version of ratchet, your OS and Node version, which screen was open (for errors in the app), and whether phone access, Away mode and each plugin that comes with ratchet are on. A plugin you added yourself is only counted, never named. Each report also carries this PC's random install ID (the same one usage statistics use) and a stack trace with ratchet's own file and function names. Reports go to Sentry, stored in Germany. The same error is sent at most once an hour, and at most 20 reports a day.

Before anything is sent, ratchet cleans the text and keeps only plain words. Paths, web addresses, IP addresses, email addresses, quoted text, repo and branch names, your PC's name and your user name are replaced by placeholders such as <path>. Reports never hold your code, prompts, terminal output, commit messages or tokens, and no IP address is stored. Dev runs, tests and CI never send anything.

Team

Team is off until you start or join a team. With Team off, ratchet opens no team connection and writes no team file. After you start or join, your PC shares nothing until you have read the team notice, and it pauses again whenever the notice changes.

The Team notice alert says only that the notice changed. It carries no company, project or person names.

Then your PC shares, with your team only: your name and your PCs' names, which projects you are in and whether you have read the notice, and for each Claude Code session in a team project's repo its title, repo, branch, where it runs, the model, its state, its times and its last step as a kind and a file name. The full list is on the Team page. What you type to Claude Code and what it answers never leaves your PC. Neither do commands, file contents, diffs, cost and tokens, or sessions in other folders.

The paths of files your agent read or changed in a team repo, and of files changed on its branch, are shared with that project's team. Never their contents, and never files git ignores.

Every team message is encrypted and signed on the PC that sends it. The relay keeps team messages for 7 days, encrypted, in the EU. ratchet can't read them. The relay sees only which channel a message is for, which PC sent it, its size and its time. A team mailbox nobody has used for 180 days is deleted.

Each teammate's ratchet keeps the team picture and 30 days of steps on their PC. Your PC keeps what it sent for 90 days, to fill gaps for teammates who were offline. Your company is responsible for this sharing; the notice names its legal basis and its data protection contact. Leaving the team on a PC deletes that PC's team keys and team copy.

Hooks on agents ratchet starts

Agents ratchet starts get local hooks that report back to ratchet's own server on your PC. That's how it knows an agent wants permission, and how Away mode answers for it. Agents you start yourself are left alone.

Where ratchet keeps its data

Everything is in ~/.ratchet/ (%USERPROFILE%\.ratchet on Windows): your repos and the agents ratchet started, settings, paired phones and approved browsers, the GitHub login this PC is listed under, alert state, machine history, your daily usage record, saved PR file groups, the questions Away mode answered for your agents and what it chose, when a ratchet screen was last in front of you, and the random install ID. When you are in a team, ~/.ratchet/team/ holds this PC's team keys, the team copy and the messages it sent. Delete the folder to reset ratchet.

Written for ratchet 0.8.0.