Skip to content

fix(#1409): update records a full install in the manifest - #1477

Merged
admarble merged 1 commit into
mainfrom
fix/1409-update-records-full-install
Oct 16, 2026
Merged

admarble merged 1 commit into
mainfrom
fix/1409-update-records-full-install

Conversation

@admarble

@admarble admarble commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #1409 (PR #1467). This covers the gap that #1409's spec listed as OQ-3, and the owner ruled to fix it now rather than file it.

update writes every new template file, hooks, agents and .claude/settings.json included. But it called updateManifest() with no options, so a skills-only manifest kept groups: ["skills"]. After a routine update, the drift check stayed scoped to .claude/skills/ and reported 0 for the hooks and settings now on disk.

updateManifest has two callers: sync.ts:827 (already scoped) and update.ts:373 (this fix).

Tests

sync.install-scope.integration.test.ts gains one case. It does a real init --manifest-only and sync --only skills in a temp repo, then runs update --yes. It checks that hooks are installed, groups is gone, and getInstallScope reads full.

Targeted run: sync.install-scope.integration, update, update.integration, sync, manifest.trailing-newline and unmanaged-skill-safety.integration gave 88/88 passed. Full-suite evidence is CI's.

Mutation verification

Mutation-verified: AC-1 — reverted the call to updateManifest() with no options; src/commands/sync.install-scope.integration.test.ts > #1409 skills-only install scope > an update on a skills-only install records a full install failed (1 failed, 30 passed across the three update/scope files); restored.


🤖 Generated with Claude Code

update writes every new template file, hooks and settings included, but left the manifest's groups field as it was. After an update, a skills-only manifest still said "skills" and drift outside .claude/skills/ read 0. update now calls updateManifest({ full: true }), the same as a full sync.

Claude-Session: https://claude.ai/code/session_01Fsmq5Ys6sEojxXZ9d7TheM
Entire-Checkpoint: becaef034883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant