Claude Code in Production: How to Keep Long Runs Stable