What documentation drift looks like
Documentation drift happens gradually:- A module is refactored and its README still shows the old API
- A configuration option is renamed but the docs still use the original name
- New behavior is added to a function without a corresponding update to its documentation
- A CLI changes but an agent skill still specifies the old flags
How it works
1
Agent reviews recent code changes
Detail compares recent commits against your repository’s documentation and identifies places where the documentation no longer accurately describes the code.
2
Pull Request opened
For each stale documentation item, Detail opens a GitHub pull request with the updated documentation. The PR description explains what changed in the code and why the docs needed to be updated.
3
You review and merge
Review the PR diff, make any additional edits you want, and merge when you’re satisfied. The updated docs land in your repository just like any other PR.
Enabling Doc Fixes
1
Open Doc Drift settings
In the Detail dashboard, go to Doc Drift and select the repository you want to configure.
2
Enable Doc Fixes
Toggle Doc Fixes to on for the repository. You can select how often the agent should look for documentation drift – weekly or on every weekday – and optionally specify a single engineer who should be tagged on all Doc Drift PRs.

