Class RejectAllGate
java.lang.Object
io.agentscope.harness.agent.skill.curator.RejectAllGate
- All Implemented Interfaces:
SkillPromotionGate
Always returns
SkillPromotionGate.PromotionDecision.Defer — promotion can only
happen via an explicit HarnessAgent.promoteSkill(...) call from outside the gate.
This is the most paranoid default: the agent's own actions can never put a skill on the live skills root by themselves. Suitable when SRE wants to keep promotion strictly manual.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.agentscope.harness.agent.skill.curator.SkillPromotionGate
SkillPromotionGate.PromotionDecision -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SkillPromotionGate.PromotionDecision>review(SkillCandidate candidate, io.agentscope.core.agent.RuntimeContext ctx) Review a draft.
-
Constructor Details
-
RejectAllGate
public RejectAllGate() -
RejectAllGate
-
-
Method Details
-
review
public reactor.core.publisher.Mono<SkillPromotionGate.PromotionDecision> review(SkillCandidate candidate, io.agentscope.core.agent.RuntimeContext ctx) Description copied from interface:SkillPromotionGateReview a draft. Implementations should perform whatever side effects they need (notification, prompt, etc.) and return aSkillPromotionGate.PromotionDecision.- Specified by:
reviewin interfaceSkillPromotionGate
-