Your repository is worth more than it used to be
In the AI era, a repository holds more than code. It holds the prompts, agent instructions, model settings, evaluation sets, data pipelines and business rules that make your product yours, often years of work and real money. It is your intellectual property, and you should decide exactly who sees which part of it, and for how long. A contractor hired to fix one screen does not need the rest.
What repository access really gives a contractor
When you invite a contractor to a repository, even with the lowest role, here is what they get:
- Every file, not just their folder. GitHub, like other Git hosts, grants access per repository. There is no setting that shows someone one folder and hides the rest.
- The full history. Every past version of every file, including any password, key or customer file that was committed once and deleted later. Deleting a file does not remove it from history.
- A copy that stays with them. When you remove a collaborator, GitHub deletes their forks of a private repository, but any copy they cloned to their own computer stays with them.
- Everything around the code. Branches, open pull requests, and often the issues and wiki that describe how your product works and what you plan to build next.
Read only stops them from pushing changes. It does nothing about what they can read, copy and keep.
The usual workarounds, and where they fall short
| Workaround | What it helps with | What is still exposed |
|---|---|---|
| Read-only access | Stops direct pushes | The whole repository and its history can still be cloned |
| A separate repository with only the needed code | Limits what they see | Copying code in and changes back out by hand, and the copy drifts from the real one |
| Branch protection and required reviews | Keeps unreviewed changes out of the main branch | Nothing about what they can read and take |
| Short-lived or narrow access tokens | Limits what scripts and tools can do | The person still sees the whole repository |
| A remote desktop | Code stays on your machine | Slow to work in, costly to run, and no record of what changed |
Each of these closes one door. None of them changes the basic deal: to work on any part of the code, the contractor gets all of it.
A better pattern: give the task, not the repository
- Name the task and the folders it touches. "Fix the login error message" needs the login folder and maybe a shared folder. It does not need billing.
- Give the contractor a workspace with only those folders. Copied from one exact version, with no history, no keys and no settings files.
- Let them work with real tools. An editor, a terminal, the package sites they need to install libraries, and nothing else on the internet.
- Bring their changes back as a pull request. Someone on your team reads every changed line and decides what gets merged.
- Close the workspace when the task ends. Access ends with the work, not when someone remembers to remove it.
What to give a contractor, and what to keep
Give:
- A clear task description and what "done" means.
- The folders the task touches, and the tests for them.
- Test keys and sample data that are safe to lose.
- Access to the package sites they need to install libraries.
Keep:
- The rest of the repository and its history.
- Real keys, passwords and
.envfiles. - Build and deploy settings, and anything that runs automatically when code is merged.
- Production systems and customer data.
How the Sealed Room does this
The Sealed Room turns the pattern above into a few clicks:
- One room per task. You pick the person, the task, how long it stays open, and the folders it needs. Files are copied in from one exact commit, with no history. Hidden files and package folders never go in.
- No GitHub account needed. The contractor signs in with a code sent to their email and works in VS Code in the browser, with a terminal, Node.js, Python and Git.
- Only the internet you allow. Package sites for reading by default. GitHub, GitLab and Bitbucket are never reachable from a room.
- Every change and every connection recorded, in a record that cannot be edited.
- You approve what leaves. When they hand in, you see every changed line. Files that could run automatically, such as GitHub workflows, are flagged for a separate check. Your approval opens a pull request; nothing reaches your main branch until you merge.
- Rooms end on time, and the machine and everything in it go with them.
See how the Sealed Room works.
Questions teams ask
Can a contractor work on our code without a GitHub account?
Yes. In a Sealed Room they sign in with their email. Their finished work reaches your GitHub as a pull request opened by the Blackhount GitHub App, which only your admins control.
What if the task needs code from another folder?
Open the room with that folder included, or open a second room. New files are accepted only inside the folders you chose for the room, so a task cannot quietly spread into other parts of the code.
Can they still copy what they see?
Anything shown on a screen can be copied by hand. The difference is what is on the screen: only the task's files, never the whole repository and its history. Downloading files from the editor is turned off.
Does it work with GitLab or Bitbucket?
The Sealed Room works with GitHub today.