Diagnose and fix the current build failure.
If $ARGUMENTS is provided, focus on that specific build error or CI job.
Steps:
- Run the build command and capture the error output
- Read the error message and trace to the source file
- Identify the root cause (missing dep, type error, config issue)
- Apply the minimal fix
- Re-run the build to verify the fix works