Uses of Interface
com.agentforge4j.testkit.scenario.GateResponse
Packages that use GateResponse
-
Uses of GateResponse in com.agentforge4j.testkit.harness
Method parameters in com.agentforge4j.testkit.harness with type arguments of type GateResponseModifier and TypeMethodDescriptionWorkflowTestHarness.run(String workflowId, List<GateResponse> responses) Assembles a fake-backed runtime, starts the given workflow, and drives it forward by draining oneresponseat each human-in-the-loop pause (input / review / step-approval / escalation) until the responses are exhausted. -
Uses of GateResponse in com.agentforge4j.testkit.scenario
Classes in com.agentforge4j.testkit.scenario that implement GateResponseModifier and TypeClassDescriptionstatic final recordAn approval note for anAWAITING_APPROVALpause raised by anESCALATEcommand.static final recordAnswers for anAWAITING_INPUTpause, keyed by artifact item id.static final recordA forward-only note for anAWAITING_REVIEWpause (aHUMAN_REVIEWgate).static final recordAn approve/reject decision for anAWAITING_STEP_APPROVALpause (aHUMAN_APPROVALgate).static final recordAn approve/reject decision for anAWAITING_TOOL_APPROVALpause (tool policyRequireApproval).static final recordA continue/retry decision for anAWAITING_TOOL_DECISIONpause (tool policyDenyor a failed invocation).Methods in com.agentforge4j.testkit.scenario that return GateResponseModifier and TypeMethodDescriptionstatic GateResponseGateResponse.approveStep(String note) Creates an approvingGateResponse.StepApprovalresponse.static GateResponseGateResponse.escalationApproval(String note) Creates anGateResponse.Escalationresponse.static GateResponseCreates anGateResponse.Inputresponse.static GateResponseGateResponse.rejectStep(String reason) Creates a rejectingGateResponse.StepApprovalresponse.static GateResponseCreates aGateResponse.Reviewresponse.static GateResponseGateResponse.toolApprove()Creates an approvingGateResponse.ToolApprovalthat auto-targets the run's single current pending tool invocation (the harness fails closed when there is not exactly one).static GateResponseGateResponse.toolApprove(String toolInvocationId) Creates an approvingGateResponse.ToolApprovalresponse targeting an explicit invocation id.static GateResponseGateResponse.toolContinue()Creates a continueGateResponse.ToolDecisionthat auto-targets the run's single current pending tool invocation (the harness fails closed when there is not exactly one).static GateResponseGateResponse.toolContinue(String toolInvocationId) Creates a continueGateResponse.ToolDecisionresponse targeting an explicit invocation id.static GateResponseGateResponse.toolReject(String reason) Creates a rejectingGateResponse.ToolApprovalthat auto-targets the run's single current pending tool invocation (the harness fails closed when there is not exactly one).static GateResponseGateResponse.toolReject(String toolInvocationId, String reason) Creates a rejectingGateResponse.ToolApprovalresponse targeting an explicit invocation id.static GateResponseGateResponse.toolRetry()Creates a retryGateResponse.ToolDecisionthat auto-targets the run's single current pending tool invocation (the harness fails closed when there is not exactly one).static GateResponseCreates a retryGateResponse.ToolDecisionresponse targeting an explicit invocation id.