From f47ad782af5cca7007e6f9e6a07c9a1c8f704e99 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 22:49:55 +0100 Subject: [PATCH] K23 public surface: the domain organ, Organs.domain, Request.last_wake, select.domain_bytes, Fixture::domain Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/tests/public_surface.txt | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/crates/mind-body/tests/public_surface.txt b/crates/mind-body/tests/public_surface.txt index 449f019..79b4d68 100644 --- a/crates/mind-body/tests/public_surface.txt +++ b/crates/mind-body/tests/public_surface.txt @@ -245,17 +245,30 @@ mind_body::projection: impl< T : Chat > MouthReader for T mind_body::projection: mod harness mind_body::projection: pub trait MouthReader { fn pending (& self) -> Result < ChatPending > ; } mind_body::projection: pub trait PersonaSource { fn persona (& self) -> Result < (Value , String) > ; } +mind_body::projection: pub use domain :: { DomainFacts , DomainSource , HttpForge , MindDomain } ; mind_body::projection: pub use narrate :: { Answer , Failed , KitModel , Model , Spent , connector_key } ; mind_body::projection: pub use select :: TurnKind ; mind_body::projection: pub use tuning :: { TUNING_FILE , TUNING_ROOT } ; mind_body::projection: struct HuginnPersonaSource pub-fields[] -mind_body::projection: struct Organs< 'a > pub-fields[persona: Option < & 'a dyn PersonaSource >, chat: Option < & 'a dyn MouthReader >, addressing: Option < & 'a dyn HeartbeatView >, model: Option < & 'a dyn Model >] -mind_body::projection: struct Request pub-fields[instance: String, kind: TurnKind, state: Option < Value >, room: Option < String >, seed: u64, renders: Option < usize >, judge_against: Option < Value >, operators: Vec < String >, minds: Vec < String >, own_sender: String, tuning: PathBuf, through: Through, last_heard: Vec < (String , u64) >, recent: Vec < Vec < String > >, own_rooms: Vec < String >, last_outcome: Option < Value >] +mind_body::projection: struct Organs< 'a > pub-fields[persona: Option < & 'a dyn PersonaSource >, chat: Option < & 'a dyn MouthReader >, addressing: Option < & 'a dyn HeartbeatView >, model: Option < & 'a dyn Model >, domain: Option < & 'a dyn DomainSource >] +mind_body::projection: struct Request pub-fields[instance: String, kind: TurnKind, state: Option < Value >, room: Option < String >, seed: u64, renders: Option < usize >, judge_against: Option < Value >, operators: Vec < String >, minds: Vec < String >, own_sender: String, tuning: PathBuf, through: Through, last_heard: Vec < (String , u64) >, recent: Vec < Vec < String > >, own_rooms: Vec < String >, last_outcome: Option < Value >, last_wake: Option < DateTime < Utc > >] +mind_body::projection::domain: impl DomainSource for DomainFacts +mind_body::projection::domain: impl DomainSource for MindDomain +mind_body::projection::domain: impl ForgeGet for HttpForge +mind_body::projection::domain: impl HttpForge +mind_body::projection::domain: impl HttpForge: fn new (base_url : & str) -> Self +mind_body::projection::domain: impl MindDomain +mind_body::projection::domain: impl MindDomain: fn new (client : HuginnClient , forge : HttpForge) -> Self +mind_body::projection::domain: pub trait DomainSource { fn read (& self , since : DateTime < Utc > , now : DateTime < Utc >) -> Result < DomainFacts > ; } +mind_body::projection::domain: struct DomainFacts # [derive (Clone , Debug , Default , PartialEq , Eq , Serialize , Deserialize)] pub-fields[] +mind_body::projection::domain: struct HttpForge pub-fields[] +mind_body::projection::domain: struct MindDomain pub-fields[] mind_body::projection::harness: fn batch (harness : & Harness , plan_path : & Path) -> Result < String > mind_body::projection::harness: fn fixture_request (harness : & Harness , fixture : & Fixture , state : Option < Value > , seed : u64 , renders : Option < usize > , through : Through) -> Request mind_body::projection::harness: fn state_file (path : & Path , instance : & str) -> Result < Value > mind_body::projection::harness: impl Fixture mind_body::projection::harness: impl Fixture: fn addressee (& self) -> Option < & dyn HeartbeatView > +mind_body::projection::harness: impl Fixture: fn domain (& self) -> Option < & dyn DomainSource > mind_body::projection::harness: impl Fixture: fn load (path : & Path) -> Result < Self > mind_body::projection::harness: impl Fixture: fn parse (text : & str) -> Result < Self > mind_body::projection::harness: impl HeartbeatView for Fixture @@ -311,7 +324,7 @@ mind_body::projection::tuning: struct Loaded # [derive (Clone , Debug , PartialE mind_body::projection::tuning: struct PersonaTuning # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[model: String, guidance: String, words: usize] mind_body::projection::tuning: struct PoolCaps # [derive (Clone , Debug , PartialEq , Eq , Serialize , Deserialize)] pub-fields[memories_about_present: usize, other_memories: usize, needs: usize, incubation: usize, stance: usize, value: usize, said: usize] mind_body::projection::tuning: struct ProjectorTuning # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[model: String, guidance: String, words: usize, beat_words: usize] -mind_body::projection::tuning: struct SelectTuning # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[temperature: f64, inclusion_score: f64, notes_bytes: usize, here_bytes: usize, outcome_bytes: usize, promises_bytes: usize, stimulus_bytes: usize, heard_bytes: usize, addressed_bytes: usize, identity_bytes: usize, bond_summary_bytes: usize, item_bytes: usize, body_bytes: usize, memory_tau_h: f64, freshness_base: f64, freshness_window: usize, people_full: usize, beat_tail_lines: usize, group_state: bool, group_lines: usize, group_bytes: usize, caps: PoolCaps] +mind_body::projection::tuning: struct SelectTuning # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[temperature: f64, inclusion_score: f64, notes_bytes: usize, here_bytes: usize, outcome_bytes: usize, promises_bytes: usize, domain_bytes: usize, stimulus_bytes: usize, heard_bytes: usize, addressed_bytes: usize, identity_bytes: usize, bond_summary_bytes: usize, item_bytes: usize, body_bytes: usize, memory_tau_h: f64, freshness_base: f64, freshness_window: usize, people_full: usize, beat_tail_lines: usize, group_state: bool, group_lines: usize, group_bytes: usize, caps: PoolCaps] mind_body::projection::tuning: struct Tuning # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[projector: ProjectorTuning, persona: PersonaTuning, interpreter: InterpreterTuning, select: SelectTuning, lens: LensWeights, pronouns: BTreeMap < String , String >] mind_body::queue: fn on_hold (mind : & dyn MindPort) -> Result < Held > mind_body::queue: impl Held