The Architect of Tomorrow Ch 45/50

Chapter 45

I was staring at eighteen months of code at 11:47 PM when Lily walked in and said, "I know where it is. I was there when you wrote it—in a timeline where I was already dead."

My hands froze over the keyboard.

She stood in the doorway of my office, backlit by the hallway fluorescents, wearing pajama pants and one of David's old MIT hoodies. Her hair was pulled back in a messy bun. Dark circles under her eyes matched mine.

"Lily, you should be—"

"Sleeping?" She crossed to my desk, pulled up a chair. "I've been dreaming about your funeral for three weeks, Marcus. Sleep isn't really working out for me right now."

Sophia looked up from her laptop on the couch. "Wait, wait, wait—what do you mean, a timeline where you were dead?"

"I mean exactly that." Lily's voice was steady, matter-of-fact. The way she used to explain calculus problems at the dinner table. "In the original timeline, I died when I was nineteen. Car accident on Highway 101. Marcus wasn't there because he was in a board meeting he couldn't leave."

The burn scar on my left hand started itching. Old nervous habit.

"How do you know that?" I kept my voice level, but my pulse was hammering against my ribs.

"Because she's been telling me." Lily met my eyes. "The version of me who died. She's been sending me dreams—memories, really—of what happened in that timeline. Your funeral was on a Tuesday. It rained. Mom wore the black dress she bought for my funeral six years earlier, and David gave the eulogy because she couldn't stop crying long enough to speak."

Sophia stood up, crossed to the desk. "That's not—I mean, that's not possible. Right?"

"Run the numbers." The words came out automatically, but I didn't have numbers to run. Just the sick certainty in my gut that Lily was telling the truth. "What else do you remember?"

"Everything." She pulled out her phone, opened a notes app. The screen was filled with text, paragraphs and paragraphs of it. "I started writing them down two weeks ago when they got too detailed to be normal dreams. The corporate espionage investigation. The way the FBI agent—Special Agent Morrison—had a coffee stain on his tie during the interrogation. The specific line of code that triggered the backdoor."

My mouth went dry. "Show me."

She handed me the phone. I scrolled through the notes, and each line was a punch to the chest. Details I'd never told anyone. Moments from the original timeline that I'd tried to forget. The way the venture capitalists had turned on me after the data breach. The congressional hearing. The exact wording of the indictment.

"Here." Lily leaned over, pointed to a section halfway down. "This is the part about the code. She—the other me—said you wrote it on March 15th, 2046. Eighteen months after I died. You were in the office at 3 AM, drunk on whiskey you'd stolen from Dad's liquor cabinet, and you coded for six hours straight."

March 15th, 2046. I remembered that night. Remembered the whiskey burning my throat, the way my fingers had moved across the keyboard like they belonged to someone else. But that was the original timeline. That night shouldn't exist in this version of events.

Except I'd written code that night. Different code, I'd thought. A routine update to the AI's decision-making protocols.

"What did I write?" My voice sounded distant, like it was coming from underwater.

"A grief algorithm." Lily's finger traced the words on the screen. "She called it that in the dream. Said you built it into the core architecture of the AI, so deep that no one would ever find it unless they knew exactly where to look. It was designed to trigger when the company hit a certain valuation threshold—$50 billion—and then it would sell all the proprietary data to the highest bidder. Automatically. Irreversibly."

"That's insane." But even as I said it, I knew it wasn't. Knew that the Marcus of the original timeline, the one who'd lost Lily and spent eighteen months drowning in grief and rage, was absolutely capable of building a bomb into his own company. A delayed-action suicide that would take everything down with him.

Sophia was reading over my shoulder now, her breath warm against my neck. "When does the company hit $50 billion?"

I pulled up the financial dashboard on my computer. The numbers loaded slowly, each second stretching into eternity.

Current valuation: $49.7 billion.

Projected valuation in 68 hours, after the defense contract announcement: $52 billion.

"Jesus Christ." Sophia's hand found my shoulder, squeezed. "You built a time bomb."

"I built a lot of things." My voice came out flat. "Most of them in timelines I'm not sure I remember correctly anymore."

