Class NotifyAndWaitGate

java.lang.Object
io.agentscope.harness.agent.skill.curator.NotifyAndWaitGate
All Implemented Interfaces:
SkillPromotionGate

public class NotifyAndWaitGate extends Object implements SkillPromotionGate
Multi-replica gate. On review writes a .review_request.json file next to the draft skill (so the file is visible to whichever replica gets the eventual approval call) and fires every configured NotificationSink concurrently. Always returns SkillPromotionGate.PromotionDecision.Defer — the actual approval comes from the external system calling HarnessAgent.promoteSkill(...) on any replica.

Sinks are best-effort. A failed sink is logged but does not block the gate or the agent.