1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: 2025-2026 ObzenFlow Contributors
// https://obzenflow.dev
//! `ChainEvent` is ObzenFlow's canonical wide event type.
//!
//! It is the public event contract where the framework's CHAIN philosophy
//! becomes concrete:
//!
//! - Causality: `causality`, correlation, and cycle metadata preserve links
//! between state changes.
//! - History: immutable journaling and `replay_context` preserve durable
//! state-transition history.
//! - Agency: `writer_id` records which stage or service emitted the event,
//! leaving room for richer provenance later.
//! - Narrative: wide-event observability and contextual metadata make
//! reconstruction possible.
//!
//! Construction helpers follow the current provenance schema.
//!
//! `event_type()` remains the richer user-facing classifier, while
//! `event_type_name()` stays the coarse, zero-allocation fast-path classifier
//! used in journal and metrics code paths.
pub use ChainEventFactory;
pub use ;
pub use ;