Add the native SkillHub plugin for DeepSeek Harness with a scoped skill center, conversation search/install tools, exact-version installation and protected lifecycle management. Prepare the independently versioned 0.1.0 npm candidate with an empty default Registry and documented compatibility limits.
Keep formal specifications and executable regression tests; remove archived development screenshots and runtime reports from the final tree. Review fixes cover independent scopes, installed references, pre-staging recovery and idempotent discovery.
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
API tokens could attach and detach labels on suites but not on skills, so CLI and
agent integrations could publish a skill but not label it. Add the matching
PUT/DELETE token policies for /api/v1 and /api/web skill labels, requiring
skill:publish like the suite rules. Label permission checks are unchanged.
Signed-off-by: Martin Dissing-Madsen <179458371+martindissingmadsen@users.noreply.github.com>
Use optional metadata.display-name for skill titles while preserving stable
slugs and URLs. Keep published titles unchanged until review approval, and
cover localized title display and search with generic example fixtures.
Restore the fallback version title and summary when yanking the latest
published version, with regression coverage for the lifecycle boundaries.
Document the metadata field and retain existing behavior when it is absent.
Signed-off-by: Raymond <21071287+raymondtc@users.noreply.github.com>
Addresses the layer review on #935:
- listFiles and listRuns now resolve the draft through
getOwnedDraft first, enforcing the same owner-or-SUPER_ADMIN policy
as every other draft endpoint. Previously an authenticated non-owner
could read another draft's file metadata and validation-run summary.
- new SkillAuthoringControllerAuthorizationTest: HTTP-level two-user
coverage on both route prefixes (/api/v1/authoring and
/api/web/authoring) — owner success, SUPER_ADMIN success, and the
authenticated non-owner rejection, for both endpoints.
- migration renumbered to V69__authoring_platform.sql (upstream's
system_auth_settings took V68), rebased on the latest main.
- web/src/api/generated/schema.d.ts regenerated from this branch's
live OpenAPI surface (includes upstream API drift since the last
generation plus the authoring endpoints).
Signed-off-by: zjncs <18910855655@163.com>
Layer (a) of the authoring platform (tracked in #934): the SkillDraft
domain — drafts with revisions, digest and optimistic concurrency, draft
files in object storage, validation runs/events/findings — plus the V68
migration, the draft CRUD REST API with a scaffolded SKILL.md, and the
STRUCTURE validation layer executed by the run orchestrator (package
layout, frontmatter rules, file limits) reporting findings with
machine-applicable fix suggestions. Runs and findings stream over SSE
with a polling fallback.
Later layers add runtime binding and behavior execution (b), the fix
loop and publish integration (c), the web workbench (d) and docs (e).
Verified: skillhub-domain 609 tests green; the draft flow integration
test covers scaffold → broken frontmatter → FAILED run with a fixable
FRONTMATTER_FIELD_MISSING finding → repair → SUCCEEDED re-validation,
plus the optimistic-concurrency conflict path.
Signed-off-by: zjncs <18910855655@163.com>