Portfolio

Infrastructure I built and run. Each case study has a write-up with enough detail to check the claims, including the projects that failed.

Case studies

Each title opens the full case study; expand Details for the longer summary and repository layout.

Agent infrastructure

terse

23% of MCP cost, under 1% of the bill open

Lossless compression proxy in front of MCP tool servers that forwards the original unchanged unless exact decoding is proven. Case study

Details

MCP, the Model Context Protocol, is the standard that connects tools to AI agents. terse is a proxy that sits in front of MCP tool servers and compresses what they return without losing anything. If it cannot prove that a compressed payload rebuilds the original exactly, it forwards the original unchanged. On nine GitHub API payloads, its best case, the compressed form uses 59% fewer tokens. A replay of my own Claude Code sessions, priced at what each call was billed, found it removes 23% of what MCP results cost, under 1% of a session’s bill, almost all of it from two tools in long sessions. The project is public under the MIT license, and the repository includes a benchmark harness so you can measure the saving on your own tools.

terse9bd5ad3 · 161 files
src/terse/            the codec, proxy and policy
scripts/bench/        the TOON comparison in this page
tests/                73 test files
corpus/               pinned benchmark payloads
BENCHMARKS.md         every figure, dated
VERIFY.md             how to check the claims

Generated automatically from the repository. Browse it.

RunEcho

~12 ms · 0 tokens open

Pre-edit hook in Go that checks agent edits against declared repository symbols with no model or network call. Case study

Details

Catches an agent writing a call to a function your repo does not have, before the edit is saved; on nine confirmed invented names it caught four. It runs as a hook (a step the agent loop triggers automatically) and checks every edit against the functions and other symbols the code declares. Each check takes about 12 ms. It uses no language model, no network and no build, and a passing check adds nothing to the agent’s context. Its accuracy is measured against dated git history. Over 30 days, 406 flagged symbols could be rated: 62 (15.3%) were false positives, 137 (33.7%) were premature (the code was added later), and 207 (51.0%) were references to something that did not exist.

RunEchob117ffc · 332 files
cmd/                  runecho-guard, -ir, -mcp
internal/             the guard, the IR and the oracle — 168 files
bench/                TOKEN-COST.md, FPAUDIT.md, FINDINGS.md
plugins/              the agent-side hook packaging
scripts/              enrolment and release tooling
docs/                 architecture and the scope statement

Generated automatically from the repository. Browse it.

testgraph

names journeys at risk open

Walks a static call graph backwards from a diff to list the user journeys at risk without prior test coverage data. Case study

Details

Given a diff (a set of line changes to the code), it answers which user journeys (user-facing flows through a product, such as “claimant submits a signed form”) the change could have broken, and in what order to test them. Test-impact tools usually answer with a list of tests, and they need coverage data (a record of which code each test ran) from a previous run. testgraph walks a static call graph (a map of which code calls which) backwards from the changed lines, so it works on a repo that has never run its test suite. It is tuned to catch every journey that broke, so it will sometimes flag one that turned out fine.

testgrapha4baa9a · 68 files
testgraph/            graph traversal, integrity guard, registry, CLI
harness/              accuracy, selectivity and seeded-mutation evals
hooks/                the pre-push hook that runs it on every push
journeys/             three hand-authored journey registries
maps/                 generated symbol to journey maps
skills/               the agent skill that reads a map pre-commit

Generated automatically from the repository. Browse it.

harness

4 mechanical checks private

Fixed-rule verification gate and role runtime for coding agents where no model judges the diff and nothing auto-commits. Case study

Details

A harness for coding agents, built for a single developer, in two parts. The first is a gate that gives a fixed-rule verdict on a code change. It runs four checks that keep no state: the test suite, a symbol contract (which fails when a change leaves its declared scope or removes a symbol without opting in), a scan for staged secrets, and a scan for reachable vulnerabilities (ones the project’s code can trigger, as opposed to ones that are only listed). A pass leaves the branch for a human to commit. Nothing is committed automatically, and no language model makes the judgment. The second part is a runtime that assigns a model to each role (consult, scout, builder, reviewer or scribe) and runs the loop of request, tool call and result against read-only tools. It cannot yet edit files or run commands.

