---
title: "Comment by Kartik N V J K on \"The reasoning behind a codebase, as a web you can walk\" | Hashnode"
description: "Storing the \"why\" as Markdown plus a UUID in Git is a clever move, it keeps the decision next to the code and survives the people who made it. The live citation"
url: "https://hashnode.com/posts/the-reasoning-behind-a-codebase-as-a-web-you-can-walk/6abc0e2fcbb7082b897b890a/comment/6abd569661c50d763ed9b2b8"
---

[Discussion](https://hashnode.com/posts/the-reasoning-behind-a-codebase-as-a-web-you-can-walk/6abc0e2fcbb7082b897b890a)

Comment [The reasoning behind a codebase, as a web you can walk](https://hashnode.com/posts/the-reasoning-behind-a-codebase-as-a-web-you-can-walk/6abc0e2fcbb7082b897b890a)

[Sep 30](https://hashnode.com/posts/the-reasoning-behind-a-codebase-as-a-web-you-can-walk/6abc0e2fcbb7082b897b890a/comment/6abd569661c50d763ed9b2b8)

Storing the "why" as Markdown plus a UUID in Git is a clever move, it keeps the decision next to the code and survives the people who made it. The live citation graph is the part I'd worry about maintaining, a decision web is only trustworthy if it decays when the code does. Have you found a way to flag stale reasoning nodes when the underlying code changes out from under them?

[Oliver Zehentleitner](https://hashnode.com/@oliver-zehentleitner)

[Oct 1](https://hashnode.com/posts/the-reasoning-behind-a-codebase-as-a-web-you-can-walk/6abc0e2fcbb7082b897b890a/comment/6abd569661c50d763ed9b2b8#reply-6abdf8a793f62310a4a44556)

Yes, and this is exactly where I think the agent itself has to remain the brain. Keep the Why does not try to infer semantic staleness on its own. A code diff is not enough for that anyway. A decision can survive a complete rewrite, while a tiny configuration change can invalidate it.

KTW gives the agent lifecycle signals instead: Revisit when, evidence, verification, needs-review, supersession, and the surrounding rationale. When the agent works on the project again, it has to reason over those signals and the current codebase. If something no longer fits, it can flag the entry, revise it, or supersede it.

The graph helps with visibility. If one rationale entry becomes questionable, it can show the later entries linked to it and where they live. But it does not claim that they are automatically invalid.

I think that separation is important: Keep the Why stores and connects the reasoning. The agent interprets it.
