# Occlude > Partial repository access for contractors and AI agents, also called code masking. They work inside your repository, in your cloud, and see only the files their task needs. The build still passes. Every Docs page, every Blog post and the walk-through below has a Markdown copy at the address listed. The HTML pages are at the same path without `.md`. ## Docs: Start - [Overview](https://occlude.dev/docs/index.md): What Occlude is, how these docs are organised, and the words every page uses: the four states, the two channels, doors, profiles and grants. - [Quickstart](https://occlude.dev/docs/quickstart.md): Five steps from sign-in to your first Observation report: install the read-only GitHub app, start a run, add one CI step, and read which files your tasks need. - [Concepts](https://occlude.dev/docs/concepts.md): The parts of Occlude and how they fit: the occlusion layer, the two channels, profiles, task grants, sessions, doors and the record. ## Docs: The layer - [The four states](https://occlude.dev/docs/states.md): What every file operation returns for Visible, Read-only, Occluded and Absent paths, the paths no profile shows by default, and how lookups are classified. - [Profiles](https://occlude.dev/docs/profiles.md): The occlusion profile format the runtime accepts: rules that map paths to states, the absent list, which scripts the build may run, and how rules resolve. - [Grants and sessions](https://occlude.dev/docs/grants.md): How a task grant becomes a session: purpose, scope and time box, holds for a named approver, expiry and revocation, and what fails closed. - [Stubs](https://occlude.dev/docs/stubs.md): Declaration stubs: how imports of Occluded modules resolve without a body, what is stripped, and what cannot be stubbed. - [Output sanitisation](https://occlude.dev/docs/output.md): How build, test and crash output reaches the person without carrying Occluded source, and what happens to downloads. - [The ledger](https://occlude.dev/docs/ledger.md): The session record: one event per decision with its rule and evidence, precise alerts, append-only storage, and exports. ## Docs: Using it - [How a build runs](https://occlude.dev/docs/builds.md): What happens when a contractor or an agent runs the build, the tests or the dev server on code they cannot read, from the command to the output. - [Doors](https://occlude.dev/docs/doors.md): The clients that attach to a session: the browser workspace, an editor over SSH, agents over MCP, and the agent inside Occlude. - [Commands](https://occlude.dev/docs/commands.md): What a person types inside an Occlude session: scripts that run on the build's side, the occlude verbs, and what ordinary tools return. - [Observation Mode](https://occlude.dev/docs/observation-mode.md): The read-only first step: a recorder in your CI and a read-only GitHub app show which files your builds, tests and tickets touch. ## Docs: Connect - [Connect an editor or an agent](https://occlude.dev/docs/connect.md): The ways a person or an agent reaches an Occlude session: the browser, their own editor over SSH, or an agent over MCP. What each gets, and where to start. - [VS Code](https://occlude.dev/docs/vscode.md): Connect Visual Studio Code to an Occlude session with Remote - SSH and a session certificate. Settings, what Copilot can reach, and what stays off the laptop. - [Cursor](https://occlude.dev/docs/cursor.md): Connect Cursor to an Occlude session over SSH. Setup, what Cursor's agent and Tab can read and send, and why .cursorignore is not needed for it. - [Zed](https://occlude.dev/docs/zed.md): Connect Zed to an Occlude session with remote development over SSH. Setup, where Zed's assistant runs, and what stays on the laptop. - [Devin Desktop](https://occlude.dev/docs/devin-desktop.md): Connect Devin Desktop, formerly Windsurf, to an Occlude session over SSH. Setup, agent forwarding, and what its agent can read and send. - [JetBrains IDEs](https://occlude.dev/docs/jetbrains.md): Connect IntelliJ IDEA, PyCharm, WebStorm and other JetBrains IDEs to an Occlude session with JetBrains Gateway over SSH. - [Agents over MCP](https://occlude.dev/docs/agents-mcp.md): Connect Claude Code, Codex, Cursor's agent or GitHub Copilot to an Occlude session over MCP, with the configuration for each and what the agent can reach. ## Docs: Running it - [Where your code goes](https://occlude.dev/docs/data-flow.md): What can reach a contractor's laptop, their AI assistant's vendor, Occlude and the internet, for each way of connecting, and what never can. - [Deployment](https://occlude.dev/docs/deployment.md): Where Occlude runs: one installation per company, in your Kubernetes or hosted single-tenant by us, and the isolation ladder. - [Install](https://occlude.dev/docs/install.md): The designed installation into your Kubernetes: prerequisites, the Helm chart, SSO and a first Observation Mode run. On a call. - [Security model](https://occlude.dev/docs/security-model.md): What Occlude defends, the memory question stated plainly, and what Occlude does not claim. ## Docs: Reference - [Troubleshooting](https://occlude.dev/docs/troubleshooting.md): What to do when a file seems missing, a command is refused, an editor will not connect over SSH, or an agent's MCP address answers not found. - [FAQ](https://occlude.dev/docs/faq.md): The questions buyers ask first: memory dumps, Perforce, Codespaces and Coder, where it runs, who it is not for, and agents. ## Blog - [Can a contractor use Cursor or Copilot on your code?](https://occlude.dev/blog/contractors-using-cursor-or-copilot.md): What leaves when an outside developer uses an AI editor on your code, where it goes, what Privacy Mode changes, and how to keep part of the code out of reach. - [What AI coding agents' ignore settings actually block](https://occlude.dev/blog/ai-coding-agent-ignore-settings-compared.md): Cursor, Claude Code, Copilot, Devin Desktop and Codex each let you keep files from their agent. What each covers, in the vendor's words, and where it stops. - [How to keep an AI coding agent out of part of a codebase](https://occlude.dev/blog/keep-an-ai-agent-out-of-part-of-a-codebase.md): Copilot and Cursor say their exclusions are not a hard boundary. Claude Code's OS-level read denial is one, and it blocks the build too. What holds, by tool. - [How to stop Claude Code from reading a file](https://occlude.dev/blog/stop-claude-code-reading-a-file.md): The deny rule that works, the file that does not, what Claude Code's own documentation says the rule misses, and how an organisation makes it stick. - [Occlude vs GitHub Codespaces, Coder and Citrix](https://occlude.dev/blog/occlude-vs-codespaces-coder-citrix.md): Codespaces, Coder and Citrix keep code off a contractor's laptop, but inside the workspace every file is readable. What each does well, and what Occlude adds. - [Can you stop downloads from VS Code Remote-SSH?](https://occlude.dev/blog/disable-file-download-vscode-remote-ssh.md): VS Code has no setting to stop downloads from a Remote-SSH host. What exists instead, and why the download button is the wrong thing to close. - [How to let developers build against code they cannot read](https://occlude.dev/blog/build-against-code-you-cannot-read.md): Binaries, a service, declaration files, or a workspace with two sides: four ways to let someone compile and call code without reading it, and what each costs. - [Export-controlled code and foreign-national developers](https://occlude.dev/blog/export-controlled-source-code-one-repository.md): US export rules treat showing controlled source code to a foreign person in the US as an export. What the rules and GitHub say, and how teams keep one codebase. - [Occlude vs splitting the repository or using submodules](https://occlude.dev/blog/occlude-vs-splitting-the-repository.md): Splitting the repository is the free, standard way to keep code from a contractor. Where submodules, subtrees and sparse checkout work, and where they break. - [Can Git restrict read access to a folder?](https://occlude.dev/blog/git-folder-read-access.md): No. GitHub, GitLab and Bitbucket grant read access per repository, and every finer rule controls writing. What each offers, and which systems restrict reads. - [How to give a contractor access to part of a repository](https://occlude.dev/blog/contractor-access-to-part-of-a-repository.md): Git grants read access to a whole repository or none of it. Seven ways teams work around that for contractors, what each costs, and when each is right. - [What is code masking?](https://occlude.dev/blog/what-is-code-masking.md): Code masking is partial repository access with a working build: part of the source stays out of a person's view, and the build still uses it. What it is not. - [The memory-dump problem, stated plainly](https://occlude.dev/blog/memory-dump.md): The compiler reads the code a contractor cannot, so that code is in memory. Who can read that memory, what stops them, and what we do not claim. - [Four states, not two](https://occlude.dev/blog/four-states-not-two.md): Most access control has two answers. Occlude has four, because "denied" tells someone the file exists, and credentials need a different answer. - [Occlude vs Perforce: what p4 protect can and cannot do](https://occlude.dev/blog/perforce-controls-what-syncs.md): Perforce can keep a file from a contractor, and its manual says what that costs: the build. What p4 protect does, where it is enough, and what Occlude adds. - [The five things teams do today](https://occlude.dev/blog/five-things-teams-do-today.md): Five ways teams hand code to a contractor or an agent today: what each gets right, where each stops, and which one we lose to most. ## Pages - [How it works](https://occlude.dev/how-it-works/): How Occlude shows a contractor or an agent only the files their task needs, while the build sees the whole repository. - [See Occlude work](https://occlude.dev/demo.md): A six-step walk-through on a sample repository: what a contractor and an AI agent see, how the build still runs, and what goes on the record. - [Use cases](https://occlude.dev/use-cases/): Three kinds of work Occlude is built for: agencies and contractors, AI agents, and export-controlled teams. - [Pricing](https://occlude.dev/pricing/): How Occlude is priced: Observation Mode, security seats for outside people, agent sessions, and a platform licence for your cloud. - [About Occlude](https://occlude.dev/about/): Who builds Occlude, where, and why. Two engineers who have been both the contractor handed a whole codebase and the team handing it over.