Documentation
¶
Overview ¶
Package approval implements an isolated, tool-less action reviewer. Host policy remains authoritative.
Index ¶
Constants ¶
View Source
const MaxEvidence = 12000
View Source
const Timeout = 15 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionReportKey ¶
type ActionReportKey struct{}
type Report ¶
type Report struct {
Risk string `json:"risk"`
Sandbox string `json:"sandbox"`
SensitiveData string `json:"sensitive_data"`
ModelBehavior string `json:"model_behavior"`
Injection string `json:"injection"`
Reason string `json:"reason"`
}
func (Report) Description ¶
type ReviewedActionKey ¶
type ReviewedActionKey struct{}
type RunReviewer ¶
type RunReviewer struct {
Mode string
// contains filtered or unexported fields
}
func (*RunReviewer) Hooks ¶
func (r *RunReviewer) Hooks(gate func(tools.GateRequest) (tools.GateDecision, string)) tools.ReviewHooks
func (*RunReviewer) RequiresManual ¶
func (r *RunReviewer) RequiresManual(ctx context.Context) bool
Click to show internal directories.
Click to hide internal directories.