Class: Parse::Agent::NullGate

Inherits:
ApprovalGate show all
Defined in:
lib/parse/agent/approval_gate.rb

Overview

Default gate: approves everything. Installed implicitly so the common path is branch-cheap and existing (non-eliciting) clients keep working.

Constant Summary

Constants inherited from ApprovalGate

ApprovalGate::ABORT

Instance Method Summary collapse

Instance Method Details

#review(tool_name:, effective_permission:, preview:, agent:) ⇒ Object



79
80
81
# File 'lib/parse/agent/approval_gate.rb', line 79

def review(tool_name:, effective_permission:, preview:, agent:)
  ApprovalDecision.approve
end