Fix all lint, format, and type errors in the current changes.

1. Read CLAUDE.md to find the project's lint, format, and type-check commands.
2. Run each command and collect errors.
3. Fix all reported issues.
4. Re-run the commands to verify everything is clean.

Do not change logic or behavior — only fix style, formatting, and type issues.
