Skip to content

fix: preserve local metadata during upstream sync - #28

Merged
hwj123hwj merged 1 commit into
mainfrom
fix/durable-upstream-sync
Sep 9, 2026
Merged

fix: preserve local metadata during upstream sync#28
hwj123hwj merged 1 commit into
mainfrom
fix/durable-upstream-sync

Conversation

@hwj123hwj

Copy link
Copy Markdown
Collaborator

The scheduled upstream sync can conflict when upstream changes a SKILL.md version while this repository adds marketplace metadata to the same YAML frontmatter.

This change:

  • performs conservative field-level three-way merging for SKILL.md frontmatter;
  • preserves local category/tags/upstream metadata while taking independent upstream version/body changes;
  • leaves true same-field/body conflicts for review;
  • prevents the validator from masking malformed frontmatter with NoMethodError;
  • documents the ownership policy and adds a regression self-test.

@hwj123hwj
hwj123hwj merged commit c573ee1 into main Sep 9, 2026
1 check passed
@hwj123hwj
hwj123hwj deleted the fix/durable-upstream-sync branch September 9, 2026 07:20
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