Files
client/docs/evidence/glass-voice-20261029.md
T
omar ceecbb790a docs: record source parity evidence and remaining acceptance gaps
Document accumulated interoperability findings and current source-backed design. Record build-specific visual results, matched acceleration policy, passing packaged behavior checks, and explicit native/ARM and strict visual acceptance limits. No complete 1:1 claim.
2026-11-01 19:47:52 +03:00

118 lines
8.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Glass, shell and voice integration — 2026-10-29
## Artifact and provenance
Unpublished Windows x64 directory build, unchanged version **0.1.4**:
`C:/Users/Admin/tmp/teamspeach-glass-voice-20261029/build/win-unpacked/TeamsPeach.exe`
Executable SHA-256: `14c613504644d6fd2b4f8a6d0d4441a5e81c02708fb49c3a8de2e6224213c491`.
Evidence root: `C:/Users/Admin/tmp/teamspeach-glass-voice-20261029/`.
`build-provenance.json` records exact agreement for all **55 application files** in the ASAR, unchanged
source/package versions, and identical optimized-release/staged/packaged core hashes:
`79e5b81b2c2123efe13bf88f0a07e6aec59b5f7e1aa4a76a3cd05aa142e4756a`.
Only a Rust test was added; Rust production code did not change, so the existing optimized core was
packaged without a needless rebuild. The normal client and previous player-refine build were not
restarted or modified. No version bump or publication occurred.
## Bounded review and corrections
One initial multi-surface batch and one packaged correction confirmation were performed. The full
matrix measured EN/RU, dark/light, and 1280×900/880×560. It covers onboarding, connection, saved servers,
server/channel/chat/footer, all seven settings categories and video details, device/client menus,
volume/groups, connection/permission information, and action dialogs. Separate generated-media checks
cover one/two stream players, hover/focus/details, broadcaster preview, publishing controls and errors.
The initial pixel review caught broadcaster/footer buttons still using browser-default styling. The
single design correction applied the existing capsule button system and peach range accent. Compact
Audio also caused document-height overflow; containing the absolutely positioned fieldset legend
fixed it. The volume range now explicitly names its label instead of implicitly targeting the embedded
output element. Final full-size Audio shows **100%**, not `undefined`: the latter came from the initial
QA fixture incorrectly assigning the `{ok,prefs}` wrapper as preferences, not a product formatter bug.
That fixture and an asynchronous viewport-resize wait were corrected; the original results are retained.
`initial-contact-1.jpg`, `initial-contact-2.jpg`, and `final-contact.jpg` provide the bounded pixel review.
Useful full-size final captures:
- `final-ui/settings-audio-ru-light-880x560.png`: correct 100% value, label and contained scrolling.
- `final-ui/connection_info-ru-light-880x560.png`: readable vertical fields, IPv6, milliseconds and loss.
- `final-ui/client-menu-ru-light-880x560.png`: readable light material and full menu hierarchy.
- `final-broadcast/broadcast-ru-light-880x560.png`: styled, reachable action footer.
- `final-broadcast/broadcast-permission-error.png`: generated denial, no retained capture.
- `final-stage/1-player-en-dark-1280x900-hover.png`: picture-first player and over-picture controls.
- `final-stage/2-player-ru-light-880x560-hover.png`: narrow two-view actual image fill.
The semantic text-token contrast checks passed all 18 text/background combinations, minimum **4.68:1**
(light secondary text on sidebar). This is an opaque-token check, not an exhaustive pixel-level WCAG
certification of translucent composites. Full-size menu/body controls remain readable at the exercised
100% scale; main controls use 13–14 px text, with smaller metadata. Reduced motion, reduced transparency,
forced colors, named controls and keyboard focus were exercised. Blur remained limited to transient
menus/toasts, never video or the whole window. No GPU benchmark claim is made.
## Exercised final checks
All final runtime paths below launched the packaged executable through the shared safety guard.
| Check | Observed result |
|---|---|
| Full Node suite | 196 total; **195 passed**, one opt-in test skipped, zero failures; `artifact://1162` |
| Full Rust suite | **66 unit + 5 integration passed**, one externally supplied PCM matrix ignored in ordinary run; existing unused `sensitivity` warning |
| Isolated electron-builder | `--win --x64 --dir --publish never`, passed |
| Whole-surface renderer | **176 cases, 551/551 checks**, zero renderer errors; `final-ui/result.json` |
| Generated WebRTC players | **16 cases, 220/220 checks**, zero renderer errors/capture/native requests; `final-stage/result.json` |
| Broadcaster | **14 checks**, eight locale/theme/viewport previews plus generated lifecycle/error cases; `final-broadcast/result.json` |
| Titlebar | Eight locale/theme/viewport cases, System theme, outer-view geometry and safety passed; `final-titlebar/result.json` |
| Functional shell | **6 checks**, including scrolled sidebar and DPR 1.25; `final-shell/result.json` |
| Packaged stale-audio regression | **600 raw frames, 580 accepted, 20 stale dropped** after a 600 ms renderer stall; `final-voice-stall/capture.json` |
The titlebar measured exactly 32 px, flat background, 1 px divider, no gradient/shadow, `drag` surface and
`no-drag` native-control region. Native Windows overlay buttons are OS-drawn and absent from renderer
screenshots. OS dragging, Snap, native maximize/minimize, caption double-click, shortcuts, fullscreen/PiP,
and Linux/macOS runtime behavior were deliberately **not** exercised or newly claimed.
Functional shell evidence verifies pointer x850 opens a 310 px menu at x540 (true side flip), keyboard
anchor/resize/submenu bounds, actual scrolled row anchoring, and zero connection commands from the saved
heading's pointer/Space activation. Connection information presents **45 fields in two vertical records,
zero spreadsheet columns**, preserving the exact 64-bit count `9,007,199,254,740,993`, raw records, selectable
IPv6 and meaningful 2.5%/millisecond/byte/rate units. The removed detached bookmark toggle has no shim.
Measured contained picture geometry, not decoder resolution:
| Window | Views | Video element per view | Actual contained image per view | Chat height |
|---|---:|---:|---:|---:|
| 1280×900 | 1 | 992×449 | 798×449 | 303.6 |
| 880×560 | 1 | 600×251 | 446×251 | 180 |
| 1280×900 | 2 | 493×449 | 493×277 | 303.6 |
| 880×560 | 2 | 297×251 | 297×167 | 180 |
Narrow two-view pictures fill 100% of their tile width (66.6% of element area), preserving the prior
picture-first fix rather than merely passing an overflow test. Media identity survives resize/collapse;
stopping one viewer leaves the other advancing. Generated VP8/silent Opus RTP is not live TS6 stream or
subjective quality proof.
The design detector ran once and returned five warnings: existing meter width transition (reported
for CSS and HTML), keyboard-key bottom border, initially source-less dynamically populated hidden host
banner, and the intentional offset peach button elevation shadow. The key/banner reports are contextual
false positives; the small meter transition remains a known pre-existing performance warning. No broad
cleanup or repeated detector/render loop followed.
## Audio conclusion and limits
See `voice-timed-20261029.json` and `voice-official-source-20261029.json` in this directory for the audio
worker's source and measured evidence. Two 190-second fake-file speech/silence captures each produced
9,500 frames at fixed 48 kHz mono with EC/NS/AGC enabled; the six real native encode/decode configurations
were measured before and after. The baseline did **not** reproduce progressively worsening barrel-like
coloration. The demonstrated defect was stale MessagePort speech replay after a renderer stall; capture-
context sample timestamps now discard frames older than 200 ms. DSP preferences and channel bitrate
mapping were not reset or changed. The packaged 12-second regression independently confirmed 20 stale
frames discarded with the same settings, disconnected and with no output sink.
This fixes the measured backlog defect, **not a proven complete explanation or cure for the reported
natural-microphone symptom**. Real microphone/official-client subjective fidelity, network behavior,
Asahi/M1 runtime, native platform capture, whisper and macOS application audio retain their prior limits.
All windows were invisible, unfocused, nonfocusable and offscreen, with muted webContents and disposable
profiles. Shared guards reject visible/native activation and mismatching packaged main code. There were
no OS keys, clipboard operations, private pixel capture, audible output/test tones, live moderation or
server connections. All media/content was generated or explicitly labelled fixture data.