Going public soon.Companies on the waitlist are onboarded first.Join the waitlist

Engineering noteOctober 8, 20265 min read

Why we never push to main

Builders open pull requests, and nothing writes straight to the main branch. The flow, what it stops, and where it is still thin.

The decision

Nobody and nothing writes straight to the main branch. A builder opens a pull request; it ships once every check is green, and on a product your customers use, a developer says go.

The failure it prevents

A confident agent, or a hurried person, putting an unreviewed change into production with no record of what changed or why.

The mechanism in three steps

  1. A branch of its own

    The builder works on a separate copy, never on main.

  2. A pull request with a report

    What changed, screenshots, and how it was checked.

  3. A person approves

    The checks run again, then it ships and is verified.

The decision

The main branch of a code repository is the version that gets deployed. Our rule is that nothing writes to it directly. Not a builder, not a colleague's workspace, not Aisha. Every change arrives as a pull request: a proposed change on a branch of its own, with a description and a set of automated checks, and on a product your customers use, a developer's go.

That sounds like ordinary good practice, and it is. We state it as a decision because an AI that writes code makes the shortcut very cheap. The fastest path for a builder is to commit to main and move on. We close that path on purpose.

The failure it prevents

A builder is confident by default. It will tell you it fixed the problem, and it is often right. When it is wrong, a direct push puts the mistake into production before anyone has seen it, with no easy way to tell afterwards what changed, who asked for it and what was supposed to happen.

The same applies to people in a hurry. The most useful property of a pull request is not the review. It is the record: one place that holds the request, the change, the checks that ran, who decided and the moment it went out. When something breaks on a Friday afternoon, that record is the first thing you want.

How a request becomes a change

A builder does not start from a vague instruction. The flow is the one the requests board enforces.

A request is logged and gets a number. The builder interviews the requester about their side: how it works today, what they expect, what they have run into. It writes a spec. A small, fully planned fix starts at once; a new feature waits for one yes from the person who decides. Only then does a build begin.

The build happens in a separate working copy of the code, on a branch of its own, so it cannot touch the main branch while it works. When it finishes, it runs the repository's own checks, opens a pull request and writes a report that sits beside it. The report says what changed, shows screenshots before and after in light and dark for visual work, and says how the change was checked.

One rule is written into the builder's instructions and repeated at the end: done means verified. A builder may not call something finished unless it has checked it end to end against the real services the spec names. It may not push its own setup chores onto a person either. Where it has the access, it does the step itself. Where it needs a key or a decision, it asks, and keys go through a private link rather than a chat message.

What happens at the end

Then the change ships. She rebases it onto the latest main, runs the checks again on the final version, merges it, deploys it the way that project is deployed and checks that it worked. The requester then gets a short message with a few steps to try it.

The second run of the checks matters. Main may have moved while the builder worked, and a change that passed alone can fail against what is there now. Running the gate again at ship time is how we find out before production does.

Some projects are marked so that every ship waits for a developer, even a bug fix. That is the setting for the products your customers use, and for repositories that are not ours to shape.

The same rule for colleagues

The rule holds for people too. A colleague's browser workspace can read the data and run analysis, and when they want to change something they open a pull request like anyone else. A pre-push hook in those workspaces refuses a push to main outright. On the repository side, the branch rules for main require a review and passing checks before a merge.

Those rules have a short bypass list: the people who administer the repository and the deploy machinery. We do not hide that. It exists so a stuck deployment can be fixed by someone with the authority to fix it, and a bypass shows up as a visible merge on a pull request, not as a quiet push. We keep the list short and we do not add to it.

Where this is still thin

Three honest limits.

First, a merge is the real decision. Once a change is merged to main it can be deployed within minutes, by the next ship from any session. Review has to happen before the merge, because there is no cooling-off period after it. We have been caught by this: one change went live before the page it depended on had shipped. The fix was a rule to merge a change that needs another system's side only once that side is live.

Second, the branch rule limits what reaches production. It does not, on its own, limit what a builder can read on its own copy of the code. That is why a builder gets only the access you gave it, works on a separate branch and a separate copy, and hands everything back as a pull request.

Third, a pull request is only as good as its checks and its reviewer. A person waving through a long change in a hurry is a weaker control than the process suggests. The report and the second reviewer exist to make each review quick enough to be real.

What we would tell a customer

If Aisha builds for you, expect to see pull requests, not commits. Expect a report with each one. Expect to know who decides a release. And expect to be told, in the thread, when something she shipped did not work, with the fix arriving the same way: as another pull request, with its own report.