86 KiB
Мобильный порт: передача состояния
Updated 2026-11-11. Windows baseline remains 05e8d34bcf0e24a44f76e65220293c45b6821798; active branch feature/mobile-port pulled fast-forward to 32318e3e3ff65b521f491fda8a23b30bb9aaf642. First Android test APK was built on the OTHER developer's WSL machine (C:/Users/Admin), not this Windows workstation. Its WSL/provisioning authorization does not override this machine's ignored mobile-build.local.md. Published Android prerelease exists; owner has now launched it on a phone and reported onboarding defects. Local fixes below are not yet rebuilt into an APK.
Automatic Android CI setup (authorized continuation)
- User explicitly authorized job-container Android tool installation, SDK license acceptance, commit/push of mobile branch including current onboarding fixes and first automatic build. No host modification, paid resources, disk expansion, production signing, release or device actions.
android.yml: push onlyfeature/mobile-port, manual build/inventory; existingubuntu-latestlabel with isolated officialubuntu:24.04container, six-hour deadline, one Cargo/Ninja job. Precheckout/preinstall guard requires100GiB free on workspace/root and8GiB RAM; setup also checks cgroup headroom. This conservative gate may block the previously observed≈21GiB runner..gitea/setup-android-ci.sh/ tools JSON provision pinned Android tool inputs; packages installed only in the disposable container, host packages/runner configuration untouched. Existing source build remainsxtask deps/build/package/verify-package, full Skia+WebRTC, no prebuilt bypass.- Actions cache v3 covers isolated downloads/SDK/Skia/Gradle/Rust/Cargo and Cargo target; WebRTC source/object caches are deliberately NOT restored without separate persistent runner storage. Each run generates and verifies current dependency provenance. No promise of fast incremental WebRTC builds; cache capacity/service availability remain runner-admin prerequisites.
- Artifact
android-harness-arm64-<SHA>keeps APK plus receipts14days. No production/release auto publishing. Test signing remains isolated per package; never uninstall the phone app automatically to resolve certificate mismatch. README updated; .android-ci ignored; local caches/policy untouched. - Local validation: Bash syntax for setup/helper and every workflow run block, YAML parse/trigger gates, embedded Python syntax and tool pin fields passed. Actual automatic run outcome recorded after push; workflow presence alone is not APK success.
- Push confirmed: manual PowerShell authentication succeeded exit0 on retry; remote
feature/mobile-port=8d25224816e3b360ad05c2fa375c41e006d35ef2, main remains the accepted05e8d34. Automatic push-triggered run4840, job5436 on monkeyRunner, completed failure at Resource gate before checkout/cache/tool installation. Public jobs API confirms all later steps skipped: no tool provisioning, source build or new APK. Exact failing shell output was not accessible: logs API HTTP401 and headless browser navigation repeatedly ERR_CONNECTION_CLOSED (including HTTP1-only retry; TLS verification never disabled). The previous≈21GiB versus100GiB threshold suggests disk shortage, but this is not yet the fetched error message. Need authenticated job log to distinguish disk/RAM/container gate; do not lower guards or allocate storage blindly. This result entry is local after push to avoid another automatic build. - Owner reported storage expansion and authorized another build. Retrying unchanged resource gates through a mobile-branch push; capacity inside the job still needs confirmation from execution. Headless Gitea navigation remains ERR_CONNECTION_CLOSED even with explicit DNS IPv4 mapping; public API and Git remain usable. No host/disk mutation, guard reduction or TLS bypass performed.
- Retrieved run4841 job5437 logs through the public web view's read-only POST logCursors endpoint
(no credentials required). Proven failure is not disk: runner v0.2.13 left the workflow-level
defaults.run.working-directory: ${{ github.workspace }}expression literal and tried cwd/workspace/TeamsPeach/client/${{ github.workspace }}; OCI chdir failed before shell execution. Removed that override so runner uses its native workspace default. Resource guards remain unchanged; expanded storage still awaits the first actually executed resource step. - Run4842 on
2804788passed resource/bootstrap/checkout/cache steps: workspace/root available 223166976KiB (≈213GiB), MemAvailable30322916KiB. Provisioning installed host-in-container tools and Android SDK/NDK, then failed git-sync-deps with HTTPS connection errors to skia.googlesource.com and chromium.googlesource.com; other pinned checkouts succeeded. Added at most3 sync attempts against the exact same immutable inputs, retaining mandatory SHA/revision checks and fatal failure. - Run4844 on
aecbaccpassed all provisioning and xtask tests (10 passed), reached real WebRTC compilation (1483/4674 observed). User clarified the one-job limit applies only to their Windows PC; CI configuration changed locally to4 Cargo/Ninja/CMake jobs using the observed32CPU/≈29GiB RAM. Running Ninja cannot change job count via Gitea; do not cancel and discard this job's uncached WebRTC progress merely to increase parallelism. Publish the4-job setting after the current run; localmobile-build.local.mdlimits remain unchanged. - Run4844 final: WebRTC source build/provenance succeeded (34m48s), then native APK build failed
after14m34s:
rustc teamspeach_nativeterminated by signal9/SIGKILL, not a reported Rust type error. APK/package/upload did not complete. Cause is not proven OOM: no cgroup memory.events/host killer evidence was recorded by that revision. Local4-job configuration not pushed yet; repeating a more concurrent cold build without diagnosing the kill is unsafe. Added failure-only cgroup memory evidence output for the next run. Need runner administrator's OOM/limits evidence before choosing more memory or Android-specific compiler settings; Windows optimization workaround not copied. - Owner requested continuation. Preparing4-job CI with pre-application checkpoints: exact-policy WebRTC checkout/object cache saved only after successful deps, plus tool/Cargo checkpoint before native compilation. Cache hits still execute source/patch/fingerprint/provenance checks; cached repository lock is never substituted. Added before/after visible cgroup memory counters and time-v maximum RSS as failure-safe artifacts; these distinguish measured OOM from arbitrary SIGKILL. No lto/codegen override, memory-cap removal or host administration performed.
- Run4846 final (
88276c09c7659a5be759b470494f31b131e46f03): four-job WebRTC succeeded in15m38s; verified source/object checkpoint saved successfully (17300614028 bytes), tools/Cargo checkpoint saved (2041394615 bytes), both before application compilation. Native build failed in7m30s: cargo terminated signal9/SIGKILL; before/after memory.events oom_kill increased0→2 (also memory.events.local), visible memory.max/high remained max. Owner subsequently clarified that both interrupted builds coincided with their manual pauses and authorized resumption. Keep these counters as observations, not a requirement to change runner memory or compiler settings. - Diagnostic upload succeeded (
android-build-resources-88276c09c7659a5be759b470494f31b131e46f03). No new APK or phone installation. Full source/cache gates remain; repeated cold dependencies can now be avoided on matching validated cache hit. Do not delete these caches or copy Windows compiler overrides into CI. SSH/admin connection is not configured; no host change via mounted Docker socket attempted. Resume with the same4-job configuration and caches on owner's instruction; no memory expansion, optimization override or new infrastructure investigation is required by these pauses. - Run4855 (
e676f2a) restored both caches but gclient refused pre-existing pinned libunwind changes in src/buildtools. Added CI-only pre-sync receipt-bound reversal of exact applied_source_diffs; unexpected modifications abort, object files retained, xtask reapplies pinned patches afterward. Real temporary Git fixture passed reversal/output-retention and mismatch-rejection checks. - Run4857 restored caches and completed deps in2m36s; native rustc again SIGKILL, oom_kill0→1. User explicitly confirmed this run was not paused and authorized a low-memory mode ONLY for Android CI: teamspeach_native/aarch64-linux-android codegen-units256, lto=off. Added opt-in workspace rustc wrapper with exact crate/target matching; build-info records optimization. Real wrapper scope smoke passed for Android native versus Windows native and Android core; no release defaults changed.
- Run4858 (
df2cce71dfd6d9944e96c929acb7841052ac38c2) used the explicit Android rustc wrapper (confirmed in failed process command), restored dependency cache, deps passed2m55s; native build failed6m19s with SIGKILL and new oom_kill0→1. Peak4099514368 bytes remains an observation, not proof of a configured4GiB limit. No APK/package/upload. Memory diagnostics uploaded successfully. Authorized low-memory variant alone was insufficient; no further identical rerun, host memory/swap modification or removal of checks. Need effective runner parent/host capacity changed or another explicitly approved compiler-memory strategy; preserve caches. Latest result note local after push. - Runner migrated: fresh inventory run4860 passed;32CPU, MemTotal131294968KiB, MemAvailable125382616KiB; tank-store2/subvol-1010-disk-0 size536870912KiB, available473546624KiB. Inventory did not measure parent cgroup limits.
- Owner now explicitly requests normal Android release optimization first;4 jobs retained, low-memory wrapper disabled. Only if this new build actually exhausts memory may the assistant enable the previously authorized low-memory fallback without asking again. No changes to local Windows policy, host limits or unrelated release defaults. Starting a new push-triggered build.
- Run4861 (
6e69516) completed normal optimized native Rust/Slint build in5m43s, without low-memory wrapper; memory.events oom_kill remained0. Packaging failed applying AGP8.10.1 with AndroidLocationsBuildService initialization error. Setup defined conflicting Android preference roots: ANDROID_USER_HOME=tools/android-user versus ANDROID_SDK_HOME=tools/home (implies home/.android). Align both conventions to isolated HOME/.android; do not change compiler mode for this packaging error. - Run4863 SUCCESS (17m51s) on
52d2c22ec0519a3e423dd3a38a9649dc96a4fdc7: normal optimized Rust/Slint/WebRTC build, Gradle package/verify and artifact upload succeeded; low-memory fallback NOT used. Fixed Android user preference paths resolved the packaging failure. - Downloaded full
android-harness-arm64-52d2c22ec0519a3e423dd3a38a9649dc96a4fdc7bundle intodist/android-ci-4863/; all build-info SHA256 entries matched, verification.passed=true, optimization.scope=workspace release defaults. APKTeamsPeach-0.1.7-android-arm64-harness-test.apk, 124332719 bytes, SHA256477c60ee4da9b62a6b894de44a36db960d8e82ac307404c4fccb80006320e1ee. Exact receipts retained alongside APK. No release publication, phone installation or profile deletion; device onboarding/voice acceptance of this new APK remains to be performed explicitly. - Owner authorized installing new test APKs and checking the selected USB phone after builds. Mic/server scenarios remain separately scoped; do not read real profiles or delete app data implicitly.
- Device smoke of run4863: initial unauthorized/USB transport failures cleared after owner confirmation and cable reconnection. Update rejected INSTALL_FAILED_UPDATE_INCOMPATIBLE. Owner explicitly approved deleting the old disposable installation/data; uninstall and fresh test APK install both returned Success.
- Actual TECNO KJ7/API34 UI: fullscreen onboarding and compact nickname input visible without scrolling; Cancel returned to launcher and relaunch worked. Assistant entered disposable nickname AndroidSmoke (no existing identity read). Keyboard covered bottom actions despite host-side preview pass; after dismissing keyboard, Create reached Loading but remained there across observations. Identity creation and profile-ready state NOT accepted; no matching error-level runtime/crash message was found. Captures: target/desktop-acceptance/android-4863-{onboarding,keyboard,create-result,onboarded}.png. No microphone grant/server connection performed. New device defects: real IME insets and bootstrap completion require investigation; do not present successful APK build as functional phone acceptance.
- 2026-11-12 follow-up on the same run4863 installation: after restart/unlock and disposable
AndroidSmoke submission the UI displayed
File operation failed (PermissionDenied), not a proven identity-generation deadlock. Known profile owner/prefs/vault files were absent (existence checks only). App-UID read-open checks denied/,/data,/data/data, while the private app directory/files opened successfully.profile_import.rshad requested read access on every absolute ancestor. - Android-only traversal now uses
O_PATH|O_DIRECTORY|O_NOFOLLOWfor ancestor handles; the final entry still requires read access, metadata/type checks and no-follow protection remain. A regression case exercises fresh profile initialization through a search-only ancestor and rejects a directory symlink. Device verification of this fix is pending the next APK; no profile contents were inspected. - Insets now come from the window and are projected onto the actual Slint SurfaceView, subtracting
already excluded bars/IME. Content reserves
max(navigation, IME), not their sum. Android onboarding adds a small top gap, reduces bottom padding, and omits Import backup; Settings → Identities already retains the existing identity-import action. Both keyboard and navigation-mode behavior await phone proof. - CI completed-application cache is separated from provisioning/Cargo sources, partitioned by target, tool/dependency/release/harness/optimization identity, and saved before uploads. SHA256/type/mode matching restores only unchanged input timestamps after mandatory dependency verification. Python syntax, YAML ordering and temporary content/change/directory/clock fixtures passed; Windows fixtures adapted only unsupported no-follow utime, so Linux syscall/cache-service behavior awaits CI.
- Fixes committed/pushed as
fd41389d63ddf059c3e077cd1c1081789233f536; automatic run4865, job5461, started successfully. Normal release optimization and4 CI jobs retained. New cache-key families need their first completed checkpoint before a subsequent build can reuse them; existing WebRTC cache remains unchanged. - Owner explicitly reinforced: fix underlying technical causes and platform contracts, never hardcode behavior for this phone, resolution, profile or test. Device results are evidence, not the scope of a fix.
- Run4865 SUCCESS: normal optimized Android build/package verification, application-cache snapshot/save
and artifact uploads completed. Full download hashes matched; APK SHA256
6ffd7feda9c526b8ec4103fdd6f8eb78b6bac4f87b368120f5b0e7bd14471badinstalled after signature mismatch. - Owner granted standing permission to remove/reinstall this disposable Android test app and its data when test signatures differ; this does not authorize deleting real profiles or changing other apps. Also authorized temporary three-button navigation testing with restoration to the original gestures.
- Run4865 device not accepted: PermissionDenied was resolved, but Create returned misleading
The native profile is already open; pinned Rust1.96 std file locks omit Android and return Unsupported.core::file_locknow uses the already pinned fs2 flock implementation on Android, std elsewhere. Migrated profile/vault/core/prefs/import/recovery locks, distinguishing actual contention from OS errors. Real descriptor contention/shared-reader/drop-release regression passed on Windows under5GiB Job Object, below-normal priority and7/2GiB start/reserve checks; no full Windows rebuild or Android unit execution. - Run4865 IME still covered actions. Actual NativeActivity hierarchy has NO SurfaceView; Slint uses the Window's ANativeWindow, while NativeContentView only reports unobscured content. The SurfaceView guard suppressed all inset updates. Corrected observation/projection to decor/native-window coordinates. New APK still required to prove keyboard actions, creation and navigation modes end to end.
- Run4867 (
3cc9565fab907fc1c8d81b465e689ae1df6472ad) SUCCESS, normal optimization; bundle hashes matched, APK SHA2560559559e12d15ccf6a4075cf1d02842a1dc394d71e836bb21a0e812d7180ffc2installed. Real keyboard-visible Create/Cancel are reachable with gestures and three-button navigation; Cancel exited the app. After keyboard dismissal an excessively short content area was observed; do not claim full inset/lifecycle acceptance. Original gesture mode restored and verified (navigation_mode=2). - Owner requested thorough onboarding analysis before further build attempts. Current run4867 identity
creation succeeded: known vault/prefs files exist (metadata-only), onboarding disappeared, main shell
appeared. Force-stop/cold launch without data deletion returned to main shell, not onboarding. Exact
create latency was not measured. Evidence:
android-4867-analysis-{submit,current,cold-start}.pngintarget/desktop-acceptance/; no identity contents, microphone or TeamSpeak server used. - Separate reproducible defect: app-scoped logcat on creation and cold start reports panic at
rustls-platform-verifier-0.7.1/src/android.rs:90,Expect rustls-platform-verifier to be initialized. Android nativeInstall never initializes its JVM context; Gradle supplies only WebRTC and all4 APK DEX files lack the verifier class prefix. Verifier::new itself does NOT panic: certificate verification does. [INFERENCE] PhishingList's detached startup refresh is a likely caller, not proven without a stack; main-shell operation continued. Do NOT claim this background panic proves the cause of persistent Loading. - Static failure-contract defects: runtime fatal Result publication does not increment snapshot.revision;
UI applies snapshots only on revision changes. Construct errors propagate with
?before FormComplete. Submission sets editor busy before dispatch, but enqueue failure routes only through services (absent before bootstrap), not a negative form acknowledgement. Editor.merge replaces busy/error on unrelated snapshots. Initialized-empty-profile retry calls onboard synchronously and ignores the selected theme. These are source-confirmed failure paths, not all reproduced on the device; root-cause work must repair terminal acknowledgement/state publication, not merely add a timer or clear busy blindly. - Cache optimization work is local/unverified: tools-v3/application-v2 compatibility keys separate dependency content from toolchain/profile/environment. Run4867 logs proved tools/application MISS due changed Cargo.lock/manifests; WebRTC hit. No new build started after the owner's analysis request.
- Follow-up implementation: unified worker-owned create/resume persists theme and reuses committed identities; actor stays responsive during storage work. Captured FormComplete reports startup failure, terminal snapshots advance revision and clear unusable forms; dispatch rejection is attachment-local. Added7 targeted bootstrap failure/recovery/UI regressions; guarded Windows run stopped by the resource guard during dependency compilation (exit125), before tests ran. Limits were not raised.
- Android TLS now initializes verifier0.7.1 via a JNI0.22 adapter alongside unchanged app JNI0.21, loads helper classes eagerly, packages Maven helper0.2.0/Kotlin runtime, retains R8 JNI classes and verifies their DEX definitions. Platform trust verification remains enabled. Native IME reporting is deferred until root insets/layout commit to avoid retaining the old keyboard obstruction on dismissal.
- Warm-cache compatibility/source-timestamp fixtures and workflow ordering passed locally (Windows no-follow utime adapter only); one new cache generation required because legacy opaque identities cannot prove tool/profile compatibility independently. Real cold/warm timing proof remains pending.
- Run4869 (
5799fcb0d17c4eb556b34cd8bdbf8c074e7824a9) SUCCESS: compile/package including TLS helper DEX checks passed. First v2 application/v3 tools snapshots saved (824MB/2522MB compressed). Cold provisioning20m14s included241s Rust download gap and850s gap before Skia sync output; application build/package10m12s. Starting a documentation-only follow-up to measure compatible warm cache reuse without changing application sources, manifests or optimization. Phone proof pending. - Run4869 bundle hashes verified; APK SHA256
debee000d1d6dd5fd74c55670fac2f64089a193e34271077dd0d628599556f5cinstalled on selected TECNO. Real Create(AndroidSmoke) reached main shell; force-stop/cold launch returned to main shell without onboarding. App-scoped logcat contained0 panics/0 verifier-init errors across both inspected PIDs. No microphone grant or TeamSpeak connection performed. - Real gesture-navigation IME proof: Create/Cancel visible above keyboard; dismissal restored full-height
onboarding and bottom actions. Evidence
target/desktop-acceptance/android-4869-{onboarding,ime-visible, ime-hidden,created,cold-restart}.png. Warm validation run4872 on documentation-onlye443f9arunning. - Warm run4872 SUCCESS (11m17s): tools and application cache HIT;832 Cargo build-start stamps preserved exactly,1894/1897 matching inputs restored. Rust release1.63s with no Compiling lines; application/package2m04s versus cold4869's10m12s, provisioning55s versus20m14s. WebRTC restore1m24s plus mandatory deps/provenance3m56s remains. These measurements prove reuse, not full CPU utilization.
- Owner explicitly requested all runner resources. Android resource gate now exports
nprocto Cargo/Ninja/CMake (no fixed4); Windows remains1. Cache contract excludes scheduling count and accepts previous four-job v2 receipt only after checking its full recorded tool/profile/environment identity. Local compatibility fixture passed; full-parallelism CI execution pending. - Windows bootstrap regression compilation could not fit the authorized5GiB Job Object: rustc allocation failure even with native-only codegen256/LTO-off/debuginfo0. Existing CMake path was supplied explicitly after initial tool lookup failure. No limits raised, no further local heavy retries;7 new tests remain unexecuted. Android compile/package and real creation/relaunch proof are separate successful evidence.
- Run4873 (
cec86d8e3d89aa48c155903c107c30cfce7ee28a) SUCCESS (12m28s). Host reports32 CPUs, containernprocexposes16; logs confirm Cargo/xtask/gclient use16 jobs. Compatible application cache restored from run4872; dependencies3m21s versus3m56s. Application/package3m51s included recompiling only teamspeach-native (release1m47s), unlike run4872's no-recompile1.63s; do not infer a clean4-vs16 speed comparison from these unequal workloads. Reported oom_kill stayed0. Full available parallelism is enabled, not a claim of100% CPU utilization on sequential/IO stages. Latest phone proof remains4869; later changes are CI/cache/docs only. Handoff results kept local to avoid an unnecessary new CI run. - Owner authorized complete phone UI adaptation and microphone/playback testing against eeee.moe with AndroidSmoke. Do NOT start/connect a PC client: owner is already on that server. Test only phone.
- Phone UI work: Android size-class shell with immediate New Connection, bounded actions/body and navigation; full-height connection/other forms with persistent footer above IME; one-column settings, identity label fallback/import entry; chat picker/composer/tools and per-row wide-content scrolling. Shared touch buttons wrap within available width; Android Choice uses readable wrapped selection.
- Audio defect observed before any device start: idle scheduler delay produced audio_worker_stall. Deadline checks now distinguish live devices and rebase before processing queued work;3 production scheduling regression tests passed under Windows resource guard. Private microphone test no longer requires a connected server slot; permission/current-session validation remains. New APK/device proof pending; local integrated Slint compiler check was stopped by guard/deadline, not claimed as pass.
- Integrated cached Slint compile subsequently passed after fixing actual intrinsic-width dependency
cycles in shell/settings/chat; no app renderer/backend substitution. Full adaptation committed/pushed
as
5e2a82b; run4875/job5471 is building with all available runner CPUs and compatible caches. Settings identity name falls back to nickname/default, import remains explicit. Android dialogs use one bounded full-height form layout, including New Connection; desktop branch remains separate. - Run4875 compiled/packaged successfully; downloaded bundle hashes verified; APK SHA256
da62bf279ec13a29ea20d844d66e3ee1c85d13dc4671ac92148fb3f54fe3c703installed. User explicitly chose nickname EBLAN and channel cs on eeee.moe. Real connection confirmed by owner desktop; parent did not start/access PC client. New Connection form is now full-height and usable on phone. - Device revealed NewConnection did not select its new viewed slot: connected voice footer with empty old-slot tree. Manual picker selection exposed server channels; explicit Join placed EBLAN under cs, although subsequent UI reported target_changed. Voice RX/TX not working per owner; not accepted.
- Pending corrections: explicitly view opened connection, display acknowledged channel in Android voice status, distinguish acknowledged Join from audio-restoration failure. Serialize output startup/recovery, refresh notification permission after output grant, avoid duplicate delayed InputReset/CaptureRevoked revocation and do not close TX for unrelated command/notification errors. Actual engine faults still revoke immediately and emit stopped state. Explicit microphone resume intent separated from activity. Four real CallAudioState regression tests passed under local guard; new APK/live voice proof pending.
- Run4877 SUCCESS; installed verified APK SHA256
b7328c8953073958daeea952b7fc77ef7ea7ba167b379588712b5e443b3faf43. New connection selected automatically; channel tree and acknowledgedChannel: csvisible. Owner confirms RX silence and TX failure persist. Private Record/Listen also failed with audio/privacy epoch errors; AAudio open success does not prove PCM/capture/playback. Do not repeat old failed tests. - Further source-confirmed cause: receive-only refresh returned before recording transmission owner, making20ms ticker repeatedly StopInput/revoke while explicit activation was in flight. Record owner before authorization exit; hold one configuration guard through freshness check and activation; private test actions share that guard. Stage-labelled errors contain no private data.
- Nonterminal configuration/file/whisper failures previously tore down playback/session consumers as if the core died. ConnectionEvent::Failure now carries explicit terminal state; only core stream death tears down routes, with exact SessionKey matching. Ordinary errors remain visible. Verification pending.
- Run4879 failed compilation on3 missed sync_audio_to guard callers; corrected in70ed120. Run4881
compiled/packaged successfully and installed: APK SHA256
a7ff4ecd445876c28a41a2d243b81b75d1c31a334c72814724e80e7a09ea284a. Owner still confirms no RX/TX. Channel cs/display works; voice acceptance remains FAILED. - On2026-11-13 owner requested deep analysis/review rather than further speculative fixes. Read-only review at70ed120 covered full RX/TX plus callback/Android/notification boundaries; source unchanged. App-only OS evidence: focus and foreground service granted, current playback/recording inactive; AudioFlinger outputs lived106/136ms, AppOps mic use129ms. First teardown reason not retained.
- Strong source findings: default-output/voice-follow notification recovery trap before StartOutput; output-generation rejection can lose connection enable epoch; delayed hardware events can erase PTT restart intent; slow initial device construction trips live watchdog; close leaks audio scopes. Xrun→permanent fault→both-device teardown is a plausible first-stop mechanism, not proven on phone. Detailed findings, counterevidence and falsifying checks added to assessment deep IN/OUT section. Next: retain first fault and exact epoch/PCM counters; exercise deterministic failure sequences before another device iteration. No new tests/builds/source patches during this review; never claim sound fixed.
- Recovery implementation after review: first native fault retained across teardown and emitted with
audio_first_faultprefix (fixed labels/counters only, no PCM/device IDs/identity). Callback/frame/xrun counters retained; acknowledged errors no longer duplicate raw events that overwrite workflow stages. - Explicit capture intent is separate from observed activity; normal muted/deafened no-permit outcome is not target_changed. Output is restored before voice-follow configuration; logical/physical route revisions separated. Authoritative connection epochs survive superseding physical-output revocation. Initial converter preparation precedes output callback startup and first-device schedule is rebased.
- Manager now emits exact-key Closed before losing its worker, so close/restart releases playback scopes. Agent verified production scheduling helper5 tests and std-only first-fault retention/sanitization1 test; full integration and device tests pending. Xrun behavior remains unchanged until first-fault evidence.
- Run4899 SUCCESS, APK SHA256
27d839a0271cb2ad5943a6fca6ad7e88db0557b399f26603b6a7997dd7f28a14installed. First-fault evidence finally identifiesaudio_clock_discontinuity/render_reference, UI TimestampReversed: output5 callbacks/4100frames, fault=None, xruns0, drops0; no input. This excludes Xrun/overflow as the first failure in this observed run; callbacks were subdivided before clock analysis. - Exact old ClockTracker snapshot regression FAILED as expected:1024-frame callback subdivisions then next callback estimate+5ms triggers false TimestampReversed. New production callbacks retain original callback observation separately from block timestamps; sample-position and raw-clock reversal gates remain. Cached-dependency harness compiled actual devices/resample/ring modules: 45 tests passed, including exact failure reproduction,4100-frame burst,44.1/48k, stale PCM/privacy, expiry and overflow boundaries. Drift starts nominal and is acquired conservatively only outside200ms span uncertainty; no relaxed PCM age cap. Full Android integration/device proof still pending.
- CI4899 measured13m21s total, actual Rust compilation2m11s; tools/application caches hit with832 unchanged build-start stamps. WebRTC restore1m27s, deps3m23s; package redundantly ran verify twice. Removed external duplicate verify-package call: xtask package already runs full mandatory verifier, and bundle code still checks passed receipt + hashes. Dependency provenance checks remain unchanged.
First Android APK build
- Existing WSL Ubuntu24.04 x64,
/home/user/src/TeamsPeach; full pinned Android WebRTC source build and Rust/Slint ARM64 release library succeeded. JDK21, Rust1.96, SDK36/build-tools36.0.0, full NDK28.2.13676358, LLVM18 and matching Skia m153-0.101.2 sources; one Cargo/Ninja job. No server1 container was needed. - Fixed actual first-build failures: Chromium DEPS NDK is sysroot-only (Cargo needs complete NDK); Skia uses
ANDROID_NDK, Slint Java compilation needs explicit SDK36ANDROID_JARdespite native API26; vendored jar destination used the wrong target root; accessibility cast needs NonNull::as_ptr; Gradle launcher CRLF and implicit build-tools35; permission observer used non-public PackageManager API; WebRTC JNI linker arguments must be emitted by the final cdylib build script. xtask packageandverify-packagepassed forTeamsPeach-0.1.7-android-arm64-harness-test.apk, 121385639 bytes, SHA256ab0c4119b4a8abfebbb31ed185459da8b1ef6c57c86324ad7862014aa1085d1b. APK v2 test signature, ARM64, 16-KiB ZIP/ELF alignment and JNI exports verified. Android8/API26 minimum. Install withadb install -t; not a production signing identity.- Delivery:
C:/Users/Admin/Desktop/TeamsPeach-Android-0.1.7/, APK plus build-info, exact build-fixes.patch and dependency/build/package verification receipts. Private test keystore is not included. WSL caches retained for incremental builds. Phone runtime/UI/voice/background acceptance has NOT run; no device installed, microphone activated, server connected or Windows installation modified. - Publication requested as a separate Android prerelease, not a
v*desktop tag or desktop updater manifest. Record successful push/release only after remote acknowledgement; authorization failures are not publication.
Phone onboarding diagnosis and local fix
- Published release checked:
android-test-0.1.7-20261111, source32318e3, APK SHA256ab0c4119b4a8abfebbb31ed185459da8b1ef6c57c86324ad7862014aa1085d1b(release metadata). USB-selected TECNO KJ7, Android14/API34, installed version0.1.7/code107; installed APK hash was not read. - User clarified Create was not dead: nickname was hidden inside a tiny scrolling dialog. After typing
ZXC the phone displayed Symbolic links are not allowed in profile imports. Screenshot captured
immediately:
target/desktop-acceptance/android-onboarding-error.png. - Metadata-only examination of the app process namespace proved
/data/user/0 -> /data/data, while ordinary shell/run-as namespace showed a directory. No profile files, identities or credentials read. Android Binding now canonicalizes only OS filesDir before appending profile-v1; imported paths and profile descendants retain strict no-follow checks. Also corrected Android-specific O_NOFOLLOW flag using libc (arm64 differs from desktop Linux); desktop code remains unchanged. - Android onboarding is full-screen, no ScrollView: visible nickname, theme buttons, error and actions. Nickname height fixed at48dp as explicitly requested. Keyboard hides secondary explanatory/import content, not nickname/theme/Create/Cancel. Lifecycle subscription starts before profile construction, so insets/accessibility now reach first-run UI. Scoped Cancel exits the runtime and finishes only the matching Android Activity; cancellation of import confirmation still returns to onboarding.
- Verification: actual cached Slint software renderer at360×760 and360×460, reviewed screenshots
android-onboarding-normal-preview.pngandandroid-onboarding-keyboard-preview.pngin the same evidence directory; actual pointer clicks reached Create and Cancel in both sizes without scrolling. This is host-side isolated rendering, not a newly installed phone APK. One real private-container validation test passed on Windows; Rust syntax parse passed for8 modified files. Unix symlink tests added but not run here; full Android/Rust/JNI build and new phone behavior remain unverified. - Existing app was opened only for approved diagnosis/screenshots. No identity was created by the assistant, no data cleared, APK reinstalled, microphone used or server contacted. New APK needs the external Linux build host before verifying these fixes on this connected phone. No commit/push/release performed in this fix stage; local resource policy and dependency caches preserved.
Текущий этап: реализация Android, CI отложен
- По последнему указанию пользователя работа переключена с runner/provisioning на сам Android-порт.
Linux build/test/CI и iOS отложены; не возвращаться к настройке runner вместо реализации приложения.
Изменения реализации подготовлены поверх
cb1d682; владелец явно разрешил commit и push толькоfeature/mobile-portдля передачи другому разработчику. Main, теги и релизы не входят в публикацию. - Исправлены Android audio focus/route/permission transitions: receive-only recovery, новый call-scoped
event с SessionKey/token/revision, повторная проверка закэшированной capture authorization, stale callback
rejection.
VoiceServiceуправляет communication mode; Android12+ получает communication-device changes. Микрофон после interruption/route revoke не включается без явного действия. Общие runtime файлы меняются только Android-gated ветвями; core/DSP и iOS не менялись. Физический routing/Bluetooth/AEC не проверены. - Исправлены ложные network-change events на capability refresh; отсутствовавший Android external-link adapter; SAF collision → выбор нового имени; Android identity export → private staging/commit/cleanup. Provider atomic replace не имитируется, существующие файлы не перезаписываются небезопасно.
- Доработан Android compact UI: overflow connection tabs, действия выбранных каналов/файлов, query detail, settings Back, PTT cancel/focus/drag-out, IME-aware forms/chat/settings. Сохранён существующий Rust/Slint клиент и desktop presentation; исходники UI и функциональные ветви, а не новый host или второй стек.
- Реально выполнены 2 standalone audio state tests: passed, guarded one-job/below-normal execution,
без Cargo/full build. Пройдены Slint1.18.1 material+fluent parse/typecheck/codegen с готовыми rlib,
Rust syntax-only parsing и AndroidManifest XML parse. Первая Slint-проверка выявила
Window.active; исправлено через существующий Android lifecycle callback, повторная проверка успешна. LSP initialization завершился code0, rustfmt/JDK не найдены; полная Java/Rust/JNI проверка не заявляется. - Временные validation runners/generated sources удалены; готовые dependency caches не трогались.
Ни приложения, ни APK/телефон/микрофон/сервер не запускались. Нет новых screenshots или device evidence;
Windows baseline не переустанавливался, desktop runtime regression не выполнен.
compatibility.jsonостаётся pending. Подробные новые знания — последний раздел assessment;.uaостаётся прежним stale snapshot.
Продолжение перед передачей другому разработчику
- Закрыты дополнительные source-level дефекты:
Visibility(false)освобождает Android touch PTT и long-press; повторный audio-focus callback не выключает микрофон; pending output recovery сохраняется при более позднем capture revoke; explicit authorization сериализована с audio recovery. - Capture consent теперь остаётся видимым до FGS handoff; permission-launch failure завершает request. Camera2 shutdown дожидается late-open/close callback, resize игнорирует старые ImageReader callbacks. Pause host Activity не используется как blanket stop для foreground camera/projection capture.
- Android picker/permission callbacks различают отмену, отказ и некорректный результат; read-only open не запрашивает write permission. SAF проверяет grant flags, освобождает capability при JNI error и не теряет raw fd при ошибке закрытия provider handle. Desktop/iOS branches не менялись.
- Проверено сейчас: 3 actual standalone audio-state tests passed; Rust syntax-only parse 6 файлов; 26 Java native entrypoint names сопоставлены с Rust exports; Bash syntax инструкции передачи прошёл. Compiler test выполнялся с 5GiB job cap/2GiB headroom/below-normal, без Cargo/full/native build. Java/JNI typecheck, runtime UI/device и desktop regression остаются непроверенными; APK не создавался.
- README handoff содержит точный существующий
recipe и список receipts для другого ПК. Передавать нужно новый full SHA commit со всеми Android-изменениями;
старый
cb1d682их не включает. Commit/push разрешены; успешность доставки устанавливается по remote SHA, не наличию этой записи. Не передавать локальную ресурсную политику, credentials, signing keys, профили и Windows caches. - Scope остаётся честным: известные подтверждённые пробелы доработаны, но «все 718 требований готовы» не доказано. Перед первой Android-сборкой нельзя исключить Rust/Java/Gradle/JNI integration errors. Остальные device gates и намеренные unsupported product features перечислены в последнем assessment.
Принятая Windows-база и мобильная ветка
- Пользователь явно подтвердил в форме: проверил подключение, вход в канал и голос в обе стороны, принимает установленную Windows 0.1.7 и разрешает baseline/push. Desktop acceptance gate снят; это ручная приёмка владельца, не новый автоматический тест.
- До обновления стоял 0.1.4 Electron; теперь принят 0.1.7 Rust/Slint.
mainсохраняет проверенную базу, Android/iOS дорабатываются вfeature/mobile-port; изменения desktop-поведения требуют отдельного запроса, общий core/DSP/services — desktop regression checks. Ниже сохранена хронология сборки; прежние запреты push относятся к этапу до приёмки. - Push main и desktop-baseline успешен: пользователь ввёл credentials в отдельном обычном PowerShell, команда с отключённым для одного запуска credential helper завершилась exit0.
git ls-remoteподтвердил main и peeled tag на05e8d34bcf0e24a44f76e65220293c45b6821798. Прежний GCM auth/transport blocker обойдён, не объявлен исправленным; credentials ассистент не читал и команда их не сохраняла. По уточнению пользователяfeature/mobile-portоставлена локально, на remote её нет; для CI по этой ветке позже потребуется отдельный push. Релиз/установщик не опубликован. - До изменения установки сохранён побайтово проверенный rollback:
%LOCALAPPDATA%/Programs/TeamsPeach.rollback-20261110-223748, 78 файлов. При установке native исходный каталог также целиком переименован вTeamsPeach.pre-native-20261111-111816. Пользовательские профили/identity/настройки вне installation directory не читались и не изменялись. - Full native artifacts отсутствовали. Guarded serial
xtask depsWindows x64 прошёл исправленную MSVC activation, pinned SDK/depot_tools/WebRTC checkout и gclient sync. OEM/UTF-8 ошибка устранена childchcp 65001; отдельный real-vcvarsall smoke сохранил синтетическую кириллицу. Следующий blocker — CRLF checkout checksum-pinned patches: добавлен.gitattributes, все три патча восстановлены как LF и точные SHA256 проверены без изменения lock. Повторный provisioning отказал до старта по локальному RAM guard (exit125); полный build/package/runtime не выполнен, установка 0.1.4 нетронута. - После успешной сборки: isolated native smoke → production package/verify → установка с сохранённым rollback → ручная приёмка владельца. После подтверждения фиксировать desktop-baseline; mobile-specific изменения изолировать, shared core/services не менять без desktop regression проверки.
- Для продолжения нужен безопасный запас свободной RAM по локальной политике; не закрывать пользовательские приложения и не повышать предел автоматически. NSIS 3.13 установлен для будущего native packaging. Backup installation сохранён, профили не читались/не менялись, push после запроса desktop-приёмки не выполнялся.
- Пользователь попросил исходить из доступной RAM. Пересчитанный вниз локальный budget успешно выдержал полный WebRTC source-build: после timeout на 4010/4305 шагах build возобновлён с cache и завершился exit0;
xtask depsвыдал verified source dependency provenance и обновил реальный Windows record вnative/native-deps.lock.json. SDK Debugging Tools установлен, dbghelp.dll присутствует. Это dependency compile/inspection pass, не UI/device acceptance. Следом запущен полный Rust/Slintxtask build --test-harness trueпод тем же guard; production install пока не изменён. - Пользователь явно снял паузу («запускай… снимаю с паузы»). Full native harness build возобновлён под сохранённым локальным guard и одним заданием; WebRTC provenance уже готова. До успешных native smoke/package checks установленный 0.1.4 и профиль не менять. Push по-прежнему запрещён до пользовательской приёмки.
- Возобновлённая Rust/Slint build дошла до skia-bindings0.153.3: matching prebuilt URL вернул404, source extraction упала на Windows symlink privilege1314. Подготовлен отдельный Skia
m153-0.101.2вtarget/tools, archive SHA25630c8b51a0a32fae63562c303bdc91605519a9598951422610e3fb8685b3c4f6f; проверены archive paths/symlink target, только extraction выполнен elevated (exit0), global Developer Mode не менялся. Pinned git-sync-deps/GN выполнен serial под guard (exit0). Full build возобновлён с явным --skia-source и локальным Ninja wrapper -j1; установка/профиль не затронуты. - Пользователь после обсуждения длительности явно разрешил продолжить первый Windows-native build («поехали дальше»). Возобновлён тот же cached full Rust/Slint build под локальным guard/-j1/below-normal; готовые WebRTC/Skia объекты не удаляются. Текущая установка и профиль до smoke/package pass не заменяются, push запрещён до desktop-приёмки.
- Full harness build завершился exit0;
target/x86_64-pc-windows-msvc/release/teamspeach.exeполучен с default Skia+WebRTC. До успешной попытки main rustc получил allocation failure/LLVM OOM под локальными пределами; согласованный пользователем локальный workaround записан только вmobile-build.local.md, общие optimization defaults не менялись. - Реальный
xtask smoke --scenario offline-uipassed=true, 8 checks, 28 screenshots:target/desktop-acceptance/offline-ui/result.json. Disposable profile, network/OS actions/physical capture выключены; Slint software offscreen. Проверены callback/runtime/settings, rich rendering, PTT focus, draft retention и profile restart; onboarding screenshot просмотрен. Это не GPU/on-device/двусторонний голос acceptance. - Production build без test-harness и
xtask packageexit0; NSIS и ZIP прошли встроенныйverify-package:target/desktop-acceptance/production/x86_64-pc-windows-msvc/verification.json,passed=true,unsigned-local, публикация не разрешена. Тот же локальный optimization override; не выдавать пакет за стандартный CI release. - Native 0.1.7 установлен в
%LOCALAPPDATA%/Programs/TeamsPeach: NSIS exit0, SHA256 всех 76 payload files совпали, установленный--versionвывелTeamsPeach 0.1.7 (Rust + Slint),--helpне содержит test-harness. Старый Electron uninstall key экспортирован вtarget/desktop-acceptance/legacy-uninstall-registration.regи удалён после установки; исходный каталог сохранён, пользовательский профиль не тронут. - Реальное окно установленного production exe проверено с новым временным
TEAMSPEACH_PROFILE_DIRи закрыто штатно exit0; профиль удалён. Снимок:target/desktop-acceptance/installed-native-window.png. Подключение/голос затем проверил и принял владелец; миграция пользовательского профиля отдельно не подтверждена. Следующий этап — Android CI/device проверки в мобильной ветке. Baseline tag не является release tagv*; публикация установщика не выполняется.
Read-only Android CI preflight, 2026-11-11
- Сверено:
feature/mobile-port, HEAD82334f8a8bf25be6b594d013eb30f55f25c8c7bb; исходное рабочее дерево чистое (staged/unstaged/untracked отсутствуют вgit status). Локальныеmain,origin/mainи peeled baseline tag —05e8d34bcf0e24a44f76e65220293c45b6821798; отличие HEAD от baseline — только этот handoff.mobile-build.local.mdпрочитан, исключение из Git подтверждено; локальные ограничения не перенесены в CI. - Live Gitea: публичный branches API показывает только
mainна05e8d34; Android Actions показывает 0 workflow runs. Workflow уже опубликован в baseline; мобильная ветка остаётся локальной. Actions UI доступен, но готовность artifact storage этим не доказана. - Точный блокер доступа: GET
/api/v1/repos/TeamsPeach/client/actions/runnersи/actions/variablesвернули HTTP 401. Попытка открыть Actions через подписанный браузер не состоялась: relay connection timeout 30 s.ssh://сообщает, что настроенных hosts нет. Runnerteamspeach-android-linux-x64, его online/labels/resources, установленные SDK/NDK/JDK/LLVM/Skia и наличие семи variables из README неизвестны; ни одна variable не объявлена отсутствующей без доступа. Credentials/tokens/profile не читались; Git auth не проверялся и не объявлен исправленным. - Статически готово: ручной ARM64 workflow с full Skia+WebRTC, source dependency provisioning, отдельными harness APK и unsigned production APK/AAB, package verification, revision/SHA256 receipts (workflow, job
android-arm64; variant recipe). SDK API36/build-tools36.0.0/NDK28.2.13676358, JDK17+, LLVM/libclang, synced Skia+GN, local Gradle8.14.3 ZIP и bundletool должны существовать на runner до build dispatch; Rust1.96.0 и Android target также обязательны. Список variables — README:101–117. В dependency lock по-прежнему только Windows record; Android receipt должен появиться от реальногоxtask deps, не вручную. - Дополнительные prerequisites: runner execution environment должен поддерживать checkout@v4/upload-artifact@v3 и исходящие загрузки pinned WebRTC/depot_tools/CIPD, Cargo и Gradle dependencies.
xtask depsиспользует отдельный upstream Gradle wrapper для prefixed JNI jar (deps.rs:605–615); локальный Gradle ZIP приложения не делает всю цепочку offline. Rust Android build выбирает DEPS-pinned NDK из WebRTC checkout (build_native.rs:275–290), а установленный NDK28.2 проверяется workflow/Gradle. CI capacity и сетевой доступ не измерены; run-specific checkout/target/Gradle trees означают, что межзапусковой object-cache reuse этим workflow не настроен. - Риск получения первого APK найден и затем исправлен локально: исходный workflow загружал harness после полного цикла harness+production. В разрешённом продолжении порядок изменён на harness build/verify → harness upload → production build/verify → production upload (workflow, job
android-arm64). Общий прежний recipe вынесен в.gitea/build-android-variant.sh; failure gates и receipts сохранены. Реальный CI upload ещё не проверен. - Уточнение harness: без smoke extras
smoke_requestвозвращаетNone, а Android host выставляетnetwork_enabled=trueиallow_os_actions=true(smoke.rs:16–40; android.rs:61–85). Offline isolation относится к smoke-запуску, не ко всем запускам harness APK. Обычный запуск test APK — кандидат для первого разрешённого live voice proof на отдельном тестовом телефоне; это статический вывод, не phone/production acceptance. Application ID общий с production — не устанавливать поверх реального профиля. - Граф:
.ua/meta.jsonи project metadata остаются working-tree snapshot от5ce12714, не текущий HEAD; прочитаны только нужные метаданные/узлы/связи. Архитектура не менялась, граф и auto-update не тронуты. - Следующий порядок: восстановить read-only доступ к runner/variables и получить фактический tool/resource inventory → согласовать только обнаруженное provisioning и точечные CI-изменения → отдельное разрешение на push
feature/mobile-portи manual dispatch → проверить скачанный harness APK, revision/SHA256 и receipts → отдельно согласовать ARM64 API26+ телефон, disposable app data, сервер/канал и ПК-peer, затем install/launch/mic/Join ACK/двусторонний голос. iOS/macOS/Xcode/signing — отдельный незакрытый маршрут. - Проверки этой сессии: Git metadata, targeted source/docs/graph reads и публичные HTTP GET. Не запускались Cargo/Gradle/tests/build/package/CI/device/app, ничего не устанавливалось и не отправлялось. Изменены только handoff и точное уточнение harness в assessment; исходники, desktop, caches и локальная политика нетронуты. Исторические записи ниже о незакоммиченном CI относятся к прежнему этапу, не к состоянию этого preflight.
Разрешённое продолжение: доступ к CI и точечная правка
- Пользователь разрешил браузерный вход и продолжение подготовки, повторно подтвердив, что Android LLVM/SDK/build должны находиться на удалённом CI, не на его Windows-ПК. Локальная политика, WSL, память и compiler settings не менялись.
- Браузерный вход состоялся через уже установленный Chrome, без установки инструментов/расширений и без чтения пароля/cookies/tokens. Авторизованная страница repository Actions runners показала ровно один доступный runner:
monkeyRunner, ID9, v0.2.13, глобальный, «Простаивает»; labelsubuntu-latest,ubuntu-22.04,ubuntu-20.04. Нужного labelteamspeach-android-linux-x64нет. Repository variables page показала пустой список; семь требуемых переменных на уровне репозитория не настроены. Наследуемые organization variables и установленный host toolchain не проверены. - Авторизованный доступ к Gitea settings больше не блокер; блокер запуска — отсутствие matching runner label и repository configuration, а фактические SDK/NDK/JDK/LLVM/Skia, RAM/disk/network на host остаются неизвестны. Нельзя просто заменить runs-on на
ubuntu-latest: это направит тяжёлую сборку в неподтверждённую среду. Нужен согласованный удалённый Linux execution environment и его inventory; Git auth отдельно не проверен. - Повторные обращения к браузеру давали detached Frame и открывали новые окна. Пользователь потребовал прекратить открывать Chrome, затем уточнил разрешение: невидимый браузер допустим, видимые окна запрещены. Продолжение выполнено с
headed:false, вкладка закрыта после чтения. Пароли/cookies/tokens и пользовательский профиль приложения не читались. - Локальная CI-правка завершена: helper
bash -n, syntax всех workflow run blocks, YAML parse, compile обоих embedded Python scripts и статический порядок стадий прошли. Python subprocess сначала не нашёл Bash в PATH; проверка выполнена через имеющийся shell tool, без установки. Это syntax/structure checks, не Android build или CI/device proof. Обновлён CHANGELOG; исходники приложения и desktop-поведение нетронуты, граф не обновлялся. - Пользователь подтвердил Android-only на ближайшем этапе: разработка на Windows, APK на удалённом Linux; WSL не возвращать. После проверки вариантов явно разрешены push только
feature/mobile-portи один диагностический CI run до 5 минут на существующем runner, без установки, компиляции и чтения секретов. Main/релизы/телефон и тяжёлый build не входят в это разрешение. - В
android.ymlдобавлен безопасный defaultmode=inventory: jobrunner-inventoryнаubuntu-latest, без checkout/action downloads, только OS/CPU/RAM/disk/cgroup/tool/config inventory; значения variables не печатаются, Rust proxies не вызываются.mode=build— единственный путь к прежней тяжёлой job на выделенном Android label. YAML/Bash syntax и статические mode/timeout/job gates проверены; фактический remote run ещё предстоит. Runner resources и inherited organization variables пока неизвестны.
Реальный runner inventory: run 4828, 2026-11-11
- Push выполнен: отдельный PowerShell с ручным вводом credentials, credential helper отключён только для команды; exit0. Публичный branches API подтвердил
feature/mobile-port=cb1d682dfb307ec41d73434ab40de5de0b30410e,main=05e8d34bcf0e24a44f76e65220293c45b6821798. Credentials не читались, GCM не объявлен исправленным. Коммит включает диагностический режим, раннее сохранение harness и документы; запись фактического результата ниже добавлена локально после push. - Единственный разрешённый dispatch выполнен: android-ci run 4828 / #62, job runner-inventory 5423 — success, 1 s;
android-arm64— skipped. Выбранаfeature/mobile-port; форма Gitea на default branch ещё не показывала inputmode, поэтому сработал безопасный fallback inventory при отсутствииmode=build. Новых dispatch/re-run не выполнялось. - Execution environment подтверждён setup log:
monkeyRunnerv0.2.13 запускает job в контейнереdocker.gitea.com/runner-images:ubuntu-latest. Docker pull проверил существующий image как up-to-date; это инфраструктура удалённого CI, не Docker/WSL на Windows. Диагностический step не скачивал SDK/dependencies и не устанавливал инструменты. Наличие инструментов на физическом host из этих данных не следует: измерено окружение job. - Ресурсы, видимые job: Linux x86_64, 32 CPU;
/proc/meminfo: MemTotal 129429464 KiB, MemAvailable 30306932 KiB (≈28,9 GiB); workspace Available 21965056 KiB (≈20,95 GiB) из 64 GiB. Cgroup v2memory.max=max,memory.swap.max=max,cpu.max=max 100000в видимом scope; это не гарантия отсутствия ancestor/shared-host limits. Linux Committed_AS превышал CommitLimit; не трактовать эти Linux показатели как Windows Job Object guard или обещание безопасной build capacity. Достаточность свободного диска для холодного WebRTC+Skia build не подтверждена. - Фактические tools: git/python3/pkg-config/ar/sh/node найдены в PATH. cargo/rustc/rustup, cmake/ninja, clang/clang++, llvm-strip/llvm-readelf, java/javac/jar/keytool/jarsigner, zipalign/aapt2/apksigner/sdkmanager — missing-from-PATH, не утверждение об отсутствии на всём host. Rust1.96.0 не найден в обычном rustup-home. SDK/Skia roots не настроены, поэтому их установки остаются неизвестными, а не просканированными как отсутствующие.
- Все семь variables действительно unset в CI-контексте:
ANDROID_SDK_ROOT,ANDROID_JAVA_HOME,NATIVE_LLVM_HOME,NATIVE_LIBCLANG_PATH,NATIVE_SKIA_SOURCE_DIR,ANDROID_GRADLE_DISTRIBUTION,ANDROID_BUNDLETOOL. Унаследованные runner env roots Android/JAVA/LLVM/libclang/Skia тоже unset. Пустой repository UI больше не единственное основание этого вывода. - Точный следующий blocker: общий runner работает, но его job image не предоставляет Android toolchain/configuration; matching Android label по-прежнему отсутствует. Нужна отдельно разрешённая подготовка Android execution image и build/cache storage на существующем удалённом runner, затем фактические paths/variables и dedicated label. Нельзя подменять этим изменением общий image других проектов или просто запускать heavy build на generic
ubuntu-latest. Host access/административное provisioning не предоставлены; текущая авторизация покрывала только push и один inventory, не установку/сборку. - Граница доказательства: реальный read-only Linux CI pass, не Android compile/package/APK/device/voice acceptance. Windows acceptance/base, desktop-код, локальные compiler settings, caches, pagefile и WSL не менялись. Все последующие browser calls использовали
headed:false; вкладки закрыты. iOS на этом этапе не исследовался и не собирался.
Текущий маршрут: Android в CI, Windows без WSL
- После пользовательского входа в Git Credential Manager push успешен:
origin/mainобновлён сeb24965до5ce1271(включая cutover, handoff и граф). Указанный ниже прежний auth blocker снят. Секреты не читались и в документы не записывались. - По отдельному разрешению установлен rustup и toolchain
1.96.0-x86_64-pc-windows-msvc(minimal). Реально выполненыrustc --versionиcargo --version: обе версии 1.96.0. Инструменты находятся в%USERPROFILE%/.cargo/bin; уже запущенной оболочке может понадобиться обновление PATH. - По выбору пользователя весь Android APK/AAB build/package выполняется на Linux CI; Windows используется для разработки и установки test APK через Platform-Tools. Локальные WSL/Docker/Linux и виртуализация для этого маршрута не нужны. Pinned WebRTC Android source-build официально Linux-only — это требование CI, а не компьютера разработчика. iOS по-прежнему требует macOS/Xcode локально или на CI.
- Пользователь возобновил работу после паузы. LLVM 23.1.5 установлен,
clang --versionиrustc --versionпосле перезагрузки успешны; CMake/Ninja найдены в Visual Studio Build Tools.cargo test --locked -p xtask -p teamspeach-core -p teamspeach-denoiseзавершился успешно: 246 passed, 1 ignored, 0 failed (core unit 207; bridge 5; embedded 3; runtime failures 4; DSP 18; xtask 9). Это Windows-проверки core/DSP/упаковщика, не full native UI/WebRTC или device acceptance. - Visual Studio Build Tools 2022 17.14.44 установлен повторной попыткой (официальный актуальный bootstrapper с проверенной подписью Microsoft, exit 0).
vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64подтвердил C++ workload,isComplete=true,isLaunchable=true,isRebootRequired=false. Путь:C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools. Первая попытка winget завершилась 5008; её результат не считать итоговым. - WSL удалён штатными Appx/MSI uninstall (exit0); проверено AppxPackages=0, MsiPackages=0, DistroCount=0. Удалены его runtime directory, пустое хранилище неудавшейся Ubuntu,
.wslconfigи пустой WSL installer cache. Windows optional featuresVirtualMachinePlatformиMicrosoft-Windows-Subsystem-Linuxотключены (CIM InstallState=2). Измеренный удалённый runtime payload — около 828 MiB; Windows system launcher/общие Installer caches вручную не удалялись. - Локальные ограничения памяти остаются только в
mobile-build.local.mdи.git/info/exclude; не переносить их в общие настройки/граф. Не устанавливать WSL снова для мобильной цели без нового запроса. - Добавлен ручной
.gitea/workflows/android.yml: ARM64 harness APK и отдельные unsigned production APK/AAB, default Skia+WebRTC, pinned dependencies, receipts иbuild-info.jsonс revision/SHA256. Для чистого CI Gradle cache добавлен явный Android-package-only--gradle-online true; default offline сохранён, SDK downloads выключены, build/project caches изолированы по package. - Проверено после изменения:
cargo test --locked -p xtask10 passed, 0 failed, фактический CLI--help, YAML manual trigger, syntax четырёх bash steps и двух Python scripts, локальные ссылки docs. Реальный Android CI/Gradle/APK/device запуск не выполнен: нужен provisionedteamspeach-android-linux-x64runner и переменные из README. Неавторизованный read-only Actions API вернул HTTP401; наличие/готовность runner неизвестны. Credentials не извлекались. - Изменения текущего CI-маршрута не закоммичены/не отправлены. Граф обновлён по рабочему дереву: 3702 узла, 9131 связей, 7 native-слоёв, добавлены Android CI,
parse_options,android_gradle_commandи текущий маршрут без WSL. Штатный incremental updater отказал из-за dirty tree; использованы установленные scan/import/structure scripts и targeted reconciliation без commit/stash.meta.jsonявно помеченworkingTreeSnapshot=true; прежние fingerprints/scan baseline не выданы за clean HEAD. Schema/refs проверены, actual dashboard на :5173 отрисовал native+Android CI без Electron-слоёв. Предупреждение working-tree changes остаётся корректным до коммита. Автообновление выключено.
Native-only cutover
- Выбранная архитектура: Rust/Slint
native/+ embeddedcore::runtime; Electron/Node application host,app/, browser-onlytest/,scripts/, npm manifests удалены. Профильный import и защитные проверки устаревшего ciphertext сохранены — это пользовательская совместимость данных, не Electron runtime. - Native icon и 54 WAV перенесены в
native/resources/; перед удалением старого дерева SHA-256 каждой пары проверен на точное совпадение. Native DSP больше не экспортирует renderer-only WASM ABI; Cargodenoiseprofile удалён. - Build/CI/release переключены на Cargo/xtask и явно подготовленные native Linux x64/ARM64 runners; версия приложения/core/xtask берётся из Cargo workspace. Публикация отдельной командой: проверка artifacts → draft → upload/readback hashes → publish. Историческое исследование в assessment сохранено с immutable ссылками на базовую ревизию.
- Ограничение проверки:
cargo,rustc,rustup,cl,clang,cmake,ninjaотсутствуют в PATH; стандартные пользовательские каталоги Rust также отсутствуют, CARGO_HOME/RUSTUP_HOME не заданы. Сборочный toolchain автоматически не устанавливался. Нельзя выдавать static checks за native build или device proof. - Мобильные blockers из первоначального исследования не исправляются удалением Electron. Не считать interruption/Bluetooth/background/official-peer сценарии пройденными.
- Выполнены 4 Python-теста release transport с mocked HTTP (OK), parse 8 TOML/lock и 3 YAML, проверка 718 сохранённых pending acceptance cases, отсутствие удалённых деревьев и разрешение 21 literal embedded-resource path. Rust unit/build/UI/device checks не выполнены: toolchain отсутствует;
wsl --list --quietподтвердил, что WSL не установлен. Новые runner labels/configurations ещё не проверены реальным CI запуском. - Source cutover закоммичен:
220852f8cb7ccb4b912f988f603c23267808626d(Remove Electron and make Rust Slint the sole native client).git push origin mainзавершился ошибкой авторизации:could not read Username ... terminal prompts disabled; удалённая ветка этой попыткой не изменена. Авторизовать Git через credential manager/обычный терминал, не передавать токены в чат. - Следующий проверочный шаг для текущей архитектуры: предоставить Rust 1.96.0 и native C/C++/SDK source-build prerequisites, выполнить Cargo/native smoke из README, затем мобильный voice prototype. Старый read-only этап ниже сохранён только как история.
- Understand update preflight выбрал
FULL_UPDATE(314 удалённых граф-файлов, 38 файлов для нового анализа). Итоговая native-only карта: 371 текстовый файл, 3699 узлов, 9120 связей, 7 слоёв, 9 шагов на русском; один binary WAV из 372 scan entries исключён. Schema/path/layer/tour validation прошла без issues, 263 resolved imports сохранены; merger удалил 45 некорректных tested_by связей. Electron runtime/framework/layers отсутствуют,autoUpdate=false. Application source —220852f8;meta.jsonфиксирует конкретный snapshot после передачи состояния.
Историческое исследование до cutover
Решения и основания
- Не начинать переписывание на Flutter/React Native/двух native UI: сначала проверить уже существующие
core::runtime::{CoreHandle,CoreEvents}, Rust app/services и Android/iOS-адаптеры. Rust/Slint — первый кандидат для прототипа после установления этой границы, не безусловный окончательный выбор. - Основной голос — TeamSpeak UDP/Opus; WebRTC используется отдельно для трансляций. Не подменять серверный протокол WebRTC-голосом.
- Android и iOS проверять с первого сквозного эксперимента. Общий UI не доказывает одинаковый UX, accessibility или background behaviour.
- Не переносить subprocess/stdio/PCM-base64 Electron в мобильный runtime: embedded API уже существует. Сохранять SessionKey, capture epochs, timestamps и единственного владельца микрофона.
- Никаких исходников приложения не менять на исследовательском этапе; build/install/test/run/network-to-test-server требуют отдельного разрешения.
Выполнено
- Создан подробный разбор: стек/входы/build/tests, connect/auth/channels, оба аудиотракта, переносимость, OS-ограничения, официальные dependency references, лицензии и последовательность прототипа с наблюдаемыми критериями.
- Однократно проведён первичный Understand-Anything:
.ua/knowledge-graph.json,meta.json,fingerprints.json, config и scan inventory. 679 текстовых файлов, 5233 узла, 13204 связи, 9 слоёв и 9 шагов на русском. Scan/fingerprints: 680 entries; один бинарный WAV исключён из графа.autoUpdate=false. - Создан корневой AGENTS.md с порядком чтения/актуализации переносимой памяти. До сессии корневого файла не было; вложенные инструкции не изменены.
Реально проведённые проверки
- Git metadata/inventory: HEAD, branch, initial porcelain status, 2221 tracked-файл; метаданные путей проверены на reparse links. Пользовательские профили и секреты не открывались.
- Статическое чтение исходников и test/build recipes; официальные Slint/CPAL/Sonora/Rust/Electron/LiveKit/Android/Apple/license документы.
- Штатные installed Understand scanner/import/batching/structure/merge/fingerprint scripts.
validateGraphи layer/tour integrity — success, issues отсутствуют; все 872 resolved imports сохранены. Merge удалил 15 некорректныхtested_byсвязей. - Проверена фактическая загрузка и отрисовка русского графа в installed understand-dashboard через managed browser; tabs закрыты. Dashboard service запущен на loopback в текущей сессии; для следующей использовать
/understand-dashboard C:/Dev/TeamsPeach, не сохранять access token. - Проверка путей/диапазонов цитат обнаружила четыре выходивших за EOF диапазона; они сверены с исходниками и исправлены.
- Финальная проверка: все 179 source citations к 82 файлам имеют существующие пути и допустимые диапазоны; локальные ссылки документов корректны, code fences сбалансированы. Финальный git status содержит только новые
.ua/,AGENTS.mdи два разрешённых документа; tracked/staged diff пуст. Промежуточные файлы Understand перемещены в стандартный.ua/.trash-*, scan inventory сохранён. - Не выполнялись: сборка/установка/запуск приложения, Node/Cargo tests, мобильный smoke, подключение к серверу, измерение звука, проверка телефона, signing/publishing. Нельзя записывать эти проверки как пройденные.
- LSP не настроен (
No language servers configured for this project). Static Slint site fetch и browser relay дали timeout; официальные versioned docs прочитаны через GitHub, dashboard — через отдельный managed browser. Навыки доступны и реально использованы.
Блокеры и риски
- Сборки: в
native/native-deps.lock.json#/buildsтолько Windows x64 record. Native recipe требует Linux source-build host для Android и macOS/Xcode для iOS; наличия этих hosts, SDK, signing и test devices не установлено. Не создавать fake provenance. - iOS interruption resume: API
CallLease::resumeесть, вызова из runtime в просмотренном дереве не найдено; common handler останавливает input/output, окончание лишь сообщает статус. Cached mobile lease не равен активной AVAudioSession. Android explicit microphone action может восстановить output черезsync_audio, но автоматический handler этого не делает. См. assessment §7, не упрощать до «resume нигде невозможен». - Реальный audio/runtime: неизвестны speakerphone AEC, Bluetooth mic/output, timestamps/drift, фон, permission revoke, Wi-Fi↔cellular и VoiceOver parity. Upstream support не доказывает эту сборку.
- Распространение: код
UNLICENSED; разрешение на redistribution заимствованных TeamSpeak icons/sounds не установлено. Slint attribution и полный native dependency/codec notices inventory требуют проверки конечного пакета. - Паритет:
native/compatibility.json— pending inventory, не доказательство 718 работающих функций; legacy Speex/CELT и перечисленные unsupported services не считать реализованными.
Следующий шаг
После отдельного разрешения на исполнение — подготовить изолированные Android/Linux и iOS/macOS build/test среды и пройти assessment §10 по порядку: native dependency/core build → foreground capture/playback → реальный connect и Join ACK → двусторонний голос Android↔iOS↔контрольный desktop peer → privacy/lifecycle/routes/network. Минимальный proof не сокращает требования к полной версии; остальные функции получают отдельную parity-приёмку.
В новой сессии сначала сопоставить HEAD и uncommitted изменения с этой записью. Перепроверять только затронутые выводы. Новые docs/AGENTS созданы после первичного scan и могут давать честный working-tree warning в dashboard; исходники приложения в этой сессии не менялись. Не перезапускать полный Understand ради новых документов; обновлять граф при архитектурных изменениях, предпочитая incremental.