tpt_eve_core/lib.rs
1// SPDX-License-Identifier: MIT OR Apache-2.0
2//! Shared types for the TPT Eve cognitive architecture.
3//!
4//! Defines the core vocabulary used across all Eve crates:
5//!
6//! - [`Value`] — a typed atom (`Symbol` or `Text`).
7//! - [`Fact`] — a subject–predicate–object triple with provenance and confidence.
8//! - [`Pattern`] — a triple where any slot may be bound or variable.
9//! - [`EveError`] — the shared error type.
10//! - [`CausalRelationDraft`] / [`CausalRelationKind`] — Phase 2 causal-relation types
11//! defined here so `tpt-eve-neural`'s trait surface matches the spec from day one.
12mod causal_draft;
13mod error;
14mod fact;
15mod pattern;
16
17pub use causal_draft::{CausalRelationDraft, CausalRelationKind};
18pub use error::EveError;
19pub use fact::{Fact, FactSource, Value};
20pub use pattern::{Pattern, PatternTerm};