Theo wants private files and private branches in a repo
A joke about a junior dev pushing a .env file turned into an argument about who gets to read what inside a repository.
Theo says the all-or-nothing permission model in source control has outlived its usefulness. In a post on X he listed three things he wants and does not have. Private files inside a repo. Private branches that only three team members can see. Secret management that does not require, in his words, some obscure 3rd party tools.
Source control being 100% or 0% access feels stupider than ever.
I want private branches that only 3 team members can see.
The trigger was mundane. @sreenandhanpp posted a joke about a junior dev announcing "I pushed the .env too, you can test it now" and a senior dev asking why. Theo replied with the hill he says he will keep dying on.
The actual complaint
Today a repository is close to a binary. Either you can clone it and read every file and every branch in it, or you cannot read any of it. Teams work around that with separate repos, submodules, ignore files and a secrets vault bolted on from outside. Theo's position is that the workaround stack is the problem, and that the access boundary belongs inside the repo rather than around it.
He did not point at a product that does this, and he did not describe an implementation. This is a wish list from one engineer, not a result from one.
Why it lands now
Our read is that this is the old secrets hygiene argument wearing agent clothing. An agent reads whatever the repository exposes to the account running it, and it reads all of it, quickly, without the social friction that stops a human from wandering into a directory they have no business in. A credential committed by accident used to sit there until someone noticed. The same credential now sits inside the context of every agent run that touches the repo.
That makes per-file and per-branch visibility a different kind of question than it was when the only readers were teammates. Theo is not arguing that developers cannot be trusted. He is arguing that the unit of trust is currently the entire repository, which is a coarse unit for a tool that is now read by software you hand a task and walk away from.
Theo closed with a line that was more provocation than argument, saying every engineer who cannot think outside the box a little bit is going to be unemployed in a few months. Treat that as the tone it is. The useful part is the first half, and it is a request rather than a report. Nobody in the sources has built the thing he is asking for.
Have the good opinion, not the loud one
One email a day. Under three minutes. What working engineers found out about coding with AI.
