Scanner 1.19.0: what changed, how to upgrade
Spellwarden Research
Published 21 November 2026
An AI agent drafted this post from Spellwarden's published data and public sources. A second model, claude-opus-5-5, checked each claim against the sources below. Corrections: hello.invalid [at] spellwarden [dot] ai
Scanner 1.19.0 leaves the rules alone and changes how the pre-commit hook decides what it reads. The order in which you upgrade matters more than the list of changes, because one of the steps can remove a protection if it is done too early. This digest gives the order, and the check to make before the first step. It is assembled from the 1.19.0 changelog, the CI guide and the hook guide.
What did not change
The changelog opens with the rule set: rules version 2026.11.7, unchanged, with 66 rules. For a scan without --staged, it says the reports, findings, items and exit code match 1.18.0 apart from the version. That holds only for a front matter within the new limits and for an analyzer reply that keeps the new span rule. Both conditions are described below, so you can tell whether either one applies to you.
What did change
spellwarden scan --stagedis a new mode. It reads the git index only and sends nothing to Spellwarden.- The pre-commit hook now runs that mode. Before, it ran a scan of the working tree with
--no-upload. - The front matter of a
SKILL.mdis now read within limits. A front matter past a limit is the errorunreadable, the skill is not judged and the scan is incomplete. It is never a front matter finding. - The analyzer's replies follow a span rule. A reply that gives a category the verdict
issuewithout a span, ornonewith spans, is recorded asno_verdict. - Under
--analyze, a skill with a file the scan did not read now names that file inpath.
Before you start: two checks
The first check is about who decides a merge. On a pull or merge request in CI, the 1.19.0 hook reads the request's own settings file and baseline from the index, so a request can change what its own hook run judges. The 1.18.0 hook read the base revision's files there. The hook guide puts the consequence plainly: if pre-commit run is your only CI check, add the Action, the GitLab component or a scan without --staged before you move the hook's rev.
The second check is about skills with a large front matter. If you scan skills with unusual front matter, compare them with the limits first. The changelog gives them as 64 KiB of text, 2,000 YAML nodes, a nesting depth of 32 and 50 aliases. A skill past one of them makes the scan incomplete, which is a failed run, not a pass. If one of your skills is past a limit, the error names the limit and the way out, which is exclude.
The upgrade, in order
- Confirm which check decides merges. If it is only the hook, add the Action or the GitLab component now, on the release you are about to pin.
- In your GitHub workflow, replace the commit after
spellwarden-ai/scan@with the commit of the 1.19.0 release tag. The CI guide says to pin by the commit of a release tag, never by a branch, and that the Action's version is the scanner's. - In
.gitlab-ci.yml, set the component togitlab.com/spellwarden-ai/scan/scan@1.19.0. The CI guide says to pin it by a full version, never by~latest. - Other CI systems pin the same version, as the CI guide shows for
pipx runand the container image. - Run a pull or merge request and read the result. If a skill now reports
unreadable, it is past a front matter limit, as described above. - Last, move the hook. In
.pre-commit-config.yaml, setrevtov1.19.0.
A .pre-commit-config.yaml keeps the 1.18.0 hook until its rev moves, so the Action and component steps can be done on their own and the hook can wait. The changelog gives the hook's gains once it moves: an untracked file no longer fails a commit, and an untracked settings file no longer excludes what a commit holds.
What to read in the hook's output
With --staged, the file set is the git index under the scan root. Outside a git repository, or when git cannot read the index, the scan stops with the error staged_unavailable, so it never passes without reading.
Two notices are worth knowing before they appear in a log:
staged_credentials_ignored: the hook ignoresSPELLWARDEN_ORGandSPELLWARDEN_API_KEY. That is expected, and it means no upload from the hook.staged_connected_required: in CI, your settings file saysconnected.required: true, and the hook did not evaluate connected mode. Your organisation's rules and the registry check were not applied to that run. It is a notice, so the exit code does not change. Read it in the log, and rely on the Action or the component for that part.
If you use the analyzer
The span rule asks nothing new of the model: the changelog says the request already asked for exactly that, so nothing sent to a model changes. A result cached before 1.19.0 that breaks the rule is served as stored, so a no_verdict may appear only for results made after the upgrade.
Checklist
- Make sure a check other than the hook decides merges.
- Look for skills with a front matter near the limits.
- Move the Action to the commit of the 1.19.0 release tag, and the GitLab component to 1.19.0.
- Read the first pull request result on the new release.
- Move the hook's
revtov1.19.0, then read its notices once.
Sources
- raw.githubusercontent.com/spellwarden-ai/spellwarden/v1.19.0/CHANGELOG.md:
Rules version 2026.11.7, unchanged (66 rules).
- raw.githubusercontent.com/spellwarden-ai/spellwarden/v1.19.0/CHANGELOG.md:
is read up to 64 KiB of text, 2,000 YAML nodes, a nesting depth of 32 and 50 aliases.
- spellwarden.ai/docs/pre-commit:
If pre-commit run is your only CI check, add one of them before you move the hook's rev to v1.19.0.
- spellwarden.ai/docs/pre-commit:
Move rev to v1.19.0 or later to judge the staged content only.
- spellwarden.ai/docs/ci:
Pin by the commit of a release tag, never by a branch.
- spellwarden.ai/docs/ci:
Pin the component by a full version such as 1.19.0, never by ~latest.