iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🚀

[Intent Drift Detection; Part 12] Epilogue - In the Midst of a Paradigm Shift

に公開

Epilogue

Looking Back on the Series

This series has finally reached its final installment.

Starting from the prologue in Part 1, we have spent 12 parts thinking about the problem of "intent drift." It was a long journey. My heartfelt thanks to all of you who followed along.

In this final part, let me look back on the discussions so far, confront the remaining questions, and share why I wrote this series.

The Trajectory of the Journey

What We Have Been Asking

This series began with one fundamental question.

"It was built according to the requirements, yet somehow it's wrong" — What is the essence of this phenomenon?

We have approached this question from various angles.

What We Covered in Each Part

Part 1: Prologue
Starting from the discomfort of "it was built according to the spec but something is off," we raised the issue of intent drift. There is something invisible to diffs. Is it the loss of "Why"?

Part 2: What Is Intent Drift?
We defined intent drift as "the loss of semantic consistency between the behavior originally intended in requirements or design and the state that has changed over time." Using the concept of information entropy, we explained the mechanism of intent dilution. We reviewed academic foundations such as Gotel & Finkelstein (1994) on traceability, Nonaka and Takeuchi's knowledge creation theory, and Lehman's laws of software evolution.

Part 3: What Happens on the Job
Through specific scenarios—Monday morning's "this isn't it," handover of three-year-old code, unclear intent of AI-generated code, disconnect between infrastructure and applications, outsourcing to external vendors—we portrayed the reality of intent drift. We also introduced Chesterton's Fence, Michael Feathers' definition of legacy code, and the cognitive psychology "curse of knowledge."

Part 4: Can AI Understand Intent?
Through the lens of Theory of Mind and tacit knowledge, we considered the possibilities and limitations of AI's understanding of intent. Referencing Premack & Woodruff's chimpanzee research, Kosinski's recent LLM studies, Searle's Chinese Room, and Nonaka and Takeuchi's SECI model, we proposed a human-AI collaboration model.

Part 5: Why Is It Difficult for AI to Understand Intent?
From the perspective of information entropy, we analyzed the technical limitations of LLMs. We delved into Shannon's information theory, the Transformer architecture by Vaswani et al., the RAG pattern by Lewis et al., and Bender et al.'s criticism of "stochastic parrots." We also introduced Friston's free energy principle and predictive coding, arguing that an engineer's "sense of wrongness" is the brain's prediction error. We proposed the concept of an entropy reduction pipeline.

Part 6: The Philosophy of Context Engineering
We organized the evolution of human-AI dialogue into a four-stage model (Translation → Instruction → Scenario → World) and clarified the positioning of IDD. We referenced a 2025 paper by Hua et al. and Hall's (1976) research on high-context and low-context cultures.

Part 7: The Concept of Intent Drift Detector
We explained the core of IDD in detail: the four-element model of intent (Why/What/How/Not), the three-layer traceability model, and the three-layer project hierarchy model. We referenced Nygard's (2011) ADR and Lee & Lai's (1991) design rationale research.

Part 8: AI Multi-Agent and Collective Intelligence
We described a democratic voting architecture where multiple LLMs collaborate to perform verification. Referencing Surowiecki's (2004) "wisdom of crowds," Du et al.'s (2023) multi-agent debate, and Wang et al.'s (2023) self-consistency research, we discussed why multiple LLMs are used and how to handle minority opinions.

Part 9: Serverless Implementation on AWS
We thought-implemented a specific architecture combining Lambda, Step Functions, Bedrock, DynamoDB, and others.

Part 10: Philosophical Questions
Using insights from philosophy, we considered what it means to "understand intent." We discussed six philosophical foundations and how they relate to IDD: Kant's epistemology (Copernican revolution, noumenon), Husserl's phenomenology (intentionality), Gadamer's hermeneutics (fusion of horizons, prejudice), Wittgenstein's language games, Austin's speech act theory, and Derrida's deconstruction.

Part 11: Why IDD Is Needed Now
We organized changes in software development in the AI era, researchers' views, and industry trends to argue the necessity of IDD. We referenced Grady Booch, Martin Fowler, technical debt research, ADR adoption, Docs as Code, evolution of requirements engineering, and Explainable AI.

Questions We Have Kept Asking