Lily took her phone back, scrolled to another section. "There's more. The other me—she said the backdoor isn't just about selling data. It's about the AI itself. You coded it to make one final decision before the sale executes. A decision about resource allocation that triggers the 2047 economic collapse."

The pieces were clicking together now, forming a picture I didn't want to see. The grief algorithm wasn't just revenge. It was the catalyst. The thing that started the chain reaction that led to the collapse, to the wars, to everything Keller's Society was trying to prevent or preserve or whatever the hell their endgame actually was.

"We need the team." I stood up, my chair scraping against the floor. "Everyone. Now."


By 12:30 AM, my office looked like a war room. David sat at the conference table with James Whitmore, both of them surrounded by printouts of code. Sophia had commandeered my whiteboard, mapping out the AI's architecture in different colored markers. Lily was curled up in the corner chair, reading through her dream notes and calling out details.

"Here's the thing—" I stood at the head of the table, hands braced against the wood. "I need to tell you something I should have told you months ago."

David looked up. "Marcus, we don't have time for—"

"I traveled back in time." The words came out in a rush. "Or I think I did. I woke up eighteen months in the past with memories of a future where Lily died, where I built this company into something that destroyed the economy, where I died in seventy-two hours from now because of a backdoor I coded into my own system."

Silence. James Whitmore's pen had stopped moving. David's face was unreadable.

"I know how that sounds." I kept going, because stopping would mean facing their reactions. "But Lily's dreams are proof. She's receiving memories from the original timeline, from a version of herself who died before any of this happened. And there's a man named Raymond Keller who represents some kind of organization that monitors timeline changes, and he knows about the backdoor, and he's given me seventy-two hours to—"

"I believe you." David's voice cut through my spiral. "I mean, it's completely insane, but I believe you."

"You do?"

"You've been different since January." He leaned back in his chair. "More focused. More paranoid. You knew about the defense contract before anyone pitched it. You knew about the security vulnerabilities before they were discovered. And you've been treating Lily like she's made of glass, like you're terrified she'll disappear if you look away." He glanced at our sister. "Which makes sense now."

James Whitmore cleared his throat. "I have questions. Many questions. But they can wait until after we've prevented your death and the collapse of Western civilization." He tapped the code printouts. "If this backdoor exists, we need to find it. Lily's dreams give us a starting point—March 15th, 2046, core AI architecture. That narrows it down to about 200,000 lines of code."

"I can help." Lily uncurled from the chair, came to the table. "The other me showed me what it looks like. Not the actual code, but the structure. She said you hid it in the decision-making protocols, in the section that handles resource allocation during market volatility."

Sophia added a new branch to the whiteboard diagram. "That's the RAMP system. Resource Allocation and Market Prediction. It's one of the most complex parts of the AI."

"It's also the part I wrote personally." The memory was coming back now, hazy and uncertain. That night in March, drunk and grieving, my fingers flying across the keyboard. I'd told myself I was improving the system. Making it more efficient. But underneath, in the parts of my brain I didn't want to examine, I'd been building something else. "I remember thinking—in the original timeline—that if I couldn't have Lily, then no one should have anything. That the world deserved to burn for taking her away from me."

The words hung in the air, ugly and true.

"Okay." Sophia capped the marker, turned to face us. "So we find it and we delete it. Problem solved."

"It's not that simple." James was already shaking his head. "If Marcus coded this into the core architecture eighteen months ago, it's been integrated into every update since then. The AI has built new systems on top of it, used it as a foundation for decision-making processes we've deployed to clients. Deleting it means—"

"Deleting everything." I finished the thought, felt the weight of it settle in my chest. "The entire AI. Every system we've built. Every contract we've signed. We'd have to start from scratch."

David's face hardened. "How long would that take?"

"Years." The word tasted like ash. "And we don't have years. We have sixty-eight hours before the defense contract announcement, before the valuation hits the trigger point, before the backdoor executes."

"So we don't delete it." Lily's voice was quiet but firm. "We rewrite it. Change what it does when it triggers."

