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

The Archive That Never Blinks

The first time I saw Tobias Lindqvist's face, he was holding a coffee cup with a chipped handle and scowling at the camera as though it owed him money.

He was sixty-seven, with a weathered, narrow, Nordic face, a white stubble, and glasses fixed to his head by a strip of black tape. Behind him was a bookshelf crammed with circuit boards and what looked like a hundred identical gray binders. A gray cat, the cat from the profile picture, dozed on the windowsill, which was real, and which was, as promised, gray.

"You look tired," he said.

"I'm a thief of other people's reputations."

"You're a man who made one mistake. Don't dramatize. It's undignified." He sipped. "Share your screen. Open a terminal. We have an hour, and I will be gone at seven because I have a pension to be bored with."

I smiled in spite of myself.

He did not explain himself, and I did not ask. Mari told me later: fifteen years ago, a firm Tobias worked for claimed that a piece of firmware he had written, a braking controller for freight wagons, had been "originally authored by a subcontractor." He could not prove otherwise. His logs were on a server the firm controlled. He lost a promotion, then a job, then a pension of the kind engineers once believed in. He had spent every year since teaching strangers how to prove what they had built.

"The question," he said, "is what a man can show about a repository on the day the repository was young, without asking the man."

"A third-party clock."

"A third-party *record.* Clocks are a technicality. A record is a witness. Now. Open this."

He typed a web address into the chat.

**GH Archive.** A plain page, a single paragraph. *Open-source developer activity on GitHub, recorded hourly since 2011.*

I read it twice. It had existed for fifteen years and I had never heard of it.

"Here is how it works," Tobias said. "GitHub publishes a public stream of events: *so-and-so pushed this commit, so-and-so opened this issue, so-and-so starred that repo.* It is a firehose. One volunteer has been catching the firehose, storing every hour as a compressed file, and publishing them. A public dataset. No one can edit it. No one can ask it to forget."

"Even if I deleted my repo?"

"The events from before you deleted it are still there. That is the point. It is a diary the world kept without asking you. Now, what did you push, and when?"

I searched. I did not know the syntax, so Tobias dictated it. It was a query against a public table, ten lines long, filtered by my repository's name and by a date range of about sixteen months.

It took four seconds.

Rows came back. Each was a *push event.* Each had a timestamp, in UTC, written by GitHub's servers at the instant of the push, and, inside its payload, three things I had never thought to look at: the name of the branch, a commit hash called `before`, and a commit hash called `head`.

I scrolled. The events were mine. I recognized my own behavior in them. A burst at 2 a.m. on a Sunday. A single push at noon on a Wednesday, *fix lol.* The `head` of each event was a name I knew, a long hexadecimal string, the address of a commit.

"Look at the `before` field of any row," Tobias said. "Then look at the `head` of the row before it."

I did. They matched.

I did it again. They matched.

"The pushes form a chain," I said. "Each one starts where the previous ended. It's a hash chain, but outside git. In *their* log."

"It is a hash chain whose links were recorded, at the time, by a machine that does not know your name. Now find your old Stack Overflow commit. The famous one."

I searched for `9f3c1a7`.

There it was. One of the events, in September, twenty-five months ago. A push with a `head` that began `9f3c1a7e5d`, timestamped by GitHub's servers at 16:31 on September first.

"Count its ancestors," Tobias said.

"Six hundred and forty-one."

"Now you have two anchors, not one. The comment on a stranger's issue tracker and a record in a public archive. Different organizations. Different servers. Independent clocks. That is not a story anymore. That is two witnesses who have never met."

I leaned back, and I felt, for the first time in a month, something loosen at the base of my skull.

"Now," said Tobias, "the part you want."

"The gap."

"Yes. The fourteen to fifteen months. The hundred and fifty commits that are not on the drive. Dr. Brandt said you cannot confirm them."

"She said the disk doesn't contradict them. She can't *confirm* them. Because there's no old copy."

"Is there not?"

He put a second address in the chat.

**Software Heritage.** The title was a plain white page, with a small logo of a stylized archive box. I had a vague memory of the name from a conference. I knew nothing else.

Tobias told me the rest as I read.

Software Heritage is a nonprofit initiative, launched in 2016 by Inria, a French research institute, with the stated goal of preserving the source code of the world, the way a library preserves books. A crawler visits public repositories and copies everything into an archive, deduplicated and addressed by cryptographic hashes. Every file, every directory, every commit has an intrinsic identifier, a hash of its own content, called an SWHID. The archive is, in effect, a gigantic hash tree of all the public code it could find. And for every repository, it records the *visits* — the dates on which its crawler looked.

