There is a kind of shame that does not feel like shame at first. It feels like being very, very awake.
I sat at my kitchen table at 6:40 a.m. on Saturday with Exhibit R open on the screen and my heartbeat doing something syncopated in my ears. The yellow-highlighted line sat in the middle of the page like a stain on a white shirt.
*idr_words 1.3.0. License: GPL-3.0-only.*
I knew the package. I knew it the way you know a stranger from a bus ride. Two years ago, in the first month of building Patungan, I needed a little feature for the receipts: write the total out in words, the way Indonesian bank slips do. *Seratus dua puluh lima ribu rupiah.* A hundred and twenty-five thousand. I had searched the package registry, found a library that did exactly that, typed one line into my configuration file, and moved on.
It had taken forty seconds. I had not opened the license. I had not opened the code.
Here is a fact about modern software that most people outside it never hear: nobody writes a program from scratch. A typical app is a thin layer of the author's own work stacked on a mountain of other people's. Patungan, I would learn by noon, sat on a hundred and forty-three packages. I had chosen perhaps twelve of them on purpose. The other hundred and thirty-one arrived as dependencies of dependencies: libraries I had never heard of, written by strangers, pulled in automatically by the ones I had.
Each one has a license. Each license is a contract between the author and everyone who uses the code, written in a language that most developers do not read.
I called Mari at seven. She picked up on the first ring, and I understood that she had been waiting for it.
"Tell me what you've got," she said.
"A GPL package. In a closed-source commercial app. Since almost two years ago."
"Okay," she said, and then, with a firmness that I would come to rely on: "Don't apologize to me. Apologize to nobody until we know what happened. First, inventory."
I knew what she meant. Inventory is what an engineer does before anything else. You don't fix a broken system by feeling bad about it. You list its parts.
By nine I had built what the industry calls a *software bill of materials*, an SBOM: a plain list of every component in a product, its version, its supplier, and its license. A U.S. federal order in 2021 made them a standard idea for government software, and the agency that defined the minimum elements wrote that the point was simple: you cannot manage the risk of something you cannot name. I ran a free scanner against my project and read its output line by line, like a doctor reading a chart.
Total packages: 143.
BSD-3-Clause: 61.
MIT: 44.
Apache-2.0: 36.
GPL-3.0-only: **1.**
Unknown: **1.**
I added them: 61 and 44 and 36 made 141. Plus two. It balanced. Whatever else was wrong, my arithmetic was fine.
The *Unknown* was a small package that drew a decorative chip around dates. Its author's repository had no license file at all. The scanner flagged it with a shrug.
I hadn't expected that. In a way, it was the more instructive of the two. A package with no license is not free to use. By default, copyright means *all rights reserved*; without a license, nobody has permission to copy or distribute it. I had done to a stranger exactly what I had been complaining about on the internet for three weeks: I had used someone else's code on the assumption that publishing it meant permission.
I shut my eyes.
"Mari. Explain GPL to me like I'm a fool."
"You're not a fool. You're a person who skipped a step." I heard a mug set down. "Okay. Most open-source licenses, MIT, BSD, Apache, are permissive. Take it, use it, even close it up inside a product, just keep the notice. The GPL is a different philosophy. It's copyleft. It says: you may use this code and copy it and sell it, but if you *distribute* a program that is built on it, you must offer the entire program, its full source, under the GPL too. The freedom travels."
"Distribute meaning what?"
"Giving copies to other people. Uploading an app to a store where people download it. That's distribution. If you only ran the program on your own server for your own use, the GPL wouldn't bite. Version three has a few more wrinkles, but that's the core."
"And the Free Software Foundation says linking the library into my app makes the whole app a combined work."
"That's their position. Lawyers argue about the edges, and courts haven't resolved every one. But you don't want to be the test case, and I certainly don't want to be your lawyer in it." She paused. "There's another wrinkle. The terms of the Apple App Store are in tension with the GPL's conditions. When VLC, the media player, was on the iPhone, one of its contributors complained, and in 2011 it was pulled."
"So I've been distributing a GPL-encumbered closed app in two stores for almost two years."
"Yes. And Dana found it before you did, which is the thing that hurts. It isn't clever of her. Anyone can run the scan you ran. She knew nobody checks."
I laughed, because the other option was something worse.
"What are my choices?"
She said them like a menu.
"One. Comply. Release the entire Patungan source under the GPL. That makes the program free for anyone to copy and modify, *including Halcyon*, forever. I do not recommend it."
"No."
"Two. Remove the package, rewrite the feature, ship a clean version, and ask the author to forgive the past. Three. Contact the author and ask for an exception, in writing. I recommend two and three, in that order, and fast, because there's a clock."
"A clock?"
"GPL version three has a cure provision, section eight. A violation that you stop gets your license back, provisionally, and permanently if the author doesn't contact you within sixty days. If they notify you for the first time, and you fix it within thirty days of the notice, the license is reinstated for good. It's a gentle design. It assumes people make mistakes."
"I've made one."
"You've made a normal one," Mari said. "That's still going to cost you."
It did.
I wrote the replacement that afternoon. I want to describe it, because it was the only part of the week that felt like joy.
The feature was small: turn a number into Indonesian words. It has rules, and the rules have a few lovely irregularities. A hundred is *seratus*, not "satu ratus." A thousand is *seribu.* Eleven is *sebelas*; twelve through nineteen use *belas*; twenty is *dua puluh.* Beyond a thousand, you group in threes: *ribu*, *juta*, *miliar*, and each group is read the same way as the one before. The language is perfectly systematic, apart from a short list of places where it is systematically special.
I had never read the code in the old package. This turned out to matter. Because I could say, truthfully, that I wrote the replacement from the rules of the Indonesian language and from nothing else: not from his code, not from a copy of it. I did not need to be clever about what is now called a clean-room approach. I only needed not to have looked.
Sixty-four lines of Dart. I wrote tests, because a function you do not test is a hope. Zero, *nol.* One hundred, *seratus.* One thousand, *seribu.* Eleven, *sebelas.* Twenty-five thousand one hundred, *dua puluh lima ribu seratus.* One billion, *satu miliar.* I ran them. They passed. I looked at the clock. It was 6:14 p.m. I had been at the table for twelve hours without remembering to eat.
The unlicensed date chip took me forty minutes. A bordered rounded container with a text label. There was nothing to it. I deleted the package and drew the chip myself.
Then I found the author of the GPL package.
His name was Hendra Lim. His profile said *Retired teacher. Medan, North Sumatra.* He had published four small packages: a number-to-words converter, a calendar for the Javanese week, a Batak-script font loader, and a tool for converting grade sheets. No company. No photo. His last update had been fourteen months ago.
I wrote to him in Indonesian, in plain words, without a lawyer.
> Pak Hendra, my name is Raka Wibisono. Two years ago I used your package idr_words in my app Patungan without reading its license. The license is GPL-3.0. My app is closed-source, and I have distributed it to about 400,000 people since then. That was my mistake. I have now removed your package and replaced it with my own code, which I wrote from the language rules without looking at your source. I am sorry. I would like to ask whether you will forgive the past distribution, and I will do whatever you think is fair.
I sent it at 7:55 p.m. and sat looking at the screen as though that might make an answer come faster.
The reply came the next morning, short and warm and in careful formal Indonesian:
> Mas Raka. I wrote that package for my students, so that their receipts would look proper. A magazine told me GPL was "the free one," so I picked it. I did not think anyone would build a business on it, and I am glad someone used it. You do not need to rebuild. Please keep your own code if you prefer. As the author, I give you written permission to have distributed my package under any terms you chose. Please do not carry this around. Eat something. — Hendra Lim
I read it standing up. Then I read it again sitting down. Then I called Mari, and her voice did something I had never heard it do: it laughed aloud.
"Have him sign it," she said. "A clean, simple, signed statement. A grant of retroactive permission, with his name. We need it in a form that survives a hearing."
"Why would anybody doubt a retired teacher in Medan?"
"Nobody will. Dana will question *the form.*"
I shipped the new version that night. The stores' review process had no mercy for a man in a hurry. Google took six hours. Apple took three days. The cost was visible in places I tried not to look: eleven hundred one-star reviews from people who had never read a license and wanted a settle button, the loss of the first week's trickle back into the stores, a fresh Hacker News thread called *Patungan founder who lectured on licenses violated one.*
It was fair. That was the worst part.
Jett posted at 10:14 a.m. on Monday.
> So the guy who called us thieves was shipping GPL code in a closed-source app for almost two years. 😂 And GPL means anyone can copy it. Which means we didn't steal anything. Might want to read your own license, my guy.
It had two million views by dinner.
Mari called at 4 p.m.
"Do you want the bad news or the legally interesting news?"
"Both."
"Dana is going to file a brief, probably this week, saying that because Patungan was distributed under the GPL, in effect, Halcyon was licensed to copy it."
My head dropped to my hand. "Is that true?"
"It's wrong in at least three ways. The GPL gives *rights from the copyright holder of the GPL code*, which is Hendra, not you. A violator doesn't automatically convert his own proprietary work into a free license for strangers. And your violation is cured. But a wrong argument isn't a harmless one, Raka. A wrong argument filed by a good lawyer buys time, and time is the thing they want."
I stood and went to the window. The alley was bright, the mango tree dripping from morning rain. A woman was hanging laundry on the neighbor's line, shaking each shirt once before pinning it.
I understood suddenly what the license had actually been. It was not a trap. It was a promise a stranger had made to the world, and I had never read it.
Every promise I had been angry about for three weeks had a mirror, and I was standing in it.