Skip to main content
A policy is the deterministic set of constraints inside a mandate. Your backend translates end-user intent into this structure. Attesso does not evaluate prompts, scripts, or natural language.

Operators

Every constraint is combined with logical AND. Exactly one constraint may target each path.

Exact evaluation

Policy v1 intentionally has no coercion, case folding, wildcard, regular expression, locale processing, timezone conversion, floating-point input, or Unicode normalization.
  • A present value that violates a constraint produces DENY.
  • Missing, incorrectly typed, or unsupported evaluable data produces INDETERMINATE.
  • Both results are non-allow decisions and create no reservation.
  • A different valid action name produces DENY without evaluating constraints from the other action domain.

Payment authority

Payment authority is explicit and indivisible. A policy either:
  • Contains no payment paths and can only authorize actions without payment, or
  • Contains exactly one positive-integer payment.amount max and exactly one uppercase three-letter payment.currency eq
Amounts use integer minor units. For EUR, 14200 means EUR 142.00.

Canonical digest

Attesso canonicalizes the validated policy with RFC 8785 and binds a domain-separated SHA-256 policy_digest to the mandate, approval, and evidence.
Preserve constraint and in value order. Array order is digest-significant even when it does not change evaluation semantics.