Recover Lost Commits After Git Detached HEAD - Resolve Python UnicodeDecodeError When Loading JSON-Troubleshooting pnpm EACCES Errors on Mac

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.