Occlude
Book a call
All docs pages

Docs

Where your code goes

Reviewed 28 November 2026

The repository stays in your installation. What leaves it is decided by the workspace, not by a setting in someone's editor or agent. This page says what can reach each place, and what cannot.

The short version

  • There is no clone on anyone's laptop. The repository is reachable only through the workspace.
  • A person, their editor and their assistant can read the files the grant makes Visible or Read-only, and the declarations that stand in for Occluded modules. Nothing else, through any tool.
  • What a person can read can reach their assistant's vendor when they use an assistant. Occlude decides what there is to send; your choice of assistant and its privacy settings decide what that vendor keeps.
  • Credentials and data seeds are Absent: they are not in the workspace at all.
Your installation in the centre, holding the workspace and the record, with credentials Absent. Arrows go to the person's laptop, which gets files they may open and cleaned output, then on to their assistant's vendor, which gets what the assistant reads but never an Occluded file. Another arrow goes to the internet, limited to your registry mirror and GitHub. Separately, Observation Mode sends Occlude paths and import edges from your CI, never file contentsYour installation in the centre, holding the workspace and the record, with credentials Absent. Arrows go to the person's laptop, which gets files they may open and cleaned output, then on to their assistant's vendor, which gets what the assistant reads but never an Occluded file. Another arrow goes to the internet, limited to your registry mirror and GitHub. Separately, Observation Mode sends Occlude paths and import edges from your CI, never file contents
What can reach each place. The repository stays in your installation.

By destination

DestinationCan reach itNever reaches it
The person's laptopThe files they open in their editor, the terminal's output, build and test output after sanitisation, the previewA clone, .git history, Occluded or Absent files, unsanitised output
Their assistant's vendor (Cursor, GitHub, Anthropic, OpenAI and others)What the person's editor or agent sends from the person's side: Visible and Read-only files, declarations, terminal outputOccluded and Absent files, because the assistant cannot read them either
The Occlude serviceSession events: paths, operations, rules, times. Your model vendor's key, if agents run inside OccludeFile contents leave the workspace only to the person, sanitised. In Observation Mode, no file contents at all
The internet, from the workspaceYour package registry mirror and GitHub, scoped to the appEverything else. Outbound traffic is denied by default
The recordEvery refused attempt, every command, the full unsanitised output, every grant decisionCredentials' values

By way of connecting

DoorWhere the code is shownWhere the assistant runs
Browser workspaceIn a browser tab, streamed from the workspaceInside Occlude, under its own grant, with your model key
An editor over SSH (VS Code, Cursor, Zed, Devin Desktop, JetBrains)In the editor on the laptop. The editor's server runs in the workspace, on the person's sideUsually on the laptop, sending requests to the assistant's vendor. See each editor's page
An agent over MCP (Claude Code, Codex, Cursor, Copilot)In the agent's context, one tool call at a timeOn the laptop or in CI, sending requests to its vendor
The agent inside OccludeNowhere outside the workspaceIn the Occlude service, on your key
Observation ModeNowhere. The recorder runs on your CI runnerNot applicable

What the assistant can reach

An assistant attached to an editor over SSH, or an agent over MCP, reads through the person's side. Its file tool, its codebase search and its terminal all get the answers the person gets. An Occluded file answers No such file or directory to every one of them, because the answer comes from the workspace, not from an ignore file the assistant may or may not apply. The walk-through as an agent shows it.

Each vendor documents its own ignore setting as best effort. Cursor's says the agent's terminal "cannot block access to code governed by .cursorignore". GitHub's says content exclusion "is not a filesystem security boundary". Occlude does not depend on either.

An agent on a laptop keeps its own file and shell tools for the laptop. There is no clone on the laptop, so those tools find nothing of the repository.

What the assistant can send

Whatever the person can read. If a file is Visible to a contractor and they ask Cursor about it, Cursor's servers receive it, under Cursor's terms. Choose assistants your company has approved for your code, and require their privacy settings for the people you grant. Can a contractor use Cursor or Copilot on your code? goes through what each vendor keeps. Occlude makes the set of readable files small; it does not stop a readable file being sent.

What the editor keeps on the laptop

Editors differ, and most do not document their caches. Zed says it "stores unsaved changes" on the laptop. Assume that anything a person opened can remain in their editor's local state after the session, as it can remain in their memory. What they never opened was never on the laptop.

Observation Mode

The recorder runs in your CI job, on your runner, and sends a description of the repository: paths, import edges, which files the build opened, where secrets were detected. It never sends file contents, diffs, environment variables or secret values, and the payload is checked against every text file in the checkout before it is sent. See Observation Mode.

Sources

Vendor pages, last read on 28 November 2026. Each vendor's behaviour can change; their page is the authority.