Topic

testing

4 min read

When Your Agent Summarizes Your Codebase, It Quietly Drops the Types

An agent reads your file, writes a summary for the next session, and in that paraphrase the generic constraint, the discriminated union, the branded ID all collapse into a vague noun. The next session then builds on a version of your code that never existed.

Read article
5 min read

Your Agent Says Tests Pass. On Your Laptop. Not on CI.

An agent that runs tests locally and reports green is telling the truth — but only on its machine, where the .env, the local DB, and the cached node_modules exist. CI runs a clean checkout. The gap shows up in your pipeline.

Read article
4 min read

The Test That Survives Its Own Implementation

When you ask an AI agent to add tests, it writes tests that pass on the first run. That's the problem. The sanity check is cheaper than you think: delete the implementation and see which tests still go green.

Read article
2 min read

Your agent runs the tests that are fast. The slow ones tell the truth.

When you tell an agent to 'run the tests,' it runs the subset that finishes in under thirty seconds. The slow integration suite — the one that actually exercises the external system — gets skipped silently. Here's the cheap habit that catches it.

Read article
3 min read

Every Agent Task Should End With a Command You Can Run

An agent's claim of 'done' is worthless without a one-line command that proves it. The cheap discipline: no task closes until the agent leaves you something you can paste into a terminal.

Read article