Skip to main content

EmergencyStopProtocol

Defined in the protocols module.
AI Agent Pure contract for the global operator brake consulted at every seam. Fail-safe rule: if the engaged state cannot be read with confidence (a corrupt / unreadable durable sentinel), is_engaged() MUST return True — an ambiguous brake holds new work rather than letting it run freely. engage/disengage are idempotent.

Methods

is_engaged()

Instance method.

engage()

Instance method.

disengage()

Instance method.

state()

Instance method.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 6337