Skip to content
Download

DOCS / REFERENCE

Storage & data

Everything Birch stores lives in one data folder per user — the database of repos and PRs, the logs, AI artifacts like review reports and cached task images, and the worktrees behind your agent workspaces. Secrets are the exception: tokens live in the OS keychain, never on disk.

PlatformPath
macOS~/Library/Application Support/birch
Windows%APPDATA%\birch
EntryContents
state.db (+ state.db-wal, state.db-shm)The SQLite database (WAL mode): repositories, worktrees, PRs, Inbox items, settings.
logs/Daily-rolling log files, 14 days retained: birch-<date>.log (app) and birch-cli-<date>.log (CLI).
artifacts/review/<job-id>/report.mdAI code-review reports.
artifacts/comment-fix/<job-id>/suggestion.mdAI fix suggestions for PR comments.
artifacts/inbox/<issue-id>/Cached task-description images.
repositories/<repo-id>/terminals/<id>/The git worktrees behind your agent workspaces.
ultracode-settings.jsonA small fixed-content settings file Birch writes at startup and passes to Claude Code for workspaces launched at the UltraCode effort.
webview2/Windows only — browser data for the WebView2 engine behind the embedded terminal.

Provider tokens and per-remote HTTPS credentials are stored in the macOS Keychain / Windows Credential Manager, never in the data folder — see Git credentials. Copying or backing up the data folder does not copy your tokens.

Each workspace is a full worktree checkout, so a busy repository can accumulate several working copies under repositories/ — that’s the cost of the worktree-first model.

Safe to delete by hand: old files under logs/ and artifacts/ — they are diagnostics and cached output, and Birch recreates the folders as needed.

Attach the newest logs/birch-<date>.log; for a CLI problem, also logs/birch-cli-<date>.log. Skim them for anything you consider private first — they can contain repository paths and branch names. See Troubleshooting.

Quit Birch first — state.db is live while the app runs. To back up, copy the whole data folder (minus repositories/ if you only want Birch’s state, not the working copies). To reset Birch completely, move state.db, state.db-wal, and state.db-shm out of the data folder; the app starts fresh and your repositories on disk are untouched.

Uninstalling the app removes neither the data folder, nor the workspace worktrees under repositories/, nor the tokens in the OS keychain, nor an installed birch CLI PATH entry (the macOS /usr/local/bin/birch symlink / the Windows user-PATH addition). Remove those by hand if you want a clean slate.