Rules Nobody Wrote Down
The jianghu has no government, no courts, and no police. What it has instead is a set of unwritten rules that function as a social contract. Break them and you lose face. Lose face and you lose allies. Lose allies and you are alone in a world where being alone gets you killed.
The Core Rules
A debt of gratitude must be repaid (有恩必报, yǒu ēn bì bào). If someone saves your life, you owe them. This debt can be called in at any time, for any reason. Many wuxia plots are driven by characters trapped between conflicting debts — you owe your life to person A, but person A asks you to betray person B, who also saved your life.
A promise is absolute (一诺千金, yī nuò qiān jīn — "one promise is worth a thousand gold"). Once you give your word, you keep it. Even if circumstances change. Even if keeping the promise will destroy you. Characters who break promises are marked as untrustworthy, and in the jianghu, reputation is survival.
Revenge is obligatory (有仇必报, yǒu chóu bì bào). If someone kills your master, your parent, or your spouse, you are expected to seek revenge. Failure to do so is not forgiveness — it is cowardice. This creates cycles of violence that can span generations, which is exactly the point. The revenge obligation is the jianghu's most destructive rule and its most reliable plot generator.
Hospitality to travelers. A martial artist who arrives at your door hungry and tired must be fed and sheltered. This rule exists because everyone in the jianghu is a traveler at some point. Today's host is tomorrow's guest.
Do not harm the innocent. The jianghu's conflicts are between martial artists. Involving civilians — farmers, merchants, children — is considered beneath contempt. Villains who violate this rule are the ones the genre treats most harshly.
The Rules as Plot Engine
The genius of the jianghu code is that its rules frequently conflict with each other. You must repay debts AND seek revenge — but what if the person you owe is the person you must avenge against? You must keep promises AND protect the innocent — but what if your promise requires you to harm innocents?
These conflicts are not bugs in the system. They are the system. Wuxia fiction exists in the space between competing obligations, and the best stories are about characters who must choose which rule to break.
Who Enforces the Rules?
Nobody and everybody. The jianghu code is enforced by reputation. Word travels fast in the martial world — tea houses, wine shops, and the Beggars Sect's intelligence network ensure that everyone knows who kept their word and who did not.
A martial artist with a good reputation can travel safely, find allies easily, and command respect. A martial artist with a bad reputation is a target. The code enforces itself through social pressure, which is both its strength and its weakness — because social pressure can be manipulated by anyone clever enough to control the narrative.