haops_transition_skill_pack
Transition skill packs through lifecycle stages: propose, publish, or deprecate. Validates state machines and handles disallowed transitions.
Instructions
Transition a skill pack through its lifecycle (propose / publish / deprecate). Hits POST /api/skill-packs/[name]/[action]. Packs are unversioned and system-wide. Server enforces the allowed-from-here state machine and returns 409 with allowed on a disallowed transition. System packs (isSystem=true) cannot be deprecated (server returns 403 — update skillIds to [] via haops_update_skill_pack instead). Admin-only, requires ENABLE_COMPOSED_PROTOCOLS=true.
WARNING: The parameter is named action (values: propose/publish/deprecate) — NOT status or targetStatus. The underlying model field is called status, but the transition route uses action as the URL segment and the tool param name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Kebab-case name of the skill pack to transition. | |
| action | Yes | Lifecycle action to perform. Must be one of: "propose" (draft → proposed), "publish" (proposed → published), "deprecate" (published → deprecated). NOTE: this param is named `action`, NOT `status` or `targetStatus`. | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) |