Registry pins are never re-checked after they are written, so they silently fall behind their published releases
Code of Conduct
- I agree to follow the Code of Conduct
Existing issues
- I searched existing issues. The closest is #4186, which found the same blind spot from the other direction (a plugin repo disappearing, rather than moving ahead). This is its sibling failure mode and its suggested fix 3.
What happened?
plugins-registry/<id>.json pins the exact commit plugin-install.mjs clones, so the pin is the code users actually get. Nothing ever re-reads that pin after the day it's written.
.github/workflows/plugin-registry-validate.yml runs on: pull_request with paths: plugins-registry/**. The event that makes a pin stale is a plugin cutting a release in its own repo, and that changes nothing in this repo. No PR, so no run. A pin is therefore only ever validated at the one moment it is guaranteed to be correct: when it is written.
Measured across all nine entries on 2026-09-28, comparing each pin to the commit its plugin's latest published release points at:
| entry | pinned version | latest release | verdict |
|---|---|---|---|
docx |
0.1.0 9252dc84 |
v0.1.3 33b437d5 |
stale, 25 commits behind the tag |
markdown |
0.1.0 d19e1281 |
v0.1.3 8d56d3a8 |
stale, 27 commits behind the tag |
google-calendar |
0.1.0 | v0.1.0 | correct (pin SHA equals the release commit) |
linkedin-alerts |
0.1.0 | v0.1.0 | correct |
obsidian |
0.1.0 | v0.1.0 | correct |
outlook-interviews |
0.1.1 | v0.1.1 | correct |
tavily |
0.1.0 | v0.1.0 | correct |
serper |
0.1.0 | none published | no release to compare against |
startup-boards |
0.1.0 | none published | no release to compare against |
Two entries are three patch releases behind. The docx gap spans 717ba3c fix: render headings that appear before the first ## section (#36), so a registry install of that plugin still silently drops ### and #### headings that appear before the first ##. markdown shipped an equivalent orphan-heading fix. Both render as ✓ approved (pinned <sha>) in plugins.mjs available, which reads as a stronger guarantee than "this SHA was current at review time".
The seven non-stale rows matter as much as the two stale ones: five are pinned exactly at their release commit, and two have simply never cut a release. A check has to treat "no release published" as a legitimate resting state rather than drift, or it turns into noise the first week.
Steps to reproduce
For any entry, compare the pin against the release:
repo=rubicon/career-ops-plugin-docx
pin=$(node -p 'require("./plugins-registry/docx.json").sha')
tag=$(gh release view --repo "$repo" --json tagName -q .tagName)
rel=$(gh api "repos/$repo/commits/$tag" -q .sha)
echo "pin=$pin"; echo "release($tag)=$rel"pin=9252dc84c09dbb597c995190b82322109cf84805
release(v0.1.3)=33b437d5d29c549cece8dfbe9206f6ccefae47b1Nothing in CI runs this comparison, on any trigger.
Expected behavior
CI fails when a registry pin falls behind that plugin's latest published release, on a trigger that can actually observe the event. That means a schedule, since the triggering change happens in someone else's repo.
Two details that decide whether such a check is worth having:
- Compare against the release commit, not the default branch.
HEADnormally carries unreleased commits (dependency bumps, CI edits) that nobody has installed, so comparing toHEADwould report permanent false drift. Resolving via/commits/<tag>also handles annotated tags, where the tag object's own SHA is not the commit. - A lookup that failed must never be reported as fresh. An unreachable repo and a current pin produce the same empty diff, and treating that as green is what let this sit unnoticed.
I have this built and tested against all nine entries (it reproduces the table above and exits non-zero). Happy to send a PR: a --check-stale mode on validate-plugin-registry.mjs plus a weekly scheduled workflow, as a change separate from the pin bumps themselves.
One question before I do. plugin-registry-validate.yml enforces one changed plugins-registry/*.json per PR, so the two stale pins can't be bumped together. Do you want them as two separate follow-up PRs after the check lands, or would you rather take the check first and bump the pins yourself?
CLI tool
Claude Code
OS and Node.js version
macOS 27 / Node 24
Source: santifer/career-ops