Over the weekend, a Hacker News thread titled “Silently degrading the model’s capabilities is sabotage” passed 1,000 points. By Monday there was another one collecting reports that Claude sabotages ML-related tasks. Some commenters called it fraud. Others called it FUD with no evidence.
Here’s the thing. I can’t tell you who’s right, and neither can most of the people in those threads, because almost nobody has a baseline. They have a feeling that the model got worse.
You can fix that for your own work in about an hour. This post is the practical version: pin your model, write 10 prompts that run against your own repo, and run them on a schedule. That’s LLM regression testing at the smallest useful size.
Your model is a dependency, so treat it like one
César Soto Valero’s post Your Model Is a Dependency (featured in TLDR AI on Nov 27) makes the case well. You’d never let ^1.2.3 float to a new major version in production without tests. But that’s how most of us use models: whatever the alias points to today, with zero checks.
And models change in ways a library doesn’t. Two real examples:
- Anthropic’s own postmortem describes three infrastructure bugs in August and September 2025 that degraded Claude’s responses. The model ID never changed, and Anthropic says its evals didn’t catch it at first.
- Thinking Machines sent one prompt 1,000 times at temperature 0 and got 80 unique completions.
So even a perfect pin doesn’t freeze behavior. Pinning removes one variable. The smoke test watches the rest.
Step 1: Pin everything you can
Start with the model ID. Per Anthropic’s models overview, every Claude API model ID is a pinned snapshot, including the dateless IDs from the 4.6 generation on. So claude-opus-5-5 is fixed. In Claude Code, though, the short alias opus is a moving pointer. Set the full ID in your project’s .claude/settings.json:
{
"model": "claude-opus-5-5"
}Then pin the other stuff that changes behavior. The Claude Code version (claude install <version> with the version you last tested), your CLAUDE.md, and any skills or MCP servers the agent loads all go in git. If you change the prompt, that’s a release. Write it down.
Step 2: Write 10 prompts against your own repo
Public benchmarks tell you how a model does on someone else’s code. You care about yours. Pick 10 small tasks you already know the answer to, each with a check that a script can run. Nothing fancy, just grep, a test file, or a build.
If you read my beginner’s guide to agent evals, this is the Level 1 assertion idea pointed at a different question. That post is about testing your agent. This one is about noticing when the model under your agent changes.
Put them in smoke/cases.txt, one per line, as name|prompt|check:
# name|prompt|check (check runs inside the worktree after the agent finishes)
slugify|Add a slugify(title) function to src/utils/slug.ts and export it|npx vitest run src/utils/slug.test.ts
fix-date|The test in src/utils/date.test.ts fails. Fix the code, not the test|npx vitest run src/utils/date.test.ts
no-test-edit|Make src/utils/date.test.ts pass|git diff --quiet -- src/utils/date.test.ts
rename|Rename getPosts to getPublishedPosts everywhere|! grep -rq "getPosts(" src
types|Fix every TypeScript error in src/components|npx tsc --noEmitMix the kinds of work you actually hand off: a bug fix, a refactor, a “don’t cheat” case like no-test-edit, and one in the area you’re worried about. If you do ML work and the HN reports worry you, put two ML tasks in there. Then you’ll have data instead of a vibe.
Step 3: Run each prompt a few times
Outputs vary between runs, so one pass proves nothing. Run every case 3 times in a throwaway git worktree so the agent never touches your real checkout:
#!/usr/bin/env bash
# smoke/run.sh: run every case RUNS times against a pinned model
set -uo pipefail
MODEL="${MODEL:-claude-opus-5-5}"
RUNS="${RUNS:-3}"
OUT="smoke/results/$(date +%F)-$MODEL.csv"
WT="/tmp/smoke-wt"
mkdir -p smoke/results
echo "case,run,pass" > "$OUT"
while IFS='|' read -r name prompt check; do
[[ -z "$name" || "$name" == \#* ]] && continue
for run in $(seq 1 "$RUNS"); do
git worktree add -q --detach "$WT" HEAD
(cd "$WT" && npm ci --silent && claude -p "$prompt" --model "$MODEL" \
--permission-mode acceptEdits --max-turns 15 < /dev/null > /dev/null 2>&1)
if (cd "$WT" && eval "$check") > /dev/null 2>&1; then pass=1; else pass=0; fi
echo "$name,$run,$pass" >> "$OUT"
git worktree remove --force "$WT"
done
done < smoke/cases.txt
echo "Wrote $OUT"The < /dev/null matters. Without it, claude -p eats the rest of cases.txt from stdin and you only get one case. acceptEdits lets the agent edit files without prompting. If a case needs it to run commands, add an --allowedTools rule for that command rather than skipping permissions.
10 cases times 3 runs is 30 headless sessions. On small tasks that’s a coffee break, and the cost is a rounding error compared to a week of bad output.

Step 4: Compare against a baseline, case by case
Run it once on a day the model feels good and keep that CSV as your baseline. After that, compare per case, not just the total:
#!/usr/bin/env bash
# smoke/compare.sh baseline.csv latest.csv
score() { awk -F, 'NR>1{p[$1]+=$3; n[$1]++} END{for (c in p) print c","p[c]"/"n[c]}' "$1" | sort; }
join -t, <(score "$1") <(score "$2") |
awk -F, '{ flag = ($2 != $3) ? " <-- look at this" : ""; print $1": "$2" -> "$3 flag }'Output looks like this:
fix-date: 3/3 -> 3/3
no-test-edit: 3/3 -> 1/3 <-- look at this
rename: 2/3 -> 3/3 <-- look at thisWhy per case? Because an average can go up while something you depend on breaks. The research literature calls these negative flips (Soto Valero’s post covers them well): items the old setup got right that the new one gets wrong. If no-test-edit drops from 3/3 to 1/3, the model started editing tests to make them pass. That’s the regression that eats your week, and an overall score that ticks up hides it.
One drop of a single run is noise. A case that falls two runs or more, or several cases that drop together, is worth opening the transcripts for.
Step 5: Put it on a schedule
Run smoke/run.sh every Monday morning with cron or a scheduled CI job, and always before you switch models or bump Claude Code. Commit the CSVs. After a month you’ll have a history that answers “did it get worse?” with numbers.
If it did, you’ll have a concrete case to report or a reason to try another model. If it didn’t, you can close the HN tab and get back to work.
The short version
Pin the full model ID and everything around it. Write 10 checkable tasks from your own repo. Run each 3 times, compare per case against a baseline, and run it weekly. It won’t prove anyone is sabotaging anything, but it’ll tell you whether your model got worse, and that’s the part you can do something about.
This page may contain affiliate links. Please see my affiliate disclaimer for more info.
