Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# viet-robot-security-escalation
|
| 2 |
+
|
| 3 |
+
A tiny rule-based model that decides how to escalate basic security events.
|
| 4 |
+
|
| 5 |
+
Function:
|
| 6 |
+
|
| 7 |
+
```python
|
| 8 |
+
decide_escalation(event_type: str, is_night: bool, human_confirmed: bool) -> EscalationDecision
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
Returns an escalation `level`:
|
| 12 |
+
|
| 13 |
+
- `ignore`
|
| 14 |
+
- `log_only`
|
| 15 |
+
- `notify_user`
|
| 16 |
+
- `alarm`
|
| 17 |
+
|
| 18 |
+
and a short English `reason`.
|
| 19 |
+
|
| 20 |
+
## License
|
| 21 |
+
|
| 22 |
+
MIT
|