Skip to main content

Risk Classification

Every mutating operation MUST declare a risk level. Risk classification drives safety requirements.

LevelDescriptionRequired Safety
noneNo risk (reads, navigation)None
lowEasily reversible (cart operations)None required, logging recommended
mediumState changes requiring attentionConfirmation recommended
highFinancial or significant data impactConfirmation MUST be required
criticalIrreversible, high-impact operationsConfirmation AND approval MUST be required

Classification Guidelines​

  • Payment processing → high
  • Account deletion → critical
  • Profile update → medium
  • Adding bookmark → low
  • Searching products → none

Implementations MUST NOT classify a delete action as none risk unless the deletion is trivially reversible (e.g., removing an unsaved draft).

Actions at high risk and above MUST also be enforced on the server: a confirmation or approval the agent could skip protects nothing.

What the Linter Checks​

RuleChecks
AXAG-LINT-023write and delete actions declare a risk level
AXAG-LINT-006high and critical actions require confirmation
AXAG-LINT-026Each level declares the safety metadata it needs — critical adds approval and approval roles
AXAG-LINT-024delete actions below high are flagged for review
AXAG-LINT-013read actions aren't critical
AXAG-LINT-037high and critical actions are enforced by your server