opencode-swarm 7.42.0 → 7.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -603,6 +603,22 @@ routing:
603
603
 
604
604
  Routing skills are merged with scored recommendations, with explicitly routed skills receiving a boosted score (0.9) to prioritize them.
605
605
 
606
+ ### Skill Lifecycle Management
607
+
608
+ Swarm provides tools for managing generated skill lifecycles:
609
+
610
+ - **`skill_retire`** — Retires an active generated skill by creating a `retired.marker` file in its directory. Retired skills are excluded from discovery, scoring, and injection. The SKILL.md file is preserved for auditability. Use `skill_retire(slug, reason?)` to retire a skill, or pass a reason for tracking purposes.
611
+
612
+ - **`skill_regenerate`** — Re-clusters the source knowledge entries for an active skill and updates the SKILL.md in place. Reads the existing SKILL.md frontmatter to identify source knowledge IDs, resolves current entries from knowledge stores, and re-renders the skill content. Falls back to fuzzy slug-based re-clustering if source IDs yield no matches. Skills whose source knowledge is entirely archived are automatically retired during regeneration.
613
+
614
+ - **Auto-retire health check** — During each curator phase run, skills are automatically evaluated for retirement when:
615
+ - The skill's violation rate exceeds 30% (based on skill-usage.jsonl compliance verdicts)
616
+ - All of the skill's source knowledge entries have been archived
617
+
618
+ Auto-retired skills are noted in the phase digest summary. The check is non-blocking — errors are caught and logged without failing the curator.
619
+
620
+ - **Proposal cleanup** — When a draft skill proposal is activated via `skill_apply`, the source proposal file is deleted as part of the activation process (best-effort; permission errors are logged but do not block activation).
621
+
606
622
  ### Configuration Reference
607
623
 
608
624
  | Key | Type | Default | Description |