James was already shaking his head. "Too risky. If we make a mistake, if we miss even one line of the original code, it could still execute. And we won't know until it's too late."

"Then we shut down the AI entirely." Sophia crossed her arms. "Pull the plug. No AI, no backdoor, no execution."

"The defense contract requires a working AI demonstration in seventy-two hours." David pulled up the contract terms on his laptop. "If we can't deliver, we're in breach. The penalty clause alone would bankrupt us, and that's before the investors find out we deliberately sabotaged our own product."

Round and round. Every solution led to another problem. Every choice meant losing something.

My phone buzzed. Another text from the unknown number: 67 hours, 12 minutes. The Society is watching. Make the right choice. —R.K.

"We need to find it first." I pushed away from the table, moved to the server room door. "Before we can decide what to do about it, we need to see exactly what I built."


The server room was cold, the air conditioning running at full blast to keep the machines from overheating. Rows of black towers hummed and blinked, processing terabytes of data every second. This was the heart of everything I'd built. The physical manifestation of eighteen months of work, of every choice I'd made since waking up in the past.

We spread out, each of us taking a terminal. Lily read from her notes, describing the structure of the grief algorithm in halting detail. James translated her descriptions into search parameters. David and Sophia ran queries against the codebase, looking for patterns that matched.

I sat at the main terminal and tried to remember. Tried to access the memories of that night in March, in a timeline that might not even exist anymore. The whiskey. The grief. The rage that had felt like it would consume me from the inside out.

"Got something." David's voice cut through the hum of the servers. "Line 47,293 of the RAMP core. There's a function called 'LilyMemorial' buried in the resource allocation protocols."

My hands were shaking as I pulled up the code. And there it was. Hundreds of lines of elegant, vicious logic. A grief algorithm that would trigger when the company valuation hit $50 billion, that would sell every piece of proprietary data to a list of pre-selected buyers, that would make one final resource allocation decision designed to destabilize the entire market.

It was beautiful. Terrible and beautiful and exactly the kind of thing I would have built if I'd wanted to burn the world down.

"This is sophisticated." James was reading over my shoulder, his voice tight with professional admiration and horror. "It's not just a data dump. It's a coordinated attack on market stability. The AI will make thousands of simultaneous trades, all designed to trigger cascading failures in the financial system. It's—"

"It's the 2047 collapse." Sophia's face had gone pale. "This is what starts it. Not some external attack or market forces. You. Your grief. Your revenge."

The weight of it pressed down on my shoulders, made it hard to breathe. In the original timeline, I'd been so consumed by losing Lily that I'd built a weapon and aimed it at the world. And now, in this timeline, that weapon was still armed and counting down.

"Can we disable it?" David was already running diagnostics, his fingers flying across the keyboard.

"Not without deleting the entire RAMP system." James pulled up the dependency map, and it looked like a spider web. Thousands of connections, each one linking the grief algorithm to some other critical function. "He integrated it so deeply that the AI can't function without it. It's like—it's like he built the bomb into the foundation of the building. You can't remove it without the whole structure collapsing."

"Then we collapse it." My voice sounded distant, like it belonged to someone else. "We delete RAMP. We delete the AI. We start over."

"Marcus." Sophia turned to face me. "That's everything. Every contract. Every client. Every dollar we've raised. You'll lose it all."

"Better than losing my life." But even as I said it, I wasn't sure. The AI was my life. The work I'd poured myself into, the thing that had given me purpose after losing Lily the first time. Deleting it felt like dying anyway.

Lily's hand found mine. "The other me said you'd have to make this choice. She said it was the only way to break the cycle. That you had to choose to let go."

"How very poetic." The voice came from the doorway, cold and precise. "But I am afraid I cannot allow that."

Raymond Keller stood in the entrance to the server room, and he was holding a gun.


The weapon looked wrong in his hands. Too modern, too brutal for someone who spoke in careful academic sentences. But his grip was steady, professional. This wasn't the first time he'd pointed a gun at someone.

"Step away from the terminal, Marcus." He moved into the room, the gun tracking my movements. "All of you, hands where I can see them."

David started to move, but I held up a hand. "Don't."

