Blog
← Back to Blog

The Architecture of Intent: Surviving the Great Drift of the AI Era

/ waniwira / #software-engineering#AI#architecture#methodolgy#productivity

In the modern development cycle, we are witnessing a mass surrender.

We call it "efficiency." We call it "velocity." We call it "AI-driven development." But let us call it by its true name: The Great Drift.

Every time you type a prompt and hit enter — expecting a feature, a fix, or a function to manifest from the void — you are participating in an act of architectural surrender. You are trading the structural integrity of your system for the illusion of speed. You are trading the role of the Architect for that of the Passenger.

And in the world of software, passengers eventually crash.


The Entropic Spiral: The Cost of the Prompt

When you "prompt" a complex system into existence, you are not designing; you are performing a ritual of hope. You are hoping that the machine's probabilistic path aligns with your structural intent.

It rarely does.

This is the birthplace of Architectural Entropy — the spaghetti debt that arises when logic is not designed, but merely suggested. It is the moment when your codebase ceases to be a coherent map of intent and becomes a collection of accidental coincidences: a pile of code that works, but whose "why" is lost to the stochastic noise of the model.

To build software that survives its own complexity, you must stop prompting the void. You must start architecting the reality.


The Architect-Driver Model

The rise of AI does not make software engineering obsolete; it makes software architecture indispensable. To build in this era, we must move away from "chatting" and toward a disciplined process of intentionality.

The Architect-Driver model is a chain, not a list:

graph LR
    R["Research<br/>defines the physics"] --> P["Plan<br/>writes the laws"]
    P --> I["Implementation<br/>enforces atomically"]
    I --> C["Control Loop<br/>guards intent"]
    C -.->|"correction"| I

Read the chain backwards and the method reveals itself. Research maps the possible — the protocols, the constraints, the traps that the ecosystem already paid for. The Plan chooses a path across that map and writes it down as a contract. Implementation executes the contract in verifiable steps. The Control Loop guards the whole chain against drift.

The chain is held together by handoffs. Each stage ends in an artifact, and each artifact is the raw material of the next: research ends in a map, the plan ends in a contract, implementation ends in code that obeys. A plan without research is a wish. Code without a plan is drift. Research without a plan is trivia. Research prevents the plan from being fiction. The plan prevents implementation from being chaos. Implementation prevents the vision from being vapor. Break any link — or fumble any handoff — and you are back to prompting the void.

In the previous post in this series, I showed the shape of the chain with a real build. Here is the method behind it — and the links that hold the first three stages together.


1. The Research: The Physics of Your World

Most developers, under the spell of the prompt, skip this step. They move from an "idea" directly to "code." This is their fatal error.

In the Architect-Driver model, research is not a search for answers; it is a process of elimination. We use the research document not to collect information, but to deconstruct the dream. We take a vague concept — "I want to build a proxy" — and we subject it to the unyielding laws of technical truth.

We ask: What are the protocols? What are the constraints? What does this actually cost? We study what the ecosystem has already learned — the reference projects, the documented limitations, the patterns that survived contact with production. And because the machine can hold a map far wider than we can, research is also where we explore the deepest, then write it down in a form we can interrogate later.

The first artifact is a mind state — a thinking log, not a plan. It captures where the idea space stands, so every later decision can be traced back to it. (See Part 1 for the mind state behind the build.)

Research is where we strip the "magic" away. We are not looking for what the AI can do; we are discovering what the system must be. Research is the process of defining the physics of your world.

The output of research is not a specification. It is a map of the possible — every option, every constraint, every trap, with the physics of each.

The handoff: research does not decide — it equips. Its only job is to make the next stage a decision instead of a guess. A map that is never read is wasted effort; a plan that was never fed by a map is a fiction.


2. The Plan: The Immutable Contract

The Plan is the link. Research produces a map; implementation consumes a contract. The plan is the artifact that turns one into the other — the only stage whose output feeds the other two. This is where research becomes decisions.

Here is the moment that separates the Architect from the Passenger. The passenger hands the map to the machine and says "build me something." The Architect reads the map and makes a willed choice: what we will build, what we will not build, and why.

The handoff was literal. The planning session did not begin with a blank page — it began with the instruction to read RESEARCH.md first. The map was required reading. And when it was read, the scope was set in one sentence — so many ideas in that file, but for now, I want to create the simple one.

