Keep private repos out
A stored session is the conversation: your prompts, the agent’s replies, and the tool calls it made with their results. kcap never uploads a repository and never scans your files. What the agent read or changed shows up in the conversation the way it did in the agent’s own transcript, and nothing more
Sessions belong to repositories
Section titled “Sessions belong to repositories”Every session is filed under the repository it ran in, found from the git remote of the directory where you started the agent. That is how sessions are grouped in the web app, how your agent searches them, and how sharing defaults are applied. So the controls on this page are expressed in terms of repositories and folders: a rule about a repository is a rule about every session that runs in it
A session started outside a git repository is still stored, under no repository
Local or team
Section titled “Local or team”- Local edition: exclusions and allow lists below apply exactly the same, since they live in your profile’s configuration on your machine. Audience does not come into it. The local server is for a machine with one user: anyone else signed in to the same machine can open its web app and act as its admin
- Team workspace: exclusions and allow lists decide what reaches the workspace at all; the audience decides who there can read it.
projectvisibility and projects themselves are Team and Enterprise features
Keep a repository or folder out
Section titled “Keep a repository or folder out”An excluded repository or folder is never stored, live or on import, whatever else is configured. One exception on import: Antigravity’s history records no working directory, so repository and folder exclusions cannot match it, while a configured allow list skips it; import it with Only me or --private if it may hold an excluded repository. These rules live in your profile’s configuration on your machine, and you set them from the desktop app or the terminal. The desktop app’s and the browser’s history pages can leave a repository out of one import, but do not set these rules; the app’s history page names allowed_repos and excluded_repos and links here
In the desktop app
Section titled “In the desktop app”Settings → Privacy holds the rules for the profile the app uses, under Recording rules. Repositories takes one owner/repo per line and Folders one absolute path or ~/folder per line, each with an Only record list and a Never record list. Never record is the exclusion list; Only record is the allow list in the next section. Leave a list empty to store everywhere, and exclusions always win. Nothing changes until you press Save, which replaces each list with what is in its box

These are the same lists the terminal edits: the folder lists are kcap allow and kcap ignore, and the repository lists are allowed_repos and excluded_repos. The app saves to the profile it runs against; the terminal commands change your active profile
From the terminal
Section titled “From the terminal”kcap ignore ~/code/client-x # this folder and everything under itkcap ignore . # the repository you are inkcap config set excluded_repos "acme/secret-project,me/diary"kcap ignore --listA folder rule matches the session’s working directory; a repository rule matches the owner/repo of its git remote. Either is enough to skip the session
Store only certain repositories
Section titled “Store only certain repositories”If most of your machine is personal, invert it: allow a list, and everything else is skipped
In the desktop app, fill the Only record lists under Settings → Privacy. From the terminal:
kcap allow ~/code/work # only this treekcap config set allowed_repos "acme/api,acme/web"kcap allow --listWith both an allow list and exclusions, a session must pass the allow list and match no exclusion. Removing the last allowed entry opens everything up again. With both a repository and a folder allow list, a session must match one of each
History imported during setup
Section titled “History imported during setup”The desktop app’s setup imports the history already on your Mac on Bring your history with you. Customize lists every repository found, grouped by owner, with two ticks each: the first imports the repository, and Only me imports it private to you. A ticked repository without Only me is shared with your default audience, which the page notes as “Shared imports follow your recording privacy setting”; an owner’s ticks set every repository under it. How much history offers Last 30 days, Last 90 days (the default) or Everything

Name sessions as they import, on by default where Claude Code or Codex is connected, runs that agent on your Mac to write each title: the session’s opening prompt and reply go to the agent’s provider under your own account and quota, and naming adds only the title to what the workspace receives. The imported sessions themselves are stored in the workspace for the audience chosen above. Untick it and your Mac sends nothing for naming
These choices cover this one import. Unticking a repository does not stop its new sessions being stored; exclude it as above for that. The kcap import equivalents are --private for Only me and --skip-title for unticking the naming. On the local edition there is no Only me column: everything imports into kcap on your Mac
Choose who reads a new session
Section titled “Choose who reads a new session”In a team workspace, every new session gets the default audience from your profile. Setup asked: the desktop app under Who can read new sessions on its agents page, kcap setup in its default visibility step, or the browser’s Agents page during setup. Change it any time in the desktop app’s Settings → Privacy under Who can read new sessions, or from the terminal:
kcap config set default_visibility public # everyone in the accountkcap config set default_visibility org_public # everyone in the account, for your organisation's repositorieskcap config set default_visibility project # members of projects holding the repository (Team plans)kcap config set default_visibility private # only youOn the local edition the setting does not apply: every session is private to you
org_public is the setting we recommend where your workspace offers it, and public where it does not: a session in one of the organisation’s repositories is readable by everyone in the organisation, which is what lets teammates pick up your work and reviewers see your reasoning, while a session in a personal or unrecognised repository stays private. Sharing one session more widely or narrowly is done from the session itself; see Change who can read your sessions
What the rules do not do
Section titled “What the rules do not do”- They do not remove anything already stored. A session that should not be on the server is deleted from the server: Delete a session
- They do not redact. Capture replaces credentials in known formats before upload, but it cannot recognise a confidential discussion
- They are per profile. If you use more than one workspace, set them in each; see Configuration
How kcap handles your data has the complete picture of what is sent and kept