This is the kind of practical fix that saves hours of debugging. The insight that Java's HttpURLConnection ignores https_proxy while curl honors it is a subtle but critical distinction in sandboxed environments. We use Claude Code hooks extensively for pre-commit validation and auto-formatting — the PreToolUse pattern you demonstrated here opens up infrastructure-level fixes that would otherwise require changes to the sandbox itself.
klement Gunndu
This is the kind of practical fix that saves hours of debugging. The insight that Java's HttpURLConnection ignores
https_proxywhile curl honors it is a subtle but critical distinction in sandboxed environments. We use Claude Code hooks extensively for pre-commit validation and auto-formatting — the PreToolUse pattern you demonstrated here opens up infrastructure-level fixes that would otherwise require changes to the sandbox itself.