Skip to main content

Error Semantics

AXAG defines error codes and semantics for annotation validation and runtime execution failures.

Validation Error Codes

CodeNameDescription
AXAG-001Missing Intentaxag-intent not declared
AXAG-002Missing Entityaxag-entity not declared
AXAG-003Missing Action Typeaxag-action-type not declared
AXAG-004Invalid Action TypeValue not in allowed enum
AXAG-005Invalid Risk LevelValue not in allowed enum
AXAG-006Unsafe MutationMutating action without risk declaration
AXAG-007Missing ConfirmationHigh/critical risk without confirmation requirement
AXAG-008Parameter MismatchRequired parameters not matching input elements
AXAG-009Scope MismatchChild scope less restrictive than parent
AXAG-010Manifest DriftAnnotation changed without manifest regeneration

Runtime Error Codes

CodeNameDescription
AXAG-R001Precondition Not MetRequired precondition is false
AXAG-R002Confirmation RejectedUser declined confirmation
AXAG-R003Approval PendingAwaiting required approvals
AXAG-R004Rate LimitedInvocation frequency exceeded
AXAG-R005Role UnauthorizedInvoking role not in required roles