Late Tang, on the river below the walls of Guangzhou.
A young merchant moored his boat at the bank. Above him stood a tall gatehouse, and in it a woman of about twenty was leaning on the rail, not hiding from anyone. He looked up for a long time. Then he said his line: I will come to your house tonight.
She showed no difficulty in it. She nodded, and smiled.
At dusk she opened the door and waited behind it.
The place was Nanhai commandery, which is Guangzhou. From the middle of the Tang onward this was the busiest port in the empire. The court kept an office there to tax incoming cargo, and ships from the southern seas lay at anchor on the river all year. In the western quarter lived merchants from the Abbasid lands and Persia, who brought spices, ivory and glass and took away silk and porcelain.
The riverbank outside the walls was a different world: boat people, porters, shopkeepers, craftsmen, and traders with a little capital who worked the water and moved fast. The young man in this story belongs to that last group. He had a boat, money and time. What he lacked was a sense of proportion.
The case survives in the Collected Cases of Injustices Rectified, compiled in the Song dynasty by Zheng Ke, who took it from a Five Dynasties notebook called Leisure Talk from the Jade Hall. The Great Compendium of the Taiping Era also carries it, in volume 172, under the heading of keen observation. The original ends with a line of praise: the judging of this case by the Duke of Pengcheng may be called enlightened. The Duke of Pengcheng is Liu Chonggui.
Liu was a late Tang official who rose to be military governor of the Lingnan circuit and held Guangzhou. Among the things the histories say about him is that he was good at hearing cases. This is the case that shows it.
It begins with a compliment shouted up at a window, and ends with two pieces of theatre. One person dies in between, and a second almost dies for it.

