Expand description
Unified Safety Gateway
Consolidates all safety checking mechanisms into a single gateway:
- Rate limiting (from runloop’s tool_call_safety)
- Destructive tool detection
- Command policy enforcement
- Plan mode restrictions
This provides consistent safety decisions across all tool execution paths.
Structs§
- Safety
Check Result - Result of a safety check with optional retry hint metadata.
- Safety
Context - Minimal execution context required for safety decisions.
- Safety
Gateway - Unified Safety Gateway
- Safety
Gateway Config - Configuration for the safety gateway
- Safety
Stats - Statistics from the safety gateway
Enums§
- Safety
Decision - Safety decision for a tool invocation
- Safety
Error - Errors from safety checks
- Safety
Trust Level - Trust level used by the safety gateway for approval bypass decisions.