Emre Kaplan was thirty-one, sleep-deprived, and wore a hoodie to his own deposition.
He appeared on my screen from an apartment in Istanbul, with a half-open window behind him and the lights of a ferry sliding past in the dark. It was the middle of his night. A court reporter in Chicago was typing his oath. At the far end of the video grid sat Dana Whitcomb, still, with her hands folded, and beside her an associate I had not seen before, who looked like he had been awake for several days.
I was not supposed to be on the call, technically. A party may attend a deposition, and I had asked to. Mari, in her Oakland office, had said, "You can sit in. Don't make faces. Don't type. If you need me, write on paper and hold it up to the camera."
"What would I write?"
"*Stop.*"
Emre was a freelance developer. He had a good résumé, mostly Flutter and backend work. Ten months ago, he had been hired by Halcyon Labs through an agency. Contract terms: one hundred and thirty dollars an hour, a six-month engagement, a laptop supplied by the company.
"Mr. Kaplan," said Mari. Her voice was warm. "Thank you for being here at this hour. I'm going to try to make it as painless as I can. Can you tell me, in your own words, what your role at Halcyon was?"
"I was a mobile developer," said Emre. "I worked on the Tallybird app. Mostly the core."
"The core meaning?"
"The expense and settlement logic."
"Did you write the settlement logic in Tallybird?"
A beat. Dana's head moved a half inch.
"I wrote *with* an assistant," said Emre. "An AI coding assistant. Most of the logic was generated. I prompted, I reviewed, I committed."
I felt my skin go cold, not from surprise. From recognition. I had read the sentence, in other forms, ten times in the last week, in forum threads. The idea had been born in the first week of the dispute and I had known, with the certainty that comes from watching the other side's counsel, that someone would eventually say it.
"I see," said Mari. "So when a reader finds that Tallybird's settlement code matches Patungan's in unusual ways, your testimony is that you didn't copy it. The assistant generated it."
"Yes."
"And the matching, in your view, is a coincidence."
"These models are trained on a lot of public code. They produce common solutions. A lot of expense-splitting code looks the same."
"I'd like to take that seriously," said Mari, "because it's a serious idea. May I ask a few questions about it?"
"Sure."
Let me tell you what she did, because it was a lesson in how to take a clever defense apart without touching it.
First, she took it at its word. Modern coding assistants, Mari said, are trained on enormous amounts of public code. Research has shown that such models can sometimes *reproduce* training data verbatim: a team of researchers published a paper in 2021 showing that large language models can be induced to emit memorized passages from their training sets. Which is, she said, an interesting fact. It was just not the one Mr. Kaplan was relying on.
"If an assistant reproduced a passage from a public repository, what would that passage's license be?" she asked.
"I... don't know."
"Let's assume the passage came from `settle_core`, published under the MIT license. What would the license require of someone who used it?"
"Keeping the notice?"
"Thank you. It would require keeping the notice. The license doesn't change because a machine did the typing. Whoever puts the code in a product is the one who has the obligation. If the assistant gave you MIT-licensed code, then the copyright notice was required. Did you keep it?"
"Objection," said Dana. "Calls for a legal conclusion."
"He's a software developer," said Mari. "I'm asking what he did, not what the law means. Did you keep the notice?"
"I didn't see a notice."
"Because the assistant didn't produce one."
"Right."
"So we agree it either wasn't reproduced from the MIT library, or it was, and the notice is missing. Both are interesting. Let's go on."
She turned to the specifics. She asked Emre to look at line 48 of a file called `residual.dart` in Tallybird's repository, which she displayed on the screen. She asked him to read the condition on that line. He read it: `if (remainingCoins <= seatIndex)`.
"Is that the line your assistant generated?"
"I believe so."
"Do you know why it uses `<=` rather than `<`?"
"I'd have to look at the context."
"Please do."
He did. It took him a minute. Mari let the silence stand.
"It looks like an off-by-one," he said, at last.
"That's what I thought. If the condition were `<`, the leftover coins would go to the first people in the list. With `<=`, in an even-sized group with exactly one leftover coin, the coin goes to the second person instead. Does that sound right?"
"I... suppose."
"Would you say that's a behavior any reasonable developer would choose?"
"No."
"A defect."
"Yes. A bug."
"Mr. Kaplan, an assistant generated a bug that sits in exactly the same position, with exactly the same effect, as a bug in a library that was published sixteen months before you started at Halcyon. Do you have an explanation other than copying?"
Emre swallowed. "Models make mistakes. They repeat mistakes from training data."
"Quite right. They do. That brings me to the second specific. May I show you Exhibit 44?"
The screen shifted. It was a single line of code, in a file named `coin_painter.dart`.
`final weights = [0.91, 0.87, 0.93, 0.89];`
"Do you recognize that?"
"It's the weights for the coin stack animation."
"Where did the numbers come from?"
"The assistant."
"Mr. Kaplan." Her voice did not change at all. "Dr. Anita Subrata, who is the defendant's expert, tested that proposition. She prompted three widely used coding assistants two hundred times each, six hundred runs, with varied wording, asking for a coin-stack animation in Flutter that feels weighty. She recorded every set of weights. In how many of the six hundred runs did an assistant produce this array, in this order, to two decimals?"
Dana was already speaking. "Objection. Foundation. Hearsay. The witness has no knowledge of Dr. Subrata's work."
"I'll ask it differently," said Mari. "Mr. Kaplan, can you tell us how likely it is, in your experience, that an assistant will pick four numbers, each between zero and one, to two decimal places, and match four numbers chosen by hand by another person?"
"I don't... it's unlikely."
"If each digit pair were random, one in a hundred per number, four numbers, what's the probability?"
He didn't answer. I could see him doing the sum. It was not difficult. One in a hundred, four times.
"One in a hundred million," said Mari gently. "I'll let the record state that. And the answer to the question I asked you before, Dr. Subrata's six hundred runs, is zero."
There was a long silence. A ferry horn sounded faintly in Istanbul.
"Mr. Kaplan. I'm going to ask you something, and I'd like you to know that I am not trying to trick you." She waited until he looked up. "You are under oath. You were an independent contractor for Halcyon. You have a lawyer, I understand, who is not Halcyon's lawyer. You are not the person who sued Mr. Wibisono. If you made a mistake, a lot of people do. Did you at any point open the public Patungan repository on GitHub and use it as a reference while you worked on Tallybird?"
"I'd... like to consult—"
"Take a moment."
He took four. He looked, once, at a place off-screen. I saw Dana's eyes follow it.
"Yes," said Emre.
I closed my fist on my knee.
"When?"
"The first week. The CTO sent me the link. He said the app was good and that we needed to match its behavior so that users could migrate. He said to take it as a reference and restructure it so it wasn't a clone."
"He said *so it wasn't a clone.*"
"He said: 'so it won't look like one.'"
"Did he give you any other instruction, Mr. Kaplan?"
"Objection," said Dana. "Privilege. The CTO is a corporate officer and—"
"A conversation between an engineer and the CTO about how to write code is not attorney-client privileged," said Mari. "Counsel knows that. Mr. Kaplan?"
"He told me to start the git history from a prototype he had. And he said he'd handle the dates."
"Handle the dates?"
"I assumed he meant clean them up. I didn't ask." His voice cracked. "I didn't think it was fraud. I thought it was, like, a legend. Like an origin story."
Nobody laughed. Dana's face had gone to a very still, very smooth blankness.
"Mr. Kaplan, did Mr. Reyes use a tool or script for the dates?"
"I saw something on his screen over a screen share. A script. It had a file name. `rebase_dates` something."
"Do you know where the script is now?"
"On his laptop. If he hasn't wiped it."
"Has he wiped it?"
"I don't know. His laptop was reimaged the week the lawyers sent the letter. IT did it. He said it was routine."
"The week the lawyers sent the letter."
"The preservation letter. I think. I don't know."
Mari paused. I could feel her pause the way you feel a car braking in the dark.
"Last question, Mr. Kaplan. Why are you telling us this now?"
He took a long time. Then he said, slowly, like a man pulling a rope out of water:
"Because my name's on the commits. It's my work, at least it looks like it. I wrote the thing. And I'm a freelancer. Do you know what happens to a freelancer whose name is on a lawsuit?"
"I think I do," said Mari.
"Nobody hires you."
The deposition ended at 4:12 a.m. his time. I did not trust my legs. I sat in the conference room with the court reporter's last words still on the screen, and I thought about a man in a hoodie in Istanbul who had learned the same thing I had: that a name on a commit is a thing you can't wipe from the internet, and a man can spend a long time paying for it.
Mari called after midnight.
"We have it," she said. "Not a settlement. Not a ruling. A witness. Cormac Reyes told a contractor to copy your repository and restructure it, to begin the history from the prototype, and to leave the dates to him. His laptop was reimaged the week we sent the preservation letter. Do you know what that is?"
"Spoliation?"
"It's the *possibility* of spoliation. Dana will say routine IT. We'll say sanctions. But there's a bigger thing."
"What?"
"Emre's testimony is a sworn statement that Halcyon's lawyers' notices, the ones they sent to Apple and Google and GitHub twelve weeks ago, said, in the form the law requires, that Halcyon had a good-faith belief you had infringed." Her voice dropped. "If Halcyon's CTO knew, when those notices were sent, that Tallybird was built from your repository, then somebody at Halcyon told three platforms something he knew was false."
"Is that a crime?"
"It's a claim," said Mari. "Section 512(f). And I've been waiting twelve weeks to file it."