Skip to content

fix(packaging): exclude symlinks and archive self-inclusion - #13

Open
BurhanAbdullah wants to merge 1 commit into
Power-Agent:mainfrom
BurhanAbdullah:fix/skill-package-symlink-and-self-inclusion
Open

BurhanAbdullah wants to merge 1 commit into
Power-Agent:mainfrom
BurhanAbdullah:fix/skill-package-symlink-and-self-inclusion

Conversation

@BurhanAbdullah

Copy link
Copy Markdown
Contributor

Summary

Harden skill packaging against two reproducible issues:

Prevent symlink leakage:Skip symbolic links during archive creation so files outside the skill directory cannot be inadvertently included. Reject a symlinked SKILL.md manifest.
Prevent archive self-inclusion:Exclude the output .skill archive when packaging directly into the skill directory.

Tests

Added regression tests covering:

  • Existing build-artifact exclusions and nested evals/ preservation.
  • Symlinked files pointing outside the skill directory.
  • Rejection of a symlinked SKILL.md.
  • Packaging into the source directory without including the archive in itself.

Updated CI to run all skill-creator/tests on Python 3.10, 3.11, 3.12, and 3.13.

Validation

The fork's CI run passed all four Python matrix jobs, including the regression tests and compilation checks.

This change is scoped to skill packaging and its regression coverage; it does not modify the existing N-1 reporting or engineering-skill contract work.

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