Kısaca
On some pirate ships, the captain was not absolute: rules were written, shares were set, and a captain could even be removed by vote. Chaos was sometimes managed by contract.
Pirate stories are often told as random violence, yet survival at sea demands order. If dozens of armed people live on one ship, the way disputes are resolved must be defined in advance.
That is why some pirate groups wrote articles that clarified shares and punishments. Loot division and compensation for injuries worked like insurance for a high risk job.
The most surprising detail is that the captain was not always the final word. In some cases the captain held authority mainly during battle, while everyday decisions leaned toward crew power.
It shows that governance can emerge even under harsh conditions. Justice was not perfect, but the instinct to bind behavior with rules appears in unexpected corners of history.