One Source, Many Views: How I Stop AI Tools From Giving Wrong Answers
When your AI tools give you the wrong answer, the problem isn’t with the AI model. The problem is that you’re taking copies of your business rules, and spreading them around in five different apps.
Your pricing is in ChatGPT. Your onboarding guide is in a Claude Project. You’ve uploaded a bunch of PDFs to NotebookLM. There’s a bunch of prompts in Cursor, and you’ve got a page in Google Drive. When you ask the same question to your newest employee, and an AI agent, you’ll get two different answers.
This is why I don’t solve inaccurate AI answers by switching to a different model, or writing a longer prompt.
And I never manually copy business knowledge anywhere.
Business knowledge should live in one place, and have multiple generated views. For any view where someone, or an agent, is consuming knowledge, it should be generated from a single source, and tagged with the exact version from which the knowledge comes from.
How our own rules broke in three places
We learned this the hard way on our internal setup: we had rules for our brands’ content in three places: in a Git repository, copy-pasted into our AI tool, and written in the settings of that tool.
We checked, and the rules copy-pasted into the tool were several months old. All the links in these documents were copy-pasted, and three of these links were broken. We retired this repository entirely as of the 24 November 2026. Our content rules are now only in the place where they’re used (our Claude skills and Prismy) and in the place where they’re read (Yulius.app).
The key lesson here isn’t about repos, it’s this: rules copy-pasted in multiple places will always drift out of sync with each other. And if a non-technical teammate needs to update a rule, they need an editor to edit the rule in.
There are 7 things that will break when you have multiple places where the same piece of information lives:
- Nobody knows what is still true. Documents go stale quietly, and AI agents repeat old answers with full confidence.
- People and agents read different versions. Any copy pasted into ChatGPT, a Claude Project, or NotebookLM starts drifting the day you paste it.
- Agents write junk, or people stop trusting edits.
- Nobody can find anything.
- Every tool needs its own instructions.
- Gaps stay invisible.
- Instructions get mixed with knowledge.
Before you touch any tool, audit what you already have. Make a simple five-column table for every rule, template, or guide your team uses:
| Knowledge item, rule, or template | Where it runs | Where people read it | Copies to delete | Who may change it |
|---|---|---|---|---|
| Example: Refund policy | Support agent prompt | Help center | Old Drive doc, Notion draft | Head of Support |
Once you see the duplicates, delete the extra copies and build one source instead.
The architecture: one source, generated views
The system I use treats main in a Git repository as the only valid truth. Everything else is a generated output, never a manual copy.
+------------------+
| main | (Only valid source)
+--------+---------+
|
+-------------------+-------------------+
| | |
v v v
+---------------+ +---------------+ +---------------+
| People view | | Agent view | | Exports |
| Viewer/editor | | (MCP) | | Claude, RAG, |
| | | | | NotebookLM |
+---------------+ +---------------+ +---------------+
(Commit stamp) (Commit stamp) (Commit stamp)
Every export and view carries the commit hash it came from. If a Claude Project is reading an old build, the commit stamp proves it immediately.
Here is the exact fix for each of the seven failures:
| Failure | What prevents it |
|---|---|
| Nobody knows what is still true | Every doc names one owner and a review_by date. A weekly GitHub Action opens an issue when a doc is overdue. |
| People and agents read different versions | main is the only source. kb-export rebuilds Markdown bundles and JSONL chunks on every push, stamped with the commit. |
| Agents write junk or break trust | Agents write only to _inbox/ or a pull request. CODEOWNERS routes every change to the doc's owner for approval. |
| Nobody can find anything | One topic per doc. A one-line description builds INDEX.md, plus a "How people ask" line and the answer in sentence one. |
| Every tool needs its own instructions | AGENTS.md holds agent rules for Codex and Cursor. CLAUDE.md imports it in one line (@AGENTS.md). GUIDE.md loads for everyone. |
| Gaps stay invisible | When kb-ask cannot answer, it refuses to guess and opens a "Missing answer" issue with the exact question. |
| Instructions mix with knowledge | Three strict places: knowledge in collections, behavior in AGENTS.md and .claude/, and runtime state kept out completely. |
Our old repo was retired because we were only doing version control in the form of a version header and a changelog that had to be manually updated in each rule. With Git and a pull request process we ensure that each change has an explanation and a name attached to it to justify and approve the change.
When a document is replaced it will be placed in an _archive/ directory alongside its collection. This allows us to preserve the history of the document, while the build scripts will ensure that nothing in the archive is indexed or exported to an AI tool.
What goes inside every document
A knowledge base falls apart when people have to fill out a wall of metadata. Each document uses a standard header, and you only fill four fields: title, description, owner, and type. The tools fill the rest.
Here is what the full header looks like:
id: billing-refunds
collection: operations
type: policy
title: How we handle customer refunds
description: Rules and approval limits for refunds within 30 days.
owner: jane-doe
status: active
valid_from: 2026-11-01
review_by: 2027-02-01
access: internal
language: en
You might notice the owner field. This should be a single individual. Do not use a team, like "Marketing" or "Ops". If the page has a team as an owner, it's really ownerless. But if Jane is the owner, then our weekly GitHub Action creates an issue for her asking her to review the page, and assigns it to her. And when she does that, the issue will automatically close when she updates review_by.
The body should have some content for humans, and also be well-optimized for search retrieval. Try putting the answer in the first sentence, and include a "How people ask" line with the kind of messy queries people will likely enter to get this document. Perhaps it's common for customers, or maybe it's a new hire. Whatever it is, when they do a search, you want them to find this file and not have to prompt engineer.
One important point is what not to do. Version 1 of our template separated out code rules from code in .claude/ (it's still there on the v1-dot-claude tag, and also in docs/legacy/). Version 2 follows that same principle for business knowledge. Don't store runtime information in your knowledge base. Active customer support conversations, leads, or your agent's working memory are not knowledge base items, they should be in a database or CRM. Don't mix that stuff in with your reference docs.
How to set this up in 15 minutes
This doesn't require a team of developers to operate, just one person who is comfortable using GitHub, or Claude Code.
I've put the template on GitHub to be freely available (under Contract 1.0). As of 4 December 2026, the template includes 126 passing automated tests, three GitHub Actions (which run checks on every pull request, produce review issues every week, and automatically export the knowledge base on every push to main), and six skills in .claude/skills/, named kb-setup, kb-intake, kb-ask, kb-review, kb-export, and kb-audit.
The template also comes with an example knowledge base, for a fictional heat pump company, "Brightwater". I would recommend going through the Brightwater example to get a sense of what a finished knowledge base looks like before you create your first doc.
To set up your own copy of this:
- Click "Use this template" on GitHub to create a private repository.
- Open the repo in Claude Code and type
run kb-setup. - Answer Claude's questions about your preset (
team,sales-agent, orpersonal), your purpose, owners, review schedule, and language. - Merge the first pull request Claude opens for you.
That setup takes about 15 minutes. If you do not use Claude Code, you can run it locally with Python 3.10+ and pip install pyyaml:
python scripts/apply_preset.py --list
python scripts/apply_preset.py team --workspace my-company --name "My Company"
Once it’s up and running, your team members who aren’t on Git can still contribute in a few simple ways. They can edit files directly in the web editor on GitHub and create a pull request that you, the owner, can approve. They can edit using Obsidian and its Git plugin. Or, they can dump raw notes into the _inbox/ folder and ask Claude to execute kb-intake to clean up their notes and create a nicely-formatted draft pull request for you to review.
If you want to feed this into ChatGPT, a Claude Project, NotebookLM, or a vector database, you can use the kb-export script to generate single Markdown files and JSONL chunks straight from the main branch. Each time you push to main, the script will update them.
I’m currently using this exact Contract 1.0 setup in an application that connects to our LLMs via MCP. It also includes a web editor/viewer for team members (soon to be Yulius.app, but no release date yet). The beauty of Contract 1.0 is that it is tool-agnostic, so you’re not tied to a single application. You can use any tool that can read Markdown and JSONL files to use this same file structure.
You can start using this by taking the public template from GitHub and try it out for one small process in a team this week. Also, feel free to subscribe to FutureBrief if you want to see the next build notes as we release them.
Two tips to help you avoid breaking this on day one:
- GitHub doesn’t allow for hiding individual files within a repository. That’s why it’s important to stick to one audience per repository and use a separate (private) repository based on the same template for any management or personal notes. I will probably solve it in Yulius.app in the future. Or you can just use Outline for this use case and restrict access to certain collections.
- The other important tip is don’t merge a document without assigning an owner. Any file without an owner is the first to go stale, and a stale file is all it takes for an AI agent to lie to a customer with a straight face.
Build a calmer business,Yuri