- Keep Go module/build and bun caches in cache mounts instead of layers. - Split base tool downloads into layers ordered by change frequency. - Use curl -f and pipefail so failed downloads break the build. - Resolve the lazygit version from the release redirect instead of the rate-limited GitHub API. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>