Principle:0x4m4 Hexstrike ai Human Escalation
| Knowledge Sources | |
|---|---|
| Domains | Human_In_The_Loop, Error_Recovery, Autonomous_Systems |
| Last Updated | 2026-10-10 00:00 GMT |
Overview
Principle for escalating unrecoverable failures to human operators with full context, urgency levels, and actionable suggestions, ensuring autonomous systems have a safe fallback.
Description
The Human Escalation principle describes when and how an autonomous system should defer to a human operator. Escalation occurs when all automated recovery strategies are exhausted or when the error type inherently requires human judgment (e.g., permission issues requiring privilege changes). The escalation report includes timestamp, tool name, target, error type, attempt count, urgency level, suggested actions (error-type-specific), and full context (parameters, system resources, recent errors).
Usage
Apply this principle in autonomous systems that need a human safety net:
- Exhausted recovery: Escalate when all recovery strategies fail
- Permission errors: Escalate immediately when sudo or root is required
- Context preservation: Include enough context for the human to act without re-investigating
Theoretical Basis
The escalation decision is triggered by two conditions:
# Abstract pattern (NOT real implementation)
# Condition 1: All strategies exhausted
if not viable_strategies:
return escalate(context, urgency="high")
# Condition 2: Error type requires human action
if error_type in [PERMISSION_DENIED, AUTHENTICATION_FAILED]:
return escalate(context, urgency="medium")
# Escalation report structure
escalation = {
"timestamp": now(),
"tool": context.tool_name,
"error_type": context.error_type,
"attempt_count": context.attempt_count,
"urgency": urgency,
"suggested_actions": generate_suggestions(error_type),
"context": {
"parameters": context.parameters,
"system_resources": context.system_resources,
"recent_errors": context.previous_errors[-5:]
}
}