docs-check-generated compared the working tree with the index, so on a laptop any unstaged docs edit failed as generator drift, just stopped before the links and diagram checks, and `git add -N` left untracked drafts intent-to-add in the real index. The check now works in a scratch copy of the index, and given a generator command it snapshots the docs before running it. CI's no-argument call compares against the committed docs as before. Co-authored-by: Bear Huddleston <196404565+BearHuddleston@users.noreply.github.com>