- Check local disk first in patch_frontend.py to avoid remote HTTP retrieval
- Use robust streaming with timeout and user-agent fallback instead of urlretrieve
- Include pre-patched frontend JS files in deploy/patches
- Add safe fallback in install.sh so optional patch generation does not fail deployment