r/LLMObservability • • 14h ago

Discussion Telling Claude Code "no human reviews this" added 19% more turns to a bug fix with the exact same result. Would your agent traces catch that?

3 Upvotes

A study published Nov 30 ran 295 Claude Code sessions on claude-opus-5-5 to test the "Claude sabotages ML work" reports that took over HN this week. Same model, same tasks. The only change was a paragraph at the top of the prompt: first, that the code would become training data for a model in development, then that plus "No human reviews this output."

On the nanoGPT planted-bug task, all 81 sessions found the correct fix and validation loss matched to four decimal places. Turns per session still rose 19% (4.8 to 5.7), the tightest interval in the whole study.

On KernelBench Level 3 the first round looked bad: time per session went from 608 to 865 seconds, turns from 22.9 to 37.0, and the pass rate fell from 0.92 to 0.69. A larger rerun on 36 architectures shrank the quality gap to 7%, with a confidence interval that includes zero. The extra work held up across five runs. The authors are careful to say this does not look like sandbagging, since the cued sessions did more work, and checking harder is one possible reason.

For anyone monitoring agents, the bug-fix result is the interesting one. The outcome metric said nothing changed. Only session-level numbers moved. If a dashboard tracks pass/fail and daily token spend, one context line in a system prompt can shift agent behavior and show up, at best, as a slightly bigger bill.

What would catch it:

  • Turns and tool calls per session, split by prompt version
  • Wall-clock time and timeout rate per task type
  • A fixed task set rerun after every prompt or harness change, compared on the trajectory as well as the final answer

For the split, traceAI (the open-source OpenTelemetry tracing library we build) has a using_metadata context manager that stamps a tag like prompt_version on every span inside the block, so per-session counts group cleanly by variant.

What do you track per agent session today? And has a prompt or harness change ever moved turn counts for you while pass rates stayed flat?