Docs

Troubleshooting and privacy

Where your data lives

Everything Caret keeps is in ~/.caret/engines/caret on each machine. To keep a second copy apart (for testing, say), set CARET_ENGINE_HOME to another folder before you start the app or caret.

PathWhat's in it
engine.sqliteProjects, threads, their messages and work, checkpoints, schedules, usage
settings.jsonThe machine's settings, with each project's overrides inside
keybindings.jsonYour own keys
client/This device's own: ui.json (appearance, layout, preferences), machines.json (your servers), routes.json, stash.json
logs/The app's and the engine's logs, a file a day: app.<date>.log, engine.<date>.log, kept for 7 days
terminals/Each terminal's recent output, so it survives a restart
attachments/Files attached to messages, by thread
worktrees/Worktrees made for threads
projects/New projects and clones, unless Settings → Projects says elsewhere
accounts/Folders for extra agent accounts
secrets/Pairing material. Tokens and sensitive variables go to the Keychain on a Mac
runtime/Engine versions installed on a server
service.envVariables for the background service

For more detail in the logs, start the app or the engine with CARET_LOG=debug.

Deleting a thread deletes its history, attachments and checkpoints. Uninstalling the app leaves ~/.caret in place; delete it yourself to remove everything.

An agent isn't found

Settings → Agents (or first run's Agents step) says "Not installed" for an agent it can't find.

  • Click Install to run the vendor's installer in the setup terminal.
  • If it's installed but not found, Caret looks on your login shell's PATH and in the usual install folders (~/.local/bin, /opt/homebrew/bin, /usr/local/bin, npm's, bun's and Volta's). For anywhere else, set Settings → Agents → Agent binary to its full path.
  • After you install or move an agent yourself, click Refresh next to the health check.
  • "Installed, but it didn't start" means the CLI was found but failed to run; the row says why.
  • For the background service, put your PATH in ~/.caret/engines/caret/service.env and run caret service restart: a service doesn't read your shell's profile.

caret status lists the agents the engine found, and where.

An agent isn't signed in

The composer's agent chip says "Sign in to Codex" (or the agent's name), and the agent's row says "Not signed in".

  • Click the chip, or Sign in in Settings → Agents. The agent's own sign-in runs in a small terminal; when it ends, the row checks again.
  • Or sign in yourself in any terminal (claude auth login, codex login), then click Refresh.
  • On a server, sign in from the server's sheet: the sign-in runs there. Codex uses a code you enter on any device; Claude Code prints a link and asks for the code back.
  • To use an API key instead, click Use an API key instead under the agents' rows.

An agent's version is older than Caret supports

Under an agent's row, an amber line says "Older than Caret supports; update to … or newer". Click Update (or Update all agents). Updates run through whatever installed the agent: Homebrew, npm, or the vendor's own updater. Where npm's global folder belongs to root (a server with Node.js from a system package), npm runs with sudo; on most cloud servers that asks nothing, and otherwise it asks for your password in the same terminal. That needs the server's engine to be as new as the app: update the engine first if the machine strip says it's behind. In Update everything, which runs with no terminal to type into, a sudo that wants a password stops with "a password is required"; click Update in the agent's row instead.

A version newer than the ones Caret was tested with says nothing: it nearly always works. If something breaks, say so with /feedback.

Settings → Maintenance → Agent update checks turns off checking for newer versions.

A server's engine is out of date

When a server runs an older engine than the app, the machine strip says it needs an update, a banner over the composer offers Update, and the server's sheet has Update the engine. Updating waits for running turns to end (or click Update now). It signs in the way the connection does, with the key and port the server was added with; if it fails, the sheet says why, with Try again. From a terminal: caret update --machine <name>.

This Mac's engine needs an update

The app normally starts an engine that matches it. If it says "This Mac's engine needs an update", an older engine is already running for the same data folder, usually a background service installed from an older build.

  1. Run caret service status. If it says outdated (exit code 6), run caret service install again from the new app.
  2. Otherwise run caret stop, then open the app again.

The app can't reach its engine

"Can't reach this Mac's engine" means the engine stopped or didn't start. Look at the newest ~/.caret/engines/caret/logs/engine.<date>.log for why, and run caret status, which starts the engine if it can.

A server is offline

A server goes Offline and stops retrying when its sign-in was cancelled, its pairing was revoked, its host key changed, or it has no engine. Fix that, then click Connect now in its sheet. A server that's only out of reach reconnects by itself, more slowly over time (up to every 5 minutes), and right away after your Mac wakes or changes network.

Start again

  • Settings → General → First-run setup → Run setup, or /welcome: go through first run again.
  • Settings → General → Reset this device's settings → Reset all: this device's settings back to their defaults.

Report a problem

Type /feedback (and a title, if you like) in the composer. An email to Caret opens in your mail app with diagnostics in it (the app's, engine's and agents' versions, and the open thread's agent, model, mode, state and last errors, but no conversation). They're on the clipboard too, if no mail app opens: write to ashutoshxkd@gmail.com and paste them in. Nothing is sent until you send it.

Check and repair the database

The engine checks its database quickly each time it starts. If it finds damage, Settings → Maintenance shows a notice with Repair. To look yourself, run caret doctor in a terminal; caret doctor --fix repairs what it finds and reclaims free space (see the caret command). It's safe while agents work.

Settings → Maintenance also shows the database's size with Check and Repair, and suggests Reclaim now when 1 GB or more could be freed. Old browser screenshots and logs can be removed there too (Keep browser screenshots, Keep logs, Delete now).

Crash reports

When the app or an engine quits unexpectedly, it writes a report to ~/.caret/engines/caret/crashes/: the version, macOS's version, where it stopped, and the last lines of the log with their text taken out. Never your messages, prompts or files.

Reports stay on your Mac. Settings → Maintenance lists them with Reveal and Delete. Turn on Offer to send crash reports and the next launch after a crash shows a small card: View shows the report, Copy copies it, and Report… opens an email to Caret with it filled in, for you to read and send. Nothing is sent unless you send it.

Privacy: nothing phones home

Caret has no account, no analytics and no telemetry. It doesn't send your code, prompts or usage anywhere.

What does reach the network, and only for what you do:

  • Your agents. Claude Code, Codex and the others talk to their own vendors, with your sign-in, as they do without Caret. Their own settings for telemetry apply.
  • Git hosts. Pushing, pulling and pull requests go to GitHub or GitLab through gh, glab, git or the GitHub API, as you.
  • Your servers. Over your own ssh, or a direct connection you paired.
  • Installers. Install and Update run the vendors' own installers. The agent update check (Settings → Maintenance) asks Homebrew or npm for the newest version, and can be turned off.
  • Pages you open in the Browser, and the search engine you pick (DuckDuckGo by default).

And what stays put:

  • Credentials. Agents sign in through their own commands; Caret never sees a password or an agent's token. Tokens you give it (GitHub, API keys marked Sensitive) go to the machine's secret store, the Keychain on a Mac, and are never written to settings files or sent to other devices.
  • History. Claude Code's and Codex's history is read only when you click Look in their history, and only on this Mac.
  • What listens. The engine's MCP server and webhooks listen on 127.0.0.1 only. Direct connections are off until you turn them on in Settings → Access, and then take only paired devices, with pinned certificates and the scopes you gave them.
  • Feedback. /feedback opens an email in your mail app; nothing is sent until you send it.