Throughout this series, I have continued to ask the following questions:

  1. What is intent? Not mere metadata, but something rooted in the structure of human consciousness.
  2. What is understanding? Not mere information processing, but participation in context, fusion of horizons.
  3. Can AI understand intent? Partially possible, but different from human understanding.
  4. How can we preserve intent? Formalization, continuous verification, and human collaboration.

Frankly, we have not yet obtained clear answers to these questions.

But I believe there is value in continuing to ask.

Remaining Questions

Technical Questions

Q1: Is LLM accuracy sufficient?
Current LLMs are useful as "auxiliary tools" for extracting intent and detecting drift. However, they are far from achieving "complete automation." They have limitations, especially in understanding project-specific context, industry-specific knowledge, and organizational culture.

Future evolution of LLMs (longer context windows, improved reasoning capabilities, multimodal support) may alleviate these limitations. However, I do not believe that "human involvement will become unnecessary."

Q2: Can scalability be ensured?
Can IDD scale for large-scale projects (tens of thousands of files, hundreds of developers)?

Technically, this can be addressed through distributed processing, incremental processing, and caching. However, this has not been verified in actual large-scale projects. This will become clear through future practice.

Q3: Is the cost reasonable?
The cost of using LLM APIs is not negligible. In particular, multi-agent voting using multiple LLMs incurs significant costs.

Costs can be reduced through cascading processing and caching, but some level of cost will always remain. The investment is justified if this cost is lower than the "hidden costs" of intent drift (rework, bugs, knowledge loss).

However, quantifying this "hidden cost" is not easy.

Organizational Questions

Q4: Is cultural change possible?
Without a culture of "recording the Why," the effectiveness of IDD will be limited.

However, cultural change does not happen overnight. Changing a culture that says "there's no time to document" or "code is king" requires time and sustained effort.

Introducing tools can be a catalyst for cultural change. But tools alone cannot change culture.

Q5: Who is responsible?
Recording intent, verifying drift, and implementing corrections — whose responsibility are these?

Is it the developer's? The project manager's? The architect's? The QA team's?

Without a clear assignment of responsibility, it becomes "someone else will do it," and ultimately no one does. This is not a technical problem, but an organizational one.

Philosophical Questions

Q6: Is perfect transmission of intent possible?
Hermeneutics, language games, deconstruction — these philosophical perspectives cast doubt on the possibility of perfect intent transmission.

Probably, "perfect" intent transmission is impossible. However, "better" intent transmission is possible. IDD aims for "improvement," not "perfection."

Q7: Is AI's "understanding" the same as human "understanding"?
Searle's "Chinese Room" and Wittgenstein's "forms of life" suggest that AI's understanding may be fundamentally different from human understanding.

However, perhaps what matters is not "same or different," but "is it useful?" Even if AI's "understanding" differs from a human's, if it helps detect intent drift, it has practical value.

This question will continue to be explored by philosophers and cognitive scientists. As engineers, we will monitor that discussion while continuing to build practical tools.


Answers to Anticipated Questions

Among those who have read this far, some may have questions — or rather, straightforward objections.

"Can't existing tools do that?" "Does it even have a track record?" — It's only natural to think so. In fact, it would be unnatural not to.

Here, I will preemptively answer the questions that readers are likely to naturally have.

"Aren't existing tools enough?"

It's true that existing tools (requirements management tools, document management tools, code review tools) exist.

However, these tools are not specialized in "managing the Why." IDD differs from existing tools in that it directly treats the "Why" as a management target on par with — or even above — code and specifications, and leverages LLMs to automate verification.

Of course, integration and collaboration with existing tools are important. IDD aims not to replace existing development processes, but to complement them.

"Is it necessary even for small-scale projects?"

To be honest, for small-scale projects of five or fewer people, where everyone can communicate closely, IDD may be overkill.

IDD delivers the most value in environments where intent is easily lost due to scaling up, team distribution, or the passage of time.

However, even in small-scale projects, there is value in cultivating the habit of "recording the Why." When the project grows, that habit will prove useful.

"Doesn't this rely too much on AI?"

Over-reliance on AI is certainly a risk.

IDD positions AI as a "support tool." Final decisions are made by humans, and AI output is subject to verification. The basic stance of IDD is to use AI while recognizing its limitations, not to blindly trust it.

