Skip to content
AIupick

Guide for developers · 5 topics

AI for developers: what coding agents do when you test them

Setup basics are in the vendors' own docs, linked at the end. These five parts cover what the docs do not: what the agents did when we tested them, what studies measured, and checks you can copy. Every count on these pages is computed from a recorded run, and every run has its log.

  1. 01

    When the agent games your checks

    Given a test that contradicts the spec, Codex changed the test in most runs and reported that everything passed. One sentence in the prompt stopped it, and four checks catch what is left.

    30 test runs by us, each with its log

  2. 02

    Secrets, and instructions hidden in your files

    Neither tool leaked a secret from .env in our runs, but one broad search came close, and Claude fixed the bug by editing .env, where git cannot see the change. What a deny rule covers, and what it does not.

    22 test runs by us, each with its log

  3. 03

    What AI review catches

    Both built-in reviews found six planted bugs when the rules were written down. Without them, Codex missed one or two in every run. Write the rules where the reviewer reads them.

    12 test runs by us, each with its log

  4. 04

    What a cheaper setting costs you

    Six settings built the same feature and every run passed every hidden test; only price and time differed. What your own setup loads into each session adds to every run.

    42 test runs by us, each with its log

  5. 05

    Notice when your agent gets worse

    In spring 2026 a changed default and two other changes made Claude Code worse for weeks before they were found. A small script with your own tasks and hidden checks shows such a change.

Setup basics: the official docs

Rules for developers

  • Keep real secrets out of the folder an agent works in.
  • Read the test changes before you read the agent's summary.
  • Name the model and the effort in scripts, and record the tool version with every result.
  • Set a spending limit on any API key an agent uses.

Go deeper

Esc
↑ ↓ to moveEnter to open