From 7babf8aadcff9c8b46d96ffd1090ff42fadcba1f Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 18:08:04 +0000 Subject: [PATCH 01/42] ja-inventory: rev 5 concepts and frames for the original bed (model-drafted, Validation-informed), weksa inventory admit, onto:ja-JP:15 (#54) --- README.md | 4 +- crates/weksa/src/encode.rs | 32 ++-- crates/weksa/src/main.rs | 25 ++- crates/weksa/src/run.rs | 4 +- crates/weksa/tests/cli.rs | 28 ++++ crates/weksa/tests/original_corpus.rs | 193 ++++++----------------- data/ontology/ontology.cc | Bin 12262 -> 12856 bytes data/original/inventory.cc | Bin 11369 -> 34658 bytes docs/targets/interlingua-lowering-map.md | 6 +- 9 files changed, 130 insertions(+), 162 deletions(-) diff --git a/README.md b/README.md index 34f83c0..0f04479 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,9 @@ measured. published schemas in `schemas/cultnet/`. - `data/corpus/corpus.cc`, `data/entity/entity.cc` and `data/interlingua/inventory.cc`: the English corpus, its entities and the inventory, read with `weksa corpus dump`, - `weksa entity dump` and `weksa inventory dump`. + `weksa entity dump` and `weksa inventory dump`. `data/original/inventory.cc` + carries its own Validation-informed lexicon revision (rev 5) for lowering + measurements; scored runs use `data/interlingua`. - [Lowering target](./docs/targets/interlingua-lowering.md) and [its map](./docs/targets/interlingua-lowering-map.md): the design, scoring and cut sequence. diff --git a/crates/weksa/src/encode.rs b/crates/weksa/src/encode.rs index 5ae008a..d6b22db 100644 --- a/crates/weksa/src/encode.rs +++ b/crates/weksa/src/encode.rs @@ -223,19 +223,22 @@ impl EditDraft { } /// The revision after `base` this edit asks for, and the entries it adds. - /// `None` when the edit makes no change or more than [`MAX_EDIT_CHANGES`]. + /// `None` when the edit makes no change or more than `max_changes`. The + /// loop's cycle passes [`MAX_EDIT_CHANGES`]; the CLI's `inventory admit` + /// passes its own larger cap for a draft reviewed whole in its cut. /// Every id is the store's: an added entry takes the next number of its /// family after the highest in `inventory`, retired entries included, in /// draft order. Nothing else is judged here: the gloss, the entry's shape, /// whether a retire target is live and a repeated id are /// `InventoryStore::admit_revision`'s to refuse. - pub(crate) fn into_revision( + pub fn into_revision( self, inventory: &Inventory, base: u32, + max_changes: usize, ) -> Option<(InventoryRevision, Vec)> { let count = self.add.len() + self.retire.len(); - if count == 0 || count > MAX_EDIT_CHANGES { + if count == 0 || count > max_changes { return None; } let n = base.checked_add(1)?; @@ -583,7 +586,7 @@ mod tests { InvId::parse("frame:2").unwrap(), ], }; - let (rev, entries) = draft.clone().into_revision(&inv, 6).unwrap(); + let (rev, entries) = draft.clone().into_revision(&inv, 6, MAX_EDIT_CHANGES).unwrap(); let ids: Vec = entries.iter().map(|e| e.id.to_string()).collect(); // After the highest of the family, retired ones included, in draft order. assert_eq!(ids, ["concept:4", "role:1", "concept:5", "frame:3"]); @@ -626,20 +629,25 @@ mod tests { .collect(), retire: vec![], }; - assert!(adds(0).into_revision(&inv, 1).is_none()); - assert!(adds(1).into_revision(&inv, 1).is_some()); - assert_eq!(adds(8).into_revision(&inv, 1).unwrap().1.len(), 8); - assert!(adds(9).into_revision(&inv, 1).is_none()); + assert!(adds(0).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_none()); + assert!(adds(1).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_some()); + assert_eq!(adds(8).into_revision(&inv, 1, MAX_EDIT_CHANGES).unwrap().1.len(), 8); + assert!(adds(9).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_none()); // Adds and retires count together. let mixed = |a: usize, r: usize| EditDraft { add: (0..a).map(|_| add(Family::Concept, "g")).collect(), retire: vec![InvId::parse("concept:1").unwrap(); r], }; - assert!(mixed(4, 4).into_revision(&inv, 1).is_some()); - assert!(mixed(4, 5).into_revision(&inv, 1).is_none()); - assert!(mixed(0, 9).into_revision(&inv, 1).is_none()); + assert!(mixed(4, 4).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_some()); + assert!(mixed(4, 5).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_none()); + assert!(mixed(0, 9).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_none()); // A repeated retire is the door's to refuse, not this fn's. - assert!(mixed(0, 2).into_revision(&inv, 1).is_some()); + assert!(mixed(0, 2).into_revision(&inv, 1, MAX_EDIT_CHANGES).is_some()); + // The cap is the caller's. + let (_, entries) = adds(200).into_revision(&inv, 1, 256).unwrap(); + assert_eq!(entries.first().unwrap().id.to_string(), "concept:2"); + assert_eq!(entries.last().unwrap().id.to_string(), "concept:201"); + assert!(adds(257).into_revision(&inv, 1, 256).is_none()); } #[test] diff --git a/crates/weksa/src/main.rs b/crates/weksa/src/main.rs index c4d7be6..24e68b0 100644 --- a/crates/weksa/src/main.rs +++ b/crates/weksa/src/main.rs @@ -8,7 +8,7 @@ use clap::error::{ContextKind, ContextValue, ErrorKind}; use clap::{Args, Parser, Subcommand, ValueEnum}; use unicode_normalization::UnicodeNormalization; use weksa::corpus::{CorpusItem, ModelFamily, NameSpan, Source, Turn}; -use weksa::encode::OntologyDraft; +use weksa::encode::{EditDraft, OntologyDraft}; use weksa::entity::{Entity, EntityOrigin, LanguageForms, Pronunciation}; use weksa::inventory::{proof_revision, seed, speaker_scene_revision}; use weksa::packet::{FeatValue, FeatureValue, Grade}; @@ -200,8 +200,15 @@ enum InventoryCommand { /// Admit the speaker-state revision (Scene and Speaker features) as the /// inventory's latest plus one. SpeakerScene, + /// Admit a model's inventory draft (a JSON file, {add, retire} as the + /// loop's editor writes it) as the inventory's latest plus one. + Admit { answer: PathBuf }, } +/// The most changes `inventory admit` takes in one draft. A hand-admitted draft +/// is reviewed whole in its cut, so the cap is not the loop editor's. +const MAX_ADMIT_CHANGES: usize = 256; + #[derive(Subcommand)] enum SceneCommand { /// Append a scene revision for one corpus group: its one live speaker's @@ -785,6 +792,22 @@ fn main() -> Result<()> { store.admit_revision(rev, entries).map_err(refused)?; println!("admitted rev:{n} with {count} entries"); } + Command::Inventory(InventoryCommand::Admit { answer }) => { + let text = std::fs::read_to_string(&answer).context("the draft would not read")?; + let draft = EditDraft::parse(&text)?; + let mut store = InventoryStore::open(&cli.inventory)?; + let inventory = store.inventory()?; + let latest = inventory + .latest() + .map(|r| r.n) + .context("the inventory holds no revision")?; + let (rev, entries) = draft + .into_revision(&inventory, latest, MAX_ADMIT_CHANGES) + .context("the draft makes no change or more than the cap")?; + let (n, count) = (rev.n, entries.len()); + store.admit_revision(rev, entries).map_err(refused)?; + println!("admitted rev:{n} with {count} entries"); + } Command::Scene(SceneCommand::Put { group, to, diff --git a/crates/weksa/src/run.rs b/crates/weksa/src/run.rs index 3d0da2a..51be889 100644 --- a/crates/weksa/src/run.rs +++ b/crates/weksa/src/run.rs @@ -40,7 +40,7 @@ use unicode_segmentation::UnicodeSegmentation; use crate::context::{EditFeedback, EncoderOffer, Prompt, TrainItems}; use crate::corpus::{CorpusItem, CorpusItemId, ModelFamily, Source}; -use crate::encode::{EditDraft, LoweringDraft, PacketDraft, encoder_id}; +use crate::encode::{EditDraft, LoweringDraft, MAX_EDIT_CHANGES, PacketDraft, encoder_id}; use crate::form::{is_attestation, is_language_tag, is_slug}; use crate::model::{ModelPort, PortError}; use crate::packet::{Packet, Stance}; @@ -2257,7 +2257,7 @@ pub fn cycle( let Some(draft) = answer.as_deref().and_then(|a| EditDraft::parse(a).ok()) else { return reject(run, Why::EditParse); }; - let Some((revision, entries)) = draft.into_revision(&inventory, base_rev) else { + let Some((revision, entries)) = draft.into_revision(&inventory, base_rev, MAX_EDIT_CHANGES) else { return reject(run, Why::EditAdmit); }; let candidate_rev = revision.n; diff --git a/crates/weksa/tests/cli.rs b/crates/weksa/tests/cli.rs index 65563ea..17cabfc 100644 --- a/crates/weksa/tests/cli.rs +++ b/crates/weksa/tests/cli.rs @@ -1875,3 +1875,31 @@ fn scene_put_and_dump() { assert!(!o.status.success()); assert!(!out(&o).contains("scene-1"), "{}", out(&o)); } + +#[test] +fn inventory_admit_numbers_a_draft_and_refuses_an_empty_one() { + let d = tempfile::tempdir().unwrap(); + assert!(weksa(d.path(), &["inventory", "seed"]).status.success()); + let path = |name: &str, text: &str| { + let p = d.path().join(name); + std::fs::write(&p, text).unwrap(); + p.to_str().unwrap().to_owned() + }; + let before = out(&weksa(d.path(), &["inventory", "dump"])); + + for (name, text) in [("empty.json", "{}"), ("junk.json", "not json at all")] { + let refused = weksa(d.path(), &["inventory", "admit", &path(name, text)]); + assert!(!refused.status.success(), "{}", out(&refused)); + assert_eq!(before, out(&weksa(d.path(), &["inventory", "dump"]))); + } + + let draft = path( + "draft.json", + r#"{"add":[{"family":"Concept","gloss":"bath_house"},{"family":"Frame","gloss":"fly_a_kite"}]}"#, + ); + let admitted = weksa(d.path(), &["inventory", "admit", &draft]); + assert!(admitted.status.success(), "{}", out(&admitted)); + assert!(out(&admitted).contains("admitted rev:2 with 2 entries")); + let dump = out(&weksa(d.path(), &["inventory", "dump"])); + assert!(dump.contains("bath_house") && dump.contains("fly_a_kite"), "{dump}"); +} diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 6a651e7..cbfb177 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -240,23 +240,49 @@ fn the_first_six_original_items_are_unchanged() { } } +/// Revision 5 of `data/original/inventory.cc` is the original bed's own +/// lexicon: concepts and frames drafted by claude-sonnet-5-5 (Weksa Hands, +/// model-drafted original-bed lexicon from Train and Validation passages) so an +/// encoder can name baths, kites and persimmons. It is Validation-informed on +/// purpose: numbers on this bed measure the lowering half (register, scene, +/// ontology), never inventory generalization or convergence; scored runs use +/// `data/interlingua`. The Dao De Jing inventory is its revision prefix. +const ORIGINAL_REV5_ADDS: usize = 233; + #[test] -fn the_original_inventory_is_the_dao_inventory() { - let dao = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../data/daodejing/inventory.cc"); - let own = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../data/original/inventory.cc"); - assert_eq!(std::fs::read(dao).unwrap(), std::fs::read(&own).unwrap()); +fn the_dao_inventory_is_a_prefix_of_the_original_inventory() { + use weksa::inventory::{Change, Family}; + let data = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../data"); let tmp = tempfile::tempdir().unwrap(); - let copy = tmp.path().join("inventory.cc"); - std::fs::copy(&own, ©).unwrap(); - let inventory = InventoryStore::open(©).unwrap().inventory().unwrap(); - // Revision 4 is the speaker-state vocabulary: the same six features the - // generator admits, ids and all. - assert_eq!(inventory.latest().unwrap().n, 4); - let (rev, entries) = weksa::inventory::speaker_scene_revision(4); - assert_eq!(inventory.latest().unwrap().changes, rev.changes); - for e in &entries { - assert_eq!(inventory.entry(&e.id), Some(e), "{}", e.gloss); + let open = |name: &str| { + let copy = tmp.path().join(format!("{name}.cc")); + std::fs::copy(data.join(name).join("inventory.cc"), ©).unwrap(); + InventoryStore::open(©).unwrap().inventory().unwrap() + }; + let (dao, own) = (open("daodejing"), open("original")); + assert_eq!(dao.latest().unwrap().n, 4); + let latest = own.latest().unwrap(); + assert_eq!((latest.n, latest.parent), (5, Some(4))); + for n in 1..=4 { + let revision = |inv: &weksa::Inventory| inv.revisions().find(|r| r.n == n).cloned(); + assert_eq!(revision(&dao), revision(&own), "rev {n}"); } + let mut glosses = std::collections::BTreeSet::new(); + for e in dao.entries() { + assert_eq!(own.entry(&e.id), Some(e), "{}", e.gloss); + glosses.insert(e.gloss.clone()); + } + assert_eq!(latest.changes.len(), ORIGINAL_REV5_ADDS); + for change in &latest.changes { + let Change::Add(id) = change else { + panic!("rev 5 retires {change:?}"); + }; + let e = own.entry(id).unwrap(); + assert!(matches!(id.family(), Family::Concept | Family::Frame), "{id}"); + assert_eq!(e.introduced_rev, 5, "{id}"); + assert!(glosses.insert(e.gloss.clone()), "{} repeats a gloss", e.gloss); + } + assert_eq!(own.entries().count(), dao.entries().count() + ORIGINAL_REV5_ADDS); } /// The committed seed ontology: every entry model-drafted, exactly the two @@ -889,135 +915,6 @@ fn the_eight_ja_test_sentences_are_pinned_verbatim() { } } -/// The concepts the pinned inventory holds, as each language names them in the -/// passages: English by word stem, Japanese by a multi-character surface. This -/// is a tripwire, not the encoder: it fails a passage that names no live -/// concept, and `FALSE_FRIENDS` strips the idioms that hold a concept's -/// character without its meaning (天気, 心é…�, è…¹ã�Œç«‹ã�¤ ...) before matching. -const LEXICON: [(&str, &[&str], &[&str]); 21] = [ - ("endanger", &["endanger"], &["å�±ã�†", "å�±ã�ªã�„"]), - ("prevent", &["prevent"], &["防ã�„", "防ã�’", "妨ã�’"]), - ("control", &["control"], &["æ“�ã‚�", "æ“�ã‚‹", "æ“�れ", "支é…�"]), - ( - "request", - &["request"], - &["ã�„ã�Ÿã� ã�‘ã�¾ã�›ã‚“ã�‹", "もらã�ˆã�¾ã�™ã�‹", "ã��れã�¾ã�›ã‚“ã�‹", "ã�Šé¡˜ã�„"], - ), - ("sage", &["sage"], &["賢者"]), - ("mind", &["mind"], &["心ã�Œ", "心ã�¯", "心を", "心ã�®", "心も"]), - ( - "belly", - &["belly", "bellies"], - &["ã�Šè…¹", "空腹", "満腹", "è…¹ã�®è™«"], - ), - ("will", &["will"], &["æ„�å¿—"]), - ("bone", &["bone"], &["骨ã�Œ", "骨を", "骨ã�¯", "骨ã�®"]), - ("empty", &["empt"], &["空ã�£ã�½", "空ã�«ã�—", "空ã�®å™¨"]), - ("fill", &["fill"], &["満ã�Ÿ", "ã�„ã�£ã�±ã�„"]), - ("weaken", &["weaken"], &["弱ら", "å¼±ã‚�", "å¼±ã�£"]), - ("strengthen", &["strengthen"], &["å¼·ã��ã�ª", "å¼·ã‚�", "å¼·ã��ã�—"]), - ( - "heaven", - &["heaven"], - &["天ã�Œ", "天を", "天ã�¯", "天上", "天ã�®"], - ), - ("earth", &["earth"], &["大地"]), - ("water", &["water"], &["æ°´ã�Œ", "æ°´ã‚’", "æ°´ã�¯", "æ°´é�¢"]), - ("compare", &["compare"], &["比ã�¹"]), - ("resemble", &["resemble"], &["ä¼¼ã�¦", "ä¼¼ã�Ÿ", "似る"]), - ("continues_long", &[], &["é•·ã��ç¶š", "ä¹…ã�—ã��ç¶š"]), - ("true_words", &[], &["誠ã�®è¨€è‘‰", "真実ã�®è¨€è‘‰"]), - ("seem_paradoxical", &[], &["逆ã�•ã�¾"]), -]; - -/// Compounds and idioms that contain a surface above without naming its concept. -const FALSE_FRIENDS: [&str; 8] = [ - "天気", - "心é…�", - "è…¹ã�Œç«‹", - "腹を立", - "水曜", - "骨ã�ŒæŠ˜ã‚Œ", - "天ã�®å·�", - "天井", -]; - -/// The live concepts a passage names, by `LEXICON`, in `lang_col` (0 en-US, 1 ja-JP). -fn concepts_in(text: &str, col: usize) -> Vec<&'static str> { - let mut text = text.to_lowercase(); - for f in FALSE_FRIENDS { - text = text.replace(f, ""); - } - let words: Vec<&str> = text.split(|c: char| !c.is_alphabetic()).collect(); - LEXICON - .iter() - .filter(|(_, en, ja)| { - if col == 0 { - en.iter().any(|s| words.iter().any(|w| w.starts_with(s))) - } else { - ja.iter().any(|s| text.contains(s)) - } - }) - .map(|(c, _, _)| *c) - .collect() -} - -#[test] -fn the_concept_lexicon_does_not_match_a_word_that_merely_holds_a_character() { - for ja in [ - "今日ã�®å¤©æ°—ã�¯ã�©ã�†ã� ã‚�ã�†ã€‚", - "試験ã�Œå¿ƒé…�ã�§ã�ªã‚‰ã�ªã�„。", - "è…¹ã�Œç«‹ã�£ã�¦ä»•æ–¹ã�Œã�ªã�„。", - "水曜ã�«ä¼šã�„ã�¾ã�—ょã�†ã€‚", - "骨ã�ŒæŠ˜ã‚Œã‚‹ä»•事ã� ã€‚", - ] { - assert!(concepts_in(ja, 1).is_empty(), "{ja}"); - } - assert!(concepts_in("I attempt it, with a reminder.", 0).is_empty()); - assert_eq!(concepts_in("æ°´ã�Œæ¾„ã‚“ã�§ã�„る。", 1), ["water"]); -} - -#[test] -fn every_original_passage_rests_on_a_live_inventory_concept() { - use weksa::inventory::Family; - let dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../data/original"); - let tmp = tempfile::tempdir().unwrap(); - std::fs::copy(dir.join("inventory.cc"), tmp.path().join("inventory.cc")).unwrap(); - let inventory = InventoryStore::open(&tmp.path().join("inventory.cc")) - .unwrap() - .inventory() - .unwrap(); - let rev = inventory.latest().unwrap().n; - let live: Vec<&str> = inventory - .entries() - .filter(|e| e.family() == Family::Concept && e.live_at(rev)) - .map(|e| e.gloss.as_str()) - .collect(); - for (concept, _, _) in LEXICON { - assert!(live.contains(&concept), "{concept} is not a live concept"); - } - let (corpus, _) = stores(); - for (col, lang) in PANEL.iter().enumerate() { - let mut hit = std::collections::BTreeSet::new(); - let mut passages = 0; - for item in corpus.all().unwrap() { - if item.language != *lang || !matches!(item.source, Source::ModelWritten { .. }) { - continue; - } - passages += 1; - let found = concepts_in(&item.text, col); - assert!(!found.is_empty(), "{} rests on no live concept", item.id); - hit.extend(found); - } - eprintln!( - "{lang}: {passages} passages on a live concept, {} distinct concepts", - hit.len() - ); - assert_eq!(passages, 28); - assert!(hit.len() >= 12, "{lang}: {} distinct concepts", hit.len()); - } -} - /// The committed scenes: one per live Train or Validation group of /// `data/original`, none for any other group, every one model-annotated and /// never Test evidence (a Test group gets no scene and reads `NoScene`). @@ -1105,6 +1002,16 @@ fn scene_entries_never_co_select_in_a_layer() { ); } } + // An above, out-group speaker is told by exactly one ja-JP + // Scene-conditioned grammar entry, at every intimacy. + if (st, ig) == ("above", false) { + let told = entries + .iter() + .filter(|e| e.language == "ja-JP" && e.layer.name() == "grammar") + .filter(|e| e.when.iter().any(|c| c.slot == Slot::Scene) && selects(e, rel)) + .count(); + assert_eq!(told, 1, "{rel:?}"); + } } } } diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index e3feabb443378f00ff9b82ae2b592b00666a0f0e..d2e0911754f1fd10dd3575d323abb50c34b69b03 100644 GIT binary patch delta 391 zcmXAj(JMny9LJl7jZ!FyB8REHm?%<1-aRRAUO2hO?%Cy>betqZ4FWrGEgL(sX3Y+=b@Xu4hFP%dE$Uiyo%atIRQa7M(>xGv;@*313 ss0&cXptb|050nOV3He=9@1I@%fAC%_UUkoa`n)ryi{a^~rRY}kFAI>f`~Uy| delta 17 Zcmdmy@+^MB6GrKcPwSL6Z&hvP0RU0K2t)t? diff --git a/data/original/inventory.cc b/data/original/inventory.cc index 3904b809b75c3558a065b8043c36df0a79b8aeaf..75fd7ca93ab9f2d6dfb522cfb0e469769f487de0 100644 GIT binary patch literal 34658 zcmbVVTaV<%b=J+#ffGr)TCF5&?Km&7+$`P~2m%8^{FVfek_QC|!|CSq(A(W?lif2K z8-DOho+WubMqV@BJ>4@qs|%DMK!9LjNI$}W{y_djkW;K8>(pV-a?b*WJmeNXepPk8 zbLw(f{hKd`%gJJx4v(_;szp&|?;Sgz{_a0cvIkZAUOqd{W^nT~f&VK{_uu`my=4Jr zfAK&3^DpmJ@V06CH|aFHcmLkr$M5~QF7yvsS>?s-rgHEaC_2ri2T<*(jMyGoDV18KvrSpe?HI>M*a4D4xf`dlOUjb`mc+ zD7x+Gb3kulP=7t2q}>J$IDl5IgVjNC0%l})c*w!~9wrz*F7sgqwLY07qdn~zagblb z$kF-FQc#agH0HorEg7#5(kfT>V^q~=>6X5+935y!+0m999hMw%zc_={NhalORoCgG zX9?#G)OwC{F-d2OtfYc*SX#6wiq&yiQEfXc0pcEU-1Xsd(NVO+Qs8Y|XK!LxfGKN711!jrTYKVAym{p7XI8~N!blGR6mM&jMVN$HK>3jiw zWeHQTgo*1e2G|n?{V_z1*`jM- zf~8j6Rl?oQ(|j)`OR(6Z2yZnhicXWVMEHInQz9ZQlpRLX%?XXNU#6p3r? z4j}Z7sAOE05G_1sHOUXDQ*&7o#6u!iJU+_Oa*-Tn84Rw+6){J*uOTgQWBYd9bv4Z= z9jYt=T7cgAxPajsWyn$>9t6AoPFha2$mX4Dvs7rY4Axb#?8wk%$q)||+;DTWRC6A7QP6?o9W1O{4kX0bj?nO5B+*`B8m?diR1u%{d%)5q?)Siv{SNh}D@y@O zn7E4qv0W6!Ud-oKW}uXrmUPV`U?~&(_`m}npMd8~s_u$Kz!E36`oNb~KPi?Yxw3B! zb%H))vJ`J|4J213r7kQ>p*SiB;iDsP$qDQhEMUMx>9RzM$Kye?1~qk}N5E1jjvhh0 zsj|hQ6FB>7ZmAP50)=Zi0fV)DYn&Uh#EFM>;b2wfou$u^B}?3bp|gf{iXq*62%lS& zq1XHdiL?P6!|V1%0{2(6}U~9bHTpovaDAoEpbLHapJa(2J0aV7--Op zSn9;?C~`Kl{GdDMidgc*mLG`~>`c(!k66;g0V8s+wc%3U*a`npAUGdm!EJ*)mi5Br!8)$r5|# zc<=~TE?^0#-Vvv(fiX*+xbtIYH-|2Q4UW#bWy})j50USS#aA!_Nk+xVOgg_qnA9v_ zMT=NL%n~eCLF{hpAye0~VwPI5-;2F9Bpf}UK`LfR6a$TxskclQLxxd&>c83$!CV5uJ& zCp@`6m~F^9vvN*{hXx9{;yaq2QqiF(}b#&)k z44zl_@Z`2yNXB%WCI&3sBLTpZn=*sYN8+g%u!N67A3S+g93H~J4DuZ4;r))+gXaVBTbD^SN`41mqflQIcV!c;STah)u?EA$^j@48hAavhci>-0z?jW=Rl*3*q?Nu^fPOmcWF=(x1gKSWUADbrTLt zc4)UxIN|4NnMRG1Ah?m$WZ|$Rh!x{R=bgMs;XJnho%nolq6YCsfPLY?5+K@#5#n-D zE@3mGC`T}kwN%&}eysrlHgPe4C4n-dCe-UDZU%JLFg~Ema)OsjgaeHbn_1CKwGg}{ zBCF2sIvsZ-fndc#G;|Zf+tr&d$tm3|5rU;ftQ+C4iW!|&3&GN%)sDd?ot&hnWDX?6 zb1P9mvR^J2Op}9C*vf5}PTS2=Gmu7_9)pd4y52_2= z=b0?cTQtQ+Zee#3``Xk(MALTRx{w1l&5mGQb&oS~SxU8-dYcULue(fHGDUe-!u21^ zt(_#Tl7kGai+WO*C0OjH++dv^z{&-Q?!1H}3ou+m{u15V5xjgOtS2|Rx^bC8xU8^g zby5u5_*Jv#ZWP+r>y|=)jOLi$|5S5Wr-2SyoMhQ7QJba-^npaUjXbnw8+? z9$78mU6mdSqvNpV64 zxx8c}EK7f|J^>4&o|Knpgy%`Vvz4J~x}=+@f|qK9HR%fod9a@i%Sz)?k0VWM_F3eO ztr=Xv3=zgAPB3K zTlmamG)Z+fzCrABK^7viNY~#;#pumkgV!fQ3lFWG!AQ;+qk-#_paq8;F}#$Uqp+g+ zpkqBO5#mOSwqwZ4%Vr%!mJD&F<)@Af!B&BNoop!(?K^nj#^B@i0t^vLkT+CA_4Nj@ zBo1Dp{xljAsM=oPjny!svpt3c%(RQhk{(7Bkb7Uj9>W2Nt-Jvm+HLXNFOP~vasUIW zBt3-H+%d#i+yC%JYA9|)k~mD&K!_;;WU26uacG{ulVtU(v(-l|AtGny!FR_{cS4Y* zLtNwVLZU5}2LzBMLJSyP$gRpwDC7;yaDC%d1-VHzy;g#K{b5P)4HE?YU3HYhK1#jd zibcp9m>~oAL4-iBT^?>l$QzlV3j5AVepO-j2X9PR z?J;Uz`Zun#2b&6d5!|$3UoTq(k=yqDHRK&sYQ5gTu@v{J5wRbfR}YB$@>zmILmWT6 zuI4gpE2&@=hYlck`Q9kp`_U#{E|ybjHmt~p@!}11NWE7EUaQqzUlUroL!mFYD6^kK zVhq`G=OuZgRtyH$s`+4-Sq4B`EW9jlG%5+;OXB4W=DzSfF|i(Anm2NYfw-6!rTj>W zkYvdZS$E*B>rc}OT;Hg~5(~2Kz&md~n{K7T%j!n10g}2;p_j9=3)yEn7C+=*g8;JR zp#@7CjoeJ+OE;rdwOcccSjs~VAJVZUS~6+Uu?-|k zb#Ix$YZN}3r!X5!sv)FEkl|s}XWo{UaVth^nAYplv{IG$?*YbN7nJ`?FwS!$B zs-?l#Ot6E+8(4&gfjbr?jtyI=gdJ6eK$H60eb=$L?wm8Y=)|f*u%pI!cb3%r8@C)}#+PirC*kOnpFi z9e7FCxNCxIg$H|#WoJo|mvxP4h8y`QdWR-UiD-HeM;Cg@&K`#G@~zQ#3~~IpKA%cX zQICqH{tRw+2x+p*GUFZN_?Ktqx$V4|q-DN1{q@D)&gG76^(owf4k*o!bS-Tf-xZrqMEuI42CuNcEWQp}zL-xr51_V#mRaC850wg>GR3@{UPkYyaJ0xjRaX5_^ELjV!g;_Ro1@k;YyA<!iGlMT@hO*lrO=dRM#&_|){N67sp_9zZ`W%Y& zvOhyFb9dQjsXX@6@cVpm-@Ak*3kbqTaKvA03%^ynk(ZFJ2%QfWx45d$x=7Ly z93s6||Ah&AR(^tN+nQuwWi6@wi!n)elft)>L&W0}#@4mhIL;pBQ*&`OFAKKFMyu9tS7{RyOD7v0);6x^P=MI)Kp?UIjBExN!!`HaG zSvCY_X?c1vf+RJFxVz#2&M|^-BStq;V|nfO4K@E74!4F)S;+wNd$<|Fn}-XK!C_Vc z2gu2gr#NP#3)nDRPM<=B<>Cj1O0Yi4Mq}-QKi&ORUcu+ia40DmbhN#}^7Wp1Pq-Vx zQCqM@ve1s>8Q#Tm{y#SFiq<)NVtHEokY{*JUl6bi>|OJkcwO%^ccRzDVF^KvH!8e) z);#t2DE);z3KeGfYJnWK^ncAI^C)&x8gW9HPTCh*W7U-Q8G`NDDBzewld!C=RroJArO#4n_ zgOEikx4Go!pmiI91!}y$?y&IgHF)k5b&ZAl-3He?2X|gCWoUYRePY41 z)%9g{VZA}kyD(l~cUX9@H?)H7B!_blA(~(;mg9VkHc|*$tZ#9tduKr|x3MNyl1ct{T7`TG-9%du1FQiXzz<<^I z!Z1nwoFMo4M5~YPo^>9VpEXI+d!YN=qXqp=2in=D2XYD`Z4}T+rC8E@^Nc>du7}C{ zfLR)Sn*zJrq8z921w1TPcS*B!+9B=9pBs?hadv@O%I%Q$w{Rd+4kya&ZE2Q@-=z%_ zz_$?a71&~_d|{V5OW1Ew`0xT|B$HwcOR`;Pmb^R79j##|B?C+sxKHGkW#6To;|=_z z3;ga(jeMyl!o`d$a`YhN(rZ;~>$ozYEPX>VH+pgl(_$%Z@Wapq=wDdEh6H8#)o zj}9J7%NCvhJh|~=^J7UEGU5$CcP$UC>HxBIYXN%e84PASfGoYju^on?5B;u}D>|qw zrNY-*1~sS;nkiu|q=I8T<<1zisIf3s2f<2m3k>IC$iuefZk7ee>LFO{y-? zcG_CJa9wA)5_&9eiRne~nIkOfD|0k&VL3@`H1S0?OJPkx0d63>nK>K$<1_sbe9+ts zPShQiA-}3&q!G)rzLj+-AeI5&)SM!|aVRjB>E6;{-lYtz@S_(tF_y{x ziN^9baE3cfachfEoLI*CU5yj0#&x;_n5jZxndoa8CEV76tmjTG63aT92A4-k&$7dO zn8U(UUAafF)|SBs)G*fJ1>85ztVdzd4l>Y{Mc{v68QALcL_;EC9vMlqi#WLEZu!UKSo92XrN00B{{Ofyre~0dym;dkKi%-6N;V*uD{*%#&%yXQ5 zH^si2?!KGezMKBOo58-D;l7*EzMFAh}P3(%)TkswAE__G55#Leo#dp-(@g2nh-%(8P9mS_zNLOUqOU0zU zR5aR4#i6}a1lmjW_V!Y}y1gXtRlVKraXG59&9&lXt`#wJt(ci>Ma^6*ZsuB%GuPT0 zn>{}#`u)S&Yls_vGjp%k`1)TTzVzb1)rQ(8Ch8`I9lrY4HFc9Vm%2%tOWmZ+rEb#Z zQnA)cVhUGZC{%snYVt0R{5LQD_TkGfefz>4o4@Y3hJ)_7=2CZDbJ=uUd#yXJz1AJq zUh9r)uXV?@*Sh1{Yu$0}weGm~TG4BhlpMlOXv1pC3&KwjeuD55gr6Y%1mPzXKix6v zVSS;V)E8FITF*3===FD|Tm)@*u(OA+ynI&oq_J|MvZgT_t8W^kz1EGUr6|cgkMPbg@j*7_=SXDNccsBUqtvtgkMDXMTB2O_(g_{D@@O!&owUrhMLgkP-qwI{SV14R(sPz=!xMG@Ul9MKI$65UWN(G5it z-B3Ky4Mh~)piFgCHzgd()S*lr%G9Au9m>?9OdZP9p-gpnH^g*ELpLZ>9pO<4%2daA zRDv?qQ680`Oa*1CqlK?jwfZK}f#DnZ*+2Od;{wy6$1 zs03|O9ehj)9evOZ+NL`Gpc1rAbp%2sXq)O7gi6ph)ltZl&|wJOplzxH5h_93REHu| zg0`s+MyLdBQyq>_3EHMQAej<6BB2|!O?6B{C1{)KsDw(;Hq~(nm7r~^BayC_!VC&~qSzL1Pr0rAc_u7zJlo(h`)Zo(ZA1P^Nk= wWJ=H&C1{KidOCz2p-lCJ2$i5r^^^#epuMjrMW_U|QyQa$o)?)%eDVAL2m6wr@&Et; delta 227 zcmaFV$MiB{!(~PuhO8+olk@YEQwvJ0CI{*%Ob%e;oy^0O!LVt ztR^opxmGEH9cuIBf;|1nacZTL6}0>(FVqd0Y-t!Z`L;>M`, an opaque digest of item, inventory revision and encoder (the item key lives in `provenance.corpus_item`, which the lowerer never sees); CultCache type `weksa.interlingua_packet`, carrying `schema_version` and `inventory_rev`. Every id inside is an opaque form type (`n` nodes, `encoder:<16 hex>`, canonical `:`). From cut `speaker-state` (schema v4) it also carries the utterance **stance**: the speaker's felt affect and restraint, as inventory features of slot `Stance` (see Speaker state below) | Minted by an encoder for one corpus item under one spec version; immutable; a new spec version means a new packet, never an edit. Admitted only through `PacketStore::admit`, which validates against the inventory store at the packet's revision | The encoder writes; the form types refuse malformed ids at construction and load, the validator refuses broken references and over-capacity packets: a feature at most once per slot, at most 64 nodes (`typed-packet`); nothing else writes packets | | Schema version | `weksa.interlingua_packet.v` constant in `crates/weksa`; published JSON Schema at `schemas/cultnet/` | Bumped by a commit that changes the Rust types; the published schema is regenerated in the same commit and a test fails on drift | A cut (Hands, under a spec); never the loop | -| Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; Self on merge to main. Admission checks form, not text | +| Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` rev 5 (233 concepts and frames) was drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | | Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`) | @@ -320,8 +320,8 @@ line two", "ã��ã�®ã€€åˆ¶å¾¡" against the features reach a loop's lowering view. `score::leak_diagnostic` and `TestReadings::at_checkpoint` take minted text as `&[&str]` and have no caller outside tests: no round reads glosses or any minted text against - Validation. `data/original/inventory.cc` and `data/daodejing/inventory.cc` are - byte-identical; with `data/interlingua/inventory.cc` they share revision 1, + Validation. `data/daodejing/inventory.cc` is a revision prefix of + `data/original/inventory.cc` (revisions 1 to 4 equal, a test proves it; rev 5 adds the bed's own lexicon); with `data/interlingua/inventory.cc` they share revision 1, where features 6 to 8 (hedge, certainty grades, irony flag) sit in `Discourse` and `Predication` and features 9 to 18 (anger to restraint, grades) in `Stance`. `PROMPT_SOURCE_DIGEST` covers `context.rs`, `split.rs`, From f1f508e159764f2347b5dc95b63e616813a3d6db Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 18:27:34 +0000 Subject: [PATCH 02/42] ja-inventory-6: rev 6 concepts (try, someday, a little, as one pleases, kite flyer) and the admit-cap test (#55) --- README.md | 2 +- crates/weksa/tests/cli.rs | 23 ++++++++++++++++ crates/weksa/tests/original_corpus.rs | 34 +++++++++++++----------- data/original/inventory.cc | 2 +- docs/targets/interlingua-lowering-map.md | 4 +-- 5 files changed, 46 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 0f04479..091bcd6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ measured. - `data/corpus/corpus.cc`, `data/entity/entity.cc` and `data/interlingua/inventory.cc`: the English corpus, its entities and the inventory, read with `weksa corpus dump`, `weksa entity dump` and `weksa inventory dump`. `data/original/inventory.cc` - carries its own Validation-informed lexicon revision (rev 5) for lowering + carries its own Validation-informed lexicon revisions (5 and 6) for lowering measurements; scored runs use `data/interlingua`. - [Lowering target](./docs/targets/interlingua-lowering.md) and [its map](./docs/targets/interlingua-lowering-map.md): the design, scoring diff --git a/crates/weksa/tests/cli.rs b/crates/weksa/tests/cli.rs index 17cabfc..2940efd 100644 --- a/crates/weksa/tests/cli.rs +++ b/crates/weksa/tests/cli.rs @@ -1903,3 +1903,26 @@ fn inventory_admit_numbers_a_draft_and_refuses_an_empty_one() { let dump = out(&weksa(d.path(), &["inventory", "dump"])); assert!(dump.contains("bath_house") && dump.contains("fly_a_kite"), "{dump}"); } + +#[test] +fn inventory_admit_cap_is_256_and_a_refusal_writes_nothing() { + let d = tempfile::tempdir().unwrap(); + assert!(weksa(d.path(), &["inventory", "seed"]).status.success()); + let draft = |name: &str, n: usize| { + let adds: Vec = (0..n) + .map(|i| format!(r#"{{"family":"Concept","gloss":"cap_probe_{i}"}}"#)) + .collect(); + let p = d.path().join(name); + std::fs::write(&p, format!(r#"{{"add":[{}]}}"#, adds.join(","))).unwrap(); + p.to_str().unwrap().to_owned() + }; + let before = out(&weksa(d.path(), &["inventory", "dump"])); + + let refused = weksa(d.path(), &["inventory", "admit", &draft("over.json", 257)]); + assert!(!refused.status.success(), "{}", out(&refused)); + assert_eq!(before, out(&weksa(d.path(), &["inventory", "dump"]))); + + let admitted = weksa(d.path(), &["inventory", "admit", &draft("cap.json", 256)]); + assert!(admitted.status.success(), "{}", out(&admitted)); + assert!(out(&admitted).contains("admitted rev:2 with 256 entries")); +} diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index cbfb177..18b6c49 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -240,14 +240,15 @@ fn the_first_six_original_items_are_unchanged() { } } -/// Revision 5 of `data/original/inventory.cc` is the original bed's own -/// lexicon: concepts and frames drafted by claude-sonnet-5-5 (Weksa Hands, +/// Revisions 5 and 6 of `data/original/inventory.cc` are the original bed's own +/// lexicon (rev 5, 233 adds; rev 6, five adds for try, someday, a little, as one +/// pleases and the one who flies a kite, same generator): concepts and frames drafted by claude-sonnet-5-5 (Weksa Hands, /// model-drafted original-bed lexicon from Train and Validation passages) so an /// encoder can name baths, kites and persimmons. It is Validation-informed on /// purpose: numbers on this bed measure the lowering half (register, scene, /// ontology), never inventory generalization or convergence; scored runs use /// `data/interlingua`. The Dao De Jing inventory is its revision prefix. -const ORIGINAL_REV5_ADDS: usize = 233; +const ORIGINAL_OWN_ADDS: [usize; 2] = [233, 5]; #[test] fn the_dao_inventory_is_a_prefix_of_the_original_inventory() { @@ -261,8 +262,7 @@ fn the_dao_inventory_is_a_prefix_of_the_original_inventory() { }; let (dao, own) = (open("daodejing"), open("original")); assert_eq!(dao.latest().unwrap().n, 4); - let latest = own.latest().unwrap(); - assert_eq!((latest.n, latest.parent), (5, Some(4))); + assert_eq!(own.latest().unwrap().n, 6); for n in 1..=4 { let revision = |inv: &weksa::Inventory| inv.revisions().find(|r| r.n == n).cloned(); assert_eq!(revision(&dao), revision(&own), "rev {n}"); @@ -272,17 +272,21 @@ fn the_dao_inventory_is_a_prefix_of_the_original_inventory() { assert_eq!(own.entry(&e.id), Some(e), "{}", e.gloss); glosses.insert(e.gloss.clone()); } - assert_eq!(latest.changes.len(), ORIGINAL_REV5_ADDS); - for change in &latest.changes { - let Change::Add(id) = change else { - panic!("rev 5 retires {change:?}"); - }; - let e = own.entry(id).unwrap(); - assert!(matches!(id.family(), Family::Concept | Family::Frame), "{id}"); - assert_eq!(e.introduced_rev, 5, "{id}"); - assert!(glosses.insert(e.gloss.clone()), "{} repeats a gloss", e.gloss); + for (n, expected) in [5u32, 6].into_iter().zip(ORIGINAL_OWN_ADDS) { + let rev = own.revisions().find(|r| r.n == n).unwrap(); + assert_eq!(rev.parent, Some(n - 1), "rev {n}"); + assert_eq!(rev.changes.len(), expected, "rev {n}"); + for change in &rev.changes { + let Change::Add(id) = change else { + panic!("rev {n} retires {change:?}"); + }; + let e = own.entry(id).unwrap(); + assert!(matches!(id.family(), Family::Concept | Family::Frame), "{id}"); + assert_eq!(e.introduced_rev, n, "{id}"); + assert!(glosses.insert(e.gloss.clone()), "{} repeats a gloss", e.gloss); + } } - assert_eq!(own.entries().count(), dao.entries().count() + ORIGINAL_REV5_ADDS); + assert_eq!(own.entries().count(), dao.entries().count() + ORIGINAL_OWN_ADDS.iter().sum::()); } /// The committed seed ontology: every entry model-drafted, exactly the two diff --git a/data/original/inventory.cc b/data/original/inventory.cc index 75fd7ca..7562346 100644 --- a/data/original/inventory.cc +++ b/data/original/inventory.cc @@ -1 +1 @@ -“²cultcache.store.v1’—µweksa.inventory_entryµweksa.inventory_entry¸weksa.inventory_entry.v1µweksa.inventory_entryÙ^{"schemaName":"weksa.inventory_entry","schemaVersion":"weksa.inventory_entry.v1","members":[]}‘µweksa.inventory_entry�—¸weksa.inventory_revision¸weksa.inventory_revision»weksa.inventory_revision.v1¸weksa.inventory_revisionÙd{"schemaName":"weksa.inventory_revision","schemaVersion":"weksa.inventory_revision.v1","members":[]}‘¸weksa.inventory_revision�ÜT”©concept:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:1¨endangerÀ�À”ªconcept:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:10¤willÀ�À”«concept:100µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:100ªpower_lineÀ�À”«concept:101µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:101¤kiteÀ�À”«concept:102µweksa.inventory_entry´2026-11-12T17:45:48ZÄ!–«concept:102¯dried_persimmonÀ�À”«concept:103µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:103¤fishÀ�À”«concept:104µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:104©fish_boneÀ�À”«concept:105µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:105¥plateÀ�À”«concept:106µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:106¤bowlÀ�À”«concept:107µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:107®rice_bowl_dishÀ�À”«concept:108µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:108£jarÀ�À”«concept:109µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:109¥basinÀ�À”ªconcept:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:11¤boneÀ�À”«concept:110µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:110¤wellÀ�À”«concept:111µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:111§lanternÀ�À”«concept:112µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:112¤vaseÀ�À”«concept:113µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:113¥futonÀ�À”«concept:114µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:114¦walletÀ�À”«concept:115µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:115«purse_moneyÀ�À”«concept:116µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:116¨shoppingÀ�À”«concept:117µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:117°late_night_snackÀ�À”«concept:118µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:118­go_board_gameÀ�À”«concept:119µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:119¨festivalÀ�À”ªconcept:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:12¥emptyÀ�À”«concept:120µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:120­festival_drumÀ�À”«concept:121µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:121ªsports_dayÀ�À”«concept:122µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:122­rice_plantingÀ�À”«concept:123µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:123¨paintingÀ�À”«concept:124µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:124¤loomÀ�À”«concept:125µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:125¥breadÀ�À”«concept:126µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:126¤handÀ�À”«concept:127µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:127£armÀ�À”«concept:128µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:128¤footÀ�À”«concept:129µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:129¬sole_of_footÀ�À”ªconcept:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:13¤fillÀ�À”«concept:130µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:130¤bodyÀ�À”«concept:131µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:131¤lifeÀ�À”«concept:132µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:132®heart_feelingsÀ�À”«concept:133µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:133¥smileÀ�À”«concept:134µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:134¥voiceÀ�À”«concept:135µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:135©footstepsÀ�À”«concept:136µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:136¥soundÀ�À”«concept:137µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:137¦hungerÀ�À”«concept:138µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:138§anxietyÀ�À”«concept:139µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:139¨patienceÀ�À”ªconcept:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:14¦weakenÀ�À”«concept:140µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:140°weakness_of_willÀ�À”«concept:141µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:141¬overexertionÀ�À”«concept:142µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–«concept:142±training_practiceÀ�À”«concept:143µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:143¤moodÀ�À”«concept:144µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:144§trembleÀ�À”«concept:145µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:145¨be_lightÀ�À”«concept:146µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:146¬become_lightÀ�À”«concept:147µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:147«become_thinÀ�À”«concept:148µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:148«become_calmÀ�À”«concept:149µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:149¦rippleÀ�À”ªconcept:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:15ªstrengthenÀ�À”«concept:150µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:150©be_hungryÀ�À”«concept:151µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:151¦be_oldÀ�À”«concept:152µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:152§be_wideÀ�À”«concept:153µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:153§be_deepÀ�À”«concept:154µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:154¨be_stillÀ�À”«concept:155µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:155¨be_quietÀ�À”«concept:156µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:156§be_hardÀ�À”«concept:157µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:157©be_strongÀ�À”«concept:158µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:158¨be_youngÀ�À”«concept:159µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:159ªbe_carefulÀ�À”ªconcept:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:16¦heavenÀ�À”«concept:160µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:160ªbe_patientÀ�À”«concept:161µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:161§be_fullÀ�À”«concept:162µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:162¨too_fullÀ�À”«concept:163µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:163§be_darkÀ�À”«concept:164µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:164«be_the_sameÀ�À”«concept:165µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:165©be_louderÀ�À”«concept:166µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:166«be_strongerÀ�À”«concept:167µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:167¬hold_containÀ�À”«concept:168µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:168¥carryÀ�À”«concept:169µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:169¦settleÀ�À”ªconcept:17µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:17¥earthÀ�À”«concept:170µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:170¤riseÀ�À”«concept:171µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:171¥reachÀ�À”«concept:172µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:172¨collapseÀ�À”«concept:173µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:173¥widenÀ�À”«concept:174µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:174¤tearÀ�À”«concept:175µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:175¬know_realizeÀ�À”«concept:176µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:176§believeÀ�À”«concept:177µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:177¥thinkÀ�À”«concept:178µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:178§look_upÀ�À”«concept:179µweksa.inventory_entry´2026-11-12T17:45:48ZÄ$–«concept:179²reflect_in_surfaceÀ�À”ªconcept:18µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªconcept:18°is_long_enduringÀ�À”«concept:180µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:180¥countÀ�À”«concept:181µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:181¦nibbleÀ�À”«concept:182µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:182¤walkÀ�À”«concept:183µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:183«step_firmlyÀ�À”«concept:184µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:184¨fly_kiteÀ�À”«concept:185µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:185¨transmitÀ�À”«concept:186µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:186©say_speakÀ�À”«concept:187µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:187«call_out_toÀ�À”«concept:188µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:188¥laughÀ�À”«concept:189µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:189¤washÀ�À”ªconcept:19µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:19®continues_longÀ�À”«concept:190µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:190¬remove_bonesÀ�À”«concept:191µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:191©put_placeÀ�À”«concept:192µweksa.inventory_entry´2026-11-12T17:45:48ZÄ&–«concept:192´set_down_in_front_ofÀ�À”«concept:193µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:193¨carry_toÀ�À”«concept:194µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:194¥stokeÀ�À”«concept:195µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:195¤foldÀ�À”«concept:196µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:196ªstop_doingÀ�À”«concept:197µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:197¦finishÀ�À”«concept:198µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:198©lose_gameÀ�À”«concept:199µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:199¨dominateÀ�À”©concept:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:2§preventÀ�À”ªconcept:20µweksa.inventory_entry´2026-11-09T10:16:16ZÄ#–ªconcept:20²highest_excellenceÀ�À”«concept:200µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:200¥blameÀ�À”«concept:201µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–«concept:201±hold_back_reserveÀ�À”«concept:202µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:202­confirm_checkÀ�À”«concept:203µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:203¨stack_upÀ�À”«concept:204µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:204¦repeatÀ�À”«concept:205µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:205«offend_moodÀ�À”«concept:206µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:206­keep_maintainÀ�À”«concept:207µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:207¤waitÀ�À”«concept:208µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:208¥sleepÀ�À”«concept:209µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:209£sitÀ�À”ªconcept:21µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:21¥waterÀ�À”«concept:210µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:210¤stayÀ�À”«concept:211µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:211§be_onceÀ�À”«concept:212µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:212¥argueÀ�À”«concept:213µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:213¤wishÀ�À”«concept:214µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:214¤comeÀ�À”«concept:215µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:215¨get_darkÀ�À”«concept:216µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:216¤meltÀ�À”«concept:217µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:217°settle_down_mindÀ�À”«concept:218µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:218£oneÀ�À”«concept:219µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:219£twoÀ�À”ªconcept:22µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:22ªtrue_wordsÀ�À”«concept:220µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:220¥threeÀ�À”«concept:221µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:221¥everyÀ�À”«concept:222µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:222¦nobodyÀ�À”«concept:223µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:223¥againÀ�À”«concept:224µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:224©still_yetÀ�À”«concept:225µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:225¤onlyÀ�À”«concept:226µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:226¦alwaysÀ�À”«concept:227µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:227°little_by_littleÀ�À”«concept:228µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:228©each_timeÀ�À”«concept:229µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:229«for_a_whileÀ�À”ªconcept:23µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªconcept:23°seem_paradoxicalÀ�À”«concept:230µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:230¦gentlyÀ�À”«concept:231µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:231©carefullyÀ�À”«concept:232µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:232¦calmlyÀ�À”«concept:233µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:233¬somehow_veryÀ�À”«concept:234µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:234¦easilyÀ�À”«concept:235µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:235®same_as_beforeÀ�À”«concept:236µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:236¥aboveÀ�À”«concept:237µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:237¥underÀ�À”«concept:238µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:238«in_front_ofÀ�À”«concept:239µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:239¦besideÀ�À”ªconcept:24µweksa.inventory_entry´2026-11-09T10:16:16ZÄ/–ªconcept:24¾space_between_heaven_and_earthÀ�À”«concept:240µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:240¥untilÀ�À”«concept:241µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:241«before_timeÀ�À”«concept:242µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:242¬if_conditionÀ�À”«concept:243µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:243§even_ifÀ�À”«concept:244µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:244«rather_thanÀ�À”«concept:245µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:245«whole_nightÀ�À”«concept:246µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:246«many_peopleÀ�À”«concept:247µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:247¤selfÀ�À”«concept:248µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:248¤yourÀ�À”«concept:249µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:249¢myÀ�À”ªconcept:25µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:25§bellowsÀ�À”«concept:250µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:250¥whereÀ�À”«concept:251µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:251¨how_muchÀ�À”«concept:252µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:252¬sorry_regretÀ�À”ªconcept:26µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:26§compareÀ�À”ªconcept:27µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:27¨resembleÀ�À”ªconcept:28µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:28¦keeperÀ�À”ªconcept:29µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:29ªgrandchildÀ�À”©concept:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:3¦playerÀ�À”ªconcept:30µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:30«grandmotherÀ�À”ªconcept:31µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:31­older_brotherÀ�À”ªconcept:32µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:32¤girlÀ�À”ªconcept:33µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:33ªold_personÀ�À”ªconcept:34µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:34¨landladyÀ�À”ªconcept:35µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:35¦parentÀ�À”ªconcept:36µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:36¥childÀ�À”ªconcept:37µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:37ªkite_makerÀ�À”ªconcept:38µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:38¨gardenerÀ�À”ªconcept:39µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:39¥bakerÀ�À”©concept:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:4§controlÀ�À”ªconcept:40µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:40¨strangerÀ�À”ªconcept:41µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:41¨villagerÀ�À”ªconcept:42µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:42¨passerbyÀ�À”ªconcept:43µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–ªconcept:43²hot_bath_afterglowÀ�À”ªconcept:44µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:44§verandaÀ�À”ªconcept:45µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:45©hot_waterÀ�À”ªconcept:46µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:46¤bathÀ�À”ªconcept:47µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:47§bathtubÀ�À”ªconcept:48µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:48§stopperÀ�À”ªconcept:49µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:49¤snowÀ�À”©concept:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:5©ship_mindÀ�À”ªconcept:50µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:50¨snowmeltÀ�À”ªconcept:51µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:51¤rainÀ�À”ªconcept:52µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:52©long_rainÀ�À”ªconcept:53µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:53©rainwaterÀ�À”ªconcept:54µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:54¤windÀ�À”ªconcept:55µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:55¥frostÀ�À”ªconcept:56µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:56£skyÀ�À”ªconcept:57µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:57­spring_seasonÀ�À”ªconcept:58µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:58¦autumnÀ�À”ªconcept:59µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:59¦winterÀ�À”©concept:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:6§requestÀ�À”ªconcept:60µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:60­season_changeÀ�À”ªconcept:61µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:61ªsunny_spotÀ�À”ªconcept:62µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:62§morningÀ�À”ªconcept:63µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:63¥nightÀ�À”ªconcept:64µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:64£dayÀ�À”ªconcept:65µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:65©yesterdayÀ�À”ªconcept:66µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:66¨tomorrowÀ�À”ªconcept:67µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:67«last_springÀ�À”ªconcept:68µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:68ªthree_daysÀ�À”ªconcept:69µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:69©one_nightÀ�À”©concept:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:7¤sageÀ�À”ªconcept:70µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:70¥riverÀ�À”ªconcept:71µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:71¤bankÀ�À”ªconcept:72µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:72¤rootÀ�À”ªconcept:73µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:73¥fieldÀ�À”ªconcept:74µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:74¥marshÀ�À”ªconcept:75µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:75¥stoneÀ�À”ªconcept:76µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:76­water_surfaceÀ�À”ªconcept:77µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:77£mudÀ�À”ªconcept:78µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:78¥steamÀ�À”ªconcept:79µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:79¨charcoalÀ�À”©concept:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:8¤mindÀ�À”ªconcept:80µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:80­charcoal_baleÀ�À”ªconcept:81µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:81¦hearthÀ�À”ªconcept:82µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:82«hearth_roomÀ�À”ªconcept:83µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:83¦warmthÀ�À”ªconcept:84µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:84¥eavesÀ�À”ªconcept:85µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:85¤roofÀ�À”ªconcept:86µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:86©roof_leakÀ�À”ªconcept:87µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:87¬paper_screenÀ�À”ªconcept:88µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:88¥pasteÀ�À”ªconcept:89µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:89­tear_in_paperÀ�À”©concept:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:9¥bellyÀ�À”ªconcept:90µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:90«window_sideÀ�À”ªconcept:91µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:91­entrance_hallÀ�À”ªconcept:92µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:92©back_doorÀ�À”ªconcept:93µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:93¤doorÀ�À”ªconcept:94µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:94©road_homeÀ�À”ªconcept:95µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:95¦marketÀ�À”ªconcept:96µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:96­market_cornerÀ�À”ªconcept:97µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:97¦streetÀ�À”ªconcept:98µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:98§villageÀ�À”ªconcept:99µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:99®boarding_houseÀ�À”©feature:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ?–©feature:1¨polarity�§Options’¨positive¨negative‘«PredicationÀ”ªfeature:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªfeature:10¤fear¥Grade‘¦StanceÀ”ªfeature:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ$–ªfeature:11§sadness¥Grade‘¦StanceÀ”ªfeature:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ –ªfeature:12£joy¥Grade‘¦StanceÀ”ªfeature:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ$–ªfeature:13§disgust¥Grade‘¦StanceÀ”ªfeature:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ%–ªfeature:14¨surprise¥Grade‘¦StanceÀ”ªfeature:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ%–ªfeature:15¨contempt¥Grade‘¦StanceÀ”ªfeature:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ&–ªfeature:16©affection¥Grade‘¦StanceÀ”ªfeature:17µweksa.inventory_entry´2026-11-09T10:16:16ZÄ"–ªfeature:17¥shame¥Grade‘¦StanceÀ”ªfeature:18µweksa.inventory_entry´2026-11-09T10:16:16ZÄ&–ªfeature:18©restraint¥Grade‘¦StanceÀ”ªfeature:19µweksa.inventory_entry´2026-11-12T16:29:45ZÄA–ªfeature:19¯relative_status�§Options“¥below¥level¥above‘¥SceneÀ”©feature:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄG–©feature:2¥tense�§Options”¤past§present¦future¨timeless‘«PredicationÀ”ªfeature:20µweksa.inventory_entry´2026-11-12T16:29:45ZÄ$–ªfeature:20¨intimacy¥Grade‘¥SceneÀ”ªfeature:21µweksa.inventory_entry´2026-11-12T16:29:45ZÄ#–ªfeature:21¨in_group¤Flag‘¥SceneÀ”ªfeature:22µweksa.inventory_entry´2026-11-12T16:29:45ZÄ4–ªfeature:22¶socioeconomic_standing¥Grade‘§SpeakerÀ”ªfeature:23µweksa.inventory_entry´2026-11-12T16:29:45ZÄ'–ªfeature:23©education¥Grade‘§SpeakerÀ”ªfeature:24µweksa.inventory_entry´2026-11-12T16:29:45ZÄU–ªfeature:24ªage_cohort�§Options•¥childªadolescent«young_adult¥adult¥elder‘§SpeakerÀ”©feature:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ`–©feature:3¦aspect�§Options•ªperfective¬imperfective«progressive¨habitual§perfect‘«PredicationÀ”©feature:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄc–©feature:4¨modality�§Options–¦actual©potential¨possible©necessary§desired©obligated‘«PredicationÀ”©feature:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄS–©feature:5­evidentiality�§Options”¦direct¨inferred¨reported§assumed‘«PredicationÀ”©feature:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ0–©feature:6¥hedge¥Grade’©Discourse«PredicationÀ”©feature:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ4–©feature:7©certainty¥Grade’©Discourse«PredicationÀ”©feature:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ/–©feature:8¥irony¤Flag’©Discourse«PredicationÀ”©feature:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–©feature:9¥anger¥Grade‘¦StanceÀ”§frame:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:1®hazard_warningÀ�À”¨frame:10µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:10ªperceptionÀ�À”¨frame:11µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:11©cognitionÀ�À”¨frame:12µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:12­communicationÀ�À”¨frame:13µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:13¦motionÀ�À”¨frame:14µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:14¨transferÀ�À”¨frame:15µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:15¯change_of_stateÀ�À”¨frame:16µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:16«equivalenceÀ�À”§frame:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:2¬interventionÀ�À”§frame:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ"–§frame:3´request_interventionÀ�À”§frame:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:4£actÀ�À”§frame:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:5¬intransitiveÀ�À”§frame:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:6¨likenessÀ�À”§frame:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:7±seems_paradoxicalÀ�À”§frame:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:8¯may_be_comparedÀ�À”§frame:9µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–§frame:9©placementÀ�À”¯referent_kind:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:1¦personÀ�À”°referent_kind:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–°referent_kind:10¥eventÀ�À”°referent_kind:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–°referent_kind:11¨abstractÀ�À”¯referent_kind:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:2¥groupÀ�À”¯referent_kind:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:3¨organismÀ�À”¯referent_kind:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:4¥placeÀ�À”¯referent_kind:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:5¨artifactÀ�À”¯referent_kind:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–¯referent_kind:6«institutionÀ�À”¯referent_kind:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:7§ecologyÀ�À”¯referent_kind:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:8¥routeÀ�À”¯referent_kind:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:9¦memoryÀ�À”ªrelation:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:1«coreferenceÀ�À”«relation:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:10¨preventsÀ�À”«relation:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:11¤ownsÀ�À”«relation:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:12¤owesÀ�À”«relation:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:13¥knowsÀ�À”«relation:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:14¥namesÀ�À”«relation:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:15ªrepresentsÀ�À”«relation:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ –«relation:16®contrasts_withÀ�À”ªrelation:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:2§part_ofÀ�À”ªrelation:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:3©member_ofÀ�À”ªrelation:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:4ªlocated_atÀ�À”ªrelation:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:5¤nearÀ�À”ªrelation:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:6¦beforeÀ�À”ªrelation:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:7¥afterÀ�À”ªrelation:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:8¦causesÀ�À”ªrelation:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:9§enablesÀ�À”¦role:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:1¥agentÀ�À”¦role:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:2§patientÀ�À”¦role:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:3«experiencerÀ�À”¦role:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:4ªinstrumentÀ�À”¦role:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:5¦sourceÀ�À”¦role:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:6¤goalÀ�À”¦role:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:7¨locationÀ�À”¦role:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:8«beneficiaryÀ�À”¬speech_act:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:1¦assertÀ�À”¬speech_act:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:2£askÀ�À”¬speech_act:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:3§requestÀ�À”¬speech_act:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:4§promiseÀ�À”¬speech_act:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:5¤warnÀ�À”¬speech_act:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:6¥greetÀ�À”¬speech_act:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:7¥thankÀ�À”¬speech_act:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:8©apologiseÀ�À”¥rev:1¸weksa.inventory_revision´2026-11-09T10:16:16ZÅþ”ÀÜ=�£Add¯referent_kind:1�£Add¯referent_kind:2�£Add¯referent_kind:3�£Add¯referent_kind:4�£Add¯referent_kind:5�£Add¯referent_kind:6�£Add¯referent_kind:7�£Add¯referent_kind:8�£Add¯referent_kind:9�£Add°referent_kind:10�£Add°referent_kind:11�£Addªrelation:1�£Addªrelation:2�£Addªrelation:3�£Addªrelation:4�£Addªrelation:5�£Addªrelation:6�£Addªrelation:7�£Addªrelation:8�£Addªrelation:9�£Add«relation:10�£Add«relation:11�£Add«relation:12�£Add«relation:13�£Add«relation:14�£Add«relation:15�£Add«relation:16�£Add¦role:1�£Add¦role:2�£Add¦role:3�£Add¦role:4�£Add¦role:5�£Add¦role:6�£Add¦role:7�£Add¦role:8�£Add¬speech_act:1�£Add¬speech_act:2�£Add¬speech_act:3�£Add¬speech_act:4�£Add¬speech_act:5�£Add¬speech_act:6�£Add¬speech_act:7�£Add¬speech_act:8�£Add©feature:1�£Add©feature:2�£Add©feature:3�£Add©feature:4�£Add©feature:5�£Add©feature:6�£Add©feature:7�£Add©feature:8�£Add©feature:9�£Addªfeature:10�£Addªfeature:11�£Addªfeature:12�£Addªfeature:13�£Addªfeature:14�£Addªfeature:15�£Addªfeature:16�£Addªfeature:17�£Addªfeature:18”¥rev:2¸weksa.inventory_revision´2026-11-09T10:16:16ZĆ”™�£Add©concept:1�£Add©concept:2�£Add©concept:3�£Add©concept:4�£Add©concept:5�£Add©concept:6�£Add§frame:1�£Add§frame:2�£Add§frame:3”¥rev:3¸weksa.inventory_revision´2026-11-09T10:16:16ZÅ•”Ü�£Add©concept:7�£Add©concept:8�£Add©concept:9�£Addªconcept:10�£Addªconcept:11�£Addªconcept:12�£Addªconcept:13�£Addªconcept:14�£Addªconcept:15�£Addªconcept:16�£Addªconcept:17�£Addªconcept:18�£Addªconcept:19�£Addªconcept:20�£Addªconcept:21�£Addªconcept:22�£Addªconcept:23�£Addªconcept:24�£Addªconcept:25�£Addªconcept:26�£Addªconcept:27�£Add§frame:4�£Add§frame:5�£Add§frame:6�£Add§frame:7�£Add§frame:8”¥rev:4¸weksa.inventory_revision´2026-11-12T16:29:45ZÄe”–�£Addªfeature:19�£Addªfeature:20�£Addªfeature:21�£Addªfeature:22�£Addªfeature:23�£Addªfeature:24”¥rev:5¸weksa.inventory_revision´2026-11-12T17:45:48ZÅ”Üé�£Add§frame:9�£Add¨frame:10�£Add¨frame:11�£Add¨frame:12�£Add¨frame:13�£Add¨frame:14�£Add¨frame:15�£Add¨frame:16�£Addªconcept:28�£Addªconcept:29�£Addªconcept:30�£Addªconcept:31�£Addªconcept:32�£Addªconcept:33�£Addªconcept:34�£Addªconcept:35�£Addªconcept:36�£Addªconcept:37�£Addªconcept:38�£Addªconcept:39�£Addªconcept:40�£Addªconcept:41�£Addªconcept:42�£Addªconcept:43�£Addªconcept:44�£Addªconcept:45�£Addªconcept:46�£Addªconcept:47�£Addªconcept:48�£Addªconcept:49�£Addªconcept:50�£Addªconcept:51�£Addªconcept:52�£Addªconcept:53�£Addªconcept:54�£Addªconcept:55�£Addªconcept:56�£Addªconcept:57�£Addªconcept:58�£Addªconcept:59�£Addªconcept:60�£Addªconcept:61�£Addªconcept:62�£Addªconcept:63�£Addªconcept:64�£Addªconcept:65�£Addªconcept:66�£Addªconcept:67�£Addªconcept:68�£Addªconcept:69�£Addªconcept:70�£Addªconcept:71�£Addªconcept:72�£Addªconcept:73�£Addªconcept:74�£Addªconcept:75�£Addªconcept:76�£Addªconcept:77�£Addªconcept:78�£Addªconcept:79�£Addªconcept:80�£Addªconcept:81�£Addªconcept:82�£Addªconcept:83�£Addªconcept:84�£Addªconcept:85�£Addªconcept:86�£Addªconcept:87�£Addªconcept:88�£Addªconcept:89�£Addªconcept:90�£Addªconcept:91�£Addªconcept:92�£Addªconcept:93�£Addªconcept:94�£Addªconcept:95�£Addªconcept:96�£Addªconcept:97�£Addªconcept:98�£Addªconcept:99�£Add«concept:100�£Add«concept:101�£Add«concept:102�£Add«concept:103�£Add«concept:104�£Add«concept:105�£Add«concept:106�£Add«concept:107�£Add«concept:108�£Add«concept:109�£Add«concept:110�£Add«concept:111�£Add«concept:112�£Add«concept:113�£Add«concept:114�£Add«concept:115�£Add«concept:116�£Add«concept:117�£Add«concept:118�£Add«concept:119�£Add«concept:120�£Add«concept:121�£Add«concept:122�£Add«concept:123�£Add«concept:124�£Add«concept:125�£Add«concept:126�£Add«concept:127�£Add«concept:128�£Add«concept:129�£Add«concept:130�£Add«concept:131�£Add«concept:132�£Add«concept:133�£Add«concept:134�£Add«concept:135�£Add«concept:136�£Add«concept:137�£Add«concept:138�£Add«concept:139�£Add«concept:140�£Add«concept:141�£Add«concept:142�£Add«concept:143�£Add«concept:144�£Add«concept:145�£Add«concept:146�£Add«concept:147�£Add«concept:148�£Add«concept:149�£Add«concept:150�£Add«concept:151�£Add«concept:152�£Add«concept:153�£Add«concept:154�£Add«concept:155�£Add«concept:156�£Add«concept:157�£Add«concept:158�£Add«concept:159�£Add«concept:160�£Add«concept:161�£Add«concept:162�£Add«concept:163�£Add«concept:164�£Add«concept:165�£Add«concept:166�£Add«concept:167�£Add«concept:168�£Add«concept:169�£Add«concept:170�£Add«concept:171�£Add«concept:172�£Add«concept:173�£Add«concept:174�£Add«concept:175�£Add«concept:176�£Add«concept:177�£Add«concept:178�£Add«concept:179�£Add«concept:180�£Add«concept:181�£Add«concept:182�£Add«concept:183�£Add«concept:184�£Add«concept:185�£Add«concept:186�£Add«concept:187�£Add«concept:188�£Add«concept:189�£Add«concept:190�£Add«concept:191�£Add«concept:192�£Add«concept:193�£Add«concept:194�£Add«concept:195�£Add«concept:196�£Add«concept:197�£Add«concept:198�£Add«concept:199�£Add«concept:200�£Add«concept:201�£Add«concept:202�£Add«concept:203�£Add«concept:204�£Add«concept:205�£Add«concept:206�£Add«concept:207�£Add«concept:208�£Add«concept:209�£Add«concept:210�£Add«concept:211�£Add«concept:212�£Add«concept:213�£Add«concept:214�£Add«concept:215�£Add«concept:216�£Add«concept:217�£Add«concept:218�£Add«concept:219�£Add«concept:220�£Add«concept:221�£Add«concept:222�£Add«concept:223�£Add«concept:224�£Add«concept:225�£Add«concept:226�£Add«concept:227�£Add«concept:228�£Add«concept:229�£Add«concept:230�£Add«concept:231�£Add«concept:232�£Add«concept:233�£Add«concept:234�£Add«concept:235�£Add«concept:236�£Add«concept:237�£Add«concept:238�£Add«concept:239�£Add«concept:240�£Add«concept:241�£Add«concept:242�£Add«concept:243�£Add«concept:244�£Add«concept:245�£Add«concept:246�£Add«concept:247�£Add«concept:248�£Add«concept:249�£Add«concept:250�£Add«concept:251�£Add«concept:252 \ No newline at end of file +“²cultcache.store.v1’—µweksa.inventory_entryµweksa.inventory_entry¸weksa.inventory_entry.v1µweksa.inventory_entryÙ^{"schemaName":"weksa.inventory_entry","schemaVersion":"weksa.inventory_entry.v1","members":[]}‘µweksa.inventory_entry�—¸weksa.inventory_revision¸weksa.inventory_revision»weksa.inventory_revision.v1¸weksa.inventory_revisionÙd{"schemaName":"weksa.inventory_revision","schemaVersion":"weksa.inventory_revision.v1","members":[]}‘¸weksa.inventory_revision�ÜZ”©concept:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:1¨endangerÀ�À”ªconcept:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:10¤willÀ�À”«concept:100µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:100ªpower_lineÀ�À”«concept:101µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:101¤kiteÀ�À”«concept:102µweksa.inventory_entry´2026-11-12T17:45:48ZÄ!–«concept:102¯dried_persimmonÀ�À”«concept:103µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:103¤fishÀ�À”«concept:104µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:104©fish_boneÀ�À”«concept:105µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:105¥plateÀ�À”«concept:106µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:106¤bowlÀ�À”«concept:107µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:107®rice_bowl_dishÀ�À”«concept:108µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:108£jarÀ�À”«concept:109µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:109¥basinÀ�À”ªconcept:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:11¤boneÀ�À”«concept:110µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:110¤wellÀ�À”«concept:111µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:111§lanternÀ�À”«concept:112µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:112¤vaseÀ�À”«concept:113µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:113¥futonÀ�À”«concept:114µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:114¦walletÀ�À”«concept:115µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:115«purse_moneyÀ�À”«concept:116µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:116¨shoppingÀ�À”«concept:117µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:117°late_night_snackÀ�À”«concept:118µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:118­go_board_gameÀ�À”«concept:119µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:119¨festivalÀ�À”ªconcept:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:12¥emptyÀ�À”«concept:120µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:120­festival_drumÀ�À”«concept:121µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:121ªsports_dayÀ�À”«concept:122µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:122­rice_plantingÀ�À”«concept:123µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:123¨paintingÀ�À”«concept:124µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:124¤loomÀ�À”«concept:125µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:125¥breadÀ�À”«concept:126µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:126¤handÀ�À”«concept:127µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:127£armÀ�À”«concept:128µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:128¤footÀ�À”«concept:129µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:129¬sole_of_footÀ�À”ªconcept:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:13¤fillÀ�À”«concept:130µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:130¤bodyÀ�À”«concept:131µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:131¤lifeÀ�À”«concept:132µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:132®heart_feelingsÀ�À”«concept:133µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:133¥smileÀ�À”«concept:134µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:134¥voiceÀ�À”«concept:135µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:135©footstepsÀ�À”«concept:136µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:136¥soundÀ�À”«concept:137µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:137¦hungerÀ�À”«concept:138µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:138§anxietyÀ�À”«concept:139µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:139¨patienceÀ�À”ªconcept:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:14¦weakenÀ�À”«concept:140µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:140°weakness_of_willÀ�À”«concept:141µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:141¬overexertionÀ�À”«concept:142µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–«concept:142±training_practiceÀ�À”«concept:143µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:143¤moodÀ�À”«concept:144µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:144§trembleÀ�À”«concept:145µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:145¨be_lightÀ�À”«concept:146µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:146¬become_lightÀ�À”«concept:147µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:147«become_thinÀ�À”«concept:148µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:148«become_calmÀ�À”«concept:149µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:149¦rippleÀ�À”ªconcept:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:15ªstrengthenÀ�À”«concept:150µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:150©be_hungryÀ�À”«concept:151µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:151¦be_oldÀ�À”«concept:152µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:152§be_wideÀ�À”«concept:153µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:153§be_deepÀ�À”«concept:154µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:154¨be_stillÀ�À”«concept:155µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:155¨be_quietÀ�À”«concept:156µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:156§be_hardÀ�À”«concept:157µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:157©be_strongÀ�À”«concept:158µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:158¨be_youngÀ�À”«concept:159µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:159ªbe_carefulÀ�À”ªconcept:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:16¦heavenÀ�À”«concept:160µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:160ªbe_patientÀ�À”«concept:161µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:161§be_fullÀ�À”«concept:162µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:162¨too_fullÀ�À”«concept:163µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:163§be_darkÀ�À”«concept:164µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:164«be_the_sameÀ�À”«concept:165µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:165©be_louderÀ�À”«concept:166µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:166«be_strongerÀ�À”«concept:167µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:167¬hold_containÀ�À”«concept:168µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:168¥carryÀ�À”«concept:169µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:169¦settleÀ�À”ªconcept:17µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:17¥earthÀ�À”«concept:170µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:170¤riseÀ�À”«concept:171µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:171¥reachÀ�À”«concept:172µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:172¨collapseÀ�À”«concept:173µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:173¥widenÀ�À”«concept:174µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:174¤tearÀ�À”«concept:175µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:175¬know_realizeÀ�À”«concept:176µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:176§believeÀ�À”«concept:177µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:177¥thinkÀ�À”«concept:178µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:178§look_upÀ�À”«concept:179µweksa.inventory_entry´2026-11-12T17:45:48ZÄ$–«concept:179²reflect_in_surfaceÀ�À”ªconcept:18µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªconcept:18°is_long_enduringÀ�À”«concept:180µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:180¥countÀ�À”«concept:181µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:181¦nibbleÀ�À”«concept:182µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:182¤walkÀ�À”«concept:183µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:183«step_firmlyÀ�À”«concept:184µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:184¨fly_kiteÀ�À”«concept:185µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:185¨transmitÀ�À”«concept:186µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:186©say_speakÀ�À”«concept:187µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:187«call_out_toÀ�À”«concept:188µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:188¥laughÀ�À”«concept:189µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:189¤washÀ�À”ªconcept:19µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:19®continues_longÀ�À”«concept:190µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:190¬remove_bonesÀ�À”«concept:191µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:191©put_placeÀ�À”«concept:192µweksa.inventory_entry´2026-11-12T17:45:48ZÄ&–«concept:192´set_down_in_front_ofÀ�À”«concept:193µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:193¨carry_toÀ�À”«concept:194µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:194¥stokeÀ�À”«concept:195µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:195¤foldÀ�À”«concept:196µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:196ªstop_doingÀ�À”«concept:197µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:197¦finishÀ�À”«concept:198µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:198©lose_gameÀ�À”«concept:199µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:199¨dominateÀ�À”©concept:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:2§preventÀ�À”ªconcept:20µweksa.inventory_entry´2026-11-09T10:16:16ZÄ#–ªconcept:20²highest_excellenceÀ�À”«concept:200µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:200¥blameÀ�À”«concept:201µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–«concept:201±hold_back_reserveÀ�À”«concept:202µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:202­confirm_checkÀ�À”«concept:203µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:203¨stack_upÀ�À”«concept:204µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:204¦repeatÀ�À”«concept:205µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:205«offend_moodÀ�À”«concept:206µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:206­keep_maintainÀ�À”«concept:207µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:207¤waitÀ�À”«concept:208µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:208¥sleepÀ�À”«concept:209µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:209£sitÀ�À”ªconcept:21µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:21¥waterÀ�À”«concept:210µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:210¤stayÀ�À”«concept:211µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:211§be_onceÀ�À”«concept:212µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:212¥argueÀ�À”«concept:213µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:213¤wishÀ�À”«concept:214µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:214¤comeÀ�À”«concept:215µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:215¨get_darkÀ�À”«concept:216µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:216¤meltÀ�À”«concept:217µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:217°settle_down_mindÀ�À”«concept:218µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:218£oneÀ�À”«concept:219µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:219£twoÀ�À”ªconcept:22µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:22ªtrue_wordsÀ�À”«concept:220µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:220¥threeÀ�À”«concept:221µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:221¥everyÀ�À”«concept:222µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:222¦nobodyÀ�À”«concept:223µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:223¥againÀ�À”«concept:224µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:224©still_yetÀ�À”«concept:225µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:225¤onlyÀ�À”«concept:226µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:226¦alwaysÀ�À”«concept:227µweksa.inventory_entry´2026-11-12T17:45:48ZÄ"–«concept:227°little_by_littleÀ�À”«concept:228µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:228©each_timeÀ�À”«concept:229µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:229«for_a_whileÀ�À”ªconcept:23µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªconcept:23°seem_paradoxicalÀ�À”«concept:230µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:230¦gentlyÀ�À”«concept:231µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:231©carefullyÀ�À”«concept:232µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:232¦calmlyÀ�À”«concept:233µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:233¬somehow_veryÀ�À”«concept:234µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:234¦easilyÀ�À”«concept:235µweksa.inventory_entry´2026-11-12T17:45:48ZÄ –«concept:235®same_as_beforeÀ�À”«concept:236µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:236¥aboveÀ�À”«concept:237µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:237¥underÀ�À”«concept:238µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:238«in_front_ofÀ�À”«concept:239µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:239¦besideÀ�À”ªconcept:24µweksa.inventory_entry´2026-11-09T10:16:16ZÄ/–ªconcept:24¾space_between_heaven_and_earthÀ�À”«concept:240µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:240¥untilÀ�À”«concept:241µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:241«before_timeÀ�À”«concept:242µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:242¬if_conditionÀ�À”«concept:243µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:243§even_ifÀ�À”«concept:244µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:244«rather_thanÀ�À”«concept:245µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:245«whole_nightÀ�À”«concept:246µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:246«many_peopleÀ�À”«concept:247µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:247¤selfÀ�À”«concept:248µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:248¤yourÀ�À”«concept:249µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:249¢myÀ�À”ªconcept:25µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:25§bellowsÀ�À”«concept:250µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:250¥whereÀ�À”«concept:251µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:251¨how_muchÀ�À”«concept:252µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–«concept:252¬sorry_regretÀ�À”«concept:253µweksa.inventory_entry´2026-11-12T18:13:13ZÄ–«concept:253«try_attemptÀ�À”«concept:254µweksa.inventory_entry´2026-11-12T18:13:13ZÄ–«concept:254§somedayÀ�À”«concept:255µweksa.inventory_entry´2026-11-12T18:13:13ZÄ–«concept:255¨a_littleÀ�À”«concept:256µweksa.inventory_entry´2026-11-12T18:13:13ZÄ –«concept:256®as_one_pleasesÀ�À”«concept:257µweksa.inventory_entry´2026-11-12T18:13:13ZÄ–«concept:257ªkite_flyerÀ�À”ªconcept:26µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:26§compareÀ�À”ªconcept:27µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªconcept:27¨resembleÀ�À”ªconcept:28µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:28¦keeperÀ�À”ªconcept:29µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:29ªgrandchildÀ�À”©concept:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:3¦playerÀ�À”ªconcept:30µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:30«grandmotherÀ�À”ªconcept:31µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:31­older_brotherÀ�À”ªconcept:32µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:32¤girlÀ�À”ªconcept:33µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:33ªold_personÀ�À”ªconcept:34µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:34¨landladyÀ�À”ªconcept:35µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:35¦parentÀ�À”ªconcept:36µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:36¥childÀ�À”ªconcept:37µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:37ªkite_makerÀ�À”ªconcept:38µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:38¨gardenerÀ�À”ªconcept:39µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:39¥bakerÀ�À”©concept:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:4§controlÀ�À”ªconcept:40µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:40¨strangerÀ�À”ªconcept:41µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:41¨villagerÀ�À”ªconcept:42µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:42¨passerbyÀ�À”ªconcept:43µweksa.inventory_entry´2026-11-12T17:45:48ZÄ#–ªconcept:43²hot_bath_afterglowÀ�À”ªconcept:44µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:44§verandaÀ�À”ªconcept:45µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:45©hot_waterÀ�À”ªconcept:46µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:46¤bathÀ�À”ªconcept:47µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:47§bathtubÀ�À”ªconcept:48µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:48§stopperÀ�À”ªconcept:49µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:49¤snowÀ�À”©concept:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:5©ship_mindÀ�À”ªconcept:50µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:50¨snowmeltÀ�À”ªconcept:51µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:51¤rainÀ�À”ªconcept:52µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:52©long_rainÀ�À”ªconcept:53µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:53©rainwaterÀ�À”ªconcept:54µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:54¤windÀ�À”ªconcept:55µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:55¥frostÀ�À”ªconcept:56µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:56£skyÀ�À”ªconcept:57µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:57­spring_seasonÀ�À”ªconcept:58µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:58¦autumnÀ�À”ªconcept:59µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:59¦winterÀ�À”©concept:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:6§requestÀ�À”ªconcept:60µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:60­season_changeÀ�À”ªconcept:61µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:61ªsunny_spotÀ�À”ªconcept:62µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:62§morningÀ�À”ªconcept:63µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:63¥nightÀ�À”ªconcept:64µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:64£dayÀ�À”ªconcept:65µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:65©yesterdayÀ�À”ªconcept:66µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:66¨tomorrowÀ�À”ªconcept:67µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:67«last_springÀ�À”ªconcept:68µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:68ªthree_daysÀ�À”ªconcept:69µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:69©one_nightÀ�À”©concept:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:7¤sageÀ�À”ªconcept:70µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:70¥riverÀ�À”ªconcept:71µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:71¤bankÀ�À”ªconcept:72µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:72¤rootÀ�À”ªconcept:73µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:73¥fieldÀ�À”ªconcept:74µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:74¥marshÀ�À”ªconcept:75µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:75¥stoneÀ�À”ªconcept:76µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:76­water_surfaceÀ�À”ªconcept:77µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:77£mudÀ�À”ªconcept:78µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:78¥steamÀ�À”ªconcept:79µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:79¨charcoalÀ�À”©concept:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:8¤mindÀ�À”ªconcept:80µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:80­charcoal_baleÀ�À”ªconcept:81µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:81¦hearthÀ�À”ªconcept:82µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:82«hearth_roomÀ�À”ªconcept:83µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:83¦warmthÀ�À”ªconcept:84µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:84¥eavesÀ�À”ªconcept:85µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:85¤roofÀ�À”ªconcept:86µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:86©roof_leakÀ�À”ªconcept:87µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:87¬paper_screenÀ�À”ªconcept:88µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:88¥pasteÀ�À”ªconcept:89µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:89­tear_in_paperÀ�À”©concept:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–©concept:9¥bellyÀ�À”ªconcept:90µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:90«window_sideÀ�À”ªconcept:91µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:91­entrance_hallÀ�À”ªconcept:92µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:92©back_doorÀ�À”ªconcept:93µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:93¤doorÀ�À”ªconcept:94µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:94©road_homeÀ�À”ªconcept:95µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:95¦marketÀ�À”ªconcept:96µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:96­market_cornerÀ�À”ªconcept:97µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:97¦streetÀ�À”ªconcept:98µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:98§villageÀ�À”ªconcept:99µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–ªconcept:99®boarding_houseÀ�À”©feature:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ?–©feature:1¨polarity�§Options’¨positive¨negative‘«PredicationÀ”ªfeature:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–ªfeature:10¤fear¥Grade‘¦StanceÀ”ªfeature:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ$–ªfeature:11§sadness¥Grade‘¦StanceÀ”ªfeature:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ –ªfeature:12£joy¥Grade‘¦StanceÀ”ªfeature:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ$–ªfeature:13§disgust¥Grade‘¦StanceÀ”ªfeature:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ%–ªfeature:14¨surprise¥Grade‘¦StanceÀ”ªfeature:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ%–ªfeature:15¨contempt¥Grade‘¦StanceÀ”ªfeature:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ&–ªfeature:16©affection¥Grade‘¦StanceÀ”ªfeature:17µweksa.inventory_entry´2026-11-09T10:16:16ZÄ"–ªfeature:17¥shame¥Grade‘¦StanceÀ”ªfeature:18µweksa.inventory_entry´2026-11-09T10:16:16ZÄ&–ªfeature:18©restraint¥Grade‘¦StanceÀ”ªfeature:19µweksa.inventory_entry´2026-11-12T16:29:45ZÄA–ªfeature:19¯relative_status�§Options“¥below¥level¥above‘¥SceneÀ”©feature:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄG–©feature:2¥tense�§Options”¤past§present¦future¨timeless‘«PredicationÀ”ªfeature:20µweksa.inventory_entry´2026-11-12T16:29:45ZÄ$–ªfeature:20¨intimacy¥Grade‘¥SceneÀ”ªfeature:21µweksa.inventory_entry´2026-11-12T16:29:45ZÄ#–ªfeature:21¨in_group¤Flag‘¥SceneÀ”ªfeature:22µweksa.inventory_entry´2026-11-12T16:29:45ZÄ4–ªfeature:22¶socioeconomic_standing¥Grade‘§SpeakerÀ”ªfeature:23µweksa.inventory_entry´2026-11-12T16:29:45ZÄ'–ªfeature:23©education¥Grade‘§SpeakerÀ”ªfeature:24µweksa.inventory_entry´2026-11-12T16:29:45ZÄU–ªfeature:24ªage_cohort�§Options•¥childªadolescent«young_adult¥adult¥elder‘§SpeakerÀ”©feature:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ`–©feature:3¦aspect�§Options•ªperfective¬imperfective«progressive¨habitual§perfect‘«PredicationÀ”©feature:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄc–©feature:4¨modality�§Options–¦actual©potential¨possible©necessary§desired©obligated‘«PredicationÀ”©feature:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄS–©feature:5­evidentiality�§Options”¦direct¨inferred¨reported§assumed‘«PredicationÀ”©feature:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ0–©feature:6¥hedge¥Grade’©Discourse«PredicationÀ”©feature:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ4–©feature:7©certainty¥Grade’©Discourse«PredicationÀ”©feature:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ/–©feature:8¥irony¤Flag’©Discourse«PredicationÀ”©feature:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–©feature:9¥anger¥Grade‘¦StanceÀ”§frame:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:1®hazard_warningÀ�À”¨frame:10µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:10ªperceptionÀ�À”¨frame:11µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:11©cognitionÀ�À”¨frame:12µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:12­communicationÀ�À”¨frame:13µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:13¦motionÀ�À”¨frame:14µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:14¨transferÀ�À”¨frame:15µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:15¯change_of_stateÀ�À”¨frame:16µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–¨frame:16«equivalenceÀ�À”§frame:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:2¬interventionÀ�À”§frame:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ"–§frame:3´request_interventionÀ�À”§frame:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:4£actÀ�À”§frame:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:5¬intransitiveÀ�À”§frame:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:6¨likenessÀ�À”§frame:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:7±seems_paradoxicalÀ�À”§frame:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–§frame:8¯may_be_comparedÀ�À”§frame:9µweksa.inventory_entry´2026-11-12T17:45:48ZÄ–§frame:9©placementÀ�À”¯referent_kind:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:1¦personÀ�À”°referent_kind:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–°referent_kind:10¥eventÀ�À”°referent_kind:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–°referent_kind:11¨abstractÀ�À”¯referent_kind:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:2¥groupÀ�À”¯referent_kind:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:3¨organismÀ�À”¯referent_kind:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:4¥placeÀ�À”¯referent_kind:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:5¨artifactÀ�À”¯referent_kind:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ!–¯referent_kind:6«institutionÀ�À”¯referent_kind:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:7§ecologyÀ�À”¯referent_kind:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:8¥routeÀ�À”¯referent_kind:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¯referent_kind:9¦memoryÀ�À”ªrelation:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:1«coreferenceÀ�À”«relation:10µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:10¨preventsÀ�À”«relation:11µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:11¤ownsÀ�À”«relation:12µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:12¤owesÀ�À”«relation:13µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:13¥knowsÀ�À”«relation:14µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:14¥namesÀ�À”«relation:15µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–«relation:15ªrepresentsÀ�À”«relation:16µweksa.inventory_entry´2026-11-09T10:16:16ZÄ –«relation:16®contrasts_withÀ�À”ªrelation:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:2§part_ofÀ�À”ªrelation:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:3©member_ofÀ�À”ªrelation:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:4ªlocated_atÀ�À”ªrelation:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:5¤nearÀ�À”ªrelation:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:6¦beforeÀ�À”ªrelation:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:7¥afterÀ�À”ªrelation:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:8¦causesÀ�À”ªrelation:9µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–ªrelation:9§enablesÀ�À”¦role:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:1¥agentÀ�À”¦role:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:2§patientÀ�À”¦role:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:3«experiencerÀ�À”¦role:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:4ªinstrumentÀ�À”¦role:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:5¦sourceÀ�À”¦role:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:6¤goalÀ�À”¦role:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:7¨locationÀ�À”¦role:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¦role:8«beneficiaryÀ�À”¬speech_act:1µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:1¦assertÀ�À”¬speech_act:2µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:2£askÀ�À”¬speech_act:3µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:3§requestÀ�À”¬speech_act:4µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:4§promiseÀ�À”¬speech_act:5µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:5¤warnÀ�À”¬speech_act:6µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:6¥greetÀ�À”¬speech_act:7µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:7¥thankÀ�À”¬speech_act:8µweksa.inventory_entry´2026-11-09T10:16:16ZÄ–¬speech_act:8©apologiseÀ�À”¥rev:1¸weksa.inventory_revision´2026-11-09T10:16:16ZÅþ”ÀÜ=�£Add¯referent_kind:1�£Add¯referent_kind:2�£Add¯referent_kind:3�£Add¯referent_kind:4�£Add¯referent_kind:5�£Add¯referent_kind:6�£Add¯referent_kind:7�£Add¯referent_kind:8�£Add¯referent_kind:9�£Add°referent_kind:10�£Add°referent_kind:11�£Addªrelation:1�£Addªrelation:2�£Addªrelation:3�£Addªrelation:4�£Addªrelation:5�£Addªrelation:6�£Addªrelation:7�£Addªrelation:8�£Addªrelation:9�£Add«relation:10�£Add«relation:11�£Add«relation:12�£Add«relation:13�£Add«relation:14�£Add«relation:15�£Add«relation:16�£Add¦role:1�£Add¦role:2�£Add¦role:3�£Add¦role:4�£Add¦role:5�£Add¦role:6�£Add¦role:7�£Add¦role:8�£Add¬speech_act:1�£Add¬speech_act:2�£Add¬speech_act:3�£Add¬speech_act:4�£Add¬speech_act:5�£Add¬speech_act:6�£Add¬speech_act:7�£Add¬speech_act:8�£Add©feature:1�£Add©feature:2�£Add©feature:3�£Add©feature:4�£Add©feature:5�£Add©feature:6�£Add©feature:7�£Add©feature:8�£Add©feature:9�£Addªfeature:10�£Addªfeature:11�£Addªfeature:12�£Addªfeature:13�£Addªfeature:14�£Addªfeature:15�£Addªfeature:16�£Addªfeature:17�£Addªfeature:18”¥rev:2¸weksa.inventory_revision´2026-11-09T10:16:16ZĆ”™�£Add©concept:1�£Add©concept:2�£Add©concept:3�£Add©concept:4�£Add©concept:5�£Add©concept:6�£Add§frame:1�£Add§frame:2�£Add§frame:3”¥rev:3¸weksa.inventory_revision´2026-11-09T10:16:16ZÅ•”Ü�£Add©concept:7�£Add©concept:8�£Add©concept:9�£Addªconcept:10�£Addªconcept:11�£Addªconcept:12�£Addªconcept:13�£Addªconcept:14�£Addªconcept:15�£Addªconcept:16�£Addªconcept:17�£Addªconcept:18�£Addªconcept:19�£Addªconcept:20�£Addªconcept:21�£Addªconcept:22�£Addªconcept:23�£Addªconcept:24�£Addªconcept:25�£Addªconcept:26�£Addªconcept:27�£Add§frame:4�£Add§frame:5�£Add§frame:6�£Add§frame:7�£Add§frame:8”¥rev:4¸weksa.inventory_revision´2026-11-12T16:29:45ZÄe”–�£Addªfeature:19�£Addªfeature:20�£Addªfeature:21�£Addªfeature:22�£Addªfeature:23�£Addªfeature:24”¥rev:5¸weksa.inventory_revision´2026-11-12T17:45:48ZÅ”Üé�£Add§frame:9�£Add¨frame:10�£Add¨frame:11�£Add¨frame:12�£Add¨frame:13�£Add¨frame:14�£Add¨frame:15�£Add¨frame:16�£Addªconcept:28�£Addªconcept:29�£Addªconcept:30�£Addªconcept:31�£Addªconcept:32�£Addªconcept:33�£Addªconcept:34�£Addªconcept:35�£Addªconcept:36�£Addªconcept:37�£Addªconcept:38�£Addªconcept:39�£Addªconcept:40�£Addªconcept:41�£Addªconcept:42�£Addªconcept:43�£Addªconcept:44�£Addªconcept:45�£Addªconcept:46�£Addªconcept:47�£Addªconcept:48�£Addªconcept:49�£Addªconcept:50�£Addªconcept:51�£Addªconcept:52�£Addªconcept:53�£Addªconcept:54�£Addªconcept:55�£Addªconcept:56�£Addªconcept:57�£Addªconcept:58�£Addªconcept:59�£Addªconcept:60�£Addªconcept:61�£Addªconcept:62�£Addªconcept:63�£Addªconcept:64�£Addªconcept:65�£Addªconcept:66�£Addªconcept:67�£Addªconcept:68�£Addªconcept:69�£Addªconcept:70�£Addªconcept:71�£Addªconcept:72�£Addªconcept:73�£Addªconcept:74�£Addªconcept:75�£Addªconcept:76�£Addªconcept:77�£Addªconcept:78�£Addªconcept:79�£Addªconcept:80�£Addªconcept:81�£Addªconcept:82�£Addªconcept:83�£Addªconcept:84�£Addªconcept:85�£Addªconcept:86�£Addªconcept:87�£Addªconcept:88�£Addªconcept:89�£Addªconcept:90�£Addªconcept:91�£Addªconcept:92�£Addªconcept:93�£Addªconcept:94�£Addªconcept:95�£Addªconcept:96�£Addªconcept:97�£Addªconcept:98�£Addªconcept:99�£Add«concept:100�£Add«concept:101�£Add«concept:102�£Add«concept:103�£Add«concept:104�£Add«concept:105�£Add«concept:106�£Add«concept:107�£Add«concept:108�£Add«concept:109�£Add«concept:110�£Add«concept:111�£Add«concept:112�£Add«concept:113�£Add«concept:114�£Add«concept:115�£Add«concept:116�£Add«concept:117�£Add«concept:118�£Add«concept:119�£Add«concept:120�£Add«concept:121�£Add«concept:122�£Add«concept:123�£Add«concept:124�£Add«concept:125�£Add«concept:126�£Add«concept:127�£Add«concept:128�£Add«concept:129�£Add«concept:130�£Add«concept:131�£Add«concept:132�£Add«concept:133�£Add«concept:134�£Add«concept:135�£Add«concept:136�£Add«concept:137�£Add«concept:138�£Add«concept:139�£Add«concept:140�£Add«concept:141�£Add«concept:142�£Add«concept:143�£Add«concept:144�£Add«concept:145�£Add«concept:146�£Add«concept:147�£Add«concept:148�£Add«concept:149�£Add«concept:150�£Add«concept:151�£Add«concept:152�£Add«concept:153�£Add«concept:154�£Add«concept:155�£Add«concept:156�£Add«concept:157�£Add«concept:158�£Add«concept:159�£Add«concept:160�£Add«concept:161�£Add«concept:162�£Add«concept:163�£Add«concept:164�£Add«concept:165�£Add«concept:166�£Add«concept:167�£Add«concept:168�£Add«concept:169�£Add«concept:170�£Add«concept:171�£Add«concept:172�£Add«concept:173�£Add«concept:174�£Add«concept:175�£Add«concept:176�£Add«concept:177�£Add«concept:178�£Add«concept:179�£Add«concept:180�£Add«concept:181�£Add«concept:182�£Add«concept:183�£Add«concept:184�£Add«concept:185�£Add«concept:186�£Add«concept:187�£Add«concept:188�£Add«concept:189�£Add«concept:190�£Add«concept:191�£Add«concept:192�£Add«concept:193�£Add«concept:194�£Add«concept:195�£Add«concept:196�£Add«concept:197�£Add«concept:198�£Add«concept:199�£Add«concept:200�£Add«concept:201�£Add«concept:202�£Add«concept:203�£Add«concept:204�£Add«concept:205�£Add«concept:206�£Add«concept:207�£Add«concept:208�£Add«concept:209�£Add«concept:210�£Add«concept:211�£Add«concept:212�£Add«concept:213�£Add«concept:214�£Add«concept:215�£Add«concept:216�£Add«concept:217�£Add«concept:218�£Add«concept:219�£Add«concept:220�£Add«concept:221�£Add«concept:222�£Add«concept:223�£Add«concept:224�£Add«concept:225�£Add«concept:226�£Add«concept:227�£Add«concept:228�£Add«concept:229�£Add«concept:230�£Add«concept:231�£Add«concept:232�£Add«concept:233�£Add«concept:234�£Add«concept:235�£Add«concept:236�£Add«concept:237�£Add«concept:238�£Add«concept:239�£Add«concept:240�£Add«concept:241�£Add«concept:242�£Add«concept:243�£Add«concept:244�£Add«concept:245�£Add«concept:246�£Add«concept:247�£Add«concept:248�£Add«concept:249�£Add«concept:250�£Add«concept:251�£Add«concept:252”¥rev:6¸weksa.inventory_revision´2026-11-12T18:13:13ZÄZ”•�£Add«concept:253�£Add«concept:254�£Add«concept:255�£Add«concept:256�£Add«concept:257 \ No newline at end of file diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index 7301adc..5d3719a 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -31,7 +31,7 @@ means no store holds it and nothing writes it. |---|---|---|---| | Packet | Key `packet:<16 hex>`, an opaque digest of item, inventory revision and encoder (the item key lives in `provenance.corpus_item`, which the lowerer never sees); CultCache type `weksa.interlingua_packet`, carrying `schema_version` and `inventory_rev`. Every id inside is an opaque form type (`n` nodes, `encoder:<16 hex>`, canonical `:`). From cut `speaker-state` (schema v4) it also carries the utterance **stance**: the speaker's felt affect and restraint, as inventory features of slot `Stance` (see Speaker state below) | Minted by an encoder for one corpus item under one spec version; immutable; a new spec version means a new packet, never an edit. Admitted only through `PacketStore::admit`, which validates against the inventory store at the packet's revision | The encoder writes; the form types refuse malformed ids at construction and load, the validator refuses broken references and over-capacity packets: a feature at most once per slot, at most 64 nodes (`typed-packet`); nothing else writes packets | | Schema version | `weksa.interlingua_packet.v` constant in `crates/weksa`; published JSON Schema at `schemas/cultnet/` | Bumped by a commit that changes the Rust types; the published schema is regenerated in the same commit and a test fails on drift | A cut (Hands, under a spec); never the loop | -| Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` rev 5 (233 concepts and frames) was drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Admission checks form, not text | +| Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | | Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`) | @@ -321,7 +321,7 @@ line two", "ã��ã�®ã€€åˆ¶å¾¡" against the `TestReadings::at_checkpoint` take minted text as `&[&str]` and have no caller outside tests: no round reads glosses or any minted text against Validation. `data/daodejing/inventory.cc` is a revision prefix of - `data/original/inventory.cc` (revisions 1 to 4 equal, a test proves it; rev 5 adds the bed's own lexicon); with `data/interlingua/inventory.cc` they share revision 1, + `data/original/inventory.cc` (revisions 1 to 4 equal, a test proves it; revs 5 and 6 add the bed's own lexicon); with `data/interlingua/inventory.cc` they share revision 1, where features 6 to 8 (hedge, certainty grades, irony flag) sit in `Discourse` and `Predication` and features 9 to 18 (anger to restraint, grades) in `Stance`. `PROMPT_SOURCE_DIGEST` covers `context.rs`, `split.rs`, From 07c2755b95fcd04a74f4f9a6e3f3ede7ca334f71 Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 18:48:40 +0000 Subject: [PATCH 03/42] ja-item19: encoder prompt states one role per predication and the group shape for coordination (#56) --- crates/weksa/src/context.rs | 2 +- crates/weksa/src/encode.rs | 33 +++++++++++++++++++++++++++++++++ docs/interlingua-standard.md | 4 ++++ 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/crates/weksa/src/context.rs b/crates/weksa/src/context.rs index 3dec960..70d875a 100644 --- a/crates/weksa/src/context.rs +++ b/crates/weksa/src/context.rs @@ -64,7 +64,7 @@ Fields: - predications: a list of {id, concept, frame, roles, features}; roles is a list of {role, filler}, filler a node id. - relations: a list of {relation, from, to, features}. - stance: {features}; the speaker's felt affect and restraint, never the affect the line displays. -Node ids are n1, n2, and so on, one per referent and predication. Every other id comes from the inventory listed below and must be live at its revision. Write each id in full, exactly as the inventory lines spell it, family prefix included: concept:7, never 7. An entity comes only from the entities line. A referent's concept is never null, even when it carries an entity: give the nearest concept id. Participants and audience list the node ids of referents, never an entity id: an entity speaker is a referent whose entity field holds it, and participants lists that referent's node id. +Node ids are n1, n2, and so on, one per referent and predication. Every other id comes from the inventory listed below and must be live at its revision. Write each id in full, exactly as the inventory lines spell it, family prefix included: concept:7, never 7. An entity comes only from the entities line. A referent's concept is never null, even when it carries an entity: give the nearest concept id. Participants and audience list the node ids of referents, never an entity id: an entity speaker is a referent whose entity field holds it, and participants lists that referent's node id. A predication holds each role at most once, and a feature list each feature at most once: two or more fillers of one role are one referent of kind group that fills the role, and each member is related to it by a member_of relation from the member to the group. A feature is {feature, value}; value is {\"Grade\": 0 to 1000}, {\"Option\": label} or {\"Flag\": true or false}, as the inventory lists the feature's kind."; /// The instructions a lowering prompt starts with: the lowerer's whole brief. diff --git a/crates/weksa/src/encode.rs b/crates/weksa/src/encode.rs index d6b22db..1ddabd3 100644 --- a/crates/weksa/src/encode.rs +++ b/crates/weksa/src/encode.rs @@ -474,6 +474,39 @@ mod tests { assert_eq!(PacketDraft::of(&made), draft); } + #[test] + fn coordinated_fillers_admit_as_one_group_referent() { + use crate::store::InventoryStore; + use crate::validate::{Refusal, validate}; + // Item original-ja:19 as measure-ja-2 recorded it: two patients, one role twice. + const REFUSED: &str = r#"{"confidence":720,"context":{"setting":null,"medium":null,"participants":["n1"],"audience":["n1"]},"discourse":{"speech_act":"speech_act:3","addressee":null,"addressee_consent":null,"features":[]},"referents":[{"id":"n1","kind":"referent_kind:1","concept":"concept:28","entity":"entity:keeper","features":[]},{"id":"n2","kind":"referent_kind:1","concept":"concept:31","entity":null,"features":[]},{"id":"n3","kind":"referent_kind:5","concept":"concept:123","entity":null,"features":[]},{"id":"n4","kind":"referent_kind:5","concept":"concept:123","entity":null,"features":[]}],"predications":[{"id":"n5","concept":"concept:26","frame":"frame:4","roles":[{"role":"role:1","filler":"n1"},{"role":"role:2","filler":"n3"},{"role":"role:2","filler":"n4"}],"features":[{"feature":"feature:1","value":{"Option":"positive"}},{"feature":"feature:2","value":{"Option":"present"}},{"feature":"feature:3","value":{"Option":"habitual"}}]},{"id":"n6","concept":"concept:196","frame":"frame:4","roles":[{"role":"role:1","filler":"n1"},{"role":"role:2","filler":"n5"}],"features":[{"feature":"feature:1","value":{"Option":"positive"}},{"feature":"feature:2","value":{"Option":"future"}},{"feature":"feature:4","value":{"Option":"desired"}}]}],"relations":[{"relation":"relation:11","from":"n2","to":"n3","features":[]},{"relation":"relation:11","from":"n1","to":"n4","features":[]}],"stance":{"features":[{"feature":"feature:18","value":{"Grade":600}},{"feature":"feature:11","value":{"Grade":450}},{"feature":"feature:17","value":{"Grade":250}}]}}"#; + const PRESCRIBED: &str = r#"{"confidence":720,"context":{"setting":null,"medium":null,"participants":["n1"],"audience":["n1"]},"discourse":{"speech_act":"speech_act:3","addressee":null,"addressee_consent":null,"features":[]},"referents":[{"id":"n1","kind":"referent_kind:1","concept":"concept:28","entity":"entity:keeper","features":[]},{"id":"n2","kind":"referent_kind:1","concept":"concept:31","entity":null,"features":[]},{"id":"n3","kind":"referent_kind:5","concept":"concept:123","entity":null,"features":[]},{"id":"n4","kind":"referent_kind:5","concept":"concept:123","entity":null,"features":[]},{"id":"n7","kind":"referent_kind:2","concept":"concept:123","entity":null,"features":[]}],"predications":[{"id":"n5","concept":"concept:26","frame":"frame:4","roles":[{"role":"role:1","filler":"n1"},{"role":"role:2","filler":"n7"}],"features":[{"feature":"feature:1","value":{"Option":"positive"}},{"feature":"feature:2","value":{"Option":"present"}},{"feature":"feature:3","value":{"Option":"habitual"}}]},{"id":"n6","concept":"concept:196","frame":"frame:4","roles":[{"role":"role:1","filler":"n1"},{"role":"role:2","filler":"n5"}],"features":[{"feature":"feature:1","value":{"Option":"positive"}},{"feature":"feature:2","value":{"Option":"future"}},{"feature":"feature:4","value":{"Option":"desired"}}]}],"relations":[{"relation":"relation:11","from":"n2","to":"n3","features":[]},{"relation":"relation:11","from":"n1","to":"n4","features":[]},{"relation":"relation:3","from":"n3","to":"n7","features":[]},{"relation":"relation:3","from":"n4","to":"n7","features":[]}],"stance":{"features":[{"feature":"feature:18","value":{"Grade":600}},{"feature":"feature:11","value":{"Grade":450}},{"feature":"feature:17","value":{"Grade":250}}]}}"#; + let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR")) + .join("../../data/original/inventory.cc"); + let inventory = InventoryStore::open(&path).unwrap().inventory().unwrap(); + let item = CorpusItemId::parse("item:original-ja:19").unwrap(); + let encoder = encoder_id("m", "d"); + let packet = |answer: &str| { + PacketDraft::parse(answer) + .unwrap() + .into_packet(&item, 6, &encoder) + }; + assert_eq!( + validate(&packet(REFUSED), &inventory), + Err(vec![Refusal::V11DuplicateRole { + role: "role:2".parse().unwrap(), + predication: "n5".parse().unwrap(), + }]) + ); + assert_eq!(validate(&packet(PRESCRIBED), &inventory), Ok(())); + // The prompt names the shape the packet above admits, by gloss. + let gloss = |id: &str| inventory.entry(&id.parse().unwrap()).unwrap().gloss.clone(); + assert_eq!(gloss("referent_kind:2"), "group"); + assert_eq!(gloss("relation:3"), "member_of"); + let prompt = crate::context::ENCODE_INSTRUCTIONS; + assert!(prompt.contains("member_of") && prompt.contains("group")); + } + #[test] fn lowering_draft_parse() { let draft = LoweringDraft::parse("\n {\"text\":\"a\"} \n").unwrap(); diff --git a/docs/interlingua-standard.md b/docs/interlingua-standard.md index 548862c..f8e7937 100644 --- a/docs/interlingua-standard.md +++ b/docs/interlingua-standard.md @@ -252,6 +252,10 @@ pair a role id with a filler node (the inventory seeds `agent`, `patient`, aspect, polarity, modality and evidentiality are features with declared option sets, not fields. +A predication holds each role once (V11). Coordinated fillers ("A and B") are +one `group` referent filling the role, each member related to it by `member_of`, +from the member to the group. + ### `relations` Edges not owned by one predication. `relation` is a relation id (the inventory From 40469430b9c5a3f8322ee76bbb837ffe575efe65 Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 19:17:39 +0000 Subject: [PATCH 04/42] ja-withdraw-scene-entries: withdraw onto:ja-JP:14 and :15 (net-negative on register in the paired measure) (#57) --- README.md | 6 +++++- crates/weksa/tests/original_corpus.rs | 17 ++++++++++++++--- data/ontology/ontology.cc | Bin 12856 -> 11710 bytes docs/targets/interlingua-lowering-map.md | 2 +- 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 091bcd6..6702748 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,11 @@ The language ontology is `data/ontology/ontology.cc` (read it with reads for a stance, a discourse and a scene relation. Only an entry with a Scene condition names an address or politeness level; the relation, from `data/original/speaker-state.cc`, picks it. Its en-US and ja-JP entries and the keeper scenes are model-drafted or model-annotated, never Test evidence. Nothing yet grows them from accepted -rounds; until that mint exists they change only by a new `weksa ontology admit`. +rounds; until that mint exists they change only by a new `weksa ontology admit`. ja-JP holds Scene entries `onto:ja-JP:10` to `:13`. It holds none for an above-status out-group +addressee, and none for an above-status in-group addressee below intimacy 700 (`:12` still selects +an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status +cases were withdrawn: a paired measure found they made the lowerer match the reference register less +often, and they stay out until a native reader attests them. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 18b6c49..75b44e9 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -1006,15 +1006,26 @@ fn scene_entries_never_co_select_in_a_layer() { ); } } - // An above, out-group speaker is told by exactly one ja-JP - // Scene-conditioned grammar entry, at every intimacy. + // An above, out-group speaker is told by no ja-JP Scene-conditioned + // grammar entry, at every intimacy: the ja entry that did + // (onto:ja-JP:15) is withdrawn pending native-reader attestation. if (st, ig) == ("above", false) { let told = entries .iter() .filter(|e| e.language == "ja-JP" && e.layer.name() == "grammar") .filter(|e| e.when.iter().any(|c| c.slot == Slot::Scene) && selects(e, rel)) .count(); - assert_eq!(told, 1, "{rel:?}"); + assert_eq!(told, 0, "{rel:?}"); + } + // onto:ja-JP:14's relation (above, in-group, intimacy 600) selects + // no ja-JP Scene entry in any layer: :12 needs intimacy 700. + if (st, ig, it) == ("above", true, 600) { + let told = entries + .iter() + .filter(|e| e.language == "ja-JP") + .filter(|e| e.when.iter().any(|c| c.slot == Slot::Scene) && selects(e, rel)) + .count(); + assert_eq!(told, 0, "{rel:?}"); } } } diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index d2e0911754f1fd10dd3575d323abb50c34b69b03..5e7919a7d0786dd5b84ccb75ef2b01542728a879 100644 GIT binary patch delta 368 zcmdmyvM+kV6Go|tPYu{DtW1H(WU~yT6C<3H%H+ZX=WJl{M{wBKxey$2&VL9!GTd?q zjw25nLYW_*FQX9Do~WaY6K5<<&C?AHp4_kHxcMD_B|=x8peKT}PpAOFF%`Lp;P8sA zL2wR;mmoOSl9C8(qosKfoP60^2xS5CuNfzARn>=k@wKWuLe^6KE`lSgnSkK5Xx&6` XQgosaoTIw62#%-zJOt;RffpkHuTfv> delta 1035 zcmZXT+e=hI9LL#3c2o0KqDWrGTZ^`)k|C@`7(rxKMlYccHSHO9kGnf(JLjyMMCh!N z8DiRymj^4$OW92j!dh6P@G+{lHVBMa*R1}AXpWbihu-FM<~zSR^ZCt0+Lol@m??i` zt;SmKsI7I>9$L&d9XBNanNOG#u#j|4fW?|3AUFB1Sd*VxD4=n-Ma0ggpAj>UGFAlO ztWyFad;9_pXMYipmh)V|yIfsBLtdWPr)^)F0HxrYh_w{`Hqq5x7FtwfHPz7{fK^Q`=}B|V=$hxwyN+fW9*USOj*FPpn5rAMrp-S4Bz|GD4?;$Ada zLaGB`1!xNPAlaoDhxQ=cq41%u1fePc-Hm`()^voCYTrC6&nGOlL!a!Gp(^WL##$L~ z)&!bcQFX3OY5?6v0d1=pHVwFCmz#G*)A^)~UBCysjC7DM1wl8|fvf=uIr*PSMnR}~ z42jV)MkX0~84JJWD%R(?%fYo<)A7+4jEphDB~EZz(VCx&{qfNW7P`BmEy9kHIYyqX z^}pRr&T@y0JWTkF78_kLS}?%N$0w(@c8G;%VoSGqkY<+I=&wC&j&8 xF8OZaeb{`V{HEHs`;bH%vnv+AmK_kul>Jcwzih1nPFLIz@Tu~?0NvhX`UhK;jzItb diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index 5d3719a..46c1435 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -34,7 +34,7 @@ means no store holds it and nothing writes it. | Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`) | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`) | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From 981ad0ea1fccae41d384411ec270ef2c2e14a647 Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 19:52:14 +0000 Subject: [PATCH 05/42] ja-seed-pairs: ja-JP :5/:7/:8 get certainty and restraint bounds (AtMostOrUnset) so the seed pairs never co-select (#58) --- README.md | 1 + crates/weksa/src/ontology.rs | 43 ++++++++- crates/weksa/src/store.rs | 2 +- crates/weksa/tests/original_corpus.rs | 89 ++++++++++++++++++ data/ontology/ontology.cc | Bin 11710 -> 11945 bytes docs/targets/interlingua-lowering-map.md | 2 +- .../cultnet/weksa.ontology_entry.schema.json | 13 +++ 7 files changed, 143 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6702748..3b02136 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ addressee, and none for an above-status in-group addressee below intimacy 700 (` an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status cases were withdrawn: a paired measure found they made the lowerer match the reference register less often, and they stay out until a native reader attests them. +ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/crates/weksa/src/ontology.rs b/crates/weksa/src/ontology.rs index 5919588..154c562 100644 --- a/crates/weksa/src/ontology.rs +++ b/crates/weksa/src/ontology.rs @@ -49,6 +49,10 @@ pub enum Test { AtLeast(Grade), AtMost(Grade), Is(FeatValue), + /// Holds when the feature is absent or a grade at most `g`: a bound that + /// costs nothing where the feature is unrated. `AtMost` still fails on an + /// absent feature. + AtMostOrUnset(Grade), } /// One feature of one slot of the view, tested. `Stance`, `Discourse` and @@ -61,13 +65,15 @@ pub struct Condition { } impl Condition { - fn holds(&self, features: &[FeatureValue]) -> bool { + /// Whether this condition holds over a slot's feature values: the one + /// evaluator `select` and the corpus tests share. + pub fn holds(&self, features: &[FeatureValue]) -> bool { let Some(found) = features.iter().find(|f| f.feature == self.feature) else { - return false; + return matches!(self.test, Test::AtMostOrUnset(_)); }; match (&self.test, &found.value) { (Test::AtLeast(g), FeatValue::Grade(v)) => v >= g, - (Test::AtMost(g), FeatValue::Grade(v)) => v <= g, + (Test::AtMost(g) | Test::AtMostOrUnset(g), FeatValue::Grade(v)) => v <= g, (Test::Is(want), v) => want == v, _ => false, } @@ -78,7 +84,7 @@ impl Condition { FeatureValue { feature: self.feature, value: match &self.test { - Test::AtLeast(g) | Test::AtMost(g) => FeatValue::Grade(*g), + Test::AtLeast(g) | Test::AtMost(g) | Test::AtMostOrUnset(g) => FeatValue::Grade(*g), Test::Is(v) => v.clone(), }, } @@ -153,7 +159,7 @@ impl Ontology { /// The entries of exactly `language` whose every condition holds against the /// view's stance, discourse and scene-relation features (the scene's only when /// `with_scene` selected a relation), in `n` order. An absent feature meets no -/// condition. Nothing else of the view is read. +/// condition except `AtMostOrUnset`. Nothing else of the view is read. pub fn select<'a>( o: &'a Ontology, language: &str, @@ -172,3 +178,30 @@ pub fn select<'a>( }) .collect() } + +#[cfg(test)] +mod tests { + use super::*; + + fn cond(test: Test) -> Condition { + Condition { slot: Slot::Discourse, feature: InvId::parse("feature:7").unwrap(), test } + } + fn has(v: FeatValue) -> Vec { + vec![FeatureValue { feature: InvId::parse("feature:7").unwrap(), value: v }] + } + fn grade(g: u16) -> Grade { + Grade::new(g).unwrap() + } + + #[test] + fn at_most_or_unset_holds_when_absent_or_at_most_and_nothing_else() { + let c = cond(Test::AtMostOrUnset(grade(799))); + assert!(c.holds(&[])); + assert!(c.holds(&has(FeatValue::Grade(grade(799))))); + assert!(c.holds(&has(FeatValue::Grade(grade(0))))); + assert!(!c.holds(&has(FeatValue::Grade(grade(800))))); + assert!(!c.holds(&has(FeatValue::Flag(true)))); + // AtMost keeps its meaning: an absent feature fails it. + assert!(!cond(Test::AtMost(grade(799))).holds(&[])); + } +} diff --git a/crates/weksa/src/store.rs b/crates/weksa/src/store.rs index 7408dce..b0b83a9 100644 --- a/crates/weksa/src/store.rs +++ b/crates/weksa/src/store.rs @@ -1287,7 +1287,7 @@ impl OntologyStore { /// The rules of one ontology entry against an inventory: the annotator, the /// bounded and normalized text of the choice and examples, the condition count /// and each condition's feature (slot `Stance`, `Discourse` or `Scene`, a grade -/// feature for `AtLeast` and `AtMost`, an option or flag value for `Is`) read at +/// feature for `AtLeast`, `AtMost` and `AtMostOrUnset`, an option or flag value for `Is`) read at /// `rev`. The store passes the entry's own `inventory_rev` on admission; a run /// passes its inventory's head, because beds number revisions independently. pub(crate) fn check_ontology_entry( diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 75b44e9..715233c 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -313,6 +313,7 @@ fn committed_ontology_is_model_drafted_and_reads_every_inventory() { "claude-sonnet-5-5 (Weksa Hands, model-drafted seed ontology)", "claude-sonnet-5-5 (Weksa Hands, model-drafted scene ontology)", "claude-sonnet-5-5 (Weksa Hands, reworded seed entry)", + "claude-sonnet-5-5 (Weksa Hands, conditioned seed entry)", ] .contains(&generator.as_str()), "{}", @@ -960,6 +961,94 @@ fn committed_scenes_cover_original_groups() { } } +/// ja-JP seed entries :4 to :8 over the stance and discourse grades that bear on +/// them (hedge, certainty, sadness, affection, restraint, each also ABSENT): +/// the pairs that gave opposed instructions (hedge against certainty, +/// particles, final force) never hold together; and each of :5, :7, :8 still +/// fires where it should (hedged at certainty 700-799, affection with certainty +/// or restraint unrated), so a tightened bound does not pass as a disjoint one. +#[test] +fn ja_seed_pairs_never_co_select() { + use weksa::inventory::Slot; + use weksa::ontology::{Condition, Test}; + use weksa::OntologyStore; + let data = Path::new(env!("CARGO_MANIFEST_DIR")).join("../../data"); + let tmp = tempfile::tempdir().unwrap(); + let onto = tmp.path().join("ontology.cc"); + std::fs::copy(data.join("ontology/ontology.cc"), &onto).unwrap(); + let inv = InventoryStore::open(&data.join("original/inventory.cc")).unwrap().inventory().unwrap(); + let id = |gloss: &str| inv.entries().find(|e| e.gloss == gloss).unwrap().id; + let feats = [id("hedge"), id("certainty"), id("sadness"), id("affection"), id("restraint")]; + let entries = OntologyStore::open(&onto).unwrap().all().unwrap(); + let ja = |n: u32| { + entries + .iter() + .find(|e| e.language == "ja-JP" && e.n == n) + .unwrap_or_else(|| panic!("onto:ja-JP:{n} is absent")) + }; + type Point = [Option; 5]; + // The production evaluator over the slot's feature values: absent features + // are left out of the list, as a view leaves them out. + let holds = |e: &weksa::OntologyEntry, point: &Point| { + use weksa::packet::{FeatValue, FeatureValue, Grade}; + e.when.iter().all(|c: &Condition| { + assert!(matches!(c.slot, Slot::Stance | Slot::Discourse), "{}", e.key()); + assert!( + matches!(c.test, Test::AtLeast(_) | Test::AtMost(_) | Test::AtMostOrUnset(_)), + "{}", + e.key() + ); + let values: Vec = feats + .iter() + .zip(point) + .filter_map(|(f, v)| { + v.map(|v| FeatureValue { feature: *f, value: FeatValue::Grade(Grade::new(v).unwrap()) }) + }) + .collect(); + assert!(feats.contains(&c.feature), "{} reads a feature this test does not sweep", e.key()); + c.holds(&values) + }) + }; + let grid = [None, Some(0u16), Some(300), Some(500), Some(599), Some(600), Some(700), Some(799), Some(800), Some(1000)]; + let pairs = [(5, 6), (4, 7), (6, 7), (6, 8)]; + for p in 0..grid.len().pow(5) { + let point: Point = std::array::from_fn(|i| grid[p / grid.len().pow(i as u32) % grid.len()]); + for (a, b) in pairs { + assert!( + !(holds(ja(a), &point) && holds(ja(b), &point)), + "onto:ja-JP:{a} and :{b} co-select at (hedge, certainty, sadness, affection, restraint) = {point:?}" + ); + } + } + // Reach: each entry fires at its witnesses and not just outside its core. + let (n, s) = (None, Some); + let fires: [(u32, Point); 9] = [ + (5, [s(600), n, n, n, n]), + (5, [s(700), s(799), n, n, n]), + (5, [s(700), n, n, n, n]), + (7, [n, s(799), n, s(700), s(599)]), + (7, [n, n, n, s(700), n]), + (7, [s(1000), s(0), s(1000), s(600), s(0)]), + (8, [n, s(799), s(700), n, s(700)]), + (8, [n, n, s(600), n, s(600)]), + (6, [n, s(800), n, n, n]), + ]; + for (e, point) in fires { + assert!(holds(ja(e), &point), "onto:ja-JP:{e} does not fire at {point:?}"); + } + let silent: [(u32, Point); 6] = [ + (8, [n, n, s(599), n, s(700)]), + (8, [n, n, n, n, s(700)]), + (5, [s(599), n, n, n, n]), + (7, [n, n, n, s(599), n]), + (7, [n, n, n, s(700), s(600)]), + (8, [n, n, s(600), n, s(599)]), + ]; + for (e, point) in silent { + assert!(!holds(ja(e), &point), "onto:ja-JP:{e} fires at {point:?}"); + } +} + /// The committed ontology's Scene-conditioned entries, over every scene relation /// (relative_status x in_group x intimacy in steps of 50): two entries of one /// language and layer are never selected by the same relation, so the ontology diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index 5e7919a7d0786dd5b84ccb75ef2b01542728a879..a6d2edd0651d0eeceee77f2cd666baa3aa0ba92d 100644 GIT binary patch delta 622 zcmdlNy)t%#C?mV2m9epvvEgPJMkfR(mC1z(F0+BfAHiW`=R$DAIsYN_$Z*RcIF3AQ z2xWeJz6hB`{6`U-JV8$cXP;03f@3Oj5y9aVTZ7;n5HCS+tR*E8_C!nbA~^Z7w-Cw# z2B``a05+52!1{1NoJD6r(J{sy$Gv*cq4mq*i1C^-Z3fsA)J^LR(D`%?74$ wyw*>iqR delta 450 zcmZ1(yDxf!C?mUtl_?OJY?fhkLU2-2^AnXrXm*+9A2?C2+jfV5(LLuQW9ZLv@|b*lP`M?oo+`K>1V=KCrtj6w(nOQ8xTujO~# z+^?p=IC-9`)8s$u%JAS)(}+Sg(G#kH9cZG>WP7a(U=1PK%JK+9v!H4?7+1Pv7ANPI g78R#XntV=Ee)3jr=gEdT`@wolbrF`t>v}N)05#ovoB#j- diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index 46c1435..b436b3b 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -34,7 +34,7 @@ means no store holds it and nothing writes it. | Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`) | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8` | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | diff --git a/schemas/cultnet/weksa.ontology_entry.schema.json b/schemas/cultnet/weksa.ontology_entry.schema.json index 8e0529b..4d086d7 100644 --- a/schemas/cultnet/weksa.ontology_entry.schema.json +++ b/schemas/cultnet/weksa.ontology_entry.schema.json @@ -257,6 +257,19 @@ "required": [ "Is" ] + }, + { + "description": "Holds when the feature is absent or a grade at most `g`: a bound that\ncosts nothing where the feature is unrated. `AtMost` still fails on an\nabsent feature.", + "type": "object", + "properties": { + "AtMostOrUnset": { + "$ref": "#/$defs/Grade" + } + }, + "additionalProperties": false, + "required": [ + "AtMostOrUnset" + ] } ] } From ccef7a761f9606154828ca4192409644b7ad1f05 Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 20:18:45 +0000 Subject: [PATCH 06/42] en-us-seed-pairs: en-US :3/:5/:6 made disjoint by conditions, shared sweep helper (#59) --- README.md | 2 +- crates/weksa/tests/original_corpus.rs | 141 ++++++++++++++++------- data/ontology/ontology.cc | Bin 11945 -> 12164 bytes docs/targets/interlingua-lowering-map.md | 2 +- 4 files changed, 100 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 3b02136..24b3b8c 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ addressee, and none for an above-status in-group addressee below intimacy 700 (` an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status cases were withdrawn: a paired measure found they made the lowerer match the reference register less often, and they stay out until a native reader attests them. -ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. +ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds and `:5` (hedging) an `AtMostOrUnset` certainty bound, so `:3`/`:5`, `:3`/`:8` and `:5`/`:6` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 715233c..de6c0bb 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -961,14 +961,18 @@ fn committed_scenes_cover_original_groups() { } } -/// ja-JP seed entries :4 to :8 over the stance and discourse grades that bear on -/// them (hedge, certainty, sadness, affection, restraint, each also ABSENT): -/// the pairs that gave opposed instructions (hedge against certainty, -/// particles, final force) never hold together; and each of :5, :7, :8 still -/// fires where it should (hedged at certainty 700-799, affection with certainty -/// or restraint unrated), so a tightened bound does not pass as a disjoint one. -#[test] -fn ja_seed_pairs_never_co_select() { +/// The sweep both seed-pair tests share: over a grid of grades per feature (each +/// also ABSENT) and the production `Condition::holds`, no listed pair of one +/// language's entries co-holds; and each witness entry fires where it should and +/// stays silent where it should, so a tightened or dropped bound does not pass +/// as a disjoint one. `glosses` names the swept features, in point order. +fn sweep_seed_pairs( + language: &str, + glosses: [&str; N], + pairs: &[(u32, u32)], + fires: &[(u32, [Option; N])], + silent: &[(u32, [Option; N])], +) { use weksa::inventory::Slot; use weksa::ontology::{Condition, Test}; use weksa::OntologyStore; @@ -978,18 +982,18 @@ fn ja_seed_pairs_never_co_select() { std::fs::copy(data.join("ontology/ontology.cc"), &onto).unwrap(); let inv = InventoryStore::open(&data.join("original/inventory.cc")).unwrap().inventory().unwrap(); let id = |gloss: &str| inv.entries().find(|e| e.gloss == gloss).unwrap().id; - let feats = [id("hedge"), id("certainty"), id("sadness"), id("affection"), id("restraint")]; + let feats = glosses.map(id); let entries = OntologyStore::open(&onto).unwrap().all().unwrap(); - let ja = |n: u32| { + let entry = |n: u32| { entries .iter() - .find(|e| e.language == "ja-JP" && e.n == n) - .unwrap_or_else(|| panic!("onto:ja-JP:{n} is absent")) + .find(|e| e.language == language && e.n == n) + .unwrap_or_else(|| panic!("onto:{language}:{n} is absent")) }; - type Point = [Option; 5]; + type Point = [Option; N]; // The production evaluator over the slot's feature values: absent features // are left out of the list, as a view leaves them out. - let holds = |e: &weksa::OntologyEntry, point: &Point| { + let holds = |e: &weksa::OntologyEntry, point: &Point| { use weksa::packet::{FeatValue, FeatureValue, Grade}; e.when.iter().all(|c: &Condition| { assert!(matches!(c.slot, Slot::Stance | Slot::Discourse), "{}", e.key()); @@ -1010,45 +1014,96 @@ fn ja_seed_pairs_never_co_select() { }) }; let grid = [None, Some(0u16), Some(300), Some(500), Some(599), Some(600), Some(700), Some(799), Some(800), Some(1000)]; - let pairs = [(5, 6), (4, 7), (6, 7), (6, 8)]; - for p in 0..grid.len().pow(5) { - let point: Point = std::array::from_fn(|i| grid[p / grid.len().pow(i as u32) % grid.len()]); - for (a, b) in pairs { + for p in 0..grid.len().pow(N as u32) { + let point: Point = std::array::from_fn(|i| grid[p / grid.len().pow(i as u32) % grid.len()]); + for &(a, b) in pairs { assert!( - !(holds(ja(a), &point) && holds(ja(b), &point)), - "onto:ja-JP:{a} and :{b} co-select at (hedge, certainty, sadness, affection, restraint) = {point:?}" + !(holds(entry(a), &point) && holds(entry(b), &point)), + "onto:{language}:{a} and :{b} co-select at {glosses:?} = {point:?}" ); } } - // Reach: each entry fires at its witnesses and not just outside its core. - let (n, s) = (None, Some); - let fires: [(u32, Point); 9] = [ - (5, [s(600), n, n, n, n]), - (5, [s(700), s(799), n, n, n]), - (5, [s(700), n, n, n, n]), - (7, [n, s(799), n, s(700), s(599)]), - (7, [n, n, n, s(700), n]), - (7, [s(1000), s(0), s(1000), s(600), s(0)]), - (8, [n, s(799), s(700), n, s(700)]), - (8, [n, n, s(600), n, s(600)]), - (6, [n, s(800), n, n, n]), - ]; for (e, point) in fires { - assert!(holds(ja(e), &point), "onto:ja-JP:{e} does not fire at {point:?}"); + assert!(holds(entry(*e), point), "onto:{language}:{e} does not fire at {point:?}"); } - let silent: [(u32, Point); 6] = [ - (8, [n, n, s(599), n, s(700)]), - (8, [n, n, n, n, s(700)]), - (5, [s(599), n, n, n, n]), - (7, [n, n, n, s(599), n]), - (7, [n, n, n, s(700), s(600)]), - (8, [n, n, s(600), n, s(599)]), - ]; for (e, point) in silent { - assert!(!holds(ja(e), &point), "onto:ja-JP:{e} fires at {point:?}"); + assert!(!holds(entry(*e), point), "onto:{language}:{e} fires at {point:?}"); } } +/// ja-JP seed entries :4 to :8 over the stance and discourse grades that bear on +/// them (hedge, certainty, sadness, affection, restraint): the pairs that gave +/// opposed instructions (hedge against certainty, particles, final force) never +/// hold together; and each of :5, :7, :8 still fires where it should (hedged at +/// certainty 700-799, affection with certainty or restraint unrated). +#[test] +fn ja_seed_pairs_never_co_select() { + let (n, s) = (None, Some); + sweep_seed_pairs( + "ja-JP", + ["hedge", "certainty", "sadness", "affection", "restraint"], + &[(5, 6), (4, 7), (6, 7), (6, 8)], + &[ + (5, [s(600), n, n, n, n]), + (5, [s(700), s(799), n, n, n]), + (5, [s(700), n, n, n, n]), + (7, [n, s(799), n, s(700), s(599)]), + (7, [n, n, n, s(700), n]), + (7, [s(1000), s(0), s(1000), s(600), s(0)]), + (8, [n, s(799), s(700), n, s(700)]), + (8, [n, n, s(600), n, s(600)]), + (6, [n, s(800), n, n, n]), + ], + &[ + (8, [n, n, s(599), n, s(700)]), + (8, [n, n, n, n, s(700)]), + (5, [s(599), n, n, n, n]), + (7, [n, n, n, s(599), n]), + (7, [n, n, n, s(700), s(600)]), + (8, [n, n, s(600), n, s(599)]), + ], + ); +} + +/// en-US seed entries :3, :5, :6, :8 over anger, restraint, hedge, certainty and +/// affection: blunt anger never holds with a hedge or affection entry, and a +/// hedge never holds with a flatly certain line, so the pairs that gave opposed +/// instructions (no cushioning against softening, hedge against no hedge) are +/// disjoint by condition; each of :3, :5, :6, :8 fires and stays silent at its +/// witnesses, so a dropped or tightened bound does not pass as a disjoint one. +/// :6 against the Scene entry :10 is kept apart by scoping in the text only. +#[test] +fn en_us_seed_pairs_never_co_select() { + let (n, s) = (None, Some); + sweep_seed_pairs( + "en-US", + ["anger", "restraint", "hedge", "certainty", "affection"], + &[(3, 5), (3, 8), (5, 6)], + &[ + (3, [s(600), s(300), n, n, n]), + (3, [s(600), s(300), s(599), n, s(599)]), + (3, [s(1000), s(0), s(0), s(799), s(0)]), + (5, [n, n, s(600), n, n]), + (5, [n, n, s(700), s(799), n]), + (5, [s(1000), s(1000), s(600), n, n]), + (6, [n, n, n, s(800), n]), + (8, [n, n, n, n, s(600)]), + (8, [s(1000), s(0), n, n, s(600)]), + ], + &[ + (3, [s(600), s(300), s(600), n, n]), + (3, [s(600), s(300), n, n, s(600)]), + (3, [s(599), s(300), n, n, n]), + (3, [s(600), s(301), n, n, n]), + (3, [s(600), n, n, n, n]), + (5, [n, n, s(599), n, n]), + (5, [n, n, s(700), s(800), n]), + (6, [n, n, n, s(799), n]), + (8, [n, n, n, n, s(599)]), + ], + ); +} + /// The committed ontology's Scene-conditioned entries, over every scene relation /// (relative_status x in_group x intimacy in steps of 50): two entries of one /// language and layer are never selected by the same relation, so the ontology diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index a6d2edd0651d0eeceee77f2cd666baa3aa0ba92d..5876983dbc820d7471d1ee0631ece7da5da058dc 100644 GIT binary patch delta 591 zcmZ1(+Y-M)gptF@z{&uKEH}$AIwJ8>nVgvravNCuka%qDoJc%z&c8_dWVmG+A8VI}n_H5`>!cx0w$ zC?uyAl_X~7l~h_O6qh8Hq$-qTq$(umBxdF+WadpiC1}lOt&pftlv-GtT3n(~l0W%1 zlZ-+!P;F*TjzV#MT1jeNYKlTqC0JikYEEKFW`5peRw38P^Hgns?q-`jMMw$Z_I*P6 zNMU0tasi3QE4CVmcR;)tiDxY-ffT~g(mY7KeA$~wDg)#tk>m;$-H_z=E8SrfK?*sY z8B4Pgb-e;uCOe8~PJXM&zWKh2GLm{OH4!AU)HEWI%|BF)t;ub delta 524 zcmZpPUm3eWgptG0(#qJ_%GhwT45K3wFO|ue2_d(E#Se+c#?Fbv6X*Pkq)&!hmQfC7 zX4Fx}OEZ?H=IMq8GczvtNv+6C&d-}Pxll)Rat@F8W_4a|#>x5;Hj^jvX&~%6$mhc- zf@H!(s0pl-gmfqS2?#OWoHBW~K$fPpLP~yWu|i&ci9%vQK~AMYNxnj&LRwB@36Pzf zT2zvlnWvDGnU^}5Rj>hU%@IKj9wdWBC;t%i5b*ZMOwWL+FR8SeoGfHL`Gt_{}2knOY5^I`-5ku8rS diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index b436b3b..bf4ff74 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -34,7 +34,7 @@ means no store holds it and nothing writes it. | Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8` | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds and `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose), which makes `:3`/`:5`, `:3`/`:8` and `:5`/`:6` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From 0a2d00a25f40d8aaabc5f9b78f617c3b40b8fd1c Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 20:27:19 +0000 Subject: [PATCH 07/42] ja-surprise-certainty: ja-JP:9 reworded so its question ending is available, not prescribed (#60) --- README.md | 2 +- data/ontology/ontology.cc | Bin 12164 -> 12263 bytes docs/targets/interlingua-lowering-map.md | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24b3b8c..d847874 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ addressee, and none for an above-status in-group addressee below intimacy 700 (` an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status cases were withdrawn: a paired measure found they made the lowerer match the reference register less often, and they stay out until a native reader attests them. -ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds and `:5` (hedging) an `AtMostOrUnset` certainty bound, so `:3`/`:5`, `:3`/`:8` and `:5`/`:6` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. +ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds and `:5` (hedging) an `AtMostOrUnset` certainty bound, so `:3`/`:5`, `:3`/`:8` and `:5`/`:6` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. ja-JP `:9` (surprise) states its question ending as available, not prescribed, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index 5876983dbc820d7471d1ee0631ece7da5da058dc..c23a25ceb860334541c348e5428fb6e031d9d40b 100644 GIT binary patch delta 416 zcmZpPe;&UfU=sMt*92T)e6YBH4dL`?#sZj)v#R47sFGn5sfbC;15fU=sMt*92T)e6YBH4dL`?#sZj)v#R47sFGn5sfbC;15:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds and `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose), which makes `:3`/`:5`, `:3`/`:8` and `:5`/`:6` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds and `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose), which makes `:3`/`:5`, `:3`/`:8` and `:5`/`:6` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From 349fe8e23982b92200f17fd80f86820ec7d67d5e Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 20:56:10 +0000 Subject: [PATCH 08/42] en-us-6-8: en-US:8 gets a certainty bound so affection and flat certainty never co-select (#61) --- README.md | 2 +- crates/weksa/tests/original_corpus.rs | 10 +++++++--- data/ontology/ontology.cc | Bin 12263 -> 12323 bytes docs/targets/interlingua-lowering-map.md | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d847874..31960d8 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ addressee, and none for an above-status in-group addressee below intimacy 700 (` an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status cases were withdrawn: a paired measure found they made the lowerer match the reference register less often, and they stay out until a native reader attests them. -ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds and `:5` (hedging) an `AtMostOrUnset` certainty bound, so `:3`/`:5`, `:3`/`:8` and `:5`/`:6` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. ja-JP `:9` (surprise) states its question ending as available, not prescribed, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition. +ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds, and `:5` (hedging) and `:8` (affection) each an `AtMostOrUnset` certainty bound (as ja-JP `:7`), so `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. ja-JP `:9` (surprise) states its question ending as available, not prescribed, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index de6c0bb..6c73ed2 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -1067,8 +1067,10 @@ fn ja_seed_pairs_never_co_select() { /// en-US seed entries :3, :5, :6, :8 over anger, restraint, hedge, certainty and /// affection: blunt anger never holds with a hedge or affection entry, and a -/// hedge never holds with a flatly certain line, so the pairs that gave opposed -/// instructions (no cushioning against softening, hedge against no hedge) are +/// hedge never holds with a flatly certain line, nor affection (:8, certainty +/// bound 799) with one, so the pairs that gave opposed instructions (no +/// cushioning against softening, hedge against no hedge, flat declaratives +/// against softened phrasing and tags) are /// disjoint by condition; each of :3, :5, :6, :8 fires and stays silent at its /// witnesses, so a dropped or tightened bound does not pass as a disjoint one. /// :6 against the Scene entry :10 is kept apart by scoping in the text only. @@ -1078,7 +1080,7 @@ fn en_us_seed_pairs_never_co_select() { sweep_seed_pairs( "en-US", ["anger", "restraint", "hedge", "certainty", "affection"], - &[(3, 5), (3, 8), (5, 6)], + &[(3, 5), (3, 8), (5, 6), (6, 8)], &[ (3, [s(600), s(300), n, n, n]), (3, [s(600), s(300), s(599), n, s(599)]), @@ -1089,6 +1091,7 @@ fn en_us_seed_pairs_never_co_select() { (6, [n, n, n, s(800), n]), (8, [n, n, n, n, s(600)]), (8, [s(1000), s(0), n, n, s(600)]), + (8, [n, n, n, s(799), s(600)]), ], &[ (3, [s(600), s(300), s(600), n, n]), @@ -1100,6 +1103,7 @@ fn en_us_seed_pairs_never_co_select() { (5, [n, n, s(700), s(800), n]), (6, [n, n, n, s(799), n]), (8, [n, n, n, n, s(599)]), + (8, [n, n, n, s(800), s(600)]), ], ); } diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index c23a25ceb860334541c348e5428fb6e031d9d40b..c385a8c007c470d6a7a685c0e98e9ab6d64672f5 100644 GIT binary patch delta 338 zcmaDJzc^uoI3ugEk(H^@W*J5o7&Dd0jR`8cfh7>eWMk)nG8c<;!UScw6=1p?d8%Qe z2l@PAqM`z~V9YOq3t-Hd!bObIV0)vEGTxlAG&N5*G?;^Nxld|EW^#Vsq{)Rk@{{>_ z*(cA_5}bTf$7FMas0!oc)4KMPcZg|2o%TX(9n84d5@j%^n3Ock6=pL0Fs7H>9hd@b u1sRyAkCG=$be8gc7_&|_3C4V?CJs}}s2KwjP15=VV@B%0&9%~7%Lo8KBv|+W delta 339 zcmZ3S@H~ElI3uf}rIo4WW*J5o7&Dd0jR`8cfh7>eWMk)nG8c<;!UScw6=1p?d8%Qe z2l@PAqM`z~V9YOq3t-Hd!bOaNV0)vEGR~c`G&N5*G?-)ZSw79l{JiXweMGr8PY_jQ zob0D+Gx>{{wg60N1yt$eMm^ijIpS$B^R7#j!I(i((lBQf$?(INZE|;D3epv1V4@vL oo-omC%J*T+U8+eirlPtyOs%bE3`}&M)+ZQqst(-TGQG8o00@p-D*ylh diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index eb66a40..7374ca2 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -34,7 +34,7 @@ means no store holds it and nothing writes it. | Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds and `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose), which makes `:3`/`:5`, `:3`/`:8` and `:5`/`:6` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds, `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose) and `:8` one too (as ja-JP `:7`), which makes `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From af0a56d45f31ea942ceea1b7bcbd8477a519f02a Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 21:40:39 +0000 Subject: [PATCH 09/42] ja-anger-mirror: ja-JP:3 gets hedge and affection bounds as en-US:3 carries (#62) --- README.md | 2 +- crates/weksa/tests/original_corpus.rs | 54 ++++++++++++++--------- data/ontology/ontology.cc | Bin 12323 -> 12438 bytes docs/targets/interlingua-lowering-map.md | 2 +- 4 files changed, 34 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 31960d8..ff6eadd 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ addressee, and none for an above-status in-group addressee below intimacy 700 (` an in-group addressee at intimacy 700 or more, whatever the status). Two entries for the above-status cases were withdrawn: a paired measure found they made the lowerer match the reference register less often, and they stay out until a native reader attests them. -ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds, and `:5` (hedging) and `:8` (affection) each an `AtMostOrUnset` certainty bound (as ja-JP `:7`), so `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. ja-JP `:9` (surprise) states its question ending as available, not prescribed, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition. +ja-JP `:5` (hedging), `:7` (affection) and `:8` (restrained sadness) carry certainty and restraint conditions, through `AtMostOrUnset` bounds (an unrated certainty or restraint does not defeat them), so the hedging, certainty, affection, restraint and sadness entries never co-select on the pairs `:5`/`:6`, `:4`/`:7`, `:6`/`:7` and `:6`/`:8`; ja-JP `:3` (anger) carries `AtMostOrUnset` hedge and affection bounds, as en-US `:3`, so `:3`/`:5` and `:3`/`:7` never co-select; the store has no retire, so that was a rebuild of `data/ontology/ontology.cc` with the ja-JP text unchanged. en-US `:3` (blunt anger) carries `AtMostOrUnset` hedge and affection bounds, and `:5` (hedging) and `:8` (affection) each an `AtMostOrUnset` certainty bound (as ja-JP `:7`), so `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` never co-select; `:5`'s certainty clause is that condition and no longer prose; `:6` and the Scene entry `:10` still co-select and are kept apart by scoping in the text. ja-JP `:9` (surprise) states its question ending as available, not prescribed, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition. For the first AquaSynth speech-training handoff, see [Tiny PanPhon v0.1 Speech Curriculum](./examples/speech-training/tiny-panphon-v0.1/README.md). diff --git a/crates/weksa/tests/original_corpus.rs b/crates/weksa/tests/original_corpus.rs index 6c73ed2..99e7e30 100644 --- a/crates/weksa/tests/original_corpus.rs +++ b/crates/weksa/tests/original_corpus.rs @@ -1031,36 +1031,46 @@ fn sweep_seed_pairs( } } -/// ja-JP seed entries :4 to :8 over the stance and discourse grades that bear on -/// them (hedge, certainty, sadness, affection, restraint): the pairs that gave -/// opposed instructions (hedge against certainty, particles, final force) never -/// hold together; and each of :5, :7, :8 still fires where it should (hedged at -/// certainty 700-799, affection with certainty or restraint unrated). +/// ja-JP seed entries :3 to :8 over the stance and discourse grades that bear on +/// them (anger, hedge, certainty, sadness, affection, restraint): the pairs that +/// gave opposed instructions (clipped anger against hedge or soft particles, +/// hedge against certainty, particles, final force) never hold together; and +/// each of :3, :5, :7, :8 still fires where it should (anger with hedge and +/// affection unrated or below 600, hedged at certainty 700-799, affection with +/// certainty or restraint unrated). #[test] fn ja_seed_pairs_never_co_select() { let (n, s) = (None, Some); sweep_seed_pairs( "ja-JP", - ["hedge", "certainty", "sadness", "affection", "restraint"], - &[(5, 6), (4, 7), (6, 7), (6, 8)], + ["anger", "hedge", "certainty", "sadness", "affection", "restraint"], + &[(5, 6), (4, 7), (6, 7), (6, 8), (3, 5), (3, 7)], &[ - (5, [s(600), n, n, n, n]), - (5, [s(700), s(799), n, n, n]), - (5, [s(700), n, n, n, n]), - (7, [n, s(799), n, s(700), s(599)]), - (7, [n, n, n, s(700), n]), - (7, [s(1000), s(0), s(1000), s(600), s(0)]), - (8, [n, s(799), s(700), n, s(700)]), - (8, [n, n, s(600), n, s(600)]), - (6, [n, s(800), n, n, n]), + (3, [s(700), n, n, n, n, s(300)]), + (3, [s(700), s(599), n, n, s(599), s(300)]), + (3, [s(1000), s(0), s(799), n, s(0), s(0)]), + (5, [n, s(600), n, n, n, n]), + (5, [n, s(700), s(799), n, n, n]), + (5, [n, s(700), n, n, n, n]), + (7, [n, n, s(799), n, s(700), s(599)]), + (7, [n, n, n, n, s(700), n]), + (7, [n, s(1000), s(0), s(1000), s(600), s(0)]), + (8, [n, n, s(799), s(700), n, s(700)]), + (8, [n, n, n, s(600), n, s(600)]), + (6, [n, n, s(800), n, n, n]), ], &[ - (8, [n, n, s(599), n, s(700)]), - (8, [n, n, n, n, s(700)]), - (5, [s(599), n, n, n, n]), - (7, [n, n, n, s(599), n]), - (7, [n, n, n, s(700), s(600)]), - (8, [n, n, s(600), n, s(599)]), + (3, [s(700), s(600), n, n, n, s(300)]), + (3, [s(700), n, n, n, s(600), s(300)]), + (3, [s(699), n, n, n, n, s(300)]), + (3, [s(700), n, n, n, n, s(301)]), + (3, [s(700), n, n, n, n, n]), + (8, [n, n, n, s(599), n, s(700)]), + (8, [n, n, n, n, n, s(700)]), + (5, [n, s(599), n, n, n, n]), + (7, [n, n, n, n, s(599), n]), + (7, [n, n, n, n, s(700), s(600)]), + (8, [n, n, n, s(600), n, s(599)]), ], ); } diff --git a/data/ontology/ontology.cc b/data/ontology/ontology.cc index c385a8c007c470d6a7a685c0e98e9ab6d64672f5..4cd355459606fe8a02c683e0c2e9e69c54f0c7d3 100644 GIT binary patch delta 353 zcmZ3SFfDO|I3ug6xs{Q@W*J5o7&Dd0jR`8cfh7>eWMk)nG8c<;!UScw6=1p?d8%Qe z2l@PAqM`z~V9YOq3t-Hd!bLEqfG9tc0N4ppM;R+-EKSYR4Go^$sAs!5M?4Lt=()4YQ_5h9Aakle+^`kggyD6YWs)WR!-Q%_K8pX;z}HR{%5Pa`&Rd+}y;XDU(0& zh)&Mok(w;6VmNs_PvK@?6-LI%=QLa=Pf%5bhQKb>B$&yH>f$hyZ8c+HqVu#q!I)EZ L;I1gsTgwOlwO?Jw delta 353 zcmbQ1xHw^hI3ugEk(H^@W*J5o7&Dd0jR`8cfh7>eWMk)nG8c<;!UScw6=1p?d8%Qe z2l@PAqM`z~V9YOq3t-Hd!bLEqfG9sqn~L~4nCNwhG8i*RN*bo1NCvL9P3{g%LArtr zOhJc|C!;jjKT$^+SI$_Pm8k0#z|6SZy(lp^H?e5a:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds, `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose) and `:8` one too (as ja-JP `:7`), which makes `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`, and ja-JP `:3` (anger) carries `AtMostOrUnset` hedge and affection bounds, as en-US `:3`, which makes `:3`/`:5` and `:3`/`:7` disjoint; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds, `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose) and `:8` one too (as ja-JP `:7`), which makes `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From 754322252bbd53f81b151da83d14c8c0b84a7cdc Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 22:20:44 +0000 Subject: [PATCH 10/42] ontology-mint-probe: weksa loop mint-ontology proposes entries from Train items only, never writes the run ontology (#63) --- crates/weksa/src/context.rs | 76 ++++- crates/weksa/src/main.rs | 29 +- crates/weksa/src/run.rs | 63 +++- crates/weksa/tests/cli.rs | 44 +++ crates/weksa/tests/context.rs | 23 ++ crates/weksa/tests/ontology_mint.rs | 362 +++++++++++++++++++++++ docs/targets/interlingua-lowering-map.md | 2 +- 7 files changed, 595 insertions(+), 4 deletions(-) create mode 100644 crates/weksa/tests/ontology_mint.rs diff --git a/crates/weksa/src/context.rs b/crates/weksa/src/context.rs index 70d875a..98dfe7f 100644 --- a/crates/weksa/src/context.rs +++ b/crates/weksa/src/context.rs @@ -14,6 +14,11 @@ //! entries that `ontology::select` chose for the view; the caller never names //! entries. //! +//! An ontology mint prompt is a second Train-only prompt: the [`TrainItems`] of +//! one language, the inventory's Stance, Discourse and Scene features (the only +//! ones a condition can read) and that language's existing entry lines. It reads +//! no packet, no score and no held-out text. +//! //! Item text may hold line breaks; the renderer indents every continuation line //! (`indented`), so item text cannot forge a `[key]` line or a paragraph. //! Item blocks are data from the run's pinned corpus, reached only through @@ -28,7 +33,7 @@ use std::marker::PhantomData; use serde::Serialize; use crate::corpus::{CorpusItem, CorpusItemId}; -use crate::inventory::{Inventory, InventoryEntry, OptionLabel, ValueKind}; +use crate::inventory::{Inventory, InventoryEntry, OptionLabel, Slot, ValueKind}; use crate::lower::{EntityForms, LowerError, entity}; use crate::ontology::{Ontology, select}; use crate::packet::{ @@ -82,6 +87,13 @@ pub const RECALL_INSTRUCTIONS: &str = "\ Below is the opening of a passage, with what is known of where it comes from. Continue it exactly as its source words it, from memory, until the passage ends. If you do not remember it, give your best guess in the same voice. Answer with one JSON object and nothing else: {\"text\": \"...\"}, the continuation only, not the opening. No code fence, no commentary."; +/// The instructions of an ontology mint: drafting entries for one language from +/// its Train lines. Fixed per run by `PROMPT_SOURCE_DIGEST`. +pub const MINT_ONTOLOGY_INSTRUCTIONS: &str = "\ +Below are lines written in one language (the language line), the features an ontology condition may test, and the entries that language's ontology already has. Draft new entries: choices this language's culture makes, for a speaker in a stance and scene, about word, grammar, discourse, sound or script, that the lines show. +Answer with one JSON object and nothing else: {\"entries\": [{\"layer\": \"...\", \"when\": [...], \"choice\": \"...\", \"examples\": [...]}]}. No code fence, no commentary. +Give 1 to 8 entries. layer is one of lexicon, grammar, discourse, phonology, orthography. when holds at most 4 conditions, each {\"slot\": \"Stance\" | \"Discourse\" | \"Scene\", \"feature\": \"\", \"test\": {\"AtLeast\": } | {\"AtMost\": } | {\"AtMostOrUnset\": } | {\"Is\": }}, over the listed feature ids only; when may be empty when a choice holds for every line of the language. choice states a pattern the lines show, in at most 200 bytes, without quoting a line. examples are original short phrases of the language, never copied from the lines below, at most 3."; + /// The live Train items of a corpus, in key order. The only input minting /// reads; it cannot be built from a slice, and no accessor returns text or an /// item. @@ -502,6 +514,56 @@ impl Prompt { } } + /// [`MINT_ONTOLOGY_INSTRUCTIONS`], the `language` line, the Stance, + /// Discourse and Scene features of `inventory` live at `rev` (grade, flag or + /// options: all a condition can read), the entries `ontology` already holds + /// for `language` as ` `, then the Train items of exactly + /// `language` in key order without prior turns. `None` when there is none. + pub(crate) fn mint_ontology( + train: &TrainItems, + language: &str, + inventory: &Inventory, + rev: u32, + ontology: &Ontology, + ) -> Option { + let items: Vec<&CorpusItem> = train + .items + .iter() + .filter(|item| item.language == language) + .collect(); + if items.is_empty() { + return None; + } + let features: String = inventory + .entries() + .filter(|e| { + e.live_at(rev) + && e.value_kind.is_some() + && e.applies_to + .iter() + .any(|s| matches!(s, Slot::Stance | Slot::Discourse | Slot::Scene)) + }) + .map(|e| format!("\n{}", entry_line(e))) + .collect(); + let existing: String = ontology + .entries() + .iter() + .filter(|e| e.language == language) + .map(|e| format!("\n{} {}", e.key(), e.choice)) + .collect(); + let mut parts = vec![ + MINT_ONTOLOGY_INSTRUCTIONS.to_string(), + format!("language: {language}"), + format!("features rev:{rev}{features}"), + format!("entries{existing}"), + ]; + parts.extend(items.iter().map(|item| block(item, None))); + Some(Prompt { + text: parts.join("\n\n"), + items: items.iter().map(|item| item.id.as_str().to_string()).collect(), + }) + } + /// [`ENCODE_INSTRUCTIONS`], the one offered item with its prior turns resolved /// against `train`, the entities a packet for it may cite, and the entries /// of `inventory` live at `rev`. @@ -663,6 +725,18 @@ mod tests { ); } + #[test] + fn an_ontology_mint_over_no_item_of_the_language_is_no_prompt() { + let inv = Inventory::default(); + let train = TrainItems { items: vec![] }; + assert!(Prompt::mint_ontology(&train, "en-US", &inv, 1, &Ontology::empty()).is_none()); + let mut held = item("item:a:1", "x", &group_in(Split::Train), false); + held.language = "ja-JP".into(); + let train = TrainItems { items: vec![held] }; + assert!(Prompt::mint_ontology(&train, "en-US", &inv, 1, &Ontology::empty()).is_none()); + assert!(Prompt::mint_ontology(&train, "ja-JP", &inv, 1, &Ontology::empty()).is_some()); + } + #[test] fn a_mint_prompt_over_no_train_items_is_the_brief_the_feedback_and_the_listing() { let none = TrainItems { items: vec![] }; diff --git a/crates/weksa/src/main.rs b/crates/weksa/src/main.rs index 24e68b0..92c7d5e 100644 --- a/crates/weksa/src/main.rs +++ b/crates/weksa/src/main.rs @@ -15,7 +15,7 @@ use weksa::packet::{FeatValue, FeatureValue, Grade}; use weksa::packet::proof_packet; use weksa::model::RecordedAnswers; use weksa::run::{ - AblationOutcome, CycleOutcome, LowererReach, RecallOutcome, RoundOutcome, RunPaths, RunStores, cycle, round, + AblationOutcome, CycleOutcome, LowererReach, OntologyMintOutcome, RecallOutcome, RoundOutcome, RunPaths, RunStores, cycle, round, }; use weksa::score::ScoreInput; use weksa::{ @@ -131,6 +131,15 @@ enum LoopCommand { /// half). Prompts and answers live in `/recall`; the command exits 3 /// until every prompt has an answer. A diagnostic, never a gate. Recall { root: PathBuf }, + /// Draft ontology entries from the run's Train items of one language. + /// Prompts and answers live in `/ontology-mint`; the command exits 3 + /// until the prompt has an answer. Admission is `weksa ontology admit` + /// into a copy, never into the run's pinned file. + MintOntology { + root: PathBuf, + #[arg(long)] + language: String, + }, /// Ask whether the lowerer uses a packet's stance: for each live Train and /// Validation packet of round ROUND, ask again with the stance as it is, /// emptied, and swapped for the next item's, and read how far the lowering @@ -1122,6 +1131,24 @@ fn main() -> Result<()> { RecallOutcome::Read(reading) => println!("{}", reading.line()), } } + Command::Loop(LoopCommand::MintOntology { root, language }) => { + let run = RunStores::open(&root)?; + let mut files = AnswerFiles::new(run.ontology_mint_dir(), run.record().model.clone()); + match run.mint_ontology(&mut files, &language)? { + OntologyMintOutcome::Unanswered { prompt } => { + println!("unanswered {prompt}"); + std::process::exit(3); + } + OntologyMintOutcome::Drafted { prompt, entries } => println!( + "drafted {entries} entries {}", + run.ontology_mint_dir().join(format!("{prompt}.answer")).display() + ), + OntologyMintOutcome::Refused { code } => { + println!("{code}"); + std::process::exit(1); + } + } + } Command::Loop(LoopCommand::Cycle { root, ollama_url }) => { let unreadable = |_| anyhow::anyhow!("a store would not read"); let mut run = RunStores::open(&root)?; diff --git a/crates/weksa/src/run.rs b/crates/weksa/src/run.rs index 51be889..d58e2cb 100644 --- a/crates/weksa/src/run.rs +++ b/crates/weksa/src/run.rs @@ -40,7 +40,9 @@ use unicode_segmentation::UnicodeSegmentation; use crate::context::{EditFeedback, EncoderOffer, Prompt, TrainItems}; use crate::corpus::{CorpusItem, CorpusItemId, ModelFamily, Source}; -use crate::encode::{EditDraft, LoweringDraft, MAX_EDIT_CHANGES, PacketDraft, encoder_id}; +use crate::encode::{ + EditDraft, LoweringDraft, MAX_EDIT_CHANGES, OntologyDraft, PacketDraft, encoder_id, +}; use crate::form::{is_attestation, is_language_tag, is_slug}; use crate::model::{ModelPort, PortError}; use crate::packet::{Packet, Stance}; @@ -1157,6 +1159,65 @@ impl RunStores { } } +/// What an ontology mint came to: the call's prompt digest, never an entry +/// admitted. +#[derive(Debug, PartialEq, Eq)] +pub enum OntologyMintOutcome { + /// The prompt is written; nobody has answered it. + Unanswered { prompt: String }, + /// The answer reads as a draft of `entries` entries; the answer file is the + /// draft, for `weksa ontology admit`. + Drafted { prompt: String, entries: usize }, + /// Nothing asked, or the answer is no draft: a closed code. + Refused { code: &'static str }, +} + +impl RunStores { + /// Asks `model` to draft ontology entries for `language` from the run's + /// Train items of that language. Writes the prompt and answer files of + /// `model` and nothing else: the draft is admitted, if ever, by + /// `weksa ontology admit` into a copy of the ontology, never here. + pub fn mint_ontology( + &self, + model: &mut dyn ModelPort, + language: &str, + ) -> Result { + let store = |_| RunError::Store; + if !self.record.panel.iter().any(|tag| tag == language) { + return Ok(OntologyMintOutcome::Refused { code: "language-not-in-panel" }); + } + let inventory = self.inventory.inventory().map_err(store)?; + let rev = inventory.latest().ok_or(RunError::NoInventory)?.n; + let ontology = self.ontology.ontology().map_err(store)?; + let train = self.train().map_err(store)?; + // A panel language has a live Train item (`create` requires it and the + // corpus is pinned), so no prompt here is a store that broke its pin. + let prompt = Prompt::mint_ontology(&train, language, &inventory, rev, &ontology) + .ok_or(RunError::Malformed("ontology-mint train"))?; + match model.answer(&prompt) { + Ok(answer) => Ok(match OntologyDraft::parse(&answer) { + Ok(draft) => OntologyMintOutcome::Drafted { + prompt: prompt.digest(), + entries: draft.entries.len(), + }, + Err(e) => OntologyMintOutcome::Refused { code: e.class.code() }, + }), + Err(PortError::Unanswered) => Ok(OntologyMintOutcome::Unanswered { + prompt: prompt.digest(), + }), + Err(PortError::Io(ErrorKind::InvalidData)) => { + Ok(OntologyMintOutcome::Refused { code: "invalid-data" }) + } + Err(PortError::Io(kind)) => Err(RunError::Io(kind)), + } + } + + /// `/ontology-mint`, where a mint's prompts and answers live. + pub fn ontology_mint_dir(&self) -> PathBuf { + self.root.join("ontology-mint") + } +} + /// What the lowerer's answer did to each variant of a packet's stance, per /// split. Means only; no key, text or stance value. #[derive(Clone, Debug, PartialEq)] diff --git a/crates/weksa/tests/cli.rs b/crates/weksa/tests/cli.rs index 2940efd..40aa288 100644 --- a/crates/weksa/tests/cli.rs +++ b/crates/weksa/tests/cli.rs @@ -1452,6 +1452,50 @@ fn open_dao_run(d: &std::path::Path) { assert!(o.status.success(), "{}", out(&o)); } +/// `weksa loop mint-ontology`: exit 3 and a prompt file until answered, exit 0 +/// and the answer path once it is a draft, a missing language or one outside +/// the panel refused, and nothing of the run written. +#[test] +fn loop_mint_ontology_protocol() { + let d = tempfile::tempdir().unwrap(); + open_dao_run(d.path()); + let root = d.path().join("canaryroot"); + let held = |name: &str| std::fs::read(root.join(name)).unwrap(); + let (run_cc, onto) = (held("run.cc"), std::fs::read(d.path().join("o.cc")).unwrap()); + let mint = |args: &[&str]| weksa(d.path(), &[&["loop", "mint-ontology", "canaryroot"], args].concat()); + + let none = mint(&[]); + assert_eq!(none.status.code(), Some(2), "{}", out(&none)); + assert!(!root.join("ontology-mint").exists()); + + let outside = mint(&["--language", "ja-JP"]); + assert_eq!(outside.status.code(), Some(1), "{}", out(&outside)); + assert_eq!(out(&outside), "language-not-in-panel\n"); + assert!(!root.join("ontology-mint").exists(), "a refused mint wrote a prompt"); + + let first = mint(&["--language", "en-US"]); + assert_eq!(first.status.code(), Some(3), "{}", out(&first)); + let text = out(&first); + let digest = text.strip_prefix("unanswered ").unwrap().trim_end(); + assert_eq!(digest.len(), 16, "{text}"); + let dir = root.join("ontology-mint"); + assert!(dir.join(format!("{digest}.prompt")).is_file()); + + let answer = dir.join(format!("{digest}.answer")); + std::fs::write(&answer, r#"{"entries":[{"layer":"Grammar","choice":"a pattern"}]}"#).unwrap(); + let done = mint(&["--language", "en-US"]); + assert_eq!(done.status.code(), Some(0), "{}", out(&done)); + assert_eq!(out(&done), format!("drafted 1 entries canaryroot/ontology-mint/{digest}.answer\n")); + + std::fs::write(&answer, "not json").unwrap(); + let bad = mint(&["--language", "en-US"]); + assert_eq!(bad.status.code(), Some(1), "{}", out(&bad)); + assert_eq!(out(&bad), "syntax\n"); + + assert_eq!(held("run.cc"), run_cc, "the mint wrote the run record"); + assert_eq!(std::fs::read(d.path().join("o.cc")).unwrap(), onto); +} + /// The family `loop open` pinned at `root`, read from the run record. fn pinned_family(d: &std::path::Path, root: &str, flag: &[&str]) -> weksa::corpus::ModelFamily { let mut args = vec![ diff --git a/crates/weksa/tests/context.rs b/crates/weksa/tests/context.rs index 82cf5b9..3c66989 100644 --- a/crates/weksa/tests/context.rs +++ b/crates/weksa/tests/context.rs @@ -692,6 +692,29 @@ mod lowering { } } + /// The mint cut added no line to what the lowerer sees: a prompt with a + /// selected ontology entry has the digest it had at af0a56d. + #[test] + fn the_lowering_prompt_of_a_fixed_packet_is_unchanged_by_the_ontology_mint() { + use weksa::encode::OntologyDraft; + use weksa::speaker::Annotator; + let (view, inv, entities, item) = dao(2); + let store = InventoryStore::open(&data("daodejing/inventory.cc")).unwrap(); + let dir = tempfile::tempdir().unwrap(); + let mut onto = weksa::OntologyStore::open(&dir.path().join("o.cc")).unwrap(); + let annotator = Annotator::Model { + family: weksa::corpus::ModelFamily::Anthropic, + generator: "golden".into(), + }; + let draft = r#"{"entries":[{"layer":"Grammar","choice":"golden choice","examples":["golden example"]}]}"#; + let entries = OntologyDraft::parse(draft).unwrap().into_entries("en-US", 3, 1, &annotator); + onto.admit(entries, &store).unwrap(); + let prompt = + Prompt::lower(&view, &item, "en-US", &inv, &entities, &onto.ontology().unwrap()).unwrap(); + assert!(prompt.text().contains("golden choice")); + assert_eq!(prompt.digest(), "4a40eb57282b059d"); + } + #[test] fn lower_prompt_moves_with_the_stance_alone() { use weksa::packet::{FeatValue, FeatureValue, Grade, Stance}; diff --git a/crates/weksa/tests/ontology_mint.rs b/crates/weksa/tests/ontology_mint.rs new file mode 100644 index 0000000..891f543 --- /dev/null +++ b/crates/weksa/tests/ontology_mint.rs @@ -0,0 +1,362 @@ +//! The ontology mint (`weksa loop mint-ontology`): a Train-only call that drafts +//! entries for `weksa ontology admit`. It shows a model the Train lines of one +//! panel language, the features a condition can read and that language's entry +//! lines; it admits nothing and writes nothing of the run. + +mod common; + +use std::path::Path; + +use common::{cast, entities_in, group_in_bucket, item_in}; +use weksa::context::Prompt; +use weksa::corpus::{ModelFamily, Source}; +use weksa::inventory::{Change, seed}; +use weksa::model::{AnswerFiles, ModelPort, PortError}; +use weksa::run::{LowererReach, OntologyMintOutcome, RunPaths, RunStores}; +use weksa::speaker::Annotator; +use weksa::{CorpusStore, InventoryStore, OntologyStore, Slot, ValueKind}; + +/// Records every prompt shown; answers with `reply`. +struct Record { + prompts: Vec<(String, Vec)>, + reply: String, +} + +impl Record { + fn new(reply: &str) -> Self { + Self { prompts: vec![], reply: reply.to_string() } + } +} + +impl ModelPort for Record { + fn model(&self) -> &str { + "record" + } + fn answer(&mut self, p: &Prompt) -> Result { + self.prompts.push((p.text().to_string(), p.item_keys().to_vec())); + Ok(self.reply.clone()) + } +} + +fn public() -> Source { + Source::PublicDomain { + work: "A Work".into(), + author: "An Author".into(), + edition_url: "https://example.org/e".into(), + licence: "CC0".into(), + jurisdiction: "US".into(), + translator: "A Translator".into(), + edition_year: 1900, + } +} + +const STANCE_G: &str = "feature:60"; +const DISC_FLAG: &str = "feature:61"; +const REF_ONLY: &str = "feature:62"; +const PRED_ONLY: &str = "feature:63"; +const STANCE_RETIRED: &str = "feature:64"; +const SCENE_G: &str = "feature:65"; + +/// A fixture: items in en-US and ja-JP across every split and a withdrawal, an +/// inventory with condition-readable and unreadable features, an ontology with +/// en-US and ja-JP entries, and a run over them with `panel`. +fn fixture(dir: &Path, panel: &[&str]) -> RunStores { + let entities = entities_in(dir); + let mut corpus = CorpusStore::open(&dir.join("c.cc")).unwrap(); + let rows = [ + ("item:en:1", "en-US", "entrain mark one", 10, cast(), false), + ("item:en:2", "en-US", "entrain mark two", 11, cast(), false), + ("item:en:3", "en-US", "envalid mark three", 50, cast(), false), + ("item:en:4", "en-US", "engone mark four", 12, cast(), true), + ("item:en:5", "en-US", "entest mark five", 90, public(), false), + ("item:ja:1", "ja-JP", "jatrain mark one", 13, cast(), false), + ("item:ja:2", "ja-JP", "javalid mark two", 51, cast(), false), + ("item:ja:3", "ja-JP", "jatest mark three", 91, public(), false), + ]; + for (id, language, text, bucket, source, withdrawn) in rows { + let mut item = item_in(id, text, &group_in_bucket(bucket), source); + item.language = language.into(); + corpus.add(item, &entities).unwrap(); + if withdrawn { + corpus.withdraw(id).unwrap(); + } + } + drop(corpus); + + let mut inv = InventoryStore::open(&dir.join("i.cc")).unwrap(); + let (rev1, entries) = seed(); + inv.admit_revision(rev1, entries).unwrap(); + let f = |id, kind, slots: &[Slot]| common::feature(id, kind, slots); + let features = vec![ + f(STANCE_G, ValueKind::Grade, &[Slot::Stance]), + f(DISC_FLAG, ValueKind::Flag, &[Slot::Discourse]), + f(REF_ONLY, ValueKind::Grade, &[Slot::Referent]), + f(PRED_ONLY, ValueKind::Grade, &[Slot::Predication]), + f(STANCE_RETIRED, ValueKind::Grade, &[Slot::Stance]), + f(SCENE_G, ValueKind::Grade, &[Slot::Scene]), + ]; + let changes = features.iter().map(|e| Change::Add(e.id)).collect(); + let mut features = features; + for e in &mut features { + e.introduced_rev = 2; + } + inv.admit_revision(common::rev_with(changes, 2, Some(1)), features).unwrap(); + inv.admit_revision( + common::rev_with(vec![Change::Retire(common::iv(STANCE_RETIRED))], 3, Some(2)), + vec![], + ) + .unwrap(); + + let mut onto = OntologyStore::open(&dir.join("ontology.cc")).unwrap(); + let annotator = Annotator::Model { family: ModelFamily::Anthropic, generator: "seed".into() }; + let entry = |language: &str, choice: &str, examples: &[&str]| { + weksa::encode::OntologyDraft::parse(&format!( + r#"{{"entries":[{{"layer":"Grammar","choice":"{choice}","examples":[{}]}}]}}"#, + examples.iter().map(|x| format!("\"{x}\"")).collect::>().join(",") + )) + .unwrap() + .into_entries(language, 3, 1, &annotator) + }; + onto.admit(entry("en-US", "enchoice marker", &["enexample marker"]), &inv).unwrap(); + onto.admit(entry("ja-JP", "jachoice marker", &["jaexample marker"]), &inv).unwrap(); + drop(onto); + drop(inv); + + std::fs::write(dir.join("speaker-state.cc"), [0x90]).unwrap(); + let panel: Vec = panel.iter().map(|s| s.to_string()).collect(); + RunStores::create( + &dir.join("run"), + "t", + RunPaths { + corpus: &dir.join("c.cc"), + inventory: &dir.join("i.cc"), + entities: &dir.join("entities.cc"), + ontology: &dir.join("ontology.cc"), + speaker_state: &dir.join("speaker-state.cc"), + }, + "fake-model", + "bag", + LowererReach::ToolLessRelay, + ModelFamily::Unrecorded, + &panel, + ) + .unwrap() +} + +const DRAFT: &str = + r#"{"entries":[{"layer":"Discourse","when":[],"choice":"a pattern","examples":[]}]}"#; + +#[test] +fn mint_ontology_prompt_shows_only_train_items_of_the_language() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US", "ja-JP"]); + let mut m = Record::new(DRAFT); + run.mint_ontology(&mut m, "en-US").unwrap(); + let (text, keys) = &m.prompts[0]; + assert!(text.contains("language: en-US")); + assert_eq!(keys, &["item:en:1", "item:en:2"]); + for shown in ["entrain mark one", "entrain mark two"] { + assert!(text.contains(shown), "{shown}"); + } + for hidden in [ + "envalid", "engone", "entest", "jatrain", "javalid", "jatest", "item:en:3", "item:en:5", + "item:ja", + ] { + assert!(!text.contains(hidden), "the en-US mint showed {hidden}"); + } + let mut m = Record::new(DRAFT); + run.mint_ontology(&mut m, "ja-JP").unwrap(); + let (text, keys) = &m.prompts[0]; + assert_eq!(keys, &["item:ja:1"]); + assert!(text.contains("jatrain mark one") && !text.contains("entrain")); +} + +#[test] +fn mint_ontology_refuses_a_language_outside_the_panel() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US"]); + let mut m = Record::new(DRAFT); + // ja-JP has Train items in the corpus but is not in the panel. + for (language, code) in [("ja-JP", "language-not-in-panel"), ("fr-FR", "language-not-in-panel")] { + assert_eq!( + run.mint_ontology(&mut m, language).unwrap(), + OntologyMintOutcome::Refused { code } + ); + } + assert!(m.prompts.is_empty(), "a refused mint asked the model"); +} + +#[test] +fn mint_ontology_prompt_lists_only_condition_readable_features() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US"]); + let mut m = Record::new(DRAFT); + run.mint_ontology(&mut m, "en-US").unwrap(); + let text = &m.prompts[0].0; + let listed = |id: &str| text.contains(&format!("\n{id}: ")); + for id in [STANCE_G, DISC_FLAG, SCENE_G] { + assert!(listed(id), "{id} is readable by a condition"); + } + for id in [REF_ONLY, PRED_ONLY, STANCE_RETIRED] { + assert!(!listed(id), "{id} is not"); + } + // Nothing that is not a feature: no concept or role line. + assert!(!text.contains("\nconcept:") && !text.contains("\nrole:")); + assert!(text.contains("features rev:3")); +} + +#[test] +fn mint_ontology_prompt_lists_only_the_languages_existing_entries() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US", "ja-JP"]); + let mut m = Record::new(DRAFT); + run.mint_ontology(&mut m, "en-US").unwrap(); + let text = &m.prompts[0].0; + assert!(text.contains("onto:en-US:1 enchoice marker")); + for hidden in ["jachoice", "onto:ja-JP", "enexample", "jaexample"] { + assert!(!text.contains(hidden), "{hidden}"); + } +} + +fn digests(dir: &Path) -> Vec<(String, Vec)> { + let mut out = vec![]; + let mut stack = vec![dir.to_path_buf()]; + while let Some(d) = stack.pop() { + for e in std::fs::read_dir(&d).unwrap() { + let p = e.unwrap().path(); + if p.is_dir() { + stack.push(p); + } else if !p.starts_with(dir.join("run").join("ontology-mint")) { + out.push((p.display().to_string(), std::fs::read(&p).unwrap())); + } + } + } + out.sort(); + out +} + +#[test] +fn mint_ontology_writes_nothing_but_its_prompt_and_answer_files() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US", "ja-JP"]); + let before = digests(dir.path()); + let mut files = AnswerFiles::new(run.ontology_mint_dir(), "m".into()); + let OntologyMintOutcome::Unanswered { prompt } = + run.mint_ontology(&mut files, "en-US").unwrap() + else { + panic!("unanswered"); + }; + std::fs::write(run.ontology_mint_dir().join(format!("{prompt}.answer")), DRAFT).unwrap(); + assert!(matches!( + run.mint_ontology(&mut files, "en-US").unwrap(), + OntologyMintOutcome::Drafted { entries: 1, .. } + )); + assert_eq!(digests(dir.path()), before, "the mint wrote outside ontology-mint"); + let mut names: Vec = std::fs::read_dir(run.ontology_mint_dir()) + .unwrap() + .map(|e| e.unwrap().file_name().into_string().unwrap()) + .collect(); + names.sort(); + assert_eq!(names, [format!("{prompt}.answer"), format!("{prompt}.prompt")]); + drop(run); + RunStores::open(&dir.path().join("run")).expect("no Drift after a mint"); +} + +#[test] +fn mint_ontology_unanswered_then_drafted_then_refused() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US"]); + let mut files = AnswerFiles::new(run.ontology_mint_dir(), "m".into()); + let OntologyMintOutcome::Unanswered { prompt } = + run.mint_ontology(&mut files, "en-US").unwrap() + else { + panic!("unanswered"); + }; + let mint = run.ontology_mint_dir(); + assert!(mint.join(format!("{prompt}.prompt")).exists()); + let answer = mint.join(format!("{prompt}.answer")); + std::fs::write(&answer, DRAFT).unwrap(); + assert_eq!( + run.mint_ontology(&mut files, "en-US").unwrap(), + OntologyMintOutcome::Drafted { prompt: prompt.clone(), entries: 1 } + ); + let two = r#"{"entries":[{"layer":"Grammar","choice":"a"},{"layer":"Lexicon","choice":"b"}]}"#; + std::fs::write(&answer, two).unwrap(); + assert!(matches!( + run.mint_ontology(&mut files, "en-US").unwrap(), + OntologyMintOutcome::Drafted { entries: 2, .. } + )); + let unknown = r#"{"entries":[{"layer":"Grammar","choice":"a","key":"x"}]}"#; + std::fs::write(&answer, unknown).unwrap(); + assert_eq!( + run.mint_ontology(&mut files, "en-US").unwrap(), + OntologyMintOutcome::Refused { code: "unknown-field" } + ); + std::fs::write(&answer, "not json").unwrap(); + assert_eq!( + run.mint_ontology(&mut files, "en-US").unwrap(), + OntologyMintOutcome::Refused { code: "syntax" } + ); +} + +#[test] +fn a_mint_answer_admits_into_a_copy_and_a_new_run_pins_the_copy() { + let dir = tempfile::tempdir().unwrap(); + let run = fixture(dir.path(), &["en-US"]); + let pinned = std::fs::read(dir.path().join("ontology.cc")).unwrap(); + let pin = run.record().ontology_digest.clone(); + let draft = format!( + r#"{{"entries":[{{"layer":"Discourse","when":[{{"slot":"Stance","feature":"{STANCE_G}","test":{{"AtLeast":500}}}}],"choice":"a grown choice","examples":[]}}]}}"# + ); + let mut files = AnswerFiles::new(run.ontology_mint_dir(), "m".into()); + let OntologyMintOutcome::Unanswered { prompt } = + run.mint_ontology(&mut files, "en-US").unwrap() + else { + panic!("unanswered"); + }; + let answer = run.ontology_mint_dir().join(format!("{prompt}.answer")); + std::fs::write(&answer, &draft).unwrap(); + + let copy = dir.path().join("grown.cc"); + std::fs::copy(dir.path().join("ontology.cc"), ©).unwrap(); + let inv = InventoryStore::open(&dir.path().join("i.cc")).unwrap(); + let mut grown = OntologyStore::open(©).unwrap(); + let annotator = Annotator::Model { family: ModelFamily::Anthropic, generator: "minter".into() }; + let first_n = grown.ontology().unwrap().entries().iter().filter(|e| e.language == "en-US").count() as u32 + 1; + let entries = weksa::encode::OntologyDraft::parse(&std::fs::read_to_string(&answer).unwrap()) + .unwrap() + .into_entries("en-US", 3, first_n, &annotator); + grown.admit(entries, &inv).unwrap(); + drop(grown); + + assert_eq!(std::fs::read(dir.path().join("ontology.cc")).unwrap(), pinned); + let again = RunStores::open(&dir.path().join("run")).unwrap(); + assert_eq!(again.record().ontology_digest, pin); + + let second = RunStores::create( + &dir.path().join("run-grown"), + "t", + RunPaths { + corpus: &dir.path().join("c.cc"), + inventory: &dir.path().join("i.cc"), + entities: &dir.path().join("entities.cc"), + ontology: ©, + speaker_state: &dir.path().join("speaker-state.cc"), + }, + "fake-model", + "bag", + LowererReach::ToolLessRelay, + ModelFamily::Unrecorded, + &["en-US".to_string()], + ) + .unwrap(); + assert_ne!(second.record().ontology_digest, pin); + + // A condition on a feature outside the inventory is the store's to refuse. + let outside = draft.replace(STANCE_G, "feature:99"); + let entries = weksa::encode::OntologyDraft::parse(&outside) + .unwrap() + .into_entries("en-US", 3, 9, &annotator); + let mut grown = OntologyStore::open(©).unwrap(); + assert!(grown.admit(entries, &inv).is_err()); +} diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index a279f0e..380d55c 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -34,7 +34,7 @@ means no store holds it and nothing writes it. | Inventory entry | Key `:`, `n` canonical decimal >= 1 (families: concept, frame, role, relation, speech_act, feature, referent_kind, extension); type `weksa.inventory_entry`, with a bounded gloss, value kind (option labels bounded), the slots a feature may sit in (`Discourse`, `Referent`, `Predication`, `Relation`; `Stance` from cut `speaker-state`, `Speaker` and `Scene` from cut `speaker-scene`), `introduced_rev` and optional `retired_rev`. Speaker axes, scene relations and affects are features of those slots, so the loop grows them like any closed-class family and convergence covers them | Added or retired by an inventory revision; never edited in place (a changed meaning is a retire plus an add); a retired id still resolves for packets of earlier revisions | The loop's accepted rounds, whose minting call the context builder assembles from Train items only; `weksa inventory admit` for one model-drafted `EditDraft` outside a run (cap 256, reviewed whole in its cut; same numbering and admission check as the loop); Self on merge to main. `data/original` revs 5 (233 concepts and frames) and 6 (five concepts closing named gaps) were drafted by claude-sonnet-5-5 (Weksa Hands, model-drafted original-bed lexicon from Train and Validation passages); Validation-informed: numbers on this bed measure lowering, never generalization or convergence. Residue after rev 6, not amended (each fresh coverage reader names new gaps; the loop's growth path owns them): simultaneity (ã�ªã�Œã‚‰), distal deixis (ã�‚ã�®), 'first' (ã�¾ã�š), counterfactual mood, 'at least', emphatic question; heaven versus sky for the visible 天 stays weak. Admission checks form, not text | | Inventory revision | Key `rev:`, type `weksa.inventory_revision`, with parent, change list and `frozen` | Appended per accepted round; exactly one revision is ever marked frozen, by the convergence test | The loop's accept rule appends; the convergence test freezes; Self records the freeze as a ruling | | Target profile | Locale or language-project id (`en-US`, `ja-JP`, a conlang's slug). Until entries grow in rounds there is no profile revision document: a run names the profile it lowered with by the ontology store's path and digest in its `RunRecord` (cut `language-ontology`); `profile::` revision documents arrive with follow-up `language-ontology-growth` | The ontology store is revised by commit; a run pins it and refuses drift; it likewise pins the speaker-state store (`RunRecord` keys 17 and 18, `Drift(SpeakerState)`, cut `language-ontology-scene`) | Profile authors and accepted rounds; never the lowerer's defaults (`persona-drives-register`) | -| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`), never copies it, because no loop step writes it yet. Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`, and ja-JP `:3` (anger) carries `AtMostOrUnset` hedge and affection bounds, as en-US `:3`, which makes `:3`/`:5` and `:3`/`:7` disjoint; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds, `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose) and `:8` one too (as ja-JP `:7`), which makes `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | +| Language ontology entry (cut `language-ontology`) | Key `onto::`, `n` from 1 per language; type `weksa.ontology_entry` in `data/ontology/ontology.cc`: the language, the revision of the inventory it was admitted through (provenance: beds number revisions independently and a run reads each condition's feature at its own head), a layer (lexicon, grammar, discourse, phonology, orthography), at most four conditions (a feature id of slot `Stance`, `Discourse` or `Scene` with `AtLeast`/`AtMost`/`AtMostOrUnset` a grade or `Is` an option or flag; a `Scene` condition reads the relation of the item's speaker to its addressee that `with_scene` selected; slot `Speaker` and community ids wait on follow-up `language-ontology-communities`), a choice of 1 to 200 bytes, at most three examples of 1 to 120 bytes, and an `Annotator`. Whether an entry's text keeps politeness on the scene is a model reader's judgment, owed per change (a mint owes it under `language-ontology-growth`), not a test | Admitted in all-or-nothing batches through `OntologyStore::admit`, immutable, never edited; retire arrives with `language-ontology-growth`. The run pins the store like the entity store (path and digest, `Drift(Ontology)`) and never writes it; slice 1 of growth is outside any run: `weksa loop mint-ontology` drafts entries from the run's Train items of one language into `/ontology-mint/.answer`, `weksa ontology admit --ontology ` admits them into a file copy, and a new run pins the copy (a run-owned copy waits on follow-up `language-ontology-growth`). Cut `language-ontology-seed` converts by drafting, not by parse: a fresh model drafts each language's seed from that language's YAML and the inventory's feature lines with no corpus text, then deletes `data/target-language-ontology/` and `.weksa/cultural-ontology/` in the same cut | Seed: a labelled model (`Annotator::Model`), no operator gate, never Test evidence (`ja-ontology-owner-answer`); attestation (operator, native reader) appends later. Accepted rounds later, through a mint call from Train items only. Selection is `ontology::select(ontology, language, view)`, called only inside `Prompt::lower`, so no caller picks entries; the prompt prints each selected entry's id, layer, choice and examples. Its text is minted text for the leak diagnostic, which today has no runtime caller (follow-up `leak-diagnostic-in-round`). The store was rebuilt without ja-JP `:14` and `:15` (above-status Scene entries; a paired measure found them net-negative on register, follow-up `ja-scene-entries-lower-register-agreement`), so ja-JP ends at `:13`: an above-status out-group addressee, and an above-status in-group addressee below intimacy 700, select no ja-JP Scene entry (`:12` still selects in-group at intimacy 700 or more regardless of status) until a native reader attests a replacement (`ja-native-reader-scenes`). ja-JP `:5`, `:7` and `:8` were revised by certainty and restraint `AtMostOrUnset` conditions (holds when the feature is unrated or at most the grade; `AtMost` still fails on an unrated feature) in a store rebuild (the store has no retire, so a conditions change is a rebuild), which makes ja-JP's hedging, certainty, affection, restraint and sadness entries disjoint on `:5`/`:6`, `:4`/`:7`, `:6`/`:7`, `:6`/`:8`, and ja-JP `:3` (anger) carries `AtMostOrUnset` hedge and affection bounds, as en-US `:3`, which makes `:3`/`:5` and `:3`/`:7` disjoint; en-US `:3` carries `AtMostOrUnset` hedge and affection bounds, `:5` an `AtMostOrUnset` certainty bound (the clause it held in prose) and `:8` one too (as ja-JP `:7`), which makes `:3`/`:5`, `:3`/`:8`, `:5`/`:6` and `:6`/`:8` disjoint, while `:6`/`:10` stay co-selectable and are kept apart by scoping in `:6`'s text; ja-JP `:9` was reworded in a rebuild to state its question ending as available, so `:6`/`:9`, `:5`/`:9` and `:3`/`:9` stay co-selectable and are reconciled by wording, not by condition | | Community (cut `language-ontology`, follow-up `language-ontology-communities`) | Key `community:`; type `weksa.community`, converted from `data/cultural-ontology/cultures/` and `referents/` (YAML deleted in the same cut) | Revised by commit; a speaker names the communities it belongs to by id | The cultural ontology's author (owner-attested evidence only; Discord-only content stays deleted, `discord-only-content-deleted`) | | Speaker (cut `speaker-scene`) | Key `speaker:@`; type `weksa.speaker`: stable axes as feature values of slot `Speaker` (origin, socioeconomic standing, age cohort, education and whatever the loop adds), at an inventory revision, and an `Annotator` | A new revision appends, never edits; a corpus item and every prior turn name a speaker slug, and a round records the speaker revisions it read | The annotator it names: `PersonaSnapshot` (a projection of a `gamecult.persona_state.v0` document, naming its source document and `updatedAt`), `Operator`, `WorkMetadata` (a public-domain work's own cast list and narration), or `Model { family, generator }` (the 2b `ModelFamily`) | | Scene (cut `speaker-scene`) | Key `scene:@`, the item's split group; type `weksa.scene`: participants (speaker slugs) and, per ordered pair, relation features of slot `Scene` (relative status, intimacy, in-group, audience and whatever the loop adds), at an inventory revision (provenance; a run reads the features at its own head), and an `Annotator` | As Speaker. Keyed by the group, so a scene never straddles the split. `data/original/speaker-state.cc` holds Model-annotated keeper scenes, one per Train or Validation group of both languages (`weksa scene put|dump`); a Test group has none and reads `NoScene` | As Speaker; a model-annotated scene is never Test evidence | From 887e79ef44da0b00eab198f74493c47910348398 Mon Sep 17 00:00:00 2001 From: Weksa Date: Thu, 12 Nov 2026 23:54:01 +0000 Subject: [PATCH 11/42] mint-prompt-door: the mint prompt teaches the shape the admit door admits (#64) --- crates/weksa/src/context.rs | 67 +++++++++++++++++++----- crates/weksa/tests/ontology_mint.rs | 40 ++++++++++++++ docs/targets/interlingua-lowering-map.md | 2 +- 3 files changed, 96 insertions(+), 13 deletions(-) diff --git a/crates/weksa/src/context.rs b/crates/weksa/src/context.rs index 98dfe7f..de2ff8f 100644 --- a/crates/weksa/src/context.rs +++ b/crates/weksa/src/context.rs @@ -35,9 +35,10 @@ use serde::Serialize; use crate::corpus::{CorpusItem, CorpusItemId}; use crate::inventory::{Inventory, InventoryEntry, OptionLabel, Slot, ValueKind}; use crate::lower::{EntityForms, LowerError, entity}; -use crate::ontology::{Ontology, select}; +use crate::encode::{EntryOntologyDraft, OntologyDraft}; +use crate::ontology::{Condition, Layer, Ontology, Test, select}; use crate::packet::{ - Context, Discourse, EntityId, Extension, Predication, Referent, Relation, Stance, + Context, Discourse, EntityId, Extension, FeatValue, Grade, Predication, Referent, Relation, Stance, }; use crate::run::LADDER_STEP; use crate::split::{Checkpoint, Split, SplitScheme, fnv1a64, hex16}; @@ -92,7 +93,7 @@ Answer with one JSON object and nothing else: {\"text\": \"...\"}, the continuat pub const MINT_ONTOLOGY_INSTRUCTIONS: &str = "\ Below are lines written in one language (the language line), the features an ontology condition may test, and the entries that language's ontology already has. Draft new entries: choices this language's culture makes, for a speaker in a stance and scene, about word, grammar, discourse, sound or script, that the lines show. Answer with one JSON object and nothing else: {\"entries\": [{\"layer\": \"...\", \"when\": [...], \"choice\": \"...\", \"examples\": [...]}]}. No code fence, no commentary. -Give 1 to 8 entries. layer is one of lexicon, grammar, discourse, phonology, orthography. when holds at most 4 conditions, each {\"slot\": \"Stance\" | \"Discourse\" | \"Scene\", \"feature\": \"\", \"test\": {\"AtLeast\": } | {\"AtMost\": } | {\"AtMostOrUnset\": } | {\"Is\": }}, over the listed feature ids only; when may be empty when a choice holds for every line of the language. choice states a pattern the lines show, in at most 200 bytes, without quoting a line. examples are original short phrases of the language, never copied from the lines below, at most 3."; +Give 1 to 8 entries. layer is exactly one of Lexicon, Grammar, Discourse, Phonology, Orthography. when holds at most 4 conditions, each {\"slot\": \"Stance\" | \"Discourse\" | \"Scene\", \"feature\": \"\", \"test\": ...}, where is the id printed before the colon of a listed feature (\"feature:10\", never its name) and its slot is one that feature lists. test is {\"AtLeast\": }, {\"AtMost\": } or {\"AtMostOrUnset\": } on a grade feature, or {\"Is\": {\"Option\": \"