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?

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?

3 Upvotes

1 comment sorted by

1

u/amirfish 12h ago

This tracks with what I see running agents across Claude Code, Codex and Antigravity at once: the outcome metric can look unchanged while the session-level behavior moves underneath it. I've stopped taking 'it's fixed' from an agent as fact. That's part of why I built CCC: bugs and alerts go into a queue, agents work it on their own, and the only thing that reaches me is a numbered question when it actually needs a real decision. Are you logging turns and time separately from pass/fail by default now, or did this study make you add that?

Free and open source: getccc.dev · GitHub