Files
client/docs/evidence/ui10-20261024.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

78 lines
7.8 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.
# UI request acceptance — 2026-10-24
## Final artifact and limits
Local Windows x64 directory build, unchanged version **0.1.4**, no release or publication:
`C:/Users/Admin/tmp/teamspeach-ui9-20261024/build/win-unpacked/TeamsPeach.exe`
Evidence root: `C:/Users/Admin/tmp/teamspeach-ui9-20261024/`.
`build-provenance.json` records hashes and byte-for-byte identity of all **50** application source files
against the ASAR, plus the packaged core against the final optimized Rust binary. All matched.
The previous `teamspeach-audit2-20261024` build was not overwritten.
This is **not all ten requirements complete**: whisper menu semantics remain unresolved, macOS
selected-application audio is not implemented, native capture across every OS/window manager is not
proved, and the combined native application-audio-to-WebRTC path still needs a safe isolated audio endpoint.
No live server moderation, rights changes, private streams, microphone or physical camera were tested.
## Ten-item checklist
| Item | Acceptance and scope | Evidence |
|---|---|---|
| 1. Non-selectable chrome, useful text preserved | Passed packaged UI: drag-selection blocked on chrome; real chat text/URL ranges and editable fields remain selectable; UID all-selection preserved. OS clipboard round-trip deliberately not performed after the safety override. | `final-shell/result.json` |
| 2. Remove quoted deafen banner | Passed: redundant audio-muted notice absent while deafen still prevents forwarding/capture. Separate microphone-muted and unsupported-codec notices retained intentionally. | `final-shell/result.json` |
| 3. Independent viewers and native PiP | Two actual generated WebRTC receivers proved, independent controls and lifecycle. Native Windows PiP HWND/topmost and fullscreen continuity were measured **before** the desktop-test prohibition, never repeated afterward. Final package media/layout was checked hidden; this does not establish Linux/Wayland native topmost behavior. | `dev-streams/result.json`, `final-stage/result.json` |
| 4. Remove Open mic/F8 header hint | Passed open/PTT mode presentation; PTT settings/button/key path retained. | `final-shell/result.json` |
| 5. Banner behind server card | Passed EN/RU × dark/light × 1280×800/880×560, compact artwork, no separate banner row, absent-artwork cleanup. Fixture artwork, not a new live server download. | `final-shell/` screenshots and result |
| 6. Right-edge channel collapse | Passed pointer/Space/Enter, direct members hidden without joining, descendants retained, live fixture membership/talking updates and bounded avatar summary, per-server persisted state. | `final-tree/result.json` |
| 7. Sidebar divider | Passed bounded pointer/keyboard resize, Home/End/arrows, Enter/double-click responsive reset, restart persistence; audio ownership unchanged in fixture. | `final-tree/result.json` |
| 8. Upper multi-tile stage/chat divider | Passed actual generated receivers and geometry: 1280-wide video ≈154 px/footer ≈70 px; 880-wide video ≈149 px/footer ≈70 px, chat ≈220 px. No horizontal overflow; resize/collapse retains sessions. | `final-stage/result.json`, pre-override `dev-streams/result.json` |
| 9. Member context menus | Partial overall. Packaged real shell/preload/validator passed self/other, permissions, exact target payloads, cancellation, errors, UID-reuse/disconnect guards, local slider/mute/reset. Native two-speaker volume proof and strict Rust bridge validation passed. Whisper action was removed rather than shipped as an invented/no-op implementation; exact submenu behavior still needed. No live moderation/rights/avatar transaction proof. | `final-menu/result.json`, `final-integration/result.json`, native test transcripts |
| 10. Publish screens/app audio | Partial overall. Packaged source/preview/Start/Stop/audience/quality UI passed fourteen fixture cases and eight captures. Production sender→viewer generated H.264/audio decoded successfully; application PCM child→production main/worklet→WebRTC decoded successfully, including gain/reset and processorerror cleanup. These do **not** prove native platform capture or official TS6 interoperability. Windows native selection proof is separate; Linux adapter runtime unverified; macOS app audio missing; SFU unavailable. | `final-broadcast/result.json`, sender and app-audio evidence below |
## Executed checks
- Final `npm test`: **187 total, 186 passed, 1 opt-in live-update test skipped, 0 failures**.
Transcript: `artifact://1095` (also final packaging output).
- Rust full unit run: **66 passed**, including generated OpusVoice/OpusMusic local-gain and subprocess
proof. Initial bridge run exposed a real Serde unit-variant extra-field acceptance bug; empty struct
variants corrected it. Final full `bridge_smoke`: **5 passed**. The initial failing transcript is
preserved as `artifact://1074`, not relabelled successful.
- Final focused application-audio tests: **14 passed**, including closed port and retryable context-close
failures; the final full Node run includes them.
- Optimized Rust core build passed. Native notices regenerated: **256 crates, 164 distinct license texts**.
- Final packaged offscreen **shell, preferences/avatar IPC, tree, menus, stream stage and broadcaster UI**
all passed. Each directory `final-{shell,integration,tree,menu,stage,broadcast}` contains `result.json`.
- Detector ran once: four warnings (the existing audio-meter width transition reported twice, a hidden
dynamic banner without initial `src`, and compact stage heading padding). The banner is intentionally
hidden until real data exists; stage geometry was independently measured. No unrelated meter redesign.
## Media provenance and safety
- Sender: `C:/Users/Admin/tmp/teamspeach-publisher-decoded-pass/result.json` — generated canvas/tone,
production publisher and receiver, 640×360 H.264, decoded audio RMS ≈0.1063. Chromium's
`inbound-rtp.totalAudioEnergy` remained zero despite decoded audio; the original failing oracle was
replaced with a real decoded PCM analyser and its zero counter retained. No production success faked.
- Application mixer: `smoke-out/appaudio-synthetic/result.json` and
`docs/evidence/appaudio-bridge.md` — exact-contract synthetic PCM child, production Electron transport,
production worklet and local WebRTC; final RMS ≈0.00509, master-half ≈−6.15 dB, per-app mute isolation
≈36.5 dB with sibling level changing ≈0.01 dB. Three processorerror cycles, six stop acknowledgements,
five closed contexts, zero children/in-flight frames after cleanup. Not a native WASAPI/Pulse proof.
- Native capture selection: `docs/evidence/native-app-audio-proof.json` — earlier Windows own-process
440 Hz versus excluded 997 Hz test showed ≈64.7 dB isolation and ≈13 ms EOF cancellation. Its quiet
1% default-output tones could be audible; they were **not** replayed after the audio restriction.
Later ancestry/lifetime changes were compiled and contract-tested, not native-replayed.
- After the user desktop override, tests used hidden, nonfocusable, offscreen windows and disposable
profiles only. Generic media/display/fullscreen permissions and native dialogs are denied in test mode;
avatar tests substitute fixture dialog answers. No OS clipboard access or foreground input was used.
Native PiP/capture tests are guarded and require genuine isolated environments, not an opt-in flag alone.
- Native combined app-audio→WebRTC had an earlier RMS-zero fixture failure; the exact-contract synthetic
path now passes. Repeating the real combined path is blocked without a verified nonphysical audio
endpoint. No endpoint, routing, volume, driver or OS-display installation was performed.
## Documentation integrated
`README.md`, `DESIGN.md`, `PRODUCT.md`, `CHANGELOG.md`, `FEATURE_COMPATIBILITY.md`, shared EN/RU catalogs,
`docs/bridge.md` (domain owners), native license notices, and the evidence records above. No version bump.