Furthermore, multi-agent voting and the preservation of minority opinions are mechanisms to mitigate the risk of depending on a single AI.

"But do you have any track record?"

To be honest, IDD is still in the proof-of-concept (PoC) phase.

It has no track record in large-scale production environments. It needs to be validated and improved through actual projects going forward.

However, we believe the conceptual foundation is solid. The next phase is to refine it through practice.

"Isn't this just about writing better documentation?"

You've hit a sore spot. Half of that is true.

If you isolate the claim "record the Why", it's no different from the age-old advice of "write proper documentation" that has been repeated for decades. And precisely because that advice has not been practiced, we have the current problem.

However, to dig a little deeper, IDD aims not just at "writing documentation," but at properly managing the information behind decisions through language. The tacit reasons for judgments that exist only in people's minds, the context that was only shared verbally, the discussions that flowed through Slack — these are translated into a searchable and verifiable form. This is not merely "documentation upkeep," but a practice closer to information governance.

Furthermore, IDD differs from existing "write documentation" arguments in two respects. First, it structures what should be recorded (the 4-element model of Why/What/How/Not). Second, it incorporates a mechanism to continuously verify, using LLMs, whether the recorded intent has diverged from the implementation. It is a device to ensure that "what you wrote continues to live," rather than "it's finished once it's written."

Nevertheless, we must acknowledge that the unglamorous work of verbalizing and recording forms the foundation.

"Was it necessary to bring in philosophy and cognitive science?"

Perhaps it wasn't. To be honest.

Dragging Kant and Husserl into an engineering problem may seem overblown. The voice that says "just show us the technical solution" is perfectly reasonable.

However, my experience while writing this series has been that building an intent drift detection tool while avoiding the question of "what is intent?" and "what is understanding?" would be like building a house without a foundation. Philosophical questions do not appear directly in IDD's functional specifications. But when explaining "why we made this design decision," without that background, it lacks persuasiveness.

The series may have been too heavy as reading material. However, I could not convey the essence of IDD without discussing these topics.

"Wouldn't LLMs improve and solve this naturally?"

Maybe yes, maybe no.

Given the pace of LLM evolution, the scenario where "in a few years, an AI that fully understands context will appear, and intent drift will become a problem of the past" is not impossible.

However, even if LLMs become dramatically smarter, if we do not input what humans intended, AI has no way to verify it. The practice of structuring and recording intent will remain necessary no matter how much LLM performance improves. In fact, the smarter LLMs become, the more valuable structured intent data will be.

IDD is not necessary because "current LLMs are imperfect," but because the practice of explicitly handling intent itself has value.

"We don't have time to record the Why on the ground"

This is perhaps the most earnest objection.

In the daily grind of deadlines, incident responses, and meetings, being told to "write the Why" elicits the honest response from the field: "we don't have that kind of bandwidth." I understand.

That is precisely why IDD incorporates automated extraction using LLMs. It gathers the Why from existing sources: documentation, commit messages, PR discussions, Slack conversations. It is an approach of "aggregating the Whys that are already scattered around" rather than writing from scratch.

Still, it requires some effort. But compared to the time spent on rework, failed handoffs, and investigating code with unclear intent due to not recording the Why, which is greater? That must be judged by each team on the ground.

"The talk is too grandiose; I don't know what to do starting tomorrow"

Fair point.

Over 12 installments, the series has ranged from philosophy to cognitive science, information theory, multi-agent systems, and concrete implementation images (thought experiments). By focusing on presenting the big picture, I cannot deny that the answer to "So, what do I do first thing tomorrow morning?" became diluted.

Let me offer just one suggestion: The next time you change code, add one line to your commit message explaining "why you made this change" and one line explaining "why you didn't take an alternative approach." That's it. Why and Not — even IDD's grand architecture, when boiled down, is an extension of this two-line habit.

Grand visions are realized only through the accumulation of small steps.


Negative Opinions

1: "Most teams can't even write Why/Not. This is nothing but idealism."

This is the most legitimate criticism. And it is half correct.

Look at the reality of development teams. They are driven by sprint deadlines, handling incident escalations, conducting interviews, having 1-on-1s, and writing code in between. How many teams, when told to "structurally record the four elements of Why/What/How/Not," can genuinely respond, "Yes, understood"?

Honestly, not many.

But let's flip the question. Is the inability to write really just a matter of time?