Measurement

modelbench

cost per solved task private

Replays bug-fix commits from my repositories three times per model and scores each tier on cost per solved task. Case study

Details

A personal benchmark that takes bug-fix commits from my own repositories and replays them against lower-cost models, three times per model by default, so a gap between two models can be told apart from noise. Its headline figure is cost per solved task. In one comparison of fifteen tasks, the small tier (Claude Haiku) solved 10 at $0.51 per solved task, and the large tier (Claude Opus) solved 15 at $2.09. It also publishes its own corrections: one defective task had made all three tiers look worse than they were, and four published claims were corrected.

flight-recorder

11,179 sessions scored private

Scores coding-agent sessions on transcript cost and seven-day git code survival with 95% confidence intervals. Case study

Details

Scores each coding-agent session on two things, kept separate: what it cost, from the transcript, and how much of its code was still in the repository when it was last scored, from git. A session is re-scored until it is seven days old. It has scored 11,179 sessions. Every average comes with a 95% confidence interval (a range that shows how precise the average is), and models are compared only on similar work, so a hard repository does not make a model look weak.

Lodestone

5 of 10 at full scale open

Local hybrid retrieval over 57,562 note chunks, published with the full-scale evaluation showing where semantic search lost to keyword search. Case study

Details

Local retrieval over my own notes: Claude Code session transcripts, a ChatGPT export, planning documents and repository markdown. The notes are split into chunks (short passages of text). Semantic search (matching by meaning) beat keyword search on a 1,222-chunk development set and lost to it on the full collection of 57,562 chunks, and the write-up starts with that result. On the development set’s seven paraphrased questions, semantic search scored 0.731 nDCG@10 (a ranking score, higher is better) against 0.436 for keyword search. On ten test questions asked against the full collection, the default setup returned something useful in its top three results for five. The experiment set a kill gate in advance (a stated condition for stopping the project). The re-ranker passed it, so the project continued. It also used negative controls (cases where the right answer is known to be nothing) and blind judging of pooled results, where results are graded without the judge knowing which method returned them.

Data and operations

Frostline

50,083 well records open

Spatial models over public Michigan well records, including dropping a promising target after a depth baseline exposed it as redundant. Case study

Details

Spatial models over the public Michigan well record. Depth is predictable from location because nearby wells have similar depths. Moran’s I measures how strongly nearby wells resemble each other: near 0 means no spatial pattern, and higher values mean a stronger one. It is 0.393 for depth and 0.089 for yield. The aquifer interval (the top and bottom depths of the water-bearing layer) looked like a promising target and was dropped: against a baseline computed from well depth, it was about 96% a restatement of depth.

frostline8ef8a4d · 145 files
template/scripts/     the Track B pipeline — export, backtest,
                      calibration audit, brief generation
template/src/         the estimator surface itself
plans/                the planning record, including the
                      negative results that closed a line of work
docs/                 architecture
site/                 the public build

Generated from the repository. Two directories are withheld: the lead and outreach trees hold live business data.

Origin Sentinel

report-only, repairs staged open

Detects services down behind a healthy Cloudflare tunnel edge and stages repair actions without applying them automatically. Case study

Details

Checks the health of services reached through a tunnel (a Cloudflare connection that exposes a machine without opening ports). It catches the failure where the public edge looks healthy but the service behind it is down. It runs report-only: it proposes the fix for a stale origin and applies none. Repairs stay switched off until its classifications have held up in the field.

Multi-provider LLM gateway

cost tracked against a budget open

Routes coding agents across multiple LLM providers by task while tracking spend against a budget and pulling keys from a secret broker. Case study

Details

Routes one coding agent across several large language model (LLM) providers by task, and tracks cost against a budget as it accrues. Secrets are kept out of the environment: keys are pulled from a secret broker at process start and held only in memory.

Knowledge base for agents

92.0% of 238 proposals accepted private

Shared long-term memory for coding agents where every proposed entry passes an independent AI reviewer before storage. Case study

Details

