Conversation and web: closings by context, follow-up lookups keep the name and place, office holders and prices looked up; reach toward the person; bottles by their body (belly grasp only); music never a turn (speech detector); songs: a promise is done; two-stop drives in the Command box

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 14:07:56 +09:00
co-authored by Claude Opus 5.5
parent 9cd8e5706b
commit 88a5349b04
34 changed files with 838 additions and 491 deletions
+5
View File
@@ -262,6 +262,11 @@ for text, said, prefer in (("take the smaller cup to p1", "Take the smaller cup
r = server.task_parse(server.ParseBody(text="bring me the cup from p1, no, from p8"))
assert r["action"] == "fetch" and r["task"]["source"] == {"marker": "p8"}, r
assert server.task_parse(server.ParseBody(text="go to p1, never mind"))["problems"] == ["Taken back: nothing to do."]
# two places in a row is a mission by the rules (live 2026-10-22: it was read as a fetch of nothing by the LLM)
r = server.task_parse(server.ParseBody(text="let's go p1 point and go p8 point"))
assert r["action"] == "steps" and r["steps"] == [{"do": "go", "to": "p1"}, {"do": "go", "to": "p8"}], r
r = server.task_parse(server.ParseBody(text="go from p1 to p8 and dance"))
assert r["action"] is None and r["task"] is None and r["read_by"] == "rules", r # no object named: never a fetch
two = [{**cups[0], "x": -100.0, "y": 600.0, "width_mm": 80.0}, {**cups[0], "x": 120.0, "y": 650.0, "width_mm": 66.0}]
find = lambda **t: fetch._find({"object": "cup", "colour": None, **t}, two)
assert find() == two[0] and find(prefer="small") == two[1] and find(prefer="big") == two[0]