Day 9 of 31
The key was called enroll-dev-harness and he had made it himself on the seventeenth of March, 2022, at about four in the afternoon, and he knew that without looking it up because the audit trail he had built in 2018 was tamper-evident, append-only and complete, and because he had been the one to build the tamper-evident, append-only and complete audit trail that was now going to tell him what he had done.
It had been made for the test harness. That was all. Automated enrolment was shipping and the continuous-integration suite needed to enrol a device two hundred times a run to prove the thing worked, and a test cannot hold up two forms of identification, so the harness got a key of its own, scoped โ he had been careful, he had been so careful โ to a test environment.
Scoped to the test environment in the configuration file.
Not scoped in the key.
He found the commit in six minutes.
It was in a public mirror of TALLY's Android client, which existed because in 2021 a university in Ghana had asked to study the offline settlement logic and he had been flattered half to death and had pushed a read-only mirror of three repositories to a public host and had announced it on a mailing list with thirty-one subscribers.
The commit was dated the fourth of April, 2022. It added nine lines to a test fixture, and one of those lines was the dev harness key, in full, in plain text, where any test could read it, though it was precisely why it had been put there.
The author was Toby Ferrar.
Eli sat and looked at the name in the blame output for a few seconds. The commit message said: fix flaky enrolment test (key was in env, CI doesn't have env)
And underneath, in the body, because the kid had been twenty-three and had been taught to write commit messages properly by somebody at a bootcamp:
not sure if this is the right way to do this - E, flag if not
E, flag if not.
Eli put both hands over his face in the empty office and sat like that long enough for the heater to clear its throat twice.
He had flagged it. That was the thing. That was the whole thing.
He went and found it, because the record was complete, because he had made the record complete: on the eleventh of April, 2022, Eli Mercer had reviewed that commit, had seen the key in the fixture, and had revoked Toby Ferrar's access within forty minutes.
He remembered the forty minutes. He remembered them with his body โ the specific cold drop in the stomach, the way the room had gone very quiet, the sentence he had said out loud to himself in this room, and this was okay, okay, okay. He had force-pushed the mirror. He had deleted the fixture. He had rewritten the history. He had written a note to the mailing list of thirty-one subscribers saying the mirror had been rebased. He had done, in forty minutes, every single correct thing available to a man who did not yet understand that a public mirror is not a place you can take something back from.
And then he had sat down to rotate the key, and he had stopped.
The note was in the 2022 notebook, the green one, third from the left on the shelf, and he found the page in under a minute because he had known for five days exactly where it was.
Seventeen lines, in his own hand, dated 11 April 2022.
rotate dev-harness โ CANNOT (yet)
โ harness key was on the provisioning laptop JanโMar (I used it. idiot.)
โ 41,118 devices enrolled with it in the field: Harlan, Plaquemines, Delta, RGV
โ rotation = every one of those devices unenrols. dead. no settlement.
โ re-enrol needs a human + a network. Harlan has neither.
โ would take 6โ9 months of driving
โ key is revoked from CI, scrubbed from mirror, Toby out. exposure = low.
โ DO AFTER Q3 + comms plan + regional re-enrol tour. BUDGET IT.
And then, at the bottom, underlined once, in the handwriting of a man who had been awake too long and had made a decision he believed in:
I am not taking 41,000 people offline to fix a thing nobody has found.
Eli read it eleven times.
The arithmetic was correct. That was what he kept arriving at, and what he would keep arriving at for the rest of his life, in the small hours, in different rooms. In April 2022 he had weighed forty-one thousand people losing the only way they had to be paid against the exposure of a revoked, scrubbed key from a rebased mirror on a mailing list with thirty-one subscribers, and he had decided not to break the forty-one thousand.
Any engineer he respected would have made the same decision in the same chair.
He had even written down the mitigation, and budgeted it, and scheduled it. He had meant it. He could remember meaning it.
Q3 2022 had been the Louisiana expansion. Q4 had been the Android rewrite. 2023 had been the hurricane, eleven days, nine hundred handshakes a night, crying once, briefly. 2024 had been the year he turned thirty-one and TALLY passed three hundred thousand users and he worked two hundred and ninety days. Nobody had ever asked him about a key. Nobody had ever audited him, because there was nobody to audit him, because there was nobody.
He had not forgotten to rotate it. That was the part he could not get comfortable in. A man who forgets is a man who made a mistake. He had decided โ carefully, with numbers, for the sake of the most vulnerable people on his own rail โ and then he had simply never been able to afford the consequence of his own decision, for four years, one quarter at a time.
The same choice. The same choice, twice: in 2017 when he built a system that took people at their word because requiring proof would strand them, and in 2022 when he refused to rotate a leaked key because rotating it would strand them.
Both times he had been right.
Both times he had been the door.
--- He went looking for the forty minutes, because the record was complete, and because he had built the record himself and now had to live in it.
Eleventh of April, 2022, 09:14: he had opened the commit. He knew the time because every access was logged, by his own design, in an append-only store he had been proud of.
09:16: he had opened the key inventory.
09:19: he had run the query that told him how many devices had been enrolled with enroll-dev-harness, and the answer, which he had not expected and had felt in his stomach, was 41,118 โ because the key on the provisioning laptop in January, February and March, the one he had been carrying in a bag to fire stations and church halls, had been the harness key, because it was the one that did not require a network to validate, because that was the entire reason the harness key existed.
He had not scoped it to test in the key. He had scoped it in a configuration file. And then he had taken the laptop out of the configuration file's jurisdiction and driven it to Harlan County.
09:23: revoked Toby Ferrar's repository access.
09:31: force-pushed the mirror.
09:38: deleted the fixture from four branches.
09:44: emailed a mailing list with thirty-one subscribers to say that the mirror had been rebased and asking anybody holding a clone to re-pull.
09:52: opened the key rotation runbook.
And then nothing. The log for the eleventh of April 2022 simply stops at 09:52, and the next entry is at 14:06, and it is the Louisiana expansion planning document.
Four hours and fourteen minutes. That was the gap. He had opened the rotation runbook at four minutes to ten in the morning, and sometime in the following four hours he had worked out what rotation would do to forty-one thousand people in places with no network, and had written seventeen lines in a notebook, and had closed the runbook, and had gone back to work on the thing that was going to double the size of the company.
Eli sat on the floor of his office on day nine with the access log open and looked at the gap for a long time.
There was no entry for the decision. That was what he kept coming back to. Nine years of a tamper-evident, append-only, complete audit trail โ the best piece of engineering discipline in the whole system โ and the single most consequential decision he had ever made did not appear in it anywhere, because it had not been an action.
It had been four hours of a man not doing something, and there is no log line for that.
He called her at twenty past six in the morning.
"It's me," he said.
"I know."
"The dev harness key. March 2022. It went into a public mirror in a test fixture, Toby pushed it, he flagged it in the commit message, I caught it in a week and revoked him and scrubbed it, and I never rotated the key because rotating it would have de-enrolled forty-one thousand devices in places with no network and no bank, and I wrote myself a note saying do it after Q3, and I never did it, and four years later whoever read your paper in November had everything they needed sitting in a fork of a mirror of my own repository."
A long pause with a window in it somewhere.
"Okay," Ada said.
"That's it. That's the whole thing. You can โ"
"I'm not going to," she said.
"You could. You've got it right there."
"Eli." Her voice was perfectly level and he realised she was doing something with enormous effort. "I promised you yesterday and you didn't believe I could do it. I have had four months with this and about nine hundred versions of this exact phone call, and in every single one of them I say the thing, and it is extremely satisfying for about four seconds, and then we are two people with twenty-two days who are not speaking to each other." A breath. "So no. Ask me the next question."
Eli put his forehead against the cool edge of the desk that was a door.
"The next question," he said, "is what the hell do I do."
"Yes," said Ada. "It is. Finally." And then: "Have you eaten?"
"I ate standing up at a counter."
"Jesus Christ, the two of you," she said, which he did not understand for another eleven days.