Skip to content

fix: Always overwrite server-owned commands and skills during vault setup#446

Merged
rjroy merged 1 commit intomainfrom
fix/vault-setup-2026-02-02
Feb 3, 2026
Merged

fix: Always overwrite server-owned commands and skills during vault setup#446
rjroy merged 1 commit intomainfrom
fix/vault-setup-2026-02-02

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Feb 3, 2026

Summary

  • Vault setup now always overwrites commands and skills instead of skipping existing files
  • These are server-owned templates, not user-customizable, so updates should propagate to existing vaults
  • Setup reports "Installed N" for new files and "Updated N" for overwrites

Test plan

  • Existing tests updated to verify overwrite behavior
  • All 2566 tests pass
  • Manual test: modify a command in vault, run setup, verify it gets replaced

🤖 Generated with Claude Code

…etup

Previously, vault setup only checked for file existence and skipped
copying if the file/directory was already present. This meant updates
to bundled commands and skills wouldn't propagate to existing vaults.

Now commands and skills are always copied from the server's templates,
treating them as server-owned rather than user-customizable. The setup
reports "Installed N" for new files and "Updated N" for overwrites.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rjroy rjroy merged commit e4f8ce7 into main Feb 3, 2026
1 check passed
@rjroy rjroy deleted the fix/vault-setup-2026-02-02 branch February 3, 2026 04:54
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 86.20690% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/src/vault-setup.ts 86.20% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

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