Long-term memory for my coding agents. Agents can only propose a fact; an AI reviewer approves, edits or rejects each proposal before it is stored. Over the last 30 days the reviewer accepted 92.0% of 238 decided proposals. On hand-built vague rules it caught 63.0% of the short ones and 27.8% of the long ones, and the write-up measures that weakness alongside the search quality.

secret-broker

2,568 receipts, chain intact private

Local MCP server that executes credentialed calls on an agent’s behalf without revealing secret values, logging hash-chained receipts. Case study

Details

A local MCP server (MCP is the standard that connects tools to AI agents) that lets coding agents use credentials without receiving them. Every call writes a hash-chained receipt, so a later edit to the log is detectable; 2,568 receipts over six months verify intact. Entropy-based secret detection caught 5 of 13 of the broker's own credentials and flagged 566 harmless tokens on one clean response before it was fixed.

codegraph correctness

143 issues filed, 17 PRs merged open

Checks an open-source call-graph tool against compiler type checkers and fresh index replays, reporting reproducible defects upstream. Case study

Details

Checks codegraph, an open-source code-intelligence tool, against compiler type checkers and against freshly built indexes, and reports the differences upstream. The checks are public as graph-assay. 143 issues filed, 130 closed, and 17 of my pull requests merged. A replay of 2,979 index updates found 12 places where the updated index differed from a fresh one.

Live sites

ericminish.com self-hosted open

This site. Static files with no build step and no third-party requests, copied with rsync into a container on my own hardware and served by the Caddy web server behind a tunnel.

nmwelldrilling.com sample site open

A sample contractor site I built end to end. The page itself is labelled a sample.

thefrostlineco.com business site open

The business site for The Frostline Co., which builds and runs websites with lead-intake forms for Northern Michigan well drillers. It is hosted separately from this site, with its own branding and technology stack.

ttrpg.ericminish.com campaign workspace open

The Campaign Table, a tabletop RPG workspace built on extracted rulebook PDFs. It is a FastAPI back end and a React single-page app in one container on its own LXC (a lightweight Linux container). CI (the automated build and deploy pipeline) releases it with a canary step (a trial release to check health first) and a rollback path. Two staging containers sit behind it so changes land somewhere else first.

Also running

Systems I run

Competitive intelligence private client private

A weekly market-intelligence pipeline. The model may not write a source. Every citation is filled in from the collector that fetched it, and a test fails the build if a client name is hard-coded into the repository.

NFLsignal auction board private

Projection and auction-price engine for fantasy football. Players with no valid baseline to compare against return null (an empty value), so the engine does not output an invented number.

miwine news ingestion private

Links winery news to a known entity list. A rule-based matcher proposes candidates, and the language model can only confirm or reject them. It cannot add one.

Honeyslate task scheduler private

A scheduling app (FastAPI, a Svelte front end and Postgres) running in its own container behind a tunnel. I use it myself.

Workflow state systems private work private

Internal operations work turning messy handoffs into explicit states and next actions. Most automation failures I have cleaned up came from ambiguous state, such as unclear status or ownership, with a scheduler running on top.

The environment they run in

Homelab 10 nodes open

Ten machines under Proxmox (a server virtualization platform) running live routing, monitoring and backups. Failure behavior described elsewhere on this site comes from watching it happen here.

Browser terminal SSO · no open ports private

The shell I work in, reached from any browser through single sign-on (SSO) with no open ports. The next section describes it. A long agent job keeps running when the laptop closes, and I can check on it from anywhere.

The terminal

My whole working environment is a browser tab. A terminal multiplexer (a program that keeps shell sessions running and lets several screens attach to them) runs on a machine at home. A small web terminal serves it, and an identity-proxied tunnel (a tunnel that checks who you are before any traffic reaches the machine) publishes it. No port is open to the internet, and no session starts without single sign-on. Opening the same address from a phone, a laptop or a borrowed machine attaches to the same live session, so work carries over between devices.

Below is a model of that console on an ordinary day, with a column of agent sessions beside the one that is open. Hover it, or give it focus, to watch it fill in.

This is a model of the console, built from illustrative sessions, output and usage figures. No host name, address, path or session content from the actual environment appears here.

Email is the best way to reach me: [email protected].