Find what breaks before your users do.

Codebase audits, AI & MCP architecture reviews,
and demo-to-production hardening.

I read your codebase cold, trace where concurrency, permissions, external calls or user flows fail, and help you fix what matters—deepest in Rails & Ruby AI, and open to general web and MCP apps. Already running a stable Rails app? See Rails maintenance, or standalone accessibility reviews.

Fast in a demo. Fragile with real users.

An AI feature or MCP integration you don't fully trust

Duplicate job runs, runaway retries, loose tool permissions, missing evals, or model bills you can't explain.

Built fast with AI tools, now heading to production

Cursor, Claude Code, Lovable or Bolt got you a working app, and now you need a senior engineer to harden the fragile parts without rewriting everything.

Designing an AI workflow before you build

You want clear boundaries up front—background job state, human approvals, timeouts, structured outputs and cost visibility—before bad assumptions harden.

Key user flows that quietly fail

Sign-up, checkout, webhooks or AI-generated forms that break on edge inputs, retries, keyboard navigation or screen readers.

How the code was written—by hand, by a previous team, or with Cursor or Claude Code—doesn't matter much to me. What I look at is how the system behaves under real use and how hard it is to change safely.

I do this in public codebases every week.

Instead of unnamed client stories, here is the kind of bug I find and fix upstream when reading unfamiliar production codebases. Every example links to a merged pull request on GitHub.

Concurrency & duplicate execution

Idempotency · atomic claims

Tool permissions, approvals & boundaries

MCP · auth · isolation
  • Lewsnetter #35 — Restrict mcp:read tokens to read-only tools on the server.
  • Lewsnetter #53 — Require human approval before destructive agent actions.
  • RubyLLM #1677 — Refuse chat-store paths through symlinks inside the store.

Cancellation, timeouts & isolation

External I/O · protocols
  • RubyLLM #1577 — Key MCP outage backoff on connection settings so one tenant can't break another.
  • RubyLLM #1729 — Stop retrying HTTP calls once their chat is cancelled.
  • MCP Ruby SDK #709 — Cancel a terminated session's in-flight requests before closing streams.

Evals, edge inputs & blind spots

Verification · correctness
  • ActiveAgent #665 — Record client-side MCP tool calls in eval replays so failures aren't hidden.
  • Rails #59853 — Fix numericality parity checks raising for non-finite values.
  • RubyLLM #1697 — Reject non-finite answers to numeric questions.

For a walkthrough of the job and tool-call failures behind these examples, read Production AI in Rails is mostly background-job engineering.

See the full verified open-source record →

Audit it, design it, or harden it.

Every engagement is fixed-scope and agreed in writing before I start. Start with an audit or an architecture review, or go straight to a hardening sprint if you already know what's broken.

Codebase & AI Reliability Audit

01 · Fixed scope · one repo or workflow

Find the real failure modes before they reach customers.

I read your repository cold and trace the paths that carry money, data and trust: background jobs, webhooks, payments, auth and tenant boundaries, LLM and MCP tool calls, error tracking and tests.

What you get

  • Findings backed by exact file paths, line numbers and reproduction steps.
  • Clear separation between confirmed issues, open questions and acceptable trade-offs.
  • A prioritized fix plan, plus a walkthrough call with you or your team.
  • Optional: a key-flow accessibility check on sign-up, checkout or a core form—especially useful on AI-generated UIs.

The report is yours to keep. Your team can act on it directly, or carry the findings straight into a hardening sprint.

AI & MCP Architecture Review

02 · Advisory · before you build or refactor

Get workflow boundaries right before code hardens around them.

For teams adding LLM features, agents, MCP servers or clients, or structured outputs to a real product—and wanting a seasoned second pair of eyes before committing to an architecture.

What we cover

  • Task state, atomic claims, retries, timeouts and cancellation across background jobs and external providers.
  • Tool permission tiers, server-side authorization and human-in-the-loop approval points.
  • Evaluation strategy, regression gates, tracing and token/cost visibility.
  • A written architecture note and review session your team can build from.

Production Hardening Sprint

03 · Fixed scope · fixes in your repository

Turn a shaky or AI-built app into something you can ship and maintain.

Follows an audit, or starts directly on an agreed set of broken or unfinished flows. The goal is to keep what works and fix what doesn't—not push a rewrite.

