Package io.agentscope.harness.agent.skill.curator
package io.agentscope.harness.agent.skill.curator
-
ClassDescriptionBase class for visibility filters that should ONLY constrain agent-authored skills.Visible only when the agent-created skill's name is in the allow-list.Percentage-based rollout for agent-authored skills.Chains multiple
SkillVisibilityFilters with AND semantics: the output is the intersection of every filter's output, applied in order.Filter that admits a skill only when its sidecar'senvironmentslist contains the configured environment (prod,staging, …).Single-replica HITL gate.PushesSkillCandidatemetadata to an external system (Slack webhook, ticket service, Nacos config item, …).Multi-replica gate.Always returnsSkillPromotionGate.PromotionDecision.Defer— promotion can only happen via an explicitHarnessAgent.promoteSkill(...)call from outside the gate.Append-only audit log for the skill self-learning loop.A single audit row.Material handed to aSkillPromotionGatewhen a draft skill is being considered for promotion.Background skill maintenance orchestrator.Configuration knobs forSkillCurator.Persistent state forSkillCurator— kept inskills/.curator_state.json.Orchestrates the promotion pipeline: locate draft → run security scan → call gate → physically move_drafts/<name>/toskills/<name>/→ update sidecar.Decides whether a draft skill is allowed to be promoted into the live skills directory.Final outcome of a gate review.Static-analysis scanner for SKILL.md and skill support files.Where the skill came from.Per-skill operational telemetry plus enterprise-staging audit fields.Sidecar telemetry store for per-skill usage and provenance.Runtime gate that decides which skills are exposed to the model on a per-call basis.