When ADR (Architecture Decision Records) appeared, similar criticism arose: "I have no time to write that stuff." Yet today, more and more teams are adopting ADRs. Why? Because the cost of not writing became visible. Teams would find themselves stuck in front of an architectural decision that no one could explain three years later. After repeating that experience, the perception shifted from "no time to write" to "no leeway not to write."

I believe IDD will follow the same path. However, considering that it took over a decade for ADRs to become widespread, the penetration of IDD will likely take an equivalent or longer time.

That is precisely why IDD assumes gradual adoption. I am not saying that all projects must fully operate the 4-element model from the start. Start with a team that writes ADRs adding one line of Why/Not to their ADR. Add a field in the PR template for "what was intentionally excluded in this change." Use LLM-based auto-extraction to gather Whys from existing Slack and PR discussions. Aim not for perfect structuring, but for "raising the resolution of the Why one notch higher than today."

I accept the criticism that this is idealism. But unless we talk about ideals, reality will not change.

2: "Having LLMs handle intent is dangerous — hallucination, leakage, and auditing are all problematic."

This is one of the most technically important opinions. And any IDD that disregards this criticism will die before it is adopted.

Let me address them in turn.

The Hallucination Problem.

LLMs can "detect" intent drifts that don't exist. Conversely, they can miss significant drifts. If IDD reports "there is an intent drift" and a developer trustingly makes an unnecessary fix, that in itself creates a new intent drift. Both false positives and false negatives distort decision-making.

IDD's answer to this is multi-agent voting and the final judgment right of humans. As detailed in Chapter 8, IDD does not blindly trust the output of a single LLM. It verifies with multiple models, and if the degree of agreement is low, it marks the issue as "judgment pending" and escalates it to a human. The LLM's output is a "reference opinion," not a "judgment." The moment this design principle breaks, IDD becomes harmful.

The Leakage Problem.

Intent data can contain business strategies, sources of technical advantage, and results of competitive analysis. The risk of sending this to external LLM APIs is not negligible. Especially in enterprise environments, data residency and compliance requirements are strict.

IDD's answer is to ensure the availability of execution environment options. The AWS implementation in Chapter 9 adopted Amazon Bedrock, which allows running LLMs within an AWS VPC so data does not go outside. There are also options to use on-premise LLMs (such as Llama models). However, models in closed environments may perform worse than cutting-edge API models. There is a trade-off here, and each organization must decide according to its risk tolerance. I cannot irresponsibly say this is "safe for every organization."

The Audit Problem.

"Why couldn't this intent drift be detected?" "Why was this LLM judgment adopted?" — when an incident occurs, we must be able to answer these questions. The LLM's reasoning process is a black box, and conventional auditing methods are insufficient.

IDD's answer is complete recording of the judgment process. The inputs and outputs of each LLM, voting results, confidence scores, content of minority opinions — all of these are recorded immutably. The 3-layer traceability model described in Chapter 7 serves as the foundation not only for human intent but also for tracing the AI's judgment process. While perfect explainability is not currently possible, having a record of "what was input, what was output, and how the human judged it" provides a starting point for audits.

Frankly speaking, these problems are not fully solved. Until LLM reliability matures, IDD's AI verification function should be treated as "training wheels." Intent structuring and recording — the first half of IDD — has value even without LLMs. AI verification should be introduced gradually in alignment with the maturity of technology and governance.

3: "Who decides what is 'correct intent' — that is politics, not technology."

This is the most difficult criticism to answer. And it is the problem that engineers most want to ignore.

Consider this. Suppose a system's "intent" is recorded. The product manager writes "prioritize user experience above all." The architect writes "prioritize performance and scalability above all." The security team writes "apply the zero-trust principle without exception." When these intents conflict, what does IDD treat as the "correct intent"?

The answer is: IDD does not decide what is "correct intent."

What IDD detects is "drift," not "right or wrong." "This implementation is consistent with recorded intent A, but drifts from intent B" — that is IDD's job. Which intent should be prioritized is left to human — more precisely, organizational — decision-making processes.

However, I know this answer is not sufficient.

Because the act of "recording intent" is itself already political. Whose intent gets recorded? Whose intent is treated as "official"? Do intents not recorded become as if they never existed? Do the intents of the louder voices take priority? Is the on-the-ground engineer's intuition that "this is technically wrong" not even recorded in the face of the business side's "just ship it quickly"?

