Guide for developers · part 5 of 5
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.
Updated 2026-10-18
Your agent can get worse while you change nothing: the vendor changes a default, a prompt or the model behind a name. You will not notice by feel, and a single run will not tell you. A few fixed tasks with checks, rerun when something changes, will.
It happened, and the vendor's own evals missed it at first
On 23 April 2026 Anthropic traced weeks of complaints about Claude Code to three separate changes:
- On 4 March, the default reasoning effort went from high to medium, to cut long waits. It was reverted on 7 April.
- On 26 March, a change meant to clear old thinking from sessions idle for over an hour had a bug: it kept clearing it on every turn, so Claude seemed forgetful and repetitive. Fixed on 10 April.
- On 16 April, a system prompt line to reduce verbosity, together with other prompt changes, hurt coding quality. Reverted on 20 April.
Each change hit a different slice of users on a different schedule. At first the reports were hard to tell apart from normal variation, and neither Anthropic's internal usage nor its evals reproduced the problems. What helped, by Anthropic's account, were users who sent feedback with /feedback or posted specific examples that could be reproduced.
The first change is the lesson for your own setup: a default changed under you. A script that names its model and effort is not affected when a default moves.
Your sense of speed is not a measurement
In METR's trial with experienced open-source developers (July 2025), the developers expected AI to make them 24% faster. With AI they took 19% longer, and afterwards they still believed they had been 20% faster. METR has since said that these early-2025 results no longer reflect current tools. The gap between what people felt and what was measured is the point here.
One run tells you little
The same prompt, files and settings do not give the same result every time. In part 1, Codex at its default changed the contradicting test in 4 of 5 runs and left it alone in 1 of 5. In part 3, the same Codex review of the same change found 4–5 of 6 planted bugs. In part 4, identical Opus runs cost $0.26 – $0.40. To see a change, compare several runs before and after, not one.
A check you can rerun
This script runs one task a few times and adds a line per run to results.csv: date, tool, version, model, effort, whether the result passed your check, time and, for Claude Code, cost. A task is a folder with the starting files in project/, the prompt in prompt.txt, and a check.sh that exits with 0 when the result is right. Keep the check out of project/, so the agent never sees it.
#!/bin/bash
# usage: MODEL=sonnet EFFORT=low ALLOW="Bash(python3 -m unittest*)" ./agent-check.sh tasks/duration 3 claude
# MODEL=gpt-5.6-sol EFFORT=low ./agent-check.sh tasks/duration 3 codex
set -u
task=$(cd "$1" && pwd); runs=$2; tool=$3
[ -f results.csv ] || echo "date,tool,version,model,effort,task,run,passed,seconds,cost_usd" > results.csv
for i in $(seq 1 "$runs"); do
work=$(mktemp -d); cp -R "$task/project/." "$work"
start=$(date +%s); cost=""
if [ "$tool" = claude ]; then
version=$(claude --version | cut -d' ' -f1)
cost=$(cd "$work" && claude -p "$(cat "$task/prompt.txt")" --model "$MODEL" --effort "$EFFORT" \
--permission-mode acceptEdits --allowedTools "${ALLOW:-}" --output-format json < /dev/null |
python3 -c 'import json,sys; print(json.load(sys.stdin).get("total_cost_usd", ""))')
else
version=$(codex --version | cut -d' ' -f2)
codex exec "$(cat "$task/prompt.txt")" -C "$work" -m "$MODEL" -c model_reasoning_effort="$EFFORT" \
-s workspace-write --skip-git-repo-check > /dev/null 2>&1 < /dev/null
fi
secs=$(( $(date +%s) - start ))
(cd "$work" && bash "$task/check.sh") > /dev/null 2>&1 && passed=1 || passed=0
echo "$(date -u +%F),$tool,$version,$MODEL,$EFFORT,$(basename "$task"),$i,$passed,$secs,$cost" >> results.csv
rm -rf "$work"
done
We ran it on the duration task from part 1, with the wrong test corrected and our hidden checks as check.sh, two runs per tool. Before that we ran the check on the untouched starting code, and it failed, so the check tests something. The output:
date,tool,version,model,effort,task,run,passed,seconds,cost_usd
2026-10-18,claude,2.1.302,sonnet,low,duration,1,1,17,0.23500120000000002
2026-10-18,claude,2.1.302,sonnet,low,duration,2,1,15,0.18531640000000002
2026-10-18,codex,0.145.0,gpt-5.6-sol,low,duration,1,1,26,
2026-10-18,codex,0.145.0,gpt-5.6-sol,low,duration,2,1,26,
These Claude runs used our everyday setup, which is why they cost more than the safe-mode runs in part 4.
What to do
- Name the model and the effort in every script and saved setting. Record
claude --versionorcodex --versionwith each result. - Build three to five small tasks from your own code, each with a check the agent never sees.
- Rerun them after every tool update and whenever the agent feels off, three runs or more each.
- If results drop on a new version and the old version still passes, report it with the version, the task and the logs. By Anthropic's account, that kind of report is what found the April problems.
Tools
Sources
- An update on recent Claude Code quality reports (Anthropic, read 2026-10-18)
- Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity (METR, read 2026-10-18)