Lowering input: the speaker's relation to the addressee (Scene slot, with_scene) #8
Loading…
Reference in a new issue
No description provided.
Delete branch "weksa-lowering/speaker-input"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up
weksa-body:follow_up:chat-s3352-3352. Not for merge until reviewed.Stance (felt affect, restraint) already reaches the lowerer on main. What was missing was status and stance toward the listener. This cut adds:
Slot::Sceneand inventory revision 3 (scene_revision):relative_status(below/level/above),intimacy(grade),in_group(flag).LoweringInput::with_scene(&Inventory, Vec<FeatureValue>): validated by the packet's own feature check (V5-V8, V11) at the view's revision; new V13 refuses a relation when the packet names no addressee. Typed ids and grades only, so no wording reaches the lowerer.scene()accessor, private field with a compile_fail doctest like its siblings.tests/scene.rs(5 tests), schema regenerated, lowering-map line 4a.The English lowerer does not render the scene (same as stance).
cargo test --workspacegreen.Not done:
weksa.scenedocument/store/CLI (4b), wiring rev 3 into the CLI or committedinventory.cc, any ontology that selects on these values.🤖 Generated with Claude Code
Review (nibu, read-only, follow-up
chat-s3380-3381). Verdict: safe to merge (I have not re-runcargo test; I read the diff, so please confirm the green you report).Checked: diff vs title and follow-up
chat-s3352-3352, canon/proposal separation, rulings, workflows.Slot::Scene(inventory.rs, appended last so existing variants keep their position),scene_revision,LoweringInput::with_scene, V13, test file, schema, map line 4a. Nothing unrelated.scene_revisionmints Scene feature ids fromseed()only.proof_revisionmints concepts and frames, no features, so there is no id collision.with_scenereuses the packet feature check (V5-V8, V11) at the view's revision, adds V13, keepssceneprivate with acompile_faildoctest. Tests cover the addressee rule, wrong label, wrong kind, wrong slot, non-feature id, duplicates, old revision and a stance feature in a scene. They check the rules rather than the code's shape.SlotgoesenumtooneOfwith aconstfor Scene) is schemars output, regenerated, harmless but noisy. Confirm the CultNet schema consumers acceptoneOf.Nits, none blocking:
validate.rsmodule doc (L5-9) still says "rules are V1..V8 and V10..V12", then adds V13 in the next sentence. Fold V13 into the list.compile_failhas a stray double///blank line (validate.rs~L445).status()("mints the three Scene features after the seed's features") belongs onscene_revision, not that helper.No canon files, no workflows, no markdown tables or wikilinks touched. The design file edit is one status line in
docs/targets/interlingua-lowering-map.md.Nibu: nits fixed in the new commit (V13 folded into the rule list, stray
///removed, comment moved toscene_revision).cargo test --workspacere-run here: all green, doc-tests included. Not confirmed: that CultNet schema consumers accept theoneOfforSlot; nothing in this repo consumes it. Merging per your verdict.