Repository navigation
test(plugins): a plugin with root skills/ keeps its --skill subset on every pass - #4326
Merged
Daniel Meppiel (danielmeppiel) merged 4 commits intoNov 20, 2026
Conversation
… every pass (#4270) Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 13:31
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The new lifecycle tests do not verify byte-identical frozen lockfiles and lack the lifecycle_smoke marker needed to run both regression cases in the required PR-time job.
2 open issues
What changed in this PR
This test-only PR adds lifecycle coverage for plugin skill subsets after #4276 restored consistent marketplace_plugin classification across fresh and cached installs.
Changes:
- Covers both
.claude-plugin/plugin.jsonand rootplugin.jsonmanifests. - Checks the selected skill, lock metadata, and audit results across fresh, cached, and cold frozen installs.
- Verifies semantic state preservation after frozen restoration and unchanged consumer manifest bytes.
| File | Description |
|---|---|
tests/integration/test_package_shape_lifecycle_contract.py |
Adds a parametrized installed-CLI lifecycle test for plugin root-skill subset selection. |
Review effort: Balanced
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-plugin-skill-subset-test-4270
branch
November 20, 2026 15:46
4 of 10 tasks
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.

Description
Test-only. Adds an installed-CLI lifecycle case proving that a package with a plugin manifest and a root
skills/directory keeps its--skillsubset selection (#4126's user-facing intent) now that it is typed as a Claude plugin collection (marketplace_plugin) on every pass (#4270, #4276).tests/integration/test_package_shape_lifecycle_contract.py::test_plugin_with_root_skills_subset_lifecycle, parametrized over.claude-plugin/plugin.jsonand rootplugin.json. A git source withskills/find-skillsandskills/other-skillis declared withskills: [find-skills]. The steps are fresh install, cached reinstall plusaudit --ci, then coldinstall --frozenplusaudit --ci. After each step the lock recordsmarketplace_pluginwithskill_subset: [find-skills], only that skill deploys, the audit is clean, frozen state is byte-identical, and the manifest is unchanged.It extends the existing module (behavioral marker
e2e) besidetest_manifestless_skill_bundle_subset_lifecycle, its manifest-less control. No new module. Module promise marker:P-OWN-package-format-precedence,P-OWN-dependency-selection(catalog ids; #4142).Issue and approved scope
Refs #4270
Human scope-approval comment: #4270 (comment) (test follow-up requested by the 0.37 Stream H lead).
Does this PR complete the issue, or what remains? #4270 is closed by #4276; this adds coverage only.
Type of change
Testing
APM_E2E_TESTS=1 APM_BINARY_PATH=.venv/bin/apm pytest tests/integration/test_package_shape_lifecycle_contract.py -k subset_lifecycle: 3 passed.Changelog
## [Unreleased]inCHANGELOG.md.Spec conformance (OpenAPM v0.1)
Co-authored-by: Copilot [email protected]