Status Draft. Protocol version 1 (sv1) of the Sloppy Voice v2 product
Date 2026-12-04
Depends on 00 (overview: §4.12 catalogue, SM-12, HP-8, HP-12 to HP-14), 01 (addresses, display names, links), 07 (W2 and W4 triggers, pins, verification), 08 (upgrade ceremony, recovery phrase, pairing, W8), 09 (join gates, upgrades, W5, W9, invites), 12 (DM security, W3, W7), 15 (calls, leases, auto-rejoin, diagnostics)
Also refers to 02 (discovery errors, links), 03 (userAction), 05 (sign-in, sign-up, devices), 06 (federation status codes), 10 (moderation notes, report disclosure), 11 (timeline), 13 (MLS client states), 14 (decryption outcomes), 16 (TalkState, userMuted), 18 (media-attestation reports), 19 (notifications)
Decisions used D-004, D-005, D-006, D-007, D-010, D-012, D-015, D-016, D-017, D-018, D-019, D-020, D-022, D-026, D-031, D-032, D-035, D-043, D-047, D-050, D-052, D-053, D-054, D-055, D-056, D-057, D-058, D-061, D-063, D-064, D-065, D-067, D-069, D-071, D-076, D-077, D-084, D-085, D-086, D-087, D-089, D-090, D-091, D-093, D-094
Owns The exact user-facing copy and presentation of W1–W9 (including W4a, W4b, W4c, W4d and W2's new-account wording), G1–G2, K1–K8 and M1–M11; the optional manual history-sharing screens (§5.1); the lock indicator presentation; onboarding and link UX; talk, mute and reconnect indicators; the web client hardening profile; the diagnostics consent UX; the vault setting w1_seen (08 §8.6.4)

Status and conformance

This document is normative for every client that has a user interface: the Full client and Web client conformance classes (00 §1.5). A Bot client has no user interface; for bots only §13 (how others see bots), §16 (if the bot SDK runs in a browser) and the diagnostics rules of §17.4 apply.

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals, as shown here. Grammars use ABNF (RFC 5234). Rationale notes start with "Rationale:" and are informative. "UX:" notes describe intent and are informative unless they contain a key word.

This document defines no endpoints, events, error codes or wire objects (00 §1.7 rule 3). It defines how a client presents what other documents define. Where another document gives "intended meaning" or example wording for a user-visible string, the reference English text in this document replaces that wording, and the meaning stays as that document defines it.

Proposed decisions made here are marked inline and summarized in §20.3.

1. Scope

1.1 What this document covers

  • The closed catalogue of user-visible security surfaces (00 §4.12, D-055): for each warning W1–W9, gate card G1–G2, timeline marker K1–K8 and UX moment M1–M11, the reference English text, placement, dismissal, frequency and state.
  • The never-prompt list (00 §4.12.5) as testable requirements.
  • The lock indicator.
  • Onboarding: first sign-in (00 F1), choosing an address, optional encryption, and saving the recovery key.
  • Links: opening sloppyv URIs and share links, join previews, deferred join when the app isn't installed, sharing.
  • Talk, mute and reconnect indicators, including D-012's "you're not being heard" state, the muted-after-rejoin state, and the reconnecting badge others see.
  • Recovery, pairing, reset and downgrade screens (HP-14).
  • Bot badges and W6.
  • The optional "Share earlier messages" action and the recipient's view (§5.1, D-007).
  • Non-security status lines that other documents defer to this one (§14).
  • Address and display-name presentation.
  • The web client hardening profile (D-065).
  • The diagnostics consent setting (§17).
  • Accessibility and localisation.

1.2 What this document doesn't cover

  • Triggers. When a warning is raised is defined by its owner: W1 and W5 and W9 by 09 and 00 (W9 for group DMs by 12 §11.1), W2 and W4a to W4c by 07, W4d by 05 (05 §12.12), W3 and W7 by 12, W6 by 09 and 12, K6 by 11 (withheldBeforeSeq), K7 and K8 by 14, W8 by 08. This document never adds or changes a trigger; it defines what the user sees once the trigger fires.
  • New warnings. The catalogue is closed (D-055). This document adds no warning, gate card, marker or moment.
  • Protocol objects, endpoints, events and error codes (00 §7.3, §7.5).
  • Notification and push text and the incoming-call notification (19), apart from the in-app incoming-call screen rules of §11.9.
  • Key storage mechanics on each platform (08). §16 adds only the web delivery profile.
  • What diagnostics contain and where they go (15 §14). §17 covers only consent and presentation.

1.3 Terminology

Terms from 00 §2 are used as defined there. This document adds:

Term Meaning
Surface Any user-visible element this document specifies: a warning, gate card, marker, moment screen, indicator, status line or hint. Every surface has a surface ID (§2.6).
Security surface W1–W9, G1–G2, K1–K8, the lock indicator, the screens of M4, M5 and M10 (§9.5, §12), and the encryption settings of §9.6. Only these may tell the user about a risk related to encryption, identity, keys or server trust.
Interruption A surface that takes the user's attention without being asked for: a modal dialog, an alert, a banner, a toast, an operating-system notification, a sound, a vibration, a badge or unread-count change, or moving focus.
Passive state A surface that changes only something already on screen at the place the user is looking at (an icon, a status line in a header, a participant badge), without sound, motion beyond a fade, or focus change.
Reference text The English text given in this document for a surface. Localised text MUST keep its meaning (§19.2).
Display form As defined in 01 §6.6: display-local form, @, displayed domain.
Person reference How a person is named in a surface (§2.4).
Banner A surface pinned at the top of one context's view (DM, group DM, channel), below its header, above the timeline.
Inline card A surface that replaces or sits inside the content area of one context or screen, in the flow of the page.
System line A centred, non-message line in a timeline, at a fixed timeline position. Timeline markers K1–K8 are system lines.
System alert A surface in the app-wide alert area (above all contexts) that stays until the user taps one of its actions. The M5 approver prompt (§12.3) is the one exception: it also disappears by itself when its pairing session ends (NP-17).
Status line A one-line, non-security passive state in a header, composer or call screen (§14).
Hint A one-time, dismissable, non-security tip.

1.4 Notation for copy

Reference text is given in tables. Text in {braces} is a placeholder:

copy-text     = 1*( copy-literal / placeholder )
copy-literal  = 1*( %x20-7A / %x7C / %x7E-10FFFF )   ; any character except "{" and "}"
placeholder   = "{" ph-name "}"
ph-name       = LCALPHA *( LCALPHA / DIGIT / "_" )
LCALPHA       = %x61-7A
Placeholder Value
{person} Person reference, §2.4.
{personForm} The person's display form (01 §6.6), always with the domain.
{person2} A second person reference, §2.4, where a surface names two people (K8, §5).
{people} A list of person references, formatted by §2.5.
{channel} The channel's display name, prefixed by the channel-kind glyph of §15.5 in visual text and by nothing in spoken text.
{context} {channel} for a channel, {person} for a 1:1 DM, or the group DM's name for a group DM.
{community} The community's name (09), or its canonical domain if it has no name.
{domain} A canonical domain, displayed per 01 §4.3. Each use says which server's. Before discovery has produced a canonical domain (§9.1, ST.server_not_found), it is the domain as the user typed it after 01's domain preparation.
{host} The canonical domain of the context's hosting server.
{me} The user's own display form.
{address} A display form that isn't yet an account's (the name being chosen, §9.3).
{local} The user's own prepared local part (01). It is also the account's display name until the user chooses another capitalization or spacing, and what is shown when a display name fails the receiver check (01 §6.3, §6.5).
{client} An OAuth client's client_name (05 §5.4), on the server's "Continue to …" page only.
{targetForm} The display form of the target a typed address or link resolves to, person or channel (§15.6).
{device} A device's name from its device record or DeviceSummary (05, 08), for example "Chrome · Windows"; if none is known, the platform label of §12.11.
{provider} The sign-in provider's display name from ServerMetadata auth.providers (02, 05), for example "Google".
{providerLabel} The provider account's label from 05 (providerLabel, typically an e-mail address). Shown only to the account's own user (§2.4 rule 4).
{code} A 6-digit pairing code in the grouped form NNN NNN (08).
{size} A byte size, formatted for the locale with binary units ("25 MB").
{instance} The instance member of a problem object (RFC 9457), when present.
{origin} The web client's own origin, serialized as in the HTML Standard and displayed with its host per 01 §4.3.
{link} A share link or sloppyv URI generated by §10.4.
{n} An integer, formatted for the locale. Plural forms follow CLDR plural rules (§19.2).
{time}, {date} Local time or date, formatted for the locale. Each use names its source.
{key} The name of the user's push-to-talk control, for example "Space" or "Mouse 4".

Where English needs different text for one and many, both are given ("1 person" / "{n} people"). Where a verb agrees with a {people} list, the "one" form is used when the list's total count (§2.5) is 1 and the "other" form otherwise; translations select with CLDR plural rules on that count (ICU plural on {n}).

2. General presentation rules

2.1 The closed catalogue

  1. A client MUST NOT show any security surface other than those in this document (D-055). In particular it MUST NOT show warnings for: other members' identity changes in channels; new or removed devices of other people; failed silent checks; MediaAttestation failures; server key rotations; discovery pin conflicts; delegation evidence levels; display names that fail the receiver check (01 §6.5); clock skew (04); certificate or TLS details.
  2. A client MUST NOT express a security message through any other surface: not as a status line, hint, tooltip, notification, toast, sound, icon, colour, or by changing the reference text of a non-security surface. 19's account_alert notification for W4a (19 §13.7) is not a security message: its neutral text names no warning and only opens the app, where W4a is shown.
  3. Non-security surfaces (§14) MUST NOT use security styling (no shield, padlock, warning triangle or red "danger" colour) and MUST NOT warn about risk. They MAY state plain facts about encryption where the status is about it (for example "Setting up encryption…"), but never mention attacks, danger, safety or trust.
  4. Every security surface MUST use the reference text of this document, or a localisation of it under §19.2. A client MAY add a "What does this mean?" disclosure to W1, W2, W3, W7, W9 and the lock details sheet, which expands help text shipped inside the client; the help text MUST NOT contradict the reference text, MUST NOT be fetched from any server, and MUST NOT contain further warnings.

Rationale: a short, fixed list is what keeps warnings meaningful for people who aren't IT-literate. Any extra "security tip" competes with the few messages that need action.

2.2 Surface kinds

Kind Interrupts? Can the user dismiss it? Used by
Modal dialog Yes Only through its buttons W5 (a confirmation the user asked for), M10 (§12.8), the downgrade confirmation (§12.10), the history-share confirmation HSHARE.confirm (§5.1)
System alert Yes, once Only through its actions; the approver prompt also disappears when its pairing session ends W4a, W4b, the M5 approver prompt (§12.3)
Notice Yes, once Fades by itself (§3.4.3, §3.4.4) W4c, W4d
Banner Yes, once per §3 rules As each warning specifies W2, W3, W7, W8, SETUP.banner
Inline card No (it is where the user already is) No; the action resolves it W1, G1, G2, the W9 error
System line No No K1–K8, W2's timeline line, W6
Badge No No W8 settings badge
Passive state No — Lock indicator, talk and mute indicators, reconnecting badge, status lines

A client MUST NOT present a banner, inline card or system line from this document as a modal dialog or operating-system notification.

Unforgeable surfaces. Security surfaces are drawn by the client in its own interface chrome. Message content, display names, avatars, community icons, rules text, link previews and bot output MUST NOT be able to produce anything that looks like a security surface: system lines have no sender and no avatar and use a style that message rendering can't produce; content can't draw over banners, gate cards or the header lock; and no content field can set a lock, badge or warning icon.

2.3 Copy rules

  1. Use the user's words. Primary text MUST NOT contain any of these terms or their translations: MLS, epoch, leaf, commit, KeyPackage, Welcome message, credential, certificate, identity key, device signing key, thumbprint, fingerprint, hash, SFrame, PAKE, CPace, Argon2, JWS, token, assertion, IdentityState, vault, archive, federation, discovery, TXT record, DNSSEC. These MAY appear only on a "Connection details", "Technical details" or "About" screen the user opens deliberately.
  2. The user-facing names are fixed: encryption / end-to-end encrypted for the security mode, recovery key for the recovery phrase (00 §2.5), security key for a person's identity key (00 §5.5), safety number for the verification number, device for a device, community for a server seen as a group, the people who run {domain} for a server's operator.
  3. A sentence about who can read something names a party, not a mechanism: "The people who run sloppyvoice.com can read messages here", not "Messages are stored unencrypted".
  4. Copy MUST NOT promise more than the protocol gives. In particular: the lock text for channels says the community's server decides who is a member (00 §5.5); deletion copy never promises removal from other people's devices or server backups (09 §18 item 4, 11); no copy says a context is "safe", "private" or "secure" without qualification.
  5. Every actionable surface has at most one primary action and at most two secondary actions.
  6. Copy never blames the user and never uses exclamation marks.

2.4 Naming people in surfaces

  1. A person reference is the person's display name if it passes the receiver check (01 §6.4), otherwise the prepared local part (01 §6.5), followed by a bot badge (§13.1) when the account is a bot.
  2. Every surface that names another person (W2, W3, W6, W7, the verification screen, message requests) MUST show that person's display form, domain included, at least once inside the surface (01 §4.4 rule 3). The title MAY use {person}; the body or a subtitle then carries {personForm}. Example: title "Saxon Jones's security key changed", subtitle "SaxonJones@sloppyvoice.com".
  3. Display names and addresses in copy are inserted inside bidi isolates as 01 §6.8 requires.
  4. A person's own provider e-mail, provider label or device name MUST NOT be used to name a person to anyone else.

2.5 Lists of people

When a surface names a list of people (W3, W5):

  1. Order: the order the owning document gives (W5: cannotFollow order; W3: canonical-address order, 12).
  2. If the list has at most 3 people, name all of them, joined with the locale's list format (CLDR "and" list, for example Intl.ListFormat with type: "conjunction").
  3. If it has 4 or more, name the first 2 and add "{n} others", where {n} is the total minus 2, joined the same way: "Bob, Carol and 5 others".
  4. Where the full count is known but the list is truncated (W5 cannotFollowTruncated), {n} uses the full count.
  5. Tapping "{n} others" opens the full list.

Test vectors are in §21.3.

2.6 Surface IDs and the surface log

Every surface in this document has a surface ID: the catalogue ID with a variant suffix where variants exist (W2.key_changed.line, W2.verified.banner, W4a.reset, G1.channel, K4, TI.not_heard.reconnecting, ST.host_unreachable and so on, as named in each section). Surfaces that aren't catalogue entries also have IDs, so that every test in §7.2 and §18 can be checked:

Surface IDs
Lock indicator (§8), one ID per state LOCK.closed, LOCK.gated, LOCK.pending, LOCK.open, LOCK.none, LOCK.error (logged with the context, or the call ID as call:<id>)
W2 parts (§3.2.2) W2.<variant>.line and W2.<variant>.banner, where <variant> is key_changed, verified, downgraded, downgraded_verified or new_account; the bot wording adds .bot before the part (W2.key_changed.bot.banner), except for new_account, which has no bot wording
W8 parts (§3.8) W8.badge, W8.banner
Reconnecting badge on another participant's tile (§11.6) BADGE.reconnecting (logged with pid=<pid> as its context)
Call status lines (§11.2, §11.7) ST.call_reconnecting.0, ST.call_reconnecting.15, ST.call_reconnecting.60, ST.call_reestablishing, ST.ptt_unobservable
Sharing, camera and viewer surfaces (§11.10) SHARE.*, CAM.*, VIEW.*
Manual history sharing (§5.1) HSHARE.action, HSHARE.picker, HSHARE.confirm, HSHARE.progress, HSHARE.failed.forbidden, HSHARE.failed.not_ready, HSHARE.failed.range, HSHARE.failed.other; the marker variant K8.self
Hints (§3.7.2, §9.4, §11.3) HINT.encrypt_peer, HINT.backup_signin, HINT.vad_first_call, HINT.muted_speaking
Signed-out line (§9.8) ST.signed_out.<reason>
M1 server confirmation page (§9.2) M1.continue
Fresh-authentication prompt (§12.10, 05 §9.4) M1.reauth
M5 approver prompt and its "No" follow-up (§12.3) M5.approver_prompt, M5.denied
Onboarding screens (§9.7) ONB.<state>, for example ONB.server, ONB.name, ONB.device_setup
Other moment screens M4.progress, M4.save, M4.saved_confirm, M10, SETUP.chooser, SETUP.pair_new, SETUP.pair_add, SETUP.pair_add.joined, SETUP.pair_add.confirm, SETUP.recovery, SETUP.verify, SETUP.banner (§9.5), SECURITY.account

Proposed decision PD-20-1: Clients claiming Full client or Web client conformance MUST be able to produce, in a test or debug build, a surface log: one line per surface shown, removed or changed. The log MUST NOT contain message content, keys or recovery words, and MUST NOT be uploaded (it is not a diagnostic report). Each line has this syntax, so that one test harness can read every client's log:

log-line   = mono-ms SP action SP surface-id [ SP ctx-ref ] LF
mono-ms    = 1*15DIGIT                 ; monotonic milliseconds since the log started
action     = "show" / "change" / "remove"
surface-id = id-part *( "." id-part )
id-part    = 1*( ALPHA / DIGIT / "_" )
ctx-ref    = 1*( %x21-7E )             ; a context reference (00 §7.6), "call:" + call ID,
                                       ; "pid=" + participant index, or "me"

change is logged when a shown surface's variant data changes without its ID changing (for example W3 naming one more person). Rationale: it turns the closed catalogue and the never-prompt list into automated tests: a test harness drives protocol events and checks the log.

2.7 Where frequency state lives

Surface State Where Shared across the user's devices?
W1 Communities already shown AccountVault settings record w1_seen (§3.1.4); device-local until the device is enrolled Yes
W2 changeId, w2Dismissed Pin record (07 §16.1); for W2.new_account on a device that keeps no pin for the address, device-local (07 §16.8) Yes, except the device-local W2.new_account state
W3, W7 Collapsed or expanded Device-local, per context No
W4a, W4b, W4c, W4d Alerts already raised (for W4d, the dids alerted, 05 §12.12) Device-local own-identity state (07 §18.4) No (each device alerts once)
W6 None: a system line attached to a timeline event Timeline —
W8 savedAt, lastNudgedAt AccountVault recovery record (08 §8.6.5) Yes
W9 Secure-state pins AccountVault (09 §13) or device-local for insecure accounts Yes for secure accounts
Hints Shown or not Device-local No

3. Warnings W1–W9

Each subsection gives: the trigger owner, who sees it, the surface, the reference text, actions, dismissal and frequency, and edge cases. 00 §4.12.1 fixes the ID, trigger, audience, blocking rule and frequency; nothing here changes them.

3.1 W1: a secure account in an insecure community

Trigger (00 Matrix A row A2, Matrix B row 2, 09 §9.2). A device of a secure account (enrolled or not) is about to enter, or enters, an insecure community for the first time: it opens the join preview (§10.2) of an insecure community or of an insecure channel in one, or, for a community the account is already a member of, the community's channel list or one of its insecure channels. Secure servers can't hold insecure channels (SM-2), so an insecure channel is always in an insecure community and W1 is keyed by the community. D-076 applies: W1 informs, it never blocks.

Insecure accounts never see W1. W1 never appears for DMs (W3 and W7 cover them).

3.1.1 Surface

An inline card, never a modal dialog (00 M7), placed at the first of these the user sees:

  1. In a join preview (§10.2) whose target is the community or an insecure channel: inside the preview, directly above the primary action ("Join" or its variants). The user reads it before joining, as the owner's requirement asks ("SHOULD be presented with a warning when trying to join").
  2. At the top of the community's channel list, for a community the account joined without a preview (for example before the account became secure).
  3. At the top of an insecure channel's content area, when that channel is opened directly (for example from a link to a channel the user is already a member of).

W1 is never placed inside a secure channel's content area or a preview whose target is a secure channel, where it would sit next to a closed lock. When the user's first view of the community is a secure channel, W1 waits until the user opens the community's channel list or one of its insecure channels.

Element Reference text
Icon Open lock
Title "This community isn't end-to-end encrypted"
Body "The people who run {domain} can read messages and hear calls here."
Body, second sentence, only if the community lists at least one secure channel the user can see "Channels with a closed lock are end-to-end encrypted."
Action "OK" (not shown inside a join preview, where the preview's own primary action follows the card)

{domain} is the community's canonical domain.

3.1.2 After W1

When the user taps "OK", taps the preview's primary action, or navigates away from the view, W1 is recorded as shown for that community (§3.1.4). From then on, the user sees only the permanent open-lock indicator (§8) on every insecure channel of the community. A device MUST NOT show W1 for a community that is listed in the w1_seen value it last read or in its own device-local record.

A device that can't read the vault (an unenrolled device), and two enrolled devices that both open the same community before either has synced the other's write, may each show W1 once for that community. This is the only way W1 can appear more than once per community, and it stops at the next vault sync.

3.1.3 Edge cases

  • The account becomes secure while already a member. W1 is shown on the next visit to each insecure community, once, at the top of its channel list or of an insecure channel (§3.1.1).
  • A community the user only ever visits through a secure channel. W1 waits until the user opens the community's channel list or an insecure channel there (§3.1.1); the card then says which channels aren't encrypted.
  • The community upgrades to secure later. W1 doesn't reappear; the community gets the "Encrypted community" badge (§8.3 item 6).
  • Unenrolled device. It can't read the vault. It shows W1 by its device-local record and, after enrolment, merges that record into w1_seen (union) and stops showing W1 for communities already listed there.
  • Shared-computer devices (05 §12.6) keep the device-local record in memory only.

3.1.4 The w1_seen setting

w1_seen is a settings record in the AccountVault (08 §8.6.4), owned by this document.

Member Type Meaning
value array of string Canonical domains of communities for which W1 has been shown, in the order they were added, without duplicates. Entries are never removed. When adding a domain would make the record exceed the home server's maxVaultRecordBytes (08 §16), the device adds nothing more to the vault record and keeps recording further domains only in its device-local record.

Merge rule: the set union of both versions, keeping the order of the version being merged into and appending the other version's new entries; if the result is too large for one record, entries past the limit are dropped from the end. Union is safe because the set only grows and nothing is ever removed, so a merge can't bring back an entry that was deliberately deleted. (08 §8.9.4 lets a setting's owner define its merge.) A device MUST read w1_seen before deciding to show W1 and MUST write the domain to it when W1 has been shown, merging on vault.version_conflict (08 §8.9). If the vault is unreachable, the device decides from its local copy.

3.2 W2: a DM contact's security key changed

Trigger (07 §16.3, §16.4). The client raises W2 for a pinned contact on key-change, downgrade or re-upgrade evidence. 07 decides the variant, the blocking states (verified_blocked, downgraded_blocked) and the changeId. W2 is raised once per changeId across the user's devices (07 §16.3); §3.2.2 says what each device shows for it. It also raises the new-account variant when the address now belongs to a different account (a new incarnation, D-086): from new-account evidence for its pin (07 §16.4), or, on a device that keeps no pin for the address (an insecure account, an unenrolled device, or a contact that was never pinned), from its 1:1 DM with that address (07 §16.8).

Who and where. Every one of the user's devices, in the 1:1 DM with the contact (whatever its mode after the change) and in every secure group DM that includes the contact (07 §16.3). The downgrade system line also appears in insecure group DMs that include the contact (07 §16.3 allows it). Never in channels (D-035). The new-account variant appears only in the 1:1 DM with the address, at the point where the conversation restarts (12 §6.4), on every device of the user, with or without encryption.

3.2.1 Variants

Surface ID When Blocking?
W2.key_changed Pin state becomes changed (a reset, or a re-upgrade with wasVerified false). No
W2.verified Pin state becomes verified_blocked. Yes: sending in secure DMs with the contact is blocked (07 §16.5)
W2.downgraded Pin state becomes downgraded. No
W2.downgraded_verified Pin state becomes downgraded_blocked (a verified contact turned off encryption). Yes: sending to the contact is blocked until the user continues (07 §16.3, §16.5)
W2.new_account The address belongs to a new account (07 §16.4 new-account evidence, or 07 §16.8). No

Each variant has a bot wording, chosen when the pin's kind is bot (07 §15.6), except W2.new_account, which uses the same text for bots.

3.2.2 The two parts of W2

W2 has two parts:

  1. A system line (W2.<variant>.line) at the end of each affected timeline. It stays in the timeline as a record and is never removed. Every device inserts it once per changeId: when a device first observes a pin record whose changeId it hasn't rendered (because it raised W2 itself, or learned the change through vault sync, 07 §16.6), it inserts the line at the end of each affected timeline at that moment, and adds the changeId to a device-local set of rendered changes. A device never inserts a second line for a changeId in that set. So each device's timeline has exactly one line per change, placed when that device learned of it.
  2. A banner (W2.<variant>.banner) at the top of each affected DM and group DM, on every device while the pin record's w2Dismissed is false for the current changeId, until dismissed (non-blocking variants) or resolved (blocking variants).
Surface ID System line Banner title Banner body Actions
W2.key_changed "{person}'s security key changed." "{person}'s security key changed" "This happens when someone resets their account or loses all their devices. To be sure it's really them, compare safety numbers." Subtitle: {personForm}. "Verify" (secondary), "OK" (dismiss)
W2.key_changed, bot "{person}'s security key changed." "{person}'s security key changed" "This happens when whoever runs this bot sets it up again." Subtitle: {personForm}. "OK"
W2.verified "{person}'s security key changed. You verified {person} before, so sending is paused." "{person}'s security key changed" "You verified {person} before. To keep chatting, accept the new key, or verify it again to be sure it's really them." Subtitle: {personForm}. "Accept new key" (primary), "Verify" (secondary). No dismiss.
W2.verified, bot As above As above "You verified this bot before. To keep chatting, accept the new key." Subtitle: {personForm}. "Accept new key", "Verify"
W2.downgraded, 1:1 DM "{person} turned off encryption." "{person} turned off encryption" "New messages with {person} won't be end-to-end encrypted. Earlier messages stay as they were." Subtitle: {personForm}. "OK"
W2.downgraded_verified, 1:1 DM "{person} turned off encryption. You verified {person} before, so sending is paused." "{person} turned off encryption" "You verified {person} before. If you continue, new messages with {person} won't be end-to-end encrypted. Earlier messages stay as they were." Subtitle: {personForm}. "Continue without encryption" (primary). No dismiss.
W2.downgraded, bot, 1:1 DM "{person} turned off encryption." "{person} turned off encryption" "New messages with this bot won't be end-to-end encrypted. Whoever runs it chose this." Subtitle: {personForm}. "OK"
W2.downgraded_verified, bot, 1:1 DM As the non-bot line "{person} turned off encryption" "You verified this bot before. If you continue, new messages with it won't be end-to-end encrypted." Subtitle: {personForm}. "Continue without encryption"
W2.downgraded or W2.downgraded_verified, secure group DM "{person} left because they turned off encryption." No banner — —
W2.downgraded, insecure group DM "{person} turned off encryption." No banner — —
W2.new_account, 1:1 DM "This is a new account using {personForm}." "This is a new account using {personForm}" "The person who used this address before deleted their account, and someone else has it now. Your earlier messages aren't shared with this account." "OK" (dismiss)

Proposed decision PD-20-2: in a secure group DM the downgrade variant of W2 is the system line that 12 §11.3 already requires ("Bob left because they turned off encryption"), with no banner. Rationale: the person is removed from the group in the same moment, so a second message about the same event would be noise; the 1:1 DM, where the conversation continues insecure, gets the banner.

3.2.3 Behaviour

  • Dismissal. "OK" sets w2Dismissed for the current changeId (07 §16.3 transitions changed → pinned, accepted → pinned). The banner disappears on every device at the next vault sync. The system lines stay.
  • New account. W2.new_account never blocks and offers no "Verify": earlier verification doesn't apply to a different person, and verifying the new one is offered from their profile as for any contact (07 §17). The line goes where the 1:1 DM restarts (12 §6.4, §13.4): after the earlier conversation, if the device holds it, and before the new account's first message. Above the line, messages keep the sender name they were delivered with and show no avatar or profile of the new account; the header and profile card show the new account. "OK" dismisses the banner on every device that shares the pin record, at the next vault sync; elsewhere the dismissal is device-local (§2.7).
  • "Verify" opens the verification screen (§12.7) for the contact, using the new key (07 §17.1). A successful verification ends W2 (and the block, for W2.verified).
  • "Accept new key" moves the pin to accepted (07 §16.3) and unblocks sending. The banner changes to the W2.key_changed banner, non-blocking, which the user dismisses with "OK".
  • "Continue without encryption" moves the pin from downgraded_blocked to downgraded (07 §16.3) and unblocks sending; items written while the DM was secure stay ST.not_sent (see 'Composer while blocked'). The banner changes to the W2.downgraded banner, which the user dismisses with "OK"; W7 follows as for W2.downgraded.
  • Composer while blocked. In every secure DM and group DM that includes the contact, the composer is replaced by a bar: "Sending is paused until you accept {person}'s new key." with the same two actions. For W2.downgraded_verified the bar in the 1:1 DM reads "Sending is paused because {person} turned off encryption." with "Continue without encryption". For W2.verified, messages the user wrote before or during the block stay in the outbox as ST.waiting.action ("Will send when you're ready", §14.3) and are sent, sealed, after the user accepts or verifies the new key (07 §16.5). After a downgrade (W2.downgraded, W2.downgraded_verified), content written while the DM was secure is never sent automatically: each such item becomes ST.not_sent ("Not sent" with "Retry" and "Delete"), and "Retry" sends it unencrypted, with W7 showing (07 §16.5, 11 §4.7, 14 §4.7). Starting or joining a call is disabled with the same bar.
  • Several contacts. Each contact has its own banner. When more than 2 banners would stack in one conversation, the client shows the newest one and a line "{n} more people's security keys changed", which expands the others. Blocking banners are always shown before non-blocking ones.
  • Ordering. The system line goes after the last item in the timeline at the time of detection, not at the server sequence of any message, because the change isn't a timeline event.
  • W7 after a downgrade. In a 1:1 DM the downgrade banner is followed by W7 (§3.7) once the user dismisses W2 or immediately below it; both may be visible at once.
  • No extra alerts. A client MUST NOT send an operating-system notification, play a sound or show a badge for W2. The user sees it when they open the conversation.

UX: most people will see W2.key_changed only after a friend lost their phone. The copy explains the common cause first, so the reaction is "oh, they got a new phone" rather than alarm; verification is offered, never pushed.

3.3 W3: a group DM has people without encryption

Trigger (12 §11.6). The group DM is insecure, the viewer's account is secure, and at least one current participant, including a pending one, is insecure (12 §11.6). Insecure participants never see W3.

3.3.1 Surface

A banner in the group DM, below the header.

Element Reference text
Icon Open lock
Title, one insecure person "{people} hasn't turned on encryption"
Title, several "{people} haven't turned on encryption"
Body "So this group isn't end-to-end encrypted. The people who run {host} can read it."
Subtitle The display form of each named person (§2.4 rule 2), on one line, separated by commas.
Action "Ask them to turn on encryption"
Collapse control "Hide"

{people} follows §2.5.

The action places this reference text in the group's composer, without sending it, so the user can edit or send it:

"Could you turn on encryption in Sloppy Voice? It's under Settings › Encryption and takes one tap. Then this group will be end-to-end encrypted."

The action MUST NOT send anything by itself.

3.3.2 Collapsing and resolution

  • "Hide" collapses the banner to one line in the header: open lock and "Not encrypted · {n} without encryption". Tapping it expands the banner again. The collapsed state is device-local.
  • When a new insecure person is added, the banner expands again on every device.
  • W3 disappears when its condition stops holding (12 §11.6): the group becomes upgrading ("Setting up encryption…", §14.3) and then secure, with K1.

3.4 W4: your own account

W4 appears only on the user's own devices. W4a to W4c concern the user's own identity (07 §18) and are the only identity warnings in channels (D-035); W4d concerns a new sign-in to the account (05 §12.12, D-084) and also appears for insecure accounts.

When the app is opened from an account_alert notification (19 §13.7), it shows the pending W4 surface and marks the notification record read (19 §8.2). The notification itself is 19's neutral text and isn't a security surface under §2.1 rule 2.

3.4.1 W4a: your encryption was reset from somewhere else

Trigger. 07 §18.1. W4a needs a tap.

Surface. A system alert. On a device that isn't open, the home server's account_alert push (19) brings the user to the app, which then shows W4a.

Surface ID Title Body Actions
W4a.reset "Your encryption was reset on another device" "Someone signed in to {me} and set up new encryption keys at {time} on {date}. This device can't read new encrypted messages until you set it up again. If this wasn't you, secure your account now." "This wasn't me" (primary), "Set up this device" (secondary), "Later" (secondary)
W4a.downgraded "Encryption was turned off for your account" "Someone signed in to {me} and turned off encryption at {time} on {date}. If this wasn't you, secure your account now." "This wasn't me" (primary), "It was me" (secondary)
  • {time} and {date} come from the identity.changed event or, if unknown, the IdentityState iat.
  • "This wasn't me" opens the account security screen (§12.9).
  • "Set up this device" starts the device-setup chooser (§12.2), which now enrols against the new identity (07 §18.1).
  • "Later" and "It was me" acknowledge the alert. The device stays unenrolled (W4a.reset) or becomes a device of an insecure account (W4a.downgraded).
  • If the device missed several changes, one W4a is shown, for the newest (07 §18.1).
  • The initiating device never shows W4a (07 §15.3).

Rationale: "This wasn't me" is the primary action because D-071 lets a hijacked OAuth login replace the identity at once; for a user who did it themselves on another device, the alert costs one tap.

3.4.2 W4b: someone appears as you

Trigger. 07 §18.2. W4b needs a tap. Raised once per (context, identity key, did) per device.

Element Reference text
Title "Someone else is using your address"
Body, channel "A device that isn't one of yours appeared as {me} in {channel} on {community}. Your account may not be safe."
Body, DM or group DM "A device that isn't one of yours tried to join a chat as {me}. It was kept out. Your account may not be safe."
Actions, channel "Secure my account" (primary), "Tell the moderators" (secondary), "Later" (secondary)
Actions, DM "Secure my account" (primary), "Later" (secondary)

"Tell the moderators" opens the report screen of 10 with the reason "Pretending to be someone" pre-selected and no message selected; the report names the user's own address as target and the unknown device's did (10 §10.2); the user sends it. "Secure my account" opens §12.9.

3.4.3 W4c: a new device was added

Trigger. 07 §18.3. W4c doesn't need a tap.

Surface. A notice in the app-wide alert area that fades after it has been on screen for 10 s, or when the user navigates, whichever is later; it is also listed in "Security activity" (§12.9).

Element Reference text
Text "New device added to your account: {device}, {time}."
Action "Not you? Review devices"

{device} is the device's name from the account's device list (05) if this device can read it, otherwise the platform label of the IdentityState plat (§12.11). {time} is the new device's since in the IdentityState (07 §18.3). The device that approved the pairing doesn't raise W4c for that device (07 §18.3, 08 §6.9.2 step 6); it shows "Your new device is ready" instead (§12.3). If W4d for the same device is still on screen when W4c is raised, W4c replaces it (05 §12.12).

3.4.4 W4d: a new sign-in to your account

Trigger. 05 §12.12 (D-084): someone signed in to the account on a new device with one of its providers. Every other signed-in device of the account shows W4d once for that sign-in, whether the account uses encryption or not; the new device never does. W4d doesn't need a tap.

Surface. A notice in the app-wide alert area, like W4c (§3.4.3): it fades after it has been on screen for 10 s, or when the user navigates, whichever is later, and it is also listed in "Security activity" (§12.9). It never produces an operating-system notification, a sound or a badge. A device that is closed or offline when the sign-in happens shows W4d the next time it is used (05 §12.12).

Element Reference text
Text "New sign-in on {device} ({provider})"
Second line "{time}, {date}"
Action "This wasn't me"

{device} is the new device record's name (05 §12.2), or the platform label of §12.11 for its platform if the name is empty; {provider} is the display name of its provider; {time} and {date} are its createdAt. "This wasn't me" opens the account security screen (§12.9) with steps 1 and 2 only, and step 1's provider line names {provider}.

  • If the M5 approver prompt (§12.3) appears for the same device while W4d is pending or on screen, W4d is removed (logged remove W4d) and isn't shown again for that device; the prompt already names the device, provider and time and offers "No". A device that shows its own "Add a device" code (§12.4) holds W4d until the code screen closes and drops it for the device that joins.
  • If W4c is raised for the same device while W4d is on screen, W4c replaces it.

UX: most W4d notices follow the user's own sign-in on a new phone or browser, so the wording states a fact and never says "suspicious". "This wasn't me" is there for the rare case that it was someone else (D-071).

3.5 W5: confirming a channel or server upgrade

Trigger. An admin asks to turn on encryption for a channel (09 §10) or a whole server (09 §11), after the dry run. W5 is a modal dialog the admin asked for (00 M9). The client shows G1 first if the admin's own account is insecure (09 §10.1).

3.5.1 Channel

Surface ID W5.channel.

Element Reference text
Title "Turn on end-to-end encryption for {channel}?"
Paragraph 1 "From now on, new messages and calls in {channel} are end-to-end encrypted: only members can read and hear them, and {domain} decides who is a member. People who join later won't see messages from before they joined, unless a member chooses to share some with them. This can't be turned off later."
Paragraph 2, when cannotFollowCount > 0 One person: "{people} hasn't turned on encryption. They'll stay in the channel and can still read earlier messages, but they won't see new ones until they turn it on." Several: "{people} haven't turned on encryption. They'll stay in the channel and can still read earlier messages, but they won't see new ones until they turn it on."
Paragraph 3, when secureBots is not empty One bot: "{people} is a bot that will stay. Whoever runs it can read everything posted here from now on." Several: "{people} are bots that will stay. Whoever runs them can read everything posted here from now on."
Paragraph 4, when needsDeviceSetupCount > 0 "1 person needs to set up encryption on their device before they can read new messages." / "{n} people need to set up encryption on their devices before they can read new messages."
Paragraph 5, when activeCall "The call in this channel will restart by itself."
Paragraph 6, when webhookCount > 0 "1 webhook will stop working." / "{n} webhooks will stop working."
Checkbox, off by default "Also delete the messages sent before encryption was turned on (about {n})"
Checkbox helper "They'll be removed from this channel. Copies already on people's devices or in the server's backups may remain."
Primary button "Turn on encryption"
Secondary button "Cancel"

In paragraph 2, {people} lists cannotFollow by §2.5, with the total from cannotFollowCount. In paragraph 3, {people} lists secureBots by §2.5 (each with its bot badge), with the total being the list's length; when secureBotsTruncated is true the exact total isn't known, and "{n} others" becomes "more than {n} others" ("Bot1, Bot2 and more than 98 others"). {domain} is the hosting server's canonical domain. In the checkbox, {n} is historyMessageCount, which 09 §10.2 allows to be approximate, hence "about". If historyMessageCount is 0, the checkbox is not shown. If cannotFollowCount is 0 and secureBots is empty, paragraphs 2 and 3 are omitted and W5 is a plain confirmation (09 §10.3).

The client sends the confirmation with the dry run's planVersion. If the server answers that the plan is stale, the client shows W5 again with the new plan and the sentence "Some things changed since you opened this." above paragraph 1.

3.5.2 Server

Surface ID W5.server.

Element Reference text
Title "Turn on end-to-end encryption for everything on {domain}?"
Paragraph 1 "Every channel will be end-to-end encrypted, and everyone with an account on {domain} will have to turn on encryption before they can keep using it. People who join a channel later won't see messages from before they joined, unless a member chooses to share some with them. This can't be undone."
Paragraph 2, when the set of people who can't follow is not empty One person: "{people} hasn't turned on encryption yet." Several: "{people} haven't turned on encryption yet."
Paragraph 3, when localInsecureBotCount > 0 "1 bot on {domain} will stop working until its owner sets it up again with encryption." / "{n} bots on {domain} will stop working until their owners set them up again with encryption."
Paragraph 4, when secureBots is not empty One bot: "{people} is a bot that will stay. Whoever runs it can read everything in the channels it's in from now on." Several: "{people} are bots that will stay. Whoever runs them can read everything in the channels they're in from now on."
Paragraph 5, when insecureDmCount > 0 "{n} unencrypted direct message conversations hosted here will be closed and continue elsewhere, or paused until everyone in them turns on encryption."
Paragraph 6, when activeCallCount > 0 "{n} calls will restart or end."
Paragraph 7, when webhookCount > 0 As for a channel.
Checkbox, off by default "Also delete messages sent before encryption was turned on, in every channel (about {n})" with the channel helper text.
Confirmation field Label: "Type {domain} to confirm"
Primary button "Encrypt everything", enabled only when the field matches the canonical domain (below)
Secondary button "Cancel"

In paragraph 2, {people} lists cannotFollow by §2.5; its total is localInsecureAccountCount + remoteInsecureMemberCount (09 §11.2), which counts the insecure bots too. Paragraph 4 lists secureBots as for a channel. {domain} is the server's canonical domain, displayed per 01 §4.3; in the checkbox {n} is historyMessageCount (approximate, 09 §11.2).

Matching the confirmation field. The client trims white space from the typed text and applies prepareDomain (01 §4.1: UTS #46 mapping and ToASCII). The button is enabled when that succeeds and the result equals the canonical domain as a lowercase A-label (00 §7.6). The admin may type the U-label or the A-label. The client always sends the canonical A-label as confirmDomain (09 §11.1), never the typed text.

Proposed decision PD-20-3: the server-upgrade confirmation requires the admin to type the server's domain, which the client checks as above and sends as the canonical A-label in confirmDomain (09 §11.1). Rationale: the change is irreversible for every account on the server; typing the domain costs one admin a few seconds and prevents a mistaken tap. It is not a decision, so it doesn't conflict with the fewest-decisions goal.

While the request runs (up to 120 s, 09 §11.4), the dialog shows "Turning on encryption…" with a progress indicator and can't be closed. On a timeout or a network error the client resends the identical request with the same Idempotency-Key (09 §11.4, 00 §7.11), following 03's retry schedule, and keeps the progress state; after 10 s it adds "Still working. Check your internet connection." A 200 answer whose Community has secure: true is success, whether it answers the first request or a resend. A definite error answer closes the progress state and shows that error's text (§14.1).

3.6 W6: a bot joined a secure context

Trigger. A secure bot is added to a secure channel (09 §7.4), added to a secure group DM, or a secure 1:1 DM with a bot starts (12 §11.6). One system line per event. A bot's reset doesn't repeat W6 (07 §15.6).

Surface. A system line at the timeline position of the join event (for a 1:1 DM with a bot, at the start of the conversation), with the bot badge.

Surface ID Reference text
W6.channel "{person} joined. Whoever runs this bot can read everything in {channel} from now on."
W6.group "{person} joined. Whoever runs this bot can read everything in this group from now on."
W6.direct "{person} is a bot. Whoever runs it can read everything in this chat."

The line carries {personForm} as a second line in smaller type. Tapping it opens the bot's profile. W6 is shown to every member, including the person who added the bot. Insecure contexts show no W6: the bot badge (§13) is enough (00 Matrix F).

3.7 W7: a 1:1 DM without encryption

Trigger (12 §11.6). A 1:1 DM is insecure, the viewer's account is secure, and the peer's account is insecure; also a 1:1 DM in encryption_pending.

3.7.1 Surface

A banner in the DM, below the header.

Element Reference text
Icon Open lock
Title "{person} hasn't turned on encryption"
Body "So this chat isn't end-to-end encrypted. The people who run {host} can read it."
Subtitle {personForm}
Action None
Collapse control "Hide"

In encryption_pending (12 §13.2) the body is replaced by "You can write again once {person} turns on encryption." and the composer is disabled with the same sentence.

Collapsed, the banner becomes the header's open lock with "Not encrypted". Collapsed state is device-local. W7 disappears when the DM becomes secure (K1) or the viewer's account becomes insecure.

3.7.2 What the insecure participant sees

Nothing, by default (00 Matrix C). A client MAY show, at most once per device in total (not per contact), a hint in such a DM:

Element Reference text
Hint text "{person} uses encryption. Turn it on too and your chats with them will be end-to-end encrypted."
Actions "Turn on encryption", "Not now"

Proposed decision PD-20-9: the insecure peer's suggestion of 00 Matrix C is a hint, shown at most once per device ever, never in a group DM and never during a call. Rationale: the insecure path has no security friction (00 §1.1 rule 1); one optional tip is the most it can carry.

3.8 W8: the recovery key hasn't been saved

Trigger and frequency. 08 §4.7: the account is secure, the device enrolled, and the recovery record's savedAt is null. Badge whenever that holds; banner at most once per 7 days per account across all devices. Exception (08 §4.7): when the recovery record's reason is lost_or_stolen and lastNudgedAt is null, the banner may be shown at once (claimed as below, "Claiming the weekly slot"), with the body "Your old recovery key stopped working when you removed a lost device. Save the new one."

Part Reference text
Settings badge A dot on the Settings entry and on the "Encryption" row; on the "Recovery key" row the status "Not saved".
Banner title "Save your recovery key"
Banner body "If you lose all your devices, it's the only way to read your encrypted messages again."
Banner actions "Save now" (opens the save step, §9.5), "Not now"

Placement rules are 08 §4.7's: never during a call, never over a gate card, never on the first screen after sign-in. The banner goes at the top of the home screen (the community or DM list), not inside a conversation.

Claiming the weekly slot. To keep "at most once per 7 days per account" true when two devices decide at the same time, a device that may show the banner first writes lastNudgedAt = now to the recovery record with ifVer set to the version it read (08 §8.9). It shows the banner only if that write succeeds. On vault.version_conflict it refetches the record, and if the merged lastNudgedAt is now less than 7 days old, it doesn't show the banner. If the vault can't be reached, the device doesn't show the banner (the badge stays).

3.9 W9: a secure context presented as insecure

Trigger. 09 §13.4 (T1–T6) for channels and communities; 12 §11.1 for pinned group DMs (00 §4.12.1). W9 blocks.

3.9.1 Surface

An inline card that replaces the composer and covers the call controls of the context, plus an error state in the context header and in the channel list entry. For T4 and T5 the card is also shown at the top of the community's channel list, and every channel of the community shows the header error.

Surface ID Element Reference text
W9.channel Title "Something is wrong with {channel}"
Body "This channel was end-to-end encrypted, but {domain} is now showing it as not encrypted. To protect you, sending and calls are turned off here."
W9.community Title "Something is wrong with {community}"
Body "This community was end-to-end encrypted, but {domain} is now showing it as not encrypted. To protect you, sending and calls are turned off in all its channels."
W9.group (a pinned secure group DM presented as insecure, 12 §11.1) Title "Something is wrong with this group"
Body "This group was end-to-end encrypted, but {domain} is now showing it as not encrypted. To protect you, sending and calls are turned off here."
all Primary action Members: "Leave channel" / "Leave community" / "Leave group". Non-members (09 §13.6): "Close", which closes the preview or view and does nothing else.
all Header state A broken-lock icon and "Encryption problem"

For a non-member, W9 is shown only in place of the join preview or the opened context, when the user tries to open or join it (09 §13.6), never in lists. Leaving a community after W9 also hides it from the community list (09 §13.6 item 4).

{domain} is the hosting server's canonical domain. There is no "Ignore", "Continue anyway" or dismiss control (09 §13.6). The client MAY offer the "What does this mean?" disclosure of §2.1 with this help text: "Encrypted channels can never be switched back to unencrypted. This usually means the server has a fault, or someone is trying to read your messages. Your earlier messages on this device are still here."

While W9 is active the client follows 09 §13.6: it leaves any call in the context at once (the call screen closes with the end reason ST.call_end.w9, §11.8), disables every write, and doesn't display plaintext received during the inconsistency. Earlier messages stay readable above the card. When the condition clears (09 §13.6), the card and header state disappear without any further surface.

4. Gate cards G1 and G2

A gate card replaces the content of a context (or the join preview, or the call view) when a secure door refuses the user (00 §4.12.2, SM-4). It offers the one action that fixes it, and the interrupted action resumes by itself afterwards (09 §9.6). A gate card is an inline card: it never pops up over another screen.

4.1 From error to gate card

Error (00 §4.11) userAction (03 §10.2) Surface
security.account_required enable_encryption G1
security.upgrade_required from a remote server enable_encryption G1
security.upgrade_required from the home server, or the account state upgrade_required (05 §11.2) enable_encryption The blocking screen of §4.4
security.device_not_enrolled set_up_device G2
A secure context the client knows it can't open, before any request (an insecure account, or an unenrolled device, opening a context whose advertised security is secure) — G1 or G2 directly, without sending the request

A client MUST choose G1 over G2 whenever the account is insecure, because turning on encryption also sets up the device (09 §9.3 rationale).

4.2 G1: turn on encryption

Surface ID Title Body
G1.channel "{channel} is end-to-end encrypted" "To join, turn on encryption for your account. It takes a moment. Your chats and communities stay as they are."
G1.community "{community} is end-to-end encrypted" "Everything in this community is end-to-end encrypted. To join, turn on encryption for your account. It takes a moment. Your chats and communities stay as they are."
G1.needs_encryption (a member of a channel that was upgraded, 09 §10.5) "{channel} is now end-to-end encrypted" "Turn on encryption to keep reading and writing here. You can still read the messages from before."
G1.call "This call is end-to-end encrypted" "To join, turn on encryption for your account. It takes a moment. Your chats and communities stay as they are."
G1.dm "This chat is end-to-end encrypted" "To continue, turn on encryption for your account."

Every variant adds the sentence "Your other devices will ask to be set up." when the account has at least one other signed-in device (05 device list), because turning on encryption leaves them unenrolled (00 §4.10, 08 §3.5).

All variants: one primary action, "Turn on encryption", which starts the upgrade ceremony (08 §3, §9.5) with no further question; when the session's last provider sign-in is more than 23 h old, the fresh-authentication step of §9.5 comes first (D-085). No secondary action is needed: the user leaves by navigating away.

G1.needs_encryption sits above the composer area, and the channel's pre-upgrade messages stay readable above it under K3.

4.3 G2: set up this device

Surface ID Title Body
G2 (every scope) "Set up encryption on this device" "Your account uses end-to-end encryption, but this device doesn't have your keys yet."

Actions, in this order:

Action When Effect
"Use another device" (primary) The account's IdentityState lists at least one active device other than this one Pairing, direction A (§12.3)
"Use recovery key" (primary instead of the above when no other active device is listed, 08 §6.12; otherwise secondary) A KeyBackup exists (GET /v1/me/backup?part=meta, 08 §12.3) Recovery-key entry (§12.6)
"I can't do either" (tertiary, small) Always The "Start fresh" screen (M10, §12.8), which explains first; the reset needs a further tap there and fresh authentication

On a web client whose origin may not hold this account's keys (§16.11), G2 is shown as the variant G2.other_origin instead:

Surface ID Title Body Actions
G2.other_origin "Set up encryption on this device" "Your account uses end-to-end encryption. To keep your keys safe, set it up in the Sloppy Voice app or on {domain}'s own web app, not on {origin}." "Open {domain}'s web app" (primary, when the home server publishes links.web), "Get the app" (secondary)

{domain} is the user's home server's canonical domain. "Open {domain}'s web app" opens the home server's links.web with the current context or link target in the #sloppyv= fragment of §10.3 rule 3, so the user lands in the same place.

4.4 The blocking "Turn on encryption to continue" screen

For an account in the state upgrade_required (00 Matrix A row A10, SM-3, 05 §11.2), the client shows a full screen instead of the app, at sign-in and whenever the state is reported, and MUST NOT let the user reach any other screen (08 §3.1 item 3).

Element Reference text
Title "Turn on encryption to continue"
Body "Everyone with an account on {domain} uses end-to-end encryption. Turn it on to keep using your account. It takes a moment."
Primary "Turn on encryption"
Secondary "Sign out"
Tertiary (small) "Delete account" (05 §16, with its own confirmation, §12.10)

Right after sign-up on a secure server (05 §8.6), the same screen is shown with the title "One more step" and the body "{domain} uses end-to-end encryption for everything. Turn it on to finish setting up your account."

4.5 Resuming

  1. While the ceremony or device setup runs, the gate card stays where it was and shows "Turning on encryption…" (G1) or "Setting up this device…" (G2).
  2. When it completes, the card changes to "Joining…" and the client resumes the join intent (09 §9.6). The user taps nothing more.
  3. If the resumed action fails with a non-gate error, that error's surface replaces the card (09 §9.6 step 5).
  4. If the user closes the app during the ceremony, the intent survives (09 §9.6, 24 h), and the resume happens after the ceremony completes at the next start.
  5. The save step (M4, §9.5) is shown after the ceremony succeeds; resuming doesn't wait for it (08 §3.3 step U9). The join finishes behind the save step, which the user sees on top. The save-step choice is the only tap between "Turn on encryption" and the opened context.

5. Timeline markers K1–K8

Markers are system lines (§2.2). They have no actions except where stated, can't be dismissed, and are rendered by every client that renders the timeline, at the position given.

ID Reference text Icon Position
K1 "Messages from here on are end-to-end encrypted." Closed lock At the event that made the context secure: channel.security_changed (09, at upgradeSeq + 1), dm.security_changed to secure (12).
K2 "Messages from here on aren't end-to-end encrypted." Open lock At dm.security_changed to insecure (1:1 only), and at the start of an insecure successor of a secure 1:1 DM, right after K5 (12 §13.3).
K3 "Sent before encryption was turned on." Open lock Directly above the earliest pre-upgrade message the client shows in an upgraded channel, and repeated as a sticky label at the top of the viewport while any message with seq ≤ upgradeSeq is on screen. Not shown if the pre-upgrade history was deleted.
K4 "Loading earlier messages…" Progress spinner Directly above the earliest readable item while keys for items the account is served are still arriving: on a user's own new device while its key archive for the context downloads (08 §8.10, D-054), and above messages shared with the user while their keys load and are checked (§5.1). Removed as soon as the keys have arrived or the earliest item is reached. Never shown for a newcomer's own join (K6 is shown instead).
K5 "This conversation moved." Arrow At dm.closed with reason host_secure, between the closed DM's last message and its successor's first (12 §13.3). Action, while the successor isn't yet created: none (the next message creates it).
K6 "Earlier messages are end-to-end encrypted and aren't available to people who join later." Closed lock In a secure channel, group DM or 1:1 DM, directly before the item at the MessagePage's withheldBeforeSeq (11 §7.1) whenever it isn't null: the user's own join point, or re-add point after an identity change (12 §11.5 item 4, in 1:1 DMs and group DMs alike) (D-007). Only the current membership's K6 is shown.
K7 "{person} shared earlier messages with you." History (a clock with an arrow) Directly above the earliest of the messages shared with the user (14's history.shared, §5.1), one per share. K4 sits in its place while they load.
K8 "{person} shared earlier messages with {person2}." On the sharer's own devices (K8.self): "You shared earlier messages with {person2}." History At the seq of 14's history.shared event, for every member except the recipient.

{person} and {person2} follow §2.4; each line carries the person's {personForm} as a second line in smaller type, as W6 does.

Rules:

  1. Messages under K3 are never shown with a lock or any encrypted styling (09 §10.5). Messages above K1 in a DM are shown like any plaintext message.
  2. K4 MUST NOT block reading, scrolling or sending (00 M11). When some earlier items turn out to be unavailable (14 §6.4), K4 is replaced at that point by the neutral line ST.history_unavailable (§14.3). K4 is also replaced by ST.history_unavailable when the keys for those items haven't arrived after 10 minutes with no fetch in flight. The line turns back into the messages in place if the keys arrive later. Neither is a warning.
  3. K6 is a plain statement, not a warning (D-055). It has no action, no "Learn more" that implies something is wrong, and never suggests asking anyone to share. Sealed items at or after withheldBeforeSeq that the device can never decrypt, because they were sealed in an epoch in which no device of the account had a leaf (14 §10.4), are folded into K6 rather than shown as ST.history_unavailable. Messages a device kept from an earlier membership of the account (11 §7.5 rule 6) stay where they were, above K6.
  4. K5 and its successor are rendered as one conversation (12 §13.3); the successor's lock follows its own security (K2 after K5 when it is insecure).
  5. K7 and K8 aren't warnings. Tapping K7 or K8 MAY open the sharer's profile; they have no other action.

5.1 Sharing earlier messages (D-007)

A client MAY offer manual history sharing. A client that offers it follows this section. Servers support it whether or not a given client offers it (14).

  1. Where. In a secure channel, group DM or 1:1 DM (14 §7.2), the action "Share earlier messages with {person}…" (HSHARE.action) appears on another current member's profile card and in the member-list menu, and "Share earlier messages from here…" on a message's menu, which first asks the user to choose the person (in a 1:1 DM, the other participant), among those the action may be shown for (below), and then opens the picker for that person. It is shown only when the user may share (in a channel, the user holds share_history there, 10; in a group DM or 1:1 DM, the user is an active participant, 12 §12.5; in a 1:1 DM the action is useful only after the other person was re-added following an identity change, and it appears only then) and the person is an active member with at least one device in the group. It is never shown in insecure contexts, for the user themself, or for a pending or needs_encryption person.
  2. Never prompted. Nothing suggests, reminds about, badges or pre-selects sharing: not when someone joins or is re-added, not next to K6, nowhere else (00 §4.12.5, NP-18). The action exists only where the user looks for it.
  3. Choosing what to share (HSHARE.picker). Title: "Share earlier messages with {person}". Choices: "From the last day", "From the last week", "From the last month", "Everything I can see"; from a message's menu the start is that message. The range ends just before the person's own reading starts (their visibleFromSeq in a channel, 09 §4.5; their joinedSeq in a group DM or 1:1 DM, 12 §6.3, §11.5 item 4). The client includes only items its account can decrypt. When a choice holds more than one share allows (14), the client splits it into several shares without telling the user.
  4. Confirmation (HSHARE.confirm, a modal the user asked for, §2.2):
Element Reference text
Title "Share {n} earlier messages with {person}?"
Body "{person} will be able to read these messages and their files. Everyone in {context} will see that you shared them. This can't be undone." In a channel, followed by: "It's also noted in the community's activity log."
Primary "Share"
Secondary "Cancel"

{n} is the number of messages the client will share; {context} is the channel's name, or "this chat" or "this group".

  1. Progress and result. While the shares are sent, the primary button shows "Sharing…" (HSHARE.progress). On success the dialog closes and the user's timeline shows K8.self. Errors: history.share_forbidden with reason recipient_not_in_group, once the single retry of 14 §7.6 step 7 has failed: "{person} can't receive shared messages yet. Try again later." (HSHARE.failed.not_ready); any other history.share_forbidden: "You can't share earlier messages here." (HSHARE.failed.forbidden); history.share_range_invalid: "Some of these messages can't be shared. Try a shorter time." (HSHARE.failed.range); history.share_too_large: never shown, the client splits and retries; any other history.* error: "Couldn't share these messages. Try again later." (HSHARE.failed.other); other areas follow §14.1.
  2. The recipient's view. On history.shared, the recipient's client fetches the share (14) without asking, shows K4 where the messages will appear while it loads and checks them, then shows them in their timeline position above K6, with K7 above the earliest. Its other devices show the same through the key archive. A shared item whose key fails 14's checks is never shown with content: it appears as ST.message_invalid. Nothing prompts the recipient.
  3. Wording. The share screens, K7 and K8 aren't warnings (D-055). Their copy says what happens in plain words and never presents sharing as risky, as a security setting, or as something the user should do.

6. UX moments M1–M11

These are the only points where a user must act on security or identity (00 §4.12.4). Each row says where it is specified.

ID Moment Screens Section
M1 OAuth consent Provider buttons, system browser §9.2
M2 Choosing an address "Choose your name" §9.3
M3 Operating-system permission prompts Just-in-time explanation §6.1
M4 Turning on encryption and saving the recovery key One tap (with one provider sign-in first when the last one is more than 23 h old, D-085), then the save step §9.5
M5 Approving a new device Approver prompt, QR or code §12.3, §12.4
M6 A contact's key changed W2 §3.2
M7 A secure account entering an insecure community W1 §3.1
M8 An insecure account at a secure door G1 §4.2
M9 An admin upgrading a channel or server W5 §3.5
M10 Every device and the recovery key lost "Start fresh" §12.8
M11 Waiting for history on the user's own new device, or for messages shared with them K4 §5

6.1 M3: operating-system permissions

  1. The client asks for a platform permission only at the moment the user starts the feature that needs it, never at first launch or sign-in. Notifications are the one exception: they are asked right after onboarding, never on the onboarding screens themselves, so that a first message request or call can reach the user (19 §9.4).
  2. Immediately before the operating system's prompt, where the platform allows text, the client shows one sentence:
Permission When Reference text
Microphone First call join with a mode that captures, or first press of push-to-talk "Sloppy Voice needs your microphone so people in calls can hear you."
Camera First webcam start, or first QR scan (pairing, verification) Webcam: "Sloppy Voice needs your camera to show your video." Scan: "Sloppy Voice needs your camera to scan the code."
Screen recording First screen share "Sloppy Voice needs permission to share your screen."
Notifications Once, when the user first reaches the home screen (or the target of the link that started onboarding) after onboarding on this device (§9), or when the user turns notifications on "Turn on notifications to know when someone messages or calls you."
Global shortcut, accessibility or input monitoring (desktop push-to-talk) When the user chooses push-to-talk and sets the key "To use push-to-talk while another app is in front, Sloppy Voice needs to watch for your push-to-talk key only."
Persistent storage (web) After the device is enrolled No sentence: browsers grant it without a prompt in most cases. If the browser shows a prompt, the client shows first: "Allow storage so this browser keeps your encryption keys."
  1. If the user refuses, the client shows the feature as unavailable with a "How to allow" link to the platform's settings, and never asks again unprompted.
  2. Screen-share copy MUST NOT claim encryption unless the call is secure and the lock is closed. The permission explanations MUST NOT say or imply that only certain people can see or hear what is captured ("only the people in the call"), because in an insecure call the hosting server can too (00 Matrix E).

7. The never-prompt list

00 §4.12.5 lists events that MUST NOT prompt, warn or interrupt. This section turns each into a testable requirement.

7.1 General rule

For every event below, a conforming client:

  1. MUST NOT show an interruption (§1.3) caused by the event;
  2. MUST NOT show any security surface caused by the event, except where the "Allowed" column names one;
  3. MUST NOT change the lock indicator because of the event, except as §8 requires when SM-12 starts or stops holding;
  4. MAY change passive states and the content the event delivers (a member list gains a member; a message appears).

7.2 Requirements

ID Event (00 §4.12.5 and owners) Allowed user-visible effect Test (drive the event, then check the surface log, §2.6)
NP-1 MLS joins, leaves and epoch changes, including external commits, resyncs and server Remove proposals (13) The member list changes; K6 at the user's own join point in a secure context (§5); system lines that 09, 10 or 12 define for membership ("Carol was removed"); W6 when the joiner is a newly added secure bot (§3.6); W4b when the joiner appears under the user's own address (§3.4.2) No W*, G*, K* other than K6 (own join), W6 (bot joiner) and W4b (own-address joiner); no interruption other than W4b
NP-2 Another user adds or removes a device (07) None Log unchanged
NP-3 Another user's identity reset or downgrade, in a channel (D-035) None. In DMs W2 applies instead (that isn't this event). No surface in any channel view
NP-4 Media key rotation and epoch switches (15 §9, 18) The user's own talk indicator MAY show waiting_for_keys only while the transmit gate is actually closed (16 §7.10); the sharing and camera indicators MAY show SHARE.not_seen.keys or CAM.not_seen.keys only while their source's frames are actually not being sent No surface except TI.*, SHARE.not_seen.keys, CAM.not_seen.keys
NP-5 Route changes between relay and SFU (15 §7.3) None (a "Connection details" screen the user opens MAY show the route) Log unchanged; TalkState never leaves transmitting while PTT stays held and routeUp stays true
NP-6 Reconnects and auto-rejoins (15 §10) The user's own talk and mute indicators (§11), the call screen's reconnecting status line (§11.7), the call header's ST.call_reestablishing (§11.7), the reconnecting badge for others (§11.6), the sharing, camera and viewer surfaces of §11.10, and the app-wide ST.socket_reconnecting and ST.other_window status lines (§14.2) Only TI., MI., ST.call_reconnecting., ST.call_reestablishing, ST.socket_reconnecting, ST.other_window, BADGE.reconnecting, SHARE., CAM., VIEW.
NP-7 Restoring history on the user's own new device from the key archive (08, 14), and loading messages someone shared with the user (14) K4, then the content; K7 above shared messages; ST.history_unavailable where keys can't be obtained Only K4, K7 and ST.history_unavailable
NP-8 AccountVault and key-archive sync (08) Effects of synced state (a W2 banner disappearing on another device, W8 stopping) No surface caused by the sync itself
NP-9 KeyPackage publication and replenishment (13) None Log unchanged
NP-10 Bot key handling: a bot's new devices, KeyPackages, resets in channels None (W6 only when a bot is added) No W6 on a bot reset (07 §15.6)
NP-11 Server key rotation and KeyRotation chains (02) None Log unchanged
NP-12 Silent credential-check failures in channels (07 §13.6, D-035) A diagnostic report under §17 No surface
NP-13 MediaAttestation failures (18, D-043) The failing stream stops playing (18 §9.8, 16 §9.5, 17 §10.4); the speaker's tile shows no speaking activity No surface; no tile label about the failure
NP-14 Discovery pin conflicts, delegation evidence and federation session renewals (02 §5.7, 06 §15) Only the unreachable status lines of §14.2 when a server can't be used No security surface
NP-15 Decryption or verification failures of individual items (14 §6.4) and MLS blocked state (13 §15.4) Neutral placeholders and the unreachable status line (§14.3) Only ST.* surfaces
NP-16 A display name failing the receiver check (01 §6.5) The prepared local part is shown instead No surface
NP-17 A pairing session another device started and that ended without this device's involvement The approver prompt disappears remove M5.approver_prompt, then no surface
NP-18 Another person joins a secure context the user is in, or is re-added after an identity change (D-007) The member list changes; W6 for a bot No HSHARE.* surface, no suggestion to share and no K* on the other members' devices

7.3 Sounds and notifications

Join and leave sounds in calls are content, not prompts, and follow §11.6. A client MUST NOT play any sound or send any operating-system notification for NP-1 to NP-18, apart from the call sounds of §11.6.

8. The lock indicator

8.1 States

State Glyph Short label When
closed Closed lock "End-to-end encrypted" SM-12 holds: the context is advertised secure by its hosting server, the client's own evaluation agrees, and the device's group state is member (13 §16) (and, for a call, the device holds the SFrame keys of the call's media epoch).
gated Closed lock, outline style "Encrypted" The context is secure and this account or device can't open it (G1 or G2 applies). Shown only in lists, previews and on the gate card, never next to content.
pending None "Joining…" or "Setting up encryption…" The context is secure, the device may open it, and SM-12 doesn't hold yet: the device isn't member of the group (joining, resyncing, catching up, a DM upgrading), or the hosting server doesn't (yet) advertise the context as secure.
open Open lock "Not encrypted" The context is insecure and the viewer's account is secure.
none None — The context is insecure and the viewer's account is insecure.
error Broken lock "Encryption problem" W9 is active for the context.

Proposed decision PD-20-8: the gated state is the outline gated lock ("Encrypted") of 00 §4.12.6, shown to an insecure account, or a secure account on an unenrolled device, on secure contexts it can't open. It is drawn in a visibly different (outline) style and never shown beside readable content, so that it can't be mistaken for SM-12's closed lock. Rationale: it keeps SM-12's filled lock for content the device can read: the user learns the context is encrypted, and the filled lock still means "what you're reading is protected".

8.2 Decision function

lockState(ctx, viewer):
    if w9Active(ctx):                                  return error
    s := effectiveSecurity(ctx)
    if s = secure:
        if viewer.account.sec = insecure:              return gated      # G1
        if not viewer.device.enrolled:                 return gated      # G2
        if mlsBlocked(ctx):                            return pending    # shown as unreachable (13 §15.4)
        if advertised(ctx) = secure
           and holdsCurrentGroupState(ctx):            return closed     # SM-12
        return pending
    # s = insecure
    if viewer.account.sec = secure:                    return open
    return none

effectiveSecurity(ctx):
    channel:    secure if the Channel says secure, or a channel pin or community pin exists for it (09 §13.2),
                or the value is unknown (01 §9.3, 09 §6.1); else insecure
    1:1 DM, group DM:   the client's own computed security (12 §11.1)
    call:       secure if call.security is `secure` or unknown (15 §2.5.1), or if effectiveSecurity
                of the call's context is secure (18 §8.5, 15 §2.1 item 4); else insecure

advertised(ctx):
    the security the hosting server currently reports for the context (Channel `security`,
    the DM object's `security`, call.security); unknown if it reports none or an unknown value

holdsCurrentGroupState(ctx):
    true exactly when the device's 13 §16 state for the context's current group generation
    is `member`; every other state (`absent`, `bootstrapping`, `joining`, `welcomed`,
    `committing`, `catching_up`, `deferred`, `blocked`, `removed`, `retired`) is false.
    For a call: the state of the call's context is `member` AND the device holds the
    SFrame send and receive keys for call.mediaEpoch (18).

viewer.account.sec is the user's own account security from the newest own IdentityState (07 §18.4). For an account in upgrade_required, sec is insecure.

When the client computes a DM as secure but the hosting server reports it insecure, the result is pending, and outgoing messages stay queued (12 §11.1) until they agree. In the reverse case (the client computes insecure, the server reports secure) the result follows the client's own computation (open or none), and outgoing messages also stay queued until they agree. A channel advertised insecure while a pin says secure is W9 (error), which the first line catches.

A call whose Call object says insecure while effectiveSecurity of its context is secure follows 18 §8.5 item 2: the client sends and plays no media. For a call, w9Active is that of the call's context, so in a channel, a server or a group DM with a secure-state pin, W9 makes the call error. In a 1:1 DM the result is pending while the client refetches the participants' IdentityStates (the client takes no part in the call meanwhile), and afterwards it follows the client's own computation.

UX: 13 keeps a member in committing or catching_up only briefly. The closed lock is removed at once when holdsCurrentGroupState becomes false; to avoid a flickering "Setting up encryption…", a pending that follows closed shows its label only after it has lasted 1 s, and until then the header shows neither glyph nor label.

8.3 Where the lock appears

  1. Context header. Every channel, DM and group DM header shows lockState at the start of the title. none shows nothing.
  2. Lists. The channel list, the DM list and search results show the glyph (not the label) for closed, gated, open and error, computed by §8.2 from the latest advertised security and the group state the device holds now (both local, so this is cheap). A list never shows the closed lock from a remembered earlier state; a secure context whose group state the client hasn't evaluated yet shows the outline glyph of gated until it has.
  3. Call screen. The call header shows lockState(call). An incoming-call screen, before the user answers, shows lockState of the DM the call belongs to (not of the call, whose SFrame keys aren't installed yet): the closed lock with "End-to-end encrypted" when that is closed, the open lock with "Not encrypted" when it is open (an insecure call to a secure account, 00 §4.12.6), and nothing otherwise. After answering, the call header follows lockState(call).
  4. Join previews. The preview of a link (§10.2) shows the outline lock and "Encrypted" (the gated presentation) for every target whose advertised security is secure, because the user isn't inside yet; the preview's primary action says what happens next. An insecure target shows nothing for an insecure account and the open lock for a secure account.
  5. Never on messages. The lock is never shown per message, except that messages under K3 are explicitly marked as pre-encryption by K3 itself.
  6. Secure community badge. A secure community (Matrix A row A8) shows the badge "Encrypted community" with the outline lock glyph of gated next to its name in the community list and header, once the client holds a community pin for it (09 §13.2). The badge describes the community, not what is on screen, so it never uses the filled closed lock, which stays reserved for content the device can actually read under SM-12 (PD-20-8).

8.4 The lock details sheet

Tapping the lock (in any state except none) opens a sheet with exactly one of these texts (00 §5.5):

State and context Title Text
closed, channel "End-to-end encrypted" "Only members can read messages and hear calls in this channel. The people who run {host} decide who is a member, and you can see every member in the member list. People who join later can't read messages sent before they joined, unless a member shares some with them."
closed, DM or group DM "End-to-end encrypted" "Only you and the people in this chat can read it and hear its calls. You'll be told if someone's security key changes." For group DMs, followed by: "People added later can't read messages sent before they joined, unless someone here shares some with them." Plus, for 1:1 DMs, the action "Verify {person}" (§12.7).
closed, call "End-to-end encrypted call" The channel or DM text above, with "this call" for "this channel" or "this chat".
gated "Encrypted" G1's or G2's body, with its action.
pending "Setting up encryption" "This will only take a moment. You can read new messages as soon as it's done." When mlsBlocked holds, the text of ST.context_unavailable (§14.3) instead.
open "Not encrypted" "The people who run {host} can read messages and hear calls here." For a DM, followed by W7's or W3's explanation of who hasn't turned on encryption.
error "Encryption problem" W9's body.

A 1:1 DM with a verified contact adds the line "You verified {person}." with the date. Channel member lists MAY show the "known contact" badge of 07 §13.7 (and its "verified" variant); its absence is never shown or explained as a risk.

8.5 Lock test vectors

See §21.1.

9. Onboarding

This section turns 00 F1 into screens. The insecure path has no security step at all (00 §1.1 rule 1).

9.1 Where is your account?

The first screen asks one thing.

Element Reference text
Title "Where is your account?"
Field label "Server or address"
Field placeholder "example.com or you@example.com"
Primary "Continue"
Secondary, if the app build has a default server "Use {domain}"

Rules:

  1. The field accepts a domain, a full address or a link. The client applies 01's parseInput: an address target uses its domain; a link starts the link flow (§10) with sign-in in front of it.
  2. If the app was opened from a link and the user has no account on this device, the field is pre-filled with the link's canonical domain and the screen adds: "You were invited to {community}. If you don't have an account, you can create one there." The user may change the field. {community} comes from the anonymous fetch of §10.1 step 1; if that fetch failed, the added line is left out.
  3. While resolving, the screen shows "Looking up {domain}…" (02 §5.7), never a spinner without words.
  4. On success the screen shows the server's name, icon and canonical domain (never the alias the user typed, 01 §7.8), and the provider buttons (§9.2).
  5. Discovery failures use §14.2: ST.server_not_found ("There's no Sloppy Voice server at {domain}. Check the spelling."), ST.server_misconfigured or ST.server_unreachable. Here {domain} is the domain as typed (§1.4).
  6. When the code exchange fails with 05's auth.registration_closed (05 §7.3), the text depends on data.reason:
    • provider (the usual case: the person picked a provider account that no account uses): "No account on {domain} uses this {provider} account ({providerLabel})." with the primary action "Use a different sign-in", which restarts the login with prompt=select_account (05 §7.3), and the secondary "Back". Without data.providerLabel the parenthesis is left out.
    • server, or an unknown value: "{domain} isn't taking new accounts right now." and the client returns to this screen.

9.2 M1: sign in with a provider

Element Reference text
Title "Sign in to {domain}"
Provider buttons "Continue with {provider}", one per entry of auth.providers (05 §8.8), the last provider used on this device first and visually primary
Web and desktop only, unchecked "This is a shared or public computer" (05 §12.6)
Footnote "If you don't have an account yet, this creates one."
Second footnote (D-089), not shown when this device's "Problem reports" setting is off (for example fixed by an organisation, §17.1 rule 5) The onboarding statement of §17.2
Returning from the browser "Finishing sign-in…"
  1. The provider step runs in the system browser or the platform's authentication session (RFC 8252), never in an embedded web view that the app can read.
  2. The same button signs in or signs up (05 §8.1); the client never asks "Sign in or create account?".
  3. If the user abandons the provider page, the client returns to this screen with no error text.
  4. On a shared computer the client doesn't remember the last provider or the address after sign-out (05 §12.6).

Server confirmation page (05 §5.4), rendered by the home server. Before it issues a code, the home server may show its own one-tap "Continue to …" page (05 §5.4, P-05-12). The server renders it, so this table is its copy intent; servers SHOULD use it, localised, so that every server asks the same question in the same words. Surface ID M1.continue. Here {host} is the host 05 §5.4 names (the redirect URI's host, or the client_id URL's host).

Element Reference text
Title, existing account "Continue to {client} ({host}) as {me}?"
Title, sign-up (an unknown external identity) "Continue to {client} ({host}) to create an account?"
Loopback client (05 §5.4) "an app on this computer" replaces "{client} ({host})", for example "Continue to an app on this computer as {me}?"
Primary "Continue"
Secondary "Cancel"

9.3 M2: choose your name

Shown when the code exchange returns signupRequired (05 §8.2).

Element Reference text
Title "Choose your name"
Field label "Your name"
Field value suggestedName, selected so typing replaces it
Preview line "Your address will be {address}"
Provider line "Signed in with {provider} as {providerLabel}. Use a different sign-in"
Invite field, only when inviteRequired and no code came from a link "Invite code"
Terms, only when termsUrl is set Checkbox "I agree to the terms of {domain}" with the link
Primary "Create account"

{address} is the display form that the typed name produces: the name with white space removed, @, the canonical domain (01 §6.3, §8.3). The field follows 01 §8.3 (any script, no autocorrect, debounce ≥ 300 ms). When the typed name contains ı or İ, the client says in one line under the field: "Names with ı can't be shown with a capital I. You can still use lowercase." (01 §3.1)

Availability and errors. The client checks availability live with the address lookup (01 §9) and shows one line under the field:

Result Reference text
404, available: true "{address} is available" (with a check mark)
404, taken "That name is taken. Try adding something, like a number or your last name."
404, reserved "That name is reserved. Try another one."
404, too_similar "That name looks too much like one that's already taken. Try another one."
404, not_allowed with minChars "Names here need at least {n} letters or numbers."
404, not_allowed otherwise "That name isn't allowed here. Try another one."
410 address.deleted "That name was used recently and can't be taken yet."
200 (exists) "That name is taken. Try adding something, like a number or your last name."
address.invalid_local_part, reason empty "Type a name."
too_long "That name is too long."
too_short "That name is too short."
disallowed_code_point, unstable, invalid_utf8 "Names can only use letters, numbers and spaces."
restricted_code_point "That character can't be used in names."
unassigned "That character isn't supported yet. Updating the app may help."
leading_mark "Names can't start with an accent."
no_letter "Names need at least one letter."
too_many_marks, repeated_mark, confusable_mark "That name has too many accents."
mixed_script "Use letters from one alphabet."
mixed_digits "Use one kind of digits."
bidi_rule "That mix of right-to-left letters and numbers isn't allowed."
contains_at "Type only your name, without @ and the server."
Lookup failed (network, 5xx) "Can't check right now. You can still try."

"Create account" stays enabled unless the last result was a definite failure for the current text.

Sign-up never fails with address.too_similar and data.field: "name": when only the display name collides, the account is created with its prepared local part as its display name, and the client finds out by comparing the returned account.name with the typed name (01 §5.3, 05 §8.4; last row of the table below). So the "too_similar" row applies only to the local part.

Errors from POST /v1/auth/signup (05 §8.4) map to the rows above, or to these actions:

Error Shown
address.taken The "taken" row
address.reserved The "reserved" row
address.too_similar (with data.field: "local") The "too_similar" row
address.quarantined The 410 address.deleted row
address.not_allowed with data.reason too_short The "not_allowed with minChars" row, {n} from data.minChars
address.not_allowed with blocked or any other reason The "not_allowed otherwise" row
address.invalid_local_part The row for its data.reason
address.display_name_mismatch "Names can only use letters, numbers and spaces."
auth.invite_required, auth.invite_invalid Under the invite field (shown now if it was hidden): "That invite code doesn't work. Check it or ask for a new one."
auth.terms_not_accepted The terms checkbox gets focus, with "Tick this box to continue."
auth.registration_closed §9.1 rule 6
auth.signup_token_invalid "Sign-in took too long. Try again." and the client restarts the login (§9.2, 05 §8.4); the typed name is kept for the next "Choose your name" screen
auth.identity_already_linked No text: the client restarts the login, which signs in to the account that was created (05 §8.4)
Network error or 5xx "Can't create your account right now. Try again." with "Try again" (the token stays valid while 05 allows)
201 whose account.name differs from the typed name after 01 §6.3 steps 1 and 2 (only the display name collided, so the account got its prepared local part as display name; 01 §5.3, 05 §8.4) One line after sign-up, on the next screen: "Your name will be shown as {local} for now. You can change how it's written in Settings."

Editing a name later. In the profile editor (05) and the channel create and rename editors (09), address.too_similar with data.field: "name" (01 §5.3, §6.3) is shown inline under the name field: "That name looks too much like another name here. Try writing it differently." Other address.* errors from these editors use the rows above.

9.4 Optional encryption

  1. After sign-up on an insecure server, the client MUST NOT ask the user about encryption, show a security tour, or suggest turning on encryption. Encryption is reachable in Settings (§9.6) and from G1 when it is needed.
  2. Exceptions: on a secure server, sign-up continues straight into §4.4 and M4 (05 §8.6); the hint of §3.7.2 MAY appear once.
  3. After sign-up, the client SHOULD show once, and only once, the hint "Add a backup sign-in so you can get into your account if you lose access to {provider}." with "Add" and "Not now" (05 §8.8). This is not a security warning: it is about the provider login, not encryption.
  4. Microphone mode default. Proposed decision PD-20-5: new devices start in voice-activation mode (vad, 16 §7.1) without asking, and join calls unmuted; "Join calls muted" is an optional setting, off by default. The first time the user joins a call on a device, a hint says "You're using voice activation. You can switch to push-to-talk in Voice settings." Rationale: the first call should work with zero setup for non-technical users; push-to-talk needs a key choice that only users who want it should be asked for.
  5. The "normal starting state" of 16 §7.8 is: userMuted = the "Join calls muted" setting, mode = the device's chosen mode.

9.5 M4: turning on encryption and saving the recovery key

Turning it on. The user taps "Turn on encryption" (Settings, G1, or §4.4). There is no confirmation dialog and no question before key generation (08 §3.1). The client shows one progress state, "Turning on encryption…", for steps U1 to U6 (08 §3.3), then the save step. U7 (vault initialisation) continues in the background and never holds back the save step (08 §3.4). Network retries (08 §3.4) keep the same progress state; after 10 s it adds "Still working. Check your internet connection." If another of the user's devices turned encryption on first (08 §3.4 row 3), the client shows "Encryption was turned on from another device." and continues with "Set up this device" (G2).

A recent sign-in first (D-085). Turning on encryption needs a sign-in with the person's provider within the last 24 hours (05 §9.1, 07 §11.4). If the session's authAt (05 §11.5) is more than 23 hours old when the user taps "Turn on encryption", the client first shows the fresh-authentication prompt of §12.10 (M1.reauth: "To keep your account safe, confirm it's you." with "Continue with {provider}") and runs 05 §9.2; the progress state follows when the sign-in completes, with no further tap. If the user cancels the provider page, nothing changes and the entry point (Settings, G1 or §4.4) stays as it was. If PUT /v1/me/identity still answers auth.reauth_required (08 §3.4), the client shows the same prompt once and continues with the same keys. Right after sign-up or sign-in, including on a secure server (§4.4), the sign-in is recent and no extra screen appears.

The save step. 08 §4.4 fixes the options and their behaviour; this is the reference text.

Element Reference text
Title "Save your recovery key"
Body "If you lose all your devices, your recovery key is the only way to read your encrypted messages again. Nobody else can see it, not even the people who run {domain}, and nobody can reset it for you." ({domain}: the user's home server)
Body, when the recovery record's reason is lost_or_stolen (08 §10.8) "Because a device was removed as lost or stolen, your old recovery key no longer works. Save this new one."
Primary "Save to password manager"
Secondary "Print or save as PDF"
Secondary "Show words"
Tertiary "Later"
After "Save to password manager", when the platform confirms the save (08 §4.4) "Saved. Your password manager will offer it when you need it." with "Done"
When the platform can't confirm the save (web PasswordCredential, the clipboard fallback, printing without a completion signal; 08 §4.4) One inline line under the button: "Saved it?" with "Yes" and "Not yet"; only "Yes" counts as saved (M4.saved_confirm)
Fallback when there is no password-saving facility (08 §4.4) When the platform accepted automatic clearing: "Copied. Paste it into your password manager now. It will be removed from the clipboard in a minute." Then the line "Saved it?" with "Yes" and "Not yet". Otherwise: "Copied. Paste it into your password manager now, then copy something else." Then the line "Saved it?" with "Yes" and "Not yet".
"Show words" screen title "Your recovery key"
"Show words" body "Write these 8 words down in this order and keep them somewhere safe."
"Show words" actions "Copy", "I've written them down"
Printed page heading "Sloppy Voice recovery key"
Printed page instruction "Keep this page somewhere safe. You need these 8 words to read your encrypted messages on a new device if you lose all your others. Anyone who has this page and can sign in to your account can read them too."
Password manager entry label "Sloppy Voice recovery key – {me}" (08 §4.4)
After "Later" Nothing more on this screen; W8 starts (§3.8)

Rules:

  1. No quiz and no re-entry check (D-052).
  2. The 8 words are shown numbered, in two rows of four (08 §4.2), in a monospaced or tabular font large enough to copy by hand, with each word as one unit for screen readers (§19.1).
  3. Screenshot protection and logging rules of 08 §4.4 apply.
  4. Encryption is on as soon as the save step appears; the user can't undo it from this screen, and "Later" doesn't undo it.
  5. The "Approve this device" banner (SETUP.banner; 08 §3.5, §12.3), on the account's other devices, reads: title "Encryption is on for your account", body "Set up this device to read encrypted chats here.", actions "Set up" and "Not now", and the secondary action "This wasn't me", which opens §12.9 (steps 1 and 2) (07 §22.4). It is shown once and is not a warning; G2 covers the device later when the user opens a secure context.

9.6 Encryption settings

Settings has one "Encryption" page.

Account Content
Insecure Status "Off". Explanation: "Turn on end-to-end encryption to join encrypted channels and to keep your direct messages with other encrypted accounts private, even from the people who run servers. You'll get a recovery key to save." When the account has other signed-in devices, followed by "Your other devices will ask to be set up." Button: "Turn on encryption".
Secure, enrolled device Status "On". Rows: "Recovery key" (status "Saved" or "Not saved" with the W8 badge; actions "Show recovery key" and "Make a new recovery key", 08 §4.5, §4.6); "Devices" (05 §12.10, with "Encryption set up" per device); "Add a device" (pairing direction B, §12.4); "Security activity" (§12.9); "Turn off encryption" (§12.10, absent on a secure server); under "Advanced", "Reset my encryption" (M10, §12.8; 08 §11.1).
Secure, unenrolled device Status "On for your account, not set up on this device". Button: "Set up this device" (§12.2). Rows: "Devices".

"Make a new recovery key" shows one confirmation: "Make a new recovery key? Your old one will stop working." with "Make new key" and "Cancel", then the save step.

9.7 Onboarding flow

Rows are evaluated in order for the current state and event; the first row that matches wins.

State Event and guard Next
server A link was opened and the user already has an account on this device Skip onboarding; go to §10
server Valid server resolved provider
server Discovery failed server, with ST.server_not_found, ST.server_misconfigured or ST.server_unreachable (§14.2)
provider The user abandoned the provider page provider, with no error text (§9.2 rule 3)
provider auth.registration_closed provider with the provider text of §9.1 rule 6, or server with the server text
provider Other login failure provider, with the error's text (§14.1)
provider Login succeeded, existing account, upgrade_required blocking_upgrade (§4.4)
provider Login succeeded, existing account, active, account secure, this device unenrolled device_setup: the device-setup chooser (§12.2), shown once as a full screen with the extra action "Skip for now" (00 F4 step 2)
provider Login succeeded, existing account, active (account insecure, or this device enrolled) home (or the pending link intent, §10.1)
provider Sign-up required name
name Account created on a secure server blocking_upgrade (the "One more step" screen, §4.4), then M4
name Account created on an insecure server home (or the link intent), then the backup sign-in hint
name auth.signup_token_invalid or auth.identity_already_linked provider (the login restarts, §9.3)
name "Use a different sign-in" provider, restarted with prompt=select_account
device_setup Enrolled, or "Skip for now" home (or the link intent); after a skip, secure contexts show G2 (D-058)
blocking_upgrade Ceremony succeeded Save step, then home (or the link intent)
blocking_upgrade "Sign out" server
blocking_upgrade "Delete account" completed (§12.10) server

9.8 Signed out

When a device finds its session revoked (05 §14.1 step 4), the sign-in screen (§9.1, §9.2) shows one line keyed by revokedReason. Surface ID ST.signed_out.<reason>, where <reason> is the revokedReason value, or other for a value not listed. None of these lines is a warning.

revokedReason Line
signed_out No line
signed_out_elsewhere "This device was signed out from another device at {time}."
removed, lost_or_stolen "This device was removed from your account at {time}."
shared_expired, inactive "You were signed out because this device wasn't used for a while."
account_deleted "This account was deleted."
admin "Your server's administrator signed this device out."
Every other value "You were signed out."

For signed_out_elsewhere, removed and lost_or_stolen, when W4a wasn't raised (05 §14.1 step 2), the line adds the action "This wasn't me", which after sign-in opens §12.9.

10. Links

10.1 Opening a link

A link is a sloppyv URI or a share link (01), arriving from the operating system (a tapped link, a QR scan), from a message, or pasted into any address field.

  1. The client parses and canonicalizes the target (01 parseInput, canonicalize). Alias links are accepted and the canonical form is shown from then on, with no mention of the alias (01 §7.8). It then fetches what the preview needs (§10.2): the invite preview (09 §8.4) for a link with an invite, otherwise the address lookup (01 §9) and GET /v1/community (09 §3.5). None of these needs a session; a client that isn't signed in sends them anonymously (01 §9.2, 09 §8.4).
  2. If the user isn't signed in on this device, the client stores a link intent in device-local storage (the canonical target, the invite code, the time; one at a time; expires after 24 h) and starts onboarding at §9.1 with the link's domain pre-filled and the community named from step 1 (§9.1 rule 2). After sign-in or sign-up the link intent resumes at step 1, now with the session, because a signed-in requester can get a different answer (for example for a hidden channel, 01 §9.4). Under registration: invite, the link's invite code fills inviteCode without asking (05 §8.8).
  3. If the user is already in the target, the client opens it directly, with no preview: for a channel link, when the account is an active or needs_encryption member of that channel (09 §4.5); for a community link, when it is an active or needs_encryption member of that community (09 §4.2). An account that is a member of the community but not of the linked channel (for example right after a sign-up that made it a community member, D-068) sees the preview, whose action is "Open" (§10.2); that one tap calls the channel join (09 §4.5). A user link opens the profile card (§10.2).
  4. Otherwise the client shows the join preview (§10.2). It never joins anything without the user tapping the preview's action (01 §10.5).
  5. A link in a message is resolved only after the user taps it. Until then a client MUST NOT make any network request for it: no discovery, no address lookup, no invite preview, no share-link fetch (01 §11.4) and no avatar or icon fetch, in any message, including message requests (12 §10.4). It MAY render the link from what it already has without a request (for example by matching a cached links.join template, 01 §11.4 steps 1 and 2).
  6. Resolution failures use §14.2 and the invite errors of §10.2.

10.2 The join preview

The preview is built from the invite preview (09 §8.4) or, for a plain address, the address lookup (01 §9) and GET /v1/community (09).

Element Content
Header The community's icon (or initials) and {community}, with the canonical domain below it
Target For a channel link: the channel kind glyph and {channel}, with its display form; for a community link: nothing more
Lock §8.3 item 4
Members "{n} members", if given
Inviter "Invited by {person}" with {personForm}, if the invite names a creator
Expiry "This invite expires on {date}", if within 7 days
Rules If requireRulesAcceptance, the rules text with the primary action "Agree and join"

Primary action: the first row that matches wins.

# Situation Primary action
1 The community is closed to new members No action; ST.closed "This community isn't taking new members."
2 joinPolicy: invite and no valid invite code No action; "You need an invite to join this community."
3 Secure target (a secure channel, or a community on a secure server), insecure account "Turn on encryption and join" (starts M4; then the join resumes, §4.5). With joinPolicy: request and no invite: "Turn on encryption and ask to join".
4 Secure channel target, secure account, unenrolled device "Set up this device and join" (§12.2)
5 joinPolicy: request and no invite "Ask to join"; afterwards "Waiting for approval" with "Cancel request" (09 §9.5)
6 Anything else, including a community on a secure server opened by an unenrolled device of a secure account (SM-4, Matrix A row A7) "Join"; channels inside then show G2 (§4.3)

Existing community members. For a channel link opened by an account that is already an active member of the channel's community (§10.1 step 3), rows 1, 2 and 5 don't apply, and row 6's action is "Open" instead of "Join": it calls only the channel join (09 §4.5) and opens the channel. Rows 3 and 4 still apply to a secure channel.

On a web client whose origin may not hold the account's keys (§16.11), rows 3 and 4 offer the actions of §16.11 ("Open {domain}'s web app", "Get the app") instead.

Invite errors (09 §15.4): invite.not_found → "This invite link doesn't work. Ask for a new one."; invite.expired → "This invite has expired. Ask for a new one."; invite.used_up → "This invite has been used up. Ask for a new one."; invite.revoked → "This invite was cancelled. Ask for a new one."

A secure account opening the preview of an insecure community, or of an insecure channel in one, sees W1 inside the preview, above the primary action, unless the community is already in w1_seen (§3.1.1). Tapping the primary action records W1 as shown.

A link to a user address opens the person's profile card with the display form and the action "Message" (12). A link to an address the lookup answers with 410 shows "This address is no longer in use." (ST.address_gone; 01 §9.4, §5.7; this also covers the old name of a renamed channel after its reservation). A link whose domain or alias no longer resolves (01 §7.9, §11.5) shows "This link no longer works. Ask for a new one." (ST.link_broken).

10.3 Deferred join: the share-link page

A share link (01, built from ServerMetadata links.join, 02 §7.3.4) is an HTTPS URL served by the server's operator. When it is opened on a device without the app, that page is what the person sees. 01 §11.3 owns what the page must serve and how (status codes, the alternate link, no cookies, no third-party script, no fingerprinting), and allows it to be served by the server or by the operator's own web site. This section owns only its layout and copy, which 01 §11.3 rule 3 delegates here.

  1. The page shows the same preview as §10.2 for the target, from the data 01 §11.3 items 3 and 5 allow (item 4 for unknown, hidden and deleted targets), including the lock presentation of §8.3 item 4 for an anonymous visitor (the outline lock and "Encrypted" for a secure target, nothing for an insecure one).
  2. It offers, in this order:
    • "Open in Sloppy Voice": a link to the sloppyv URI of the target (01).
    • "Continue in your browser", only when links.web is set: a link to links.web with the fragment of rule 3.
    • "Get the app": links to the app's download pages.
  3. Proposed decision PD-20-4: the "Continue in your browser" link is the links.web URL with the fragment #sloppyv= followed by the target sloppyv URI (as 01 generates it), with every octet of its UTF-8 form percent-encoded except the RFC 3986 unreserved characters (vectors in §21.6). The web client decodes the value exactly once. A web client that loads with a sloppyv fragment parameter MUST treat it as a link opening (§10.1), and MUST then remove the fragment from the address bar without a navigation. Rationale: the fragment never reaches server logs, and any web client implementation can accept links from any server's page with one rule.
  4. Deferred deep linking: an app MUST NOT use device fingerprinting or third-party attribution services to carry the link through installation. It MAY use platform mechanisms that carry the link explicitly (for example an install referrer that the store passes unchanged). On first launch with no account, the first screen (§9.1) offers "Have an invite link? Paste it here", which reads the clipboard only when the user taps the system paste control.
  5. The page's copy never asks the person to sign in or for an e-mail address (01 §11.3 rule 1 already forbids requiring sign-in).
  6. For 01 §11.3 item 4: with an invite, the page shows only the community and the line "Open this invite in Sloppy Voice to see where it leads."; without an invite (404 or 410), the page says "This link doesn't lead anywhere. Ask the person who sent it for a new one."

Response headers for the page are 01's to require; 01 §11.3 item 10 lists them. HSTS there has includeSubDomains RECOMMENDED but not required, because the RECOMMENDED share-link host is the operator's bare canonical domain (01 §11.2), where includeSubDomains would force HTTPS on every unrelated subdomain. The web client hardening profile of §16 applies to web client origins, not to this page.

10.4 Sharing

Every channel, community and user profile has a "Share" action, and the invite screen (09 §8) a "Copy invite link" action.

  1. The share link is the primary form; the sloppyv URI is offered next to it as "Copy app link" (00 §2.1). When links.join is absent, only the sloppyv URI is offered.
  2. Both forms are generated with the canonical domain (01, 09 §8.1), never an alias.
  3. The text placed on the clipboard or passed to the share sheet is exactly the link, with no isolate characters (01 §6.8). Where the share sheet takes a message, the reference text is "Join me in {channel} on Sloppy Voice: {link}" (channel), "Join {community} on Sloppy Voice: {link}" (community), "Message me on Sloppy Voice: {link}" (own profile).
  4. Creating an invite takes one tap with the defaults of 09 §8.3 (7 days, unlimited uses). "Edit invite settings" is a secondary action.
  5. Invite codes shown on screen use the grouped display form 7KQ2-M9XP-4HRT (09 §8.2).
  6. A client MAY show a QR code of the share link. It MUST NOT be confused with a pairing or verification QR code: those screens are visually distinct and their codes start with a different prefix (08, 07 §17.2), and a scanner that reads a pairing or verification code in the link scanner says "That's a code for setting up a device, not a link." and does nothing.

10.5 Alias links: worked example

The person taps sloppyv://Public%20Lobby@chat.sloppyvoice.com. parseInput and canonicalize give publiclobby@sloppyvoice.com (the canonical domain of the server that chat.sloppyvoice.com resolves to). The preview shows "Public Lobby", "PublicLobby@sloppyvoice.com", and community domain sloppyvoice.com. The string chat.sloppyvoice.com appears nowhere on screen. Copying the channel's link afterwards yields the canonical share link built from the display-local form (01 §10.3, §11.2), for example https://sloppyvoice.com/j/PublicLobby, and "Copy app link" yields sloppyv://PublicLobby@sloppyvoice.com.

11. Calls: talk, mute and reconnect indicators

The talk and mute indicators are the user-visible half of D-012 and HP-13. Their only inputs are what the audio engine exports (16 §7.10): the TalkState (state, reason, blockedBy), userMuted and muteReason (16 §7.2), plus the newest VoiceLease's audioBlockedBy (15 §4.1, §4.10) for the mute indicator (§11.3); the talk indicator uses TalkState's blockedBy, which 16 §7.10 derives from it, to say why the user isn't allowed to talk.

11.1 Hard rules

  1. Never looks like transmitting. The transmitting presentation (§11.2) is shown if and only if TalkState is transmitting. No other state may use its colour, shape, animation, icon or wording.
  2. Never silent about not being heard. Whenever TalkState is not_heard, the indicator shows text that ends with "you're not being heard" (or its localisation, §19.2), visible without hovering or opening anything.
  3. Same evaluation. The client renders the TalkState it receives within one display frame (and at most 50 ms) of receiving it. With 16's 100 ms delivery bound, the user sees every change within 150 ms.
  4. Not colour alone. Each state differs from the others by icon shape and text, not only colour (WCAG 1.4.1).
  5. Unknown values. A state or reason the user interface doesn't know is shown as not_heard with no reason (surface ID TI.not_heard): "You're not being heard" (16 §7.10).
  6. Input level meter. A microphone level meter MAY be shown in every state (it helps voice-activation users), but outside transmitting it MUST use the neutral style and MUST NOT be the only element near the mute button that moves.

11.2 The talk indicator

Surface ID TalkState TalkState blockedBy (16 §7.10) for the not_allowed rows; mode where named Reference text Presentation
TI.transmitting (transmitting, —) — "Talking" Filled microphone in the accent colour, animated ring; the user's tile shows the speaking ring
TI.not_heard.reconnecting (not_heard, reconnecting) — "Reconnecting — you're not being heard" Crossed-out broadcast icon, neutral-strong colour, steady (not animated)
TI.not_heard.connecting (not_heard, connecting) — "Connecting — you're not being heard" As above
TI.not_heard.keys (not_heard, waiting_for_keys) — "Securing the call — you're not being heard" As above
TI.not_heard.muted (not_heard, muted) — "You're muted — you're not being heard" with the action "Unmute" As above, with the muted-microphone icon
TI.not_heard.moderator (not_heard, not_allowed) muted_for_everyone or server_muted "Muted by a moderator — you're not being heard" As above
TI.not_heard.timeout (not_heard, not_allowed) timed_out "You're timed out — you're not being heard" As above
TI.not_heard.permission (not_heard, not_allowed) no_permission "You can't talk in this channel — you're not being heard" As above
TI.not_heard.other (not_heard, not_allowed) other, unknown or absent "You can't talk here right now — you're not being heard" As above
TI.not_heard.mic (not_heard, no_microphone) — "Your microphone isn't working — you're not being heard" with the action "Check microphone" As above
TI.idle (idle, null) mode ptt "Hold {key} to talk" (desktop) or "Hold to talk" (on-screen button) Outline microphone
TI.idle (idle, null) mode vad or open_mic No text Outline microphone
TI.idle.listening (idle, not_allowed) — "Listening only" plus the reason in smaller text: "Muted by a moderator", "Timed out until {time}", or "You can't talk in this channel" Outline microphone with a slash
TI.idle.connecting (idle, connecting) — "Connecting…" Outline microphone, dimmed
TI.idle.reconnecting (idle, reconnecting) — "Reconnecting…" Outline microphone, dimmed
TI.muted (muted, any reason) — No talk-indicator text; the mute indicator (§11.3) says why Outline microphone with a slash
— (off, —) — No indicator —

The text "you're not being heard" uses the same wording in every not_heard row so users learn it once. Timed-out text takes the time from 10's Timeout object when known.

Push-to-talk feedback. On touch screens, a press of the on-screen push-to-talk button that results in not_heard SHOULD produce a distinct haptic pattern (for example two short pulses) different from the one for transmitting. On desktop, the client MAY play a short, quiet "blocked" tone on a press that results in not_heard, once per press, and only if the user enabled push-to-talk sounds.

Push-to-talk not observable (16 §7.7). When the client knows it can't observe the PTT control (no global shortcut, page hidden), it shows under the indicator the status line ST.ptt_unobservable "Push-to-talk works only while this window is active." on desktop, or "Push-to-talk works only while this tab is open and in front." on the web. It is shown persistently, can't be dismissed, and is removed when observation resumes, the mode leaves ptt, or the call ends (16 §7.7). It is not a warning.

11.3 The mute indicator and button

The mute indicator is chosen by this ordered list; the first row that matches wins. B is the newest VoiceLease's audioBlockedBy (null when the lease covers audio), and afterBlock is the device-local flag of rule 4.

# Surface ID Condition Mute button Text near the button
1 MI.moderator B is muted_for_everyone or server_muted Disabled, with a distinct "muted by a moderator" icon "Muted by a moderator" (10)
2 MI.timeout B is timed_out Disabled "Timed out until {time}" ({time} from 10's Timeout until, when known)
3 MI.permission B is no_permission Disabled "You can't talk in this channel"
4 MI.blocked B is other or an unknown value Disabled "You can't talk here right now"
5 MI.after_moderator userMuted and afterBlock Muted, highlighted "You can talk again. Tap to unmute." (desktop: "Click to unmute")
6 MI.rejoin userMuted and muteReason = rejoin Muted, highlighted "You were reconnected and muted. Tap to unmute." (desktop: "Click to unmute")
7 MI.interruption userMuted and muteReason = interruption Muted, highlighted "Muted after another app used your microphone. Tap to unmute."
8 MI.user userMuted (any other reason) Muted "Muted"
9 MI.unmuted Otherwise Not muted None

Keying on userMuted rather than on TalkState state means a push-to-talk user who is muted and holds the key (TalkState (not_heard, muted), 16 §7.11 row 6) still sees MI.user, and the button never flips between "Muted" and "Not muted" with each press. A user who is both self-muted and blocked sees the block first (rows 1–4); the self-mute shows again when the block ends.

Rules:

  1. MI.rejoin is shown from the start of the outage, because the engine sets the rejoin mute when the drop is detected (16 §7.8); the user never sees "unmuted" during or after an outage in voice-activation or open-mic mode.
  2. Voice activation keeps running while muted. While MI.user, MI.rejoin, MI.interruption or MI.after_moderator is shown and vadActive is true for more than 1 s, the client MAY show a gentle hint "You're muted" next to the button (HINT.muted_speaking, 16 §7.6), at most once per 60 s. It MUST NOT unmute automatically.
  3. Unmuting is always a deliberate tap, click, or the user's mute shortcut.
  4. Blocks from a moderator or the server. Proposed decision PD-20-7: when B changes from null to any non-null value (a moderator mute, a server mute, a timeout, losing speak_and_share, or other), or the first VoiceLease of a join or rejoin already carries a non-null B, while the device is in vad or open_mic mode and userMuted is false, the client sets userMuted = true with muteReason = user at that moment, reports it as 16 §7.8 requires, and sets the device-local flag afterBlock. The flag is cleared when the user unmutes, when the call ends, or when the mode changes to ptt. A change of mode to vad or open_mic while B is non-null sets the same mute and afterBlock (16 §7.8). While the block lasts, rows 1–4 show; when it ends (B back to null), row 5 shows "You can talk again. Tap to unmute." until the user unmutes. In ptt mode nothing changes: the gate follows the physical control (15 §10.6 rule 3), so a held key transmits as soon as coverage returns. Because the mute is applied when the block starts, the transmit gate is already closed by userMuted when lease ticks restore coverage (ticks reach the engine on their own path, 15 §4.10), so a voice-activation or open-mic user never transmits again without a deliberate action. Rationale: D-012 mutes voice-activation and open-mic users after an outage because they have no physical control to show intent; a moderator mute or timeout that ends while the user may have walked away is the same situation, applied by analogy. 16 §7.8 and 15 §10.6 rule 6 specify the same mute.
  5. Self-deafen shows a separate button state "Sound off"; deafening also mutes (16 §9.7, 15 §3.5) and the mute button shows MI.user.

11.4 Worked example: a train tunnel

Time Event TalkState User sees
0 s PTT user holds the key and talks (transmitting) TI.transmitting "Talking"
3 s Relay connection fails (15 §10.1) (not_heard, reconnecting) "Reconnecting — you're not being heard"
5 s User releases the key (idle, reconnecting) "Reconnecting…"
9 s User presses again during the outage (not_heard, reconnecting) "Reconnecting — you're not being heard"
12 s Rejoin completes, key still held (transmitting) "Talking" (live audio only, 16 §7.5)

The same tunnel for a voice-activation user: at 3 s the mute button switches to MI.rejoin and stays there after the rejoin at 12 s until the user taps it.

Times in this example are when the client notices each event; at 3 s it notices the failure at once (for example the connection's transport closes). When the network just goes quiet instead, the talk indicator changes about 1.5 s after the last message from the relay (16 routeUp), and the client declares the drop, and shows ST.call_reconnecting.0, 5 s after that last message (15 §6.7 rule 2). 16 §7.11 has that timeline.

11.5 Secure-call key waits

During a security upgrade or group restart migration (15 §12.1, §12.5) or a media epoch switch where the gate actually closes, a user holding PTT sees TI.not_heard.keys or TI.not_heard.reconnecting. No other surface appears (NP-4). The call header's lock changes from pending to closed when keys for the call's media epoch are installed (§8.2).

11.6 What others see

Participant event (15) Tile Sound
call.participant_updated with participant state: reconnecting Nothing at first. If that pid is still reconnecting 2,000 ms after this event arrived (no later call.participant_updated or call.participant_left for it), BADGE.reconnecting: a small badge on the tile, a looping-arrows icon and, on hover or long press, "Reconnecting…" (15 §2.6). The tile otherwise stays as it was (name, video frozen or avatar). None
call.participant_updated with participant state: connecting (a seat being restored by a rejoin, from reconnecting or connected, 15 §2.6) Badge removed if shown, and its 2,000 ms wait cancelled; otherwise no change to the tile None
call.participant_updated with participant state back to connected Badge removed if shown, and its 2,000 ms wait cancelled None
call.participant_left with reason timeout Tile removed The normal leave sound
call.participant_left with reason moved or switched The tile stays, unchanged, for up to 4,000 ms (the 3,000 ms bound of 15 §11 step 3 plus time for admission and delivery). If a call.participant_joined with movedFrom equal to that pid arrives within that time, the new tile replaces the old one in place, silently. Otherwise the tile is removed when the time runs out. None if replaced; the normal leave sound if removed
call.participant_joined with rejoined: true or movedFrom Tile appears (or replaces the moved one) None
call.participant_joined otherwise Tile appears The normal join sound
call.participant_left with reason call_ended, for a call that ended with security_upgraded or group_restarted The tile stays until the same account joins the new call (the new tile then replaces it in place) or 60 s pass (it is then removed) None (15 §12.1)
call.participant_joined in the new call of the same context, within 60 s of a call.ended with security_upgraded or group_restarted, for an account that was in the previous call Tile appears, or replaces the old one in place None (15 §12.1)
call.participant_left, other reasons Tile removed The normal leave sound
selfMuted: true Muted-microphone icon None
selfDeafened: true Sound-off icon None
mutedForEveryone: true The distinct "muted by a moderator" icon, different in shape from the self-mute icon None

Proposed decision PD-20-10: join and leave sounds are played only for joins and leaves that aren't caused by auto-rejoin or by Move voice here within the same call, or by the migration into a new call after security_upgraded or group_restarted (15 §12.1), and the reconnecting badge has no sound. A moved or switched leave plays the leave sound only if no matching movedFrom join follows within 4,000 ms, because then the person really left this call (moved to another call, 15 §11). Rationale: 15 §10.3 promises others hear no leave or join churn during short drops; the badge is the only "auto-rejoin badge for others".

A participant's speaking ring is driven only by received audio from that participant, never by the participant's self-reported state.

11.7 The user's own call screen during an outage

Time since the drop (15 §10.4) Surface ID Status line in the call header
0 to 15 s ST.call_reconnecting.0 "Reconnecting…"
15 to 60 s ST.call_reconnecting.15 "Still reconnecting. Check your internet connection."
After 60 s (fresh joins, 15 §10.5) ST.call_reconnecting.60 "Trying to get you back into the call…"

The call screen stays open, the Leave button stays available, and nothing else changes. There is no modal, no sound and no notification (NP-6). The status line disappears when the rejoin completes.

Re-establishing after a planned migration. From a call.ended with reason security_upgraded or group_restarted, or a relay.closing with call_restarted (15 §6.6), until the new call's first lease tick (16 callState migrating), the call header shows ST.call_reestablishing: "Setting up the call again…". It is not an outage line and never a warning. ST.call_reconnecting.* appears only if an actual drop then happens (15 §10.8).

11.8 Why a call ended

When the call screen closes for a terminal reason (15 §10.1, §10.5), the client shows one line where the call was, for 10 s or until dismissed:

Surface ID Cause Reference text
ST.call_end.ended call.ended with completed, context_closed, channel_deleted or an unknown reason; call.ended with empty, except as below; relay.closing call_ended; call.not_active "The call ended."
ST.call_end.dm dm.closed, dm.encryption_pending (15 §10.5) "This conversation can't take calls right now."
ST.call_end.unanswered unanswered "No answer." with "Ring again" (15 §13.3)
ST.call_end.declined declined "{person} declined the call." (1:1), "Nobody answered." (group)
ST.call_end.downgraded security_downgraded "The call ended because {person} turned off encryption." (W2 and W7 then show in the DM; no auto-rejoin)
ST.call_end.moved call.moved (event or error) with sameCall true; relay.closing moved until call.moved says otherwise "Your call moved to {device}."
ST.call_end.moved_other call.moved (event or error) with sameCall false (15 §11) "You joined another call on {device}."
ST.call_end.elsewhere call.already_in_call other than same device and same call (15 §10.5: terminal) "You're in this call on {device}." with "Move here" (§11.9); "You're in a call on {device}." when the existing participation is in another call. Without a known device: "on another device".
ST.call_end.removed Seat removed with removed "You were removed from the call." (or 10's ban or kick sentence when known)
ST.call_end.revoked Seat removed with revoked "This device was disconnected from the call."
ST.call_end.start_fresh This device left the call because its user started fresh (08 §11.2 S5, 15 §12.4) "You left the call to start fresh with new encryption keys."
ST.call_end.encryption_off This device left the call because its user turned off encryption (08 §11.3, 15 §12.4) "You left the call to turn off encryption."
ST.call_end.forbidden core.forbidden, core.not_found, call.rejoin_invalid, any other 4xx not named in this table "You can't rejoin this call."
ST.call_end.gate security.* during a rejoin G1 or G2 in the call view (§4)
ST.call_end.w9 W9 raised for the context W9 (§3.9)
ST.call_end.full call.full at the first join "This call is full."

Where {device} is unknown, both ST.call_end.moved and ST.call_end.moved_other say "your other device".

security_upgraded and group_restarted (and relay.closing call_restarted) are not ends. The call screen stays and shows ST.call_reestablishing (§11.7). Mic and push-to-talk state are kept, and the lock moves to pending then closed (15 §12.1, §12.5); if G1 or G2 is needed, ST.call_end.gate applies. call.ended with server_restart is an unexpected drop, so §11.7's outage lines apply (15 §10.1). A rejoin answered with call.ended empty or server_restart in a voice channel isn't an end either: the client joins afresh in the same attempt (15 §10.5).

11.9 One call at a time and incoming calls

  • Move voice here (15 §2.3). When the user joins a call on this server while in it on another device, the client asks once: "You're in this call on {device}. Move it here?" with "Move here" and "Cancel". When the existing participation is in another call on this server (call.already_in_call with sameCall false), the client asks: "You're in a call on {device}. Leave it and join here?" with "Join here" and "Cancel". Switching channels on the same device never asks.
  • Across servers (D-067). Joining a call on a different server while in a call ends the current call first; the client asks once: "Leave the call in {context} and join this one?" with "Join" and "Cancel".
  • Incoming call screen (in-app; the operating-system call UI and notifications belong to 19). It shows the caller's person reference and display form, the DM or group name, the lock per §8.3 item 3, "Video call" when the ring's video is true, and "Answer" and "Decline". Ringing is never a security prompt (15 §13): no security text appears on it apart from the lock. Message requests never ring (15 §13.1).

11.10 Sharing, camera and viewer surfaces

These surfaces implement 17 §4.2, §4.5 (including D-090's rules after an automatic rejoin), §4.6 and §10.1. None is a security surface; all are passive states or status lines. The rule mirrors §11.1 rule 1: the active style (SHARE.active, CAM.on) is shown if and only if frames of that source are being sent (17 §4.2). Every not_seen variant keeps "Stop sharing" (or the camera's off control) and never uses the active style.

Surface ID Shown when Reference text
SHARE.active A screen share is being sent "You're sharing your screen", with "Stop sharing" (primary) and "Pause sharing" (when offered, 17 §4.6 item 6)
SHARE.not_seen.reconnecting The share is active but its frames reach no one because the call is reconnecting (the share is held for at most 30 s after the drop, D-090) or migrating into a new call, or the own lease is stale (17 §4.5) "Reconnecting — your screen isn't being seen"
SHARE.not_seen.keys Secure call, sending keys missing (17 §4.2 item 4) "Securing the call — your screen isn't being seen"
SHARE.not_seen.interrupted The operating system interrupted the capture (17 §4.5) "Your device paused screen capture — your screen isn't being seen"
SHARE.paused The sharer paused (17 §4.6 item 6) "Sharing paused", with "Resume" and "Stop sharing"
SHARE.stopped.reconnect 17 §4.5 stopped the share after an unexpected drop because the seat wasn't restored within 30 s (D-090); shown once, for 10 s, or until dismissed or the user shares again "Screen sharing stopped while you were reconnecting." with "Share again", which opens the platform's share picker (17 §4.2)
CAM.off.rejoin The webcam was on when an unexpected drop happened and was turned off (17 §4.5, D-090); shown near the camera button from the drop until the user turns the camera on or the call ends "Your camera was turned off when the call dropped. Tap to turn it on." (desktop: "Click to turn it on")
CAM.on The webcam is being sent A self-view or a camera-on indicator
CAM.not_seen.reconnecting, CAM.not_seen.keys, CAM.not_seen.interrupted As the SHARE variants "Reconnecting — your camera isn't being seen", "Securing the call — your camera isn't being seen", "Your device paused the camera — your camera isn't being seen"
SHARE.not_allowed.permission, SHARE.not_allowed.timeout, SHARE.not_allowed.other Starting a source is refused by the lease (17 §4.2 item 1) "You don't have permission to share here", "You're timed out" (with "until {time}" when known), "You can't share here right now"
VIEW.loading Viewer state loading (17 §10.1) A neutral placeholder with a spinner, no text
VIEW.held Viewer state held The last picture with the small label "Picture delayed". It never uses the word "Paused" and doesn't blame the viewer's connection.
VIEW.blocked Viewer state blocked The participant's avatar, as when the camera is off; no text

Share options (17 §5.6, §5.5): "Optimise for: Text and images / Motion and video" and "Smoother video (uses more data)". The "Paused" card that the sharer's client renders into the video (17 §4.6 item 6) uses the single word "Paused".

12. Recovery, pairing and reset screens (HP-14)

These screens are for people who may never have heard of encryption keys. 08 owns the procedures; this section owns what is on screen.

12.1 Principles

  1. One task per screen, one primary button, plain words (§2.3).
  2. Pairing by QR code is offered first and the 6-digit code second (04, 08 §6.9.1), because only the QR path resists recorded-transcript attacks.
  3. Failures never say which device, which digit or which word was wrong (04). Both devices show the same result.
  4. Every code shows how long it stays valid: "This code works for 10 minutes." with a live countdown in the last 2 minutes.
  5. Nothing on these screens is a warning (D-055). A refused or failed pairing is "That didn't work", not a security alert.
  6. Codes and words are shown large, in a tabular or monospaced font, grouped (042 917; words numbered 1–8), and are read out by screen readers one unit at a time (§19.1).

12.2 The device-setup chooser

Reached from G2, from "Set up this device" in Settings or W4a, and once after sign-in on a new device of a secure account (§9.7).

Element Reference text
Title "Set up encryption on this device"
Body "To read your encrypted chats here, get your keys from another device or from your recovery key."
Option 1 (shown and primary only when the IdentityState lists another active device, 08 §12.3) "Use another device" — subtitle "Scan a code with a phone or computer where you're signed in."
Option 1b (secondary, shown when another active device is listed) "Scan or type a code from my other device" — subtitle "If your other device is already showing a code."
Option 2 (shown when a KeyBackup exists, 08 §12.3; primary when no other active device is listed) "Use recovery key" — subtitle "The 8 words you saved when you turned on encryption."
Option 3 (small link) "I can't do either"
At sign-in only "Skip for now" — subtitle "You can still use chats that aren't encrypted."

12.3 Pairing from the new device (direction A)

New device (08 §6.9.1):

Step Reference text
Showing the code Title "Approve from your other device". Body "On a phone or computer where you're signed in as {me}, open Sloppy Voice and scan this code." Under the QR code: "Can't scan? Type this code instead: {code}". Footer: "This code works for 10 minutes." Secondary actions: "Use recovery key instead", "Show the code on my other device instead".
After the approver joined "Continue on {device}"
Receiving keys "Setting up this device…"
Success Title "This device is ready". Body "Your encrypted chats are loading. Older messages may take a moment to appear." Button "Done".

Approver prompt (M5, 08 §6.9.2), shown on every enrolled device as a system alert:

Element Reference text
Title "Is this you signing in on {device}?"
Body "Signed in with {provider} at {time}. Only approve it if it's your own device and you're setting it up now."
Actions "Yes, approve" (primary), "No"

The prompt (M5.approver_prompt) is a system alert (§2.2) that also disappears by itself, without any other surface, when the pairing session leaves waiting because another device joined it, or it was cancelled, denied or expired (08 §6.4.3, §6.8, NP-17). {time} is the session's creation time; {device} is the new device's DeviceSummary name (08).

After "Yes, approve": the scanner opens with the instruction "Scan the code on your new device" and the action "Type the code instead". The code field accepts 6 digits leniently (08 §6.3.2) and shows them grouped as typed. After scanning a code for another sign-in (08 §6.9.2 step 4): "That code is for a different sign-in. Scan the code on the device you're setting up." Success on the approver: "Your new device is ready."

After "No": on the same surface and without warning styling, the prompt is replaced by the line "If you don't recognise {device}, sign it out.", the action "Sign out {device}" (revokes it through 05 §12.9, with fresh authentication if 05 §9 asks for it), the link "Check your sign-in methods" (opens §12.9 step 1) and "Done" (08 §6.9.2 step 2; surface ID M5.denied). The new device shows "Your other device said no." with "Try again" and "Use recovery key instead".

12.4 Adding a device from an enrolled device (direction B)

"Add a device" in Settings (08 §6.9.3):

Step Reference text
Enrolled device Title "Add a device". Body "On your new device, sign in as {me}, then choose "Scan or type a code from my other device"." QR code and "Or type this code: {code}". Prominent line: "Enter this only on your own new device." Footer: "This code works for 10 minutes."
New device Option in the chooser after sign-in: "Scan or type a code from my other device". Scanner with "Type the code instead". If several sessions are open: "Which device is showing the code?" with the approvers' names.
Enrolled device, after a device joined The instruction under the code is replaced by "Connecting to {device}, signed in with {provider} at {time}" and a "Cancel" button (08 §6.9.3; SETUP.pair_add.joined)
Enrolled device, before sending "Send your encryption keys to {device}?" with "Send" (primary) and "Cancel"; part of M5, not a warning (SETUP.pair_add.confirm)
Success on the enrolled device "{device} is ready."

12.5 Results and failures

Situation (08 §6.8, §6.11) Both devices show
Wrong code, timeout, expiry, cancellation, protocol error Title "That didn't work". Body "Nothing was changed. You can try again with a new code." Button "Try again" (new session); secondary "Use recovery key instead" on the new device.
denied New device: "Your other device said no."
core.rate_limited with policy pairing.create or pairing.open (08 §6.10) "Too many tries. You can try again at {time}." with "Use recovery key instead".
Identity changed during pairing "Your encryption was changed on another device. Start again."
Camera refused "Type the code instead" becomes the primary action.

12.6 Entering the recovery key

08 §4.3 fixes the input algorithm and two messages; this is the full reference text.

Element Reference text
Title "Enter your recovery key"
Body "It's 8 words. If you saved it in a password manager, it can fill them in for you."
Where to look "Look in your password manager under "Sloppy Voice" or {me}, or on the page you printed." (08 §4.3)
Username field (read-only) {me} (08 §4.3)
Phrase field label "Recovery key"
Inline mark on an unresolved word "Not a recovery key word"
Checksum failure "One of the words doesn't look right. Check them against your saved recovery key."
Phrase passes the checksum but doesn't open the backup "That recovery key didn't work. If you made a new recovery key later, use that one."
Download refused by rate limit (core.rate_limited with policy backup.download, 08 §5.7) "Too many tries. You can try again at {time}."
Working "Unlocking…" (Argon2id runs here, 0.3–2 s)
Not enough memory (04 §12.3) "This device doesn't have enough free memory to unlock your recovery key. Close other apps and try again, or approve this device from another one." Actions "Try again" and "Approve from another device" (§12.3)
Success Title "Welcome back". Body "Your encrypted chats are loading. Older messages may take a moment to appear."
Secondary "I don't have it" (opens §12.2 or §12.8)

12.7 Verifying a contact

The verification screen of 07 §17, opened from W2's "Verify", the lock details sheet of a 1:1 DM, or the contact's profile in a DM. Verification is never suggested anywhere else (07 §17).

Element Reference text
Title "Verify {person}"
Subtitle {personForm}
Body "Compare this safety number with {person}, in person or on a call where you recognise their voice. If it matches, they're really who they say they are."
Safety number 60 digits in 12 groups of 5, in 3 rows of 4 groups (07 §17.1)
QR code Shown below, with "Or scan each other's codes"
Actions "Mark as verified", "Scan their code"
Scan succeeded "You've verified {person}."
Scan of a mismatching code "These codes don't match. Check you're scanning {person}'s code." (nothing changes)
Scan of another person's code "That code belongs to someone else."
Profile, when verified "Verified" with the date, and the action "Remove verification"

12.8 M10: Start fresh

Reached from "I can't do either" (G2, §12.2), the recovery-key screen's "I don't have it", and "Reset my encryption" under Settings › Encryption › Advanced (08 §11.1). Requires fresh authentication (05 §9) before the reset is sent. Step 3 of §12.9 runs the same reset with its own explanation.

Element Reference text
Title "Start fresh with new encryption keys?"
Lead "Use this only if you've lost every device you set up and your recovery key."
Bullet 1 "You won't be able to read your earlier encrypted messages on your new device."
Bullet 2 "People you've chatted with privately will see a notice that your security key changed."
Bullet 3 "Encrypted channels and groups will let you back in, without their earlier messages."
Bullet 4 "Your account, your address, your communities and your contacts stay the same."
Bullet 5 "Your other signed-in devices will need to be set up again." (08 §11.2 S1)
Bullet 6 "If you find one of your old devices within 30 days and set it up again, it can bring back your earlier messages in encrypted channels. Your earlier private and group chats stay only on that old device." (08 §11.4, 12 §11.5, D-007)
Bullet 7, only while this device is in a call "Your current call will end." (08 §11.2 S5)
Primary "Start fresh"
Secondary "Go back"

After success the client shows the save step (§9.5) for the new recovery key. A reset MUST NOT be sendable in one tap from a gate card: G2's "I can't do either" opens this screen, and its "Start fresh" button is a separate, second step, followed by fresh authentication. The screen MUST NOT be described as a fix for a lost or stolen device: that is "Remove device" (D-017). It MUST NOT promise that a recovery key found later helps: the reset deletes the old KeyBackup (08 §11.2 S5).

Rationale: M10 is the only moment that costs the user's contacts a warning (W2). The copy says exactly who sees what, so the user can choose it knowingly.

12.9 Account security and security activity

"This wasn't me" (W4a), "Secure my account" (W4b), "Review devices" (W4c) and "This wasn't me" (W4d) open one screen.

Element Reference text
Title "Secure your account"
Step 1 "Check your sign-in methods" — the linked providers (05 §10) with "Remove" on each, and the lines "Remove any you don't recognise." and "If someone got into your {provider} account, change its password there first." (one line per linked provider, or once with the provider used for the session that caused the alert when known)
Step 2 "Check your devices" — the device list (05 §12.10) with "Remove" on each.
Step 3, only when opened from W4a.reset "Take back your encryption" — "If someone else set up encryption on your account, first do steps 1 and 2, then reset encryption to take it back. People you've chatted with privately will see another notice." Button "Reset encryption", which runs the reset (07 §15) after fresh authentication and then shows the save step.
Security activity A list of this device's W4 events (W4a, W4b, W4c, W4d) with date and device, newest first, kept on the device for 90 days.

Opened from W4b, W4c or W4d, the screen shows only steps 1 and 2: removing the unknown device or sign-in method is the fix (D-017), and a reset would show every DM contact W2 for nothing. A user who still wants a reset finds it under Settings › Encryption › Advanced (§9.6).

12.10 Other confirmations

Action Reference text
Remove a device (05 §12.10) "Remove {device}? It will be signed out." Buttons "Remove", "Cancel". For an enrolled device of a secure account, the confirmation also asks "Was it lost or stolen?" with "No" (default) and "Yes". Yes sends reason: lost_or_stolen (05 §12.9, §12.10); after the removal the client shows the save step (§9.5) for the new recovery key (08 §10.8) with the lost-or-stolen body.
Removing the last enrolled device while W8 is active (05 §12.10) Adds: "You haven't saved your recovery key. After this, you can only read your encrypted messages on a new device if you've saved it." and the link "Save recovery key first".
Delete account (05 §16.5) Title "Delete your account?" Body: "Your address {me} can't be used again for a while. Messages you already sent stay where you sent them. This can't be undone." Buttons "Delete account", "Cancel". Then fresh authentication if needed. Deletion is immediate (D-091): there is no waiting period and nothing to cancel, so the client MUST NOT offer an undo, schedule the deletion or describe a grace period. After the request succeeds it shows the sign-in screen with ST.signed_out.account_deleted (§9.8).
Turn off encryption (downgrade, 07 §15) Title "Turn off encryption?" Bullets: "Your direct messages with encrypted contacts won't be end-to-end encrypted any more, and they'll see a notice."; "You'll leave encrypted group chats."; "You won't be able to read or join encrypted channels."; "If you turn it on again later, you'll get new keys and people will see another notice."; while this device is in a call, a last bullet "Your current call will end." (08 §11.3). Buttons "Turn off encryption", "Keep encryption". Fresh authentication follows (05 §9). Not offered on a secure server (07 §15.4).
Fresh authentication (05 §9.4) "To keep your account safe, confirm it's you." Button "Continue with {provider}". Surface ID M1.reauth. Also shown before turning on encryption when the last sign-in is more than 23 h old (§9.5, D-085).
Sign out on the account's last enrolled device (05 §14) Title "Sign out?" Body "This is the only device with your encryption set up. On your next device you'll need your recovery key to read encrypted messages." Buttons "Sign out", "Cancel"; when W8 is active, "Save recovery key" (M4) is the first and default button.
Bot token suspected leaked (05 §15.4) Action "Revoke and replace"; the grace-period choice is shown only for routine rotation.

12.11 Platform labels

Where a device must be named and no device name is known:

plat Reference text
desktop "Computer"
web "Web browser"
ios "iPhone or iPad"
android "Android device"
bot "Bot"
unknown "Device"

13. Bots

13.1 The bot badge

  1. Every place that shows a person reference for a bot account shows a bot badge immediately after the name: the text "Bot" in a small chip (localised), with the accessible name "Bot".
  2. The badge comes from the account kind, never from the display name: the IdentityCertificate kind: "bot" for a secure bot (07), otherwise the account kind from the profile, AddressInfo bot or a Participant's kind (05, 01 §9.3, 15 §2.5.2). If the certificate and another source disagree, the certificate wins (01 §9.3).
  3. Display names can't imitate the badge: they can't contain brackets or punctuation (01 §6.1), and clients MUST render the badge as a visually distinct element that text can't produce (a chip with its own background), never as text appended to the name.
  4. The badge appears in timelines, member lists, call tiles, DM lists, message requests (12 §10.7), mentions and profile cards.
  5. Bots never ring anyone and aren't rung (15 §13.1).

13.2 W6 and bot wording

  • W6 (§3.6) is the only security surface about a bot joining.
  • W2 has bot wordings (§3.2.2), selected from the pin's kind (07 §15.6).
  • An insecure bot in a secure channel or community is refused by the server (00 Matrix F); an admin who tries to add one sees "This bot can't join encrypted channels. Its owner needs to turn on encryption for it." (§14).

14. Non-security status lines

Other documents describe user-visible states that aren't security warnings and defer their copy here. These are status lines, hints or neutral placeholders. They MUST NOT use security styling (§2.1 rule 3).

14.1 Errors by userAction (03 §10.2)

userAction Reference text
none The action's own failure text if this document or the code's owner gives one; otherwise "That didn't work."
retry "That didn't work." with "Try again"
wait After 2 s: "Waiting for {domain}…"
sign_in After silent recovery fails: the sign-in screen (§9.2) with the title "Sign in again to {domain}"
enable_encryption G1 (§4)
set_up_device G2 (§4)
update_app Full screen: title "Update Sloppy Voice", body "{domain} needs a newer version of this app.", button "Update"
contact_admin "Only the people who run {domain} can fix this." plus the contact link from ServerMetadata contact (02) and "Reference: {instance}" when present

14.2 Servers and connections

Surface ID Situation (owner) Where Reference text
ST.server_not_found discovery.not_found, discovery.invalid_domain (02) Where the address was typed "There's no Sloppy Voice server at {domain}. Check the spelling."
ST.domain_not_served discovery.domain_not_served (02) As above "{domain} doesn't host that address."
ST.server_misconfigured discovery.record_invalid, discovery.delegation_conflict, discovery.metadata_invalid, discovery.canonical_mismatch, discovery.version_unsupported (02 §5.7) Where the address was typed, or the context header "{domain} isn't set up correctly right now." plus, when ServerMetadata contact.admin is known, a link "Contact the people who run {domain}"
ST.server_unreachable Every other discovery error (02), including discovery.peer_suspended and discovery.forbidden_target (02, 06 §15) Context header, or where the action was started "{domain} can't be reached right now. We'll keep trying."
ST.host_unreachable Remote hosting server of a channel not answering (06 §15) Context header and each waiting message Header: "{domain} isn't responding. Your messages will be sent when it's back." Message: a clock icon and "Waiting for {domain}"
ST.host_unreachable.dm Hosting server of a DM or group DM not answering (12 §15) Context header and each waiting message Header: "Waiting to send — the server for this chat isn't reachable right now. Your messages will send automatically." Message: a clock icon and "Waiting to send". The domain appears only in the chat's details view.
ST.home_unreachable Home server not answering (06 §15) App-wide status line "Your server ({domain}) isn't responding. You can keep chatting where you're already connected." Also used when a device holding an identity key finds, after a self-started sign-in, an IdentityState that doesn't name its key (02 §10.6); the upgrade, reset, pairing or backup flow doesn't start.
ST.session_extension Session extension limit reached (federation.extension_limit, 06 §15), or the remote server can't reach the user's home server (federation.issuer_unreachable, 06 §16) Context header "Can't confirm your account with {domain}. Reconnecting when it's back." ({domain}: the user's home server)
ST.join_waiting_home A secure join refused while the session is extended (06 §7.3), federation.home_unreachable (06 §16) Inline "Waiting for your server ({domain}) before you can join. This will continue by itself."
ST.federation_blocked federation.blocked (06) Where the user tried to go "Your server doesn't connect with {domain}." In a DM: "You can't message {personForm} because your server doesn't connect with {domain}."
ST.offline No network App-wide status line "You're offline. Messages will be sent when you're back online."
ST.socket_reconnecting The event WebSocket of a server the app needs hasn't been ready for more than 5 s (03 §5.11 item 5) App-wide status line "Reconnecting…" (never before 5 s, never a dialog; it doesn't delay or change the talk and mute indicators, §11)
ST.other_window The socket was replaced again within 60 s of a silent reconnect (03 §5.12 item 3) App-wide status line "Sloppy Voice is open in another window." with the action "Use this window", which reconnects
ST.admin_peer_suspended Admin view of a suspended peer (02 §10.5) Server admin screen "We stopped talking to {domain} because its address changed in a way we couldn't verify. Accept the new address only after {domain}'s operator confirms the move to you directly. Otherwise leave it suspended."

Clock problems (04, 07 §22.12) are never shown as such: a persistent failure appears as ST.server_unreachable or ST.home_unreachable. The "Connection details" screen (§17.3) MAY show "Device clock differs from {domain} by {n} minutes."

14.3 Timeline and content

Surface ID Situation (owner) Reference text
ST.history_unavailable Items unavailable (14 §6.4), collapsed into one line; or items whose keys haven't arrived after 10 minutes (§5 rule 2) "Earlier messages aren't available on this device."
ST.message_invalid Item invalid (14 §6.4) "This message can't be shown."
ST.message_pending Item pending_key or pending_sender A placeholder bar with "Loading…"
ST.file_failed Attachment download or decryption failed (04, 11 §14.3) "This file couldn't be opened." with "Try again"
ST.file_too_large Over maxAttachmentBytes (11) "This file is too large. Files here can be up to {size}."
ST.not_sent Outbox item failed (11 §13.3), or one that can't be sent (09 §10.5, 11) "Not sent" with "Retry" and "Delete", plus the short reason of 11 §13.5
ST.waiting.server Outbox item waiting_for_server (11 §13.3, 12 §15) Uses ST.host_unreachable or ST.host_unreachable.dm (§14.2), one line per context
ST.waiting.keys Outbox item waiting_for_keys (11 §13.3) A clock icon and "Getting encryption ready…"
ST.waiting.action Outbox item waiting_for_action (11 §13.3) A clock icon and "Will send when you're ready", next to the context's G1, G2 or W2 surface, 12's encryption_pending status line, or "You can send again at {time}" for a timeout or new-member restriction
ST.deleted_by_mod Moderator deletion (10) "Message removed by a moderator"
ST.edited Edited message (11) "(edited)"
ST.deleted_account Author account deleted (05) The author shown as "Deleted account" in place of the name, with the address hidden
ST.group_full mls.group_full (13), in a channel or a group DM Channel: "This channel is full. Try again later." Group DM: "This group is full. Try again later."
ST.context_unavailable MLS blocked (13 §15.4) Header: "Can't connect to this chat right now. We'll keep trying." Composer disabled with the same text.
ST.dm_setting_up DM upgrading (12 §11.6) "Setting up encryption…" in the header; outgoing messages show ST.waiting.keys
ST.dm_waiting_readd The user's own device waits to be re-added after the user's reset (12 §11.5, §11.7; 13 §16 awaiting_readd). Also shown in place of the call button, and when a call join ends for this reason (15 §10.5) 1:1 DM: "Waiting for {person}'s app to come online to continue this encrypted chat." Group DM: "Waiting for another member's app to come online to continue this encrypted chat."
ST.dm_paused A 1:1 DM closed with reason banned (12 §6.2) "This conversation is read-only for now." in place of the composer
ST.retention Channel retention (09 §7.3) "Messages here are deleted after {n} days. People in the channel can still keep copies." in the channel details

14.4 Communities, moderation, requests and reports

Surface ID Situation (owner) Reference text
ST.pending_approval member.pending (09) "Waiting for approval" with "Cancel request"
ST.invite_required community.invite_required (09) "You need an invite to join this community."
ST.closed community.closed (09) "This community isn't taking new members."
ST.rules community.rules_acceptance_required (09) The rules, with "Agree and join"
ST.removed Kick or ban (10) "You were removed from {community}." / "You've been banned from {community}." with the reason if shown and the end date if any
ST.timed_out Timeout (10) Composer: "You can't send messages until {time}."
ST.new_member moderation.new_member_restricted (10) "New members can do this after {n} minutes."
ST.request_card Message request (12 §10.7) 1:1 card: "{person} ({personForm}) wants to send you messages. They won't know you've seen this unless you accept or reply." Group card: "{person} ({personForm}) added you to {context}. Others in the group will see that you joined if you accept.", plus the line "via {host}" when the inviter isn't homed at the hosting server (12 §10.2, §10.4). Placeholders: attachments "Accept to see this file."; messages with contentWithheld "Accept to see this message."; when truncated, a final line "More messages will appear after you accept." Actions: "Accept", "Decline", "Block", "Report and block" (12 §10.4, 10 §10.10).
ST.group_remove Removing someone from a group DM (12 §12.1, §12.3, D-087) In a group DM's member list, "Remove from group" appears on another participant's entry only when the viewer may remove them: the viewer is the owner (Dm owner is the viewer's address), or the group has no owner (owner null) and the viewer is an active participant. The viewer's own entry offers "Leave group" instead. Confirmation: "Remove {person} from {context}?" with "Remove" and "Cancel". When the group has no owner, the member list shows the line "Anyone in this group can remove people."
ST.report_disclosure Report screen (10 §10.11) 10's disclosure lines, unchanged in meaning
ST.insecure_bot Adding an insecure bot to a secure channel or community (00 Matrix F); in a secure group DM, ST.would_downgrade applies "This bot can't join encrypted channels. Its owner needs to turn on encryption for it."
ST.would_downgrade security.would_downgrade (D-069, 12 §11.3) One person: "{people} hasn't turned on encryption, so they can't join this encrypted group." Several: "{people} haven't turned on encryption, so they can't join this encrypted group." With the action "Start a new group without encryption"
ST.downgrade_forbidden Admin looks for "Turn off encryption" on a channel or server (09 §12) "Encrypted channels can't be switched back. To have an unencrypted channel, create a new one." (server: "An encrypted server can't be switched back.")

ST.would_downgrade is not a warning: it explains a refusal, and its action opens a new group draft with the current participants plus the new people and no history (12 §11.3). It also covers adding an insecure bot to a secure group DM (D-069, 12 §12.2 step 6).

14.5 Notifications, settings and admin help

Non-security status lines and help texts. None is a security surface (§2.1 rule 3).

Surface ID Situation (owner) Reference text
ST.push_not_allowed The home server doesn't allow this app's push gateway (gateway_not_allowed, 19 §9.4): its operator chose gatewayPolicy listed without this app's gateway. Servers default to any, which never causes this, and the official apps use the project's official gateway (19 §11.1, D-093). Shown once "{domain} doesn't send notifications to this app. You'll see new messages when you open it."
HELP.push_test After a test push that didn't arrive (19 §9.2) "Notifications didn't arrive. Check that notifications are allowed for Sloppy Voice in your device's settings, then try again."
ST.notification_settings Notification settings (19 §7) Master switch "Notifications". Previews: "Show message text in notifications" with the choices "Message text", "Only who sent it", "Nothing" (19 full, sender_only, none). Per context: "All messages", "Only @mentions", "Nothing"; an "@everyone" toggle; a "Calls" toggle. Mute durations: "1 hour", "8 hours", "1 day", "Until I turn it back on".
ST.mention_hints The mention-hints setting (11 §4.4) "If you turn this off, people you @mention or reply to in encrypted chats won't get a notification while they're away. If it's on, the server can see who you mention."
HELP.community_metadata Community settings and the secure-channel creation screen (09 §3.2) "Everyone can see the community's name, description, icon and rules, even when its channels are encrypted."
HELP.secure_channel_creator An insecure account creating a secure channel (09 §6.4) "You'll need to turn on encryption to open this channel."
ST.provider_down A sign-in provider isn't working (21 §9.1) "{provider} sign-in isn't working right now. Try another way to sign in."
ST.report_item.* Evidence labels on a report (10 §10.8) The labels 10 §10.8 gives (for example "Verified: sent by this person's device"), with their meaning unchanged. They are neutral status lines, not security surfaces.

15. Addresses and display names on screen

01 defines the display form, the linkage check, when the domain is shown (01 §4.4), U-label rules (01 §4.3) and bidi isolation (01 §6.8). This section adds the presentation rules 01 leaves to this document.

15.1 The display form

  1. A person or channel is shown by its display name (after the receiver check, 01 §6.4) wherever 01 §4.4 allows the domain to be left out, and by its display form (SaxonJones@sloppyvoice.com) wherever the domain must be shown.
  2. In the display form, the display-local part is in the primary text style and @domain in a secondary style (lighter weight or colour) of the same size. The @ belongs to the domain part.
  3. Where both the display name with spaces and the address are useful (profile cards, member details, warnings), the client shows the display name on the first line and the display form on the second.
  4. A display name that failed the receiver check is replaced by the prepared local part (01 §6.5) everywhere, with no marker and no explanation.

15.2 Truncation

  1. The domain is never truncated when it is shown. If space is short, the display-local part (or display name) is truncated at the end with an ellipsis, keeping at least its first 4 user-perceived characters.
  2. If even that doesn't fit, the client shows the display form on two lines rather than truncating the domain.
  3. Long-press, hover or the details view always shows the complete display form.
  4. A client MUST NOT truncate a name in a way that could make two different people look alike within one list: in member lists and rosters, names that collide after truncation are shown in full.

Rationale: the domain is what tells a lookalike from another server apart (01 §4.5); truncating it would remove the protection that showing it gives.

15.3 Domains

  1. Domains are shown as U-labels only when 01 §4.3 allows; otherwise as A-labels. The details view offers "Show as typed for DNS" for the A-label form.
  2. The domain shown is always the canonical domain (01 §7.8). A typed alias, a link's alias, or the provider's e-mail domain is never shown as a person's or channel's domain.
  3. The user's own address is shown as their display form in the account screen and in the save step, so they can tell others how to find them.

15.4 Bidirectional text

Every address and display name is rendered with 01 §6.8's isolates. Copy with placeholders (§1.4) is assembled so that each inserted name or address is its own isolate; translators never need to add direction marks around placeholders.

15.5 Channels

  1. A channel is shown with a kind glyph before its display name: "#" for text channels and a speaker glyph for voice channels (D-064). The glyph is decoration, not part of the name: it isn't copied, and screen readers announce "text channel" or "voice channel" after the name.
  2. Channel details show the channel's display form (PublicLobby@sloppyvoice.com), with the "Share" action of §10.4.
  3. A channel and a user can't share an address (D-020), so a display form is never ambiguous.

15.6 Copying and typing addresses

  1. "Copy address" puts the display form on the clipboard, with no isolate characters (01 §6.8 rule 3). It canonicalizes back to the same address (01 §6.6).
  2. Address fields follow 01 §8.3. The live preview reads "This will open {targetForm}" once canonicalize succeeds.
  3. Mentions: the picker shows display names, adding the domain when it differs from the context domain (01 §4.4); the inserted mention renders as the person reference, and the mention hint carries the canonical address (D-063).

15.7 Avatars and names next to security surfaces

  1. Avatars are decoration. A person's lock state, bot badge or verification state is never drawn on top of the avatar image, where an uploaded picture could imitate it; badges sit beside the name.
  2. Avatars and profile images are never fetched for message requests before Accept (12 §10.4); initials are shown instead.
  3. Deleted accounts appear as "Deleted account" (§14.3) with a neutral placeholder avatar.

16. Web client hardening profile

00 HP-10 and D-065 state that a web client is exactly as trustworthy as the origin that serves its code. This profile is what a Web client MUST do to deserve that trust. "Web client" here means any build of a client that a browser loads from an HTTPS origin and that can hold keys of a secure account.

16.1 Requirements summary

# Requirement Level
WH-1 Strict Content Security Policy of §16.2 on every HTML document and every script and worker response MUST
WH-2 No inline script, no eval, no third-party script origins MUST
WH-3 Subresource Integrity on every script and stylesheet loaded by markup, and integrity-checked loading of every dedicated worker script (§16.4) MUST
WH-4 The response headers of §16.3 MUST (except where marked SHOULD)
WH-5 Served from an origin separate from the API base URL and from every origin serving user content SHOULD (separate from user content: MUST)
WH-6 Reproducible builds and a published release manifest (§16.7) SHOULD
WH-7 No third-party analytics, advertising, fonts, CDNs or error-reporting services MUST
WH-8 Trusted Types enforced; message content never rendered as HTML MUST
WH-9 Service worker restrictions of §16.6 MUST
WH-10 An account's identity and vault keys created, received or held only on an origin allowed by §16.11 MUST

16.2 Content Security Policy

Every HTML document of the web client MUST be served with this policy in a Content-Security-Policy response header (not a <meta> element, which can't carry frame-ancestors). A client MAY make the policy stricter; it MUST NOT relax any directive.

Content-Security-Policy: default-src 'none'; script-src 'self' 'wasm-unsafe-eval';
  script-src-attr 'none'; worker-src 'self' blob:; style-src 'self'; font-src 'self';
  img-src 'self' blob: data: https:; media-src 'self' blob: mediastream: https:;
  connect-src 'self' https: wss:; manifest-src 'self'; frame-src 'none';
  frame-ancestors 'none'; object-src 'none'; base-uri 'none'; form-action 'none';
  require-trusted-types-for 'script'; trusted-types sv-default;
  upgrade-insecure-requests

(Shown wrapped; the header is one line.)

Notes:

  • script-src 'self' with no 'unsafe-inline', no 'unsafe-eval', no nonces, no hashes and no other origin satisfies "no inline script, no third-party script origins" (00 HP-10). 'wasm-unsafe-eval' allows compiling WebAssembly (for MLS, Argon2id and Opus), which doesn't allow JavaScript eval.
  • connect-src https: wss: is required because the client talks directly to any federated server (D-004, D-026).
  • img-src https: and media-src https: allow avatars and attachments of insecure contexts from any server. Secure-context attachments are decrypted into blob: URLs.
  • worker-src blob: exists only for the integrity-checked worker loading of §16.4 rule 3. Only the client's own code can create a blob: URL on its origin, and the sv-default Trusted Types policy MUST create a TrustedScriptURL only for blob: URLs that the worker loader made from integrity-checked bytes.
  • Worker and service-worker script responses MUST carry the same policy.

16.3 Other response headers

Header Value Level
Strict-Transport-Security max-age=31536000 at least MUST
Strict-Transport-Security directives includeSubDomains and preload Where the client's host has no subdomains that must stay reachable over plain HTTP SHOULD
X-Content-Type-Options nosniff MUST
Referrer-Policy no-referrer MUST
Cross-Origin-Opener-Policy same-origin; a client that uses the popup variant of 05's web sign-in (05 §6.8: "top-level navigation, or a popup") MAY serve same-origin-allow-popups on the document that opens the popup MUST
Cross-Origin-Resource-Policy same-origin on the client's own assets MUST
Cross-Origin-Embedder-Policy credentialless or require-corp MAY (only where it doesn't break federated images)
Permissions-Policy camera=(self), microphone=(self), display-capture=(self), autoplay=(self), clipboard-write=(self), geolocation=(), payment=(), usb=(), serial=(), bluetooth=() MUST
Cache-Control no-cache on HTML documents and the service worker; max-age=31536000, immutable on content-hashed assets SHOULD

16.4 Subresource Integrity and code loading

  1. Every <script src>, <link rel="modulepreload"> and <link rel="stylesheet"> in the client's HTML MUST carry an integrity attribute with a SHA-384 or SHA-512 digest (W3C SRI) and crossorigin="anonymous" where needed.
  2. JavaScript modules imported at run time MUST be listed with their digests in an import map's integrity section where the browser supports it, or bundled into a script that rule 1 covers.
  3. Dedicated workers. Browsers don't apply SRI to new Worker(url), and the dedicated Worker is where 08 unwraps the identity key (00 HP-10), so a dedicated worker script MUST be loaded with an integrity check: the page fetches it with fetch(url, {integrity: "sha384-…"}), where the digest is part of code that rule 1 or 2 already covers, then creates a blob: URL from the verified bytes and starts the worker from it. The worker script MUST be a single bundled file with no importScripts or module imports, so that nothing it runs escapes the check. Worker scripts are also same-origin, content-hashed in their file names and listed in the release manifest (§16.7).
  4. Service worker. A service worker can't be started from a blob: URL and browsers offer no integrity check for it. Proposed decision PD-20-11: the service worker script is the only script exempt from Subresource Integrity, as 00 HP-10 states; it is constrained instead by §16.6 (only the notification key subset and fetch token, push and caching only, no-cache, update on every load) and listed in the release manifest. Rationale: the exemption can't be avoided in today's browsers, and §16.6 keeps the service worker away from every key except the notification key subset of 08 §13.5.
  5. All code is served from the client's own origin. Nothing executable is loaded from any server the client federates with: those servers provide JSON, media and images only.
  6. The client MUST NOT load code at run time from anything other than its own origin (no plug-ins, remote themes with script, or remote configuration that changes code paths).

16.5 Origins

  1. The web client's origin MUST NOT serve user-uploaded content (attachments, avatars, icons), and MUST NOT be shared with any other web application.
  2. It SHOULD be a different origin from the API base URL of the server it serves (for example https://app.sloppyvoice.com for the client and https://chat.sloppyvoice.com/server for the API), so that a fault in the API's responses can't run script in the client's origin.
  3. The share-link page (§10.3) is served by the operator (01 §11.3), and SHOULD NOT be served from the web client's origin unless it is the same operator's static page without user content.
  4. No cookie authorizes an API request (00 §7.3, 03 §3.2 rule 2). The web client sets no cookies of its own; the only cookie in the protocol is the home server's transaction cookie on its /v1/auth/ pages (05 §6.4). The client stores tokens and keys as 05 §7.7 and 08 specify.

16.6 Service workers

A service worker can keep serving old or altered code after the origin is fixed, so:

  1. A service worker MAY be used only for Web Push (19) and for caching the client's own content-hashed assets, and for decrypting notifications as 19 §13.5 requires.
  2. Its script MUST be same-origin, served with Cache-Control: no-cache, and its scope MUST NOT include any path that serves user content.
  3. The client MUST check for an updated service worker on every load (updateViaCache: "none") and MUST NOT serve an HTML document from the cache when the network answers.
  4. The service worker MUST NOT hold, unwrap or request anything of 08's key store except the notification key subset of 08 §13.5 (under that subset's own non-extractable wrapping key) and the push fetch token of 19; in particular never the identity key, DSKs, box key, vault keys, E, BK or session refresh tokens.

16.7 Reproducible builds and the release manifest

Proposed decision PD-20-6: a web client publisher SHOULD publish, for every release, a web release manifest at /sloppyv-release.json on the client's origin, and SHOULD make the build reproducible from published source so that anyone can rebuild it and compare.

Member Type Required Meaning
name string Yes Product name, at most 64 characters.
version string Yes Release version, at most 32 characters.
source string Yes https URL of the source repository.
revision string Yes The exact source revision (for example a 40-character Git commit ID).
builder string No An identifier of the build environment (for example a container image digest).
files object Yes Every file the origin serves for this release, keyed by path (beginning with /), each value sha384- followed by the standard base64 SHA-384 of the file, as in SRI.
createdAt string Yes RFC 3339 timestamp.
{
  "name": "Sloppy Voice Web",
  "version": "1.0.3",
  "source": "https://git.example/sloppyvoice/web",
  "revision": "3f1c2a9d4b5e6f708192a3b4c5d6e7f809a1b2c3",
  "builder": "sha256:9a0c4e…",
  "files": {
    "/index.html": "sha384-…",
    "/assets/app.4f2c91.js": "sha384-…",
    "/assets/crypto-worker.7d1e02.js": "sha384-…"
  },
  "createdAt": "2026-12-04T09:00:00.000Z"
}

The client's "About" screen shows the version and the SHA-256 of the manifest's exact bytes, so that people who check can compare it with what independent rebuilders publish. The displayed hash identifies only the release the origin claims to serve: an origin can serve a genuine manifest next to altered code, so the hash says nothing about the code actually running. Verifying a release means fetching the served files independently and comparing their digests with a manifest rebuilt from source. The About screen doesn't call the hash a verification. Publishers SHOULD also record each manifest in an append-only public log (for example signed tags in the source repository). Checking is for experts; ordinary users never see a prompt about it.

16.8 Desktop apps built on web technology

Desktop clients built on a web engine (for example Electron or Tauri) MUST apply §16.2 to their windows, MUST disable access from page script to operating-system APIs except through a narrow, typed bridge (context isolation on, Node integration off, sandbox on), MUST open every external link in the system browser rather than navigating the app window, and MUST install updates only when they are signed by the publisher.

16.9 Rendering rules

  1. Message content, display names, community and channel names, topics and rules are untrusted. They are rendered with DOM text APIs or a renderer that builds DOM nodes from a parsed, allow-listed format (11), never assigned as HTML. Trusted Types (sv-default policy) MUST refuse every string-to-HTML sink.
  2. Links in content open in a new browsing context with rel="noopener noreferrer", except sloppyv URIs and recognised share links, which are handled by §10.1.
  3. The client never puts tokens, keys or recovery words in URLs, page titles or localStorage (05 §7.7, 08).

16.10 Key storage on the web: what users see

Situation (08, D-065) Reference text
The browser can't hold keys (08 §3.2) "This browser can't keep encryption keys. Use the Sloppy Voice app, or another browser."
Storage was evicted and the device is now unenrolled G2, with the extra line "This browser cleared its storage, so it needs to be set up again."
A shared-computer device of a secure account After enrolment, a status line in Settings: "Keys on this computer are deleted when you close this tab."
The shared-computer option (§9.2, 05 §22.7) Shown with it: "Only turn on encryption on a computer you trust."
About screen "This web app is only as trustworthy as {origin}, which serves its code." with the version and manifest hash of §16.7

The About-screen sentence is the trust statement of 00 HP-10. It is not a warning and is never shown as a prompt.

16.11 Which web origins may hold a secure account's keys

05 lets any web origin sign in to any home server (a client-ID metadata document on that origin), and the share-link page sends visitors to the hosting community's links.web (§10.3). Without a rule, a secure user who follows "Continue in your browser" from a stranger's community page could sign in there and pair or enter the recovery key, handing that community operator's code the identity key and vault keys (00 HP-10: a web client is exactly as trustworthy as its origin).

Proposed decision PD-20-12: a web client MUST NOT create, receive or hold the identity key or vault keys of an account (turning on encryption, M4; pairing as the new device, §12.3; recovery-key entry, §12.6; Start fresh, M10) unless one of these holds:

  1. the client's origin equals the origin (scheme, host and port, compared as the HTML serialization) of the account's home server's ServerMetadata links.web (02); or
  2. the account's home server's ServerMetadata has no links.web member at all. A links.web value that is present but invalid counts as present and matches no origin (02 §7.3.4).

Otherwise every place that would start one of those flows offers, in place of its key action, "Open {domain}'s web app" (when links.web exists; it opens it with the current target in the #sloppyv= fragment of §10.3) and "Get the app": G2 becomes G2.other_origin (§4.3); G1 and the §4.4 screen keep their title and body, add the sentence "To keep your keys safe, do this in the Sloppy Voice app or on {domain}'s own web app.", and are logged with the suffix .other_origin; the encryption settings page (§9.6) shows the same two actions. {domain} is the account's home server. Insecure contexts keep working on that origin (D-058); only the keys stay away from it. Rationale: the home server's operator already holds the user's account, so its links.web adds no new party to trust; any other origin would. The rule can't tell whether a user deliberately chose a third-party web client, so a home server that wants to allow other web clients publishes no links.web, and users of such servers are protected only by the trust statement of §16.10. The lead is asked to confirm this trade-off (§23 OQ-20-6).

17. Diagnostics consent

15 §14 defines what is recorded and uploaded. This section defines the setting and how it is presented.

17.1 The setting

  1. Each device has one setting, "Problem reports", with the values off, failures and full (15 §14.2). The default is failures (D-089).
  2. The setting is device-local (not in the AccountVault): an insecure account has no vault, and different devices may sit on different networks with different privacy needs.
  3. What it governs. The setting governs every upload to /v1/diagnostics, whatever the kind; 15 §14.4 lists the kinds and the documents that own them. With off, none of them is uploaded, and queued reports are discarded. The setting doesn't govern protocol messages that 13 needs to run a group, such as the MlsReports of 13 §6.1.2 and §15.4 sent to …/mls/reports.
  4. The client MUST NOT ask the user to choose a value: not at sign-up, during a call, after a failure or anywhere else. It is changed only in Settings › Privacy. During onboarding the client states once that problem reports are on and where to turn them off: the onboarding statement of §17.2, shown on the sign-in screen of every device (§9.2, D-089). It is a statement, not a question, and has no buttons.
  5. An organisation that manages the device MAY fix the value; the setting then shows "Set by your organisation" and can't be changed.

17.2 Reference text

Element Reference text
Setting title "Problem reports"
Explanation "Send problem reports to the servers involved: the server that hosted the call, or your own server. Reports contain technical details, such as connection statistics and the addresses and devices involved in a failed encryption check, never what anyone said, showed or wrote."
off "Off" — "Don't send problem reports."
failures "Problems only (recommended)" — "Send a report when a call fails or keeps dropping, or an encryption check fails."
full "Problems and call summaries" — "Also send a short summary after every call."
Link "See what was sent"
Onboarding statement (§9.2, D-089) "If a call fails, the app sends a problem report to the server involved. It never includes what anyone said, showed or wrote. You can turn this off in Settings › Privacy."

17.3 Transparency

  1. "See what was sent" lists the reports this device uploaded in the last 30 days, newest first, each with its time, the server it went to, its kind in plain words ("Call problem", "Call summary", "Encryption check"), and the full report shown as readable text. The client keeps this list locally only. It is available from the first upload on, because uploads are on by default (D-089).
  2. "Connection details" (Settings › Help, and the call screen's overflow menu) shows the current call's route, round-trip time, loss and codec, and the device's clock offset from its home server. It is the only place where technical terms (§2.3 rule 1) may appear about calls. It is never opened automatically.
  3. Exporting logs for support. A client MAY offer "Export logs" in Settings › Help, which saves a local file the user can share themselves. The file MUST NOT contain message content, keys, recovery words, tokens or other people's addresses; the client shows the file's contents, or a summary of what it contains, before saving.

17.4 Bots

Bot SDKs expose the same three values as configuration, default failures, and never upload more than 15 §14 allows.

18. Conformance tests

A Full client or Web client demonstrates conformance to this document with the surface log (§2.6, PD-20-1). Each test drives protocol events (from a test server or recorded traffic) and checks the log. The table lists the minimum set; the never-prompt tests NP-1 to NP-18 are in §7.2.

ID Setup and events Expected surface log
CT-1 Secure account; open the join preview of insecure community X from a link; tap "Join"; restart; open X again; open X on a second enrolled device W1 once, inside the preview, before the join; nothing on the restart; nothing on the second device after vault sync
CT-2 Insecure account; open insecure community X No W1; LOCK.none
CT-3 Pinned contact resets (key-change evidence); open the 1:1 DM and a secure group DM with them on device A; dismiss in the 1:1 DM; then bring device B online, which learns the change through vault sync On A: W2.key_changed.line in both timelines; W2.key_changed.banner in both; after dismissal, banners removed in both; lines stay. On B: one W2.key_changed.line per timeline, inserted when B learns of the change; no banner on B, because w2Dismissed is already true; no second line for the same changeId after a restart of B
CT-4 Verified contact resets; try to send W2.verified.banner; composer replaced; message stays ST.waiting.action; after "Accept new key", banner becomes W2.key_changed.banner and the message is sent
CT-5 Contact downgrades; 1:1 DM W2.downgraded.line and W2.downgraded.banner, then W7, then K2 at the switch; a message queued while the DM was secure shows ST.not_sent and is sent only when the user taps Retry
CT-6 Insecure group DM with one insecure participant; secure viewer; collapse; add a second insecure participant W3 naming one; collapsed; re-expanded naming two
CT-7 Own identity reset from another device while this device is offline; reconnect One W4a.reset; device unenrolled; no W4a on the initiating device
CT-8 Own pairing completes from this device as approver M5.approver_prompt removed; no W4c on the approver (07 §18.3); W4c on every other signed-in device except the new one
CT-9 Admin upgrades a channel with 3 insecure members and an active call W5.channel naming 3 people with the call sentence; after confirm, K1 and K3; insecure members see G1.needs_encryption
CT-10 Channel previously pinned secure is presented insecure (T1) W9.channel; no composer; the call screen closes with ST.call_end.w9; no dismiss control
CT-11 Insecure account opens a secure channel link; taps "Turn on encryption and join" LOCK.gated in the preview; M4.progress; M4.save; "Joining…"; channel opens with K6 at the join point (when the channel has earlier items) and LOCK.closed, no K4, and no tap other than one save-step choice
CT-12 PTT held through a relay drop and rejoin (§11.4) TI.transmitting → TI.not_heard.reconnecting → TI.idle.reconnecting → TI.not_heard.reconnecting → TI.transmitting; ST.call_reconnecting.0; no interruption
CT-13 VAD user, relay drop and rejoin MI.rejoin from the drop until the user unmutes; never TI.transmitting before the unmute
CT-14 (a) Another participant drops, stays reconnecting for more than 2 s and rejoins within 30 s. (b) The same, but the seat goes from reconnecting to connecting 1.5 s after the reconnecting update. (c) The participant rejoins before the relay notices: its seat goes from connected to connecting and back to connected (a) BADGE.reconnecting shown for that pid 2,000 ms after the reconnecting update and removed when the seat becomes connecting or connected. (b), (c) No surface. In every case no join or leave sound
CT-15 (a) PTT user: moderator applies Mute for everyone while the user holds PTT, then removes it while the key is still held. (b) VAD user, speaking: the same mute and removal (a) TI.not_heard.moderator and MI.moderator; on removal TI.transmitting at once and MI.unmuted. (b) MI.moderator from the mute; on removal MI.after_moderator, TI.muted, and never TI.transmitting until the user unmutes
CT-16 Secure bot added to a secure channel; bot later resets One W6.channel; nothing on the reset
CT-17 Secure account, enrolled, recovery.savedAt null; advance the clock 7 days twice; save on another device W8.banner at day 7 and day 14 only; W8.badge throughout; both removed after the save syncs
CT-18 Every row of §21.1 The LOCK.* state listed
CT-19 Another participant moves the call to their other device (moved, then participant_joined with movedFrom 200 ms later); a third participant switches to another call (switched, no matching join) First: tile replaced, no sound. Second: tile removed 4,000 ms after the leave, with the leave sound
CT-20 Secure account joins a secure channel that has earlier messages, while other members are online K6 at the join point on the joiner; no K4; no HSHARE.* surface and no interruption on any other member's device
CT-21 In a secure channel, Frank (holding share_history) shares earlier messages with Grace; Carol is another member Frank: HSHARE.picker, HSHARE.confirm, HSHARE.progress, then K8.self; Grace: K4 while loading, then K7 above the shared messages; Carol: K8; nobody else sees an interruption
CT-22 Enrolled user restores a new device with the recovery key and opens a secure channel the account was already a member of K4 above the earliest message while the archive downloads, then the messages; no K6
CT-23 Own identity reset; a contact's client re-adds the new identity to a secure group DM ST.dm_waiting_readd until the re-add, then K6 at the re-add point and nothing from before it
CT-24 Insecure account signed in on devices A and B; sign in on a new device C with Google; then restart B W4d once on A and once on B, naming C's device name and "Google"; none on C; no second W4d on B after the restart; no operating-system notification
CT-25 Secure account with enrolled devices A and B; sign in on device C; C starts pairing (direction A); A approves On A and B: show W4d, then remove W4d when M5.approver_prompt shows; on B the prompt is removed when A joins (NP-17), then W4c after enrolment; no W4c on A; nothing on C
CT-26 Insecure account whose session authAt is 25 h old taps "Turn on encryption" in Settings; first cancels the provider page, then tries again and completes it First: M1.reauth, then no M4.* and no request to PUT /v1/me/identity. Second: M1.reauth, then M4.progress and M4.save with no further tap
CT-27 The user had a 1:1 DM with x@a.com; that account is deleted and, after the quarantine, a new account registers x@a.com and starts the DM; check on an enrolled device and on a device of an insecure account W2.new_account.line and W2.new_account.banner in the 1:1 DM only, once per device; no W2.key_changed or W2.downgraded; nothing in group DMs; after "OK" the banner is removed, on the enrolled devices at the next vault sync
CT-28 Screen share and webcam active; relay drop; the rejoin's join response, with seatRestored: true, arrives 12 s after the drop was detected SHARE.not_seen.reconnecting and CAM.off.rejoin from the drop; SHARE.active again once frames are sent; CAM.off.rejoin stays, and CAM.on never appears until the user turns the camera on
CT-29 Screen share active; relay drop detected at 0; the relay notices the loss 5 s later; the network returns at 33 s and the rejoin succeeds with seatRestored: true SHARE.not_seen.reconnecting from 0; at 30 s SHARE.not_seen.reconnecting removed and SHARE.stopped.reconnect shown; no SHARE.active after the rejoin unless the user shares again

19. Accessibility and localisation

19.1 Accessibility

  1. Clients MUST meet WCAG 2.2 level AA for every surface in this document.
  2. Lock. The lock indicator has an accessible name equal to its short label (§8.1) and is focusable, opening the details sheet.
  3. Talk indicator. Changes of TalkState are announced to assistive technology through a polite live region, except that entering not_heard while the user is pressing push-to-talk or speaking is announced assertively, so a blind user learns at once that they aren't heard. transmitting is announced only when it starts after a not_heard state, as "Talking".
  4. Warnings and gate cards. Banners and inline cards are landmarks with a heading; system alerts (W4a, W4b, the M5 approver prompt) move focus to their title; W5 and M10 dialogs trap focus until closed. Dismissal never relies on a swipe gesture alone.
  5. Codes and words. Pairing codes are announced digit by digit, in groups ("zero four two, nine one seven"); recovery words are announced with their number ("word 1: abandon"); safety numbers are announced in groups of five. QR-based flows always have the typed alternative (6-digit code, safety number).
  6. Push-to-talk. The on-screen PTT button works with switch access and screen readers (press and hold through the accessibility action). A client MAY offer an accessibility setting "Tap to talk, tap again to stop"; it is a variant of open_mic with a toggle and follows the open-mic rules of D-012 (muted after a rejoin).
  7. Not colour alone. Every state that has a colour also has an icon shape and text (§11.1 rule 4). Role colours aren't the only way to tell roles apart (10).
  8. Motion. Animations (speaking rings, progress) respect the platform's reduced-motion setting; the transmitting state stays distinguishable without animation.
  9. Time limits. Pairing codes have a 10-minute limit set by 08. The countdown is announced at 2 minutes and at 30 seconds, and "Try again" is always one action away.

19.2 Localisation

  1. All reference text MAY be translated. The meaning is fixed: a translation MUST keep every fact, every named party, every action and every negative ("isn't", "can't", "you're not being heard", "isn't being seen") of the reference text, and MUST NOT add reassurance, urgency or warnings that the English lacks.
  2. The fixed user-facing names (§2.3 rule 2) are translated consistently within a language: one word for "encryption", one for "recovery key", one for "security key".
  3. Translators get each placeholder's meaning (§1.4) and its plural rules; plural and list formatting use CLDR data (for example ICU MessageFormat and Intl.ListFormat).
  4. Not translated: recovery words (always the BIP-39 English list, 08 §4.1), invite codes, pairing codes, safety numbers (always ASCII digits on screen; input accepts any decimal digits through NFKC, 08 §6.3.2), addresses and domains, and the {key} name where the platform provides it.
  5. Layout mirrors for right-to-left languages; addresses keep 01 §6.8's left-to-right isolate.
  6. Dates and times use the locale's formats and the device's time zone.
  7. A client that has no translation for a surface uses the reference English text, not a machine translation made at run time.

20. Registry additions and decisions

20.1 Vault settings

Name Owner Value Merge
w1_seen 20 (§3.1.4) Array of canonical domains, in the order added, within maxVaultRecordBytes Set union of both versions

No other vault setting is defined here. Diagnostics consent (§17), collapsed banners (W3, W7), hints, the link intent (§10.1), the rendered-changeId set (§3.2.2), the afterBlock flag (§11.3) and the microphone mode are device-local.

20.2 Surface IDs

Surface IDs (§2.6) are an informative registry for test tooling: W1; W2.key_changed, W2.verified, W2.downgraded, W2.downgraded_verified, W2.new_account, each with the parts .line and .banner and, except W2.new_account, the bot infix .bot; W3; W4a.reset, W4a.downgraded, W4b, W4c, W4d; W5.channel, W5.server; W6.channel, W6.group, W6.direct; W7; W8.badge, W8.banner; W9.channel, W9.community, W9.group; G1.channel, G1.community, G1.needs_encryption, G1.call, G1.dm, each also with the suffix .other_origin (§16.11); G2, G2.other_origin; K1–K8, K8.self; HSHARE.* (§5.1); LOCK.* (§8); TI.* and MI.* (§11); BADGE.reconnecting (§11.6); SHARE.*, CAM.* and VIEW.* (§11.10); ST.* (§9.8, §10.2, §11.2, §11.7, §11.8, §14), including ST.signed_out.<reason> (§9.8), ST.address_gone and ST.link_broken (§10.2), ST.ptt_unobservable (§11.2), ST.call_reestablishing (§11.7), ST.call_end.moved_other and ST.call_end.dm (§11.8), ST.server_misconfigured, ST.host_unreachable.dm, ST.socket_reconnecting and ST.other_window (§14.2), ST.file_failed, ST.waiting.server, ST.waiting.keys, ST.waiting.action and ST.dm_paused (§14.3), and ST.push_not_allowed, ST.notification_settings, ST.mention_hints, ST.provider_down and ST.report_item.* (§14.5); HELP.push_test, HELP.community_metadata and HELP.secure_channel_creator (§14.5); HINT.*, M1.continue, M1.reauth, M4.*, M5.approver_prompt, M5.denied, M10, SETUP.* (including SETUP.banner, SETUP.pair_add.joined and SETUP.pair_add.confirm), SECURITY.account and ONB.* (§2.6). This document defines no event types, error codes, endpoints or crypto labels.

20.3 Proposed decisions

ID Decision Rationale
PD-20-1 Conforming clients provide a surface log in test or debug builds, in the line format of §2.6. Makes D-055 and the never-prompt list testable by one harness.
PD-20-2 In a secure group DM, W2's downgrade variant is 12's "left because they turned off encryption" line, with no banner (§3.2.2). One message per event.
PD-20-3 The server-upgrade W5 requires typing the server's domain (U-label or A-label), checked with prepareDomain; the client sends the canonical A-label as confirmDomain (§3.5.2). Irreversible for every account on the server; works for internationalised domains.
PD-20-4 Share-link pages pass the target to web clients in a #sloppyv= fragment (§10.3). Interoperable, and never reaches server logs.
PD-20-5 New devices start in voice activation, unmuted, with no question (§9.4). Zero-setup first call.
PD-20-6 Web clients publish /sloppyv-release.json and reproducible builds (§16.7). Makes D-065's "reproducible build hashes" concrete.
PD-20-7 When a moderator mute, server mute, timeout or loss of permission starts, or the mode changes to VAD or open mic while one lasts, VAD and open-mic users are muted at that moment (16 §7.8, 15 §10.6 rule 6); when it ends they see "You can talk again. Tap to unmute." PTT users are unaffected (§11.3). D-012's reasoning applied by analogy; muting at the start keeps the gate closed when lease ticks restore coverage.
PD-20-8 Secure contexts a device can't open show an outline "gated" lock, never beside content (§8.1). The gated lock of 00 §4.12.6; keeps SM-12's filled lock for content the device can read.
PD-20-9 The insecure peer's encryption suggestion is a hint shown at most once per device (§3.7.2). No friction on the insecure path.
PD-20-10 Auto-rejoins, Move voice here within the same call, and the migration into a new call after security_upgraded or group_restarted (15 §12.1) play no join or leave sounds; a moved or switched leave without a matching movedFrom join within 4,000 ms plays the leave sound; the reconnecting badge is silent (§11.6). 15 §10.3's promise of no churn, without hiding real departures.
PD-20-11 The service worker script is the only script exempt from Subresource Integrity, as 00 HP-10 states; it is constrained by §16.6 (only the notification key subset and fetch token, push and caching only, no-cache, update on every load); dedicated workers are loaded through an integrity-checked fetch and a blob: URL (§16.4). Browsers offer no SRI for workers; the key-holding Worker gets an integrity check anyway, and §16.6 keeps the service worker away from every key except the notification key subset of 08 §13.5.
PD-20-12 A web client creates, receives or holds an account's identity and vault keys (M4, pairing, recovery key, M10) only on its home server's links.web origin, or on any origin when the home server's ServerMetadata has no links.web member (a present but invalid value matches no origin); elsewhere it sends the user to the home server's web app or the native app (G2.other_origin, G1.*.other_origin, §16.11). Stops link flows from funnelling identity keys into arbitrary third-party origins.

21. Test vectors

21.1 Lock state

Inputs follow §8.2. "Group state" is the device's 13 §16 state for the context's current generation; "yes" means member (and, for a call, the keys for mediaEpoch are installed).

# Context Effective security Account Device Group state W9 Expected
1 Channel insecure insecure — — no none
2 Channel insecure secure enrolled — no open
3 Channel insecure secure unenrolled — no open
4 Channel secure insecure — — no gated (G1)
5 Channel secure secure unenrolled — no gated (G2)
6 Channel secure secure enrolled no (joining) no pending
7 Channel secure secure enrolled yes no closed
8 Channel advertised insecure, channel pin exists (09 §13.2) secure enrolled yes yes error
9 Channel unknown security value secure enrolled no no pending
10 1:1 DM client computes insecure (peer insecure) secure enrolled — no open (with W7)
11 1:1 DM client computes secure; hosting server advertises insecure secure enrolled yes no pending ("Setting up encryption…"), outgoing queued until they agree (12 §11.1); never closed, because SM-12 needs the context advertised secure
12 Group DM upgrading secure enrolled no no pending ("Setting up encryption…")
13 Call security: secure, keys for mediaEpoch not yet installed secure enrolled group yes, keys no no pending
14 Channel secure, MLS blocked (13 §15.4) secure enrolled stale no pending, shown with ST.context_unavailable
15 Channel secure account in upgrade_required — — no gated (the §4.4 screen applies first at the home server)
16 Channel secure secure enrolled catching_up or committing no pending (label only after 1 s, §8.2)
17 Incoming call screen, secure 1:1 DM, before answering secure secure enrolled DM member, call keys no no closed (the DM's state, §8.3 item 3)
18 Incoming call screen, insecure 1:1 DM insecure secure enrolled — no open
19 Call in a channel Call security: insecure, channel pin exists (09 §13.2) secure enrolled yes yes error; no media sent or played (18 §8.5)
20 Call in a 1:1 DM Call security: insecure, client computes the DM secure secure enrolled DM member no pending while IdentityStates are refetched; no media sent or played (18 §8.5)

21.2 Talk and mute indicators

Rows reuse 16 §7.11's gate vectors where a row number is given. The mute indicator follows §11.3's ordered list.

16 §7.11 row TalkState userMuted (reason) audioBlockedBy afterBlock Talk indicator Mute indicator
1 (transmitting, —) false null no TI.transmitting "Talking" MI.unmuted
2 (idle, null), mode ptt false null no TI.idle "Hold {key} to talk" MI.unmuted
3 (not_heard, reconnecting) false null no TI.not_heard.reconnecting MI.unmuted
4 (not_heard, waiting_for_keys) false null no TI.not_heard.keys MI.unmuted
5 (not_heard, not_allowed) false muted_for_everyone no TI.not_heard.moderator MI.moderator
5′ (not_heard, not_allowed) false timed_out no TI.not_heard.timeout MI.timeout
6 (not_heard, muted), mode ptt, key held true (user) null no TI.not_heard.muted MI.user
7 (muted, rejoin) true (rejoin) null no TI.muted (no text) MI.rejoin
9 (not_heard, reconnecting) false null no TI.not_heard.reconnecting MI.unmuted
12 (idle, not_allowed) false no_permission no TI.idle.listening "Listening only — You can't talk in this channel" MI.permission
13 (not_heard, no_microphone) false null no TI.not_heard.mic MI.unmuted
— (not_heard, muted), mode ptt, key held true (user) muted_for_everyone no TI.not_heard.muted MI.moderator (the block wins)
— (muted, user), mode vad, while blocked true (user) timed_out yes TI.muted MI.timeout
— (muted, user), mode vad, after the block ended true (user) null yes TI.muted MI.after_moderator
— (idle, not_allowed) false other no TI.idle.listening MI.blocked
— (not_heard, some_future_reason) false null no TI.not_heard "You're not being heard" MI.unmuted

21.3 Lists of people (§2.5), locale en-GB

Names given Total count Output
Bob 1 "Bob"
Bob, Carol 2 "Bob and Carol"
Bob, Carol, Dave 3 "Bob, Carol and Dave"
Bob, Carol, Dave, Erin 4 "Bob, Carol and 2 others"
Bob, Carol, … (100 names, truncated) 141 "Bob, Carol and 139 others"

21.4 W1 frequency

w1_seen starts empty; the account is secure.

Step Device Action w1_seen after W1 shown?
1 A (enrolled) Opens the join preview of sloppyvoice.com (insecure) ["sloppyvoice.com"] Yes, in the preview
2 A Opens it again unchanged No
3 B (unenrolled) Opens sloppyvoice.com local ["sloppyvoice.com"] Yes (can't read the vault)
4 B Enrols; merges ["sloppyvoice.com"] —
5 B Opens guild.sloppyvoice.com (insecure) ["sloppyvoice.com", "guild.sloppyvoice.com"] Yes
6 A Opens guild.sloppyvoice.com after sync unchanged No
7 A Opens b.com (secure community) unchanged No (secure)

21.5 W8 banner timing

createdAt = day 0, savedAt = null, lastNudgedAt = null. A device may show the banner when now − (lastNudgedAt or createdAt) ≥ 7 days (08 §4.7), except that when the recovery record's reason is lost_or_stolen and lastNudgedAt is null, it may show the banner at once (§3.8).

Day Device Shown? lastNudgedAt after
3 A No null
7 A Yes day 7
8 B No (1 day since day 7) day 7
14 B Yes day 14
15 A saves the key — (savedAt = day 15) day 14
21 B No (savedAt set); badge gone day 14
0 (separate case: reason lost_or_stolen, lastNudgedAt null) A Yes day 0

21.6 Share-link fragment (§10.3)

links.web Target sloppyv URI "Continue in your browser" URL
https://app.sloppyvoice.com/ sloppyv://PublicLobby@sloppyvoice.com?invite=7KQ2M9XP4HRT (as 01 §10.3 generates it, from the display-local form) https://app.sloppyvoice.com/#sloppyv=sloppyv%3A%2F%2FPublicLobby%40sloppyvoice.com%3Finvite%3D7KQ2M9XP4HRT
https://app.sloppyvoice.com/ sloppyv://Zo%C3%AB@example.com https://app.sloppyvoice.com/#sloppyv=sloppyv%3A%2F%2FZo%25C3%25AB%40example.com

The web client decodes the value once, recovering the target URI exactly, and then applies 01's link parsing to it.

21.7 Domain display

Context: a channel hosted at sloppyvoice.com; viewer homed at a.com.

Member's canonical address Display name Member list shows
saxonjones@sloppyvoice.com "Saxon Jones" "Saxon Jones"
alice@a.com "Alice" "Alice" and "@a.com" in the secondary style
alice@xn--bcher-kva.example "Alice" "Alice@bücher.example" if every label passes 01 §4.3, otherwise "Alice@xn--bcher-kva.example"
publiclobby@sloppyvoice.com reached by an alias link to chat.sloppyvoice.com "Public Lobby" "Public Lobby"; details: "PublicLobby@sloppyvoice.com"
bob@b.com whose server sent the display name "Bob!" — (fails 01 §6.4) "bob" and "@b.com"

22. Security considerations

  1. Silence is a design choice, with a cost. The closed catalogue (D-055) and the never-prompt list mean that users get no warning when a home server or hosting server misbehaves in channels (00 §10 items 1 and 2). The lock text for channels therefore says plainly that the community's server decides who is a member (§8.4), and no copy may claim more (§2.3 rule 4). The only identity alerts in channels are W4a and W4b on the victim's own devices.
  2. Trust on first use in DMs. W2 blocks only for verified contacts (00 §4.12.1). Most people will never verify, so a genuine attack on an unverified contact looks like the common "they got a new phone" case. The W2 copy explains the common cause and offers verification without pushing it; this trades some protection for the absence of alarm fatigue, as the owner's requirement for DMs implies (R-20).
  3. Spoofed surfaces. A message, display name or avatar that imitated a system line or the lock would defeat every rule here. The unforgeable-surfaces rule (§2.2), the display-name linkage (01 §6.1), the bot-badge chip (§13.1) and keeping badges off avatars (§15.7) close those paths. Emoji such as 🔒 in message text remain possible; they never appear in the header, list or system-line positions where the real indicators live.
  4. The talk indicator is a safety feature. D-012's purpose is that nobody is heard without knowing it. The indicator is a function of the same TalkState that gates audio (16 §7.10), unknown states fall back to "not being heard", an unobservable PTT control counts as released (16 §7.7), and voice-activation users come back muted after drops and interruptions, and are muted when a moderator mute or timeout starts, so coverage returning on the lease-tick path can't reopen their microphone (§11.3). A client that drew its indicator from anything else could show "Talking" while silent or, worse, show nothing while the room hears the user. The sharing and camera indicators follow the same rule (§11.10): during an outage they say the user isn't being seen, the webcam comes back off, and a screen share comes back by itself only if the seat was restored within 30 s (D-090).
  5. Links. Opening a link reveals the user's IP address to the target server. Clients make no request for a link in any message until the user taps it (§10.1, 01 §11.4), and never join without a preview and a tap. The share-link page uses no third-party code and no fingerprinting (01 §11.3), so a link can't be used to track people across installs (§10.3).
  6. Alias display. Showing only canonical domains (§15.3) means a lookalike alias link can't make a channel look as if it belongs to a familiar domain; the canonical domain is what is shown, and lookalike canonical domains are visible because the domain is always shown when it differs (01 §4.4, §4.5) and never truncated (§15.2).
  7. Web clients. The profile of §16 stops injected and third-party script, clickjacking, and silent code substitution through caches, but it can't stop the origin's operator, or an attacker who controls the origin, from serving malicious code that takes the identity key (00 §5.2, D-065). Reproducible builds and the release manifest let experts detect this after the fact; they don't prevent it. Browser extensions with page access are outside the client's control. Shared-computer mode limits how long keys survive on a public machine (05 §12.6). Because any origin can host a web client, link flows could otherwise lead a user to create or receive their keys on a community operator's origin; §16.11 keeps that on the home server's own web app or the native app. The service worker is the one script without an integrity check (PD-20-11). It holds only the notification key subset (history keys of contexts with notifications, 08 §13.5) and the push fetch token, so an altered service worker could read new messages in those contexts until the next load replaces it; it can never reach the identity key or vault keys.
  8. W9 has no override. A buggy server can make a channel unusable until it is fixed. This is deliberate (D-056): a "Continue anyway" button would let a malicious server collect plaintext with one tap from a confused user.
  9. Resets after account takeover. "This wasn't me" (W4a) lets the victim reset back after an OIDC takeover (D-071), but the attacker can do the same while they control the provider login. §12.9 therefore puts checking sign-in methods (including changing the provider account's password) and devices first, and offers the reset only from W4a, as a step after those. A reset helps only once the attacker's sign-in method and sessions are gone; otherwise the attacker can reset again at once. Contacts see W2 at every reset; the copy for W2 doesn't accuse anyone. W4d (§3.4.4, D-084) tells the user's signed-in devices about a sign-in before any reset, and is the only such signal for an insecure account; it can't stop an attacker who signs those devices out first.
  10. Recovery key storage. Saving the recovery key in a password manager (08 §4.4) concentrates risk there; the attacker still needs a home session to download the KeyBackup and must then run Argon2id (08 §18). The printed page says that anyone with the page and a sign-in can read the messages, so people store it accordingly. Screenshot protection and sensitive-clipboard handling limit casual leaks.
  11. Diagnostics. Call reports contain counters, never content, keys, other people's addresses or IP addresses (15 §14.2), and go to the server that hosted the call. Identity diagnostics (07 §13.6) name the member whose check failed and go to the hosting server and the user's own home server; media-attestation reports (18 §10.3) go to the hosting server. None contains content. The explanation of §17.2 says this in plain words instead of promising "statistics only". Defaulting to failures (D-089) reveals call quality, failure timing and failed checks to operators who can largely observe them already. The setting is stated once during onboarding (§9.2) and never prompted, so it can't be used to nag people into sharing more.
  12. Translations. A careless translation could weaken a warning ("may be read" for "can read") or drop "you're not being heard". §19.2 makes the meaning normative so that conformance covers localised builds.
  13. Surface log. The log of PD-20-1 exists only in test or debug builds, is never uploaded, and contains no content, so it adds no exposure in production.
  14. IP addresses in calls. A client sends and receives call media only through the hosting server's relay or SFU, never directly to another participant (15 §7.1, D-094). Other people in a call therefore never learn the user's IP address from it; only the hosting server sees it, as it does for any request. The route needs no choice from the user and appears only on the "Connection details" screen the user opens on purpose (§17.3).
  15. Turning on encryption needs a recent sign-in. A provider sign-in within 24 h (§9.5, D-085) stops a stolen session token of an older session from attaching a thief's key that contacts would pin silently, at the cost of one sign-in screen for people who last signed in more than a day ago.
  16. A new account at a known address. W2's new-account wording (§3.2, D-086) is the only thing that tells an insecure contact that the person behind an address changed. It is never a key-change warning, because the new account is a different person, and it never offers "Verify" for the earlier one.

23. Open questions

OQ-20-3. Clock problems. 04 says a client MUST NOT show the user an error about clocks; 07 §22.12 says clients SHOULD warn about a wrong clock "through their general diagnostics". This document shows no clock message as such: persistent failures appear as connection problems, and the clock offset is visible only on the "Connection details" screen (§14.2, §17.3). Recommendation: the lead aligns 07 §22.12 with that reading.

OQ-20-4. The insecure peer's suggestion. 00 Matrix C allows a one-time suggestion to an insecure user whose DM contact is secure. It is the only nudge towards encryption on the insecure path. Recommendation: keep it as a MAY, at most once per device (PD-20-9); the owner may prefer to remove it entirely to keep the insecure path free of any security text.

OQ-20-5. Release manifest strength. D-065 makes reproducible build hashes a SHOULD. Recommendation: keep SHOULD in v1, and revisit a MUST for web clients that serve secure accounts once at least one independent rebuilder exists.

OQ-20-6. Which web origins may hold a secure account's keys. PD-20-12 (§16.11) lets a web client set up keys for a secure account only on the home server's links.web origin, or anywhere when the home server publishes none. It closes the path by which a share-link page sends a secure user to a stranger's web client, but it also stops a user from choosing a third-party web client while their home server publishes links.web. Recommendation: adopt PD-20-12 for v1; if third-party web clients for secure accounts turn out to matter, let ServerMetadata list several trusted web origins (02) rather than drop the rule.

Cross-document dependencies. These aren't owner questions; they are requests to other documents that this document's text relies on:

  • 13 §16: confirm that committing may not show the closed lock; if 13 decides a committing member still meets SM-12, §8.2's holdsCurrentGroupState follows it.

24. References

24.1 Normative

  • RFC 2119, RFC 8174: requirement key words
  • RFC 5234: ABNF
  • RFC 3986: URI generic syntax (fragment encoding, §10.3)
  • RFC 8252: OAuth 2.0 for native apps (system browser, §9.2)
  • RFC 6797: HTTP Strict Transport Security
  • W3C Content Security Policy Level 3
  • W3C Subresource Integrity
  • W3C Trusted Types
  • W3C Permissions Policy
  • WHATWG Fetch Standard (Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy, Cross-Origin-Embedder-Policy)
  • WHATWG HTML Standard (service workers registration options, import maps)
  • W3C Web Content Accessibility Guidelines (WCAG) 2.2
  • Unicode Standard Annex #9: Unicode Bidirectional Algorithm
  • Unicode Technical Standard #35 and the Unicode CLDR: plural rules and list patterns
  • BIP-39 English word list (via 08)
  • RFC 9457: problem details (instance, §14.1)
  • Unicode Technical Standard #46: IDNA compatibility processing (domain confirmation through 01's prepareDomain, §3.5.2)
  • Sloppy Voice: 00-overview.md, 01-addressing.md, 07-identity.md, 08-device-setup-recovery.md, 09-communities-channels.md, 12-direct-messages.md, 13-mls-profile.md (client group states, §8.2), 15-calls-control.md, 16-audio.md

24.2 Informative

  • RFC 8030: Web Push (service-worker use, §16.6)
  • RFC 6570: URI templates (share-link template, via 02)
  • ECMA-402: Intl.ListFormat; ICU MessageFormat
  • Reproducible Builds project (reproducible-builds.org): definitions and practice
  • Electron security checklist; Tauri security documentation (desktop shells, §16.8)
  • Signal and similar messengers' safety-number and key-change presentation (background for W2)
  • Sloppy Voice: 02-discovery.md, 03-transport.md, 04-crypto-conventions.md, 05-accounts-auth.md, 06-federation.md, 10-roles-moderation.md, 11-messaging-attachments.md, 14-secure-content-history.md, 17-video.md, 18-media-e2ee.md, 19-notifications-push.md, 22-security-considerations.md
  • spec/DECISIONS.md: decision log