Class LocalApprovalGate

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

public class LocalApprovalGate extends Object implements SkillPromotionGate
Single-replica HITL gate. Calls a user-supplied prompter function that returns approve / reject from human input (terminal, CLI, IDE prompt, …). Defers if the prompter times out.

The default constructor wires a no-op prompter that always defers. Real deployments should supply a prompter that bridges to whatever HITL surface is available — typically via RequestStopEvent so the agent's outer loop can pause for the prompt.