Wenn LLMs Wissenslücken mit generischem Internetinhalt füllen: Ein Check für Grounding
This morning's feed had the failure mode in plain language. @gelumeluu_eth , writing on 3 December 2026, put it like this: "Nobody talks about why AI gives you watered-down BS when you ask about your own notes. When your folder misses a detail, Claude quietly fills the gap with generic internet flu

Der Feed von heute Morgen enthielt den Fehlermodus in klaren Worten. @gelumeluu_eth schrieb am 3. Dezember 2026 Folgendes: "Nobody talks about why AI gives you watered-down BS when you ask about your own notes. When your folder misses a detail, Claude quietly fills the gap with generic internet fluff and hands it back like it's yours." Der vorgeschlagene Fix war ein kurzer Prompt: "Using only wiki/..." plus "If the wiki doesn't cover part of it, say so." Dann eine Schleife: Quellen zu verlinkten Wiki-Seiten zusammenführen, sie mit anklickbaren Zitaten abfragen und die besten Antworten zurückspeichern.
Diese Schleife hat die richtige Form. Die Implikation, der Prompt sei die Prüfung, teile ich nicht. "Using only wiki/..." ist eine Anweisung, die das Modell ignorieren kann, sobald eine Seite dünn ist. Die Antwort liest sich trotzdem so, als stamme sie aus den eigenen Notizen.
Einen Tag zuvor hatte Brooks Townsend gerade Andrej Karpathys llm-wiki-Gist gefunden, "eine Wissensbasis, die genau dafür gedacht ist, von einem LLM abgefragt zu werden." O'Reilly verwies auf Paul Iusztins Aufsatz zu derselben Idee: Quellen in verlinkte Markdown-Seiten einspeisen und einen Agenten der Spur folgen lassen. Wenn der Sinn eines LLM-Wikis darin besteht, dass das Modell aus den Seiten antwortet, dann sollte eine Antwort, die ein erfundenes Datum für den letzten Frost liefert und eine Datei zitiert, die nicht im Vault liegt, eine Prüfung scheitern und nicht im Postfach eines Kunden landen.
Dieser Beitrag ist daher ein 667 Zeilen langes, reines stdlib-Python-Skript namens ground_check.py. Man richtet es auf einen Markdown-Vault und auf eine Antwortdatei aus, etwa einen Antwortentwurf oder eine Seite, die der Agent zurückspeichern will. Es zerlegt die Antwort in Aussagen, sammelt die Zitate zu jeder Aussage und gleicht Zahlen, Daten und Temperaturen mit dem Vault ab. check beendet sich mit Exit-Code 1, wenn ein Befund blockierend ist. report schreibt eine Diagnose-Warteschlange und beendet sich ebenfalls mit Exit-Code 1, wenn die Antwort durchfällt. Achtzehn Tests halten das fest, einschließlich dass keiner der beiden Befehle das Wiki oder die Antwort verändert.
Der Fehlermodus, den ich immer wieder sehe, ist eine Antwort, die begründet aussieht, weil sie ein Zitat enthält oder weil der Prompt die Verwendung des Wikis verlangte. Das Modell kann trotzdem eine dünne Seite mit einem USDA-Durchschnitt, einer "typischen" Keimspanne oder einem 6–8-Wochen-Tomatenfenster auffüllen, das es irgendwoanders gelernt hat. Ein Prüftool bewertet konkrete Aussagen.
Kern von ground_check.py (Fluff, Zitate, nicht gestützte Zahlen und Konflikte) for claim in claims: if not claim. factual: continue for fid, matched in claim. fluff: findings. append ( Finding ( "internet_fluff", rel, f "generic internet advice ({fid}) instead of a vault fact", evidence = matched, ) ) resolved = [ ] for cite in claim. cites: page = resolve_cite ( cite, index ) if page is None: findings. append ( Finding ( "missing_source", rel, f "citation is not in the vault: {cite}", evidence = cite, ) ) else: resolved. append ( page ) if not claim. cites: findings. append ( Finding ( "missing_citation", rel, "factual claim has no vault citation", evidence = snippet, ) ) cited_values = values_in ( "\n". join ( p. text for p in resolved ) ) for val in claim. values: if resolved and ( val. kind, val. key ) not in cited_values: findings. append ( Finding ( "unsupported_claim", rel, f "cited page does not support {val.raw}", evidence = val. raw, ) ) for name, claim_vals in measures_in ( claim. text ). items ( ): vault_vals = vault_measures. get ( name ) or [ ] vault_keys = { v. key for v in vault_vals } if not vault_keys: continue for cv in claim_vals: if cv. key not in vault_keys: findings. append ( Finding ( "conflict", rel, f "{name.replace('_', ' ')} contradicts the vault", evidence = f "{cv.raw} vs " + ", ". join ( sorted ( { v. raw for v in vault_vals } ) ), ) ) Enter fullscreen mode Exit fullscreen mode
Der Vergleich ist bewusst unspektakulär. Das Skript weiß nicht, wozu ein Datum des letzten Frostes dient. Es weiß, dass last-frost.md den 15. März und 60°F in 4 Zoll Tiefe angibt, dass tomato-wagonhouse-gold.md 7 Wochen und 72 Tage angibt und dass ein Antwortentwurf, der den 15. April, 50°F, 6–8 Wochen oder 85 Tage nennt, diese Seiten nicht gelesen hat. "14 Wagonhouse Road" und "10:00–17:00" in einem korrekt zitierten Satz zu den Öffnungszeiten lösen nichts aus. Nur die erfundenen Zahlen lösen etwas aus.
Das Testfixture in diesem Beitrag ist erfunden: ein fiktiver Samenladen, den ich Thistledown Seed Exchange genannt habe, in Petaluma, Kalifornien. Besitzerin und Seitenautorin ist Nia Solano. Diese Seiten sind kein echter Laden, keine echte Person, Adresse, Sorte oder Saatgutcharge. 'Wagonhouse Gold', 'Fogline Kale' und die Charge TDS-K-2026-03 sind für das Fixture erfunden.
Die saubere Version enthält sechs von Menschen verfasste Wiki-Seiten und eine begründete Kundenantwort.
Die saubere Antwort zitiert diese Seiten bei jedem sachlichen Satz: 7 Wochen und 15. März für 'Wagonhouse Gold', 8 Wochen und 60°F für Paprika, 92% und 1. August für die Kale-Charge, kein behandeltes Saatgut sowie die Öffnungszeiten des Ladens.
check./wiki./answers/customer-reply.md auf dieses Paar beendet sich mit Exit-Code 0:
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 7 claims 0 blocking · 0 warnings ok: grounding check passed Enter fullscreen mode Exit fullscreen mode Die chaotische Version ist derselbe Laden nach der Art von Antwort, die der Feed seither beschreibt. Das Wiki ist unverändert, genau das ist der Punkt. Der Agent hat dennoch eine Kundenantwort entworfen, die Tomaten mit einem generischen 6–8-Wochen-Fenster startet, einen letzten Frost in der Bay Area am 15. April erfindet, eine usda-zone-calendar.md zitiert, die nicht im Vault liegt, Paprika bei einer Bodentemperatur von 50°F nach draußen lässt, Fogline Kale mit einem "typischen" Wert von 80–90% angibt und 'Wagonhouse Gold' 85 Tage bis zur Ernte gibt, während sie die Seite verlinkt, auf der 72 stehen.
Außerdem behauptet sie, Kale könne als Faustregel jederzeit gesät werden. Die Sätze zu Versand und Öffnungszeiten sind weiterhin korrekt und weiterhin zitiert. Sie sollten nicht im Bericht auftauchen.
check./wiki./answers/customer-reply.md auf diesen Entwurf beendet sich mit Exit-Code 1, mit fünfzehn blockierenden Befunden:
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 8 claims 15 blocking · 0 warnings BLOCK conflict customer-reply.md germination contradicts the vault (fogline-kale.md) · 80–90% vs 92% BLOCK conflict customer-reply.md harvest days contradicts the vault (tomato-wagonhouse-gold.md) · 85 days vs 72 days BLOCK conflict customer-reply.md last frost contradicts the vault (last-frost.md) · April 15 vs 15 March BLOCK conflict customer-reply.md soil temp contradicts the vault (last-frost.md) · 50°F vs 60°F BLOCK conflict customer-reply.md start weeks contradicts the vault (seed-starting.md) · 6–8 weeks vs 7 weeks, 8 weeks BLOCK internet_fluff customer-reply.md generic internet advice (most-companies) instead of a vault fact · Most seed companies recommend BLOCK internet_fluff customer-reply.md generic internet advice (rule-of-thumb) instead of a vault fact · as a rule of thumb BLOCK internet_fluff customer-reply.md generic internet advice (typically-generic) instead of a vault fact · typically germinates BLOCK internet_fluff customer-reply.md generic internet advice (usually-generic) instead of a vault fact · usually April BLOCK missing_citation customer-reply.md factual claim has no vault citation · Most seed companies recommend starting tomatoes 6–8 weeks before last frost, so I'd start your Wagonhouse Gold then. BLOCK missing_citation customer-reply.md factual claim has no vault citation · You can set peppers out after that last frost date, once the soil is about 50°F. BLOCK missing_citation customer-reply.md factual claim has no vault citation · Fogline Kale typically germinates at 80–90%.
BLOCK missing_citation customer-reply.md factual claim has no vault citation · Kale can be sown anytime as a rule of thumb. BLOCK missing_source customer-reply.md citation is not in the vault: usda-zone-calendar.md · usda-zone-calendar.md BLOCK unsupported_claim customer-reply.md cited page does not support 85 days · 85 days fail: grounding check found blocking issues Enter fullscreen mode Exit fullscreen mode
Vier Dinge sind mir in diesem Bericht wichtig.
Der internet_fluff-Befund zu "Most seed companies recommend" ist die Lücken füllende Bewegung aus dem Beitrag von heute Morgen im Kleinen. Der Vault enthält bereits eine Sortenseite, die 7 Wochen für 'Wagonhouse Gold' angibt und davor warnt, das generische 6–8-Wochen-Fenster zu verwenden. Der Entwurf griff trotzdem zum Internetdurchschnitt und reichte ihn als Ladenberatung weiter. Derselbe Satz fällt zusätzlich durch conflict (6–8 Wochen gegen 7 und 8) und missing_citation auf. Ein Prompt, der "using only wiki/" verlangt hätte, hätte es nicht erfasst. Das Prüftool schon.
Der missing_source-Befund zu usda-zone-calendar.md zeigt, warum ein Zitat nicht dasselbe ist wie eine Quelle. Der Satz wirkt sorgfältig: letzter Frost, ein Datum, ein Markdown-Link. Die Datei ist nicht im Vault. Das Datum, das er "zitiert", der 15. April, steht im Konflikt mit last-frost.md, das den 15. März angibt. Das ist das Problem "hands it back like it's yours", nur mit angehängter Fußnote.
Der unsupported_claim-Befund zu 85 Tagen ist der, den ich einem Kollegen zuerst zeigen würde. Der Agent hatte tomato-wagonhouse-gold.md tatsächlich zitiert. Diese Seite existiert. Sie sagt 72 Tage bis zur Ernte nach dem Auspflanzen. Der Entwurf schrieb trotzdem 85. Wenn der Review-Prozess nur prüft, ob ein Link vorhanden ist, geht dieser Satz raus. Der Befund lautet nicht "das Modell hat vergessen zu zitieren." Er lautet "die zitierte Seite stützt die Zahl nicht."
Die verbleibenden Konflikte sind die Shop-Regeln, die der generische Rat überschrieben hat. Paprika gehen bei 50 °F im Zugluft-Bereich nach draußen; das Wiki sagt, auf 60 °F in 10 Zentimetern Tiefe warten, auch nach dem letzten Frost. Fogline Kale „keimt typischerweise zu 80–90 %“; die Charge TDS-K-2026-03 erreichte 92 %. Grünkohl „kann als Faustregel jederzeit gesät werden“; die Seite sagt, die Herbstsaat ab dem 1. August direkt ins Beet zu säen. Der Satz zu den Öffnungszeiten, der 14 Wagonhouse Road und 10:00–17:00 nennt und shop-hours.md als Quelle anführt, kommt im Bericht nicht vor. Ebenso wenig der korrekt zitierte Satz „wir verkaufen kein behandeltes Saatgut“. Der Checker hat keine Abneigung gegen Shop-Fakten. Er hat eine Abneigung gegen erfundene.
report./wiki./answers/customer-reply.md --out GROUNDING.md bricht bei dem unaufgeräumten Entwurf mit Exit-Code 1 ab, weil die Befunde weiterhin blockierend sind, und schreibt eine Warteschlange. Es verschiebt keine Datei, es schreibt den Bericht nicht ins Vault hinein, und es überschreibt die Antwort nicht.
Die Warteschlange listet jeden Befund mit der zugehörigen Evidenz und einer vorgeschlagenen Diagnose: das generische Zeitfenster durch die 7-Wochen-Sortenregel ersetzen; die fehlende USDA-Seite streichen und den 15. März verwenden; auf 60 °F Bodentemperatur warten statt der 50 °F-Luft-oder-Boden-Schätzerei; 92 % und den 1. August von der Grünkohl-Seite zitieren; die 85 Tage auf 72 ändern oder die Aussage streichen. So weit würde ich die Hälfte des Prompts „wenn das Wiki es nicht abdeckt, sag das“ treiben. Der Bericht ist ein Ort, an dem man die Aufmerksamkeit eines Menschen investiert. Er schreibt die Antwort nicht neu.
Nachdem ein Mensch diese Arbeit tatsächlich erledigt hat, besteht das geprüfte Fixture aus denselben sechs Wiki-Seiten und einer Antwort, die diese zitiert. Sie sagt außerdem ausdrücklich, dass das Wiki keinen Bay-Area- oder USDA-Zonen-Durchschnitt führt und dass 'Wagonhouse Gold' nicht das generische 6–8-Wochen-Fenster verwendet. Diese Sätze sind in den Seiten verankert, und die negierte 6–8-Wochen-Zahl wird nicht als Behauptung gewertet.
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 8 claims 0 blocking · 0 warnings ok: grounding check passed Enter fullscreen mode Exit fullscreen mode
Acht Ansprüche und eine saubere Prüfung sind keine kürzere Antwort. Es ist eine Antwort, die ein Mensch tatsächlich mit dem Wiki abgeglichen hat. Der Agent kann weiterhin den nächsten Entwurf schreiben, solange die nächste Prüfung scheitern darf.
Ein solches Skript ist nur nützlich, wenn die Seiten, die es liest, die Seiten sind, die die Menschen tatsächlich korrigieren werden. Die Quelle der Wahrheit für ein Team-LLM-Wiki sollte der Workspace sein, den das Team ohnehin bearbeitet, nicht ein paralleler Dump, den ein Agent in einem privaten Ordner pflegt und dann aus dem Gedächtnis zitiert. Wenn Sie ein LLM-Wiki für mehr als eine Person aufbauen, beginnen Sie mit Zugriff und Review, und verbinden Sie dann ein Modell.
Derselbe Instinkt zeigt sich, wenn man eine KI-Workspaces selbst hostet: Halten Sie die Wissensebene dort, wo Sie sie sehen können, und behandeln Sie das Modell als Schreiber mit einem Prüfer, nicht als die Person, die abzeichnet. Ein selbst gehosteter KI-Stack korrigiert eine nicht verankerte Antwort nicht von selbst. Er gibt Ihnen nur einen Ort, an dem Sie die Prüfung ausführen können, bevor die Antwort hinausgeht.
Ich arbeite an AFFiNE, einer Wissensdatenbank-Software und einer KI-Wissensdatenbank-Option, die Teams in der Cloud oder selbst gehostet betreiben können. Sie ist auch eine Open-Source-Notion-Alternative in dem Sinne, dass Dokumente, Whiteboards und Datenbanken in einem Workspace leben, den man exportieren kann. Nichts davon ersetzt einen Grounding-Check. Es ist der Ort, an dem man einen aufbewahren würde.
Wenn Sie bereits ein Markdown-Vault haben, beginnen Sie mit einem Check der letzten Antwort, die das Modell senden wollte. Wenn er scheitert, lesen Sie die Diagnose-Warteschlange und bearbeiten Sie dann die Antwort selbst, oder sagen Sie dem Kunden, dass das Wiki es nicht abdeckt. Die nächste Sitzung sollte Seiten erben, die Sie verteidigen können, nicht generischen Rat mit Ihrem Briefkopf darauf.
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
This morning's feed had the failure mode in plain language. @gelumeluu_eth, writing on 3 December 2026, put it like this: "Nobody talks about why AI gives you watered-down BS when you ask about your own notes. When your folder misses a detail, Claude quietly fills the gap with generic internet fluff and hands it back like it's yours." The proposed fix was a short prompt: "Using only wiki/..." plus "If the wiki doesn't cover part of it, say so." Then a loop: compile sources into linked wiki pages, query them with clickable citations, and save the sharpest answers back.
That loop is the right shape. I do not buy the implication that the prompt is the check. "Using only wiki/..." is an instruction the model can ignore the moment a page is thin. The answer still reads like it came from your notes.
The day before, Brooks Townsend had just found Andrej Karpathy's llm-wiki gist — "a knowledge base that's just meant to be queryable by an LLM." O'Reilly pointed at Paul Iusztin's writeup of the same idea: ingest sources into linked Markdown pages and let an agent follow the trail. If the point of an LLM wiki is that the model should answer from the pages, then an answer that invents a last-frost date and cites a file that is not in the vault should fail a check, not land in a customer's inbox.
So this post is a 667-line, stdlib-only Python script called ground_check.py. You point it at a Markdown vault and at an answer file — a draft reply, or a page the agent wants to save back. It splits the answer into claims, collects the citations on each one, and compares numbers, dates, and temperatures against the vault. check exits 1 if any finding is blocking. report writes a diagnosis queue and still exits 1 when the answer fails. Eighteen tests pin that down, including that neither command edits the wiki or the answer.
The failure mode I keep seeing is an answer that looks grounded because it has a citation, or because the prompt said to use the wiki. The model can still pad a thin page with a USDA average, a "typical" germination range, or a 6–8 week tomato window it learned somewhere else. A checker fails specific claims.
Core of ground_check.py (fluff, citations, unsupported numbers, and conflicts) for claim in claims: if not claim. factual: continue for fid, matched in claim. fluff: findings. append ( Finding ( "internet_fluff", rel, f "generic internet advice ({fid}) instead of a vault fact", evidence = matched, ) ) resolved = [ ] for cite in claim. cites: page = resolve_cite ( cite, index ) if page is None: findings. append ( Finding ( "missing_source", rel, f "citation is not in the vault: {cite}", evidence = cite, ) ) else: resolved. append ( page ) if not claim. cites: findings. append ( Finding ( "missing_citation", rel, "factual claim has no vault citation", evidence = snippet, ) ) cited_values = values_in ( "\n". join ( p. text for p in resolved ) ) for val in claim. values: if resolved and ( val. kind, val. key ) not in cited_values: findings. append ( Finding ( "unsupported_claim", rel, f "cited page does not support {val.raw}", evidence = val. raw, ) ) for name, claim_vals in measures_in ( claim. text ). items ( ): vault_vals = vault_measures. get ( name ) or [ ] vault_keys = { v. key for v in vault_vals } if not vault_keys: continue for cv in claim_vals: if cv. key not in vault_keys: findings. append ( Finding ( "conflict", rel, f "{name.replace('_', ' ')} contradicts the vault", evidence = f "{cv.raw} vs " + ", ". join ( sorted ( { v. raw for v in vault_vals } ) ), ) ) Enter fullscreen mode Exit fullscreen mode
The comparison is deliberately boring. The script does not know what a last-frost date is for. It knows that last-frost.md states 15 March and 60°F at 4 inches, that tomato-wagonhouse-gold.md states 7 weeks and 72 days, and that a draft reply which says April 15, 50°F, 6–8 weeks, or 85 days is not reading those pages. "14 Wagonhouse Road" and "10:00–17:00" on a correctly cited hours sentence do not trip it. Only the invented figures do.
The fixture in this post is made up: a fictional seed shop I called Thistledown Seed Exchange, in Petaluma, California. The owner and page author is Nia Solano. These pages are not a real shop, person, address, variety, or seed lot. 'Wagonhouse Gold', 'Fogline Kale', and lot TDS-K-2026-03 are invented for the fixture.
The clean version has six human-authored wiki pages and a grounded customer reply.
The clean reply cites those pages on every factual sentence: 7 weeks and 15 March for 'Wagonhouse Gold', 8 weeks and 60°F for peppers, 92% and 1 August for the kale lot, no treated seed, and the shop hours.
check./wiki./answers/customer-reply.md on that pair exits 0:
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 7 claims 0 blocking · 0 warnings ok: grounding check passed Enter fullscreen mode Exit fullscreen mode The messy version is the same shop after the kind of answer the feed has been describing. The wiki is unchanged — that is the point. The agent still drafted a customer reply that starts tomatoes on a generic 6–8 week window, invents a Bay Area last frost of April 15, cites a usda-zone-calendar.md that is not in the vault, lets peppers go out at a 50°F soil temperature, quotes Fogline Kale at a "typical" 80–90%, and gives 'Wagonhouse Gold' 85 days to harvest while linking the page that says 72.
It also says kale can be sown anytime as a rule of thumb. The shipping and hours sentences are still correct, and still cited. They should not appear in the report.
check./wiki./answers/customer-reply.md on that draft exits 1, with fifteen blocking findings:
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 8 claims 15 blocking · 0 warnings BLOCK conflict customer-reply.md germination contradicts the vault (fogline-kale.md) · 80–90% vs 92% BLOCK conflict customer-reply.md harvest days contradicts the vault (tomato-wagonhouse-gold.md) · 85 days vs 72 days BLOCK conflict customer-reply.md last frost contradicts the vault (last-frost.md) · April 15 vs 15 March BLOCK conflict customer-reply.md soil temp contradicts the vault (last-frost.md) · 50°F vs 60°F BLOCK conflict customer-reply.md start weeks contradicts the vault (seed-starting.md) · 6–8 weeks vs 7 weeks, 8 weeks BLOCK internet_fluff customer-reply.md generic internet advice (most-companies) instead of a vault fact · Most seed companies recommend BLOCK internet_fluff customer-reply.md generic internet advice (rule-of-thumb) instead of a vault fact · as a rule of thumb BLOCK internet_fluff customer-reply.md generic internet advice (typically-generic) instead of a vault fact · typically germinates BLOCK internet_fluff customer-reply.md generic internet advice (usually-generic) instead of a vault fact · usually April BLOCK missing_citation customer-reply.md factual claim has no vault citation · Most seed companies recommend starting tomatoes 6–8 weeks before last frost, so I'd start your Wagonhouse Gold then. BLOCK missing_citation customer-reply.md factual claim has no vault citation · You can set peppers out after that last frost date, once the soil is about 50°F. BLOCK missing_citation customer-reply.md factual claim has no vault citation · Fogline Kale typically germinates at 80–90%.
BLOCK missing_citation customer-reply.md factual claim has no vault citation · Kale can be sown anytime as a rule of thumb. BLOCK missing_source customer-reply.md citation is not in the vault: usda-zone-calendar.md · usda-zone-calendar.md BLOCK unsupported_claim customer-reply.md cited page does not support 85 days · 85 days fail: grounding check found blocking issues Enter fullscreen mode Exit fullscreen mode
Four things I care about in that report.
The internet_fluff on "Most seed companies recommend" is the gap-filling move from this morning's post, in miniature. The vault already has a variety page that says 7 weeks for 'Wagonhouse Gold', and says not to use the generic 6–8 week window. The draft still reached for the internet average and handed it back as shop advice. The same sentence also fails conflict (6–8 weeks against 7 and 8) and missing_citation. A prompt that said "using only wiki/" would not have caught it. The checker did.
The missing_source on usda-zone-calendar.md is why a citation is not the same as a source. The sentence looks careful: last frost, a date, a Markdown link. The file is not in the vault. The date it "cites," April 15, conflicts with last-frost.md, which states 15 March. This is the "hands it back like it's yours" problem with a footnote attached.
The unsupported_claim on 85 days is the one I would show a teammate first. The agent did cite tomato-wagonhouse-gold.md. That page exists. It says 72 days to harvest from transplant. The draft still wrote 85. If your review process only checks that a link is present, this sentence ships. The finding is not "the model forgot to cite." It is "the cited page does not support the number."
The remaining conflicts are the shop rules the generic advice rolled over. Peppers go out at 50°F in the draft; the wiki says wait for 60°F at 4 inches, even after last frost. Fogline Kale "typically germinates at 80–90%"; lot TDS-K-2026-03 tested at 92%. Kale "can be sown anytime as a rule of thumb"; the page says direct sow the fall crop starting 1 August. The hours sentence, which names 14 Wagonhouse Road and 10:00–17:00 and cites shop-hours.md, does not appear in the report. Neither does the correctly cited "we don't sell treated seed." The checker is not allergic to shop facts. It is allergic to invented ones.
report./wiki./answers/customer-reply.md --out GROUNDING.md exits 1 on the messy draft, because the findings are still blocking, and writes a queue. It does not move a file, it will not write that report inside the vault, and it will not overwrite the answer.
The queue lists each finding with the evidence and a suggested diagnosis: replace the generic window with the 7-week variety rule; drop the missing USDA page and use 15 March; wait for 60°F soil, not 50°F air-or-soil guesswork; quote 92% and 1 August from the kale page; change 85 days to 72, or drop the claim. That is as far as I would take the "if the wiki doesn't cover it, say so" half of the prompt. The report is a place to spend a person's attention. It does not rewrite the reply.
After a human actually does that work, the reviewed fixture is the same six wiki pages and a reply that cites them. It also says, explicitly, that the wiki does not keep a Bay Area or USDA zone average, and that 'Wagonhouse Gold' does not use the generic 6–8 week window. Those sentences are grounded in the pages, and the negated 6–8 week figure is not treated as an assertion.
wiki./wiki · answer./answers/customer-reply.md · 6 pages · 8 claims 0 blocking · 0 warnings ok: grounding check passed Enter fullscreen mode Exit fullscreen mode
Eight claims and a clean check is not a shorter answer. It is an answer a person has actually compared to the wiki. The agent can still draft the next reply, as long as the next check is allowed to fail.
A script like this is only useful if the pages it reads are the pages people will actually correct. The source of truth for a team LLM wiki should be the workspace the team already edits, not a parallel dump an agent maintains in a private folder and then quotes from memory. If you are building an LLM wiki for more than one person, start with access and review, then connect a model. The same instinct shows up when you self-host an AI workspace: keep the knowledge layer where you can see it, and treat the model as a writer with a checker, not as the person who signs off. A self-hosted AI stack does not fix an ungrounded answer by itself. It just gives you a place to run the check before the reply goes out.
I work on AFFiNE, which is knowledge base software and an AI knowledge base software option teams can run in the cloud or self-host. It is also an open source Notion alternative in the sense that the docs, whiteboards, and databases live in one workspace you can export. None of that replaces a grounding check. It is the place you would keep one.
If you already have a Markdown vault, start with check on the last answer the model wanted to send. If it fails, read the diagnosis queue, then edit the reply yourself — or tell the customer the wiki does not cover it. The next session should inherit pages you can defend, not generic advice with your letterhead on it.