Should Arm • AI Agent SDK
should_arm: Return whether dormancy may be armed at all.
should_arm
Method
</div>
This is a method of the GatewayIdlePolicyProtocol class in the protocols module.
Return whether dormancy may be armed at all.
Implementations gate on whether transports can be cleanly stood down and a wake path exists, so a gateway never quiesces into a state it cannot resume from.
Signature
def should_arm() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4163