I posted it at 2:07 a.m., and I want to be honest about what kind of person does that.
A tired one. A proud one. A man who had been right about three or four things in a row and had begun to confuse the feeling with a method.
The post said:
> **Halcyon's own court exhibit proves their git history is forged.** Exhibit C to Cormac Reyes's declaration lists 400 commits. I wrote a script. 61 of them have a date EARLIER than their own parent commit. A child cannot be older than its parent. Chains of hashes forbid it. Either the dates were edited, or the history was assembled after the fact. Script and data below. Check it yourself.
I attached the twelve lines of Python. I attached a screenshot of the output. I added a hashtag, because I had spent a month watching other people succeed with hashtags.
I want to point out what I did wrong, in order, since I did it with such cheerful confidence.
One. The judge had asked me, in open court, to stop publishing speculation about the opposing party's records while the neutral did her work. A public exhibit was fair game in a narrow sense, but I had not so much as texted Mari.
Two. I had skipped the rule I had learned three times in four weeks: *a date is a claim, and an anomaly in a claim is a lead, not a conclusion.*
Three. I had not asked what the date I was comparing actually *was.*
By 7 a.m. the thread had half a million views. Reporters were quoting it. A cryptocurrency influencer I did not know had called it *the smoking git.* Somewhere in Silicon Valley it was 5 p.m. the previous day and a man was probably shouting at a screen.
Tobias's message arrived at 7:46.
> Did you check your own repository for the same thing?
I looked at it for some time.
> No.
> Interesting. Why not?
> It's different.
> Is it.
I opened a terminal. My hands felt a bit numb. I ran the same twelve lines against the original history on the examiner's returned copy of my project, which Dr. Brandt had released to both sides under the protocol.
The script ran. Two thousand one hundred and eighty-four commits.
*9 commits whose recorded date precedes their parent's date.*
I sat in the cold blue of the monitor and did not speak.
Nine. In my own repository. The repository I had defended, line by line, to a judge. And by the logic of my own thread, I had just proved that *my history was forged too.*
> There are nine. In mine.
> Look at them.
I looked.
The first of the nine was a commit from sixteen months ago. Its date was two days before its parent's. I opened the log with a different format, one that shows two dates for each commit, which I had never bothered to learn. And there, in plain sight, was the thing I had been missing for four weeks.
Every commit in git has *two* dates.
The *author date* is when the change was originally written. The *committer date* is when the commit was created in this particular history. In an ordinary commit they're the same. But when you rebase, or cherry-pick, or apply a patch someone emailed you, git creates a new commit and *preserves the original author date.* The author date can be a week old by the time the commit lands. When it lands on top of a parent that was made yesterday, the child can be *older* than its parent. The default `git log` shows only the author date.
That is what the nine were. I had cherry-picked a fix from a side branch onto the main line. The fix was authored on a Tuesday. It landed on top of work from Thursday. Author date Tuesday, parent date Thursday: child older than parent. Perfectly ordinary.
And the 61 in Halcyon's exhibit? Exhibit C listed only one date for each commit. The default one. The author date.
I had not proved forgery. I had proved that a team used rebases.
"Oh no," I said, aloud, to a room of rice-cooker parts.
> Tobias. I think I've made a very serious mistake.
> Yes.
> I compared author dates. They're not meant to be monotonic. Rebases. Cherry-picks. I knew that.
> You knew it. You didn't apply it. There is a second problem.
> What?
> Even committer dates can go backwards. Do you know why?
I thought. Then something surfaced from an undergraduate lecture I had slept through.
> Different machines. Clock skew.
> Yes. A team of five developers has five computers. Each has a clock. Each is off by a different amount, a few seconds or a few minutes, sometimes more, if a laptop was dead and rebooted with the wrong time zone. If Alice commits at 10:00 by her clock and Bob builds on top of it at 9:58 by his, you have a child older than its parent. Nobody lied. Time is not a thing that agrees across machines.
> There's a name for that.
> Lamport. 1978. "Time, Clocks, and the Ordering of Events in a Distributed System." You should read it. It is eight pages. It changed everything and nobody reads it.
I did read it, that night. I will tell you what it says, because it matters, and because it was the thing I had accidentally rediscovered the hard way.
Leslie Lamport observed that in a distributed system, no two machines share a clock. You cannot say that event A happened before event B just because the number on A's clock is smaller. Physical time, measured on separate devices, cannot order events. What you *can* do is track causality: if A could have influenced B, a message traveled from one to the other, then A came before B, and you can label events with counters that respect that order, regardless of what any wall clock says. These are *logical clocks.* They tell you what *must* have come first, not what the sun said.
It is a deep idea. It is also the idea that the content hash in git already embodies: a child's name contains its parent's name, so the parent came first, irrespective of any date. The chain is a logical clock. The date is a gloss.
I had been so careful about one half of this for a month, and so careless about the other.
Mari called at 8:30. I told her before she could speak.
"I know," she said.
"You saw it."
"My phone has been on fire for two hours. Dana filed an emergency motion for an order to show cause, why you shouldn't be held in contempt of the judge's admonition. She has quotes. She has Exhibit B: your thread. She has Exhibit C: nine commits from your *own* repository, with the same defect, that her expert found in forty minutes."
"They're right."
"They're right about the nine. They're *not* right that it's contempt; the admonition wasn't an order. But I will have to say that in a very careful sentence while the judge looks at me with the face of someone who is disappointed in a student."
"I'm so sorry."
"Don't be sorry. Be correct." She sounded tired, not angry, which was worse. "This is the hardest lesson in this kind of fight, Raka. The other side gets to be wrong ten times. You get to be wrong *once.* You have to be the one who's boring and right."
"Delete it?"
"No. Retract it. On top. Same place, same audience, same font size. Don't delete a thing; the internet saves it and it looks worse. Say what you did, why it was wrong, and what you will do instead."
I wrote it before noon.
> **I was wrong.** My thread claiming Halcyon's history is forged is incorrect. The script compared author dates, which are preserved through rebases and cherry-picks and are not required to increase down the chain. My own repository has nine such commits. Dates can also run backwards across machines because clocks disagree. An odd date is a lead worth investigating, not a conclusion. I should have checked my own history first and I didn't. I apologize to Halcyon's engineers, and to everyone who shared my post in good faith. The neutral examiner will examine committer dates and other evidence; I'll wait for her.
I read it aloud, once, to the screen, and pressed *Post.*
It did not travel like the first. It traveled like a retraction. Eleven thousand shares. A lot of thumbs-down faces. Four hundred replies that said *lol.* Jett, on his podcast that evening, with one hand pressed to his chest in theatrical sorrow: "I love this guy. He's got a great heart. I'd just like him to find the part of it that says *check your work.*"
It was funny and it was fair. I watched it twice.
Wren wrote me a text. *Straight line to be a coward: I'm not going to cover this as a scandal. I'm going to cover it as a lesson. But I'm taking you off the 'trusted source' list for a while.*
*That's fair,* I wrote.
*It is,* she wrote. *Come back on it.*
By Friday I had lost twelve thousand followers, one sponsor, and the last of the people who had been willing to say *I believe him* before the court did.
And then Dana's expert filed a second exhibit.
It was a four-page demonstration, with video, of a defect in Patungan's own sync engine, and as I read it my shame deepened by one more floor.
When two phones edit the same shared group while offline and then reconnect, my app has to decide which edit wins. The rule I had written: *the most recent edit wins.* It compares the timestamps on the two edits and takes the later one. It is called last-writer-wins, and it is as common as it is dangerous.
What the exhibit showed was simple. Take two phones. Set one phone's clock an hour *ahead.* Edit the same expense on both. Reconnect. The phone with the fast clock always wins, even if its edit was made first.
Silent data loss. By the lights of the algorithm, the phone from the future had spoken last.
I ran it myself on the two spare handsets. It reproduced in two minutes. A real bug, in the real app, on the real wall clock, which I had trusted exactly as I had told eleven thousand people not to trust a date.
I fixed it in three days. In place of the phone's wall clock, I used a *hybrid logical clock*, a design published in 2014 that combines a physical timestamp with a counter, so that causality is always respected and the time stays close to real time. A message with a later logical stamp always wins, whatever the phone thinks. Skew can no longer reorder history. I wrote tests that set clocks to 1970 and 2099. They passed. I published the fix with the note *Sync no longer trusts your phone's clock.*
That was the cost of the week. A month of credibility, a sponsor, twelve thousand followers, and one more wound.
On Saturday night, Tobias wrote again.
> You have an anomaly, and you've learned what an anomaly is worth.
> A lead.
> A lead. Good. Do you know what turns a lead into a fact?
> A clock that isn't theirs.
> There is a place that has recorded every public push to every public repository on GitHub, hour by hour, for fifteen years. It does not know who you are. It does not care. It has no side.
I read it three times.
> What's it called?
> Go to bed. Tomorrow I'll show you.