from/prod
← All companies

THE COMPANY INDEX TRACKED BLOG

Daniel Doubrovkine (dB.)

Ideas, decisions, and lessons from the team.

code.dblock.org (opens on the source site)
51Posts tracked
2 days agoLatest publication
3.5Posts / month over the last 12 months

Latest writing

20 of 51 posts

Naming Claude Code and Copilot Sessions After Their Project (opens on the source site)

I run a lot of Claude Code and GitHub Copilot CLI sessions in parallel, and both tools title a session with a summary of its first prompt. That’s fine until you have three sessions called something like “improve test sharding performance” and can’t tell which project any of them is about. So I made sessions name themselves after their project, with an emoji. I type “let’s add some emojis to our dotfiles” and get 🏠 dotfiles in either tool. Claude Code Claude Code hooks support this out of the box. A UserPromptSubmit hook receives the prompt, and if it prints hookSpecificOutput.sessionTitle,…

Read at the source

Naming Claude Code Sessions After Their Project (opens on the source site)

I run a lot of Claude Code sessions in parallel, and the agent view (claude agents) is where I spend my day. By default, Claude Code titles each session with a short summary of its first prompt, written by Haiku. That’s fine until you have three sessions called something like “improve test sharding performance” and you can’t tell which project any of them is about. So I asked Claude to make sessions name themselves after the project, with an emoji. I type “let’s add some emojis to our dotfiles” and get 🏠 dotfiles. Implementation Claude Code hooks can do this out of the box. A…

Read at the source

Automatic JavaScript Test Sharding on GitHub Actions (opens on the source site)

Last week I wrote about automatic RSpec sharding on GitHub Actions with parallel_tests-ci, a Ruby project. Claude ported this approach to JavaScript and we called it testlanes. It splits Vitest, Jest, and node:test suites into shards balanced by how long each test file took in earlier runs, on Linux, macOS, and Windows. Real Project Benchmarks The tests of npm-package-release took more than three minutes on Windows and almost as long on macOS. Each bar shows the slowest worker’s test step in one of the five Test environments, excluding setup. The unsharded run took 199 seconds on Windows and…

Read at the source

Launch Agents for My AI Agents (opens on the source site)

I got 691 email notifications from Renovate and 740 from Dependabot in 2026. Dependabot is great as it automatically PRs dependency updates for you, but it quickly gets too noisy and needs constant rebases. Renovate improves upon Dependabot by letting you group many dependency upgrades into a single PR. At some scale, the amount of attention these notifications require all day long is just too much, and I am not quite ready to roll out auto-merge of Dependabot PRs. I wanted to group the work in ways that I can adjust and control across the hundreds of repos I’m involved with. My fix is…

Read at the source

The Link Is Not Dead, It's Behind Cloudflare (opens on the source site)

Most of my Jekyll blogs, including this one, used html-proofer from a rake check task that I ran by hand, which means I never ran it. I swapped that for a faster ruby-link-checker, and ran it in CI, piling broken links into a GitHub issue that I never looked at. Finally, I made jekyll-ruby-link-checker and got a hold of the broken links problem with some AI help. A New Jekyll Plugin The new jekyll-ruby-link-checker is a Jekyll plugin that checks links during the build, with a cache and two reusable GitHub workflows that comment on pull requests and keep a “Broken Links” issue up to date. What…

Read at the source

Teaching My Copilot and Claude Children to Share (opens on the source site)

I use both GitHub Copilot CLI with tokens paid for by Microsoft where I work, and Claude Code using my own subscription. I run Claude on a personal laptop and Copilot at work and use both almost every day, occasionally on the same projects, sometimes at the same time. Both read personal instructions and skills from my home directory, and I keep those in my dotfiles, linked into ~/.copilot and ~/.claude. Copilot got there first. I am happy with Copilot, but I want to keep learning, so more recently I have begun using Claude for personal projects almost exclusively. When I added Claude, I took…

Read at the source

Automatic RSpec Sharding on GitHub Actions (opens on the source site)

