Skip to content

Release 0.2.4 - #26

Merged
RutaTang merged 90 commits into
mainfrom
claude/vigilant-thompson-b3g5be
Nov 18, 2026
Merged

RutaTang merged 90 commits into
mainfrom
claude/vigilant-thompson-b3g5be

Conversation

@RutaTang

Copy link
Copy Markdown
Owner

Release 0.2.4: everything since 0.2.3 (89 commits), and the version bump. The protocol is unchanged (v27).

Voice

  • "Hey, Clew" / "Bye, Clew" start and stop listening, the same in every language, with no "Stop listening" phrase. A call is proven by its words (Clew's name), not only its sound, so near misses don't wake it. This works with how Whisper writes the name in Japanese, Korean and Chinese.
  • Clew doesn't wake itself: a "Hey, Clew" it is reading aloud is told apart from yours by when it was played and heard. Sentences it queued but never played are not counted as said.
  • "Stop" (and "be quiet", "shh", …, in all five languages) while Clew speaks stops its voice and the answer still being written. It is never sent to the agent. Queued questions are still asked.
  • Answering by voice: while the agent asks, its answers said by name ("continue", "stop", "cancel") are those answers. If the button isn't in view, the card opens at the right page. "Cancel" first closes what Esc would. "Okay, stop" is a "no", never a "yes".
  • Reading aloud: answers are read with the voice that is installed, and the Ask card says only what is true of the answer. Wake and speaker failures say why, with Try again.

Docs

  • docs/voice.md and docs/voice.zh-CN.md describe the above exactly.

Checks run locally before this PR

  • clippy and rustdoc clean; 2209 tests passed, 0 failed.
  • Live-microphone wake tests: both "Hey, Clew" recordings woke Clew and ran the command; the near miss did not wake it.
  • Mutation checks on the decision logic: all caught.

Generated by Claude Code

RutaTang and others added 30 commits November 16, 2026 10:30
In 0.2.3 English, Chinese, Japanese, Korean, German, French, Spanish,
Portuguese, Italian and Russian moved to Qwen3-TTS, and Supertonic 3 kept
only its other twenty-two languages. A reader who had Supertonic 3 (or
Kokoro, now retired) heard nothing after updating: each sentence went to
Qwen3-TTS, not downloaded, and the only word of it was a status line said
once and soon said over.

- Supertonic 3 speaks all thirty-one of its languages again. Each
  sentence is read by the best voice here that speaks it: Qwen3-TTS where
  it is downloaded, else Supertonic 3 (`for_language_among`). Only Chinese
  needs Qwen3-TTS.
- No voice here for an answer's language: the Ask card's voice line says
  so, with the voice's Download (its progress while it comes, Cancel), and
  a dismiss; it goes once the voice is here, reading aloud is turned off,
  or it is put away. Not said for a voice being downloaded or removed.
- The voice failing (it could not start, ended, the speaker went away) is
  said on the Ask card too, until what is said next is heard.
- Try says English with a voice that does not speak the interface's
  language; Settings keeps one primary Download: the voice that reads
  English best.
- Supertonic's description, the voice docs (English and Chinese) and all
  four catalogs say what each voice reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…h busy moments

Measured with the real keyword spotter on 80 recordings of "Hey, Clew"
(and 200 of other speech, near misses such as "Hey, glue" and "Okay, Clew
is…" among them):

- When it was said decided whether it was heard. The model hears the
  phrase less well in a stretch of about 0.4 s that comes round every
  1.6 s or so of its stream: said 1.2 s after waiting began, 39 of 80 were
  heard; 2.7 s after, 49; elsewhere 77 to 79. clew-speak listen now feeds
  two streams, the second 0.8 s further on in its own time, and hears the
  phrase when either does: 78 to 79 of 80 wherever it is said. Both begin
  afresh once it is heard, so it is said once.
- Said softly, or across the room, it was seldom heard: 67 of 80 at
  −53 dBFS in a quiet room, 24 with a little noise, 30 at −61 dBFS. What
  is heard is now brought up to the level speech is said at close by —
  down at once for what is loud, up 6 dB a second at most, never more than
  +24 dB, so the pauses between words are not raised with them: 79, 73 and
  75 of 80, and as often as before aloud (78) and in noise (72). Near
  misses wake it as often as they do said aloud.
- What the microphone hears was resampled a fifth of a second at a time,
  each piece faded at its ends: a dip five times a second. One resampler
  now runs over all of it, the pieces joined as if never cut.
- The spotter failing once — fallen behind while the computer was busy,
  or ended — turned waiting off until it was turned on again. It is now
  started again, and waiting goes on; three failures in a row still end
  it, saying why.

The real-model test says the phrase 0.5, 1.1 and 2.7 s after waiting
begins: 233 of 240 heard, never woken by the 681 other recordings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…y to act on

What kept answers from being heard was said on the Ask card, but not
always truly, and not always where it could be acted on:

- Said of a voice that was not missing. The notice stayed until that very
  voice was downloaded: with Supertonic 3 downloaded instead, English
  answers were read aloud under "Answers aren't read aloud: Qwen3-TTS
  isn't downloaded"; one Chinese answer left it over every English answer
  read after it. It is now about the last answer only, and the language
  that went unheard: it goes when the next answer begins, and when any
  voice here reads that language. Said as "{model} is needed to read
  answers aloud" with no voice here, "… this answer aloud" with one.
- Put away, it came back at the next answer: a reader who does not want
  a 719 MB voice for the odd Chinese answer was asked again and again.
  Put away, it stays away in this window, until that voice is downloaded.
- Its ✕ was the header's Close, a few lines under it: a small dim ✕ now,
  as the status bar's notices have, the Download (a secondary button,
  not the composer's accent) on its own line under the text, so neither
  crowds the other in a 400 px card.
- A download from the card that failed went back to Download, saying
  why only on the status line: why is said under it, as Settings does.
- Asked by voice while that voice downloaded in this window, nothing was
  said: the card now shows how far it has come, and Cancel. Downloading
  in another window — or being removed — no Download is offered.
- Settings' Try failing was said on the Ask card too; and reading aloud
  turned off in another window left this window's notice up. Neither is
  so now.
- Supertonic 3's description said "Qwen3-TTS, once downloaded, reads the
  ten it speaks" — they share nine — and not that Chinese is not among
  its 31: "A smaller download for 31 languages, including English,
  French, Korean, Japanese, Dutch and Arabic, but not Chinese. If
  Qwen3-TTS is downloaded too, it reads the languages they share."
- A voice downloaded said "answers to what you ask by voice are read
  aloud" whatever Read answers aloud said: now as it says — every answer,
  those to spoken questions, or only that the voice is ready.

The notice is Speech::blocked now, not "unheard", which already named the
recordings waiting to be transcribed. Docs say the card offers the
download too. Tested: the notice's life (each answer, put away, other
voices downloaded, a download here, Try, another window) and the card
itself, in iced's simulator — wording, Download, ✕, a failed download.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…g spotter gives up, saying why

Three things the last change to "Hey, Clew" left wrong:

- Woken by a phrase too soft to listen to. The spotter now brings what it
  hears up as much as +24 dB; listening does not, and counts nothing
  under −50 dBFS as speech. Said at −60 dBFS, "Hey, Clew" woke Clew 75
  times in 80, and what was said next was not heard: nothing was
  written down, and listening ran on for three minutes. Of the same
  recordings, listening hears 3 in 80 at −60 dBFS, and 79 in 80 at −52 —
  where the spotter's gain took the phrase from 67 heard to 79. A call
  is now taken only when the two seconds that end with it hold speech
  as listening hears it (audio::holds_speech, what it ends a recording
  by); else, as a call it was not, waiting goes on afresh.
- "Three failures in a row end the waiting" could never happen: a
  spotter started again always hears its first pieces, so one that fell
  behind every few seconds — a computer too slow for it — was killed and
  loaded again forever, and nothing said why. It had ended the waiting
  at once before. Now three failures within a minute end it, saying why;
  one now and then is still taken for a moment's trouble. A spotter that
  ended by itself is counted too: it was started again without a word.
- A loud sound — a loud "Hey, Clew", a door — held the gain down for
  some seconds of the next waiting, even minutes later: the level fell
  back only as audio came. A while with nothing heard is now taken for
  as long a quiet.

Tests: a phrase too soft to listen to is no call, and one as loud as
listening hears is; failures far apart are forgotten, three close
together end the waiting though the spotter heard between them (the
test's spotter is let go of as it fails, as the real one is); the level
after a minute unheard. Each fails without its change. The docs say how
quietly the phrase can be said.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Imported for the download-finished message, ReadAloud made the two links
that spelled out its path redundant, which rustdoc denies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…needed that is not; wake errors translated

A review of the last two changes found:

- The notice that a voice is missing outlived its answer: over a typed
  question's answer, which Clew does not read; in a new session; over an
  answer stopped before a word. It belonged to no answer — it was
  cleared only when another answer began to be read. It now names the
  answer it is of (Blocked::Missing { stream }) and is said while that
  answer is the last (App::blocked_now) — or while the next is read and
  its first sentence has not yet said whether it is kept too: taken away
  at its first token and put back a second later, it made the answer
  under it jump. A voice for that sentence takes it away; another
  missing, it is said of that answer.
- "{model} is needed to read answers aloud", with no voice here, was not
  so: Supertonic 3 reads English too, a fifth the size. "To hear answers
  read aloud, download {model}" — Qwen3-TTS, the best of them. With a
  voice here, "… is needed to read this answer aloud" is so, and stays.
- Settings' Try heard took away an answer's voice failing — Try may be
  another voice; and an answer begun while Try's sample was made had its
  failure said on the card. An answer now stops Try, and Try heard says
  nothing of answers.
- The wake errors 6378642 made reachable — "the keyword spotter fell
  behind", "… stopped taking audio" — were said in English: written
  where the message list's scan does not look, and the status line put
  the error in as written. Both are listed and translated; the status
  line translates it.
- The spotter's level took the whole time since the last piece for
  quiet, the piece that came late with it included.
- Supertonic's description: "it reads the languages they share" — which?
  "Qwen3-TTS, if downloaded too, reads the languages they share."
- What the card decides is decided once per frame drawn, each voice's
  files looked at once (it was up to four times); Read answers aloud
  turned off clears the notice in one place (Speech::answers_read), from
  this window and from another. A stale comment on the spotter loading
  again.

Tests: the notice of its answer — carried while the next is read, then
of it; not over a typed answer, nor after Stop, nor in a new session; Try
heard leaves an answer's failure said; the card's download row (how far,
Cancel); speech told at 48 kHz. Each fails without its change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
A stand-in clew-speak that says it is ready and exits: the next piece
handed to it fails, "the keyword spotter ended" (counted by the waiting
since 6378642), and the one after finds none running, to load anew.
Fails with the ended spotter passed over in silence, as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…y voice, heard

Waiting for "Hey, Clew" ended by failing left its switch on, saying
nothing of it: only turning it off and on again began it. Settings now
puts Try again beside what went wrong, while the switch is on. Not for
a microphone that would not open, which is tried again by itself.

The real speaker test (ignored; CLEW_SPEAK and CLEW_SPEAK_MODEL) takes
the voice CLEW_SPEAK_VOICE names, Qwen3-TTS by default, and holds what
it says to be heard, not silence as long as speech. Run with the real
clew-speak and Supertonic 3 as Clew pins it (every file checked by its
SHA-256): English and Korean said, loud enough to hear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…ase looked for further back

A last check of every earlier finding found all resolved but these:

- Asked again, the Ask card took the last answer's notice away (Stop, as
  a question is sent), put it back over the new answer at its first token
  — saying "this answer" of one that might be heard, in English — and
  took it away again at its first sentence: two jumps, and a second of
  something untrue. The notice is now said of the last answer only: gone
  when another is asked, back only if that one too is not heard.
- Read answers aloud set from every answer to spoken questions only left
  the notice over a typed answer no longer read: it is said only while
  the last answer is one read aloud.
- The status line still said "To hear answers read aloud, download …"
  with a voice here reading the rest: with one here it says, as the
  card, "{model} is needed to read this answer aloud".
- The check that the phrase was said as loud as listening hears looked
  at the last two seconds; the spotter may say it heard the phrase as
  late as the pieces queued for it — over a second on a busy computer —
  and a phrase said clearly could fall outside them, and be taken for
  too soft. It looks four seconds back (HEARD_SECONDS); what is kept to
  be worked out with what is said next is still the last two.
- Two doc comments on the wrong functions (speech_installed's on
  blocked_now, stop_speaking's on show_unheard).

Tests: not said of an answer not yet heard, then said of it; typed
answers no longer read; the status line with a voice here; a phrase told
of a step late still called, the lead still two seconds. Each fails
without its change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…o; the Stop case tested

9c0e4a8 left a redundant closure clippy denies (any(|m| here(m))):
any(&here). Its lint ran through a pipe that hid the failure; it is
checked by exit code now, workspace-wide as CI runs it.

A check of 9c0e4a8 found its tests weaker than said: the lead was held
to two seconds long, not to the newest two (kept from the start, it
passed); and "nor of one stopped before a word" passed before Stop was
pressed. The lead is now held to be what came after the phrase, said
softly; Stop is tested where it matters, on the answer the notice is of
— still not heard, still said. Blocked::Missing says it is said only of
an answer read aloud.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
… audio devices

Two tests, ignored unless pointed at what they need, that run the app as
it runs on a reader's computer — clew-speak found as Clew finds it, the
system's own audio output and input — rather than a test's voice,
speaker, microphone or spotter:

- a_real_answer_is_read_aloud: an answer to a question said aloud, read
  through to its end by Supertonic 3 (CLEW_SPEECH_MODEL), nothing said to
  keep it from being heard.
- a_real_microphone_wakes_clew: waiting on the default input with the
  Keyword Spotter (CLEW_WAKE_MODEL); "Hey, Clew" said to it starts
  listening; with CLEW_WAKE_NOT, what is said is not the phrase and
  waiting goes on.

Run on Linux through PulseAudio, a null sink for the speaker and one
whose monitor is the microphone: what the output played, recorded and
heard by Whisper tiny.en, was "The total adds every price. Then it
rounds the sum to whole cents." — the answer, word for word; "Hey, Clew"
played into the input woke it in 5.1 s, said 18 dB softer by another
voice (-42 dBFS at the microphone) in 4.1 s; eight other recordings,
"Hey Kyle", "Hey, cool", "Hey, true or false" among them, did not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…aited for is read once its voice comes; wake failures said apart

An independent UI/UX, content and wording review of the voice changes
since 0.2.3 found:

- The notice that a voice is missing went away whenever Clew spoke: with
  Supertonic 3 alone and an answer in Chinese and English, it came and
  went with each English sentence, the answer under it jumping, its
  Download gone from under the pointer. Only what was last heard gives
  way to Clew speaking now.
- The voice failing partway through a spoken question's answer was said
  on a card that stayed closed, and the rest of the answer was nowhere.
  The answer is shown, as one not heard is. The failure is said of that
  answer only, as a missing voice is: not over a typed answer Clew does
  not read, nor in a new session — it stayed there before. And it has a
  way on: Settings, where voices are tried.
- "Qwen3-TTS is needed to read this answer aloud" — Download — and once
  downloaded, that answer was never read. It is read now, if it is still
  the answer on the card and nothing else is being said.
- While the voice downloaded, the card still said to download it: it
  says it is downloading.
- The notice's ✕ said "Dismiss" — in Chinese, Japanese and Korean the
  word for Close, a few pixels under the card's Close — its tip over
  the card's header. "Hide this notice", its tip under it.
- The card's Download and Cancel are named by their model for the voice,
  as Settings' are.
- Settings' "Try again" beside a download's or removal's failure began
  waiting, not the download: waiting's failure is kept apart from them,
  and said as what it is — "Stopped waiting for “Hey, Clew”: …" — the
  switch, on, said nothing of it.
- "{model} is ready — answers are read aloud" of Supertonic 3 to a reader
  who speaks Chinese, which it does not read: "{model} is ready".
- "the keyword spotter fell behind" said nothing of why: "could not keep
  up — this computer may be too busy". "stopped taking audio" →
  "stopped accepting audio", here and in Smart Turn's message.
- Japanese and Korean for Supertonic's description read as word for word.
- The docs' "set there too" pointed at the Ask card.

Tests: the notice said while Clew speaks; Downloading on the card;
Settings from a failure; a failure said of its answer, shown, not in a
new session nor over a typed answer; the answer read once its voice
comes, not once another is asked nor with the card closed; waiting's
failure said with Try again, apart from a download's; removal clears it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…ve what they say; a spotter's last words kept

An independent logic, architecture and test review of the voice changes
since 0.2.3 found, beyond what 88777b7 fixed:

- The ✕ put away whatever notice was there when its press was handled —
  one said since the card was drawn, unseen, put away for the window.
  It names the notice it is on, and hides only that one.
- Settings' Try was taken for still speaking after it was all said; and
  that an answer asked while Try is heard stops it — and is said of on
  the card when its voice fails — was not tested. Try ends with what it
  said; it is.
- "A voice is here" meant two things: the card took a voice being
  downloaded or removed in another window for one here, the reader did
  not. One definition (usable), for both.
- Untested: a notice not said of an answer other than its own — the next
  stopped before its first word — and none while the voice it offers is
  got in another window. Both are.
- a_real_answer_is_read_aloud passed with a sentence left out, or
  silence played, and spun a minute when nothing could be said. It
  counts what the output is given — seconds, and how loud — stops as
  soon as the answer is kept from being heard, and takes its voice as
  clew-voice's test does (CLEW_SPEAK_MODEL, CLEW_SPEAK_VOICE).
- a_real_microphone_wakes_clew said "waiting" before the spotter had
  loaded, took waiting that failed for waiting on, left the spotter
  running, and claimed a microphone it did not check. Both real-device
  tests, and clew-voice's real speaker test, say they are skipped when
  not pointed at a model, rather than panic.
- A spotter that heard the phrase and then ended lost it: what it said
  last is read before it is let go of. Its test waits for it to end,
  not for 300 ms.
- adopt_voice_prefs, which takes another window's voice settings, is
  in voice.rs, beside them; stale comments on give_up_speaking and
  Speech::blocked say what they do now.

Measured, not changed: the spotter's two streams hear 60 s of audio in
2.5 s here — a real-time factor of 0.04 — so the stagger leaves room on
slow computers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
96c906b put the notice in VoiceMsg::DismissBlocked, which is pub, while
Blocked was pub(crate): `private_interfaces`, an error under the
workspace lint (-D warnings). It is pub, as Audio and Opened — which
VoiceMsg carries too — are, in the crate's own speech module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
How it is most often said: waiting a while, nothing heard, the spotter's
gain risen to its most (+24 dB, at 6 dB a second) — and only quiet
before the phrase of 0.5 s to 2.7 s was tested. Measured here with
clew-speak and the model on the 80 recordings of "Hey, Clew": heard 78
times in 80 after 0.5, 2, 4 and 6 s of quiet alike; none of the other
speech heard as it, after 0.5 s or 4 s. Now 6 s is among the moments
each recording is said at.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
… call

The real-model test, given a long quiet before each recording too (as the
phrase is most often said), was woken once in 908 by other speech: "Hey,
cool, it works now", after 6 s of quiet. The spotter's threshold does not
part them: raised until it is not woken (0.45), it misses 17 more calls
in 320; at 0.42 it misses 8 more, and is still woken.

What woke it went on to listening, and listening acted on it: what was
heard with the call, its name not in it, was kept whole — "Hey, cool, it
works now" asked of Ask, a paid call — and so was all said after it, for
three minutes, as Clew went on listening.

Whisper, given Clew's name as it is, already writes it: "Hey, Clew." 20
times in 20 recordings of the call (tiny.en, the smallest model), and
"Hey cool it works now", "Hey Kyle, look at this" of the near misses.
So the call is taken only when what was heard with it holds the name
(spoken::named_in, which after_name now uses): otherwise nothing of it
is done, nor of what was heard since, and the microphone waits for the
name again. Nothing written down is no sign either way: listening goes
on, as before.

Tests: a near miss that woke the spotter asks nothing and waits again;
nothing written down listens on; the name heard, or not ("clueless"
holds no "clue"), in English and Chinese. The docs say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- The idle test's listening heard "open settings" after a call; what is
  heard with a call holds the phrase, the moment before it kept: "Hey,
  Clew, open settings", which is still "open settings" once called.
- The new near-miss test called at the first piece after loading, as the
  idle test does; named_in's test imports what its Chinese case needs.
- The real-model test measures the spotter alone, which is not the last
  word: what it takes for the call is no call without the name. Its bar
  for other speech is now that of a first stage — at most once in 500 —
  as measured: once in 908, "Hey, cool, it works now" after a long quiet;
  made deaf to that, it missed 17 more calls in 320.

Tests: the app's voice, spoken, wake and speech tests, 145 passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- Settings' Try says nothing with a voice still downloading or being
  removed: it checks the voice is usable, as reading does.
- The Ask card keeps what was heard on show while Clew speaks, beside
  any notice of a voice that is missing or failed.
- Tests: an answer is read once its voice arrives only if nothing is
  said over Clew and it was not stopped; the real read-aloud check
  compares what was played with the answer's sentences; a voice
  downloaded says what it now reads, in English and Chinese; the real
  wake check can transcribe with Whisper to prove a real call keeps
  listening; a spotter that heard the phrase just before it ended
  reports it; real-model tests skip cleanly without their models.
- Docs: a voice is read once downloaded only for the answer still on
  the card that was not stopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Clew woke by something like "Hey, Clew" ("Hey, cool, it works now")
used to stop speaking for good, and short near misses could leave a
whole session open with nothing checked. Now:

- Every utterance heard after a call carries that call until Clew's
  name is heard in one: its words prove the call or end it, and only
  that call's utterances are let go of — listening begun since by the
  voice key or another call is left alone.
- What was heard with the call is worked out on its own after a quiet
  spell instead of being dropped, so a lone near miss is caught too.
- The moment kept from before the call reaches as far back as the
  phrase is looked for (4 s), so a late spotter no longer cuts the name.
- Clew speaking, or an answer on its way to be read, is held while the
  call is checked — the microphone open even when Clew is not talked
  over — then stopped if it was a call, or goes on where it was.
- The name is heard in every language Clew is shown in ("嘿,克鲁" with
  English shown); spellings other than "Clew" count only as a call is
  said, so "no clue why" calls no one. Korean adds 크루.
- A call that was not one says so: "Didn't hear “Clew” — waiting for
  “Hey, Clew”".
- A microphone that will not open to wait stops waiting with Settings'
  Try again; turning waiting on no longer wipes a download's failure.
- A hold now works before anything plays: the output opens held.
- Wording: ja "この通知を隠す" and the spotter message, ko and fr
  spotter messages, docs ("Settings" button, the paused near miss).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- A call whose microphone will not open lets go of Clew's hold at
  once, rather than when the hold runs out.
- The real-microphone check of a near miss now also passes when the
  spotter wakes and Whisper's words then show it was no call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- The voice key pressed while Clew is held for a call takes the
  listening over: the call's words, if no call, end nothing of it.
- Nothing said for 2 s after a call, what was heard with it is worked
  out on its own — also with Clew not talked over and an answer on its
  way, where it used to be dropped unchecked.
- A call proven after Clew went on by itself (held too long) still
  stops it; a hold that words said over Clew began since is left to
  those words.
- Words that prove a call later are cut after the name, as the call's
  own are; what was said after a call that was none is still worked
  out, and is a call if it names Clew; "Bye, Clew" counts as said to it.
- Every spelling of the name, "Clew" included, counts only as a call is
  said: "no Clew why it broke" calls no one.
- When waiting cannot begin again, the status says why.
- not_called sits beside prove_call; the lead is all that was heard
  last; comments, docs (what is kept once called; which language the
  name may be written in) and the new key's place in the catalogs.
- Tests for each, and for a voice that opens held.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- The call proven after Clew went on by itself is worked out from words
  cut before Clew went on, so only the call can stop it.
- A call proven by later words checks what was heard: what followed
  the name, not the whole sentence.

Both now fail without the change they cover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- Words said over Clew during a call's check that hold it, and turn
  out to be no call, let it go on at once — not after the 12 s hold.
- The voice key pressed while someone is still being heard checks
  what they are saying as the call's, so a colleague's words are not
  asked of Clew; what follows the press is the reader's.
- A call given up on, then named in what was said next, has Clew stop
  and listen again, as for any call.
- What was heard with the call is worked out on its own after a 2 s
  quiet without touching what the microphone is hearing, so words just
  beginning are not cut in two.
- "Clew" said first counts without a mark after it; ヘイ (ja) and
  嗨 (zh) are call words.
- Docs: the last few seconds, the phrase among them, are what is kept
  once called; the call, not just the name, may be in your language.
- Tests for each; one shared settle helper for the app's tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
The test now checks what was heard after the press and that nothing
was asked, so it fails if the words being said at the press are not
checked as the call's (Ask opening Settings for want of a key had let
it pass).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- "Clew" said first counts as a call only with a mark after it again:
  "Clew keeps crashing on my machine" is said of Clew, not to it.
- Only the words that held Clew decide whether it goes on; words said
  over it that are let go of unheard (listening ended) let it go on.
- A call given up on restarts listening, once named after all, only if
  its own listening was what ended — not after the microphone was
  turned off, waiting switched off, or listening began since — and only
  with a model to hear with.
- The voice key keeps checking the taken-over words against Clew's own
  voice.
- Tests: two holds at once, words let go of unheard, the microphone
  turned off meanwhile, the lead worked out without touching what the
  microphone hears, Clew stopped for a call named late; checks on what
  was heard rather than on Settings being open; the key pressed
  mid-utterance in a test of its own. Stray doc comments removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
"Hey, Clew" starts listening and "Bye, Clew" stops it, said as they are
whatever language Clew is shown in: the call and goodbye words are no
longer translated catalog entries. What whisper writes for them in each
language (克鲁, 클루, クルー, 拜拜, バイバイ…) is a fixed list in spoken.rs.

- "Stop listening" no longer stops listening. The microphone's button
  keeps its label and jump-mode name but is not offered to be said, and
  the voice key's "Talk" is never matched to speech either.
- A "Hey" whisper heard as another word counts only for the measured
  renderings ("Et Clew", "ネークルー", "Hay Clew"), first in a sentence,
  and a plainly heard "Hey, Clew" later in what was said wins over it:
  "the clue is here" and "No clue why" are no call.
- Settings, the docs and the four catalogs say "Bye, Clew" only.
- After a voice is downloaded, only the sentences that went unsaid for
  want of one are read, not the whole answer again.
- "Bye, Clew" said over Clew lets it go on reading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- The microphone's tip while it listens reads "Stop listening — or say
  “Bye, Clew”", as the button at rest reads "Talk — or say “Hey,
  Clew”" while Clew waits. Its jump-mode name stays "Stop listening".
- Tests: only the sentences that went unsaid are read once their voice
  is downloaded; "Bye, Clew" said over Clew lets it go on reading.
- The opt-in real-Whisper test of calls in English, French, Japanese and
  Korean asks for Clew's name in nine calls of ten. Whisper Small on the
  synthetic calls finds it in 26 of 28. The two misses are one clip
  written "Crew 設定を", which is not taken for the name, as "Hey crew,
  let's go" must not be.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Logic
- What words heard mean for Clew's speech and the microphone is decided
  by one rule (`spoken::says_bye` and `what_is_said`), wherever they are
  heard. "Bye, Clew" said over Clew while listening, or after the call
  in one breath ("Hey, Clew. Bye, Clew."), lets it go on reading. A
  call given up on and then proven by "Bye, Clew" no longer restarts
  listening or stops Clew.
- Words said over Clew are always checked for being Clew's own words
  heard back, even when another hold has begun since.
- Clew's name is a word of its own in every script: "クルーズ",
  "클로이" and "克鲁斯" are not it. Korean "클루야" is a call. 크루
  ("crew") is no longer taken for the name. "・" separates words.
- A call is looked for within its sentence: "I said hi. Clew crashed"
  is no call; "Right. Clew, open settings" is. The "Hey" whisper heard
  as another word ("Et Clew") is put aside after a call too.
- Stopping Clew drops what went unsaid of that answer. Sentences that
  went unsaid are said after what is being said when their voice comes
  mid-answer, instead of being lost. The queue only ever holds the
  newest answer.
- The command bar's "Talk" row is not matched to speech. A said "Stop
  listening" asks nothing, and the status says "Say “Bye, Clew” to stop
  listening".
- Turning the microphone off ends the call it was proving. A call taken
  over by the voice key makes the listening the reader's, which does
  not go back to waiting after three idle minutes.

Wording and docs
- The docs say "Bye, Clew" also stops listening begun by the key, that
  the voice key's Talk and the microphone button are not said, and that
  both phrases are said in English whatever the window's language.
- "bye Clew" finds the call-by-name switch in Settings' search.
- French puts no-break spaces inside « ».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Logic
- Turning the microphone off cuts what it is hearing first, while it is
  still the call's, and only then ends the call. Words that came with a
  call that named no one are not run, and Clew's hold for the call is
  let go.
- Stopping Clew drops what went unsaid of the answer only when something
  of it was being said or was still coming. Settings' Try, or a question
  typed, with Clew silent, leaves it to be read once its voice comes.
- Unsaid sentences whose voice comes mid-answer are said next, in their
  place. When someone is being heard and Clew is silent, they wait
  rather than sit in the queue unplayed.
- "Stop listening" said over Clew lets it go on, like "Bye, Clew", and
  "Stop listening, Clew." gets the same hint.
- 克鲁 or クルー followed straight by what is said ("嘿克鲁格式化这个文件",
  "ヘイクルーファイルを開いて") is a call. Only the sounds of a longer
  name (克鲁斯, クルーズ) are taken for another word.

UI and wording
- While Clew speaks on after "Bye, Clew", the pill shows what came of it
  before it shows Clew speaking.
- The listening line says how to stop: "… — or “Bye, Clew” to stop".
- Korean and Japanese say "Say “Bye, Clew” to stop listening" as a
  request. French puts no-break spaces before : ; ! ? too.
- The docs say that "Bye, Clew" ends listening only, that Talk and the
  microphone button are not said, and that what went unsaid is read next
  once its voice comes. The English and Chinese sentences now read
  clearly.

Tests: words cut by turning the microphone off still prove their call;
Clew's own words naming it are no call; the label said over Clew lets
it go on; a new answer takes over what was left of the last; Try keeps
what went unsaid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Logic
- What went unsaid of an answer whose voice comes while Clew may not
  begin to speak (Settings' Try speaking, or someone being heard with
  Clew silent) is put off and said once Clew may, instead of being lost.
  The unreachable fallback that would have re-read a whole answer is
  gone.
- "Bye, Clew" lets go of what was said after it, whether still being
  heard or waiting to be worked out, so words then said to someone
  else in the room are not run.
- "Hey, Clew, stop listening" said over Clew lets it go on too. One rule,
  `spoken::leaves_clew_speaking`, decides that for a call and for words
  said over Clew alike.
- A Chinese, Japanese or Korean name running straight on into more of
  its script is taken for a longer word ("クルーネック", "克鲁格"), as
  Whisper writes a call with a mark or space after the name.

Wording
- The listening line reads "Listening… say a command or question —
  “Bye, Clew” stops listening", so it no longer sounds like stopping
  Clew's reading, and is shorter in every language.
- The docs' Voices paragraph about downloads reads plainly.
- French literals (":123", "!#$%…", "!, gen_server") keep plain spaces.

Tests: unsaid sentences are said in their place, before what of the
answer waits; they wait for Try or for the reader and are then said;
what is said after "Bye, Clew" is not done; the voice key lets go of a
call's hold; "stop listening" called over Clew lets it go on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
RutaTang and others added 29 commits November 18, 2026 03:50
While a question waits, whatever opens with a yes or a no is taken as
said to it, and held until it is answered plainly; nothing of it is
sent to Ask. The narrower list of plain answer words let answers
through: "Don't run it" said to a language server's command started an
AI call behind it, and "Allow it" said early to an agent's card was
queued for the agent.

- The status for more said than a yes or a no now says what happened:
  "A question is waiting — answer it first with a plain “yes” or “no”".
  It no longer told "Okay, why that file?" not to ask a question.
- A yes or a no, with more or alone, the question has no answer for
  asks for the words on the answer's button, once: it promised a plain
  "no" the card did not have.
- An agent's own answer named like a word that puts away ("Cancel") is
  pressed when said with its card in view: Ask was put away instead,
  and the card came back held, round and round.
- zh 不是 and ja ううん are no's, so said alone they answer.
- Explain All on a folder with no code says so when Explain is said,
  not that nothing is left to explain.
- Docs, en and zh: the rule, its statuses and examples, stated as the
  code does them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- An agent's answer named like a word that puts away ("Cancel") is
  pressed only where that word would put Ask itself away: the find bar,
  Time Travel, a peek or the tour open over the card go first, as Esc
  takes them, and the card's answer is left alone. Before, "cancel" said
  to close the find bar declined the agent's tool call.
- "Said as a question" is the reason only for an answer that allows: a
  decline asked ("No?", "Decline?") for a card out of view is held as
  not yet read, and is taken once in view. The reason now reads "To
  answer, say it plainly — not as a question", which fits an answer
  named ("Always allow read_file?") as well as a yes.
- Docs, en and zh: no promise the status does not keep ("say the rest
  after"); how an answer named "Cancel" is given.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- What a word that puts away closes now follows Esc's order: an open
  drop-down first (voice left it open), then the tour, a dialog or menu,
  the large Ask, Time Travel, the find bar, and Ask's menu of sessions
  before the card. An agent's answer named by the word ("Cancel") is
  given only where the word would put Ask itself away: with the menu of
  sessions or a drop-down open over the card, "cancel" declined the
  agent's tool call instead of closing them.
- The answer is found among all of the card's answers, those given by
  their words alone ("Always reject" named "Cancel") too, on every page:
  drawn, it is pressed; a page further, the card turns to it and it is
  held as not yet read. Before, an "always" answer named "Cancel" put
  Ask away, came back held, and went again, round and round.
- Docs, en and zh: "once nothing Esc would close before Ask is left
  open", naming what that is; the zh example shows the agent's label as
  it is shown ("Cancel"), not a translation the card does not have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
- "cancel", "never mind" or "close" said over Clew — begun as it
  spoke, or with a "Hey, Clew" that held it — stops it, as Esc does
  first, and does nothing more. Said to stop Clew reading, it declined
  the agent's tool call too, or put Ask away. A command waiting for a
  yes still takes it as its "no", as it takes Esc.
- An open drop-down, or jump mode's codes, is put away before anything
  else, inside a dialog too: "close" with Settings' Language drop-down
  open closed Settings, and "cancel" pressed a download's Cancel under
  it. Jump mode's codes were never put away by voice at all.
- The agent's card's answer is named among the card's own answers: an
  update download's "Cancel" on screen made the name stand for neither,
  and the card's answer was held as too soon, again and again.
- Docs, en and zh: the table says a closing word said while Clew speaks
  only stops it; the card's named answer waits for what Esc takes first
  "and, under a small card, Time Travel or the find bar"; the zh
  example's spacing.
- Tests: an update's "Cancel" beside the card's, jump mode and a
  drop-down in a dialog, "Hey, Clew, cancel" said over Clew with a card
  waiting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
"Hey, Clew, close" said while an answer was only coming to be read
aloud (nothing of it heard yet) was taken as said over Clew: it closed
nothing and the status said "Stopped speaking". A call now remembers
whether Clew was speaking when it was made, and only then are its words
said over Clew.

A closing word said over Clew with a command waiting for a yes dropped
the command without a word. It now declines it, as Esc does, and says
"Didn't run …".

Tests cover the answer-coming call, the talk-over arm with no call, and
a command waiting under it. The zh docs row reads more naturally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Clew counted as speaking whenever its speaker was open, which includes
two silent stretches: while its first sentence is still being made, and
up to five seconds after it has said all of an answer so far while it
waits for the rest. Words said then were taken as said over its voice:
- "Hey, Clew, cancel" with an agent's card waiting only stopped a Clew
  that was already quiet, instead of answering the card; a few seconds
  later the same words answered it.
- A call or talk-over repeating Clew's last sentence ("Hey, Clew, open
  settings" after Clew taught it) was dropped as Clew's own echo,
  though there was no voice to hear back.

Speech::heard() now says whether anything is audible: the speaker
open, and quiet for less than the device's own tail. Each hold records
it, and both the call and the talk-over decide "said over Clew", and
check for an echo, from that record.

The comment on the closing-word branch and the docs row say that a
command waiting for a yes is declined too. Tests cover a call and a
talk-over in the silent wait, and a call that repeats Clew's words
while an answer is coming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
97fa3e9 used one notion, "Clew is heard", for two questions:
- Does "close" mean "stop Clew"? This must follow what the window shows
  and what Esc stops. While Clew waits, silent, for more of an answer,
  the window still shows it speaking and Esc stops it first, yet "cancel"
  answered the agent's card instead.
- Could the words be Clew's own voice, heard back? That is physical, and
  the moment of the call was the wrong time to ask it:
  - A cough in a silent stretch, transcribed as nothing, now stopped
    Clew and dropped the rest of its answer.
  - Clew's own "…say Hey, Clew", told of by the spotter a second late,
    found Clew already quiet and woke it.
  - Making the next sentence counted as being heard.

The two questions are answered apart now:
- "Said over Clew" is again `is_speaking()` when the words began or the
  call came, as the window and Esc have it.
- `Speech::last_heard` records when something last played. It is set by
  the speak tick, a hold and a stop, and ignores sentence-making.
  `heard_within(lag)` asks whether Clew was heard within the time that
  can still be in what was kept: the call's lead (`HEARD_SECONDS`, even
  with the speaker closed since), or the lead kept before words said
  over it.
- Only then are words checked against Clew's last sentences. With no
  voice to hear back, nothing heard lets Clew go on, as before.

The tests cover these cases:
- "close" in the silent wait stops Clew, as Esc does.
- A late-told self-call is no call, with the speaker open or closed.
- In the silent wait, repeated words are the reader's, and a cough lets
  Clew go on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
32b1b88 checked a call for Clew's own words whenever Clew had been heard
within the whole 4 s kept of it. So a call Clew had just taught ("…just
say Hey, Clew, open settings"), said 2 s after Clew fell quiet, was taken
for its echo: "Didn't hear Clew". The spotter now records when the piece
it told of the phrase in began to be heard. Clew's voice can only be in
the call if Clew was heard since then, plus the phrase's own length.

Also from the review:
- With Talk over off, a call heard while Clew waits silently for more is
  no longer dropped as its voice. The gate asks the same question as the
  echo check.
- The call's echo flag travels on `Said`, read once with the words it
  belongs to, and `prove_call` takes it. Talk-over's flag is paired with
  `over_from`, so the two cannot drift apart.
- A comment no longer claims a closing word over Clew acts "as Esc
  does": Esc closes a dialog first.
- Docs, en and zh: Clew's own "Hey, Clew" heard back is no call. An
  agent's "Cancel" said while Clew speaks only stops Clew.
- Tests:
  - A taught call is taken.
  - A call in a silence with Talk over off is taken.
  - Talk-over just as Clew fell quiet is still checked for echo.
  - A late self-call gives "Didn't hear Clew", and Clew goes on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of e8f96d5:
- With Talk over off, the gate that drops a call as Clew's own voice
  fired for any call within the echo window, even with Clew's speaker
  closed. A quick "Hey, Clew, …" just after Clew finished vanished with
  no word. It now drops only while Clew speaks. Once Clew is done, what
  is heard with the call decides, as before.
- The 4 s kept of a call could still hold Clew's last words from before
  the call's own window. A reply to "…just say Hey, Clew, open settings"
  was then worked out with Clew's sentence in front of it. For a call
  Clew's voice was not heard in, what was heard while Clew could be
  heard (its device's tail too) is now left out of the lead. Where
  Clew's voice may be in the call itself, the lead stays whole, so its
  words can tell.
- The spotter records when its piece was taken and how long it was.
  `told_since` and the `PHRASE` doc now say what they bound, including
  the spotter's own delay.
- zh docs: "在 Clew 说话时说这个词".
- Tests:
  - A quick call with Talk over off is heard.
  - The lead is cut where Clew was last heard.
  - A late self-call in a 2 s piece is still an echo, with its lead
    kept whole.
  - The silent Talk-over-off call keeps listening, then stops Clew.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of 94bacb8:
- The spotter's answers do not say which piece they belong to; up to
  8 pieces can wait to be written to it. A lagging spotter could
  therefore make the time-based cut of the lead remove the phrase
  itself, losing a real call. A cut safe against that lag would have
  removed almost nothing. The cut is gone: the lead is kept whole
  again.
- What it was for is done on the words instead:
  - A call's transcript starts at the last sentence that calls Clew,
    when what comes before it is Clew's own last words heard back. For
    example, "Just say Hey Clew, open settings. Hey, Clew, open
    settings." is read from the second sentence.
  - Only whole sentences are skipped, and only before a call. Words of
    the reader's own are kept.
  - There is no timing in it, so a lagging spotter cannot cost the
    phrase.
- When a call is turned down as Clew's own voice heard back, the status
  says "Waiting for “Hey, Clew”", not "Didn't hear “Clew”". Clew did
  hear its name, in its own voice.
- Docs:
  - With Talk over off, a "Hey, Clew" said while Clew's voice is heard
    is taken for its own (en and zh).
  - zh line 24 reads "需要你先确认的命令".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of 6ead03c:
- The sentence skip ran before the call was judged. Clew's own "…in
  Settings. Hey, Clew." heard back was then cut to "Hey, Clew.", too
  short to be taken for Clew's words, and Clew woke itself. Whether a
  call is one is now judged on all that was heard. The skip only
  shapes what is done once it is proven, after the talk-over check too.
- Each run of skipped sentences is judged on its own. The reader's
  short sentence after a long one of Clew's is kept, as the comment
  says.
- A mark ends a sentence only with a space or the end after it, so
  "cart.py" is not split. Chinese and Japanese marks, written unspaced,
  still do. The marks come from `spoken::sentence_end`, not a copy.
- The status for Clew's own voice is chosen inside `not_called`, so it
  is never written for a call already let go of.
- `told_at` is back to one instant, `told_from`.
- Tests:
  - Clew's own sentence and call heard back is no call, with the quiet
    status.
  - The reader's sentence after Clew's is kept.
  - A dot with no space after it splits nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of 0a706c6:
- A call is now judged on all that was heard. A real "Hey, Clew, …"
  said over Clew's voice, with what was left of it heard too, could
  then be outweighed by Clew's words and taken for Clew's own. It is
  now Clew's own only if all of it is mostly Clew's words, and also
  what is left once Clew's sentences before a call are skipped. When
  what is left is too short to tell, all of it decides, so Clew's own
  "…Hey, Clew." heard back is still no call.
  `voice::clews_own` holds this one rule, used by `prove_call` and the
  talk-over check.
- "Bye, Clew" after Clew's own sentence, kept from before a call, was
  never reached by the skip. Clew's "open settings" then ran and
  listening went on. The skip now also stops at a sentence that says
  "Bye, Clew".
- A sentence closed by a quote or bracket ends past it, so
  `Just say "Hey Clew, open settings." Hey, Clew, …` is split.
- The comment on the skip now says what a run is.
- Tests:
  - A call over leftover voice is taken.
  - "Bye, Clew" after Clew's sentence ends listening and runs nothing.
  - `clews_own` is checked both ways.
  - Quoted and Chinese sentence ends are covered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of 6262cf8: judging Clew's echo by word overlap, on
the whole text and then again on what was left, kept turning on a
misheard word or a bare "Hey, Clew". The spotter only wakes on the
phrase, so Clew's own voice can only make a call when Clew said "Hey,
Clew" itself.
- A call is now Clew's own only if Clew named itself as a call in its
  last sentences ("…just say “Hey, Clew”"), and what was heard is
  mostly its words.
  - A bare "Hey, Clew" after what was left of Clew's other words is
    the reader's.
  - Clew's own "…Hey, Clew, start listing." heard back, one word
    misheard, is still Clew's.
- Talk-over goes back to the parent's whole-text check, so what is
  judged and what is acted on are the same text.
- "Bye, Clew" and what lets Clew go on reading are told past Clew's
  own words kept from before the call. "…open settings. Bye, Clew."
  ends listening and leaves an answer on its way to be read, as
  "Bye, Clew" does.
- Tests: `clews_own` covers the review's cases, and "Bye, Clew" after
  Clew's sentence lets a coming answer be read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of c24ad44: Clew teaches "Just say Hey Clew, open
settings." and the reader says it within the seconds kept with a call.
What is heard then holds Clew's sentence and the reader's call, mostly
Clew's words, so the reader's call was taken for Clew's own and
dropped.

A call is now Clew's own only if what was heard calls Clew no more
often than Clew's last sentences did. A call more is the reader's, even
word for word. Clew's own sentence naming itself twice, heard back,
still counts as Clew's.

The comment on the skip now says what is judged on all that was heard:
whether Clew's own voice made the call.

Tests: `clews_own` covers the taught-then-said cases and Clew naming
itself twice. A call said just after Clew taught it, with Clew's voice
in it, is the reader's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…s it

Whether a call heard with Clew's voice is Clew's own was judged against
the calls in all of its last sentences, kept across answers. A call Clew
taught a while before — "Say Hey Clew, stop, or press Esc." — made the
reader's own "Hey, Clew, stop", said over Clew's next sentence, look like
Clew's echo, and it was dropped.

At the call, Clew now counts the calls in what it played since the
phrase may have begun (Speech::said_within), and only that count can
make a call its own. The count rides with what is heard (Said::named),
so a later call cannot change it.

"Stop", "be quiet", "that's enough" (and their French, Chinese, Japanese
and Korean words) said while Clew speaks now stop it as Esc and "cancel"
do; they were sent to Ask, whose answer Clew would then read aloud.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- "Stop" said while Clew speaks now also stops an answer still being
  written, as Ask's Stop does — it used to press that Stop when the card
  was open, and the last change had it stop only the voice. Said while
  Clew is silent, a Stop on screen (the debugger's) is pressed as any
  button is; with nothing named by it, a bare "stop" is never asked of
  Ask: it stops what is being written, or the status line says there is
  nothing to stop. It is also a "no" to a command that asked first.
- "Okay, stop", "Stop, Clew", "Stop, stop", "Stop please", "No, stop"
  and "Shut up" are heard as "stop"; "arrête de parler", "停下来",
  "别读了", "読まないで" and "그만 읽어" were added.
- Which sentences Clew may have been heard saying as a call was made is
  now told by when each was last heard (marked as it plays, is held or
  stopped), not by seconds of audio counted back: a call made a second
  into a new answer no longer reaches the last answer's "Say Hey Clew".
- Stopped with sentences made ahead still to play, Clew forgets them:
  they were never heard, and are not taken for its words heard back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- "Okay, stop" to a command waiting for a yes ran it: "okay" opened it,
  and a yes was heard. A word that stops Clew is a "no" now, whatever
  it opens with.
- A sentence played to its end keeps when it was heard, though the next
  is queued and not yet playing: a new answer's first look no longer
  marks the last answer's "Say Hey Clew" as heard just now. A twentieth
  of a second of what is counted queued is taken for none.
- "もういい" is heard again: the words of the list are told as what was
  said is, repeats and words said to anyone aside.
- The speaker stopping with no other to open in its place: what it had
  left to play is forgotten as never heard.
- "Stop" while the agent writing the answer asks something stops only
  Clew: its question stays to be answered. And it stops only the answer
  being written: what was asked after it is still asked, not held out of
  sight.
- With nothing being said or written, the status line says Clew isn't
  speaking, not that there is nothing to stop.
- "Didn't run …" is said after the answer is stopped, not overwritten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- With the Ask card open and Clew silent, a bare "stop" pressed Ask's
  own Stop button: the agent's question was dropped and what was asked
  after the answer held — the opposite of what a stop word does with the
  card put away. A word that stops Clew now goes around that button, so
  what it stops is decided alike either way; "press Stop" still presses
  it.
- "Stop" said, Clew silent, while the agent waits on the reader's answer
  brings Ask back for it and says who waits, rather than "Clew isn't
  speaking"; said over Clew, it stops Clew and brings the question into
  view too.
- Tests: a question asked after the answer is kept, not held; the agent's
  question with Ask open and put away; "press Stop"; a sentence half
  played is marked heard by a real look at the speaker.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
The question asked after the answer is asked as soon as the answer
stops (here, with no model, it waits held, saying why); said over Clew
with Ask put away, a stop brings the agent's question into view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- "Okay, stop" said while the agent waits on an answer was taken for a
  yes to its question (it opens with "okay"): the card turned to Allow.
  A word that stops Clew is now heard before what answers a question.
- With the agent waiting on an answer, "stop" brings Ask back and says
  so, naming no one but the agent — it was "Clew is waiting…", read as
  Clew itself, even for an MCP tool — and says how to stop it instead:
  "press Stop", in each language's words ("appuie sur Arrêter",
  "按停止", "停止を押して", "중지 눌러").
- The docs say Ask's own Stop is pressed by "press Stop" on its card,
  where it is.
- Tests: "stop" with Ask open and an answer being written asks what was
  queued after it; "okay, stop" to a waiting agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- The hint "say “press Stop” to stop it" was not always true: with
  spoken commands off, a draft in Ask's field, Ask covered, or a run
  being debugged — whose palette "Debug: Stop" the words reach first —
  it pressed nothing, was asked of Ask, or offered to stop the program.
  The status line now only says the agent waits for an answer in Ask,
  which comes back with its question and its answers, a decline among
  them. The docs say no more than holds: while Clew is silent and nothing
  is being written, "stop" is heard as any command is.
- An answer the agent names "Stop" (or "Enough"), said while Ask is put
  away, is that answer again, brought into view — not a word that stops
  Clew.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- "Stop" said while an answer is being written, a program paused in the
  debugger, was taken for the palette's "Debug: Stop", which asked
  whether to end the program, and the answer went on. While an answer is
  being written, a word that stops Clew is that answer's now, before any
  command of its name; with none being written it is heard as any
  command is, as the docs say.
- The docs say what an answer the agent names "Stop" does: said, it is
  that answer — given with its card in view, brought into view with it
  put away.
- Tests: the debugger case both ways; the named answer with its card in
  view (given) and put away (held, the status saying why).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- An answer the agent's question offers by a word that stops Clew
  ("Stop"), said with a program paused in the debugger, was taken for
  the palette's "Debug: Stop", which asked whether to end the program.
  Such a word now looks to the question's answers first: given if its
  card is in view, else held for it and brought into view.
- The docs say what the same word does said while Clew speaks: it only
  stops Clew.
- The test of the named answer runs with a program paused, and checks
  that the answer being written goes on and nothing else is asked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- Only a word that stops Clew looked to the question's answers before
  the palette: any other answer named like a command still lost to it —
  "Continue", said to the agent's card with a program paused, resumed the
  program and left the question unanswered. Every answer the question
  waiting offers, said by its name, is now that answer first: pressed in
  view, else held for it and brought into view, as the docs say.
- The answer pressed is the very one named among all its card's pages:
  said "Stop", with "Stop (keep edits)" on the page in view and "Stop" on
  the next, the card turns to "Stop" rather than giving the other.
- Tests: "Continue" with a program paused, card open and put away; "Stop"
  on the card's next page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- "Cancel", a word that closes things, reached the agent's card by its
  own path, which still named the answer on the page in view first: with
  "Cancel (keep edits)" there and "Cancel" on the next page, it gave the
  one not said. It now names the answer among all the card's pages, then
  presses it where drawn or turns the card to it.
- The docs say that while a question waits, an answer it offers is given
  by its name before any command of that name — "continue" to an agent
  asking "Continue?" — and that "debug continue" still steps the
  debugger.
- Tests: which answer "Continue" gives; "debug continue" with the card
  waiting; "Cancel" on the card's next page. The test of words that close
  things draws its card for a question that really waits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
From the review of the last change:

- An answer is named by one helper now (App::answer_named), used by the
  question held, the card's "Cancel" and the step before the palette —
  the copies had drifted, which is how the last bug came about. It names
  the answer among all the question's answers, a card's every page; two
  named alike ("Cancel (keep edits)" in view, "Cancel (revert edits)" on
  the next page) are told apart by the one in view, as before, where
  matching across pages had matched neither and Esc hid the card.
- The docs say what the name of an answer does, plainly: given if its
  card is in view, else brought into view to be said again; a word that
  also closes things first closes what Esc would.
- Tests: two answers named alike, "Stop" and "Cancel".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
…s the page

The voice guide now says an answer named while a question waits is given
when its button is in view, else held with the agent's card turned to its
page; a word that also closes things first closes what Esc would. The tie
test now checks both pages, so a look-alike on another page is not taken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JJhW61edgoVZBStjCVuifR
@RutaTang
RutaTang merged commit 56a106c into main Nov 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant