speaker-state onto main (stance in packet, admit-only LoweringInput) + build notes #3

Merged
weksa merged 5 commits from weksa-lowering/speaker-state-on-main into main 2026-11-03 19:27:33 +00:00
4 changed files with 26 additions and 3 deletions
Showing only changes of commit 283678a58b - Show all commits

speaker-state: reseed inventory rev 1, regenerate schemas (packet v4), fmt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Eureka 2026-10-29 17:38:05 +01:00

View file

@ -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"
);
}

Binary file not shown.

View file

@ -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",

View file

@ -74,7 +74,8 @@
"Discourse",
"Referent",
"Predication",
"Relation"
"Relation",
"Stance"
]
},
"ValueKind": {