doc-drift-watch
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
After each commit the model makes, adds the doc lines that commit made stale (file:line references, symbol names) to the commit's result, from ripwire…
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
After each git commit Claude makes, runs the ripwire command-line tool on your repository and tells Claude which documentation lines the commit made stale. An optional deny mode, off by default, blocks git commit, push and merge until those docs are fixed. It makes no network calls and stores only its on/off and mode settings.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (registers the /doc-drift-watch command), command.run (status, on, off, mode note|deny), tool.call on Bash, turn.complete and prompt.submit. On a Bash command that matches git commit it runs git rev-parse --show-toplevel and the external ripwire CLI (ripwire <root> --doc-drift --with-history, 30 s timeout) before and after the command, compares the stale anchors, adds a note to the tool result (context) and shows a sidebar or log entry. In deny mode, off by default and switched with /doc-drift-watch mode deny, it returns a deny for git commit, push and merge while a finding is open; it narrows a commit to the staged files via git diff --cached --name-only. Commit directories are derived from cd and git -C in the command text, and expansions such as $ or ~ make it give up. Uses $.fs.read only to check whether a doc still exists, $.store for settings, $.sidebar and $.ui.log for display. No fetch, no model calls. The ripwire binary (must be on PATH) was not reviewed; its output parsing only reads tag attributes and treats them as display text. The note texts include doc paths and stale references taken from repository files, which reach Claude as context. Two other plugin files (eslint.config.js, Makefile) are developer tooling and are not loaded.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
After each commit the model makes, adds the doc lines that commit made stale (file:line references, symbol names) to the commit's result, from ripwire doc-drift, and holds each finding open until the doc holds again.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/doc-drift-watch/)