Native AddComment shares HandleAlarmCommand but is applied at the node only;
asking the scripted host made it BadInvalidState (live A02 on fu937-1).
Co-Authored-By: Claude <noreply@anthropic.com>
Before: the alarm-commands topic is fire-and-forget, so an OPC UA method (and a
remote gRPC-data condition method) returned Good even when the engine rejected
the command because its last load failed.
- ScriptedAlarmCommandReadinessView: the host's latest load outcome; the node
manager's handler refuses BadInvalidState before the SDK applies anything
while the last load failed (lock-free read).
- Bounded ask: inside CallAsync (off Lock) each local request runs base.Call
alone; the handler only STARTS AlarmCommandAsker (broadcast for the peer +
DriverHostActor -> ScriptedAlarmHostActor.ExecuteAlarmCommand on the local
engine, CommandId-deduplicated) and the Call awaits the verdict: refused =>
BadInvalidState, no answer => BadTimeout OutcomeUnknown.
- Remote CallConditionMethod: ExecuteConditionMethodAsync => DriverConfirmedFailure
/ OutcomeUnknown on the origin.
- Host ownership uses the latest plan set (stable across a load in flight and a
failed load's half-built set).
- Docs: ScriptedAlarms.md (verdicts, residual, duplicate-activation trade-off),
DataConnections.md, rules/alarms.md. Live leg scenario F937 + seeder
scripted_predicate mutation.
Co-Authored-By: Claude <noreply@anthropic.com>