From 283678a58be7191e0c2b4fc56461280344682e73 Mon Sep 17 00:00:00 2001 From: Eureka Date: Thu, 29 Oct 2026 17:38:05 +0100 Subject: [PATCH] speaker-state: reseed inventory rev 1, regenerate schemas (packet v4), fmt Co-Authored-By: Claude Opus 5.5 --- crates/weksa/tests/entities.rs | 5 ++++- data/interlingua/inventory.cc | Bin 6342 -> 7052 bytes .../weksa.interlingua_packet.schema.json | 21 +++++++++++++++++- .../cultnet/weksa.inventory_entry.schema.json | 3 ++- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/crates/weksa/tests/entities.rs b/crates/weksa/tests/entities.rs index 11e3d7d..4f8f2f2 100644 --- a/crates/weksa/tests/entities.rs +++ b/crates/weksa/tests/entities.rs @@ -418,5 +418,8 @@ fn packet_schema_v2() { assert!(published.contains_key("weksa.entity.schema.json")); // v4: the packet carries the speaker's stance, a bare feature list. assert!(packet["properties"].get("stance").is_some(), "{packet}"); - assert_eq!(packet["$defs"]["Stance"]["properties"]["features"]["type"], "array"); + assert_eq!( + packet["$defs"]["Stance"]["properties"]["features"]["type"], + "array" + ); } diff --git a/data/interlingua/inventory.cc b/data/interlingua/inventory.cc index 037a2cc110d4361f2c15535582c384dedd240113..b7b5dc4f7107d6a1fd507480c589b650cc024d6c 100644 GIT binary patch delta 1374 zcmaKsJ8aWX6oyGmaN<0jCVNW)QkT*+jh&`IDUXInd9^&MZdP*B22{KCbtDi2LSh7@ z$fg4eLkVe^Dlx#oP*7k;RIspgWMQXLc|?N$UOagF&hPV||JXY6hui~oW6Kvg>U3&E zvl=ETc%R;!VURX22xe6=?~#en_X z0JTLIwI$ExFG<-Uc=_;R$0XD;wYu)w-X0K!aUgTTE$|ni2{!gRU@34P{5YV2cLOAi z=tHYG!J_@kKV-M}W%<*?)3KJOFA(?XiK2qJC&eq^ryTEy*Pvey&VV<9SHY1G(@BWw zZ$oqF>6h62I}+>Pk}jZUFnkewH+&xaDSQT;i7=*-v(UR7r=x7n%_z(2Mp=J4HVyA$ zjAgxvm7z;>D~9f9pGkIpZld=Ml%-scHG&J-ruxI=;=Xdyd#2)2Wv;X)3JTTbry_ XxΜ&b#VSS6y(`imO&#b@APAv`4&{ delta 807 zcmeA%KW4b$3M04ql$B|zi6x~)saBIWGO4f|S{a#G8Jkb$Vk(q_vZIcePFn?2WN5H5 zGp{5yuQ+pZ9f#6nUnVY)HZizT106QFwux}|Ew(9eb}4%c zj6I1X5yqUH!I3Hhx5aQ8+|?G#$`gxnOEM-maA-~z;8c-?D>6YSvRs*#UzD4e195Z$ zr!m~vS)3to_E#i!09P1X{34I=vXY(V>ImnN&OG*Gqjerka?>+&9 zT|$EHaPb5|guNRCJ>cU1k;MIl+~DGKgdE`P$3jkUwvI4DO{K6aT>Pl8Bb?1Ef(XN4 z5ofsgToHsjKZqdQ=^~2o%T!TB7`{Sc+lzU_&6y~MFy{#p+g#j70G48oGWShkJaC6$ PvY>?M<`v?_%#4QsoyFTA diff --git a/schemas/cultnet/weksa.interlingua_packet.schema.json b/schemas/cultnet/weksa.interlingua_packet.schema.json index 24d7507..d839203 100644 --- a/schemas/cultnet/weksa.interlingua_packet.schema.json +++ b/schemas/cultnet/weksa.interlingua_packet.schema.json @@ -55,6 +55,9 @@ "format": "uint32", "minimum": 0 }, + "stance": { + "$ref": "#/$defs/Stance" + }, "trace": { "$ref": "#/$defs/Trace" } @@ -72,7 +75,8 @@ "relations", "constraints", "extensions", - "trace" + "trace", + "stance" ], "$defs": { "Constraints": { @@ -446,6 +450,21 @@ "filler" ] }, + "Stance": { + "description": "The speaker's felt affect and restraint, never displayed affect: how the\nspeaker shows a feeling is each language's ontology's business. A\nheld-back feeling is not a claim, so it is never a predication.", + "type": "object", + "properties": { + "features": { + "type": "array", + "items": { + "$ref": "#/$defs/FeatureValue" + } + } + }, + "required": [ + "features" + ] + }, "Trace": { "description": "Authoring and debug notes. Stripped before lowering.", "type": "object", diff --git a/schemas/cultnet/weksa.inventory_entry.schema.json b/schemas/cultnet/weksa.inventory_entry.schema.json index 6187f02..ffefd95 100644 --- a/schemas/cultnet/weksa.inventory_entry.schema.json +++ b/schemas/cultnet/weksa.inventory_entry.schema.json @@ -74,7 +74,8 @@ "Discourse", "Referent", "Predication", - "Relation" + "Relation", + "Stance" ] }, "ValueKind": {