CorfedoCorfedoDocs

Data handling

Where Corfedo stores your code, conversations, audit entries and credentials, what leaves the installation, and what deleting removes.

A self-hosted installation keeps your data in its own database, index storage and indexer's cache, and its keys in its installation directory or Secrets. Data leaves it only for the forges and identity providers you connect, the AI providers you add, and the addresses that describe coding agents and the CLI.

What is stored where

DataStored in
Indexed code: file text, symbols, modulesIndex storage (the bucket on Kubernetes), one index per build. Credentials found in the code are masked first when credential masking is on.
Repository copies fetched from the forgeThe indexer's cache. It is rebuilt when lost and needs no backup.
Dependencies, security findings and advisoriesPostgreSQL
Workspaces, members, groups, roles, sources and repositoriesPostgreSQL
Conversations, answers, files Corfedo AI wrote and AI tracesPostgreSQL
Recent searchesPostgreSQL, visible only to the person who searched
Audit logPostgreSQL, kept for the installation's retention or indefinitely
Forge, AI provider, sign-in and Slack credentialsPostgreSQL, encrypted with the installation's encryption key, see Where secrets are kept
People's accounts and passwordsYour identity provider, or the bundled account service's own database
A backup holds the installation's keys and code from conversations, and your indexes when it includes a recovery set or a copy of the bucket. Store it like a secret, on a single host and on Kubernetes.

What leaves the installation

ToWhatWhen
Your forgesRequests with the source's credential, to list repositories and fetch commitsOn each source's schedule and for each build
AI providers you addThe question, the conversation so far, the profile's instructions and the code and results the tools returnedEach time Corfedo AI answers
Your identity providerSign-in requestsEach sign-in and test sign-in
SlackAnswers and replies, written in the Slack workspace that askedEach question in Slack
clients.corfedo.ai for the Corfedo CLI, and the address each coding agent givesA download of the client's descriptionWhen a coding agent or the CLI signs in
The OSV export at storage.googleapis.comDownloads of advisory data, with no workspace dataWhen advisories are refreshed

The AI provider sees only code the asking person may read, after masking. Its own terms govern what it does with the requests. A profile's provider and model decide where requests go, so choose providers that meet your requirements.

What administrators can see

  • The audit log records changes and who made them, and optionally the network address they came from, see Privacy.
  • AI traces show how an answer was produced. What members see of their own and administrators see of everyone's is set on the Privacy page. Opening the content of another member's trace is recorded in the audit log.
  • Conversations open only for the person who had them. When All traces includes Content on the Privacy page, administrators and AI administrators can read the content of their traces. Each such view is recorded in the audit log.

What deleting removes

You deleteRemovedKept
A conversationThe conversation, its answers, its files and its tracesAudit entries and spend counters
A repositoryThe repository and its builds. Search stops finding it.Audit entries
A single-host installation, with install.sh uninstallIts containers and networkThe data volumes, the installation directory and the recovery sets, until you delete them, see Cleanup and uninstall
A Kubernetes release, with helm uninstallIts workloadsThe database, the bucket's contents, the Secrets and the volume claims, see Uninstall

Masking cannot be undone from Corfedo: a masked credential is not stored in the index. Read the file in your forge when you need it.

  • Security covers each deployment's network exposure and secrets.

On this page