This is insane. The world is changing faster than we can keep up. From the CIA getting hacked to homemade genetically engineered organisms to cure hangovers.
https://t.co/mkmJet1ymo
@khyatimaloo Who lives in hanoi for 2 months? I'd prefer staying only in da nang! Literally the most boring place and the street has a pungent fish oil smell.
How I ship Rails tickets with Claude Code agents, as a solo backend maintainer
I maintain a Rails API alone. For the last two months, most tickets went through one workflow that I keep in the repo. It is not "ask the AI to write the feature". It is closer to a small team with fixed roles.
The roles
1. Planner. It reads the code and writes a step plan. It cannot edit files. The plan names each layer it will touch, the verification commands, and its open questions for me.
2. Me. I read the plan and approve it or change it. Nothing is written before this point. Most bad work dies here, cheaply.
3. Implementers. Independent steps run in parallel. Each one gets one bounded step, the exact files, and the spec that proves it.
4. Reviewer. One pass, on the whole change. Then we fix only the findings marked blocking. Everything else comes to me as a question.
5. Pentester. Only for money, auth or data paths. It does not write a report. It writes failing request specs that prove a hole. A hole without a failing spec does not count.
6. Verify. The full test suite, run the way CI runs it. Not "the specs I touched".
7. Retro. It appends a run log and updates a lessons file. The next planner reads that file first.
What made the difference
The lessons file. Run 1 makes a mistake, the retro writes one line, and run 2 does not repeat it. It is the only part of the setup that gets better without me.
Plan approval. Reading a plan takes me five minutes. Reviewing a wrong implementation takes an hour.
One review pass. Review loops never end. One pass, fix what is blocking, ask the human about the rest.
"Fix, don't disable". Agents love to add a rubocop:disable comment or skip a spec to get to green. That is now a written rule in the agent prompt: fix the cause.
A text budget. Every rule I add to the prompts must replace an older one. Without that, the instructions grow until the agents stop following them.
What still needs me
Deciding what is worth building. Anything that touches production data. And saying "this is too much, do the smaller thing", which I say a lot.
If you run agents on a real codebase, what is the one rule you had to write down?