環境変数
CLAUDE_CODE_ARTIFACT_PUBLISH_EDITS
0 を設定すると、Claude がアーティファクトの公開の一部としてファイルに小さな変更を加えなくなります。Claude は代わりにファイル編集ツールでファイルを編集し、公開を別のステップとして行います。Claude Code v2.1.300 以降が必要です。
英語原文(公式ドキュメントより)
Set to 0 to stop Claude from applying small changes to an artifact's file as part of publishing it. Claude then edits the file with its file-editing tools and publishes it as a separate step. Requires Claude Code v2.1.300 or later
まだ変更履歴との関連付けはありません