He Cloned My App, Then Sued Me for Stealing ItChapter 7

The Red Screen in Manila

The message came from a stranger, and it was the best thing that happened to me that week.

*Kuya Raka, I am so sorry to bother you. I know you have a lot going on. I wanted to show you something funny. This is Tallybird crashing on my roommate's phone. I thought, he would want to see.*

The sender was Marites Dela Cruz, a night-shift nurse in Manila who split groceries with five roommates and who had been, since the takedown, subscribed to my support inbox in the way strangers become subscribed to a lighthouse. Attached was a photograph of a phone, held at a slant, over a kitchen table with a half-eaten pandesal.

It was the sort of image you take for the story. The screen was red. Across the top, white block letters read **SOMETHING WENT WRONG.** Underneath, in a small monospace font that no designer had been permitted to see, was a wall of text.

It was a stack trace.

A stack trace is a program's last confession. When code crashes, the system prints the chain of calls that led to the failure: this function, called by that function, called by the one before. Careful companies hide it from users. Tallybird, launched in a hurry, had a debug screen switched on in production.

I enlarged the photograph until the pixels broke apart. The third line from the top read:

``` #2 _distributeResidual (package:settle_core/src/residual.dart:48:17) ```

I stopped breathing.

*Package: settle_core.* The name was not a coincidence, because I had chosen it. Twenty-six months ago, on a Sunday, I had pulled the settlement logic out of Patungan, the greedy algorithm, the rounding, the leftover-coin rule, the whole noble little engine, and published it as a standalone library on pub.dev, Dart's public package registry. I had put it on GitHub. I had added a license.

The file was called `residual.dart`. The function was `_distributeResidual`. Line 48, column 17.

I knew what was on line 48. I could have recited it asleep.

`if (remainingCoins <= seatIndex)`

The `<=` I should have written as `<`.

It was the bug. Not a bug that resembled mine. *The* bug, caught in the act, at the exact position, inside a package that carried my name for it.

I sat very still on my kitchen stool and understood something about myself that I did not enjoy.

For two years I had thought of that error as a private thing, a secret between me and the user from Makassar. *Behavior I Own.* In the post I wrote on the night of the keynote, I had treated the bug as a fingerprint that only the author could carry. But I was the author of a library I had published to the world. The code that contained the bug had been public for twenty-six months. Anyone could have installed it. Anyone could have read line 48.

The fingerprint had never been secret. It had been *signed in a public registry.*

That did not make it worthless. It changed what it meant.

I wrote to Mari.

*Tallybird's crash screen shows it is using a package called settle_core, my published library. Does this help us or hurt us?*

She called me in four minutes.

"Both," she said. "Let's do it in order. First, tell me what license is on settle_core."

"MIT."

"Read me the text."

I knew it by heart, which is a sentence I never expected to say. It is a short document, one of the shortest and most generous software licenses in the world:

*Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software... subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.*

"There it is," Mari said. "Permission with one condition. Anyone can use it for anything, including a competitor, including a company that hates you, including a man with a livestream. That's what you chose when you published it. They are *allowed* to include your library in Tallybird."

"I know."

"That is bad for the story you told in the first week, because it means the shared bug can be innocent. They used your code legally and inherited your mistake. It doesn't prove they copied anything they weren't permitted to copy."

I put my head in my hand. "I should have seen that."

"You should've. And you're going to say so, publicly, today, before somebody else says it for you. You admit the limits of the table. Plainly."

"And the good news?"

"The good news is the condition." I could hear her smiling. "The one sentence of the license that costs nothing and most people forget. *The above copyright notice and this permission notice shall be included.* Does Tallybird's licenses page list settle_core?"

I opened the app on my spare phone and navigated to *About, Open-source licenses.* The page was long. A hundred and forty packages, in alphabetical order, each with its own notice: `collection`, `flutter`, `http`, `intl`, `provider`. Under S, I scrolled past `shared_preferences`, past `sqflite`, and arrived at `stack_trace`.

There was no `settle_core`.

Here is the part I need you to follow, because it is the neat little piece of engineering that cracked the case open.

In Flutter, as in most modern ecosystems, when an app depends on a published package, the build system *automatically collects that package's license file* and shows it in the licenses page. It is not a thing the developer has to do. It is a side effect of declaring the dependency. If Tallybird had listed `settle_core` as a normal dependency, pulled from pub.dev, then my LICENSE file would have come along for free, like a passenger.

It had not. Which meant the code was in Tallybird, because the crash trace proved it, but its LICENSE file was not. The only way to get that result was to take a copy of my library's folder, drop it into their own project as a local package, and either leave the license behind or remove it.

Somebody had vendored my code and cleaned the plate.

