The rules of collaboration, implicit and explicit, vary from one field to another in physics. This variation has not been studied much, although many general articles on collaboration exist.
Thomsen, Marshall, "Annotated Bibliography of Ethical Issues in Physics: Collaboration" (2010). Ethics in Science and Engineering National Clearinghouse. Paper 380.