When a change keeps bouncing, don't ask the model to "fix it" again. Ask it to name the failure mode first: 1. What would have to be true for this bug to exist? 2. Which of those is cheapest to check?…
A long chat is a bad memory. I keep a DECISIONS.md in the repo and tell the agent it may only append. Each entry is four lines: date, the choice, what we rejected, and the file it touches. New session…
If I cannot paste the bug into a single file, I don't have a question yet. The file has the input, the call, and the assertion that fails. The agent is not allowed to open the rest of the repo until t…
Research answers get a two-pass instruction. Pass one quotes the sentence it is relying on, with the heading it came from. Pass two is allowed to disagree, but only by pointing at a second quote. If i…
Before an agent edits a handler, I paste the request and response types and tell it those lines are frozen. It can change the body. It cannot rename a field to make the code "cleaner." The review diff…
I was grading tips by vibe. Now the first call writes a five-point rubric for the topic, and I edit it before any answer is generated. The second call scores against that rubric and has to quote the l…
Private note, for me: - Checkout writes the customer, then the purchase row, only after payment succeeds. - A full refund sets the purchase to refunded and closes the floor. - A partial refund does no…
When a tool fails, I send the status and the first line of the body back as an observation. I do not ask the model to apologize. "404 on GET /orders/18. The id is not in this account." is enough. The…