Running RSpec on eight workers got Posebook, a custom Rails CMS, from more than six minutes of RSpec time to about one using parallel_tests-ci that I built to adjust shards automatically as tests get faster or slower, without repeating the GitHub Actions boilerplate for splitting files, running workers, and passing timings between runs. Posebook Benchmarks Each bar shows the slowest worker’s RSpec execution time, excluding setup and spec loading. The serial run took 395 seconds. With eight workers, every run shown took less than 80 seconds of RSpec time. Sharding improved further capturing…

Read at the source

The Sunk Cost Fallacy of a Vibe-Coded Custom SaaS (opens on the source site)

I organize a weekly figure-drawing session at Enoch’s Arts & Coffee in Manhattan. It runs every Monday at 6:30pm and costs $20. It’s regularly attended and we were even written up in W42ST. Like any small event, it comes with the usual collection of emails, date juggling, private contact details, and calendar invitations. So, I decided to build a custom SaaS called Posebook to automate all that. The Plan The original idea was that models would register, choose a date, and get a reminder a week before posing. I chose Rails and MongoDB because I already use both, and started with one venue and…

Read at the source

Use Agent Test Run Claims to Skip CI (opens on the source site)

An AI agent runs the test suite and lints in its local checkout. Then, you open a pull request and GitHub Actions runs the same checks against the same commit. This is wasteful, so I built already-tested to submit agent claims with PRs and skip CI workflows. This is also called “shift left”. Of course, anyone who can edit the pull-request description can forge a claim. It is not a cryptographic attestation, a test result signed by the machine, or evidence that the tests ran. Don’t ever disable CI on main. Install Setup takes two project changes: add the gate to the GitHub Actions workflow,…

Read at the source

Releases as Code (opens on the source site)

A release needs to be reliable, which means it needs to be testable. A typical release selects a version, updates a changelog, builds an artifact, creates a commit and a tag, publishes the package, creates a GitHub Release, and often prepares the next development version. Projects add their own steps, such as updating version references in documentation, and these steps need to agree on what was released. If one breaks, the release fails halfway through, leaving a published package without a matching tag or a development version that wasn’t updated. You can’t always undo a published package…

Read at the source

How I Learned to Use Copilot Sessions 400 Million Tokens Later (opens on the source site)

I recently built a Markdown linter with GitHub Copilot CLI. In between, I reviewed other projects, edited this blog, and generally treated one conversation as a terminal into which I could dump whatever I was doing next. I really loved the fact that Copilot would context switch, do some work, then go back to what it was doing. It’s so smart! Well, that may have burnt some extra tokens. Counting Tokens The local usage logs for the roughly three-and-a-half-day development window showed approximately 4,322 model calls, including delegated agents: Token Type Millions Non-cached input 11.4 Output…

Read at the source

Releasing Ruby Gems with OIDC and GitHub Actions (opens on the source site)

The traditional approach for automating Ruby gem releases is to use release-gem. It’s super simple. You can also build upon it when you need something beyond the plain rake release, such as updating a CHANGELOG.md, by rolling miles of brittle GitHub Actions YAML and shell script AI slop. Instead, I’ve been asking AI to follow a hand-crafted RELEASING.md. It can run tests, date CHANGELOG.md, ask me for a RubyGems OTP, make the release, increment the version of the next developer iteration. This works well. Still, AI is a very blunt tool for something that should be mechanized. Therefore, I…

Read at the source

Linting Both Prose and Embedded Code with RuboCop (opens on the source site)

My father is a poetry translator, so perhaps my obsession with prose runs in the family. This started before Markdown: I wrote rubocop-exception_messages after noticing inconsistent exception messages in Grape. After I replaced this blog’s Python spell checker with a RuboCop plugin I still had a Node installation to check Markdown. Since it’s a Jekyll blog, and the build is Ruby, the spelling checker is Ruby, and my default set of code examples are also Ruby, why was formatting the README Node.js? I first tried extending rubocop-md, proposing prose checks and parser diagnostics, a reusable…

Read at the source

How to Distribute a Rust App with Cargo, Homebrew, MSI, and WinGet (opens on the source site)

