Introduction
With the advent of AI, documentation has taken a more important place than before. First, as we delegate more and more coding tasks to AI agents and we switch context a lot faster than before, it's easier to forget decisions. Second, AI is also a lot better at writing documentation so delegating it means we also don't have a hand in that anymore.
But we still need to have access to the docs, the RFC and the ADR, written in order to know how the system is and how we got there. In this article, we'll explore a setup with Claude and Obsidian in order to maintain a project's documentation and see how it looks like. So in this article, I'll explore with you how I'm trying to set this up.
The context
I will be using my side project Notifizz as an example. We have a few developers working on it, taking decisions with their own AI agents and modifying the code. Right now, the documentation in our project looks something like this inside our repository:
As of today, we have around 160 ADR, 45 RFC and about 300 plans that we generated with an agent. It's a good start but we lack a clear overview of each domain and we don't really know easily when an ADR stopped being right, or what is the status of our decisions.
Using Obsidian
Obsidian is a free application used to take notes and manage knowledge databases.
For my purposes, I'm going to create an Obsidian Vault, a local system folder to store my markdown files and a hidden .obsidian configuration folder for app settings and plugins.
Once you've installed the application, you can find the "Obsidian Vault" button on the bottom left, then "Manage Vaults...". In the modal, you can create your new vault and choose a folder from which to store your vault.
What I'm hoping is that Obsidian is going to give us an easier interface to work with, by displaying properties and allowing us to filter them (domain, verified_at, reviewed_on...). Also, Obsidian has backlinks and graphs that should work nicely with our markdowns.
The plan
What I want:
- A homepage where I can get a quick overview of each domain
- For each domain, a page that explains how it works and a page where it lists the decisions and if they are in the code or not.
- Once a week, a task runs, detect changes and proposes modifications. I don't want the AI to do the modifications without running them by me first.
Letting Claude create the first domain
I chose one of our most complex domains to test it out: notification tracking. Notification tracking is how Notifizz knows what happens to a notification after it is sent.
Once that's done (and after fixing some formatting issues), I end up with an index page with a table that gives me an overview of each domain and its status (confronted with the code, did I review it, how fresh it is ... )
In each domain, I get a page called map, that explains to me in a rather succinct Markdown document what the domain contains and how it does it. The properties include the domain, a sha for the verified_at, a title and a list of sources used. The sources include the ADR, RFC and the code that Claude consulted. So, it's a photograph of what the code contains at that moment.
The second page is called decisions. This one lists the ADRs of this domain and check if the code applies it. So this page is more about realizing the differences between the decisions we took and the state of the code. The page has several tables for each ADR of the domain and describes the gaps between the ADR and the code.
Ok, I could see this being somewhat useful. But so far, I'm not entirely convinced.
Change formatting to get something nicer
Using the "Bases" functionality, I can display a table with filters, the properties list, a search functionality. Now we're talking. Obviously, it's not very useful now because I have only two domains but down the line, I can see this being quite good.
In the decisions pages, Claude added a little diagram that allows me to have a quick overview of the decisions and their status for this domain. That feels better than a table.
Setting up the weekly review
A weekly scheduled task checks the knowledge base against the latest code. It flags the pages whose code has changed, lists any new ADRs or RFCs, and drafts an update for one page on a separate branch.
I don't want the agent to modify the knowledge base by itself. I review the diff and merge it. I want to have the final say.
The "one page" is important I believe, I don't want to be drowned in updates. I don't think this project has enough people to have that many changes that would require a big update change regularly. I'll see after a few weeks if the knowledge base become too much behind the reality.
Claude, after running the tasks, gives me a table of proposed changes to modify the docs. I've asked for checkboxes on each modification so I can cherry-pick which one I want or not.
Adding a few more domains
The initial setup is, I think, decent. I'm gonna ask Claude to map 2 or 3 more domains of my project to see how it looks.
What Claude found
Right off the bat, we have 6 gaps that appeared on the notification tracking domain. Things that we decided in the latest ADR doesn't appear that way in the code, or at least partially. So, I have a pretty clear list of things to check. Why do we have those gaps? Are those decisions that we took during the implementation of the code with Claude and we decided to deviate from the ADR? Or is there a clear problem that we need to address? Or did Claude misinterpreted something.
The first 3 gaps seem to be a lack of implementation, but I don't a reason as for why it's not in the code. That would need some extra analysis. But at least, I know where to look.
Review
As a reminder, the goal of this experiment was to do a little proof-of-concept to have an agent maintain my project's knowledge base. Because we don't write much code today, and we are switching contexts very rapidly, it's easy to feel like the project is slipping out of our hands and not ours anymore.
The test was to use Obsidian to have a better interface to consult the hundreds of documents that we have. What is interesting in my case is really two things:
- how does a domain really work in the code right now
- compared to the decision that we took in the ADRs, are there gaps with the implementation?
This first overview gives me a clearer picture of where I'm standing. I feel like the domain recap gives me an opportunity to learn parts of the application I haven't touched yet. And having the lists of gaps between the code and the ADRs maintained automatically by an agent is useful to keep track of what needs to be done.
Overall, for a setup that took me a couple hours to set up, it feels nice. Obviously, I'm gonna need a few weeks of trial, testing and adjustments to make sure this tool fits our needs. But reading it feels a lot less overwhelming than searching through hundreds of markdown files in an editor.
Risks
There is a clear risk to this approach that I have to be careful about: AI-driven documentation sprawl. While code usually passes code reviews and CI tests, documentation rarely has that sort of checks. AI can create a huge mass of documentation that is impossible to review for humans. Obsolete documentation can become an issue for agentic workflows because your agents are using wrong data to write code or propose solutions. In this case, documentation becomes more a problem than an assistance.
So, this is why I chose a weekly review that doesn't modify anything without my approval to mitigate this. I feel like documentation becomes more important than ever and I need to have a say in it, I need to stay in control of what makes it to the documentation. If that becomes a source for our agentic workflows to fix bugs or develop new feature, it needs to be precise.
Conclusion
I now have an Obsidian vault that keeps tracks of domains in my Notifizz project. I have an overview of what these domains do in the code and possible gaps between the decisions taken in the ADRs and the code. In the future, an agent runs every week to check if new things have been done and if the documentation may be obsolete. But, in order to avoid the docs to become false, I'll keep the final word.
It's going to take me some time to refine, test it, talk about it with my colleagues to find the right tuning for this tool. But I have a feeling this could become something useful in the future.
Do you use special tools or agentic workflows to keep track of your documentation in your projects?








