An extra card-holder check. Test card 4000 0000 0000 3220 returns
REQUIRES_ACTION; code 123456 completes it. See Card payments.
amountDue
What a card must pay: totalAmount − giftCardAmount − pointsAmount. Shown
only on orders that used a gift card or points.
auth claim
The JWT claim that carries the user's roles (ROLE_CLIENT, ROLE_WAREHOUSE, ROLE_ADMIN).
aitesters sandbox
The second public site, aitesters.byst.re, with its own services and
database, reset every night.
Artemis
Apache ActiveMQ Artemis, the message broker carrying the outgoing
emails (queue email) to the consumer and Mailpit. Commerce events do not
use it; they travel through the event feed.
Bootstrap admin / catalog
Production has no demo seed; it creates one admin from Vault values and a
baseline product catalog when the table is empty.
Card-first refund split
A booked refund goes to the captured card first, then the gift card, then
loyalty points. See Returns and refunds.
Carrier simulator
warehouse-service scheduler that moves parcels shipped without a tracking
number through realistic scans.
Compatibility set
The nine first-party images (backend, frontend, consumer, ollama-mock,
warehouse-service, payment-service, notification-service,
delivery-service, llm-service) released and pinned together.
Consumer
consumer-rs (Rust port of jms-email-consumer): reads rendered emails from Artemis and sends them over SMTP.
Coupon
A discount code (PERCENTAGE or FIXED_AMOUNT) that lowers totalAmount.
Delivery (courier)
delivery-service's record of the last mile of a paid order: booked on
order.paid, moved by a simulated courier until DELIVERED or
RETURNED. Separate from warehouse-service's shipment. See
Courier deliveries.
Digest pin
An image reference of the form name:tag@sha256:<digest>, which cannot
silently change.
Docker Model Runner (DMR)
Docker Desktop feature that runs a real LLM on the host. Used only by
the full profile, through ollama-dmr-adapter. See LLM integration.
Domain event
A backend CommerceEvent (order.created, order.paid, …) published inside
the transaction, recorded in the event feed in that transaction and handled
by other listeners after commit.
Edge
The host-network nginx on the VPS that receives traffic from the
provider's HTTPS proxy and forwards it to the gateway.
Event feed
GET /internal/v1/events: the backend's durable list of domain events,
which warehouse-service and payment-service poll from their own cursor.
See Event feed.
Facet
A count or range returned next to search results (categories, price range,
in-stock count) to build filters.
Family (refresh token)
All refresh tokens descending from one sign-in. Reusing a consumed token
revokes the whole family.
Fulfilment state
The backend's mirror of warehouse progress on an order: NONE,
AWAITING_PICK, PICKED, PACKED, SHIPPED, DELIVERED, CANCELLED.
Gateway
The nginx container that is the single entry point and routes each path to a service.
Gift card
A prepaid code GC-XXXX-XXXX-XXXX that pays part of an order.
GraalVM native image
An ahead-of-time compiled Java binary. The services ran as these until they
were ported to Rust (November and December 2026).
HMAC signature
t=<epoch>,v1=<hex HMAC-SHA256(secret, t + "." + body)>, used by payment
results and user webhooks.
Idempotency-Key
Client-chosen header (^[A-Za-z0-9_-]{8,64}$) that makes checkout and
payment retries safe.
Inbox (webhook)
A built-in receiver inbox://<token> that stores webhook requests for
inspection.
Internal API
The backend's /internal/v1 endpoints for warehouse-, payment-,
notification-, delivery- and llm-service, authenticated by a per-caller
X-Service-Token, never public.
JWKS
JSON Web Key Set: the public keys that verify the backend's RS256 tokens,
at /internal/v1/jwks.json.
kid
Key id in the JWT header, used to pick the verification key.
The lightweight profile's in-memory email store, read with
GET /api/v1/local/email/outbox.
Loyalty points
Earned at 1 point per full 1.00 paid (excluding points), redeemed in
multiples of 100 (100 points = 1.00).
Luhn check
The checksum every card number must pass.
llm-service
The Rust service behind the four /api/v1/ollama/... endpoints, split out
of the backend. It talks to the model (or ollama-mock) and reads users,
prompts and products through the internal API. See
LLM integration.
Mailpit
Fake SMTP server and web inbox.
MFA / TOTP
Multi-factor authentication with time-based one-time passwords (RFC 6238, 30-second steps).
NDJSON
Newline-delimited JSON: one JSON object per line. The format the model
or mock streams to llm-service. See Streaming and WebSockets.
ollama-mock
Scripted, deterministic stand-in for an LLM that speaks the Ollama API.
Answers only known prompts. Used everywhere except the full profile. See
LLM integration.
Micro-frontend
UI that another service builds and serves, loaded by the shop at run time.
delivery-service serves its tracking web components at
/mfe/delivery/remote.js; the frontend mounts them on
/orders/:id/delivery and /deliveries.
Outbox (transactional)
A table written in the same transaction as a business change and
delivered afterwards with retries.
PKCS#8
The private-key format JWT_SIGNING_KEY must use (base64 DER).
Reconciler
warehouse-service safety-net job (every 10 minutes since 1.3.0) that aligns
shipments with backend cancellations the event feed missed and adopts
orphaned releases.
requestId
Idempotency id of a service-to-service write; repeats return the first result.
RMA
Return merchandise authorisation — a return request.
Server-Sent Events (SSE)
A text/event-stream HTTP response that stays open and carries
data: events. How LLM answers reach the browser. See
Streaming and WebSockets.
Service token
Shared secret per calling service sent as X-Service-Token.
Settlement delay
Time after which PROCESSING test payments settle (10 s by default).
Feed position (event feed)
The sequence the feed serves: assigned to events in commit order, so a
transaction that inserted its event early and committed late is served
after the events that overtook it instead of being skipped.
SSRF
Server-side request forgery; webhook URLs are checked so they cannot reach
internal addresses.
STOMP over SockJS
Messaging layer on top of the WebSocket used by the traffic monitor
(/api/v1/ws-traffic, topics /topic/traffic/<session id>).
Tender
A way to pay part of an order other than the card: gift card or loyalty points.
Tool calling
The model answers with a request to run a named function; llm-service
runs it on the real catalog and sends the result back. See
LLM integration.