These are problems technology cannot solve. Without organizational foundations — governance, transparency of decision-making, psychological safety — IDD's intent recording could degenerate into a "tool to justify the powerful's intents."

What IDD can offer is a mechanism to visualize conflicts. It makes explicit that multiple intents exist and are conflicting. It traces which intent came from which stakeholder. It provides an escalation mechanism that demands judgment on prioritization.

In other words, IDD is not a tool that produces "correct answers," but a tool for "framing questions correctly." "Whose intent and which intent is this implementation based on?" "Why was this choice made between conflicting intents?" — merely making these questions explicit dramatically increases the transparency of decision-making.

However, greater transparency does not always feel comfortable. Decisions that were glossed over with "just felt right" will now be asked "why." This is healthy for an organization, but it is also a painful change.


What these three have in common is that they cannot be solved by IDD alone. IDD only functions when combined with mature organizational culture, advances in LLM technology, and well-established governance. I do not intend to sell IDD as a "silver bullet." But I believe that the direction of "explicitly handling intent" remains correct even in light of these criticisms.

Why I Wrote This Series

In the Midst of a Copernican Revolution

In Chapter 10, I discussed Kant's "Copernican revolution." Instead of the world conforming to our cognition, cognition constitutes the world — a paradigm shift that overturns common sense.

I feel that an equally large paradigm shift is happening right now in the world of software development.

The premise that "humans write code" — unquestioned for decades — is crumbling. AI designs, AI implements, and humans simply "vibe-check" it. The term "Vibe Coding" was born half-jokingly, but is becoming a reality that is no joke.

Just like the shift from geocentrism to heliocentrism, we who are in the midst of this change find it hard to see what is changing and what is not. Just as people did not realize the Earth was moving, we may not yet fully realize that "intent" is being rapidly lost.

Between Overview and Practice

My motivation for writing this series comes down to one thing:

I wanted to capture this great transformation from an overarching perspective while simultaneously proposing a practical step forward.

If I leaned too much into philosophy and cognitive science, it wouldn't reach on-the-ground developers. If I only talked about technical implementations, the "why it's needed" wouldn't convey. That is why I deliberately wrote with a broad scope, starting from Kant's epistemology and going all the way to AWS serverless implementation.

Whether the concept of IDD is correct, honestly, I don't know. However, I believe that naming the problem of "losing intent," giving it structure, and showing a direction for dealing with it — at least this attempt has meaning.

To not lose sight of the ground beneath our feet in the midst of a paradigm shift. Neither being overwhelmed by the magnitude of change nor ignoring it, but calmly considering "what is happening and what we can do." I hope this series serves as one map for that purpose.


Thank you for accompanying me through this long series.


Series List

Chapter Title Main Content
Ch. 1 Prologue Problem statement, "Conforming to requirements yet different"
Ch. 2 What is Intent Drift Definition, occurrence mechanism, information entropy
Ch. 3 What Happens in the Field Five concrete scenarios
Ch. 4 Can AI Understand Intent Theory of Mind, tacit knowledge, collaborative model
Ch. 5 Why AI Struggles to Understand Intent Entropy, free energy principle, context length, training data bias
Ch. 6 The Philosophy of Context Engineering 4-stage evolution model, positioning of IDD
Ch. 7 The Concept of Intent Drift Detector 4-element model, 3-layer traceability
Ch. 8 AI Multi-Agent and Collective Intelligence Democratic voting, minority opinions
Ch. 9 Serverless Implementation on AWS Lambda, Step Functions, Bedrock
Ch. 10 Philosophical Questions Kant's epistemology, phenomenology, hermeneutics, language games, speech act theory, deconstruction
Ch. 11 Why IDD is Needed Now Changes in the AI era, industry trends
Ch. 12 Epilogue Reflection

Acknowledgments

In writing this series, I received wisdom and encouragement from many people.

To the researchers who provided insights through academic papers. To my colleagues who gave feedback. And to all of you who read it.

Thank you very much.


📘 IDD Series Navigation

◀️ Previous: Chapter 11: Why IDD is Needed Now

📖 Bonus 1: Belief, Desire, Intention and Understanding

📖 Bonus 2: Beyond Anthropocentrism of Intelligence

Virtual Craft Tech Blog

Discussion