"It takes snapshots," Tobias said. "Of everything. At intervals. It doesn't know whether you're good or bad. It knows you exist."

I typed my repository's address into the search box.

*Origin: github.com/wibisono/patungan. Archived. 14 visits.*

I clicked.

Fourteen dates. The first visit was twenty-eight months ago, a few weeks after my first commit. The last was a month before the keynote. And between them, scattered unevenly like the spots on a leopard, a dozen more.

I found the entry that interested me.

*Visit: 14 months and 11 days ago, 04:22 UTC.*

Four days before the night of the leaked key, and the rewrite.

I clicked into the snapshot.

It was the repository as it had stood that morning, branch by branch, commit by commit. Each commit had an SWHID. I selected the branch head and the page showed me its parent, and its parent's parent, back to the first commit, with all the original messages, *wip*, *fix lol*, *AAAAAAA*, the entire embarrassing, unedited chain, preserved by an institution in France that I had never met.

"How many commits?" Tobias asked.

I counted. The interface showed it at the top of the snapshot. I read it aloud.

"Two thousand three hundred and thirty-two."

I did the subtraction in my head. The old drive had held 2,184. The examiner's total for the pre-rewrite period was 2,334.

"It's all but two."

"All but two," Tobias said, and he allowed himself the faintest tilt of the corner of his mouth. "Four days before the rewrite. Two commits made in the last four days are not in the crawl."

"Can I find those two?"

"Back to GH Archive. Look at the push events in the final four days."

I did. There were three events. The last one, timestamped sixteen hours before the rewrite, had a `head` that I recognized. It was the final commit of the old history. The event's payload listed the two commits it had pushed, with their hashes, authors, and messages. The first was *bump version.* The second was *update README.* Trivial. Boring. Mine.

"That gives you the names of the last two and the time they were pushed," Tobias said. "Not the contents. The contents you cannot confirm by an independent copy. But you can say that they existed on the server by then. That is a record in a diary you did not write."

"So the coverage is 2,332 of 2,334 by content. And the other two by event."

"Ninety-nine point nine percent. By content. And you will tell the court exactly what the other .1 is."

I laughed. I realized I was close to tears and I did not want to be.

"Do I just send it to Dr. Brandt?"

"You send it to Mari. Mari sends it to the examiner and to Halcyon's counsel at the same time. Under the protocol. That is the proper way to hand over a witness. If you were to publish it on a stage first, it would look like theater. If you give it to the judge's examiner, it will look like what it is: a record."

"Mari says I should just be boring and correct."

"Mari is a wise woman." He looked at his watch. "It is almost seven. I have a pension to be bored with."

"Tobias. Can I ask something?"

"Briefly."

"Why do you do this? The archive, the builds. You're retired. Nobody pays you."

He looked at me for a long moment. The cat on the windowsill opened one eye and closed it again.

"Because the law, and the lawyers, and the platforms, and the founders on stages, all work on one principle," he said. "*Whoever has the best story wins.* And I have spent my life learning that the only thing that beats a story is a record the storyteller does not control." He picked up his coffee cup, saw it was empty, and set it down. "That is not romantic. It is only reliable."

The call ended.

I sat in the office with the hum of the air conditioner. A new message from Mari: *Dr. Brandt received it. She says she'll cross-check by patch-id. She wants to know why you didn't tell us about GH Archive on day one.*

*Because I didn't know it existed,* I wrote.

*Neither did I,* Mari wrote. *I've been a lawyer for twenty-two years.*

I thought about the strange symmetry of it. The same internet that had been used to ruin me had also, quietly, without anyone's intention, kept a diary of my life. Not for my benefit, not for anybody's. A library that happened to be thorough. In that library was my history, whole, unedited, anchored by a dozen institutions' clocks, none of them mine, none of them Jett's.

Which raised a question that I had been too busy defending myself to ask.

If my repository was public, and the world had kept a diary of it, where was *Halcyon's* diary?

Their repository was private. It had never touched the firehose. No archive in France had crawled it. No volunteer had caught its pushes in an hourly file. The only record anyone had of when their commits were made was the commit dates, written by their own computers.

There was exactly one place left in the world that would have seen those commits arrive.

Not an archive. A server.

Wherever Halcyon's code lived, whoever hosted it, a machine had received those commits, one push at a time, and written down the hour in a log that was not on any developer's laptop.

I texted Mari, though it was almost midnight in Bandung and past dawn in Oakland.

*Where does Halcyon keep its repository?*

The reply took nine seconds.

*I was just about to ask you that.*