Persona K34: Proposal's variants are named by their wire kinds
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3a4ef2eae8
commit
8c7f71c813
1 changed files with 2 additions and 0 deletions
|
|
@ -105,6 +105,8 @@ impl TryFrom<NeedsShape> 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue