Skip to main content

LifecycleCommandDecision

Defined in the protocols module.
AI Agent Closed decision shape for a self-lifecycle command evaluation. Attributes: allow: Whether the command may run (True) or is refused (False) because it targets this gateway’s own lifecycle. reason: Model-readable explanation, populated on denial so the caller can surface why the command was blocked. matched: The specific command fragment that triggered the deny (for logging / the blocked-attempt audit line); empty when allowed.

Properties

bool
No description available.
str
No description available.
str
No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 4940