Principles of successful "factory" building
1. Don't build a factory, don't think of it as a factory, don't say the word "factory". It's a bad analogy and it puts the emphasis and goals at the wrong parts. Just erase that from your head. You are building focused automations, and getting compounding value from them.
2. Go slow, don't skip steps. If you start feeling a lack of control, that means its time to slow down, and reorient. You should have high confidence, trust, and be deriving value each step of the way. The only way to maintain your ability to judge is to go extremely incrementally.
3. Focus on verification before any other automation. This doesn't mean create-verification-skill from @poteto (although that is excellent and you should check it out), it means taking a step back and thinking about all the ways you could be confident your app works, and getting those into a good spot.
For example, the first goal should be a skill that is able to generate unit tests to the point that you are happy with them. If you aren't happy, change the skill, regenerate. Move on, generate another set of unit tests. Rinse and repeat till you build confidence, take bigger swings. Your first milestone is getting to the first atom of verification, which is a test suite you could confidently regenerate if you needed to.
4. Verification (in the broadest sense of the word) is your lever to building trust. This includes your type system, your linter, your architectural choices, infrastructure, test environments and isolation, benchmarking, and automated agent runs. Probably more stuff then that.
Focus on automating building that to world class levels. Verification is an easier problem to solve reliably then "all programming work", so start by solving for that. As that gets better, trust will go up. If you can get to the point where "verification passes means my app is functional" you are in the promised land. You wont get there, but that is what you are aiming for.
5. Only trust what is trustworthy. Don't start by saying "i want to fart out an idea and have the agent build it for me" that is the end of the road. Start with something like "when an exception is caught in prod, and the fix is easy, fix it automatically". Start at the edges, as you build trust you can build on top of that.
The devil is in the details, but this is my mental model of basically what has been figured out so far. Caveat emptor, I am not sitting at the pinnacle of the mountain and sharing my wisdom, it is largely based on conversations with people I trust further along then me, reading the tea leaves, and matching that to my own experience of successes and failures. Also, we're in a world right now that is changing month over month, I feel like I am trying to articulate current thinking, but the rules could all change tomorrow.
the other ones are fun, this one was eye opening to say the least "find all implicit invariants, formally prove them or find counterexamples"
your prompts should feel a little delusional
• make this 100x faster
• delete half the codebase without breaking anything
• turn every bug we've ever fixed into a property test
• find all implicit invariants, formally prove them or find counterexamples
3
135
mbriggs retweeted
This was the moment I stopped looking at the code at all.
I was having a conversation with a co-worker to add the ability to use Remix to a thing he had built and he said "agents don't need frontend libraries anymore". Meanwhile his product was using a backend framework.
I thought he was ridiculous, ofc we still need frontend libraries if we need backend libraries--in fact, I find agents are sufficient at backend stuff w/o abstractions!
And then it hit me. He and I were the same, just inverted. We believed agents were sufficient for everything we didn't have deep expertise in.
I started noticing this pattern with almost every developer around me. I thought about it all the time.
I kept wondering which way to go: Does this mean agents aren't good enough at anything? Or are they good enough at everything?!
I went with "good enough at everything" and stopped looking at the code, stopped reviewing it directly (asked agents about PRs, how they worked, etc., but I didn't look at the code)
Funemployed now, I don't even use a coding environment, I do it all from my dang phone.
Teams should probably replace their coding agent editors with a slack channel run by an agent.
But the farther we go in this new world the more I question that we'll even be "creating software" at all.
your prompts should feel a little delusional
• make this 100x faster
• delete half the codebase without breaking anything
• turn every bug we've ever fixed into a property test
• find all implicit invariants, formally prove them or find counterexamples
mbriggs retweeted
Old habit I'm trying to unlearn:
Thinking really hard about how something should work before building.
It's so cheap and fast to build now that you are way better off building something you already know is wrong and immediately becoming an editor, which is much easier.
I have seen people call pointers to skills in the AGENTS.md (or in rules for harnesses that have them) as tripwires.
I think there is another similar concept. Something where there is a validation that a change of a certain type requires an update to be made around some kind of judgement, and you can put a skill around the judgement if you like.
For example, we're trying to get decent package design in a language without a concept of package privacy. Ok, so how about a check that does static analysis to determine code outside the package calling code inside the package and whitelist only what you determine to be ok.
Without the check, the agent will do it and not think twice. With the check, you can use that as a place to have a skill trigger, and make it re-evaluate the choice, even when it has the power to update the registry.
I have observed this working remarkably well a bunch of times now. I'm a bit concerned I'm over engineering, and this is also a good example of where the bitter lesson will probably sweep it away soon.
1
42
I feel like at the start of the year this freaked me out, now I kind of understand what the job is evolving into, doesn't freak me out as much. The job market is going to be crazy for awhile, but I think our new role is just as important as the old role, and it could easily be the case that the need for us goes up.
mbriggs retweeted
I feel like a lot of teams CI costs are ballooning because the only way to get something merged is to run a gauntlet of ~5+ review bots, all of whom take 15 minutes to respond, triggering CI builds over and over for like ~5+ changes per commit.
LFG
Rex can now resume your programs through a server restart! This is based on a brand new terminal protocol we're also publishing today (OSC 7577) that we worked on in collaboration with @herdrdev with review from multiple terminal emulator and terminal program authors. Link: superlogical.com/rex/docs/bu…
This means that ANY program can restart, not just agentic coding tools, and it doesn't require any special integration with any specific terminal or out-of-band protocol. It's plain old terminal escape sequences that are easily implemented by any program!
Rex is shipping with built-in support for Claude Code to start (we emit OSC 7577 in a session start hook), but hope that other programs will adopt this and enable restart.
Program restart in terminals is fundamentally unsafe, so a lot of effort was put into making this as safe as possible. Ultimately, the security of this lies in the terminal emulator.
For Rex, we have a highly flexible Lua-based configuration to opt-in to resume on a program-by-program basis. You can filter by program name, path, working directory, command-line flags, and more. You can also disable the whole thing with one line.
36
The Rex integration for terminal browser is really good. Point at an element, and the browser sends the Rex pane agent useful context for your next change.
















