Security
An agent that writes code for you should not be able to do more than open a pull request. Radian Factory is built so the parts that run code hold nothing worth stealing, and the parts that hold credentials run no agent's code.
The boundary
- No credential in a sandbox. GitHub tokens, model API keys, and subscription tokens stay in the Worker. Requests from the sandbox are signed on their way out, and only when the Worker's policy allows them.
- Pushes only to factory branches. The sandbox may update
factory/*branches and nothing else: not main, not a branch a person made. - No merges from the sandbox. Merge calls from a sandbox get HTTP 403. Merges happen in the Worker, after it checks review, CI, mergeability, and who asked or which rule allows it.
- One repository. Access comes from a GitHub App installation token for the one repository an owner or admin picked, minted for an hour at a time.
- Your CI stays yours. The App has no workflows permission. Branch rules and repository settings are refused.
- A fresh sandbox per job. Each job's builder and every review round start clean, and the sandbox is destroyed when the job ends.
People and text
Only maintainers start work and merge in Discord, and only people with write access to the repository count on GitHub and on the web. Text from anyone else, in an issue, a pull request, or a feedback channel, can become issue text but never an instruction that starts work or merges.
A record of every decision
Every job keeps a trace, and every choice that changed what ships is recorded with who made it and its evidence. Automatic merges are recorded before they are attempted, with the exact rule that allowed them. See traces and decisions.
Details
The exact egress rules, the model boundary, and the limits of the review gate are in the security docs.
Reporting a problem
If you find a way around any of this, please tell us privately through the contact on radian.sh before telling anyone else. We will reply.