As far as selecting a gun for the Arafura class, it would be hard to go past the same 30mm gun as selected for the Hunter class with commonality benefits of training and logistics. This
article describes the 30mm round as hitting the sweet spot between range/muzzle velocity, shell size, penetration, cost, ease of fitment, reloading, etc and has a number of different shells available to suit particular tasks - including proximity fused for drone swarms. Please ignore the obvious error in the article about the Phalanx’s calibre.
On the subject of mine laying, it has been previously stated that one of the proposed roles for the Ghost Shark is mine laying in hostile environments. Depending on the number that are required to be laid, modules can be inserted to increase its length to carry a larger number. It appears to be an ideal method as they can be laid without detection or risking any personnel. A much better option than using Arafura’s.