# Shipping like a team as a company of one

> How Henedo gets the output of a product team without its headcount, by pairing coding agents with written specifications, 27,900 tests and release gates no change can skip.

- Author: Flavian Ene
- Published: 2026-11-30
- Topic: Engineering
- Canonical: https://eflavian.com/writing/shipping-like-a-team-with-coding-agents/

For an early company, headcount is the most expensive way to buy speed. [Henedo](https://eflavian.com/work/henedo/) is built without it: I am its only engineer, working with coding agents, and the product spans a React client, a Postgres schema with row-level security, 54 edge functions, client-side cryptography and its key hierarchy, billing, an email pipeline and a signed release process.

That only works if speed never comes at the expense of security. Henedo holds what families cannot afford to lose, so the question is not how fast code can be written, but how fast it can be trusted.

I use Claude Code and Codex every day. People tend to ask one of two questions about that: either "so the AI wrote it?" or "how do you trust it?". The honest answer to both is the same. I set the architecture and the threat model, write the specifications, review every change, and own the test suite and the release gates every change has to pass. The agents give a company of one the output of a small team. The decisions stay with me.

This is what that looks like in practice.

## The bottleneck moves from writing to verifying

When an agent can produce a few hundred lines in minutes, writing code stops being the constraint. Knowing whether those lines are correct becomes the constraint.

A change you cannot verify cheaply is a change you cannot accept. So the most important engineering investment in Henedo is not any single feature; it is the ability to tell, quickly and mechanically, whether the system still does what it promises. Today that is about 27,900 automated tests, and they run on every change.

## What the suite is made of

- **Vitest and Testing Library** for the client: components, hooks, state, and the cryptographic code paths.
- **PGlite** (Postgres compiled to WebAssembly) for database tests. It runs real Postgres in-process, so schema, functions and row-level security policies are tested in milliseconds, without a container or a shared database.
- **`deno check`** for the edge functions, so type errors in server code fail the build rather than a request.
- **Puppeteer** for end-to-end flows in a real browser.
- **Lighthouse** for performance and accessibility budgets.
- **GitHub Actions** to run all of it, every time.

The PGlite choice deserves a sentence of its own. Row-level security is where multi-tenant applications most often fail silently: a policy that is slightly too permissive works perfectly in every demo. Testing policies against real Postgres, cheaply enough to have thousands of cases, turns "I think only the owner can read this row" into something checked on every commit.

## Tests that encode the threat model

For a product like Henedo, the most valuable tests are not the ones that check a button renders. They are the ones that encode a security promise in a form an agent cannot argue with:

- one account cannot read, list or infer another account's rows;
- an envelope with an unknown version is refused, never guessed;
- a delivery whose signature fails is never decrypted;
- a sensitive change without a recent re-authentication is rejected.

When the threat model is written down as tests, an agent that "simplifies" a check breaks the build instead of shipping a vulnerability.

## Specifications before prompts

Agents are excellent at breadth and poor at holding an unstated invariant across a large codebase. So the invariants are stated.

Henedo has a written design standard: conventions, patterns, the things that must always or never happen. Agents work from it, from the specification for the change at hand, and from the release gates. The habit that pays off most is this: when an agent makes the same mistake twice, the fix goes into the standard or into a test, not into a one-off correction in a chat that will be forgotten by the next session.

## Reading diffs is the job

I review every change. That sounds slow, and it is slower than not reviewing, but it is fast compared with writing everything by hand, and it is the only way the decisions remain mine.

Two things get particular attention in review:

- **Changes to tests.** The easiest way for an agent to make a failing test pass is to weaken the test. A diff that touches both the code and its tests is read test-first.
- **What is missing.** Agents are good at what they were asked to do and less good at noticing what nobody mentioned: the authorisation check that should exist, the error path that should fail closed. That is the part of review a checklist cannot fully replace.

## Release gates

Nothing reaches production because it looked fine locally. A change ships only when type checks, linting, the full test suite and the build all pass. Production releases are then signed, with a manifest of every file's hash, using a key that never sits on a build server.

The gates are not there because agents are untrustworthy. They are there because nobody is trustworthy at three in the morning, including me.

## What changed, and what did not

Coding agents removed most of the cost of typing, and most of the excuses for not writing tests. They did not remove the need for judgement about architecture, security, trade-offs and what to build next. If anything, they concentrated the job there. For a founder, that is the real leverage: capital goes into judgement and verification rather than into headcount.

The right mental model, for me, is not "AI wrote the code". It is closer to running a very fast team that never gets tired, needs very precise instructions, and is checked by a test suite that does not care who wrote the line it is testing.
