naive to think people would follow this policy in the spirit in which it’s intended, but even then it clearly selects for the most social animals amongst your students instead of the most talented. And discussion alone is all it takes to describe the right approach, so if that’s the test, it’s meaningless to protect the mechanical syntax of implementation.
Clearly in this world the frats and the sorority members get the highest scores, and after that the best looking, the most amusing or charming etc.. so unless that’s the intent the whole approach is perhaps worth reconsidering.
If you want to teach to improve your understanding the normal thing is you become a TA so that access is open.. not open every assignment to ad hoc collaboration so you disadvantage half of the students on every assignment