documentation drift detection
Know which docs your last merge made wrong.
Documentation drift is when the code changes and the sentence describing it stays the same. Meldoc finds those sentences in your pull requests. If one gets merged anyway, the document is marked with the pull request number until someone fixes it.
Click a date
a page with a review date
Session rotation
Sessions rotate every 24 hours, with a 24-hour grace period.
The rotation hook lives in auth/service.go.
the same page in Meldoc
Session rotation
Sessions rotate every 24 hours, with a 24-hour grace
period. The rotation hook lives in
auth/service.go.
Outdated sentence
The pull request changed the rotation interval from 24 to 12 hours.
The review is off until you turn it on for a project. It never blocks a merge, and Meldoc never stores your code.
1 in the pull request
The review quotes the sentence and the line of code.
When a pull request changes how the system behaves, Meldoc reads the change and looks for sentences in your docs that it contradicts. For each one it posts a finding: the sentence, and the file and line that disagree with it.
If a finding is wrong, press Mark as wrong and it will not come back until that sentence is edited. The check never fails a merge.
Works with GitHub and GitLab. Checking what a sentence means needs the Pro plan and your own AI key. Without a key the review still reports file paths and names that the change removed.
Outdated sentence docs/auth/sessions.meldoc.md:14
“Sessions rotate every 24 hours, with a 24-hour grace period.”
2 on the document
A finding that was merged stays on the page.
After the merge the finding moves to the document. A mark above the title names the pull request, and the sentence is highlighted. The project’s Code check tab lists every such document with the author and the merge date.
The mark goes away when someone edits the sentence or presses All correct. The age of the page does not matter.
- 3 docs say something the code no longer does
- Session rotation Code changed, doc didn’t
- Webhook retries Code changed, doc didn’t
- Rate limits Code changed, doc didn’t
- Checked in 30 days
3 in the docs built on it
Product docs follow the technical docs.
A product guide or a help article repeats facts from the technical docs. In Meldoc the guide can follow the technical docs. When a technical page is edited, Meldoc checks the guide for sentences that no longer match.
Try it: fix the sentence in the technical docs and watch the product guide. The finding shows what the source said before and what it says now. Press Fix and Meldoc suggests an edit that you apply or dismiss.
A project can follow up to ten projects in its workspace. The check runs within a few hours of the edit. A chain moves one step at a time: each project is checked when the one it follows changes.
This feature is called Sources. It is part of the Pro plan.
The app renews your session every 24 hours, so you rarely have to sign in again.
Sessions rotate every 24 12 hours
Suggested fix
The app renews your session every 12 hours, so you rarely have to sign in again.
4 in the agent’s context
An agent reading the page gets the finding with it.
A coding agent that reads a wrong page will act on it. When an agent reads a document over MCP, Meldoc returns it together with its open findings. The agent sees which sentence is wrong and which change caused it.
docs_audit with kind=outdated lists the open findings of a whole project. No
check block means no open findings. It does not mean the page was verified.
// title, content, links
"check": {
"state": "missed",
"findings": [{
"quote": "Sessions rotate every 24 hours",
"reason": "The pull request changed the
rotation interval from 24 to 12 hours.",
"openSince": "2026-11-17T09:42:00Z",
"pr": { "number": 518,
"title": "Shorten session rotation" }
}]
} why docs drift
Nothing fails when a sentence stops being true.
A code change needs a review and a green pipeline before it reaches the main branch. The docs that describe that code have no such step. Nobody is told which page a change affected, so the page stays as it was.
The person who finds out is the reader. It may be a new hire following a setup guide or a support agent quoting an old limit. The page looks the same as on the day it was correct.
- 43%
- of engineers name keeping docs in sync with the product as their single biggest challenge. State of Docs 2026
- 1 in 4
- of the most popular projects on GitHub had docs referring to code that was no longer there. Tan, Wagner, Treude, Empirical Software Engineering
- 4.7 years
- is how long those references had been out of date, on average. the same study
other ways to deal with it
How the usual approaches compare.
| Approach | What triggers it | What you get | Where it falls short |
|---|---|---|---|
| Review dates and “verified” badges | The calendar | A badge with an expiry date and a reminder to the owner | A page can be wrong for months before its date comes. A typo fix moves “last edited” and tells the reader nothing. |
| AI that rewrites the docs | A code change | A drafted update, in some tools merged automatically | A person still has to check the draft against the code. |
| Link checkers and linters | The build | Dead links and style errors | They do not read what a sentence says. |
| Findings from the change Meldoc | A code change, or an edit to a page another project follows | The sentence and the change behind it, on the pull request and on the document. Agents get the same over MCP. | It reports what a change contradicts. A sentence that was wrong before stays unreported. |
limits
What the review misses.
- Sentences that were already wrong
- The review starts from the next change. It does not audit the past.
- Changes that skip pull requests
- A direct push is not reviewed, and neither is a pull request from a fork. A pull request merged before its review finished leaves no finding.
- Writing the docs
- Meldoc reports the sentence and a person edits it.
- Blocking a merge
- The check passes or stays neutral, whatever it finds.
questions
Frequently asked.
What is documentation drift?
How is this different from a “verified” badge or a review date?
Does it rewrite my docs?
Will it fill pull requests with comments?
How do AI agents know a document is out of date?
How do product and help docs keep up with technical docs?
Does it read my code?
What does it cost?
Find out the day a doc goes wrong.
Start free. Upgrade to Pro for unlimited team members, with no per-seat pricing.