The old record is unusually detailed about that night. Detailed enough that you can see the movements.
The woman opened the door and waited behind it. The merchant had not arrived. The thief arrived first.
He had come to steal. He felt his way into a room with no lamp, pushed the door, and found someone inside. The person inside came toward him gladly.
She thought he was the man she had agreed to meet.
The thief did not know who she was. He knew that somebody was coming at him. In his reading of the situation, this was a capture. He had a knife in his hand, a kitchen knife, not something he had brought to a burglary but something he had picked up in the house. He used it once, dropped it on the floor and ran. The house made no sound. Nobody in the household noticed.
A little later the young merchant arrived. He pushed the door, stepped inside, and his foot went out from under him on the wet floor.
At first he thought it was water. He put his hand down and smelled blood. He felt again, and found a body lying there.
Then he did something entirely natural and entirely fatal. He ran.
He ran back to his boat and cast off that same night. By daylight he was more than a hundred li downriver.
In the morning the household followed the blood trail to the bank and reported it.
The official reasoning was as simple as arithmetic. Blood ran from the room to the water. A merchant vessel left in the night. Bring the man back, put him in a cell, and beat the account out of him.
The young merchant told the whole thing: the arrangement, the appointment, the blood, the body, the panic, the flight. On one point only he would not agree. He had not killed her.
In some ways this is the most modern passage in the story. Opportunity, presence, flight, and a motive nobody could quite name: all four boxes ticked. Tang procedure did not run on the presumption of innocence. It ran on interrogation, and interrogation had instruments. He held out.
There were limits on paper. The Tang code on trials states that a prisoner may not be tortured more than three times, and that the total number of strokes may not exceed two hundred; after three sessions without a confession the prisoner is to be released on surety. That is the written rule. The other side of it is that when a superior wants a result, there is always room in the way an instrument is used. How long a man lasts in a cell depends on whether anyone outside is speaking for him. In the eyes of that office, this young man was a stranger who had untied his rope in the night and gone.
What spoke for him in the end was the knife on the floor.
A kitchen knife. Liu Chonggui looked at it once and understood. No merchant carries a thing like that. It belongs to someone who works with his hands, and the people who work with that particular tool are butchers.
Tang butchers were a known trade. They belonged to the markets, each with a regular pitch, killing pigs and sheep down by the water or in a yard set aside for it. The knife was their own, honed until the edge had a shallow crescent in it. They also had another quality: they had seen a great deal of blood, and a constable did not frighten them much. If you want to find the owner of a knife, the surest way is not to ask about it. It is to put it back among the men who use one.
The next two moves are the reason the case sits in a chapter on keen observation.
The first was to find the owner.
Liu Chonggui issued an order. On a set date the prefecture would hold a great banquet, and every butcher in the jurisdiction was to assemble at the polo ground to be assigned the slaughter.
They came. Toward evening a second order went out: dismissed for today, come back tomorrow, leave your knives where they are.
When the yard was empty, the office took the murder weapon and swapped it for one of the knives on the ground.
In the morning the butchers came back for their tools. Each man found his own and walked off. One man stood at the back and would not pick anything up.
Why, he was asked. Because that is not my knife, he said.
Whose is it, then. He gave a name.
They went to arrest the man. He had already run.
There is a detail here worth pausing on. How did the butcher know? Because a knife is a livelihood, gripped several hundred times a day. The sweat stain in the handle, the chips in the edge, the side the weight leans to: all of it is his. Liu was betting on exactly that. A man can use a borrowed knife for a day and feel wrong all day. A butcher knows at a glance.
The second move was to bring him back.
A man who has run is hard to catch. Tang policing ran on household registers, ward headmen and checkpoints on the roads. Once a suspect left his county, pursuing him meant paperwork, coordination with another jurisdiction, and time. It also meant warning him.
Liu did something else.
He took a prisoner already under sentence of death and announced that this was the merchant, and had him executed in the market as darkness fell.
It was a public, staged execution. The place was real, the hour was real, the crowd was real. Only the man was substituted.
When the news went out, Liu posted men around the fugitive’s house, day and night.
Within one or two nights the man came home, and they took him.
Why would he come back? Because he had heard that the killer had been beheaded. The case was closed. The heat was off. He had a wife and children in that house. What lures a fugitive home is not a bait. It is the two words: it is over.
Under questioning he confessed to all of it. The record says he was dealt with according to law. It does not give the sentence; under the Tang code a killer was beheaded, and there is no reason to think this was different.
The butcher left no other trace in the record. He had killed one person and nearly made an unrelated stranger die for it. If the knife had not known its own master, the case would have had a very tidy ending inside a Tang jail: a merchant from out of town, convicted under interrogation, executed after the autumn assizes, file closed, and nobody would ever have asked again.
As for the merchant: he was sentenced for entering a house at night, on the adultery statute, and took a beating across the back. That was all.
It helps to see what Tang law was protecting. The statute on entering a house at night without cause provides forty strokes of the light cane, and adds that if the householder kills the intruder on the spot, it is no crime at all. The law guarded the house, not the person. Inside the door and outside the door were two different jurisdictions, and crossing the threshold changed the nature of the act. The young man crossed it and was beaten. The thief crossed it and lost his life. One statute, two uses.
Four lives were in play that night. Only one was actually lost. The other three, the woman’s, the merchant’s, and the one that might have been tortured out of him in a cell, were bought back with two pieces of theatre.
The Collected Cases carries a comment by the compiler that is more interesting than the story.
Zheng Ke writes: to clear a wrong, a judge must first have method. The swapping of the knife is the method of the rebel turned against him. The faked execution is the method of the swindler turned against him. But if the real thief is never caught, how is the wrong to be cleared?
That sentence appears in a Song judicial manual for a reason. It admits something uncomfortable: a good judge does not run on clarity of mind alone. He runs on method. And in an age without fingerprints, cameras or DNA, method was often the only thing that could move a case at all.
Zheng Ke compiled the collection in the Southern Song. It holds nearly four hundred cases, sorted into categories: clearing the wronged, refuting false accusation, getting at the truth, weighing the offence, showing mercy, punishing evil, seeing through deceit, exposing concealment. It was not written for the public. It was written for men who would be posted to a county with no investigative apparatus at all, and who would have nothing to take with them but the methods of their predecessors. Almost every entry is followed by a line of comment from the compiler, and the comment is not decoration. It is an assessment: what this method is good for, where it fails, whether it may be used.
A thousand years later the same family of techniques has other names. Undercover work. Controlled delivery. Informants inside a cell block. Releasing a false report to make a fugitive surface. Every criminal procedure code in the world writes some of these in and draws lines around others. The line is usually drawn at the same place: is the method being used to find the truth, or to manufacture it?
Zheng Ke drew it clearly. The purpose of method is to clear a wrong, not to complete a case. Liu swapped a knife so that another man would recognise it. He staged a death using a prisoner already condemned. Both acts had a cost. Neither created a new injustice.
For readers who know Chinese crime through fiction, this is where the story refuses to behave like a novel. In the Judge Dee books that Robert van Gulik wrote in English in the 1950s and 1960s, the magistrate reads a wound, weighs a story, notices mud on a hem. In Song Ci, whose Collected Cases of Injustices Rectified appeared in 1247 as the world’s first systematic treatise on forensic medicine, the same habit is codified into procedure. This case is not that kind of case. There is no examination of the body worth reporting, no deduction from a wound. The whole solution hangs on two administrative tricks and on the fact that a working man cannot mistake his own tool.
One person in this story is never given a name: the woman who died.
The old record describes her in sixteen characters, all of them about appearance. She was a little over twenty, striking, rarely seen, and did not avoid being looked at. That is the standard brushwork of a Tang notebook. It describes a face, not a person. Why she was living alone in a tall gatehouse, who else was in that household, why she nodded at a stranger across the water: the text gives none of it.
All we know is that when the door sounded that night, she went to it gladly.
The merchant, presumably, went home after the beating. It is reasonable to assume that he never again walked into another person’s door in the dark.
Liu Chonggui left Guangzhou and returned to court, and the histories are thin about the rest. The knife that was swapped out is not mentioned again either. It had done the one thing it could do. In an age with no fingerprints, it pointed once, on behalf of a man who could not speak for himself.
Sources: the entry on Liu Chonggui in the Collected Cases of Injustices Rectified, compiled by Zheng Ke in the Southern Song. That entry names Leisure Talk from the Jade Hall by Wang Renyu of the Five Dynasties as its origin, and the story is also carried in the Great Compendium of the Taiping Era, volume 172, under keen observation. Biographical detail from the Old Book of Tang and the New Book of Tang. Quotations follow the Zhonghua Book Company punctuated editions. No year is given for the case in any source; Liu held Lingnan in the late Tang around the reign of Emperor Zhaozong, and this article does not assign a date.