A bounded, vendor-neutral request for local incident handling.
A trigger is inert data. It may request only a local freeze or follow-up and carries host-produced correlation fingerprints. Raw external identifiers, secrets, and customer data must not enter this artifact. It contains no runtime policy, environment, authority, target, collection scope, redaction choice, callback, endpoint, credential, or transport instruction.
The content-addressed id is also the idempotency key for the exact request.
It does not authorize an operation or attest that one was performed.
Summary
Functions
Returns the deterministic idempotency key for a valid trigger.
Types
Functions
@spec canonical_binary(term()) :: {:ok, binary()} | {:error, Insider.Protocol.Error.t()}
@spec decode(binary()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
@spec decode_map(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
@spec idempotency_key(term()) :: {:ok, String.t()} | {:error, Insider.Protocol.Error.t()}
Returns the deterministic idempotency key for a valid trigger.
@spec new(keyword()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}
@spec validate(term()) :: {:ok, t()} | {:error, Insider.Protocol.Error.t()}