From db25fbe7c9eca2fa6997f7cb0f75db607c99069c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 21:06:25 +0100 Subject: [PATCH] A line she holds back is no gap; unwritten is meant now and not written Re-test R1: 6 of 11 `unwritten` gaps were chosen deferrals ("maybe later", "I'll let it stand"), told back to her next turn as failures. The frame now says: unwritten when she means to say something now and wrote no draft; holding back (to wait, let something stand, leave it for later, say nothing) is no gap and is recorded as nothing. That keeps the K9 rule that a chosen silence tells her nothing: a held line is that silence, so it needs no record and no new kind. Which is which stays the Interpreter's reading. Also: the attribution test reads the whole pass-on sentence of K20. Verification: the_prompt_is_huginns_with_the_room_its_kind_who_is_in_it_and_her_drafts_last, the_guidance_knob_changes_only_the_guidance_and_the_frame_still_binds, the_attribution_rule_is_judgement_over_whole_drafts. Co-Authored-By: Claude Opus 5.5 --- crates/mind-body/src/projection/interpret.rs | 6 ++++-- crates/mind-body/src/projection/interpret/tests.rs | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/crates/mind-body/src/projection/interpret.rs b/crates/mind-body/src/projection/interpret.rs index 94f9a4e..4ba0dc1 100644 --- a/crates/mind-body/src/projection/interpret.rs +++ b/crates/mind-body/src/projection/interpret.rs @@ -85,7 +85,7 @@ fn speech_frame_tail(her: Forms) -> String { Answer with the speech contract's object. `say` lists the drafts {subj} send{s} now, each by its number, with the Matrix ids of anyone listed whom {subj} address{es} directly (`mentions`), the id of the line listed below that {subj} answer{s} or pass{es} on (`in_reply_to`, or null: the room shows that line, with who said it, above {poss} own words), and the words of the draft that promise an act {subj} {has} no way to do, now or later, copied exactly (`promises`, or null when it promises none). `gaps` records what {subj} meant and did not send. `amend` adds to one of {poss} own lines listed below, at most one a turn, only when {poss} thought shows {obj} choosing to correct or add to that line: name the line by its id, the draft that is {poss} addition, and its words that promise an act {subj} {has} no way to do, copied exactly (`promises`, or null). The line stays as it was and the draft is added after it; {subj} never take{s} a word back. `suggest` leaves Self one note, at most one a turn, only when {poss} thought shows {obj} choosing to: name the draft that is the note, its kind (feedback when {subj} pass{es} on what someone listed said, with that person's Matrix id in `about`; idea when it is {poss} own, `about` null), and set `private` when it carries anything listed as private or gives it away; such a note is not left. -A draft is said whole or not at all, and only once. At most two drafts a turn. Record a gap instead of guessing: conditional when {subj} {has} drafted something {subj} might say but {has} not chosen to, addressee when {subj} mean{s} to send a draft but whom to is unclear, elsewhere when {subj} mean{s} a draft for another room or another time; for these three, name the draft by number. missing_affordance when {subj} mean{s} to do something, now or later, that {poss} body cannot do (what {subj} can do here is listed below), whether {subj} said so in a draft or only thought it; name the draft when there is one. unwritten when {subj} mean{s} to say something and wrote no draft of it. Every intent of {poss} that is not carried out has a kind: an intent to act is missing_affordance, an intent to say with no draft is unwritten. When a gap names no draft, quote the words of {poss} thought that show it, at least four words, copied exactly.", +A draft is said whole or not at all, and only once. At most two drafts a turn. Record a gap instead of guessing: conditional when {subj} {has} drafted something {subj} might say but {has} not chosen to, addressee when {subj} mean{s} to send a draft but whom to is unclear, elsewhere when {subj} mean{s} a draft for another room or another time; for these three, name the draft by number. missing_affordance when {subj} mean{s} to do something, now or later, that {poss} body cannot do (what {subj} can do here is listed below), whether {subj} said so in a draft or only thought it; name the draft when there is one. unwritten when {subj} mean{s} to say something now and wrote no draft of it. Holding back is no gap: when {poss} thought shows {obj} choosing to wait, to let something stand, to leave it for later or to say nothing, record nothing for it. Every other intent of {poss} that is not carried out has a kind: an intent to act is missing_affordance, an intent to say now with no draft is unwritten. When a gap names no draft, quote the words of {poss} thought that show it, at least four words, copied exactly.", es = if s.is_empty() { "" } else { "es" }, ) } @@ -239,7 +239,9 @@ pub(crate) enum GapKind { /// She means to do something, now or later, that no affordance of hers does (map 16.20.6): a reach in her thought, or a /// promise in a draft, said or not. A tool request in waiting (section 4.2). MissingAffordance, - /// She means to say something and wrote no draft of it, so nothing went out. + /// She means to say something now and wrote no draft of it, so nothing went out. A choice to hold back (to wait, let + /// something stand, leave it for later, say nothing) is no gap and is not recorded: like a chosen silence, she is told + /// nothing of it (re-test R1: 6 of 11 `unwritten` gaps were chosen deferrals, told back to her as failures). Unwritten, Unresolved, } diff --git a/crates/mind-body/src/projection/interpret/tests.rs b/crates/mind-body/src/projection/interpret/tests.rs index 7f9da6c..0ea7ff7 100644 --- a/crates/mind-body/src/projection/interpret/tests.rs +++ b/crates/mind-body/src/projection/interpret/tests.rs @@ -276,7 +276,7 @@ fn the_prompt_is_huginns_with_the_room_its_kind_who_is_in_it_and_her_drafts_last let prompt = speech_prompt(&packet, "The room is warm.", prose, &Tuning::default()); assert!(!prompt.contains("membrane") && prompt.ends_with(&format!("His prose:\n{prose}\n\nHis drafts, by number:\n1. Hi all.\n")), "Huginn's own prompt, his prose verbatim, then his drafts: {prompt}"); assert!(prompt.contains("The room: #minds:gamecult.org (a public room).") && prompt.contains(NIBU), "{prompt}"); - for rule in ["You never write his words: you choose among his drafts.", "is not speech", "never his speech", "in a direct message with exactly that person", "A draft is said whole or not at all, and only once.", "At most two drafts a turn.", "unwritten when he means to say something and wrote no draft of it"] { + for rule in ["You never write his words: you choose among his drafts.", "is not speech", "never his speech", "in a direct message with exactly that person", "A draft is said whole or not at all, and only once.", "At most two drafts a turn.", "unwritten when he means to say something now and wrote no draft of it", "Holding back is no gap: when his thought shows him choosing to wait, to let something stand, to leave it for later or to say nothing, record nothing for it."] { assert!(prompt.contains(rule), "{rule} in {prompt}"); } assert!(speech_prompt(&packet, "x", "I say nothing.", &Tuning::default()).ends_with("drafts, by number:\n- none\n")); @@ -285,7 +285,7 @@ fn the_prompt_is_huginns_with_the_room_its_kind_who_is_in_it_and_her_drafts_last #[test] fn the_attribution_rule_is_judgement_over_whole_drafts() { let prompt = speech_prompt(&packet(), "x", "y", &Tuning::default()); - for sentence in ["Only his drafts can be said.", "Someone else's words in his thought are never his speech.", "A draft that carries someone else's words is said only when his thought shows he means to pass them on, and then as his to pass on."] { + for sentence in ["Only his drafts can be said.", "Someone else's words in his thought are never his speech.", "A draft that carries someone else's words is said only when his thought shows he means to pass them on, and then as his to pass on, replying to the line that carries them, which the room shows, with who said it, above his own words."] { assert!(prompt.contains(sentence), "{sentence} in {prompt}"); } assert!(!prompt.contains("standalone") && !prompt.contains("its marks do not go out"), "the quotation rule died with the quotation code"); @@ -382,7 +382,7 @@ fn the_guidance_knob_changes_only_the_guidance_and_the_frame_still_binds() { for gone in ["Wondering whether to speak", "An empty say list is the usual answer"] { assert!(!prompt.contains(gone), "{gone} is guidance, and the knob replaced it"); } - for rule in ["You never write his words", "never his speech", "as his to pass on", "He speaks only in this room.", "in a direct message with exactly that person", "speech contract", "A draft is said whole or not at all", "At most two drafts a turn.", "missing_affordance when", "unwritten when"] { + for rule in ["You never write his words", "never his speech", "as his to pass on", "He speaks only in this room.", "in a direct message with exactly that person", "speech contract", "A draft is said whole or not at all", "At most two drafts a turn.", "missing_affordance when", "unwritten when", "Holding back is no gap"] { assert!(prompt.contains(rule), "{rule} is the frame's and no knob removes it"); } tuning.interpreter.guidance = " ".into();