Skip to content

fix(skills): hide rollback backups - #60

Merged
terrytan95 merged 1 commit into
mainfrom
terry-fix-update-duplicate
Jul 29, 2026
Merged

fix(skills): hide rollback backups#60
terrytan95 merged 1 commit into
mainfrom
terry-fix-update-duplicate

Conversation

@terrytan95

Copy link
Copy Markdown
Owner

Description

Prevents verified rollback backups from appearing as duplicate skills during Codex discovery. New backups use hidden sibling paths, while maintenance safely migrates legacy visible backups without weakening journal validation or rollback support.

Key Changes

  • Store rollback copies under hidden sibling paths.
  • Migrate verified legacy backups during maintenance.
  • Accept both legacy and hidden journal paths during the transition.
  • Preserve backup accounting, cleanup, and rollback behavior.

Verification & Testing

  • yarn test electron/skill-reconciler.test.ts — 17 tests passed
  • Environment-specific verification: None.

Impact & Risk

No breaking changes, database migrations, or environment variable requirements.

Successful updates retained visible backup directories beside skills, so Codex indexed the prior copy as a duplicate. Keep rollback data hidden and migrate legacy visible backups during maintenance.
@terrytan95
terrytan95 merged commit 9721588 into main Jul 29, 2026
1 check passed
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