Commands: full turn as two checked half turns, 'let's go p5' rule, dashboard Command box applies corrections, put it back, pairs of non-task commands asked

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 10:16:29 +09:00
co-authored by Claude Opus 5.5
parent d8b11176fe
commit 8a81979bad
14 changed files with 151 additions and 37 deletions
+4 -8
View File
@@ -38,14 +38,10 @@ class NoLLM(Exception):
def seen(text):
"""assistant/seeing.answer() takes these words (its own test: tests/test_seeing.py); the camera is not asked."""
t = text.strip()
if seeing.HOW_MANY.search(t) and seeing.NOT_IN_VIEW.search(t):
return False # "how many people work at Cutshion?"
return not seeing.ORDER.search(t) and any(rx.search(t) for rx in (
seeing.WEARING, seeing.HOLDING, seeing.SHIRT, seeing.RAISED, seeing.POINTING, seeing.DOING, seeing.SEE_ME,
seeing.HOW_MANY, seeing.BEHIND, seeing.HOW_FAR, seeing.SEE_THING, seeing.THERE_IS, seeing.SEE_THING_KO,
seeing.WHAT_SEE))
"""assistant/seeing.answer() takes these words (its own test: tests/test_seeing.py). No frames: it answers "no
camera" where it would look, None where it leaves the words to the rest ("how far is the stage?")."""
seeing._last.update(thing=None, name=None, kind=None)
return seeing.answer(text.strip(), frames=[]) is not None
def rules(text, state, marks, b):