From 748acf35f4771dc5b754255d5053c3d849f6193f Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 08:39:48 +0000 Subject: [PATCH 1/8] rtd: move imperial_frame out of the packet example The example carried imperial_frame, an imperial-ontology reading, in the client packet, contradicting rtd-imperial-aesthetic-reading-to-ontology. Replace it with neutral facts plus stance and say why. Co-Authored-By: Claude Sonnet 5.5 --- settings/rust-to-dust/language-design.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/settings/rust-to-dust/language-design.md b/settings/rust-to-dust/language-design.md index 4ef1446..5260f6b 100644 --- a/settings/rust-to-dust/language-design.md +++ b/settings/rust-to-dust/language-design.md @@ -56,7 +56,9 @@ Structured intent carries neutral facts plus stance. The imperial ontology derives form, discipline, spectacle and honor status from them downstream (see `imperial/language-design.md`, Section 6). -Example: +Illustrative sketch (field names are not the packet schema; the executable +schema is `crates/weksa/src/packet.rs`). The client submits neutral facts and +stance only: ```json { @@ -64,10 +66,18 @@ Example: "act": "ambush", "actor": "father", "target": "imperial_guard", - "imperial_frame": "authentic_local_defiance" + "instrument": "improvised_tool", + "stance": { "affect": { "contempt": 600 }, "restraint": 800 } } ``` +An earlier draft of this example carried `"imperial_frame": +"authentic_local_defiance"`. That value is the imperial ontology's reading of +the facts above (performer-centered, local, sincere refusal), not a fact the +client can know, so it does not belong in the packet +(`rtd-imperial-aesthetic-reading-to-ontology`). Classes such as "authentic +local defiance" are outputs of the ontology projection. + ## Open Questions - What phonetic profile naturally fits this species and culture? From 748aa083c0f955dbb4ffa9f11bde5d5f99742f32 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 11:25:01 +0000 Subject: [PATCH 2/8] Lowering input: the speaker's relation to the addressee (Scene slot, with_scene) Slot::Scene, inventory revision 3 (relative_status, intimacy, in_group), LoweringInput::with_scene validated like every feature list, V13 refuses a relation without an addressee. Typed ids only; the English lowerer does not render it. Co-Authored-By: Claude Sonnet 5.5 --- crates/weksa/src/inventory.rs | 49 ++++++ crates/weksa/src/validate.rs | 53 +++++- crates/weksa/tests/scene.rs | 152 ++++++++++++++++++ docs/targets/interlingua-lowering-map.md | 1 + .../cultnet/weksa.inventory_entry.schema.json | 23 ++- 5 files changed, 270 insertions(+), 8 deletions(-) create mode 100644 crates/weksa/tests/scene.rs diff --git a/crates/weksa/src/inventory.rs b/crates/weksa/src/inventory.rs index 22538dd..199333f 100644 --- a/crates/weksa/src/inventory.rs +++ b/crates/weksa/src/inventory.rs @@ -189,6 +189,9 @@ pub enum Slot { Predication, Relation, Stance, + /// The relation of the speaker to the addressee in the scene; see + /// `LoweringInput::with_scene`. + Scene, } #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, JsonSchema)] @@ -508,3 +511,49 @@ pub fn proof_revision() -> (InventoryRevision, Vec) { entries, ) } + +/// Revision 3: the speaker's relation to the addressee, features of slot +/// `Scene`. Hand-seeded like [`proof_revision`] until the loop's minting round +/// and cut `speaker-scene` own the Scene vocabulary. `relative_status` is the +/// speaker's standing against the addressee's, not a register word: +/// what it selects is each language's ontology's business. +pub fn scene_revision() -> (InventoryRevision, Vec) { + let taken = seed() + .1 + .iter() + .filter(|e| e.family() == Family::Feature) + .count() as u32; + let labels = ["below", "level", "above"] + .map(|l| OptionLabel::parse(l).expect("seed labels are well formed")); + let relative_status = ValueKind::Options( + OptionSet::new(labels.to_vec()).expect("seed option sets are well formed"), + ); + let mut entries = Vec::new(); + for (i, (gloss, kind)) in [ + ("relative_status", relative_status), + ("intimacy", ValueKind::Grade), + ("in_group", ValueKind::Flag), + ] + .into_iter() + .enumerate() + { + entries.push(InventoryEntry { + id: Family::Feature.id(NonZeroU32::MIN.saturating_add(taken + i as u32)), + gloss: gloss.to_string(), + value_kind: Some(kind), + applies_to: vec![Slot::Scene], + introduced_rev: 3, + retired_rev: None, + }); + } + let changes = entries.iter().map(|e| Change::Add(e.id)).collect(); + ( + InventoryRevision { + n: 3, + parent: Some(2), + changes, + frozen: false, + }, + entries, + ) +} diff --git a/crates/weksa/src/validate.rs b/crates/weksa/src/validate.rs index 7fbf6aa..0f26278 100644 --- a/crates/weksa/src/validate.rs +++ b/crates/weksa/src/validate.rs @@ -5,7 +5,8 @@ //! the crate-private `admissible`. The stance is checked like every feature //! list, in slot `Stance`. The rules are V1..V8 and V10..V12: the shape of an id //! or a grade is its type's parse, not a rule, so V9 is retired and not -//! renumbered. +//! renumbered. V13 guards the one other way features reach a lowering view: +//! [`LoweringInput::with_scene`]. //! //! `validate` owns form and capacity and makes no leak decision. A packet's one //! free text is its trace (`notes` and `rejected_readings`): `validate` does not @@ -66,6 +67,10 @@ pub enum Refusal { V11DuplicateRole { role: InvId, predication: NodeId }, /// V12: more referents, predications and relations than `Packet::MAX_NODES`. V12TooManyNodes { count: usize, max: usize }, + /// V13: scene features were given for a packet with no addressee. They + /// state the speaker's relation to the addressee, so with none they + /// describe nobody. + V13SceneWithoutAddressee, } impl Refusal { @@ -84,6 +89,7 @@ impl Refusal { | Refusal::V11DuplicateNodeRef { .. } | Refusal::V11DuplicateRole { .. } => "V11", Refusal::V12TooManyNodes { .. } => "V12", + Refusal::V13SceneWithoutAddressee => "V13", } } } @@ -437,6 +443,11 @@ fn fits(kind: Option<&ValueKind>, value: &FeatValue) -> bool { /// fn read(l: weksa::LoweringInput) { let _ = l.stance; } /// ``` /// +/// +/// ```compile_fail +/// fn read(l: weksa::LoweringInput) { let _ = l.scene; } +/// ``` +/// /// The constructor is private: a call from outside the crate compiles only if /// `LoweringInput::of` is `pub`. The first block is the same code without the /// call, so the second fails for that call and nothing else. @@ -474,6 +485,7 @@ pub struct LoweringInput { constraints: Constraints, extensions: Vec, stance: Stance, + scene: Vec, } impl LoweringInput { @@ -489,9 +501,44 @@ impl LoweringInput { constraints: p.constraints.clone(), extensions: p.extensions.clone(), stance: p.stance.clone(), + scene: Vec::new(), } } + /// Adds the speaker's relation to the addressee: feature values of slot + /// `Scene`, checked like every feature list (V5 to V8, V11) at this view's + /// inventory revision. They state a relation, so the packet must name an + /// addressee (V13). Typed ids and grades only, never wording, so a scene + /// carries no text to the lowerer. The scene is not part of the packet: a + /// scene document supplies it, and replacing it replaces the earlier one. + pub fn with_scene( + mut self, + inventory: &Inventory, + scene: Vec, + ) -> Result> { + let mut out = Vec::new(); + if !inventory.has_revision(self.inventory_rev) { + out.push(Refusal::V10UnknownRevision { + rev: self.inventory_rev, + }); + } else { + Inventoried { + inv: inventory, + rev: self.inventory_rev, + out: &mut out, + } + .features(&scene, Slot::Scene); + } + if !scene.is_empty() && self.discourse.addressee.is_none() { + out.push(Refusal::V13SceneWithoutAddressee); + } + if !out.is_empty() { + return Err(out); + } + self.scene = scene; + Ok(self) + } + pub fn inventory_rev(&self) -> u32 { self.inventory_rev } @@ -522,4 +569,8 @@ impl LoweringInput { pub fn stance(&self) -> &Stance { &self.stance } + /// The speaker's relation to the addressee; empty until `with_scene`. + pub fn scene(&self) -> &[FeatureValue] { + &self.scene + } } diff --git a/crates/weksa/tests/scene.rs b/crates/weksa/tests/scene.rs new file mode 100644 index 0000000..7c922c5 --- /dev/null +++ b/crates/weksa/tests/scene.rs @@ -0,0 +1,152 @@ +//! The speaker's relation to the addressee as a lowering input: typed feature +//! values of slot `Scene`, checked against the inventory at the view's revision, +//! never wording, and only for a packet that names an addressee. + +mod common; +use std::path::Path; + +use common::{grade, iv, lab}; +use weksa::inventory::{proof_revision, scene_revision, seed}; +use weksa::packet::{FeatValue, FeatureValue, Packet, proof_packet}; +use weksa::{ + CorpusStore, EntityStore, Inventory, InventoryStore, LoweringInput, PacketStore, Refusal, lower, +}; + +fn store() -> (InventoryStore, Inventory, tempfile::TempDir) { + let dir = tempfile::tempdir().unwrap(); + let mut store = InventoryStore::open(&dir.path().join("i.cc")).unwrap(); + for (rev, entries) in [seed(), proof_revision(), scene_revision()] { + store.admit_revision(rev, entries).unwrap(); + } + let inv = store.inventory().unwrap(); + (store, inv, dir) +} + +fn admitted(packet: &Packet, inventory: &InventoryStore) -> LoweringInput { + let root = Path::new(env!("CARGO_MANIFEST_DIR")).join("../.."); + let corpus = CorpusStore::open(&root.join("data/corpus/corpus.cc")).unwrap(); + let entities = EntityStore::open(&root.join("data/entity/entity.cc")).unwrap(); + let dir = tempfile::tempdir().unwrap(); + PacketStore::open(&dir.path().join("p.cc")) + .unwrap() + .admit(packet.clone(), inventory, &corpus, &entities) + .unwrap() +} + +fn at_rev(rev: u32) -> Packet { + let mut p = proof_packet(); + p.inventory_rev = rev; + p +} + +fn feat(id: &str, value: FeatValue) -> FeatureValue { + FeatureValue { + feature: iv(id), + value, + } +} + +/// `scene_revision` mints the three Scene features after the seed's features. +fn status(inv: &Inventory) -> String { + inv.entries() + .find(|e| e.gloss == "relative_status") + .unwrap() + .id + .to_string() +} + +fn id_of(inv: &Inventory, gloss: &str) -> String { + inv.entries() + .find(|e| e.gloss == gloss) + .unwrap() + .id + .to_string() +} + +fn rules(r: Result>) -> Vec<&'static str> { + r.unwrap_err().iter().map(Refusal::rule).collect() +} + +#[test] +fn a_scene_relation_reaches_the_lowering_view_and_changes_no_english() { + let (store, inv, _dir) = store(); + let plain = admitted(&at_rev(3), &store); + assert!(plain.scene().is_empty()); + let scene = vec![ + feat(&status(&inv), FeatValue::Option(lab("above"))), + feat(&id_of(&inv, "intimacy"), FeatValue::Grade(grade(200))), + feat(&id_of(&inv, "in_group"), FeatValue::Flag(false)), + ]; + let with = plain.clone().with_scene(&inv, scene.clone()).unwrap(); + assert_eq!(with.scene(), scene.as_slice()); + assert_eq!(lower(&with, &inv).unwrap(), lower(&plain, &inv).unwrap()); +} + +#[test] +fn a_relation_needs_an_addressee() { + let (store, inv, _dir) = store(); + let mut p = at_rev(3); + p.discourse.addressee = None; + let view = admitted(&p, &store); + let scene = vec![feat(&id_of(&inv, "in_group"), FeatValue::Flag(true))]; + assert_eq!(rules(view.clone().with_scene(&inv, scene)), ["V13"]); + assert!(view.with_scene(&inv, vec![]).unwrap().scene().is_empty()); +} + +#[test] +fn a_relation_value_is_checked_like_any_feature() { + let (store, inv, _dir) = store(); + let view = admitted(&at_rev(3), &store); + let status = status(&inv); + let intimacy = id_of(&inv, "intimacy"); + let take = |scene| view.clone().with_scene(&inv, scene); + // A label the feature does not declare. + assert_eq!( + rules(take(vec![feat(&status, FeatValue::Option(lab("lordly")))])), + ["V7"] + ); + // A value of the wrong kind. + assert_eq!( + rules(take(vec![feat(&intimacy, FeatValue::Flag(true))])), + ["V7"] + ); + // A feature declared for another slot: seed feature 1 sits in Predication. + assert_eq!( + rules(take(vec![feat( + "feature:1", + FeatValue::Option(lab("negative")) + )])), + ["V8"] + ); + // An id that is not a feature at all. + assert_eq!( + rules(take(vec![feat("concept:3", FeatValue::Flag(true))])), + ["V6"] + ); + // Twice in one list. + let twice = vec![ + feat(&intimacy, FeatValue::Grade(grade(1))), + feat(&intimacy, FeatValue::Grade(grade(2))), + ]; + assert_eq!(rules(take(twice)), ["V11"]); +} + +#[test] +fn a_view_of_a_revision_before_the_scene_vocabulary_cannot_carry_one() { + let (store, inv, _dir) = store(); + // Revision 2 predates the Scene features, so their ids do not resolve there. + let view = admitted(&at_rev(2), &store); + let scene = vec![feat(&id_of(&inv, "intimacy"), FeatValue::Grade(grade(1)))]; + assert_eq!(rules(view.with_scene(&inv, scene)), ["V5"]); +} + +#[test] +fn a_stance_feature_is_not_a_scene_feature() { + let (store, inv, _dir) = store(); + let view = admitted(&at_rev(3), &store); + let anger = id_of(&inv, "anger"); + assert_eq!( + rules(view.with_scene(&inv, vec![feat(&anger, FeatValue::Grade(grade(1)))])), + ["V8"] + ); +} diff --git a/docs/targets/interlingua-lowering-map.md b/docs/targets/interlingua-lowering-map.md index 2183f5b..c828266 100644 --- a/docs/targets/interlingua-lowering-map.md +++ b/docs/targets/interlingua-lowering-map.md @@ -394,6 +394,7 @@ One line per cut; specs exist for the cuts about to run (2d and 4, siblings on ` 2d. `entity-door-lows`: invisible format characters refused in entity forms (ZWJ, ZWNJ, CGJ and variation selectors kept); the form length bound per question `form-word-bound` (recommended: bytes only); attested origins (`Cast { persona, fixture }`, `Live { persona }`) and `CastAuthored.author`; empty provenance strings refused at the store; S6 under NFKC plus case fold and no-alphanumeric texts refused; `next_key` refuses at `u32::MAX`; CLI flags that do not apply refuse and no error echoes a value. Owns follow-ups `entity-door-lows` and `s6-unicode-normal-form`. (spec r1) 3b. `lowerer-first-cut` (follow-up `golf-loop-lowerer-cut`): the section above. `lower`, `weksa lower`, `weksa score`, `weksa packet proof`, inventory rev 2 for `nibu-proof-001`. 4. `speaker-state`: packet `stance` (felt affect and restraint, slot `Stance`, packet schema v4); formality, warmth and intensity out of the seed and the standard; only `PacketStore::admit` yields a `LoweringInput`, and it refuses packets for withdrawn items (follow-up `lowering-input-from-packet-store`). (spec r1) +4a. `speaker-relation-input`: slot `Scene` and its first seed features (`relative_status`, `intimacy`, `in_group`; inventory revision 3, `scene_revision`); `LoweringInput::with_scene` takes the speaker's relation to the addressee as typed `Scene` feature values, validated like every feature list, refused without an addressee (V13). The English lowerer does not render it. 4b's `weksa.scene` document is its future supplier; no store, document or CLI yet. (PR for follow-up `chat-s3352-3352`) 4b. `speaker-scene`: slots `Speaker` and `Scene` with their seed features; `weksa.speaker` (`speaker:@`) and `weksa.scene` (`scene:@`, participants and ordered-pair relations) documents with `Annotator` `Operator` and `Model { family, generator }`, validated by the packet's shared feature check, append-only per key; their stores, `weksa speaker` and `weksa scene` commands, published schemas; Model-annotated cast speakers and scenes for the committed items. Waits on 2d and 4; `pd-speaker-annotation` blocks only the public-domain annotator. 5. `language-ontology`: `weksa.community` from `data/cultural-ontology/` (owns follow-up `edda-referent-yaml-parse`), `weksa.ontology_entry` for en-US and ja-JP from `data/target-language-ontology/` (YAML deleted), speaker communities, deterministic `select`, the lowering view (packet without trace, speaker, scene, selected entries). Waits on 4. 6. `pd-importer`: public-domain play and fiction dialogue into the corpus with speaker, scene group, edition provenance, and Speaker and Scene annotations by the ruled annotator. Waits on 4, follow-up `gutenberg-terms` and question `pd-speaker-annotation`. diff --git a/schemas/cultnet/weksa.inventory_entry.schema.json b/schemas/cultnet/weksa.inventory_entry.schema.json index ffefd95..ba3fe5d 100644 --- a/schemas/cultnet/weksa.inventory_entry.schema.json +++ b/schemas/cultnet/weksa.inventory_entry.schema.json @@ -69,13 +69,22 @@ }, "Slot": { "description": "Where a feature may sit in a packet.", - "type": "string", - "enum": [ - "Discourse", - "Referent", - "Predication", - "Relation", - "Stance" + "oneOf": [ + { + "type": "string", + "enum": [ + "Discourse", + "Referent", + "Predication", + "Relation", + "Stance" + ] + }, + { + "description": "The relation of the speaker to the addressee in the scene; see\n`LoweringInput::with_scene`.", + "type": "string", + "const": "Scene" + } ] }, "ValueKind": { From 211af4ccfbe4ccb5ec11e23c3aaa6ffbfbb49bd0 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 12:18:22 +0000 Subject: [PATCH 3/8] rtd imperial: path-fit ontology around Dao (placeholder), not shame/honour New dao-ontology.md: Dao as living well, painting as duty, unpainted as heresy unless path-true, gauche when a statement borrows the look; native terms as context-tagged readings with the chosen gloss recorded apart; claims tagged E/I/E->I. language-design.md re-framed where it leaned on shame. Co-Authored-By: Claude Sonnet 5.5 --- .../rust-to-dust/imperial/dao-ontology.md | 163 ++++++++++++++++++ .../rust-to-dust/imperial/language-design.md | 19 +- 2 files changed, 175 insertions(+), 7 deletions(-) create mode 100644 settings/rust-to-dust/imperial/dao-ontology.md diff --git a/settings/rust-to-dust/imperial/dao-ontology.md b/settings/rust-to-dust/imperial/dao-ontology.md new file mode 100644 index 0000000..1a60baa --- /dev/null +++ b/settings/rust-to-dust/imperial/dao-ontology.md @@ -0,0 +1,163 @@ +# Rust to Dust Imperial Ontology: Dao And Path-Fit + +Status: **DRAFT r0.** Companion to [language-design.md](language-design.md). +Nothing here is canon until the operator rules on it. + +## How To Read This + +Claims carry the same tags as `language-design.md`: + +- **[E]** evidence: the source says it. Sources are Meta's words in #weksa on + 2026-11-06 (memories `weksa:memory:mind-20261106T114231978Z-t1-m0`, `-t4-m0`, + `-t7-m0`, and the 12:01Z note on norm-breaking) or a cited file under + `settings/rust-to-dust/`. +- **[I]** invention: this draft proposes it; the operator can overrule it. +- **[E→I]** extension: a source seed this draft develops. + +## 1. The Value System Is Path-Fit, Not Shame And Honour + +[E] The empire's value system centres on one concept that human words only +loosely map. Its working label is **Dao**, a **placeholder** that Meta accepted +until a native name and sound exist. It means living well: roughly +self-actualization. Everyone is given gifts so that they may be used; getting +better at what one does is close to divine; presenting oneself is something +everyone must do. + +[E→I] What follows, and what this ontology therefore does *not* use: + +- **No audience sanction.** The measure is not what others may think (shame, + face, honour as reputation). It is whether the act is true to the actor's own + Dao. A speaker with no audience is still measurable against it. +- **No inner-state guilt.** Failing the Dao is *waste of a gift*, not a feeling. + Stance grades named after human shame, pride or honour are placeholders for + readings this ontology has not defined (see section 5). +- **Duty, not display.** Painting is not vanity; it is the duty of + presenting oneself, a part of using the gift [E]. + +This replaces the shame/honour framing that earlier drafts leaned on +(`language-design.md` section 1, "shameless"; section 4, the *unpainted* split; +and `aliens.md`, "profound shamelessness"). The source file `aliens.md` is the +setting owner's and is not edited here; the tension is listed in section 6. + +## 2. The Path-Fit Test + +[E] Going unpainted is heresy by default (it is not being one's best self), +**unless** it expresses the speaker's own path. Examples from Meta: + +- A warrior who goes into battle unpainted to show martial purity: valid. +- Breaking a norm (unpainted, obscenity) is valid when it emphasises the point + or expresses the speaker's own path. +- A celebrity doing it as a statement: reads as **gauche**, not brave. + +[I] So the ontology needs a test, not a flat rule. A norm-breaking act is read +by **fit between the act and the actor's path**: + +| Input (all typed facts) | Slot it comes from | +|---|---| +| the norm broken (decoration absent, obscenity, ...) | packet predication, or referent decoration state (a gap: `rtd.` extension first, see `language-design.md` section 6) | +| the actor's **path**: field and what the actor's gift and practice are | `Speaker` slot (planned, cut `speaker-scene`) | +| whether the act **serves the actor's own point** (the aim it emphasises) | not a packet fact; read by the ontology from the act and the path, never put in by the client | +| scene: who watches, and whether the act is staged *for* them | `Scene` slot (planned) | + +The output is a **reading**, chosen by the ontology, never sent in a packet: + +| Reading | When [I] | +|---|---| +| **devout** | the norm is kept, the gift is shown | +| **heretical** | the norm is broken and nothing in the actor's path calls for it | +| **path-true** | the norm is broken and the act expresses the actor's own path (the warrior) | +| **gauche** | the norm is broken as a statement the path does not carry; the act borrows the *look* of path-true without the path (the celebrity) | + +[I] Two properties keep this from becoming a status detector: + +1. *Gauche* is a fit failure, not a rank. A high-standing actor can be gauche in + one act and path-true in another. +2. The test is judged against the **actor's** path, not the speaker's. The + commentator infers it from conduct and marks the inference as inferred + (`evidentiality`, `language-design.md` section 3, category 5), because the + performer's sincerity is not telemetry. + +[I] Open: whether the same test governs obscenity and other norm-breaking, or +only the unpainted case. Meta named both as examples [E]; the shared test is +this draft's generalisation. + +## 3. Native Terms: Context-Tagged Readings, Chosen Gloss Recorded Apart + +[E, Meta's Dao De Jing analogy] A native term is not one English equivalent. +Model it as a term with **several readings, each tagged with the context that +selects it**, and record the **gloss chosen for a given lowering separately**, +so the choice can be audited and changed without rewriting the term. + +Two records, held apart [I]: + +**Term** (the imperial ontology's own, language-side): + +- `term`: a native id. Until a name exists it is an opaque placeholder; `Dao` + is the placeholder label for the first term, and is not a spelling. +- `readings`: each is `{ context, sense }`, where `context` is a typed + condition over feature values (speaker path, scene, stance, packet facts) and + `sense` is a short description of the meaning in that context. No reading + names an English word as its meaning. +- Selection among readings is deterministic from `context`; if none matches the + term is left unlowered, not defaulted. + +**Gloss choice** (per lowering, target-side): + +- `{ term, reading, target_language, chosen_gloss, why }`. +- It lives with the lowering that made it, not in the term. Two lowerings of one + term into the same language may choose different glosses, and the term does + not change. + +First term, all readings [I] unless tagged: + +| Term | Reading context | Sense | +|---|---|---| +| `Dao` (placeholder) | general | living well: the full use of one's given gifts; self-actualization [E] | +| `Dao` | the actor's practice improving | getting better at one's work as near-divine [E] | +| `Dao` | presenting oneself | the duty of presenting oneself, painted or path-true bare [E→I] | +| `Dao` | norm broken, path-fit | the actor's own path, as grounds for an exception [E→I] | + +| Gloss choices (illustration only) | | +|---|---| +| `Dao`, general, en-US | "the way", chosen for a reader who knows the analogy; recorded as a choice, not as the meaning [I] | + +[E→I] Why: the analogy Meta drew is the Dao De Jing's many human +translations, each choosing a gloss for one native term. Recording the choice +beside, not inside, the term is what lets that translation test bed (queued, +not started) compare lowerings of one term. + +## 4. What This Gives The Lowerer + +[I] Nothing new in the packet. The reading is selected from `stance`, `Speaker` +and `Scene` features (see `LoweringInput::with_scene` for the scene side) by the +planned `select(profile, stance, speaker, scene)`; the packet carries facts, not +*heretical* or *gauche*. This keeps the lowerer from English-to-alien +substitution: no English word is a key. + +## 5. Placeholders + +[I] These stance-adjacent names are **placeholders** for readings this ontology +has not defined, and must not be read as human shame/honour: + +- `shame` (seed stance feature): in the inventory today as a felt-affect grade. + Whether the empire has a felt affect of this shape, or only the *waste of a + gift* reading above, is open. +- `contempt` and `affection` in the example stance (`panel` pairing, section 3 + of `language-design.md`): human labels for a pairing whose imperial + reading is unsettled. +- "honor" and "vulgar" as used in the existing spec: placeholders for + path-fit success and failure. + +## 6. Open + +- The native name and sound of Dao. +- Whether the unpainted exception reads as sincere or suspect to the commentator + is the question Meta was asked; the answer so far is *path-true* is sincere + and *gauche* is not [E→I], but how a commentator tells them apart from + conduct alone is open. +- `aliens.md` says unpainted is "profound shamelessness" and a rare few go + unpainted "as a controversial artistic claim": the first is the baseline + reading this draft re-frames as heresy against Dao; the second is close to + *path-true*. The setting owner should rule on whether to reword the source. +- Whether *devout/heretical/path-true/gauche* are the right four, or a + continuous fit grade. diff --git a/settings/rust-to-dust/imperial/language-design.md b/settings/rust-to-dust/imperial/language-design.md index 8e3aa98..66fcb42 100644 --- a/settings/rust-to-dust/imperial/language-design.md +++ b/settings/rust-to-dust/imperial/language-design.md @@ -76,8 +76,10 @@ status is two axes, not one. rank in another. - **Standing in the field**, by *claim and demonstrated constraint*, not by force: - 1. **Unclaimed.** No decoration in a field. This is shameless, not neutral - [E: unpainted = shamelessness]. + 1. **Unclaimed.** No decoration in a field. This is not neutral: by default + it is a failure to present oneself, heresy against Dao, unless it is + path-true (see [dao-ontology.md](dao-ontology.md)). [E→I: Meta, + 2026-11-06; the source's "shamelessness" is re-framed] 2. **Claimant.** Decorated, undemonstrated. Tourists live here: the claim is bought and the constraint never chosen [E: tourists buy a safe spectacle]. 3. **Practitioner.** Decorated, with constraint demonstrated in the field. @@ -85,8 +87,8 @@ status is two axes, not one. 5. **Exemplar.** Master whose form others cite. - **Bare-by-claim** is an exceptional state off the ladder, not a step on it. Going unpainted as an artistic claim that the performance alone is art is a - provocation [E]. The grammar must be able to say it without saying - "shameless". + provocation [E]. The grammar must be able to say it as *path-true* + ([dao-ontology.md](dao-ontology.md), section 2), not as a lesser step. The language's address and agreement system tracks **claim versus demonstrated constraint**, because that is what the source treats as the @@ -175,7 +177,8 @@ register words in the source text. ### Why this language is the hard case for restraint [E→I] -For the empire, restraint is not suppression of a shameful interior. It is +For the empire, restraint is not suppression of a shameful interior (no +human shame/honour here: see [dao-ontology.md](dao-ontology.md), section 1). It is **the visible form of chosen constraint**, which is the moral proof of mastery [E]. So the map from `restraint` to surface is *inverted* relative to most human defaults: @@ -183,7 +186,9 @@ most human defaults: - High restraint is the *display* of virtue. A fully restrained speaker with strong felt affect is exhibiting form. - Low restraint with strong affect is not honest. It is *vulgar* [E: "vulgar - violence as failed form"; "collapse into mere function"]. + violence as failed form"; "collapse into mere function"]. "Vulgar" is a + placeholder for a fit failure against the actor's path, not a human taste + judgement. - Zero affect is not neutrality. It can read as an absence of devotion. The deliberate consequence is that stance cannot be flattened to a politeness @@ -266,7 +271,7 @@ select a form from the packet's facts and not from a gloss. | **crude** vs **failed** | crude: sincere, unrefined, with form attempted. failed: form collapsed into mere function. | actor's means and discipline as facts; the stance of the performer is not available, so the ontology reads from conduct | | **resistance** admired and absorbable | resistance read as: threat, folk art, breakout talent (`battle-royale.md` commentary list). Choice depends on whether it centers a performer or a practice. | performer-centered vs distributed agency | | **public spectacle** vs **living practice** [E] | spectacle: meaning lives in a central performer. practice: meaning lives in relationships. The empire reads distributed cooperation as noise or misattributes it to a performer. | number and relation of agents; presence of a focal agent | -| **unpainted**, split | shame / danger / contempt / rawness / refusal / purity (the source lists these senses). Different surface forms: the sense is selected by relation and stance, not by a gloss. | decoration state, scene relation, speaker stance | +| **unpainted**, split | devout-absent / heretical / path-true / gauche, by fit between the act and the actor's own path ([dao-ontology.md](dao-ontology.md), sections 1 and 2). The source's older senses (shame, danger, contempt, rawness, refusal, purity) are human-flavoured and kept only as placeholders. Different surface forms: the reading is selected by relation, path and stance, not by a gloss. | decoration state, actor's path, scene relation, speaker stance | ### Scale decoration in grammar and metaphor [E→I] From 9b1016bac60b2be640caf47c8fba2c5e25a4b7c4 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 12:21:54 +0000 Subject: [PATCH 4/8] Sa'ueia/Airawa checker: Deru's phonotactics, a names file, briefs updated check.py enforces no adjacent consonants, no identical adjacent vowels and no q for both languages, and joins and checks every proposed name from names.yaml. The superseded doubled-letter placeholder rule is deleted. Briefs record Deru's 2026-11-06 answers as settled versus invented and list every earlier candidate's result. One stray Sa'auei'a respelled. Co-Authored-By: Claude Sonnet 5.5 --- .../eusocial-interbeing/language-design.md | 23 +++- settings/eusocial-interbeing/sa-ueia/check.py | 100 ++++++++++++++-- .../eusocial-interbeing/sa-ueia/names.yaml | 45 ++++++++ .../eusocial-interbeing/sa-ueia/table.yaml | 26 ++++- .../eusocial-interbeing/sa-ueia/test_check.py | 107 +++++++++++++++++- .../eusocial-interbeing/zyphos-name-briefs.md | 78 ++++++++++++- .../rust-to-dust/imperial/language-design.md | 2 +- 7 files changed, 350 insertions(+), 31 deletions(-) create mode 100644 settings/eusocial-interbeing/sa-ueia/names.yaml diff --git a/settings/eusocial-interbeing/language-design.md b/settings/eusocial-interbeing/language-design.md index 9a727ee..299d654 100644 --- a/settings/eusocial-interbeing/language-design.md +++ b/settings/eusocial-interbeing/language-design.md @@ -52,14 +52,22 @@ Airawa phonology is not finalized, but the current design pressure distinguishes it from Sa'ueia softness. Airawa names should feel sharper, more dorsal and coronal, and more willing to close around hard edges. +Deru ruled on 2026-11-06 that the following bind **both** Airawa and Sa'ueia: +two consonants never meet, two identical vowels never meet, and `k` is used +where `q` might have been (so `q` is not an Airawa letter). The tendencies below +are read under that rule: "closed syllables" survives only as a word-final +consonant, `q` is retired from the plosive list, and `sh` / `zh` count as two +consonants until Deru says they are single sounds (`th` is not a cluster, as +relayed). `sa-ueia/check.py` enforces it. + Provisional tendencies: -- dorsal and coronal plosives should be prominent: `k`, `g`, `q`, `t`, `d`; +- dorsal and coronal plosives should be prominent: `k`, `g`, `t`, `d` (`q` retired); - sibilant and postalveolar fricatives should carry social texture: `s`, `z`, `sh` / `zh`; - `r` may be trilled in some Airawa registers; -- syllables can tolerate clipped or closed shapes where Sa'ueia forms would - flow longer and wetter; +- syllables can tolerate clipped shapes (a word-final consonant) where Sa'ueia + forms would flow longer and wetter; - avoid making native Airawa names read like smooth Sa'ueia route names unless the form is explicitly a loan, exonym, or cross-continental register. @@ -102,7 +110,10 @@ species name Sa'ueia is canon. Everything below is a working draft in Taken from Deru's words: - five vowels: `a e i o u`; -- no `h`, `q`, `y`; `k` where a `q` might have been; +- no `h`, `q`, `y`; `k` where a `q` might have been (2026-11-06: `q` is out of + Airawa too); +- two consonants never meet; two identical vowels never meet (2026-11-06, both + languages); - short words, soft and open; - suffixing morphology; the one suffix so far is `-um`, a verb suffix; - identical letters merge at a morpheme join: `weru` + `um` gives `werum`, @@ -116,8 +127,8 @@ Proposed, for Deru to accept or cut: - the apostrophe in Sa'ueia is orthographic, and is not counted as a letter; - "short" means at most 10 letters in a joined word, as a warning only; -- no doubled letter inside a morpheme, so a double can only arise at a join - and the merge rule removes it. +- (withdrawn 2026-11-06: replaced by Deru's rules that no two consonants and + no two identical vowels meet, in Sa'ueia and Airawa.) Open, not guessed: diff --git a/settings/eusocial-interbeing/sa-ueia/check.py b/settings/eusocial-interbeing/sa-ueia/check.py index 179c935..48fd1d9 100644 --- a/settings/eusocial-interbeing/sa-ueia/check.py +++ b/settings/eusocial-interbeing/sa-ueia/check.py @@ -1,8 +1,15 @@ #!/usr/bin/env python3 -"""Sa'ueia workshop checker: join morphemes by table.yaml's rules, flag violations. +"""Sa'ueia and Airawa workshop checker: join morphemes by table.yaml's rules, +flag violations. -Reads table.yaml next to this file (or a path argument). The consonant inventory -is open, so no consonant is ever flagged; only rules in the table are enforced. +usage: check.py [table.yaml] [--names names.yaml] + +Reads table.yaml next to this file (or a path argument). With --names it also +joins every proposed name in that file from its morphemes and runs the result +through the same rules for its language. The consonant inventory is open, so no +consonant is ever flagged for being unlisted; only rules in the table are +enforced. Deru's phonotactics (2026-11-06) bind both languages: no two +consonants adjacent, no two identical vowels adjacent, k and never q. Exit status is 1 when any error is found; warnings do not fail the run. """ @@ -16,6 +23,7 @@ import yaml TABLE = Path(__file__).with_name("table.yaml") PROVENANCES = {"deru", "weksa-placeholder"} +LANGUAGES = ("saueia", "airawa") @dataclass(frozen=True) @@ -42,17 +50,40 @@ def join(morphemes: list[str]) -> str: return out -def check_form(form: str, rules: dict, where: str, *, inside_morpheme: bool = False) -> list[Finding]: +def units(text: str, rules: dict) -> list[tuple[str, bool]]: + """Split letters into (unit, is_vowel); a listed digraph is one consonant.""" + vowels = set(rules["vowels"]["value"]) + digraphs = rules["no_adjacent_consonants"].get("digraphs", []) + out, i = [], 0 + while i < len(text): + if text[i : i + 2] in digraphs: + out.append((text[i : i + 2], False)) + i += 2 + else: + out.append((text[i], text[i] in vowels)) + i += 1 + return out + + +def forbidden(rules: dict, language: str) -> list[str]: + r = rules["forbidden_letters"] + return list(r["value"]) if language == "saueia" else list(r.get("airawa", [])) + + +def check_form(form: str, rules: dict, where: str, *, inside_morpheme: bool = False, + language: str = "saueia") -> list[Finding]: found = [] text = letters(form) - for ch in rules["forbidden_letters"]["value"]: + for ch in forbidden(rules, language): if ch in text: found.append(Finding("error", where, f"{form!r} contains forbidden letter {ch!r}")) - for a, b in zip(text, text[1:]): - if a == b and (not inside_morpheme or rules["no_doubled_letters_inside_morpheme"]["value"]): - found.append(Finding("error", where, f"{form!r} has doubled {a!r}")) + for (a, a_vowel), (b, b_vowel) in zip(units(text, rules), units(text, rules)[1:]): + if not a_vowel and not b_vowel and rules["no_adjacent_consonants"]["value"]: + found.append(Finding("error", where, f"{form!r} has adjacent consonants {a + b!r}")) + if a_vowel and b_vowel and a == b and rules["no_identical_adjacent_vowels"]["value"]: + found.append(Finding("error", where, f"{form!r} has identical adjacent vowels {a + b!r}")) limit = rules["max_word_letters"] - if not inside_morpheme and len(text) > limit["value"]: + if language == "saueia" and not inside_morpheme and len(text) > limit["value"]: found.append(Finding(limit["severity"], where, f"{form!r} is {len(text)} letters, over {limit['value']}")) return found @@ -88,9 +119,56 @@ def check_table(table: dict) -> list[Finding]: return found +def check_names(table: dict, doc: dict) -> list[Finding]: + """Join each proposed name from its morphemes and run it through the rules. + + Morphemes come from the table (Sa'ueia only) and from the roots in `doc`, + per language. A name's written form must equal the join, ignoring case. + """ + rules = table["rules"] + found = [] + known: dict[str, dict[str, str]] = {lang: {} for lang in LANGUAGES} + for kind in ("roots", "suffixes"): + for entry in table[kind]: + known["saueia"][entry["form"]] = "table" + for lang, entries in doc.get("roots", {}).items(): + if lang not in LANGUAGES: + found.append(Finding("error", f"roots.{lang}", "unknown language")) + continue + for entry in entries: + where = f"roots.{lang}.{entry['form']}" + if entry.get("provenance") not in PROVENANCES: + found.append(Finding("error", where, "missing or unknown provenance")) + known[lang][entry["form"]] = "names" + found += check_form(entry["form"], rules, where, inside_morpheme=True, language=lang) + for name in doc["names"]: + lang = name.get("language") + where = f"names.{name['form']}" + if lang not in LANGUAGES: + found.append(Finding("error", where, "missing or unknown language")) + continue + for m in name["morphemes"]: + if m not in known[lang]: + found.append(Finding("error", where, f"morpheme {m!r} is in no {lang} row")) + got = join(name["morphemes"]) + if got != letters(name["form"]): + found.append(Finding("error", where, f"joins to {got!r}, name says {name['form']!r}")) + found += check_form(name["form"], rules, where, language=lang) + return found + + def main(argv: list[str]) -> int: - path = Path(argv[1]) if len(argv) > 1 else TABLE - findings = check_table(yaml.safe_load(path.read_text(encoding="utf-8"))) + args = argv[1:] + names_path = None + if "--names" in args: + i = args.index("--names") + names_path = Path(args[i + 1]) + del args[i : i + 2] + path = Path(args[0]) if args else TABLE + table = yaml.safe_load(path.read_text(encoding="utf-8")) + findings = check_table(table) + if names_path: + findings += check_names(table, yaml.safe_load(names_path.read_text(encoding="utf-8"))) for f in findings: print(f) print(f"{sum(f.severity == 'error' for f in findings)} error(s), " diff --git a/settings/eusocial-interbeing/sa-ueia/names.yaml b/settings/eusocial-interbeing/sa-ueia/names.yaml new file mode 100644 index 0000000..8bd6c24 --- /dev/null +++ b/settings/eusocial-interbeing/sa-ueia/names.yaml @@ -0,0 +1,45 @@ +# Proposed names, run through check.py by `check.py --names names.yaml`. +# Mirrors notes/inhabitant-names-draft.md in the Zyphos repo (PR 2). Every name +# is a draft; none is canon. Deru's roots are in table.yaml and are not repeated. +# Each name lists its morphemes; the checker joins them (identical letters merge +# at a join) and applies Deru's rules (2026-11-06), which bind both languages: +# no adjacent consonants, no identical adjacent vowels, k and never q. + +roots: + saueia: + - {form: muna, gloss: memory; to remember, provenance: weksa-placeholder} + - {form: sela, gloss: gift; giving, provenance: weksa-placeholder} + - {form: rena, gloss: return; come back, provenance: weksa-placeholder} + - {form: kasu, gloss: ecological partner, provenance: weksa-placeholder} + - {form: mano, gloss: kin, provenance: weksa-placeholder} + - {form: sulo, gloss: stay; be rooted, provenance: weksa-placeholder} + # Airawa roots were closed syllables (gor, dak, zeg, sar, tez, -ur). Those put + # two consonants together at every join, so each is respelled open here. The + # tribe-linked-to-a-matriarch-tree fact (Deru) is not a root: see the briefs. + airawa: + - {form: gora, gloss: mother-tree body, provenance: weksa-placeholder} + - {form: daka, gloss: keep; hold in memory, provenance: weksa-placeholder} + - {form: zege, gloss: sever, provenance: weksa-placeholder} + - {form: sara, gloss: web; network, provenance: weksa-placeholder} + - {form: teza, gloss: order; ordinance, provenance: weksa-placeholder} + - {form: ur, gloss: pending; awaiting (imperial register suffix), provenance: weksa-placeholder} + - {form: kerath, gloss: obligation; sworn bond (the slice's qerath without q), provenance: weksa-placeholder} + +names: + # Sa'ueia + - {form: Manoila, language: saueia, morphemes: [mano, ila]} + - {form: Selamuna, language: saueia, morphemes: [sela, muna]} + - {form: Ilamuna, language: saueia, morphemes: [ila, muna]} + - {form: Ilarena, language: saueia, morphemes: [ila, rena]} + - {form: Munaila, language: saueia, morphemes: [muna, ila]} + - {form: Kasu, language: saueia, morphemes: [kasu]} + - {form: Kasumuna, language: saueia, morphemes: [kasu, muna]} + - {form: Olunerena, language: saueia, morphemes: [olune, rena]} + - {form: Munasulo, language: saueia, morphemes: [muna, sulo]} + # Airawa + - {form: Goradaka, language: airawa, morphemes: [gora, daka]} + - {form: Gorakerath, language: airawa, morphemes: [gora, kerath]} + - {form: Zegedaka, language: airawa, morphemes: [zege, daka]} + - {form: Gorasara, language: airawa, morphemes: [gora, sara]} + - {form: Tezasara, language: airawa, morphemes: [teza, sara]} + - {form: Saratezaur, language: airawa, morphemes: [sara, teza, ur]} diff --git a/settings/eusocial-interbeing/sa-ueia/table.yaml b/settings/eusocial-interbeing/sa-ueia/table.yaml index 6d83972..bfc19da 100644 --- a/settings/eusocial-interbeing/sa-ueia/table.yaml +++ b/settings/eusocial-interbeing/sa-ueia/table.yaml @@ -39,9 +39,27 @@ rules: value: [a, e, i, o, u] provenance: deru forbidden_letters: - value: [h, q, y] + value: [h, q, y] # Sa'ueia + airawa: [q] # Deru, 2026-11-06: q is not used in Airawa either; no word on h or y provenance: deru - note: k is used where q might have been. + note: k is used where q might have been, in both languages. + no_adjacent_consonants: + value: true + applies_to: [saueia, airawa] + provenance: deru + digraphs: [th] + note: > + Deru, 2026-11-06: two consonants never meet, in both languages. Deru also + said "th" is not a cluster; read here as: "th" is one consonant, so it + does not count as a meeting. Whether "sh" and "zh" are digraphs too is + open; until Deru says, they are two consonants and are flagged. An + apostrophe does not separate letters. A join that leaves two different + consonants adjacent is an error in the joined word. + no_identical_adjacent_vowels: + value: true + applies_to: [saueia, airawa] + provenance: deru + note: "Deru, 2026-11-06: two identical vowels never meet, in both languages." join_merge_identical: value: true provenance: deru @@ -59,10 +77,6 @@ rules: provenance: weksa-placeholder severity: warning note: Stand-in for "short words"; apostrophes not counted. Deru sets the real bound. - no_doubled_letters_inside_morpheme: - value: true - provenance: weksa-placeholder - note: Follows from the merge rule only if doubles never occur inside a morpheme either. vowel_only_where_needed: provenance: deru checked: false # not mechanically decidable without the consonant inventory diff --git a/settings/eusocial-interbeing/sa-ueia/test_check.py b/settings/eusocial-interbeing/sa-ueia/test_check.py index 790d689..02cfd57 100644 --- a/settings/eusocial-interbeing/sa-ueia/test_check.py +++ b/settings/eusocial-interbeing/sa-ueia/test_check.py @@ -62,12 +62,54 @@ class TableTests(unittest.TestCase): t["compositions"][0]["expected"] = "weruum" msgs = [str(f) for f in errors(t)] self.assertTrue(any("joins to 'werum'" in m for m in msgs)) - self.assertTrue(any("doubled 'u'" in m for m in msgs)) + self.assertTrue(any("identical adjacent vowels 'uu'" in m for m in msgs)) - def test_doubled_letter_inside_morpheme_flagged(self): + def test_identical_vowels_inside_morpheme_flagged(self): t = table() t["roots"].append({"form": "ilaa", "gloss": "x", "provenance": "weksa-placeholder"}) - self.assertTrue(any("doubled 'a'" in str(f) for f in errors(t))) + self.assertTrue(any("identical adjacent vowels 'aa'" in str(f) for f in errors(t))) + + def test_different_adjacent_vowels_allowed(self): + t = table() + t["roots"].append({"form": "iela", "gloss": "x", "provenance": "weksa-placeholder"}) + self.assertEqual(errors(t), []) + + def test_adjacent_consonants_inside_morpheme_flagged(self): + t = table() + t["roots"].append({"form": "ilma", "gloss": "x", "provenance": "weksa-placeholder"}) + self.assertTrue(any("adjacent consonants 'lm'" in str(f) for f in errors(t))) + + def test_doubled_consonant_is_adjacent_consonants(self): + t = table() + t["roots"].append({"form": "illa", "gloss": "x", "provenance": "weksa-placeholder"}) + self.assertTrue(any("adjacent consonants 'll'" in str(f) for f in errors(t))) + + def test_join_that_leaves_two_consonants_flagged(self): + t = table() + t["roots"].append({"form": "sal", "gloss": "x", "provenance": "weksa-placeholder"}) + t["roots"].append({"form": "ma", "gloss": "x", "provenance": "weksa-placeholder"}) + t["compositions"].append({"morphemes": ["sal", "ma"], "expected": "salma", "provenance": "weksa-placeholder"}) + self.assertTrue(any("adjacent consonants 'lm'" in str(f) for f in errors(t))) + + def test_consonant_merge_at_join_is_clean(self): + t = table() + t["roots"].append({"form": "sal", "gloss": "x", "provenance": "weksa-placeholder"}) + t["roots"].append({"form": "la", "gloss": "x", "provenance": "weksa-placeholder"}) + t["compositions"].append({"morphemes": ["sal", "la"], "expected": "sala", "provenance": "weksa-placeholder"}) + self.assertEqual(errors(t), []) + + def test_apostrophe_does_not_separate_consonants(self): + rules = table()["rules"] + self.assertTrue(check.check_form("al'ma", rules, "x")) + + def test_th_is_one_consonant_but_sh_is_two(self): + rules = table()["rules"] + self.assertEqual(check.check_form("kerath", rules, "x", language="airawa"), []) + self.assertTrue(check.check_form("kesha", rules, "x", language="airawa")) + self.assertTrue(check.check_form("kethr", rules, "x", language="airawa")) + + def test_final_consonant_is_not_a_cluster(self): + self.assertEqual(check.check_form("werum", table()["rules"], "x"), []) def test_unknown_morpheme_in_composition_flagged(self): t = table() @@ -86,9 +128,68 @@ class TableTests(unittest.TestCase): t["consonants"]["inventory"] = ["l", "m"] self.assertTrue(any("inventory" in str(f) for f in errors(t))) + def test_the_rules_bind_both_languages(self): + rules = table()["rules"] + for lang in check.LANGUAGES: + self.assertTrue(check.check_form("qara", rules, "x", language=lang), lang) + self.assertTrue(check.check_form("goraa", rules, "x", language=lang), lang) + self.assertTrue(check.check_form("gordak", rules, "x", language=lang), lang) + + def test_h_and_y_are_not_forbidden_for_airawa(self): + rules = table()["rules"] + self.assertEqual(check.check_form("hayo", rules, "x", language="airawa"), []) + self.assertTrue(check.check_form("hayo", rules, "x", language="saueia")) + def test_apostrophe_is_not_a_letter(self): self.assertEqual(check.letters("Sa'ueia"), "saueia") +NAMES = check.Path(__file__).with_name("names.yaml") + + +def names(): + return yaml.safe_load(NAMES.read_text(encoding="utf-8")) + + +def name_errors(doc): + return [f for f in check.check_names(table(), doc) if f.severity == "error"] + + +class NameTests(unittest.TestCase): + def test_every_proposed_name_passes(self): + self.assertEqual(name_errors(names()), []) + + def test_the_closed_syllable_airawa_drafts_all_fail(self): + # The first draft's Airawa names, built from closed-syllable roots. + old = {"Gordak": ["gor", "dak"], "Gorqerath": ["gor", "qerath"], "Zegdak": ["zeg", "dak"], + "Gorsar": ["gor", "sar"], "Tezsar": ["tez", "sar"], "Sartezur": ["sar", "tez", "ur"]} + rules = table()["rules"] + for form, parts in old.items(): + self.assertTrue(check.check_form(form, rules, form, language="airawa"), form) + + def test_unknown_morpheme_flagged(self): + doc = names() + doc["names"].append({"form": "Zoila", "language": "saueia", "morphemes": ["zo", "ila"]}) + self.assertTrue(any("'zo'" in str(f) for f in name_errors(doc))) + + def test_name_must_equal_its_join(self): + doc = names() + doc["names"].append({"form": "Ilawerum", "language": "saueia", "morphemes": ["ila", "weru"]}) + self.assertTrue(any("joins to 'ilaweru'" in str(f) for f in name_errors(doc))) + + def test_a_cluster_in_a_proposed_name_is_flagged(self): + doc = names() + doc["roots"]["airawa"].append({"form": "dak", "gloss": "x", "provenance": "weksa-placeholder"}) + doc["names"].append({"form": "Goradak", "language": "airawa", "morphemes": ["gora", "dak"]}) + self.assertEqual(name_errors(doc), []) # open join, final consonant ok + doc["names"].append({"form": "Gordak", "language": "airawa", "morphemes": ["gor", "dak"]}) + self.assertTrue(any("adjacent consonants 'rd'" in str(f) for f in name_errors(doc))) + + def test_unknown_language_flagged(self): + doc = names() + doc["names"].append({"form": "Kasu", "language": "klingon", "morphemes": ["kasu"]}) + self.assertTrue(any("language" in str(f) for f in name_errors(doc))) + + if __name__ == "__main__": unittest.main() diff --git a/settings/eusocial-interbeing/zyphos-name-briefs.md b/settings/eusocial-interbeing/zyphos-name-briefs.md index aae4c2d..5dbdae0 100644 --- a/settings/eusocial-interbeing/zyphos-name-briefs.md +++ b/settings/eusocial-interbeing/zyphos-name-briefs.md @@ -15,6 +15,76 @@ from the Zyphos vault (`Species/Airawa`, `Species/Matriarch Trees`, Both brief sets wait on Meta's answers to `vq-first-language` and `vq-name-scope`. Where a brief's scope depends on them it says so. +## Deru's answers, 2026-11-06 (canon for Zyphos and Sa'ueia) + +Source: Deru in #swarm, relayed in Weksa's memories of 2026-11-06 (12:03Z and +12:07Z). Each line is marked **settled** (Deru said it) or **invented** (this +file's reading). Where it overrides a brief or rule below, that text is marked +SUPERSEDED in place. + +| Fact | Status | +| --- | --- | +| The main word comes first in a Sa'ueia compound (`ilawerum`: walk of knowledge). | **settled** | +| Sharing memories and knowledge is emphasised in Sa'ueia culture. No reputation attaches to the act of remembering, to the partner or to the memory. | **settled** | +| Each Airawa tribe has its own name, all linked to matriarch trees. | **settled** | +| Phonotactics, for **both** Airawa and Sa'ueia: two consonants never meet; two identical vowels never meet; no `q`, only `k` (so `qerath` is impossible). | **settled** | +| "`th` is not a cluster" (as relayed). | **settled**, but how far it extends is open: the checker reads it as `th` = one consonant. `sh`, `zh` and `kh` are treated as two consonants until Deru says otherwise. | +| The Airawa label for the Sa'ueia is one word, not unkind, with no discrimination. | **settled** | +| Individual names are given by matriarch trees, in both continents. Names are not inherited, only given through trees. | **settled** | +| High titles (shaman, leader) can serve as names. | **settled** | +| Airawa names can change after a deed meaningful to the whole tribe. Sa'ueia names change by council consensus. | **settled** | +| The remaining Airawa sound tendencies (hard plosives, textured sibilants, heavy stress) and the Sa'ueia open items (inventory, syllable shapes, stress, `weru` vs `wer-`, apostrophe role) stay as written. | unchanged, still **invented** or open | + +What this retires, by id: + +- **A1..A3 (Airawa) are about a tribe, not a people.** The pan-Airawa self-name + question (`vq-name-scope`) is answered: names are per tribe, each linked to a + matriarch tree. A1's text below still describes a pan-Airawa word and is + **SUPERSEDED** in that respect; it is not yet rewritten as a per-tribe pattern. + The tribes' actual names are Deru's. +- **S1 and S3 lose the reputation argument.** The briefs' reading that "standing + is the partners' memory of generosity" and "being recognized as beneficial" + conflicts with answer 2. The Sa'ueia value *sharing* memory and knowledge, so + memory-as-currency is **SUPERSEDED**; `muna` ("memory") stays only as a + neutral word for what is shared. +- **Individual names** (Zyphos names note, section "Individuals") are no longer + blocked on "how names are earned": they are **given by matriarch trees**. + Airawa: the tree gives the name and a deed can change it. Sa'ueia: the tree + gives it and council consensus changes it. Titles may be used as names. + Nothing is proposed for individuals beyond this pattern. +- **R-A4 is SUPERSEDED** (closed syllables): a closed syllable followed by a + consonant-initial syllable puts two consonants together, which Deru forbids. + Only a word-final consonant survives. +- **R-A1 and `qatar`-like forms:** `q` is gone; the first-contact slice's + `qatar`, `daruq`, `karuq`, `qerath`, `thaleq` all need a `k` respelling. + `Druzkai` breaks the adjacency rule (`dr`, `zk`) and `Serak` passes. Neither is + canon. +- **R-S7 is SUPERSEDED** by Deru's two vowel and consonant rules: a doubled + letter is now excluded wherever it appears, not only inside a morpheme. + +Phonotactic check of every earlier candidate, with `sa-ueia/check.py` +(see `sa-ueia/names.yaml` for the current names, which all pass): + +| Candidate | Result | +| --- | --- | +| `Qazhkar` | fails: `q`; `zh`, `hk` as adjacent consonants | +| `Dozkai` | fails: `zk` | +| `Tegzhir` | fails: `gz`, `zh` | +| `Kharzdun` | fails: `kh`, `rz`, `zd` | +| `Qetoz` | fails: `q` | +| `Gisqat` | fails: `q`, `sq` | +| `Zhedkor` | fails: `zh`, `dk` | +| `Tkarzet` | fails: `tk`, `rz` | +| `Ellumaiwa` | fails: `ll` | +| `Sauwele` | passes (but still too close to `Sa'ueia`, see S1) | +| `Oluneihe` | fails: `h` (already withdrawn) | +| `Druzkai` | fails: `dr`, `zk` | + +The Zyphos names note (PR 2) proposed six Airawa names from closed-syllable +roots; all six fail the same rules and are replaced there by names built from +open roots. Those roots are Weksa placeholders and `kerath` is the slice's +`qerath` with `q` replaced and `th` kept: both as invented as before. + ## What the sound rules actually give us `language-design.md` is thin, and the briefs should not pretend otherwise. @@ -37,19 +107,19 @@ Rule labels used below (quoted or paraphrased from `language-design.md`): | Label | Rule | | --- | --- | -| R-A1 | Airawa: dorsal and coronal plosives prominent (`k g q t d`). | +| R-A1 | Airawa: dorsal and coronal plosives prominent (`k g t d`; `q` retired, Deru 2026-11-06). | | R-A2 | Airawa: sibilants and postalveolars carry social texture (`s z sh zh`). | | R-A3 | Airawa: `r` may be trilled in some registers. | -| R-A4 | Airawa: clipped or closed syllables tolerated, where Sa'ueia would flow longer and wetter. | +| R-A4 | SUPERSEDED (Deru, 2026-11-06): no two consonants meet, so only a word-final consonant closes a syllable. | | R-A5 | Native Airawa names must not read like smooth Sa'ueia route names unless explicitly loan, exonym or cross-continental register. | | R-A6 | Room consensus: hard edges, clipped/closed syllables, heavy stress on socially important forms, so claims land with weight. | | R-S1 | Sa'ueia is softer than Airawa. | | R-S2 | Sa'ueia forms flow longer and wetter than Airawa. | | R-S3 | Sa'ueia route names read smooth. | -| R-S4 | Sa'ueia letters: vowels `a e i o u`; forbidden `h q y` (`k` where a `q` might have been). | +| R-S4 | Sa'ueia letters: vowels `a e i o u`; forbidden `h q y` (`k` where a `q` might have been). `q` is forbidden in Airawa too (Deru, 2026-11-06). | | R-S5 | Sa'ueia: short words, soft and open; at most 10 letters joined (warning, Weksa placeholder). | | R-S6 | Sa'ueia: suffixing morphology; identical letters merge at a join (`weru`+`um` -> `werum`). | -| R-S7 | Sa'ueia: no doubled letter inside a morpheme (Weksa placeholder); a double arises only at a join, and the merge removes it. | +| R-S7 | SUPERSEDED (Deru, 2026-11-06): no two consonants and no two identical vowels meet, anywhere, in Sa'ueia and Airawa. | | R-S8 | Sa'ueia roots from Deru: `ila` walk, `weru` know, `olune` breeding ground (unanalyzed), `-um` verb suffix. Composed: `werum`, `ilawerum` (walk of knowledge). | | R-N | Naming rule: meaning decomposition first; define the speaker's scale, name type (endonym, exonym, ritual avoidance, technical, imperial administrative, route-name, child-name, trade gloss), what the speaker's ontology makes obligatory, and whether the name is stable, seasonal, situational, inherited or evasive. | diff --git a/settings/rust-to-dust/imperial/language-design.md b/settings/rust-to-dust/imperial/language-design.md index 8e3aa98..e7a7cfe 100644 --- a/settings/rust-to-dust/imperial/language-design.md +++ b/settings/rust-to-dust/imperial/language-design.md @@ -103,7 +103,7 @@ phoneme-level trick. The source gives no phonetic profile. It poses the question (`language-design.md`, Open Questions) and says naming should follow from phonetics. House method (Zyphos) assigns Airawa hard dorsal and coronal -edges and Sa'auei'a soft flow. This language must not collapse onto either +edges and Sa'ueia soft flow. This language must not collapse onto either [I]. ### Design stance [I] From 76b258df9c799e6f35ef53f31064b74b820864e4 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 18:19:49 +0000 Subject: [PATCH 5/8] Scene PR review nits: V13 in rule list, stray doc line, comment placement Co-Authored-By: Claude Sonnet 5.5 --- crates/weksa/src/inventory.rs | 3 ++- crates/weksa/src/validate.rs | 3 +-- crates/weksa/tests/scene.rs | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/weksa/src/inventory.rs b/crates/weksa/src/inventory.rs index 199333f..405b4ae 100644 --- a/crates/weksa/src/inventory.rs +++ b/crates/weksa/src/inventory.rs @@ -516,7 +516,8 @@ pub fn proof_revision() -> (InventoryRevision, Vec) { /// `Scene`. Hand-seeded like [`proof_revision`] until the loop's minting round /// and cut `speaker-scene` own the Scene vocabulary. `relative_status` is the /// speaker's standing against the addressee's, not a register word: -/// what it selects is each language's ontology's business. +/// what it selects is each language's ontology's business. It mints the three +/// Scene features after the seed's features. pub fn scene_revision() -> (InventoryRevision, Vec) { let taken = seed() .1 diff --git a/crates/weksa/src/validate.rs b/crates/weksa/src/validate.rs index 0f26278..6630430 100644 --- a/crates/weksa/src/validate.rs +++ b/crates/weksa/src/validate.rs @@ -3,7 +3,7 @@ //! returns `Ok(())` or the refusals. [`LoweringInput`], the only thing a //! lowerer sees, comes from `PacketStore::admit` alone, which builds it through //! the crate-private `admissible`. The stance is checked like every feature -//! list, in slot `Stance`. The rules are V1..V8 and V10..V12: the shape of an id +//! list, in slot `Stance`. The rules are V1..V8 and V10..V13: the shape of an id //! or a grade is its type's parse, not a rule, so V9 is retired and not //! renumbered. V13 guards the one other way features reach a lowering view: //! [`LoweringInput::with_scene`]. @@ -443,7 +443,6 @@ fn fits(kind: Option<&ValueKind>, value: &FeatValue) -> bool { /// fn read(l: weksa::LoweringInput) { let _ = l.stance; } /// ``` /// -/// /// ```compile_fail /// fn read(l: weksa::LoweringInput) { let _ = l.scene; } /// ``` diff --git a/crates/weksa/tests/scene.rs b/crates/weksa/tests/scene.rs index 7c922c5..896a4e9 100644 --- a/crates/weksa/tests/scene.rs +++ b/crates/weksa/tests/scene.rs @@ -46,7 +46,6 @@ fn feat(id: &str, value: FeatValue) -> FeatureValue { } } -/// `scene_revision` mints the three Scene features after the seed's features. fn status(inv: &Inventory) -> String { inv.entries() .find(|e| e.gloss == "relative_status") From 4c23747ea9cf880c8fc7516a7df942d934e40d82 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 18:20:12 +0000 Subject: [PATCH 6/8] Name briefs: drop "canon" label from relayed Deru section, mark flags provisional Co-Authored-By: Claude Sonnet 5.5 --- settings/eusocial-interbeing/zyphos-name-briefs.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings/eusocial-interbeing/zyphos-name-briefs.md b/settings/eusocial-interbeing/zyphos-name-briefs.md index 5dbdae0..a96a525 100644 --- a/settings/eusocial-interbeing/zyphos-name-briefs.md +++ b/settings/eusocial-interbeing/zyphos-name-briefs.md @@ -15,12 +15,15 @@ from the Zyphos vault (`Species/Airawa`, `Species/Matriarch Trees`, Both brief sets wait on Meta's answers to `vq-first-language` and `vq-name-scope`. Where a brief's scope depends on them it says so. -## Deru's answers, 2026-11-06 (canon for Zyphos and Sa'ueia) +## Deru's answers, 2026-11-06 (settled by Deru, relayed; not a recorded ruling) Source: Deru in #swarm, relayed in Weksa's memories of 2026-11-06 (12:03Z and 12:07Z). Each line is marked **settled** (Deru said it) or **invented** (this file's reading). Where it overrides a brief or rule below, that text is marked -SUPERSEDED in place. +SUPERSEDED in place. Names flagged only because `sh`, `zh` or `kh` count as two +consonants, or because of the open Airawa inventory, are provisional until Deru +answers. No original message id is on record: the relay is Weksa's own memory +notes, and Deru or Meta should supply the source message. | Fact | Status | | --- | --- | From 0f7ed894e129c9539133211ce5d54b2881de7604 Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 19:23:08 +0000 Subject: [PATCH 7/8] rtd: scope and provenance fixes from review (Nibu) Mark the edited imperial/language-design.md lines as proposal, cite the full ruling id, drop chat memory ids from dao-ontology.md. Co-Authored-By: Claude Sonnet 5.5 --- settings/rust-to-dust/imperial/dao-ontology.md | 5 ++--- settings/rust-to-dust/imperial/language-design.md | 10 ++++++---- settings/rust-to-dust/language-design.md | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/settings/rust-to-dust/imperial/dao-ontology.md b/settings/rust-to-dust/imperial/dao-ontology.md index 1a60baa..6ac85db 100644 --- a/settings/rust-to-dust/imperial/dao-ontology.md +++ b/settings/rust-to-dust/imperial/dao-ontology.md @@ -8,9 +8,8 @@ Nothing here is canon until the operator rules on it. Claims carry the same tags as `language-design.md`: - **[E]** evidence: the source says it. Sources are Meta's words in #weksa on - 2026-11-06 (memories `weksa:memory:mind-20261106T114231978Z-t1-m0`, `-t4-m0`, - `-t7-m0`, and the 12:01Z note on norm-breaking) or a cited file under - `settings/rust-to-dust/`. + 2026-11-06 (the Dao placeholder, the path-fit norm-breaking examples and + the Dao De Jing analogy) or a cited file under `settings/rust-to-dust/`. - **[I]** invention: this draft proposes it; the operator can overrule it. - **[E→I]** extension: a source seed this draft develops. diff --git a/settings/rust-to-dust/imperial/language-design.md b/settings/rust-to-dust/imperial/language-design.md index 66fcb42..296f52c 100644 --- a/settings/rust-to-dust/imperial/language-design.md +++ b/settings/rust-to-dust/imperial/language-design.md @@ -79,7 +79,8 @@ status is two axes, not one. 1. **Unclaimed.** No decoration in a field. This is not neutral: by default it is a failure to present oneself, heresy against Dao, unless it is path-true (see [dao-ontology.md](dao-ontology.md)). [E→I: Meta, - 2026-11-06; the source's "shamelessness" is re-framed] + 2026-11-06; the source's "shamelessness" is re-framed. PROPOSAL, not canon: + see the draft in dao-ontology.md] 2. **Claimant.** Decorated, undemonstrated. Tourists live here: the claim is bought and the constraint never chosen [E: tourists buy a safe spectacle]. 3. **Practitioner.** Decorated, with constraint demonstrated in the field. @@ -89,6 +90,7 @@ status is two axes, not one. Going unpainted as an artistic claim that the performance alone is art is a provocation [E]. The grammar must be able to say it as *path-true* ([dao-ontology.md](dao-ontology.md), section 2), not as a lesser step. + [PROPOSAL, not canon] The language's address and agreement system tracks **claim versus demonstrated constraint**, because that is what the source treats as the @@ -178,7 +180,7 @@ register words in the source text. ### Why this language is the hard case for restraint [E→I] For the empire, restraint is not suppression of a shameful interior (no -human shame/honour here: see [dao-ontology.md](dao-ontology.md), section 1). It is +human shame/honour here: see [dao-ontology.md](dao-ontology.md), section 1; PROPOSAL, not canon). It is **the visible form of chosen constraint**, which is the moral proof of mastery [E]. So the map from `restraint` to surface is *inverted* relative to most human defaults: @@ -188,7 +190,7 @@ most human defaults: - Low restraint with strong affect is not honest. It is *vulgar* [E: "vulgar violence as failed form"; "collapse into mere function"]. "Vulgar" is a placeholder for a fit failure against the actor's path, not a human taste - judgement. + judgement [PROPOSAL, not canon]. - Zero affect is not neutrality. It can read as an absence of devotion. The deliberate consequence is that stance cannot be flattened to a politeness @@ -271,7 +273,7 @@ select a form from the packet's facts and not from a gloss. | **crude** vs **failed** | crude: sincere, unrefined, with form attempted. failed: form collapsed into mere function. | actor's means and discipline as facts; the stance of the performer is not available, so the ontology reads from conduct | | **resistance** admired and absorbable | resistance read as: threat, folk art, breakout talent (`battle-royale.md` commentary list). Choice depends on whether it centers a performer or a practice. | performer-centered vs distributed agency | | **public spectacle** vs **living practice** [E] | spectacle: meaning lives in a central performer. practice: meaning lives in relationships. The empire reads distributed cooperation as noise or misattributes it to a performer. | number and relation of agents; presence of a focal agent | -| **unpainted**, split | devout-absent / heretical / path-true / gauche, by fit between the act and the actor's own path ([dao-ontology.md](dao-ontology.md), sections 1 and 2). The source's older senses (shame, danger, contempt, rawness, refusal, purity) are human-flavoured and kept only as placeholders. Different surface forms: the reading is selected by relation, path and stance, not by a gloss. | decoration state, actor's path, scene relation, speaker stance | +| **unpainted**, split | devout-absent / heretical / path-true / gauche, by fit between the act and the actor's own path ([dao-ontology.md](dao-ontology.md), sections 1 and 2). The source's older senses (shame, danger, contempt, rawness, refusal, purity) are human-flavoured and kept only as placeholders [PROPOSAL, not canon]. Different surface forms: the reading is selected by relation, path and stance, not by a gloss. | decoration state, actor's path, scene relation, speaker stance | ### Scale decoration in grammar and metaphor [E→I] diff --git a/settings/rust-to-dust/language-design.md b/settings/rust-to-dust/language-design.md index 5260f6b..cd810de 100644 --- a/settings/rust-to-dust/language-design.md +++ b/settings/rust-to-dust/language-design.md @@ -75,7 +75,7 @@ An earlier draft of this example carried `"imperial_frame": "authentic_local_defiance"`. That value is the imperial ontology's reading of the facts above (performer-centered, local, sincere refusal), not a fact the client can know, so it does not belong in the packet -(`rtd-imperial-aesthetic-reading-to-ontology`). Classes such as "authentic +(`weksa-body:ruling:rtd-imperial-aesthetic-reading-to-ontology`). Classes such as "authentic local defiance" are outputs of the ontology projection. ## Open Questions From 78e02b0fef11e851f3f8723f6974df1307a8e68d Mon Sep 17 00:00:00 2001 From: Weksa Date: Fri, 6 Nov 2026 19:24:08 +0000 Subject: [PATCH 8/8] Zyphos briefs: cite the original Matrix events for Deru's answers Co-Authored-By: Claude Sonnet 5.5 --- settings/eusocial-interbeing/zyphos-name-briefs.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/settings/eusocial-interbeing/zyphos-name-briefs.md b/settings/eusocial-interbeing/zyphos-name-briefs.md index a96a525..528014e 100644 --- a/settings/eusocial-interbeing/zyphos-name-briefs.md +++ b/settings/eusocial-interbeing/zyphos-name-briefs.md @@ -17,13 +17,13 @@ Both brief sets wait on Meta's answers to `vq-first-language` and ## Deru's answers, 2026-11-06 (settled by Deru, relayed; not a recorded ruling) -Source: Deru in #swarm, relayed in Weksa's memories of 2026-11-06 (12:03Z and -12:07Z). Each line is marked **settled** (Deru said it) or **invented** (this -file's reading). Where it overrides a brief or rule below, that text is marked -SUPERSEDED in place. Names flagged only because `sh`, `zh` or `kh` count as two -consonants, or because of the open Airawa inventory, are provisional until Deru -answers. No original message id is on record: the relay is Weksa's own memory -notes, and Deru or Meta should supply the source message. +Source: Deru in #swarm, 2026-11-06. Matrix events `$k421aeSzzvytNRLnRkcWBeMmogm56uq_KpAi5goORGg` +(~12:03Z, the answers) and `$_sjQgfGusoCclYppGt9hgJbhOEl2Vb2pNFRG4gUoavI` +(~12:07Z, the phonotactic rules apply to both Airawa and Sa'ueia). Each line is +marked **settled** (Deru said it) or **invented** (this file's reading). Where +it overrides a brief or rule below, that text is marked SUPERSEDED in place. +Names flagged only because `sh`, `zh` or `kh` count as two consonants, or +because of the open Airawa inventory, are provisional until Deru answers. | Fact | Status | | --- | --- |