Coding
Posts filed under category: Coding
Letting Renovate Upgrade My Dev VM
My dev VM is defined by one file, dev.yaml. It pins the version of every tool the VM installs: Node, pnpm, OpenSpec, the Supabase CLI, SonarQube, Postgres, …A Local Postgres for Coding Agents: One Role to Look, One Role to Change
Agents write better database code when they can see the database. Read the actual schema instead of guessing it from entity classes. Try a query before it goes …Formatting Belongs in the Test Command, Not Just the Commit Hook
Until recently my projects formatted code in one place: a pre-commit hook. Write some code, commit, and the hook tidies it up on the way in. That works fine …Secret Scanning Every Commit in My Dev VM with Betterleaks
A while ago I moved all my projects into one Linux VM , and these days most of the commits in it aren’t typed by me. Claude Code writes the code, runs the …One Feature, Six Specs: How Requirements Were Written Across the math-api Builds
The format of each backlog item mattered less than I expected. Two things mattered more: Shared project docs that state rules exactly. These were the same in …Quality Gates for AI-Generated Java and Kotlin: Beyond SonarQube
SonarQube alone won’t stop an AI agent from shipping bad code. Sonar reports. Agents don’t read dashboards. What works: a small set of tools that …Six Builds of One API: What the math-api Experiments Showed
Use one agent with reviews from the first change, and write the rules down exactly. That’s the default the math-api experiments point to after six builds …With and Without OpenSpec, Part 2: An Outcome Backlog
When the backlog states outcomes and leaves the design to the builder, OpenSpec’s extra cost in time drops from 52% to 16%: 46.4 active minutes against …With and Without OpenSpec: Building the Same API a Fourth Time
With the same code reviews on both, the build that planned each change in OpenSpec took 49.6 active minutes for items 2–5. The build that went straight from …Reviews Without the Pipeline: Building the Same API a Third Time
Reviews are the cheap part. One agent running a plan review and two code reviews on every change cost about 8% more time and tokens than one agent with no …