Engineering.

Production systems and tools for AI coding agents. These case studies show the decisions I made, the evidence I collected, and the limits that remain.

Case study

Predictive test selection

94 of 110 failing test files caught while running a median 13.7% of the suite, in a replay of CI history from Aug–Sep 2026.

I built a dependency graph and calibrated model judgments to choose which test files a change needs. An audit runs every skipped file after merge.

Replay results and tradeoffs

Case study

Automated bot mitigation

Three automated fetcher cohorts 0.93–0.99Organic desktop browsers 0.89–0.93
The model’s answer per recorded cohort, October 2026 calibration. The organic cohort scored like a fleet; a deterministic veto keeps it out of the acting set.

October calibration exposed a confident model error; a deterministic veto prevents that cohort from reaching enforcement.

An hourly service detects automated traffic, asks models for bounded advice, and challenges eligible actors at the edge. Code controls the target, reach, expiry and reversal of every action.

Calibration and action limits

Case study

One market-data core

Four archive restore rehearsals passed; the Retail archive was checksum-verified but not restore-tested.

I migrated five game editions to a shared ClickHouse core. Writers verify snapshot counts and sums before publishing a generation for readers.

Consistency and recovery evidence

Case study

Isolated browser automation

A recorded CI run passed four live lifecycle tests and left no orphaned browsers.

I built a TypeScript CLI and session library for concurrent Playwright work. Each task gets an isolated Chrome profile, bounded startup and cleanup when it throws.

Lifecycle checks and results

Case study

LimerinoBot staff assistant

91 tools when every integration is configured, October 2026.

A Claude tool loop inside Limerino’s Discord bot answers staff questions about code, CI and the backend. Privileged changes require a Confirm click; reading untrusted text makes all later writes require one.

Tool permissions and Confirm cards

AI developer tools

Two questions shape them: what should the agent know, and how do we check its work?

Claude Code plugins, MCP servers, and mods

20 plugins and Model Context Protocol (MCP) servers built; 11 in the current catalog, 11 with Codex ports, and 9 current plugins public as of October 2026. They cover review, deployment, CI/CD, SEO and project setup. Limerino’s code and interface changes go through these tools before release.

I also run 12 in-process Claude Code mods (October 2026), including a process-kill guard and clawdagotchi (external site), a pixel-art coworker. I retire tools that stop earning their place.

The 9 public plugins, and one agent skill

anti-slop (external site)
Deterministic checks for code, UI, and prose
ui-craft (external site)
Web UI design and review agents
apple-ui-craft (external site)
SwiftUI design and review agents
ios-code-review (external site)
iOS review from App Review’s and a platform engineer’s view
cicd-expert (external site)
CI/CD architecture, review, and debugging
railway-operator (external site)
Railway deployment and operations
seo-optimization (external site)
SEO audits and fixes for any website
project-onboard (external site)
New-project setup and onboarding
scrum-master (external site)
Story-per-file planning for agent work
wow-addon-dev (external site)
An agent skill for World of Warcraft addon development

Persistent memory

I run retrieval memory for my coding agents on GoodMem, a self-hosted retrieval server: project-scoped vector storage across 21 projects, Voyage embeddings, and reranking. Agents query it when they hit an unfamiliar error, tool, or API, and treat what comes back as a hint to verify, with its source attached.

Keeping tens of thousands of memories useful is its own job. A report-only service asks a model typed questions, yes-or-no and graded, about each memory and its nearest neighbors, and flags the ones that look stale, superseded, or duplicated. It never edits or deletes a memory.

Read the July 2026 design notes
01Capture

Source, decision, verification path

02Retrieve

Project scope, embeddings, reranking

03Check

Revisit source truth; flag stale claims

04Use

Relevant context with provenance

Freshness is part of retrieval quality.

Repository-grounded evaluation

My local evaluation harness pins cases to a committed repository revision and requires file-and-line evidence for claims. Model calls use bounded, read-only archives, isolated from external memory and the source checkout.

The goal is concrete: distinguish a plausible answer from one supported by the repository. Cases span languages and projects, including checks for context leaking across project boundaries.

A checkable engineering claim

Source
A specific repository revision
Evidence
The file and line supporting the claim
Boundary
Only the supplied read-only archive
Result
A claim that can be independently checked

Private tooling in my own workflow; the method is shown here.

Agent workflows

Work too big for one agent fans out to specialists. Each gets a written brief, the files it owns, and acceptance criteria. Parallel writers work in separate Git worktrees, and no workflow uses more than thirty agents. I check review findings against the code or rendered page before fixing them. What I kept and retired.

Self-hosted CI/CD

I maintain self-hosted GitHub Actions runners for Linux, Windows and Apple builds, with platform-specific queues and release verification.

Production engineering

One hard problem from each product and from the staff assistant, with the case study behind it.

Selected public repositories

GitHub (external site)

Tools from my engineering workflow, with source and tests you can inspect.

Interactive example: event pipeline

Interactive example: a simulated event pipeline Validation, deduplication, retries, and recovery, with sample data.

24 sample events
Simulated time, runs in your browser

Temporary failures recover within a bounded attempt budget.

Tick 0
IngestAdmit sample events0 received
ValidateCheck the schema0 waiting
QueueBackpressure0 / 4 slots
WorkerBounded concurrency0 / 2 workers
StoreCommit once per key0 committed
Rejected at validationRetry after 2, then 4 ticksDead letter after 3 attempts

This run

Committed
0
Duplicates ignored
0
Retry attempts scheduled
0
Invalid payloads
0
Dead letter
0

Ready. Run a scenario, or advance one tick at a time.

Follow an event

  • Committed
  • Waiting to retry
  • Dead letter
  • Invalid
  • Processing
  • Duplicate
Event 05Not received yet
  1. Run or step the simulation to see this event’s trace.

What this demonstrates

Capacity is a design decision. Two workers and a four-slot queue put a limit on in-flight work. When the queue fills, admission waits.

Delivery can repeat. Side effects should not. Idempotency keys prevent duplicate commits. Retries have increasing delays and a finite attempt budget.

A failure needs somewhere to go. Invalid inputs stop before work begins. Exhausted retries stay available in a dead-letter queue.

An educational model with deterministic sample data. It demonstrates patterns used across my work; it is not production telemetry or a copy of any one service.