Claude makes a change, a test fails, Claude tries something else, that fails too. The --max-turns cap stops it, but the loop can burn real money before tripping.
--max-turns