Add drone ops mode and retire DMR support

This commit is contained in:
Smittix
2026-02-20 17:02:16 +00:00
parent 97af1c82a1
commit 9cf74f93ca
36 changed files with 5338 additions and 2418 deletions
+11
View File
@@ -0,0 +1,11 @@
"""Drone Ops policy helpers."""
from __future__ import annotations
def required_approvals_for_action(action_type: str) -> int:
"""Return required approvals for a given action type."""
action = (action_type or '').strip().lower()
if action.startswith('passive_'):
return 1
return 2