The east window was not famous when it was built.
It was just the window on the east side of a chancellor household in Lin an, the temporary capital of the Southern Song. In the morning the light came in there. In summer it was the cool side of the house. A man could sit under it with a table and some documents and not be overheard.
According to a Ming dynasty collection of Hangzhou anecdotes, the murder of one of the most famous generals in Chinese history was planned under that window, by the chancellor and his wife.
Then fourteen years passed. The chancellor died in his own bed, honoured, and nothing happened.
The idiom was invented after that, by a ghost.

Start with the year 1141.
The Southern Song had been fighting the Jurchen Jin empire for more than a decade. The Jin had taken the north, including the old capital Kaifeng, and had captured two emperors. The Song court had fled south and reestablished itself at Lin an, which is now Hangzhou.
By 1141 both sides were exhausted. A treaty was drafted with hard terms. The Song would call itself a vassal of Jin. It would send twenty-five thousand taels of silver and twenty-five thousand bolts of silk every year. The border would run along the Huai River.
Which meant the north was gone. Permanently, as far as the treaty was concerned.
One man refused to accept that.
Yue Fei was one of the three great commanders of the southern armies. He had built his own force, and it had a reputation that the Jin commanders took seriously.
His line, recorded in the official history, was: drive straight for Huanglong and drink with you all there.
Huanglong was the Jin home base, far to the north-east. It was a slogan, but it was the kind of slogan that a government trying to sign a treaty cannot afford.
So he was recalled.
The History of the Song describes it in one line: in a single day, twelve gold-lettered tablets arrived.
The gold-lettered tablet was the imperial express. A wooden plate, lacquered red, with gold characters, carried five hundred li a day. One of them means come back immediately. Twelve in one day means there is no argument left to make.
Yue Fei received them, bowed twice towards the east, and said: ten years of work, thrown away in one morning.
He came back. His army was taken from him first.
Then he was arrested.
The charges were assembled rather than found. He had advised abandoning a city. He had said the state was finished. His son had written to a subordinate officer, proposing that the officer create a disturbance in the army so that the court would return the command to him.
Nobody ever produced that letter.
The case changed hands several times before it reached the official who would finish it.
Another general, Han Shizhong, had already handed in his own command and was living at home. He could not let it go, and he went to the chancellor and asked what the evidence actually was.
The chancellor gave him three characters. Mo xu you.
Later readers took that to mean it is not necessary to have any. It is closer to it may be so, or perhaps there is. Either way the meaning is the same: there is no proof, and I am asserting it anyway.
Han Shizhong answered with a sentence that ended up carved in stone: with those three characters, how will you satisfy the world?
The historical record does not mention a window.
The window comes from a Song dynasty notebook, and then from a Ming dynasty collection of local stories about Hangzhou.
What the notebook says is that once Yue Fei was in prison, the chancellor hesitated.
Killing a general of that standing carried consequences: the army, public opinion, the reaction of the Jin. He did not move.
His wife, Lady Wang, was in the room. What she said is recorded in five characters: catching a tiger is easy, letting a tiger go is hard.
After that, he moved.
Yue Fei died in the prison of the Grand Court of Review on the twenty-ninth day of the twelfth month, which was the last night of that lunar year. He was thirty-nine.
His son and the officer named in the invented letter were executed in the marketplace.
The History of the Song records the public reaction in four characters: the world considered it unjust.
It also records something colder. The entry notes that the year was ending and the case was unfinished. He died before the file was closed.
The next fourteen years are the real subject of this idiom.
Nothing happened.
The chancellor did not fall. He became grand preceptor, was enfeoffed as Prince of Shen, and held sole control of the government for close to two decades. To mention Yue Fei was to be demoted. To criticise the treaty was to be exiled.
He died in 1155, sixty-six years old, in his own house, with his family around him. The emperor had visited him during his illness. He was granted posthumous honours and a title that meant loyal and dedicated.
The east window never came up. In the world of the living, the thing was a success.
That is why the next part had to be told by a ghost.
The Ming collection says that after the chancellor died, Lady Wang hired a Daoist priest to perform rites for him.
The priest, in the middle of the ceremony, saw something.
In the courts below, the chancellor and the official who had finished the case were both standing in iron collars, undergoing punishments of various kinds.
The chancellor recognised him, and asked him to carry a message home.
Please tell my wife: the matter at the east window has come out.
So the four characters of this idiom, 东窗事发 (dong chuang shi fa), were not a verdict.
They were a message from a dead man.
The human court never tried him. The other one did.
The official history never convicted him. A Daoist priest did it in a story.
And the story travelled faster than the history, because people needed it. A crime that worked, that stayed worked, is a crime that teaches everyone watching that it works.
The corrections came in layers, over centuries.
In 1206, the government needed a war faction and rehabilitated Yue Fei, granting him the title Prince of E, and at the same time stripped the chancellor of his princely rank and changed his posthumous name to a pair of characters meaning absurd and ugly.
Loyal and dedicated. Absurd and ugly. Two characters against two characters, sixty-four years apart.
In 1513 an officer in Hangzhou cast iron figures and set them in front of Yue Fei tomb by West Lake: the chancellor, his wife, and the official who finished the case, hands bound behind them, kneeling.
Later a fourth was added.
Then came the couplet that every visitor reads. Green hills are lucky to hold his bones. The white iron is innocent, and it was cast into the shape of traitors.
The hills were lucky. The iron was innocent. Iron knows nothing. Iron was simply poured into a mould by somebody who needed it.
Go to Hangzhou today and those figures are polished by hands, spat on, beaten with shoe soles by people queuing for a turn.
The guides tell the story of the three characters, the twelve tablets, and the east window.
What almost nobody says is that the east window is an invention, and a late one. In the world that the chancellor actually lived in, nothing came out. He won.
The Chinese idiom is used lightly now.
An audit finds the second set of books. A recording surfaces. A screenshot reaches the wrong group chat. Somebody says the east window has come out.
The weight of the original is in one character: fa, which means to break out, to erupt, the way an illness does, or a boil, or something buried that finally lifts the soil.
It does not mean that someone came to investigate you. It means the thing itself grew an ending.
There is one more thing in the story, and it is the part that generalises.
The conversation under the window had two people in it.
One hesitated. One advised.
The one who advised was his wife, and what she said was not about the general at all. She said: if we let the tiger go, what happens to this household?
That is not an evil sentence. It is a household sentence. It shrinks an enormous thing down to the size of a family account.
A great many crimes begin exactly there. Not with malice. With the question of what happens to us.
The house in Lin an is gone. The east room, the table under the window, the lamp, all gone.
What is left is four characters, used now about an accountant, or a colleague who talked about somebody behind their back and got caught.
Used so lightly that it has almost become a joke.
But it was invented to supply an ending to an event that did not have one.
Not every account gets settled here. As a Chinese fable, this one is unusual, because the machinery of justice had to be built in the next world.
As a Chinese proverb it is now a small, dry remark about exposure. The older version is a story about how long people will wait for the books to balance.