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>
docs-lint-diagrams called the website's lint:diagrams script, which needs
ascii-guard on PATH; only CI installed it, so `just docs-check` stopped
there locally. The recipe now runs the pinned ascii-guard through
scripts.ci.python_packages, the same pm environment CI uses, with the
same arguments: 442 files checked locally, and a malformed box fails it
as it fails the npm script.
check_generated_skill_docs.sh moves to website/scripts/, beside the
generator it checks, so a change to it starts the docs job.