I recently ported my 1996 Pascal/Delphi calculator to Rust. The result is excalc, a cross-platform command-line application and MCP server. Rust makes it easy to compile an application on every platform. Distributing it via crates.io, MSI, Homebrew or WinGet needed more work. Paste this cookbook into your favorite AI prompt to get it done. We trigger a distribution from GitHub Releases: a Git tag identifies the new version, CI publishes the crate from that tag, builds portable archives and an MSI from that tag, and attaches everything to the release. Homebrew downloads the tagged source…

Read at the source

The Matter of Taste (opens on the source site)

While working on Svet, a Git and filesystem linter, I had a conversation with GitHub Copilot CLI about a flag. The tool checks files. We were adding automatic fixes. Naturally, I wanted to preview changes before allowing the tool to write them. The first suggestion was --fix-dry-run. I preferred a global --dry-run that could apply to both checking and fixing. Simple enough. Except checking already doesn’t write anything. What should a dry run of a check do? One answer is that a dry run prohibits writes. Run all the checks, report the findings, and leave the files alone. With --fix, calculate…

Read at the source

One Tool for the (Spell Checking) Job (opens on the source site)

I’ve built four spell-checking plugins in the last week. This is not an unhealthy interest in spelling. The cost of rolling tools out is the cost of tokens + my time supervising AI. So, before adding another language runtime, package manager, configuration file, and CI job to your project, consider spending an hour vibe coding the missing plugin. This blog used to run a Python spell checker that took more than three minutes. It’s a Jekyll blog, which is Ruby. Why was I maintaining a Python environment to tell me that I misspelled “hello”? I replaced it with a RuboCop plugin. Spelling became…

Read at the source

I Am Just One Engineer Armed with AI (opens on the source site)

I made 295 pull requests across 49 GitHub repos and did 30 project releases burning ~1.2 billion AI tokens in ten days. I am just one Engineer armed with AI. That is a lot of typing I did not do. I certainly did not read or write any code. This is a follow-up to AI Wants to Eat Your Project Backlog, where I described working through old Mongoid issues on two bus rides. I kept going. The work expanded into new spelling tools in three languages, library features, CI maintenance, releases, and application upgrades. First, let’s count what actually happened. Then let’s talk about what these…

Read at the source

AI Wants to Eat Your Project Backlog (opens on the source site)

You can clear the backlog of your open-source projects with AI now. It’s really great at reproducing bugs, implementing reasonable features, adding the tests you never had time to write, and responding to user issues that have been open forever. Copilot and I worked through a dozen projects in the Mongoid organization on two 4-hour bus rides to visit my son in college (go Lions!). I picked the work, questioned the implementations, reviewed the results, and merged changes. The agent did all the typing, archaeology, environment setup, and testing. The most satisfying result was an issue about…

Read at the source

ELPDS: Inspecting FAT Partitions in 1995 (opens on the source site)

I recovered another program I wrote in 1995: ELPDS, or Enhanced Logical & Physical Drive Status. Run ELPDS C: and it reports physical disk geometry, partition entries, FAT boot-sector details, and free space. It doesn’t change anything on the disk. My help says it was for checking whether a partition existed and was formatted. I think I was just trying to learn about the underlying partition mechanics. I didn’t write all of it. The help credits “Mr. Schaeffer” for a “huge part of FIPS code.” That was Arno Schaefer, whose name I misspelled. FIPS could split a FAT partition without deleting its…

Read at the source

A 1998 PDF-to-Text Converter (opens on the source site)

In 1998 I needed to convert PDF files to text for a search engine called Alkaline, without requiring separately installed libraries. So I wrote a C++ parser. Alkaline is another story. I recovered the source from a backup dated December 26, 1998. It reads PDF 1.0 through 1.2, follows object references and page trees, decompresses content with bundled zlib, and prints metadata, page text and bookmark titles. There are my own string, vector and hash-table libraries in there too. The encryption code is a stub. This was a work in progress. I wasn’t reverse engineering an undocumented format.…

Read at the source

Privacy choices

Reading never requires analytics. These choices last 90 days on this browser.

Essential sign-in and security storage always stays on. Read the privacy notice.