Repository navigation
Description
Found auditing the Rust pack's upgrade story. This is a mechanism that exists, does not apply, and says nothing about it — the failure class this org keeps hitting.
The auto-bump silently does not apply
devkit-upgrade.yml runs weekly and calls install.sh --force, which advances the consumer's devkit flake input. That advance is guarded by an anchored grep (install.sh:1093):
grep -qE '^[[:space:]]*vigos\.url[[:space:]]*=[[:space:]]*"github:vig-os/devkit"'It matches only an input named vigos at the unpinned URL. gerchowl/filesender has:
devkit.url = "github:vig-os/devkit/dev";Different name, pinned ref — no match, no bump, no message. The weekly upgrade job runs, reports success, and leaves the flake input untouched. Nothing tells the consumer that the part of the upgrade they most likely care about was skipped.
Both deviations are legitimate: flake.nix is a PRESERVE_FILE, so a consumer naming their input devkit is doing nothing wrong, and pinning a ref is normal.
And nothing else covers it
scaffold-drift cannot: it resolves its comparison image from the consumer's own DEVKIT_VERSION pin, so it compares the pin against itself and reports clean. Being behind is invisible to it by construction — filesender sat two minor versions behind (1.6.0 vs 1.8.0) with a green drift check.
So there are two independent staleness axes and neither is observable:
| axis | mechanism | works? |
|---|---|---|
| scaffolded files | scaffold-drift |
compares the pin to itself |
| flake input (where the Rust pack lives entirely) | install.sh auto-bump |
greps for a name/URL most consumers do not have |
Suggestions
Not a recommendation — the trade is devkit's:
- Make the grep name-agnostic: match any input whose URL is
github:vig-os/devkitwith an optional/<ref>suffix, rather than one literal spelling. - Report the skip. If the auto-bump declines, say so in the job summary and the upgrade PR body. A silent decline is the whole bug; a loud one is a decision the consumer can make.
- Report the pin, not just the drift.
scaffold-drift(or a sibling) should compareDEVKIT_VERSIONagainst the latest release and say "you are N releases behind", which is the question it currently cannot answer. - Consider a
mkRustProjecteval-time notice when the resolved devkit is much older than the pack it is building — the same "loud rather than silent" discipline Decision: where do a capability module's CHECKS live — lib function or a v2 contract field? #1427 and guardrails as a capability module — the semantic-gate half of #1400 #1488 applied.
Acceptance
- A consumer whose input is named anything, pinned or not, either gets bumped or is told why not
- Something, somewhere, answers "is this repo behind?" without the answer being derived from the repo's own pin
Activity
test: pin name-agnostic flake bump, loud skips, and the staleness report
fix(ci): make upgrade staleness observable on both axes
fix(ci): make upgrade staleness observable on both axes (#1514)
c-vigo commentedon Aug 14, 2026
Delivered by #1514 (merged to dev). Both acceptance criteria met: (1) the flake auto-bump is keyed on the github:vig-os/devkit URL — any-name floating inputs are advanced, pinned refs (?ref=X or /X) are skipped with a printed reason, and every install.sh --force run emits one flake-bump: line that devkit-upgrade.yml surfaces in the adoption PR body and step summary; the #1093 skew warning learned the same discovery. (2) The new warn-only devkit-staleness job in the scaffolded ci.yml compares DEVKIT_VERSION against the latest devkit release — not derived from the repo's own pin — and annotates PRs with the behind-count. Suggestion 4 (mkRustProject eval-time notice) was deliberately left out; say the word if it should become its own issue.
chore: release 1.10.0 (#1515)
feat: scan preserved configs for retired hook blocks (#1653)
chore: release 1.16.0 (#1672)