Topic

coding

3 min read

Keeping Cursor's Rules and the OpenAPI Contract in Sync

Quick answer: Cursor rules and an OpenAPI contract are two sources of truth that will drift the moment they are edited separately, and the agent ends up following whichever is

Read article
2 min read

Redact Before You Paste It Into the Coding Agent

The prompt is not a scratchpad. A token, an internal hostname, or customer PII you paste into the agent lives in a log you do not fully control, long after the fix ships.

Read article
4 min read

The agent argued against a file it had not re-read in twenty turns

The agent reads a file once and keeps that buffer across a long session. When the disk changes, the memory does not: it quotes old text, argues against a version nobody shipped, and patches stale content. The gate: invalidate the cache and re-read before editing.

Read article
2 min read

The agent overwrote its own fix three edits later

The agent overwrote its own null check three edits later. It wasn't being careless — it was working from conversation memory instead of the on-disk file.

Read article
4 min read

The Agent Fixed the TypeScript Error by Adding `as any`

When a type error blocks the build, the agent's fastest fix is usually to erase the type instead of understanding it. The build goes green. The real bug moves somewhere quieter.

Read article
3 min read

Your AI Agent's Exit Code Is Lying to You

An agent that exits 0 is not an agent that did the thing. It just means whatever it ran didn't blow up. Here's the cheap verification gate I stopped skipping.

Read article