A sprint usually includes

  • Agreed fixes made on branches in your repository, ready for review.
  • A minimal regression test net around sign-up, payments/webhooks and the core user or AI workflow.
  • Real error tracking wired up, silent catches removed, and external calls guarded with timeouts and idempotency.
  • Optional: accessibility fixes on sign-up, checkout or key forms (also available standalone).
  • A plain-English handover: what changed, how to release and roll back, and what's still worth watching.

Once a Rails app is stable, it can roll straight into Rails maintenance without repeating discovery.

Honest about stack fit and limits.

Deepest: Rails & Ruby AI

Audits, architecture & hands-on fixes

Ruby on Rails, Active Record, Solid Queue and Sidekiq, Hotwire, PostgreSQL, RubyLLM, ActiveAgent, MCP Ruby SDK, plus React and TypeScript front ends. Here I can take the work from audit all the way to merged pull requests and monthly maintenance.

Broader: Web, AI & MCP apps

Audits, architecture & flow reviews

General web apps, MCP servers and clients, LLM workflows, and apps built with Cursor, Claude Code, Lovable or Bolt. I audit architecture, protocols, reliability, permissions and user flows directly—and tell you honestly up front if hands-on implementation is better done by a specialist in your stack.

You own everything: your code, hosting and findings stay yours. Hands-on work happens in your repository through reviewable pull requests.

Honest limits: this is practical production engineering review, not a formal penetration test, compliance certificate or legal sign-off.

No AI on your code or data unless we agree on it before I start.

Direct work: no agency or account manager. Scope, access and timing are agreed in writing before any work starts.

  1. Tell me what you're building or worried about. What the app does, the stack or AI tool behind it, and what feels risky or broken. A short email is fine.
  2. Quick look & honest fit check. I tell you whether I'm the right person and suggest the best starting point—audit, architecture review, or hardening sprint.
  3. Agree scope in writing. Clear boundaries, the minimum access needed, timing and what "done" looks like.
  4. Deliver & decide what's next. Take the findings to your team, merge the hardening PRs, or—for Rails apps—move into monthly maintenance.

Things people usually ask.

What tech stacks do you work with?

Ruby on Rails and the Ruby AI ecosystem (RubyLLM, ActiveAgent, MCP Ruby SDK) are where I am deepest, from audit all the way to hands-on code fixes. For general web, AI and MCP apps in other stacks, I audit architecture, protocols, reliability, permissions and user flows directly—and tell you honestly up front if hands-on implementation is better done by your team or a specialist in that stack.

Do you help with apps built using Cursor, Claude Code, Lovable or Bolt?

Yes. How the code was written doesn't matter much to me; what matters is how the app behaves with real users and how hard it is to maintain. A reliability audit and a production hardening sprint are designed to stabilize what you already built without pushing an unnecessary rewrite.

Will you tell me to rewrite my app?

Not unless there's a real structural blocker. A working app with real users already holds product decisions you paid to discover. The default goal is to keep what works, fix the risky paths and wrap them in tests. If a rewrite genuinely makes more sense, I'll explain why with evidence.

Can an audit include accessibility for sign-up, checkout or forms?

Yes. AI-generated front ends and fast-moving product flows often ship broken keyboard focus, unlabeled inputs or silent dialogs. Key-flow accessibility checks and fixes can be included inside an audit or hardening sprint, or booked on their own.

Is this a formal security audit or compliance certification?

No. This is practical production engineering review—closing concurrency races, missing server-side auth or tenant checks, unsafe tool boundaries and brittle external calls. Regulated apps (HIPAA, PCI, SOC 2) still need dedicated security testing and formal compliance review.

What if I want ongoing maintenance after hardening?

For Ruby on Rails apps, you can roll straight from a hardening sprint into monthly Rails maintenance without repeating discovery. You can also take the audit report or finished handover and run it in-house—both are fine.

What access do you need, and do you use AI tools on my code?

You keep full ownership of your code and hosting. I only ask for the repository or staging access the work needs, and we agree up front whether AI tools may see your code or data. Please don't send passwords, production data or API keys in your first email.

Tell me about your app.

What does it do, what's it built with, and what are you trying to get ready for production? I'll give you a straight answer on whether an audit, architecture review or hardening sprint is the right place to start.

Email Andy ↗

Helpful to include

  • The app's URL, if it's live
  • The stack or AI tool it was built with
  • Any AI or MCP workflows involved
  • The main risk, bug or problem you're seeing
  • Your rough timing

I don't need repository access for the first conversation.