The Agent Edits a Generated File That Gets Overwritten on the Next Build
Quick answer: If a file is produced by a generator, any hand edit inside it is borrowed time. The next build rewrites the file from its source of truth and
Read articleTopic
Quick answer: If a file is produced by a generator, any hand edit inside it is borrowed time. The next build rewrites the file from its source of truth and
Read articleQuick answer: Pointing an agent at a registry entry that always resolves to "latest" means the tools it calls can change underneath you without a commit or review,
Read articleQuick 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 articleQuick answer: An MCP server can expose every operation correctly and still fail in practice, because the model chooses a tool by reading its name and description. When descriptions are
Read articleQuick answer: An agent has no memory of a fix it made in a previous session, so nothing structurally stops it from reintroducing the exact bug you already paid to
Read articleThe 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 articleThe 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 articleThe 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 articleWhen 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 articleAn 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 articleThe agent solved a small data-munging task by writing a 40-line Python script. Two months later, nobody on the team remembers how to run it, and it is the only thing that produces that CSV.
Read articleAn agent wraps a flaky HTTP call in a retry loop. It retries on every non-2xx. The auth token expired on day two, and the loop retried 30 times per request for the next three weeks.
Read article