checkout_completedWeb SDK or server intake records the event before any destination claim exists.
Layarr governs, normalizes, routes, replays, and proves every customer signal before it becomes analytics, ads, automation, or AI context.
Layarr turns one messy signal into a governed sequence of records: receipt, policy decision, canonical event, deterministic identity edge, destination attempt, replay eligibility, and archive reference.
checkout_completedWeb SDK or server intake records the event before any destination claim exists.
analytics allowedPolicy allows analytics while advertising stays blocked when marketing consent is missing.
schema v1The event is checked against the canonical contract with warnings preserved.
deterministic onlyIdentity edges use declared identifiers, not probabilistic guesswork.
route manifestAdapters receive only routes allowed by policy and config.
proof packetReceipt, decision, attempt, retry, and failure states stay visible.
preview firstBackfill and replay jobs are previewed before operator approval.
Every capability is designed around visible state and durable records, not invisible promises.
Capture browser and server events with account-scoped receipt IDs.
Proof detail: event rowApply region and purpose gates before destination delivery.
Proof detail: consent receiptMap raw event names into canonical schemas and keep warnings.
Proof detail: schema warningBuild deterministic identity links with consent basis attached.
Proof detail: identity edgeRoute to analytics, ads, email, webhook, warehouse, and proof lanes.
Proof detail: adapter configQueue delivery and dead-letter paths without confusing receipt for delivery.
Proof detail: attempt statusRecover failed or changed routes through previewed operator jobs.
Proof detail: replay batchKeep large exports, raw archives, and backfill payloads outside D1.
Proof detail: archive objectSeparate high-cardinality metrics from recent control records.
Proof detail: rollup bucketDraft mappings, diagnostics, anomaly notes, and query plans from redacted context.
Proof detail: AI audit rowCheck D1, queues, R2, analytics sink, runtime, and billing mode in one view.
Proof detail: health signalLayarr keeps the edge control plane fast while separating proof, jobs, archives, and analytics by responsibility.
The Worker receives events, serves the operator app, applies routing decisions, and coordinates delivery/replay queues.
D1 stores control records, proof, recent operational data, and audit rows.
Queues carry delivery, replay, retry, and backfill work.
R2 holds archives, exports, replay snapshots, and proof bundles.
Analytics Engine or an equivalent store handles high-cardinality event metrics.
Durable Objects, SSE, or WebSockets can coordinate live operator streams.
Layarr uses AI where structured product context helps: mapping suggestions, diagnostic explanations, anomaly summaries, read-only query plans, and proof report drafting.
Secrets, auth headers, raw PII, and unsafe payload fields stay out of prompts.
Generated mappings or destination changes remain suggestions until an authorized operator applies them.
Events, decisions, deliveries, replay jobs, diagnostics, and audit rows remain canonical.
Every assistant action records account, actor, redacted summary, model/provider, output summary, and timestamp.
Use Layarr to see what fired, why it routed, where it landed, what failed, and what can be safely replayed.