That is scope as an act of will. Not "everything that is possible," but the simple thing that proves the core — with the structure ready to grow. The plan that followed defined what was in, what was out, and, crucially, the growth seams that would let the deferred ideas plug in later without rearchitecting.

A masterfully crafted plan defines:

  • The Boundaries — the scope and the structure; what we are not building.
  • The Constraints — the stack, the dependencies, locked with rationale.
  • The Growth Seams — the interfaces and abstractions that let the system evolve without a total rewrite.

The Plan is the Architect's Contract. It is the anchor that prevents the AI from drifting into the chaos of the "possible" and forces it to stay within the reality of the "designed."

And there is one hard rule, learned the hard way: never let an AI write code until it has written the plan. The plan is not a summary of intentions. It is the bridge between the abstract truths of research and the concrete reality of implementation. If you cannot write the plan, you are not ready to build.

The handoff: the contract. This is the link between research and implementation — the plan is where research becomes decisions and where implementation receives its orders. Every line of the contract should be traceable to a finding; every finding you choose to defer should be traceable to a seam.


3. The Implementation: Atomic Discipline

With the contract signed, we enter the phase of execution.

The gate was literal. When the planning was done, the instruction was not "start building" — it was "create PLAN.md first." The contract had to exist before a single line of code was allowed. That is the rule "never let an AI write code until it has written the plan" made visible in the session log.

The Prompter says "build the app." The Architect implements the plan in discrete, verifiable steps — each one a mission, each one successful before the next begins. We scaffold the structure, we build the core, we build the engine, we build the interface. The plan even carried its own order of battle — a numbered list of missions — and the build followed it exactly. In the build from Part 1, the sequence was dictated by the plan itself: the seam first, then the parts that plug into it, then the interface. Execution never outpaces oversight.

Why the discipline? Because entropy seeks entry at the point of execution. The machine is fast and confident — it will happily skip ahead, invent a dependency, or "improve" a locked decision. Atomic steps keep every action traceable to the contract. When a step is done, you verify it against the plan, and only then do you take the next one.

The machine executes. The Architect orders the execution. That is the division of labor — and it is the reason the plan exists at all. Implementation is where the contract becomes real; it is never where the contract is written.

The handoff: code that obeys. This is the link between plan and implementation — implementation is the plan made literal. Every file exists because the plan says it should. Every decision is documented. Every growth seam is explicit. When the code and the contract disagree, the contract wins — or the contract is amended, deliberately, by the Architect.

The first three links of the chain are now closed. Research produced the map; the plan chose the path; implementation walked it — and each handoff was witnessed in the session log, not assumed on faith. What remains is to keep the chain closed.


4. The Control Loop: The Sovereignty of Intent

Even with a perfect plan, entropy seeks to enter. A routing error occurs; a dependency is hallucinated; a logic gate swings the wrong way.

The Prompter looks at the error and asks, "Why did this happen?"

The Architect looks at the error and says, "The path is duplicating because [Reason]. Fix the routing logic."

The Architect does not seek the AI's opinion; the Architect provides the correction. You are the pilot; the AI is the engine. If the engine veers, you do not ask it how to steer — you grab the controls.

Notice what makes the correction possible: it is grounded in the physics discovered during research and the laws locked in the plan. You are not guessing. You are enforcing a contract you wrote. The control loop is where sovereignty — the Architect's right and duty to decide — becomes a daily practice, not a slogan.


Conclusion: Reclaiming the Throne

The rise of AI does not make software engineering obsolete; it elevates it.

The era of the "Coder" — the person who simply translates requirements into syntax — is ending. The era of the Architect-Driver has begun. The most valuable engineers of this new age will not be those who have mastered the art of the prompt, but those who have mastered the art of intentionality: the ability to define the physics, write the laws, enforce them atomically, and hold the wheel when the machine drifts.

The machine can give you speed. It can give you syntax. It can even give you logic.

But it cannot give you structure. That is your domain.

Stop prompting the void. Start architecting the truth.


This is Part 2 of the Architect-Driver series. The full case study — the research mind state, the locked contract, and the build — lives in Part 1: The Missing Middle. ; study case is in jpt-chat-log