Interface SkillPromotionGate
- All Known Implementing Classes:
LocalApprovalGate,NotifyAndWaitGate,RejectAllGate
public interface SkillPromotionGate
Decides whether a draft skill is allowed to be promoted into the live skills directory.
Implementations:
RejectAllGate— defers everything; only programmaticHarnessAgent.promoteSkill(...)can move drafts forward (enterprise default)LocalApprovalGate— single-replica HITL via the host shell / CLI promptNotifyAndWaitGate— multi-replica: writes a.review_request.jsonfile next to the draft and notifies one or moreNotificationSinks; waits for an external system to callpromoteSkillagain
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFinal outcome of a gate review. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SkillPromotionGate.PromotionDecision>review(SkillCandidate candidate, io.agentscope.core.agent.RuntimeContext ctx) Review a draft.
-
Method Details
-
review
reactor.core.publisher.Mono<SkillPromotionGate.PromotionDecision> review(SkillCandidate candidate, io.agentscope.core.agent.RuntimeContext ctx) Review a draft. Implementations should perform whatever side effects they need (notification, prompt, etc.) and return aSkillPromotionGate.PromotionDecision.
-