Files
client/README.md
T
omar 57807c184e Integrate and verify the native Windows desktop client
- Update pinned Rust, Slint, DSP and WebRTC dependencies, preserving the local vendor patches and source receipts.
- Fix desktop audio scheduling and disconnect handling; include isolated duplex, identity, bookmark and notification checks.
- Record measured differences from TeamSpeak 6.0.0.5232; full visual and server-feature parity remain open.
2026-11-26 16:59:05 +03:00

424 lines
32 KiB
Markdown

# TeamsPeach
A desktop client for **TeamSpeak 6** servers without a myTeamSpeak account: voice, chat, a channel tree
with server groups, icons and banners, and **TS6 screenshare viewing**.
The interface is native **Rust/Slint**, with Skia presentation and source-built libwebrtc. The Rust
protocol library (`core/`, ReSpeak tsclientlib) runs in process through typed, bounded services.
The standalone core's diagnostic JSON adapter is documented in the [bridge contract](docs/bridge.md).
See [`FEATURE_COMPATIBILITY.md`](FEATURE_COMPATIBILITY.md) for feature status and evidence. This is not a
claim of full TeamSpeak 6 parity: official-client voice interoperability and Asahi hardware operation
have not been proven.
## Development (Windows / Linux)
Use the pinned Rust toolchain in `rust-toolchain.toml`, a native C/C++ compiler, CMake, Python 3,
and the target's installed SDK/toolchain. Native dependencies are source-built from the revisions and
provenance gates in `native/native-deps.lock.json`; no browser runtime or JavaScript build tooling is required.
Run from the repository root, selecting the real target triple:
```sh
cargo run -p xtask -- deps --target x86_64-pc-windows-msvc
cargo run -p xtask -- build --target x86_64-pc-windows-msvc
```
Linux targets include `x86_64-unknown-linux-gnu` and `aarch64-unknown-linux-gnu`. Provisioning requires
network access and suitable installed platform tools; `xtask` does not install system SDKs. `--llvm-dir`,
`--skia-source` and `--jobs` select explicitly supplied tools/sources and build parallelism.
The normal build retains the Skia and WebRTC feature set; a reduced-feature build is not a product build.
Outputs use workspace `target/<target-triple>/release` or `CARGO_TARGET_DIR` (relative to the repository root).
Launch `teamspeach.exe` on Windows or `teamspeach` on Linux from that directory.
Set `TEAMSPEACH_PROFILE_DIR` to an absolute, separate directory before launch to avoid changing the main
profile. First-run native onboarding supports explicit read-only import of a selected historical profile;
it never silently adopts or overwrites it. See **Identity backups and profile migration** below.
## Packaging
```sh
cargo run -p xtask -- package --target x86_64-pc-windows-msvc --out dist/native-local
cargo run -p xtask -- verify-package --target x86_64-pc-windows-msvc --out dist/native-local
```
Packaging consumes a completed native build and installed platform packaging tools. Use a fresh output
directory for a rebuild. Windows uses NSIS and ZIP; Linux uses AppImage and tar.gz. The package includes
native resources, core/WebRTC notices and asset provenance. Actual archive inspection checks architecture,
imports, assets/licenses, native build receipts and the absence of browser/JavaScript runtime payloads.
ARM64 Linux acceptance includes 16 KiB-compatible ELF segments; emulation is not Asahi hardware evidence.
Local packages, unsigned packages and test-harness packages are not publication or installed-update proof.
`xtask package` and `verify-package` are local-only; `publish-release` is a separate explicit command
used by the trusted-tag workflow. No command creates tags or infers signing credentials. Redistribution
rights for retained TeamSpeak artwork/sounds and platform signing/acceptance remain separate requirements.
CI/release configuration is under `.gitea/workflows/`; an unexecuted configuration is not a successful run.
### Native CI and releases
The workflows require matching native runners labelled `teamspeach-native-linux-x64` and
`teamspeach-native-linux-arm64`. Provision the Rust version from `rust-toolchain.toml`, Python 3, LLVM/libclang, CMake, Ninja,
Linux audio/window development libraries, Xvfb and D-Bus session tools before enabling them.
Set repository variables `NATIVE_LLVM_HOME`, `NATIVE_LIBCLANG_PATH` and `NATIVE_SKIA_SOURCE_DIR`
to existing tools and a dependency-synchronized Skia checkout containing `bin/gn`. Packaging also
requires linuxdeploy, appimagetool, unsquashfs and archive/LLVM inspection tools. Jobs explicitly run
`xtask deps` to provision pinned WebRTC; they do not install system SDKs on the runner.
```sh
cargo run --locked -p xtask -- check-version
python -B -m unittest discover -s xtask -p test_publish_release.py
cargo run --locked -p xtask -- prepare-release --out artifacts
```
Release assembly consumes the downloaded `teamspeach-native-<target-triple>` bundles for both Linux
architectures, including their package, payload-verification and dependency receipts. It validates all
digests and merges the native manifest. Trusted `v*` tags then use `publish-release --out artifacts`
with the workflow's `GITEA_TOKEN`, `GITHUB_REF`, `GITHUB_SERVER_URL` and `GITHUB_REPOSITORY` environment.
Publication creates a new draft, uploads and reads back all assets, checks hashes, then publishes;
it refuses to overwrite an existing release. Manual dispatch builds/verifies without publication.
The Python tests mock HTTP and never publish. Native compilation, UI smoke and device acceptance
remain separate checks; removing the Electron updater harness does not establish native update E2E.
### Android development (Windows, Linux CI)
The selected Android route is **develop on Windows → manually dispatch Gitea Actions → build and
package entirely on Linux CI → download artifacts → install the test-only APK with Windows `adb`**.
WSL, Docker and a local Linux installation are **not required on the developer PC**. Windows needs
the editor/source checkout, a browser for Gitea and Android SDK Platform-Tools for device installation;
the Android SDK/NDK, Java and heavy native build tools belong on the CI runner for this route.
Pinned WebRTC's [official Android source-build documentation](https://github.com/webrtc-sdk/webrtc/blob/9c3a1386f07e4348c28cd85c066821cebc3b56e4/docs/native-code/android/README.md)
states “Android development is only supported on Linux.” This is a build-host requirement for CI,
not a requirement to run Linux locally. A Windows WebRTC Android source build is not a supported
alternative. CI keeps the full **Skia + WebRTC** feature set and pinned-source/receipt checks.
#### CI administrator prerequisites
The manual [`android-ci`](.gitea/workflows/android.yml) workflow is separate from the Linux desktop
workflows above. Before dispatch, an administrator must enable Gitea Actions and artifact support,
register a dedicated **Linux x64** runner labelled `teamspeach-android-linux-x64`, and provision its
toolchains and repository variables. Their presence is not established merely by committing the workflow.
| Repository variable | Required existing runner installation/input |
| --- | --- |
| `ANDROID_SDK_ROOT` | Android SDK with API 36, `build-tools/36.0.0` and `ndk/28.2.13676358` |
| `ANDROID_JAVA_HOME` | JDK 17+ including `keytool` (JDK 21 is acceptable) |
| `NATIVE_LLVM_HOME` | LLVM tool directory used by `xtask` |
| `NATIVE_LIBCLANG_PATH` | libclang library directory |
| `NATIVE_SKIA_SOURCE_DIR` | Dependency-synchronized Skia source checkout containing `bin/gn` |
| `ANDROID_GRADLE_DISTRIBUTION` | Local `gradle-8.14.3-bin.zip`; bootstrap verifies its committed SHA-256 |
| `ANDROID_BUNDLETOOL` | Local `bundletool.jar` for AAB inspection |
Also provision the pinned Rust toolchain and `aarch64-linux-android` target, Python 3, Git, CMake,
Ninja and required Linux native-build dependencies. The workflow does not install system SDKs or
download a Gradle distribution. It source-builds pinned WebRTC via `xtask deps`, builds the ARM64
application, packages both variants and runs `verify-package`. Its explicit `--gradle-online true`
allows Gradle dependency resolution on CI; the ordinary packaging default remains offline.
Provision runner resources for the full native build; local developer-machine limits are not a CI policy.
No production signing credentials are needed or used by this unsigned-artifact workflow.
#### Dispatch, download and install from Windows
1. Deliver the source changes through the normal authorized repository process. In the repository's
**Actions** page select **android-ci** (`android.yml`), choose the intended branch/ref and dispatch it
manually. This workflow has no automatic push/tag trigger and does not publish releases.
2. Only after an actual successful run, download and extract **`android-harness-arm64`** and
**`android-production-unsigned-arm64`**. Each bundle includes root `build-info.json` identifying
the exact revision, package manifests/hashes and `aarch64-linux-android` package-verification,
native-build and dependency JSON receipts. Match the run/ref and APK SHA-256 to that evidence
before installing; a bare APK is not provenance.
For version `0.1.7`, the harness APK is `TeamsPeach-0.1.7-android-arm64-harness-test.apk`; the
production bundle contains `TeamsPeach-0.1.7-android-arm64-unsigned.apk` and `.aab`.
Use the version actually recorded by the selected run, not a stale download.
3. Use a separate **ARM64 Android 8/API 26+ test device**, enable USB debugging and approve this
PC's debugging authorization. From the extracted harness APK directory in PowerShell, with
Platform-Tools on `PATH`, select the device explicitly and install **only the harness APK**:
```powershell
adb devices -l
$serial = 'replace-with-authorized-device-serial'
Get-FileHash .\TeamsPeach-0.1.7-android-arm64-harness-test.apk -Algorithm SHA256
adb -s $serial install -t -r .\TeamsPeach-0.1.7-android-arm64-harness-test.apk
```
Compare the displayed hash with the APK entry in `build-info.json` → `sha256`. `-t` permits the intentionally
`testOnly` APK; its debug/test signature is not production signing. Each CI package has an isolated
debug key, so a later run can have a different certificate and `-r` can fail with a signature mismatch.
Never automatically uninstall anything. Do not remove a production installation or its profile to
force an update; use a separate test device. Removing a previous disposable harness installation
requires an explicit user decision: **uninstall deletes that app's data**, including local identities
and settings. The CI job never selects, installs on or runs tests against a phone.
The **unsigned production APK is not installable** until separately authorized production signing
and signature verification are completed. **An AAB is not directly installable with `adb install`**;
it requires the separate signing/store or APK-generation process. These bundles are not a release.
The harness is for test-only/offline smoke scenarios, not production feature/device acceptance.
Neither this workflow configuration nor installing a harness proves live voice, official-client
interoperability, Bluetooth/background behavior or full mobile parity. No successful CI run, generated
APK/AAB, device install or mobile acceptance is claimed here.
**iOS still requires macOS and Xcode/Apple SDKs**, either locally or on separately provisioned macOS
CI, plus appropriate signing/provisioning for devices. Windows editing does not make iOS buildable
on Windows, and this Android workflow does not build or validate iOS. See the
[mobile assessment's current decision](docs/mobile-port-assessment.md#текущее-решение-android-all-ci-2026-11-10)
for its relationship to the preserved historical investigation.
## Usage
The following is the retained behavioral contract for the native client, not a declaration that every
native/platform acceptance case has passed. Consult FEATURE_COMPATIBILITY.md for scoped evidence and gaps.
1. On first launch, enter a nickname to create a local P-256 identity without an account. Settings →
Identity manages multiple identities, their names/nicknames, default selection, additive import,
selected export and cancellable security-level improvement. Default and in-use identities cannot be
deleted. Editing a stored nickname affects future connections; it does not rename every active session.
2. Enter a server address and, if required, its password, then select Connect. Up to eight simultaneous
native connections are supported. Selecting a server tab changes the viewed server, not automatically
the microphone target; input routing has its own controls and acknowledgement. Bookmarks save a name,
address, optional local identity and folder. The sidebar editor also configures a per-connection nickname,
initial channel, startup connection and optional OS-encrypted server/channel passwords. Startup muting
affects only the microphone; it never changes output mute or unmutes a connection. The sidebar supports nested
folders, rename, duplicate, moving/reordering and confirmed subtree deletion. A security-level
rejection offers an explicit improvement action rather than starting expensive work automatically.
3. Click a channel (or focus its row and press Enter) to **browse** its heading and available streams.
This does not move your voice or change the channel-chat destination: the chat tab and composer still
name your current voice channel, and a notice explains this while browsing elsewhere. Double-click
a channel, or use **Join channel** in its header, to move voice. Password channels then show a password field.
The right-edge chevron hides or shows that channel's direct members without joining; collapsed rows show
a compact avatar summary. Collapse choices are saved per server address. Drag the sidebar divider or
focus it and use Left/Right or Home/End to resize; Enter or a double-click restores the responsive default.
4. Settings → Audio provides per-input and per-output device processing profiles. Voice activation can
use automatic speech detection, a volume gate, or a hybrid; push-to-talk can be combined with activation
and an optional release delay. Disabling both gives continuous transmission. Existing profile choices
migrate to this model. Notification output has a separate device and dB level. Processing is independent
and is not claimed bit-identical to the official client's private native DSP. Settings → Key Bindings has
named profiles (add/rename/activate/delete; only the active one is live), the official "Require exact key
match" toggle and the full official action list (push-to-talk, push-to-mute, microphone/speaker, away,
whispers, recording, disconnect, talk power, and Go Live, which opens the normal broadcast source chooser).
A binding is an in-window key or a global key (depends on the OS backend and permissions).
Older whisper-only bindings move unchanged into one active profile.
Local whisper lists/groups, quick whisper and reply use held-target epochs; failed or stale whisper
targets suppress sending rather than falling back to ordinary channel voice. Contact-only targets are
not offered without an account. The microphone test retains at most ten seconds of PCM in memory,
plays it only after an explicit Listen action through the selected output, and blocks server voice
until Finish clears the clip. Device/privacy changes and leaving settings also cancel and clear it.
The microphone and audio buttons update your server-visible mute state; muting or deafening stops transmission in every
mode. Right-click these buttons, or press Shift+F10 while focused, to select an input or output device
using the same selection as Settings → Audio. Left-click still mutes or deafens.
Deafening still blocks playback and transmission; its button state replaces the former muted banner.
5. Streaming members have a screen indicator. Select their channel to see available shares above the chat,
then choose **Watch** on a share. Several announced shares are listed separately; browsing alone never
subscribes to one. If the server flags a member as streaming but does not provide usable details, the
area shows discovery progress or the actual error instead of inventing a watchable stream.
Each watched share gets its own tile above chat and keeps playing while you browse other channels.
Volume, mute, picture in picture, full screen and Stop watching apply to that tile, not its neighbours.
The picture fills the tile: its name remains over the video while controls appear on pointer hover or
keyboard focus (always visible on coarse-pointer devices). **Stream details** opens the live statistics;
Escape closes that panel. Unavailable picture-in-picture remains disabled with an explanatory label.
Native picture in picture detaches the same video into an OS-managed floating window; full screen and
PiP do not subscribe again. Ending a share closes only its presentation; disconnecting closes all views.
Drag the divider above chat or focus it and use Up/Down or Home/End to resize the stream stage. Enter or
a double-click resets its height. Collapse hides the stage without stopping watched shares; its height
and collapsed state are saved. The chat retains usable space at the minimum window size.
6. Application chrome does not select text during interaction. Chat messages, editable fields, public
identity data and other useful content remain selectable. The server's host banner sits behind its
top card rather than in a separate panel, with a theme-aware contrast overlay.
7. Right-click a member, or focus the row and press Shift+F10 / the Menu key, for target-specific actions.
The menu uses server permission hints and distinguishes a known denial from an unknown permission that
the server must decide; group names never grant authority. Group/permission changes and moderation show
the exact target and operation before confirmation. A target that leaves, changes identity, or moves
channels closes its stale menu. Server errors are shown rather than reported as success.
Local volume uses the official -200..+10 dB taper, Mute and Reset. Reset restores 0 dB and unmutes;
explicitly committed modifiers persist by UID, while mute is session-local. Gain is applied before
voice mixing and never changes other participants.
The native avatar chooser accepts PNG/JPEG up to 128 KiB; UI intents do not supply arbitrary host paths.
Permission lists show explicit client/channel assignments, not a full effective-rights audit.
8. **Start Stream** opens the source chooser. Selecting a tile shows its thumbnail; **Next** starts
the muted private preview. Only **Go Live** publishes it. Choose an observed window/screen or
explicitly opt into a camera; camera capture does not include a microphone. Back, cancellation,
source loss and disconnect release the preview capture.
Presets and advanced controls set resolution/frame-rate and bitrate targets. Public allows viewers;
Selected participants uses a local UID allowlist (empty means nobody); Private requires a decision
per viewer. The stream can still appear in discovery. Audience settings remain locked until Stop.
Selected-application audio is opt-in: Windows uses WASAPI process-tree capture on build 20348+;
Linux uses PulseAudio/pipewire-pulse sink-input streams through `pactl` and `parec`. Pure PipeWire
without Pulse compatibility and macOS selected-application audio are not implemented.
Changing the audio source/scope/app selection never silently reopens a system picker. Changed sources
require explicit preview restart or Back and a fresh source selection, according to the native backend.
Per-app/master gains apply to the outgoing mix; clicking the percent readout resets gain to 100%.
System audio is never substituted silently, and the local tile is not another receiver subscription.
Native capture depends on OS consent and the installed desktop/portal backend; these paths are not
universal cross-platform or official-client interoperability proof.
9. Channel/server menus provide typed administration with explicit destructive confirmations and server
errors. Snapshot import is non-atomic: completed server changes are not rolled back by cancellation.
Channel files use legacy transfer on legacy servers. Ordinary channels can browse S3 metadata;
S3 takes precedence for listing when both S3 and HTTPFT are advertised. HTTPFT remains blocked,
with no fallback to legacy storage. S3 upload/download bytes and remote mutations have not been
verified live through TeamSpeak. Native services require chooser grants for recording and file
destinations and explicit confirmation for overwrite or destructive operations. Filesystem
publication fails safely when required atomic/no-replace semantics are unavailable.
File Transfer settings retain an approved download folder or ask every time, and apply upload/download
concurrency across all tabs (combined at most ten) plus shared directional rate limits. Limits apply to
active file/snapshot work without restarting streams; they are conservative ceilings, not bandwidth guarantees.
10. Chat history is local and separated by own identity, server and channel/peer identity. Drafts and
unread state are connection-local. Rich text, local math/diagrams, emoji and server-file links do not
require cloud services. Remote images require explicit consent; trusted external sites can be removed
in Settings → Privacy. Central myTeamSpeak/homebase chat and cloud contacts are outside the account-free
scope. Server-hosted Matrix rooms on `MATRIXCHAT` servers are a separate, unimplemented transport:
their frontend uses the server identity, but native endpoint discovery, authentication and invite requests
remain unresolved. They are not excluded merely because they share Matrix room controls. Local UID contacts are separate.
11. Streams support hide/show without unsubscribing, ordering, focus with a secondary strip, pages,
an internal tile overlay and moving the existing stage over the server tree. Publisher admission,
kick/ban/unblock, pause and live options keep the original tracks/sessions. Standalone pop-out must
reuse the same decoded media and ownership without a second join. Historical browser-only viewport
emulation does not prove native pop-out painting or SFU interoperability.
## Local panels and integrations
- **Privacy:** manage trusted external hosts and reset remembered confirmations. Skipping a confirmation
changes that operation's local preference; reset restores prompts. No analytics service is enabled.
- **Contacts:** save server users locally by identity UID, optionally give them aliases, and show/sort/group
offline entries. Presence comes from the client's connected server snapshots, not a global service.
Public badge display does not redeem badges or claim ownership of them.
- **Remote Apps:** excluded by the owner's explicit instruction. No Remote Apps listener, authorization
IPC, page or remote-button binding is included.
- **Server icons:** the server administration pane lists, uploads, deletes and assigns icons through
legacy TeamSpeak file transfer. The server's permissions remain authoritative. A reconnect invalidates
the panel's mutation grant. Ordinary-channel S3 browsing does not enable S3 or HTTPFT server icons.
- **Noise reduction:** Settings → Audio has four levels saved per input device. The implementation is
independent DSP; selected settings and generated-media checks do not prove microphone sound quality
or bit-identical behavior with the official client.
- **Saved bookmark passwords:** native protected storage uses platform secret APIs, never a plaintext
fallback. Historical encrypted passwords require explicit one-time re-entry; old ciphertext is not
reused. Reveal requires an explicit action, address changes invalidate saved credentials, and forgetting
a password remains possible if the key store is unavailable. Encryption is tied to the OS user/key store,
not a portable backup format. Hardware verification is platform-specific; simulated backends are not proof.
## Language
The interface defaults to English, independently of the operating-system language. Select Russian in
Settings → Appearance; the saved choice applies to the interface and native identity dialogs. Language
changes do not translate server names, chat messages or operating-system device names.
## Updates
Check for updates in Settings → Information. Updates come only from published releases of the public
[TeamsPeach/client repository](https://git.eeee.moe/TeamsPeach/client), without credentials. The native
updater requires a validated `rust-slint` release manifest, exact target artifacts and verified hashes.
Historical browser-client release feeds alone are insufficient for a native offer.
Windows x64 NSIS installations with a valid native installation receipt and Linux x64/ARM64 AppImages
have explicit-install paths. Portable archives and custom-profile Windows runs are manual-only;
development/test builds do not self-update. Preview includes prereleases; Stable excludes them.
Nothing installs or restarts automatically, and interrupting an active session requires confirmation.
See [Updates](docs/updates.md) for platform modes and release/acceptance requirements. No successful
published native upgrade is claimed without source/destination versions and preserved-profile evidence.
## Identity backups and profile migration
Identity export writes a TeamSpeak-format `.ini` through a native chooser after a private-key warning.
**This file contains your private key: protect it like a password.** Import is additive, preserves existing
UIDs, and never silently replaces a corrupt identity. Native onboarding also offers explicit migration
from an existing historical profile into a separate native profile; close the old client first.
Migration copies and validates identities/default selection, preferences, history, keybindings, whispers,
local volumes, file settings and extensions, leaving the source untouched. Passwords require re-entry;
legacy device identifiers require separate user-confirmed input/output/notification mapping before capture.
Interrupted staging imports need an explicit recovery decision; no silent reset or source deletion occurs.
Native data defaults to `%APPDATA%\TeamsPeachNative` on Windows,
`$XDG_CONFIG_HOME/TeamsPeachNative` (or `~/.config/TeamsPeachNative`) on Linux, and
`~/Library/Application Support/TeamsPeachNative` on macOS. These roots are separate from historical
`TeamsPeach` profiles. Mobile uses its private application container's `profile-v1` directory.
An absolute, normalized `TEAMSPEACH_PROFILE_DIR` selects a separate root; do not point it at the old profile.
## Limitations
- Screenshares use P2P only, as the official client does by default. SFU notifications are reported as
unsupported. There is no TURN relay: the viewer needs a direct network path to the streaming computer
(STUN uses `turn.teamspeak.com`, as in the official client).
- P2P screenshare publishing is implemented, but native source capture on every OS/window manager,
macOS selected-application audio and official-client interoperability are not all verified. SFU publishing
is unavailable. See the feature matrix for the precise implementation and evidence boundaries.
- In-window push-to-talk must release on focus loss. Global bindings depend on the real OS backend,
registration and permissions; hidden checks do not prove OS registration or Wayland portal operation.
No platform-wide shortcut guarantee is made.
- Local contacts are keyed by server identity UID and can be highlighted in the tree. They do not sync
with myTeamSpeak, provide global presence or enable cloud/offline chat.
- Server-stored avatars, icons and banners use TeamSpeak file transfer. myTeamSpeak avatars use public
HTTPS URLs announced by the server; downloaded image bytes are checked by signature. A myTeamSpeak
avatar was observed in the live run; server-stored avatar support is implemented but was not exercised
live because no client on the test server advertised one.
Built-in TeamSpeak group icons (IDs 100, 200, 300, 500, 600) use a neutral badge with the group name,
because the server does not supply these files.
- Native decoder policy applies to the real libwebrtc factory. Historical Chromium hardware-decoder
evidence does not establish native hardware decode, per-codec selection or Cisco backend support.
- macOS and Windows ARM64 builds are not published because build hosts are unavailable. Linux ARM64 is
cross-compiled; execution on Asahi M1 Pro hardware has not been checked because the target was
unreachable over SSH.
- Packages are unsigned. Windows SmartScreen warns about unsigned builds; macOS Gatekeeper would also
require attention for a future macOS build.
- A two-way core CLI run verified synthetic voice with silent disposable profiles. It did not use real
microphones or playback devices and does not prove official-client peer or Asahi interoperability.
## Product and design
The design contract reproduces the installed TeamSpeak 6 client's source values (see
DESIGN.md and `docs/evidence/official-parity/`): a three-pane window with a 270 px navigation sidebar
(collapsible to a 62 px rail) listing server connections and saved servers, a 500 px server pane with
the server header card and channel tree, and a detail pane with the channel header, stream stage, chat
and composer. Settings open in the main and detail panes with the official category column and section
cards (Identity, Servers, Appearance, Audio, Video, Keyboard, Chats, Notifications, OS Specific,
Information). Reduced-transparency, reduced-motion and forced-colors preferences have explicit fallbacks.
New profiles default to dark independently of the OS; Light and System remain selectable. Account-bound
official surfaces (notification bell, cloud contacts, myTeamSpeak presence) are intentionally absent;
local UID contacts are an independent account-free feature.
The native window must retain OS minimize, maximize/restore, close, system shortcuts and caption behavior
without fake JavaScript controls. The target app-bar geometry is 44 px and its colors follow the theme;
actual caption integration and accessibility require platform-specific evidence. Fullscreen/PiP must not
create a second media subscription. Bundled Noto Sans (OFL) and the official blue tint retain the typography
and color contract; green indicates a speaker.
Server text remains data, never executable markup. Native services validate commands and media bytes,
bind delayed actions to connection/session/UI generations, and own native chooser/path capabilities.
No embedded browser, browser sandbox, DOM or renderer/main IPC is part of the runtime architecture.
## Repository language and evidence
Repository-authored documentation, comments, logs, diagnostics, scripts and release notes are in
English. Localized UI text belongs in the shared translation catalog; technical error details stay in
English and may be shown after a localized explanation. Server content, operating-system device names
and user messages are data, not translation resources.
Historical JSON captures and screenshots in `docs/evidence/runtime/` retain the exact UI text, server
names and device names observed during each run, including Russian text. They are not translated or
rewritten to resemble the current interface. Unicode test fixtures retain their original values.
## Checks and evidence
Native verification uses the Cargo workspace and `xtask` entry points, not the removed browser harness:
```sh
cargo test --release --locked --workspace
cargo run -p xtask -- build --target x86_64-pc-windows-msvc --test-harness true
cargo run -p xtask -- smoke --target x86_64-pc-windows-msvc --scenario offline-ui --out target/evidence/native-ui
cargo run -p xtask -- smoke --target x86_64-pc-windows-msvc --scenario migration --out target/evidence/native-migration
cargo run -p xtask -- smoke --target x86_64-pc-windows-msvc --scenario media-loopback --out target/evidence/native-media
```
Use fresh output directories and disposable profiles. Test-harness builds disable real network/device/OS
actions and are not release eligible. Generated media proves only its exercised local transport/decoder
path. Live official peers, physical capture/playback, visible native windows, OS accessibility,
installed upgrades and Asahi/mobile hardware need separately authorized isolated checks.
The S3 result is scoped to an empty ordinary-channel listing on an isolated official TS6 beta14
server. An ordinary guest upload grant was refused; neither that refusal nor a separate direct object-store
readback proves TeamSpeak file transfers. The live-peer check is still pending; keep any separately
authorized probes and sanitized evidence in disposable profiles, channels and storage, away from user
credentials and files.
`native/compatibility.json` preserves 718 pending acceptance requirements, not pass marks. Historical
captures in `docs/evidence/` remain exact records of their original builds; they do not prove native parity.
Strict visual comparisons previously failed and are not converted to passes by the stack cutover.
See FEATURE_COMPATIBILITY.md for recorded native evidence and explicit remaining prerequisites.