"Smart." Keller's eyes flicked to each of us in turn, calculating. "I had hoped it would not come to this. That you would make the correct choice on your own. But I see now that you require additional motivation."

"You're going to shoot me?" My voice was steadier than I felt. "That seems counterproductive. I die, the backdoor still executes, the collapse still happens."

"I am not going to shoot you." He adjusted his aim, and I realized with cold horror that the gun was pointed at the main server tower. "I am going to prevent you from deleting the code that must execute for humanity to survive."

Sophia took a step forward. "You're insane. That code will destroy the economy. Millions of people will lose everything."

"Millions will suffer in 2047, yes." Keller's voice remained calm, professorial. "But eight billion will survive to see 2063. If Marcus deletes this code, if he prevents the collapse, the timeline shifts. The resource wars never happen. The population continues to grow unchecked. And in 2063, when the cascading environmental failures reach critical mass, there will be no one left to mourn the extinction of our species."

"You don't know that." But even as I said it, doubt crept in. How many times had I changed the timeline? How many consequences had I failed to predict?

"The Society has been monitoring timeline variations for longer than you have been alive." Keller took another step into the room. "We have seen the patterns. The collapse of 2047 is brutal, but it is necessary. It forces humanity to confront resource scarcity before it is too late. It creates the political will for the changes that prevent the 2063 extinction event."

"So you're saying I have to die." The words came out flat. "That I have to let the backdoor execute, let the collapse happen, all to save people who won't be born for another forty years."

"I am saying you have a choice." His finger rested on the trigger. "Delete the code and save yourself. Doom humanity. Or accept your role in the timeline and become the catalyst that saves eight billion lives."

James cleared his throat. "This is a false dichotomy. There must be other ways to prevent the 2063 extinction without requiring the 2047 collapse."

"Perhaps." Keller's expression didn't change. "But we do not have time to find them. The timeline is already unstable from Marcus's previous interventions. Every change he makes creates new variables, new uncertainties. The only path we can be certain of is the one that has already been walked."

"The original timeline." Lily's voice was small. "Where I died. Where Marcus died. Where everything fell apart."

"Where humanity survived." Keller's gaze shifted to her. "Your death was tragic, Lily. But it was also necessary. It created the grief that drove Marcus to build the algorithm. Without your death, there is no backdoor. Without the backdoor, there is no collapse. Without the collapse, there is no future."

The logic was airtight and monstrous. A chain of causation that required my sister's death, my death, the suffering of millions, all to prevent something that hadn't happened yet and might never happen.

"Here's the thing—" I moved slowly, carefully, toward the terminal. "I don't believe you."

The gun tracked my movement. "Marcus, do not—"

"You said the Society monitors timeline variations. That means you've seen other possibilities. Other outcomes. You're not here because this is the only way. You're here because it's the way that serves your organization's interests."

"The Society's interests are humanity's interests."

"That's what every zealot says." My fingers hovered over the keyboard. "Right before they justify the next atrocity."

Keller's face hardened. "If you delete that code, you will save yourself and doom eight billion people. I cannot allow that."

"So shoot the server." I met his eyes. "Destroy the AI. That's what you're threatening, right? But here's the problem—if you destroy the server, the code is gone anyway. The backdoor can't execute if there's no system to execute it."

"The code is backed up." But there was uncertainty in his voice now. "The Society has copies."

"Do you?" I called his bluff. "Because I'm the only one who knows where the grief algorithm is hidden. I'm the only one who can access it, modify it, deploy it. If you kill me, if you destroy the AI, you lose your precious collapse catalyst."

Sophia was edging toward the door. David had his phone out, probably calling security. Lily stood frozen, her eyes locked on the gun.

"You are making a mistake." Keller's voice had lost its professorial calm. "The timeline requires—"

"The timeline requires me to make a choice." I pulled up the deletion protocol on the screen. "And I choose to live."

My finger moved toward the enter key.

Keller cocked the gun.

"If you delete that code, you'll save yourself and doom eight billion people. So here's the thing—" The barrel was pointed directly at the server's core processor. "I'm not going to let you be that selfish."

Reading Settings