cinep10

Customer Journey Architecture

Overview

In v0.5, Customer Journey does not simply mean a clickstream or a sequence of user actions.

Within the current architecture, Customer Journey acts as an:

Operational Truth Model

that simultaneously generates:

Behavior
Transaction
State

The architecture therefore goes beyond simple weblog analytics.

Instead, it is designed as a:

Cross-Domain Operational Reliability Architecture

for measuring inconsistency and distortion across:

Behavior ↔ Transaction ↔ State

Overall Structure

The core structure of v0.5 is:

Customer Journey
├─ Behavior Log
├─ Transaction Log
└─ State Transition Log

An important design principle is:

Behavior Logs do not directly trigger Transaction Logs

Instead, the actual structure is:

Customer Journey Model
→ Behavior Projection
→ Transaction Projection
→ State Projection

This means all three logs are:

different operational observation surfaces
generated from the same journey

High-level Architecture

Data Generation Architecture


Why Customer Journey Matters

Traditional systems are often modeled as:

Behavior Event
→ Transaction
→ State Change

However, real operational environments frequently produce inconsistencies such as:

Behavior exists
BUT Transaction is missing

Transaction exists
BUT State transition is missing

State exists
BUT Behavior does not exist

Meaning:

Behavior / Transaction / State

are separate operational observation layers, and they are not always perfectly aligned.

v0.5 is specifically designed to measure and interpret this:

Cross-domain inconsistency

Journey Stages

Customer Journey is modeled as a stage-based operational flow.

Example:

visit
→ browse
→ search
→ product_view
→ cart
→ coupon_apply
→ checkout
→ payment
→ order
→ delivery
→ refund

Each stage is represented differently across:


Identity and Lineage

Multiple identities are generated within the journey.

Representative examples:

journey_id
pcid
sid
uid

order_id
payment_id
delivery_id
cart_id
coupon_id
transaction_id

These identities function as lineage keys connecting:

Behavior ↔ Transaction ↔ State

An important design principle in v0.5 is:

Identity realism

For example:

browse stage:
anonymous possible

checkout/payment stage:
authenticated possible

This reflects realistic:

partial identity consistency

found in real operational systems.


Behavior Log

Behavior Logs record user web/app interactions.

Examples:

page_view
search
product_view
cart_view
checkout_click
payment_click

v0.5 preserves a:

W3C-compatible weblog structure

The primary objective of Behavior Logs is:

measuring behavioral observation reliability

Representative risks include:


Transaction Log

Transaction Logs record business events.

Examples:

cart_created
payment_requested
payment_approved
order_created
refund_requested

The structure is closer to:

JSONL-based business event architecture

The core objective is:

verifying whether user behavior
actually resulted in transactions

Representative measurements:

behavior_transaction_match_rate
behavior_only_count
transaction_only_count

State Transition Log

State Transition Logs record post-transaction workflow and operational state transitions.

Examples:

order_state: created → delivered
payment_state: requested → approved
delivery_state: assigned → delivered
refund_state: requested → completed

This layer represents:

Workflow / Operational State Truth

The primary objective is:

verifying whether operational state transitions
continued correctly after transactions

Representative measurements:

transaction_state_match_rate
state_transition_gap_count
state_delay_ms

Core Design Philosophy

The most important design philosophy of v0.5 is:

Behavior alone is not sufficient.
Transaction alone is not sufficient.
Operational Risk only becomes visible
when State is connected as well.

Meaning:

Behavior
+
Transaction
+
State

must be interpreted together in order to answer questions such as:

Did the customer click payment?
Was the payment actually approved?
Was the order state correctly created?
Did delivery states continue properly?
Was the refund completed successfully?

Final Direction

In v0.5, Customer Journey is not simply a clickstream model.

More precisely, it is:

an Operational Truth Model
that simultaneously generates
Behavior / Transaction / State

and also serves as the:

lineage root of cross-domain reconciliation

for operational reliability analysis.