Build Repair
- Run the exact failing build in a clean-enough environment and capture the first causal error.
- Check runtime versions, generated files, environment variables, native toolchains, and case-sensitive paths.
- Fix source ownership rather than patching output artifacts.
- Re-run the failed target, then the nearest dependent targets.
- Test the packaged or installed artifact, not only the source-tree command.
- Document environmental prerequisites that cannot be encoded.