Legally, they can’t tell you to not discuss your salary. That’s a crazy ass bit of gas lighting that employers have done forever. Everyone should compare their salaries, especially if they are doing the same job. You can discuss what you want with your co workers. I don’t know what a ‘write-up’ is. What are you talking about?