Short answer: Blackening, porosity and distortion in gold and silver spot welding are rarely caused by a single factor. Cleaning, energy settings, focus, shielding gas and metal purity all matter. Change one variable at a time and record your parameters.
Blackening
Check cleaning first, then reduce energy, verify shielding gas coverage and recalibrate focus. Metal purity also affects discoloration.
Porosity
Check material quality, improve pre-weld cleaning, slow down slightly and ensure stable gas supply.
Distortion
Reduce power and pulse width, use fixtures, and remove gemstones where needed.