← Back to portfolio

The Problem

Coding agents are fast and confident. Pointed at a production system, that combination is the hazard, not the benefit. Three failure modes show up immediately and none of them are solved by a better prompt:

This is the infrastructure I built to close all three, running live across two agent runtimes and pointed at a production system carrying real revenue.

Architecture

Capability Distribution — one source, verified mirrors
Canonical skill
single source of truth
Thin adapters
per runtime, no logic
Provenance manifest
link or hashed snapshot
CI verifier
exact-mirror check
Weekly audit
reports drift, writes nothing
Work Execution — bounded lanes
Controller
holds the lane graph
Worker packet
one bounded objective
Fresh worktree
one agent, one lane
Risk judge
per planned action
Report back
artifact, not a claim
Review — deliberately cross-provider
Codex implements
bound to exact commit
Claude reviews
fresh, read-only
Findings
schema-validated
Fix & re-review
new round, clean base
Converge
zero findings, or stop

Key Design Decisions

Scale

46
skill installations across two runtimes
14
shared from a single canonical source
18
runtime packages CI-verified in-repo
34
isolated worktrees
2
providers, structurally cross-reviewing
1
risk judge per planned consequential action

What It Stopped

The useful measure of a review system isn't how much it approves. These are cases where the infrastructure overruled the plan — including my own.

Tech Stack

Codex Claude Code Anthropic API OpenAI API MCP Git worktrees GitHub Actions Cloudflare Workers Durable Objects Python 1Password CLI Playwright JSON Schema Slack API

What This Transfers To

Every team adopting coding agents at scale hits these problems in roughly this order.