Your mechs will attack and destroy any hostile mechs they're close to - it's not communicated very well and the TTK is probably too long.
Your own mechs/carrier doesn't take any damage at present. Hope this helps clear things up :)