From 938f5872fa31bbae6978a91b9cfbeba792c9fd69 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 22 Nov 2026 09:01:15 +0100 Subject: [PATCH] Persona K46/K48/C3c: public surface follows the cuts; r10's uncited decline is undecided The surface snapshot gains outcome::form's impl headers and Status's Display (K46) and loses PoolCaps.said (the Said pool's cut). r10's decline whose quote stands nowhere now leaves its draft undecided, not the turn failed (K48). Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/interpret/tests.rs | 2 +- crates/mind-body/tests/public_surface.txt | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/crates/mind-body/src/projection/interpret/tests.rs b/crates/mind-body/src/projection/interpret/tests.rs index cfa3928..5c03a70 100644 --- a/crates/mind-body/src/projection/interpret/tests.rs +++ b/crates/mind-body/src/projection/interpret/tests.rs @@ -1151,7 +1151,7 @@ fn r10_every_draft_is_sent_held_superseded_or_gapped() { let held = answered(&packet(), "I'll keep this one back for now. Meta, sorry.", json!({ "say": [], "gaps": [], "unsent": [{ "draft": 1, "how": "declined", "quote": "keep this one back for now" }] })); assert!(held.get("failed").is_none() && held["unsent"][0]["how"] == "declined", "{held}"); let uncited = answered(&packet(), "I'll keep this one back for now. Meta, sorry.", json!({ "say": [], "gaps": [], "unsent": [{ "draft": 1, "how": "declined", "quote": "words she never wrote" }] })); - assert!(uncited.get("failed").is_some(), "{uncited}"); + assert!(uncited.get("failed").is_none() && uncited["undecided"] == json!([1]) && texts(&uncited).is_empty(), "a decline whose quote stands nowhere leaves the draft undecided, not sent (K48): {uncited}"); let superseded = answered(&packet(), "Meta, it's Tuesday. No, that's the wrong day. Meta, it's Wednesday.", json!({ "say": [{ "draft": 2, "mentions": [], "in_reply_to": null, "promises": [] }], "gaps": [], "unsent": [{ "draft": 1, "how": "superseded", "quote": "No, that's the wrong day" }] })); assert!(superseded.get("failed").is_none(), "{superseded}"); } diff --git a/crates/mind-body/tests/public_surface.txt b/crates/mind-body/tests/public_surface.txt index 961bfee..9d194f8 100644 --- a/crates/mind-body/tests/public_surface.txt +++ b/crates/mind-body/tests/public_surface.txt @@ -301,6 +301,13 @@ mind_body::projection::narrate: struct Reasoning # [derive (Clone , Debug , Part mind_body::projection::narrate: struct Spent # [derive (Clone , Debug , PartialEq , Eq , Serialize)] pub-fields[model: String, input_tokens: u64, output_tokens: u64, cache_read_tokens: u64, cache_write_tokens: u64, reasoning_tokens: Option < u64 >] mind_body::projection::outcome: impl Outcome mind_body::projection::outcome: impl Part +mind_body::projection::outcome: impl std :: fmt :: Display for Status +mind_body::projection::outcome::form: impl EventPhrase +mind_body::projection::outcome::form: impl Form < '_ > +mind_body::projection::outcome::form: impl Name +mind_body::projection::outcome::form: impl ReadName +mind_body::projection::outcome::form: impl Words +mind_body::projection::outcome::form: impl std :: fmt :: Debug for Words mind_body::projection::read: # [derive (Clone , Copy , Debug , PartialEq , Eq , Serialize , Deserialize)] # [serde (rename_all = "snake_case")] pub enum ReadFailure { NotFound , Private , TooLarge , Failed , } mind_body::projection::read: # [derive (Clone , Debug , PartialEq , Eq , Serialize , Deserialize)] # [serde (tag = "kind" , content = "target" , rename_all = "snake_case" , deny_unknown_fields)] pub enum ReadRequest { Mind (String) , Campaign (String) , Repo (String) , Web (String) , } mind_body::projection::read: impl LiveReads @@ -343,7 +350,7 @@ mind_body::projection::tuning: struct InterpreterTuning # [derive (Clone , Debug mind_body::projection::tuning: struct LensWeights # [derive (Clone , Debug , PartialEq , Serialize , Deserialize)] pub-fields[body_and_hour: f64, person_present: f64, unresolved_want: f64, memory_surfacing: f64, wondering: f64] mind_body::projection::tuning: struct Loaded # [derive (Clone , Debug , PartialEq , Serialize)] pub-fields[tuning: Tuning, source: & 'static str, sha256: String] 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 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] 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, domain_bytes: usize, exchange_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 >]