feat(skill): add standard package lifecycle and remote distribution - #1351
Draft
Teingi wants to merge 8 commits into
Draft
feat(skill): add standard package lifecycle and remote distribution#1351Teingi wants to merge 8 commits into
Teingi wants to merge 8 commits into
Conversation
…s-lifecycle-rfc # Conflicts: # src/powercontext/server/templates/base.html # uv.lock
…ills-lifecycle-rfc # Conflicts: # src/powercontext/server/templates/base.html # uv.lock
…s-lifecycle-rfc # Conflicts: # src/powercontext/server/templates/base.html
…ills-lifecycle-rfc
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.
Which issue or RFC does this PR close?
Implements the Standard Skill Package Lifecycle RFC in
docs/en/rfcs/0000_standard_skill_package_lifecycle.mdanddocs/zh/rfcs/0000_standard_skill_package_lifecycle.md. No tracking issue was provided.Rationale for this change
PowerContext can govern Experience and Skill revisions, but a useful Skill management loop also needs an authoritative package format, explicit local installation, and a secure way to distribute exact approved revisions to remote coding-agent machines. This change provides that end-to-end loop while keeping review, installation, execution, and remote credentials as separate trust boundaries.
What changes are included in this PR?
Are there any user-facing changes?
Yes. The Skills Dashboard now exposes governed package contents, provenance, lifecycle controls, local installation targets, and remote machine distribution. New CLI commands support enrollment, reconciliation, watch mode, and user-service installation. New HTTP operations and persistence tables/columns support package and distribution state.
Existing managed Skill revisions without a standard package remain visible but cannot be published until a package-backed revision is created or uploaded. Remote distribution is pull-based: the Server does not SSH into or directly write another machine.
How was this change tested?
make checkmake docs-testmake contract-test(29 passed)uv run pytest -q tests/test_dashboard.py tests/test_dashboard_locale.py(14 passedafter the latestmastermerge)781 passed, 9 skipped; one readiness timeout under full-suite load passed on focused rerun.origin/master..env;/health/live, authenticated Handoff scope discovery, and report retrieval completed successfully.AI usage statement
OpenAI Codex (GPT-5) was used for design refinement, implementation, documentation, conflict resolution, and test execution. The resulting changes and validation evidence were reviewed in the working tree before submission.