Skip to content

fix(#1490): the Skills Version check says "Up to date" when skills differ from the bundle at a matching version — the #713 content-drift fix never reached doctor - #1518

Merged
admarble merged 5 commits into
mainfrom
feature/1490-fix-doctor-the-skills-version-check-says-up-to-dat
Oct 19, 2026
Merged

admarble merged 5 commits into
mainfrom
feature/1490-fix-doctor-the-skills-version-check-says-up-to-dat

Conversation

@admarble

@admarble admarble commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

At a matching version with content drift, doctor's Skills Version check now warns with the number of differing files and the remedy the pre-flight banner prints, instead of "Up to date". The remedy has one producer, formatSkillsDriftRemedy in sync.ts, used by both the banner and doctor. No drift still passes with Up to date (<version>).

Fixes #1490

Verification

  • AC-1 and AC-3: npx vitest run src/commands/doctor.test.ts -t "Skills Version reports content drift" → 3 passed, 0 failed.
  • AC-2: -t "Skills Version passes with no drift" → 1 passed, 0 failed.

Mutation-verified: AC-1 — removed the contentDrift branch so the check reads only outdated again; src/commands/doctor.test.ts > doctor command > Skills Version reports content drift (#1490) > warns with the count and the scoped remedy on a partial install failed, along with the full-install and parity cases (3 failed, 82 passed); restored.

Mutation-verified: AC-3 — changed only the banner's full-install drift text in checkAndWarnSkillsOutdated; src/commands/doctor.test.ts > doctor command > Skills Version reports content drift (#1490) > uses the same remedy the pre-flight banner prints failed (1 failed, 84 passed); restored.

Runner fix after QA

  • The AC-3 parity test took the first run: anywhere in doctor's output, so another check's remedy could be the one compared. It now reads only the Skills Version line (3d0b0c2).

🤖 Generated with Claude Code

…or-the-skills-version-check-says-up-to-dat

# Conflicts:
#	src/commands/doctor.test.ts
#	src/commands/doctor.ts
@admarble
admarble merged commit 550109e into main Oct 19, 2026
10 checks passed
@admarble
admarble deleted the feature/1490-fix-doctor-the-skills-version-check-says-up-to-dat branch October 19, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant