Shapeshifter + (grants spells traits)

If you shapeshift or add a trait mid-battle that grants spells (like earthen attunement), your creatures are not granted those spells to cast.

Other traits that grant stats like Cerberus line also don’t grant the stats but carry the no-cast penalty.