Expand description
Shared constants for the approval system.
Provides canonical definitions for safe commands and autonomy levels used by both TUI and Web UI approval managers.
Ported from opendev/core/runtime/approval/constants.py.
Enums§
- Autonomy
Level - Autonomy levels for command approval.
Constants§
- SAFE_
COMMANDS - Safe commands that can be auto-approved in Semi-Auto mode.
Functions§
- extract_
command_ prefix - Extract a command prefix for auto-approval patterns.
- is_
safe_ command - Check if a command is considered safe for auto-approval.