You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codev update: refresh unedited shipped skills; bootstrap-docs runs the installed skill by name #1811
codev update never refreshes a shipped skill that is already installed. Both adopt and update call copySkills(..., { skipExisting: true }), so an existing skill folder is never touched. Only missing skills are added.
So a project keeps the skill text it was adopted with, and fixes to shipped skills never reach it. A concrete case from Spec 1797: a project adopted before the bootstrap release has an update-arch-docs skill with no bootstrap mode, and codev update won't bring it. Because of this, codev bootstrap-docs has to paste the packaged skill into its prompt instead of running the project's installed skill by name.
Proposal
Refresh unedited skills on codev update. A skill counts as unedited when its content matches a version codev has shipped. The package carries a history of shipped skill hashes, generated from git history, and a test fails if the current skeleton version is missing from it. Then:
Identical to the package's version: up to date, nothing to do.
Matches an earlier shipped version: replaced with the package's version and reported as updated.
Anything else: treated as edited by the user. The new version is written beside it as SKILL.md.codev-new and added to update's merge session, on every update. This is the same behaviour CLAUDE.md and AGENTS.md have today (owner ruling).
A symlinked or non-directory skill path: left alone and reported.
Then codev bootstrap-docs runs the installed skill by name. It does this when the project's copy of update-arch-docs for the launching harness is identical to the package's version. Otherwise it falls back to inlining the packaged skill, as it does on the prompt-file path for harnesses that don't load skills.
Delivered in PR #1808 (Spec 1797), at the owner's request, so bootstrap works end to end.
Activity
[Spec 1797] Team review: drop the git digest; update refreshes unedit…
[Spec 1797] PR consult round 3: leave symlinked skills alone; clean r…
[Spec 1797] Integration review round 3: skill dry-run preview; --forc…
[Spec 1797] PR consult round 4: leave a symlinked .claude/.codex alon…
docs(release-notes): #1797 codev bootstrap-docs and #1811 skill refre…