FIELD NOTES / ENGINEERING

The code passed.
The page was still wrong.

We've shipped mistakes that unit tests, type checks, and successful HTTP responses couldn't see. They looked fine in the code. They failed in the thing people actually received.

So we changed what “tested” means. This is the system those misses taught us to build—and where it still needs work.

EXAMPLE INSPECTION LOG
All checks green. One problem.
✓ Type checkPASS
✓ Unit testsPASS
✓ HTTP response200 OK
! Content in served HTMLMISSING
↳ The browser made it look complete. The crawler received an empty shell.
AN OPEN ACCOUNT OF HOW WE BUILD TRUSTSCROLL TO EXPLORE ↓

Our rule: test the output your users receive, not just the story your code tells about itself.

01—04 / THE SYSTEM
THE TESTING STACK

Four layers.
Four different blind spots.

We start with fast, inexpensive checks and widen the lens until we're testing the finished page and the experience of someone seeing it for the first time.

01
ON SAVE Automated

Unit tests

One right answer? Check it immediately. Parsers, formatters, clamps, money calculations, and other deterministic logic get fast Jest coverage.

WHAT IT CATCHES

Quiet regressions in the code's smallest moving parts.

02
EVERY PULL REQUEST Automated

Build and security gates

Lint, type checks and tests have to pass before anything merges. Row-level security and migration audits and a production-style prerender build run alongside them.

WHAT IT CATCHES

Build-only errors, unprotected tables, and changes that don't survive a real build.

04
SCHEDULED RUNS AI + human review

First-visitor testing

Cost-capped AI Personas browse with goals and unfamiliar eyes. They report the dead ends and confusing language nobody thought to assert. A human decides what is real.

WHAT IT CATCHES

The assumptions a scripted test inherits from its author.

✳

These layers complement one another. The third—often the most revealing—is also the one we have not fully automated. We explain that gap below

CASE FILE / 001THE GREEN-CHECK PROBLEM
A REAL MISS

The page looked right.
The crawler saw nothing.

A writer page included Schema.org data—the structured information that helps search engines understand who an author is. In a browser, it appeared. In a rendered-HTML validator, it passed.

But that data arrived only after JavaScript ran. The first HTML response—the thing a crawler might actually read—didn't contain it.

A single fetch of the served HTML revealed the mismatch. We checked every public page and found five surfaces shipping near-empty shells before client-side loading. We fixed them.

More failures that changed our rules
TWO VIEWS OF ONE PAGESIMPLIFIED EXAMPLE
IN THE BROWSERLOOKS GOOD
/writers/example
✓ Profile and schema visible after JavaScript
IN THE HTML RESPONSEMISSING
<body>
<div id="app"></div>
<!-- no author data -->
</body>
× The important content never shipped in HTML
THE LESSON

Open the actual response. Don't assume the browser tells the entire story.

MORE RULES, EARNED THE HARD WAY

The mistake.
Then the safeguard.

Each rule below came from a specific failure or a claim we refused to publish without checking.

02 / GENERATED FILES

A WebP that wasn't a WebP.

A generated image looked fine but was actually a 2 MB PNG saved with a .webp extension. The browser didn't complain. The bytes told the truth.

OUR RULECheck the file format separately from what the image looks like.
03 / PRODUCT CLAIMS

“We don't store your text.” Prove it.

Before another product repeated that promise, we inspected the data path end to end. Only usage metadata was persisted, not the material people pasted.

OUR RULEAudit the actual writes before a privacy guarantee leaves the building.
04 / CODING AGENTS

The instructions were the bug.

Our agent instruction file grew to 452 lines. Secret-file protections and a check-before-finish hook were missing. None of that would break a build.

OUR RULEInspect the agent's setup—not only the code it produces.
THE UNEXPECTED CHECK

A first-time visitor doesn't
know your test plan.

Scripted tests follow the path we thought of. Our AI Personas arrive with a goal and a different set of assumptions. They look for a way through—and report where they get lost.

THE HUNGRY CUSTOMER

Marcus, 34

It's 7 p.m. He needs dinner tonight. He won't tolerate a sign-up wall between him and a menu.

WHAT HE NOTICESEvery step that makes ordering feel harder than leaving for another app.
THE SKEPTICAL OWNER

Priya, 51

Someone sent her a page about her own restaurant. Who made it? Is it real? What does it cost?

WHAT SHE NOTICESWhether the claim-your-page journey feels like an offer or a trap.
THE RETURNING JOB SEEKER

Dana, 38

She's job hunting after nine years away. New terminology shouldn't make her feel excluded.

WHAT SHE NOTICESEvery phrase that assumes a newcomer already knows the jargon.
A PERSONA IS NOT A PERSON

Findings go to triage.
Never straight to truth.

AI browsing is useful because it's unfamiliar with our assumptions. It's also fallible. So every observation starts as an unconfirmed claim, and only human review can turn it into a task.

  • 01 Directly encountered friction is stronger evidence than something the agent couldn't find.
  • 02 Every finding keeps a clear label: AI observation, not human testing.
  • 03 Runs have step limits, spending caps, and a kill switch. A test has to be affordable to repeat.
See AI Persona Testing
PERSONA RUN / TRIAGEILLUSTRATIVE REPORT
SESSION STATUSReview required
EVIDENCE TYPESEncountered / Searched
HIGHENCOUNTEREDIN TRIAGE

Dish search returns no results, but the page still claims “201 dishes.”

MEDENCOUNTEREDIN TRIAGE

The hero is selling a claim-your-page offer to a visitor who's trying to order food.

LOWSEARCHED / NOT FOUNDIN TRIAGE

The agent couldn't locate a cuisine filter. This is weaker evidence—it may not have looked thoroughly.

AI observations are claims until a human confirms them. These examples are illustrative, not live dashboard data.
THE HONEST GAP

The check that caught our biggest misses is still too manual.

The rendered-artifact inspection requires something deployed to examine. Today it happens by discipline and on demand—not automatically in every CI run.

We're comfortable saying that out loud. A testing page should describe the system that exists, not the one we wish we had.

OPEN WORK / 01 NOT AUTOMATED

Post-deploy artifact checks

Make served-HTML checks and visual verification a repeatable, reliable gate after deployment.

THE CURRENT REALITYHuman-run inspection
OPEN WORK / 02 GUARDRAILS PENDING

Agent environment safeguards

The instruction file is down from 452 lines to 172. A deny rule for secret files and a hook that checks the work before the agent stops are not in yet: both govern every later session, so they are the owner's call.

OUR STANDARD

A passing test is a starting point.
Trust is the work after it.

These practices aren't a manifesto. They're what we wrote down after something escaped—and the least expensive check that would have caught it sooner.

How we test — HiveJournal | HiveJournal