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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//! # attuned-core
//!
//! Core types and traits for Attuned - a Rust framework for representing human state
//! as interpretable vectors and translating them into interaction constraints for LLM systems.
//!
//! ## Overview
//!
//! Attuned produces *context*, not actions. It represents user state across interpretable
//! dimensions (axes) and translates that state into guidelines for LLM interactions.
//!
//! ## Core Types
//!
//! - [`StateSnapshot`] - A point-in-time capture of user state
//! - [`PromptContext`] - Translated guidelines for LLM conditioning
//! - [`Translator`] - Trait for converting state to context
//!
//! ## Example
//!
//! ```rust
//! use attuned_core::{StateSnapshot, Source, RuleTranslator, Translator};
//!
//! // Create a state snapshot
//! let snapshot = StateSnapshot::builder()
//! .user_id("user_123")
//! .source(Source::SelfReport)
//! .axis("warmth", 0.7)
//! .axis("cognitive_load", 0.9)
//! .build()
//! .unwrap();
//!
//! // Translate to prompt context
//! let translator = RuleTranslator::default();
//! let context = translator.to_prompt_context(&snapshot);
//!
//! // Use guidelines in your LLM system prompt
//! for guideline in &context.guidelines {
//! println!("{}", guideline);
//! }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use Source;