In ancient times, "clan rules," or "family laws," were universally prevalent.
Whether it concerned the martial world or the Daoist sects, many factions prioritized their "family laws" perhaps even above the "imperial law."
For any sect or family that wanted to pass down their unique set of values internally and ensure the disciples esteemed the Sect Leader's authority, it was essential to have a set of clan rules or family laws that seemed just and strict at the very least, to guarantee their execution to the greatest extent.
Of course, since these are "laws," penalties varied greatly depending on the severity of the offense committed.
Minor offenses, such as slacking off during chores or snatching a pancake from the kitchen when hungry, although violations, would not cause much fuss; the most it would lead to was a verbal warning from the offender's master or senior brother, followed by some additional chores as punishment.