"Mari," I said. "It's not an accident. A published dependency drags the license in. Someone copied the folder and the notice didn't survive."

"Could it be careless?"

"Possible. But the package name is still `settle_core`. They didn't rename it. They simply didn't bring my name."

"Okay," she said. "I believe you. Now: can it be shown without anybody having to take your word? Not just a nurse's photograph?"

I thought about it for ten seconds, and then did the easiest thing in the world.

Tallybird had a website. The website had a page for open-source credits. The Internet Archive, the Wayback Machine, had captured it twice that week, the second time two days earlier. Neither capture listed `settle_core`. I saved the captures' URLs, their timestamps, the notice text. That is the kind of evidence nobody can forge after the fact, because the clock is an archive's, not mine.

I posted at 4:11 p.m. It was a long thread and I will give you the first post, because it cost me something to write:

> **Update on my own table.** Two corrections. 1) The bug I used as a fingerprint is in `settle_core`, my MIT-licensed library, public since 26 months ago. Tallybird includes it. The shared bug therefore does not prove Tallybird copied my *app*, only that it contains my *library*. I should have said so first. 2) The MIT license permits that use on one condition: keep the copyright notice. Tallybird's published license page doesn't list settle_core. Here are two Wayback captures. Check them.

Then the screenshot from Marites, cropped to the stack trace. I put her name in the credits, with her permission.

It spread slower than the table. People are less excited by a correction than by an accusation. But the right people read it. An engineer at a large company, whom I will never name, wrote: *This is the first time anybody in this fight has said "I was wrong about a part of it" and then handed me a link.*

At 8:23 p.m., four hours and twelve minutes after my post, something moved.

I had set a script, a boring one, to snapshot the Tallybird licenses page every ten minutes. At 8:10 the page had a hundred and forty entries. At 8:20 it had a hundred and forty-one.

Under S, between `shared_preferences` and `sqflite`:

> **settle_core** — MIT License. Copyright (c) 2024 Raka Wibisono.

I stared at it.

They had fixed it. Silently, without a word, within four hours of my thread, because somebody at Halcyon had read the post and realized the thread was true. Their own correction was a time-stamped confession on a clock they did not control. Wayback, which has its own servers, captured it a few minutes later. A before and an after, both stored by a third party.

When Mari saw it she said one word, in a low voice. "Beautiful."

Dana's team responded on Friday, through a statement to Wren: *Tallybird uses the open-source settle_core library under its MIT license, as thousands of companies do. Any omission of a notice was an inadvertent oversight, immediately corrected. This is a utility library and has nothing to do with Tallybird's proprietary application.*

It was a good response. I had to give them that. It conceded a trivial point, claimed the rest, and made me look like a man hunting for a missing comma. A reasonable reader would think, *a license footer? That's what this is about?*

"What's the pivot?" I asked Mari.

"The pivot is what they didn't say." She was eating something crunchy. "Jett told eleven thousand people that you stole Tallybird. Now the company says Tallybird contains your library. They can't make both stories fit. Either they wrote the settlement logic first, and then later chose to import a copy of yours, which makes no sense. Or the settlement logic is yours, and they took it, and what you built first was real."

"They'll say they wrote their own, and the library is a convenience."

"Then why does the crash trace show the buggy line?"

I leaned back. Outside, a man was pushing a cart of bakso down the alley, banging a spoon against a bowl.

"There's another thing," Mari said. "Does Patungan's own repository, the app, not the library, have a license file?"

I didn't answer.

"Raka."

"No."

"None?"

"The library has MIT. The app repo has nothing. It's public, but I never added a LICENSE."

"I know." She said it gently. "I looked. Here's the thing about that, and it's the reverse of the story we just told. Where there's no license, there is no permission. Copyright is automatic, and it's *all rights reserved* unless you say otherwise. Your app's source is readable on GitHub, but nobody who copies it has a license to do so. The silence protects you. And it also means you never told anyone what they could do, so people assume. The honest word for what you did is *incomplete*."

"I thought public meant, you know, people can read it."

"People can read it. That's what the platform's terms of service let them do. Reading isn't copying. But you can see how that sounds in a courtroom: 'It was on the internet.'"

I wrote it on the whiteboard, in my own handwriting, in red:

*MIT: permission, one condition. NO LICENSE: no permission.*

At 11:58 p.m., Dana Whitcomb filed another document, and my phone lit up with the alert.

*Declaration of Dr. Gordon Prentiss in Support of Plaintiff's Motion for a Preliminary Injunction.* Forty-one pages, with an appendix.

On the first page, in bold, in the summary box:

**ParityScan similarity score between Patungan and Tallybird source trees: 87.4%.**