Fix Docker Build Context Canceled by Symlink Errors - Git Detached HEAD: Merge Changes to Master-Permission Denied Error with pip install --user

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.