Storage and export
Where Cohort keeps things
Section titled “Where Cohort keeps things”Everything Cohort keeps is on your machine, in one folder:
| System | Folder |
|---|---|
macOS |
~/Library/Application Support/io.bussinbytes.cohort |
Windows |
%APPDATA%\Bussin Bytes\Cohort |
Linux |
~/.local/share/cohort (or $XDG_DATA_HOME/cohort) |
It holds your settings, projects, logins’ names, loops, every thread’s conversation, images you sent, and the threads’ worktrees. Your code stays in your repositories: a worktree’s commits are on its branch, in the repository it came from.
Secrets are not in that folder. They are in the system’s credential store (the Keychain on macOS, Credential Manager on Windows); on Linux, in an encrypted file in that folder.
How much space worktrees take
Section titled “How much space worktrees take”Each thread works in a worktree: a full working copy of your project, with its own installed packages and build output. They add up.
- The thread list shows a thread’s size beside its age once it passes 1 GB, and the thread’s header shows it too.
- Settings → Storage lists every worktree on this machine, biggest first, with the total. Archive on a row archives that thread.
cohort storageprints the same list.cohort thread listhas a DISK column.
Archiving a thread removes its worktree (uncommitted work is first committed to its branch) and keeps its branch and conversation. To delete archived threads for good, switch the thread list to Archived (at its foot): each thread has Delete, and each project’s header a trash button that deletes all of its archived threads. Or from a terminal:
cohort thread delete --archived --older-than 30dDeleting removes a thread’s conversation, and its branch once merged. A thread with unmerged work is kept unless you add --force, and then its branch stays.
Spare worktrees
Section titled “Spare worktrees”Cohort keeps one worktree ready per project so a new thread starts at once. Settings → Storage lists it as a spare. To turn spares off, set COHORT_SPARE_WORKTREES=0 in the environment Cohort’s daemon starts with.
Export your data
Section titled “Export your data”Everything Cohort keeps, yours to keep or take elsewhere: settings, projects, accounts, loops, spin-offs and every thread’s conversation, as plain JSON and Markdown.
- Settings → Export.
- Export to Downloads, or Choose a folder….
- When it’s done, Show in Finder (Show in Explorer on Windows, Show in folder on Linux) opens the new folder.
From a terminal, cohort export writes to ~/Downloads (or --to <folder>, which must exist) and says what it wrote:
Exported to /Users/you/Downloads/cohort-export-2026-11-26-151243 0 projects, 0 accounts, 0 threads (0 events), 0 loops, 0 spin-offsThe folder holds a README.md describing it, cohort.json with everything, and a threads folder with each conversation. Secrets stay in the system’s credential store and are not exported; your code stays in your repositories.
