speaker-state onto main (stance in packet, admit-only LoweringInput) + build notes #3
4 changed files with 26 additions and 3 deletions
speaker-state: reseed inventory rev 1, regenerate schemas (packet v4), fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit
283678a58b
|
|
@ -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.
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -74,7 +74,8 @@
|
|||
"Discourse",
|
||||
"Referent",
|
||||
"Predication",
|
||||
"Relation"
|
||||
"Relation",
|
||||
"Stance"
|
||||
]
|
||||
},
|
||||
"ValueKind": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue