Add repos dictionary for skill repository aliases in Lucafile#62
Merged
albertodebortoli merged 1 commit intomainfrom Apr 12, 2026
Merged
Add repos dictionary for skill repository aliases in Lucafile#62albertodebortoli merged 1 commit intomainfrom
albertodebortoli merged 1 commit intomainfrom
Conversation
The new optional top-level `repos` key lets users define short alias names for repository references. Any `repository` value in a skill entry that matches an alias key is resolved to the corresponding URL at parse time; unrecognized values are passed through verbatim.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
repos:dictionary to the Lucafile format that maps short alias names to repository references (owner/reposhorthand or full HTTPS/GIT URLs)repositoryby alias key; resolution happens at decode time inSpec.init(from:)so all downstream code receives fully-resolvedSkillobjects with no changes neededreposare passed through verbatim (fully backwards-compatible)Test plan
swift buildpassesswift test --filter SpecLoaderTests— 6 tests pass including 2 new ones covering alias resolution and verbatim fallbackswift testsuite (358 tests) passes with no regressions🤖 Generated with Claude Code