環境変数

CLAUDE_CODE_MAX_TURNS

明示的な制限が指定されていない場合の自律的なエージェントターンの回数上限を設定します。

英語原文(公式ドキュメントより)

Cap the number of agentic turns when no explicit limit is passed. Equivalent to passing --max-turns, which takes precedence when both are set. A value that is not a positive integer is rejected at startup with an error rather than treated as no cap

まだ変更履歴との関連付けはありません