Bavarian Studio

Engineering · How we work

What stands between an AI agent's code and production

You know the routine with agent-written pull requests: skim the diff, see CI is green, approve. Here is the route a change takes in our studio instead, from the moment an agent picks it up to the moment it lands on main.

Agents write faster than anyone can read carefully, and what they write looks right. That’s exactly the trouble. Plausible code gets waved through. So the useful question for a studio that builds with AI isn’t how fast it ships. It’s who read the change, and whether the checks it passed could have failed. Below is our answer, taken from our own operation: it’s how we work on our own products today, and it’s the setup we put in place when we build for you.

Who gets to say go?

When one line of work hands a job to another, it only goes through under an authorisation that the human opens personally, at their own computer. Without it the job doesn’t go out, and no agent can issue that authorisation to itself.

The same goes for anything that’s hard to undo or that widens someone’s reach. Credentials and settings, restarting a service, deleting data for good, and letting an agent touch more than it was given all stay with the human. When an agent refuses something, its report says who can unblock it: the human with a word, someone else with an action, or a decision between options it names. Nobody has to guess whether a no is final.

Each job gets a fenced-off workspace

Several AI agents work here at the same time, on code, content and infrastructure. We hand out areas of responsibility once, up front, instead of granting files one by one as someone finds they need them. Each line of work gets its own workspace and a list of what it may touch.

If an agent tries to write outside that list, a guard refuses and logs the refusal in a record kept outside the workspace. The same guard stops an agent whose files have changed on main since it started, until it has picked up the new version. Nobody builds on code that no longer exists.

Plausible code gets waved through.

The checks it passes can actually go red

This site’s house rules live in the build. A sentence that breaks one fails the build, and the page doesn’t ship; What the build enforces lists the rules. A new rule arrives with its check in the same change.

The harder question is whether a check can fail at all. Before we rely on one, we switch it off or plant the exact bug it should catch, and run again. If everything stays green, the check isn’t checking anything. We push hardest where a failure would otherwise pass in silence: checks that compare files with each other rather than with what’s actually running, checks that say “no” even when they couldn’t look, and every security boundary. The planted bug has to be hostile. A polite one only confirms what you were hoping. Across the whole operation, anything that couldn’t look says so, and never reports “all fine”.

Some changes need a second opinion from another AI provider

When reviewers agree, we look harder. Agents from more than one AI provider work side by side here, and we put that to use: certain pull requests can’t merge until a model from a different provider has read the current diff. They’re the ones that touch our safety nets: the CI workflows and check scripts, the merge tool, and the privacy and provenance checks.

The verdict is recorded on the pull request, where anyone who opens it later can read it. On Northmeadow, security-sensitive changes trigger this review automatically, and a review run that died counts as a dead run, not as “no findings”. Reviewers open the file a claim rests on rather than trusting the summary.

It merges exactly as it was read

An agent never merges its own work. It opens a pull request and stops there. The side that assigned the job reads it and merges it through our own merge tool, not the platform’s merge button.

That tool turns away any change that doesn’t name the session it came from. It pins the exact version that was read, so if anything was pushed after the read, the platform itself refuses the merge. Then it reads back what actually landed on main, and only reports success once that matches. “Merged, but not what was sent” is its own failure, never a green tick.

What this does, and what it doesn’t

It isn’t a seal or a certificate. It doesn’t replace an external security audit, and it doesn’t make code bug-free: a check finds what it was built to find and nothing else. What you get is plainer than that. Every change that reaches main names the session that produced it and has passed its checks, and by rule it merges only after someone other than its author has read it.

Engineering with AI agents covers setting this up in your repository, and our studio page explains who does what.

Tell us who reads your agents’ code today: Contact.

Ask CurtisClose
CurtisLive

You are speaking with an AI system. Its answers are generated automatically.

I am Curtis. Which AI model answers is your decision. With every answer you see what a conversation like this costs.

Curtis is an AI agent. Only the human makes commitments.This chat stores nothing beyond the session; even so, please do not enter personal data here.