Skip to main content

Term Disambiguation

Some terms in the AXAG ecosystem overlap with terms from related fields. This page clarifies the specific AXAG meaning.

Action vs. Event

TermAXAG MeaningCommon Meaning
ActionAn agent-invocable operation declared with axag-intentAny user interaction (click, scroll, type)

In AXAG, "action" specifically means a declared, tool-generatable operation — not every user interaction.

Annotation vs. Attribute

TermAXAG MeaningHTML Meaning
AnnotationThe complete set of axag-* attributes on an elementAny HTML attribute
AttributeA single axag-* key-value pairA single HTML attribute

An annotation is composed of multiple attributes. An element with axag-intent, axag-entity, and axag-action-type has one annotation consisting of three attributes.

Intent vs. Event vs. Command

TermMeaning in AXAGSimilar Concepts
IntentWhat the action is meant to accomplish (product.search)REST endpoint, RPC method name
EventNot an AXAG conceptDOM events, webhooks, pub/sub messages
CommandNot an AXAG conceptCQRS commands, CLI commands

AXAG uses "intent" to emphasize that the annotation describes purpose, not mechanism.

Manifest vs. Schema vs. Spec

TermAXAG Meaning
Semantic ManifestThe JSON document containing all actions for a site
SchemaThe JSON Schema definition that validates a manifest
SpecificationThe AXAG standard itself (this documentation)

Confirmation vs. Approval

TermWhat It IsWhen RequiredWho Decides
ConfirmationUser acknowledges the actionrisk_level >= highThe user themselves
ApprovalAuthorized role authorizes the actionBusiness ruleA designated approver role

Confirmation is "Are you sure?" — the user agrees.
Approval is "Is this authorized?" — a privileged role agrees.

An action can require both: the user confirms, then a super_admin approves.

Scope vs. Tenant Boundary

TermWhat It Defines
ScopeWhat data the action can access (public, user, tenant, global)
Tenant BoundaryHow strictly tenant isolation is enforced (strict, relaxed)

Scope declares the access level. Tenant boundary declares the enforcement level.

Idempotent vs. Safe

TermMeaning
IdempotentCalling twice produces the same result (but may have side-effects the first time)
Safe (read-only)Has no side-effects at all

All read actions are safe AND idempotent.
Some write actions are idempotent but NOT safe (e.g., PUT that updates a record).

Risk Level vs. Action Type

Risk level and action type are orthogonal:

readwritedelete
none✅ CommonRareNever
lowPossible✅ CommonRare
mediumPossible✅ CommonPossible
highRare✅ Common✅ Common
criticalRare✅ CommonPossible