The word that starts everything the visor says: an audible anchor for drawer announcements - #125
Merged
Merged
Conversation
… drawer announcements
The three-voice discipline is pixels, and a screen reader consumes no
pixels: app-frame text and visor speech arrive in one undifferentiated
stream, so an app could render a sentence that SOUNDS like the visor.
This gives the visor an audible anchor — a word rolled exactly once per
identity (EFF short wordlist 2.0, minus the visor's own spoken
vocabulary), persisted beside the anchor hue, spoken and never drawn:
it prefixes host-emitted drawer lifecycle announcements ("«word»:
storage picker open / closed / back", silent on suspend and rebuild,
plain "visor" before the claim), it never crosses the visor API, and
the settings sheet can say it or re-roll it but never shows it.
speak() becomes a dwell-paced FIFO so synchronous sentence pairs
(close→resume, teach→fresh-colour) both survive the live region.
Every drawer tenant now declares a spoken, framework-vocabulary label,
and a new e2e scenario pins the sentences, their order, suspend
silence, and that the word never reaches drawn pixels.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the audible anchor word — a per-identity provenance token for non-visual users, mirroring the anchor hue: rolled exactly once per identity by
claim()from the EFF short wordlist 2.0 (verbatim upstream, minus the visor's own spoken vocabulary), persisted under a new requiredVisorConfig.wordKey, and spoken — never rendered, never crossing the visor API — as the prefix of host-emitted drawer lifecycle announcements ("«word»: «spoken» open/closed/back", silent on suspend/update/rebuild, plain "visor" pre-claim).Why
The three-voice anti-spoofing discipline is pixels, and a screen reader consumes no pixels: app-frame text and visor speech arrive in one undifferentiated stream, and iframe boundaries are not announced — so an app could render a sentence that sounds like the visor. The word is unguessable by apps (audible-only, never leaves the device, visor-realm storage an opaque-origin frame cannot read), so its presence authenticates visor speech the way visor pixels do visually. Design record: new NOTES.md section "non-visual provenance".
How
speak()becomes a capped FIFO with a ~1.4 s dwell so synchronous sentence pairs (close→resume, teach→fresh-colour) both survive the live region.speakWord()/rerollWord()(unclaimed-throws, reroll guaranteed-different) back two settings-sheet buttons that say the word without drawing it.spokenlabel.drawer-announcementsscenario asserts the spoken sentences, their ordering, suspend silence, and that the word never reaches drawn pixels (the live region is exempted only while it measures as clipped).erase()clears the word key — a re-minted visor must not answer to the old word.Independent review: non-blocking; advisories addressed (phantom-"back" interplay documented at the eviction loop, e2e ordering assertion tightened to
lastIndexOf, pixel-probe scope note).Gates
just check— 9/9 invariantsjust site(deno check + bundles)just e2e drawer-announcements settings-identity storage-picker storage-page-navigation tenant-precedence visor-reset solo-persistence— all passing (re-run post-merge with main: drawer-announcements + solo-persistence)Automerge is armed (merge commit) per repo convention.