// LLM disclosure

LLM Disclosure

Last updated: 2026-09-10

What it is

To describe what a repository is and how it is put together, CTO.ai builds a per-repo digest: a bounded selection of files is read from the repository (READMEs, docs, manifests, configuration and CI files, then a small sample of source entry points) and sent to Anthropic's Claude API in a map/reduce (several summarizing calls, then one call that assembles the result), which returns six sections (identity, architecture, conventions, docs summary, hotspots and activity, and a symbol map) plus an architecture diagram. Each section is stamped with the commit it describes and cites the files it read. Those sections are what the CTO agent reads for general repository context.

Other flows also send repository-derived content to the Claude API, and are covered by this disclosure:

When it triggers

A digest build runs when:

Each build is bounded by a per-repo spend ceiling, so only a bounded selection of files is read, and a repository is not re-read on every commit.

Privacy posture

When a digest is built, the selected file contents are transmitted to Anthropic over TLS. Anthropic's data-retention practices apply; at the time of writing, Claude API inputs and outputs may be retained for 30 days for abuse detection, then deleted.

We do not train models on your code, and Anthropic has committed that Claude API calls are not used to train their models.

Before anything is read into a prompt, files whose purpose is to hold credentials (.env files, private keys, credential stores) are skipped entirely. Everything that is read is scrubbed by pattern matching for known credential formats (API keys, tokens, private-key blocks, and credential-style assignments), and digest sections and review comments are scrubbed again before they are stored or posted. Scrubbing is a safety net, not a guarantee: a secret in an unfamiliar format can pass through it.

Opt-out

There is no self-serve Settings toggle for this yet, and no per-workspace switch exists: digest building is currently controlled by a single platform-level deployment setting that applies to all workspaces. A per-workspace opt-out is planned but not built.

Pull-request review is per-workspace and is off unless you turn it on. If you need digest building disabled for your account before a per-workspace switch ships, email privacy@ctoai.live and we will configure it for you. With it disabled:

References