From 8c7f71c813b3daf5be2ba8198a49b2ce70338ee3 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 22 Nov 2026 01:12:27 +0100 Subject: [PATCH] Persona K34: Proposal's variants are named by their wire kinds Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/commit.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/mind-body/src/projection/commit.rs b/crates/mind-body/src/projection/commit.rs index 9979fae..2fd83ef 100644 --- a/crates/mind-body/src/projection/commit.rs +++ b/crates/mind-body/src/projection/commit.rs @@ -105,6 +105,8 @@ impl TryFrom for Needs { /// One state change the Interpreter proposes. `promise` names an open promise by its id in the Interpreter's list. #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] #[serde(tag = "kind", rename_all = "snake_case")] +// Each variant is named by its kind on the wire (`promise_open`, `promise_close`, `promise_need`). +#[allow(clippy::enum_variant_names)] pub(crate) enum Proposal { /// `reaffirms` names an open promise of hers, by its id in the Interpreter's list, that these words promise again to /// the same person (map 16.24.2): no entry opens, and the entry gains the words as said again. `needs` is what keeping