Repository navigation
Description
Why
Alpha currently ships as a single monolithic Capacitor WebView APK (ai.alphacompute.alphaphone) that owns the Android HOME role and renders all 18 built-in apps as internal JavaScript views (apps/app/src/shell/views.tsx). That architecture prevents third-party Play Store apps from behaving as first-class citizens on the home screen, concentrates all OS permissions and web browsing into one UID/process, prevents individual apps from holding standard Android roles or being swapped out (e.g., for Firefox), and traps the Ask Alpha chat inside a single launcher WebView.
User goal: Transition Alpha into Alpha NEXT — a truly native AOSP-based personal agent phone built on stock AOSP Launcher3 themed with the Alpha Compute design system, with each Alpha view packaged as a real standalone Android app communicating bidirectionally with the resident on-device Eliza agent, Ask Alpha running as a system-wide overlay above Launcher3 and any third-party app, opt-in GApps / Google Play Store support, and native AOSP APIs allowing the Eliza agent to perceive and control arbitrary third-party apps (such as Firefox) — while preserving Vibestack/Quint/Dafny formal verification and maximizing code reuse.
Executive Summary & Verdict
Verdict: Highly feasible and architecturally clean. Implementing Alpha NEXT via a Dual-Tier Shared-Core Architecture delivers native AOSP integration while preserving ~95% of existing React / @repo/ui / VibeLang code and ~85–90% of the repository's 216 Quint specs & 80 Dafny proofs untouched.
| Pillar | Recommended Architecture | Key Codebase Anchor |
|---|---|---|
| Embodiment | Dual-Tier Shared-Core: Tier 1 sideloadable APK suite on any Android 14–16 phone/emulator + Tier 2 full AOSP Android 17 ROM sharing the exact same APKs with graceful privilege escalation | Extends spec/app/platform/index.md Variant pattern |
| Native Home | Hybrid Stock AOSP Launcher3 (Quickstep): extended RROs auto-generated from tokens.json + zero-patch AlphaPartnerCustomization APK + ~150–300 LOC SHA-256-pinned QSB Ask Alpha hook + native AlphaDayWidget |
Extends existing AlphaNavigationOverlay in apps/app/aosp/branding/Android.bp |
| Standalone Apps | Core Hub (AlphaCore = ai.alphacompute.alphaphone) + 18 Thin Multi-APK Suite sharing :alpha-app-runtime AAR & Vite multi-entry build (Node 26 + Paradee voice + DeviceCustody stay strictly in AlphaCore) |
Preserves pixel10a.json, AlphaSense, App Links & release-signer.json |
| System Chat Overlay & IPC | VoiceInteractionService / VoiceInteractionSession (ROLE_ASSISTANT) with TOUCHABLE_INSETS_REGION + Signature-guarded Binder/AIDL Broker (IAlphaAgentBroker with ParcelFileDescriptor >64 KB/SSE, IAlphaPlatformBroker, IAlphaContextRegistry, AlphaPreferencesProvider) |
Reuses AlphaAgentService 0600 Unix socket + alpha_launcher_agent_ipc.te; preserves platform/agent.vibe unchanged |
| GApps / Play Store | GrapheneOS Sandboxed Google Play (GmsCompat MIT) on Android 17 — unprivileged /data/app install, locked AVB compatible, zero proprietary binaries in Git/ROM |
Aligns natively with existing Pixel 10a adevtool + android-17.0.0_r1 baseline |
| 3rd-Party App Control (Firefox) | 5-Layer Hybrid Ladder: Intents & Android 16/17 AppFunctions → VoiceInteractionService/AssistContent → AccessibilityService → Visual capture → tiny platform-signed AlphaControlBridge (INJECT_EVENTS + captureDisplay) |
Native non-WebView Kotlin executor + new formal safety spec spec/app/control/ |
1. Open-Source Agent Phone Embodiment Comparison (2025–2026)
Ecosystem Landscape
- Mobile AI Agents: DroidRun → Mobilerun (+ Portal APK), Open-AutoGLM (Z.ai), Mobile-Agent (Alibaba X-PLUG), AppAgent, and AndroidWorld dominate OSS traction because developers can install a companion Accessibility/ADB APK on any existing phone or emulator in 60 seconds (repurposing spare Android phones into always-on agent nodes). Microsoft OmniParser + VLMs serve as visual fallback where accessibility trees are incomplete; Shizuku is the de facto non-root elevation bridge on stock Android.
- Android 16/17 Native Shift:
androidx.appfunctions/android.app.appfunctionsis Android's native MCP-equivalent for typed local app-to-agent tool calls, gated toROLE_ASSISTANTviaandroid.permission.EXECUTE_APP_FUNCTIONS. Alpha already targets API 36+ (apps/app/android/host.json). - Custom ROMs, Launchers & GApps: Lawnchair proves developer preference for stock AOSP Launcher3 + Quickstep + RRO theming over custom WebView launchers. GrapheneOS (
GmsCompat) is the gold standard for real Play Store compatibility on de-Googled locked-AVB AOSP; CalyxOS (microG) trades paid/IAP/strict-app compatibility for FOSS shims; LineageOS maximizes device breadth (400+ devices) with manual GApps/microG; PostmarketOS lacks mainstream Android/Play app compatibility.
Embodiment Matrix
| Embodiment | OSS Developer Adoption | Native 3rd-Party Apps & Play Store | Privileged OS Control (AppFunctions, INJECT_EVENTS) |
Testable Without 300 GB AOSP Build? | Alpha Formal Verification & Eliza Moat |
|---|---|---|---|---|---|
| Current Monolith WebView Launcher | Low (breaks launcher ergonomics) | Poor (custom grid/drawer; no Play Store on AOSP) | Limited (2 priv perms only) | Partial (emulator launcher) | High |
| AOSP-ROM-Only Agent Phone | Very Low (Pixel-only + wipe + 64–128 GB RAM compile) | High with GmsCompat |
Full | No (blocks 99% of contributors) | High |
| Unverified Mobile-Agent Scripts (DroidRun / AutoGLM) | High (zero-flash APK) | Native host phone | Tier 1 only (Accessibility / ADB / Shizuku) | Yes | None (no formal safety/approval proofs or resident local-memory OS) |
| Alpha NEXT: Dual-Tier Shared-Core (Recommended) | Highest (60-sec Tier-1 APK install + Tier-2 flagship ROM) | Full on both tiers (native Play on Tier 1; Sandboxed Play on Tier 2) | Graceful ladder: Accessibility (+ opt-in Shizuku) on Tier 1 → AppFunctions + AlphaControlBridge on Tier 2 |
Yes — 95% tested on stock Android emulators & any phone | Unmatched: Quint + Dafny formal approval/privacy proofs + on-device ElizaOS |
Why Dual-Tier Wins: Sharing the exact same APK suite, system overlay, and resident Eliza daemon across Tier 1 (any Android 14–16 device) and Tier 2 (Alpha NEXT AOSP Android 17 ROM) gives ~95% code reuse, 100× wider OSS adoption, live emulator verification of real third-party apps (including Firefox) without compiling AOSP, and an unmatched trust story via formally proved safety invariants.
2. Native AOSP Launcher3 + Alpha Compute Design System
Codebase Baseline
- AOSP baseline: Pixel 10a (
stallion,cp2a) & Cuttlefish on Android 17 (android-17.0.0_r1) (apps/app/aosp/pixel10a.json,.eliza/packages/os/aosp/aosp.lock.json). - Existing RRO foundation:
apps/app/aosp/branding/Android.bpalready defines 5 static product RROs (priority="999",certificate: "platform"):AlphaFrameworkOverlay,AlphaSystemUIOverlay,AlphaSettingsOverlay,AlphaSettingsProviderOverlay, andAlphaNavigationOverlay(which already overlayscom.android.launcher3!). - Design tokens (
packages/design-system/tokens.json): Monochrome Black (#000000/#050505) & White (#FFFFFF/#FAFAFA) with one signature Alpha Blue (oklch(0.4520 0.3132 264.05)≈#0000FFlight,#B8C0FFdark), already sRGB-mapped inapps/app/aosp/branding/overlay/frameworks/base/core/res/res/values/colors.xml; radiitile=22dp,drawer-icon=18dp,dock=31dp,home-card=30dp; fonts Public Sans + Denton + Fraunces.
Launcher Architecture Comparison
| Dimension | 1. Pure RRO + Workspace Overlay | 2. Forked Launcher3 (Lawnchair / Trebuchet / Full Fork) | 3. Hybrid: Stock Launcher3 + RROs + Partner APK + Micro-Patch (Recommended) |
|---|---|---|---|
Android 17 cp2a Rebase Tax |
Zero Java/Kotlin patches | High: Lawnchair lags Quickstep ISystemUiProxy/RecentsWindowManager by 6–12 mo; Trebuchet lags AOSP 17 cp2a |
Minimal (~150–300 LOC), pinned with SHA-256 preimage manifests (apply.py), matching existing apps/app/aosp/branding/ practice |
| Alpha Compute Palette, Shapes, Grid & Fonts | Covers colors.xml, config_icon_mask, fonts_customization.xml, config_dynamic_grid_* |
Full control | Same RRO coverage, auto-generated from packages/design-system/tokens.json |
| Default Home Layout + Native 3rd-Party Apps | RRO default_workspace_*.xml fragile on res-auto namespaces |
Full control | Zero-patch AlphaPartnerCustomization APK (com.android.launcher3.action.PARTNER_CUSTOMIZATION + partner_default_layout.xml) pre-places Alpha apps & Glance widget; stock LauncherModel/LauncherApps auto-populates Play/sideloaded apps, badges, shortcuts & Work/Private profiles |
| Persistent Ask Alpha Bar & Daily Cards | Cannot do: RRO cannot swap QsbContainerView click/voice/swipe-up hooks or edge-to-edge DeviceProfile/Hotseat layouts |
Full control | Surgical QSB/hotseat micro-patch invoking Alpha's VoiceInteractionSession (31dp dock, Alpha Blue mark, mic) + keeps hidden-navigation-handle.patch (config_alpha_home_back_only=false so Quickstep Recents works natively) + native Android AppWidgetProvider (AlphaDayWidget) backed by spec/app/home/cards.md |
| Tier 1 (Stock Android) Experience | N/A | Standalone Lawnchair (loses Quickstep Recents without root) | Users keep their existing launcher + place Alpha's Ask Alpha Search Widget & AlphaDayWidget + set Alpha as ROLE_ASSISTANT |
Typography Requirement (
.woff2vs.ttf):packages/design-system/fonts/currently shipsPublic SansandDentononly as.woff2(onlyFrauncesitalic is.ttf). Android's nativefonts_customization.xml/ RRO@font/*requires.ttf/.otfassets, which must be sourced cleanly and passapps/app/scripts/licences.ts(gen/app__image__licences.tsfont-check gate).
3. Packaging All 18 Alpha Views as Real Standalone Android Apps
Surface Classification (apps/app/src/ — 33 dirs, 32 spec/app/ areas)
- Core Hub (
AlphaCore=ai.alphacompute.alphaphone): Retains the existing package ID (preservingpixel10a.json,AlphaSense, verified App Links, and single-key custody inrelease-signer.json). Exclusively hosts heavy shared runtimes — Node 26 (libeliza_node.so),agent.mjs, Paradee local ASR/TTS (libelizainference.so,libparadeevoicejni.so, GGUFs),DeviceCustody, Autofill, NotificationListener,AlphaVoiceInteractionService(Ask Alpha overlay + Voice + Approvals + Startup/Account + Updates) — plus the cross-APK Binder/AIDL brokers. - 18 Standalone User-Facing App Views (
apps/app/src/shell/views.tsx):- 9 OS Default-Role Candidates:
Phone(ROLE_DIALER,InCallService),Messages(ROLE_SMS,SMS_DELIVER),Contacts,Browser(ROLE_BROWSER,AlphaBrowserPlugin),Camera(IMAGE_CAPTURE/STILL_IMAGE_CAMERA_SECURE),Clock(SET_ALARM/SET_TIMER),Calendar,Files(MANAGE_EXTERNAL_STORAGE+ local OCRtessdata),Photos. - 9 Productivity / Comms / Agent-Native Apps:
Notes,Reminders,Inbox,Maps,Telegram,Slack,Workflows(includesdigests),Wallet,Settings(Alpha account/agent/preferences; native Android Settings remainscom.android.settings).
- 9 OS Default-Role Candidates:
- Retired on Android:
home(Home.tsx,catalog.vibe,AppsDrawer) is replaced by themed AOSP Launcher3 +AlphaDayWidget.
Multi-App Packaging Comparison
| Dimension | (A) Unified Multi-APK: AlphaCore + Thin APKs Sharing :alpha-app-runtime AAR & Vite Multi-Entry (Recommended) |
(B) Single APK with <activity-alias> + taskAffinity |
(C) <static-library> + Thin Wrapper APKs |
(D) Native Kotlin/Compose Rewrites |
|---|---|---|---|---|
| Code Reuse & Quint Parity | ~95%+: Reuses React, @repo/ui (238 components), .vibe, and all domain gen/ Quint machines (areas.ts already isolates per-area sub-runtimes) |
~98%+ (good optional Phase-0 bridge) | ~95%+ | <15%: Breaks Vibestack TS/Effect/React codegen & Bombadil conformance |
| True OS Citizenship (Roles, Least-Privilege Perms, Uninstall/Swap e.g. Firefox, Independent OTA) | Full: Notes never holds READ_SMS/CALL_PHONE; Browser runs in an isolated security sandbox away from DeviceCustody; any app can be swapped/disabled/updated independently |
Broken: One package in Settings→Apps, one permission bucket, cannot swap/uninstall individual apps, single crash/security domain | Full on AOSP ROM; breaks Tier-1 sideloading (INSTALL_FAILED_MISSING_SHARED_LIBRARY + rigid integer version pinning) |
Full |
| APK / ROM Storage | ~2–4 MB/APK × 18 ≈ 45–70 MB total (OCR tessdata only in Files+Camera; Node+Paradee only in AlphaCore) |
~0 MB overhead | ~300–500 KB/APK (~10 MB total) | ~1–3 MB/APK |
| Runtime RAM (Chromium WebView) | ~80–150 MB PSS per open app (separate ART + isolated Chromium renderer per UID); 2–3 concurrent apps ≈ 250–400 MB (viable on 8 GB Pixel 10a; lmkd reclaims older ones) |
Lowest (~20–35 MB/extra view in shared process) | Identical to (A)! <static-library> saves ROM disk & DEX page cache, not per-UID Chromium renderer RAM |
Lowest (~30–60 MB/app) |
Build & pnpm check |
1 Vite multi-entry build + Gradle parallel subprojects over 1 shared AAR (~1.5–2× Gradle time); pnpm check unchanged |
1× build | Higher Soong/Gradle publish complexity | Breaks pnpm check |
Security Invariant: NEVER use android:sharedUserId (deprecated API 29+, restricted on AOSP 15–17, Play-banned). Trust between AlphaCore and Alpha app APKs uses protectionLevel="signature" permissions + runtime checkSignatures() (already proven with apps/app/android/sense/), all signed with Alpha's single release key (aosp/signing/release-signer.json). Browser isolation (ai.alphacompute.browser) strictly improves security by removing untrusted web rendering from AlphaCore's key custody UID.
4. System-Wide Chat Overlay & Bidirectional App ↔ Resident Agent IPC
System-Wide Ask Alpha Overlay (Works Over Launcher3 AND Firefox/3rd-Party Apps)
| Mechanism | Strengths | Flaws / Risks | Verdict |
|---|---|---|---|
VoiceInteractionService + VoiceInteractionSession (ROLE_ASSISTANT) |
Half-wired today (AlphaFrameworkOverlay sets config_defaultAssistant=ai.alphacompute.alphaphone & config_longPressOnPowerBehavior=5, plus power-voice & system-entry). Runs in privileged TYPE_VOICE_INTERACTION layer without SYSTEM_ALERT_WINDOW. Triggered by Power long-press, corner swipe, Launcher3 QSB, Sense wake-word, Lockscreen, QS tile. Overrides onComputeInsets() with Insets.TOUCHABLE_INSETS_REGION so transparent areas pass touch straight through to Launcher3/Firefox. Grants free AssistStructure + AssistContent.webUri + onHandleScreenshot(). Identical on Tier 1 & Tier 2. |
Requires explicit FLAG_NOT_FOCUSABLE toggling (passthrough vs IME focus in Typing/Sheet/Full) and a pre-warmed Capacitor WebView pool kept alive in AlphaCore for <50 ms open |
PRIMARY MECHANISM — hosts existing assistant/ + voice/ + approvals/ React/VibeLang UI with zero UI rewrite |
TYPE_APPLICATION_OVERLAY (SYSTEM_ALERT_WINDOW) |
Persistent floating window | Severe Android 12–17 blockers: HIDE_NON_SYSTEM_OVERLAY_WINDOWS / setFilterTouchesWhenObscured(true) (Play Store, banking apps, PermissionController, Alpha's own MainActivity.java:197) blocks touches; scary Tier-1 grant; WebView IME focus dropouts |
Reject for Chat UI (at most optional non-focusable edge pill) |
| SystemUI / Quickstep Native Overlay | Full system window authority | Kills Tier 1 sideloading; massive frameworks/base/packages/SystemUI Kotlin/Dagger build & rebase cost |
Reject |
Bidirectional IPC Architecture (Why Localhost TCP Is Rejected)
- Why NO localhost TCP HTTP/WS: Today
AgentServicespawns Node 26 over an owner-only0600Unix domain socket (files/ipc/,alpha_launcher_agent_ipc.te) withSO_PEERCREDUID checks (AgentSocketClient.java:97) and per-launch Bearer tokens. Bothapps/app/vite.config.ts:27andapps/app/scripts/android.ts:276ban127.0.0.1:/localhost:in production bundles; opening localhost TCP would expose the resident agent to every Play Store app holdingINTERNET. - Recommended Signature-Guarded Binder/AIDL Broker (hosted in
AlphaCore):IAlphaAgentBroker.aidl(App → Agent): Protected byai.alphacompute.permission.AGENT_IPC(protectionLevel="signature") +checkSignatures()+ per-calling-package route allowlist (e.g.,ai.alphacompute.notesmay only invoke/api/notes/*,/api/alpha/notes/*,/api/health,/api/status— stricter least-privilege than the monolith). Forwards internally toAgentService.channel()over the existing0600Unix socket (zero new SELinux rules needed for thin app APKs). Bodies >64 KB (e.g.,POST /api/alpha/notes/transcription1.1 MB;REQUEST_BODY_LIMIT16 MiB) and SSE streams pass viaParcelFileDescriptor(SharedMemory/pipe FD) to avoid Binder's 1 MBTransactionTooLargeException. A drop-in CapacitorRemoteAgentPluginpreservesapps/app/src/platform/agent.vibeand all@elizaos/agentclients unchanged.IAlphaPlatformBroker.aidl&AlphaPreferencesProvider(Shared Auth/Cloud/Prefs): KeepsDeviceCustody(ElizaSignIn),ElizaCloud, andElizaSecureStoreanchored inAlphaCore's single Keystore UID. Shared preferences (alpha.appearance,alpha.preferences,alpha.textScale,install) move to a signature-protectedContentProvider+ContentObserverbehind a split EffectKeyValueStoreLayer (apps/app/src/platform/platform.vibe), preserving 100% of.vibepreference machines.IAlphaContextRegistry.aidl(Live Foreground Context → Ask Alpha): Replaces in-processFileContext/BrowserPage/NotesSelection/Mapspulls (boot.tsx:162-182). Each foreground Alpha app publishes a bounded, privacy-gated Context Snapshot ({ packageId, view, focusedEntityId, summary, sensitive, leaseToken, updatedAt }) and clears it inonPause().VoiceInteractionSessionmergesIAlphaContextRegistry(Alpha app foreground) oronHandleAssist+ Accessibility (3rd-party app foreground) intoencodeTurnContext().- 2-Tier Agent → App Execution:
- Tier 1 — Headless Mutations (0 ms WebView cold start):
Notes,Clock,Reminders,Calendar,Workflows,Wallet,Inboxmutate directly in the resident Node agent (routes.jsonl) or native Android providers (CalendarContract,ContactsContract,Telephony.Sms) and emitagentEventinvalidations. - Tier 2 — Interactive UI Navigation & Handoffs:
AlphaCoredispatches a signed explicit Intent (ai.alphacompute.action.AGENT_OPEN,alpha://<view>/<path>?claimId=..., BinderIActionCallback); warm apps respond in <30 ms viaonNewIntent(). Cross-appMediaHandoffusesFileProviderURIs +FLAG_GRANT_READ_URI_PERMISSION.
- Tier 1 — Headless Mutations (0 ms WebView cold start):
5. GApps / Google Play Store Integration on AOSP
Comparison Matrix
| Approach | Android 16/17 Status | Locked AVB (avb_pkmd.bin) |
Legal for OSS Repo/ROM | App Compatibility | Play Integrity (BASIC / DEVICE / STRONG) |
|---|---|---|---|---|---|
(A) GrapheneOS Sandboxed Google Play (GmsCompat) — Recommended |
Active on Android 17 (GmsCompatConfig v179+) |
Full support (GMS installs to /data/app as unprivileged user apps) |
Clean (MIT) — zero Google binaries in ROM or Git; user opts in via OOBE/Settings | Very High (~85–95%): Play Store, paid apps, FCM push, Maps, Firefox, Spotify, Uber, WhatsApp | BASIC: mixed/volatile; DEVICE/STRONG: Fail |
| (B) Flashable GApps (MindTheGapps / NikGApps / BiTGApps; OpenGApps is dead) | Active up to A16/17 | Broken — mutating /system//product breaks vbmeta_system & Virtual A/B + APEX |
Illegal to bundle (proprietary Google APKs) | High (privileged GMS) | BASIC: mixed; DEVICE/STRONG: Fail (unlocked bootloader) |
| (C) microG + Aurora Store / F-Droid | Active (A15/16 patches) | Full support (/product/priv-app) |
Clean (Apache 2.0) (Aurora Play scraping is ToS gray area) | Medium — breaks paid Play apps/IAP, Android Auto, Wear OS, some FCM/reCAPTCHA/Maps | Fail across all tiers |
| (D) Official GMS / MADA Certification | OEM-only | Full | Closed / NDA — incompatible with OSS & Alpha launcher/assistant defaults (Google placement mandates) | 100% | Pass |
Exact AOSP Requirements for Sandboxed Google Play
- Upstream MIT repos (
github.com/GrapheneOS):platform_packages_apps_GmsCompat,platform_external_GmsCompatConfig, and anAlphaPlayInstallermodule (modeled on GrapheneOSAppStore) using signed metadata verification to download authentic Google-signedcom.google.android.gsf,com.google.android.gms, andcom.android.vendingstrictly on user opt-in. frameworks/basehooks: Port GrapheneOS'sGmsCompathooks (ActivityThread,ApplicationPackageManager,ContextImpl,PackageManagerService,ActivityManagerService,AppOpsService,LocationManagerService) pinned to GrapheneOS's Android 17 branch — aligning directly with Alpha's existing Pixel 10aadevtool(init.{pixel,zumapro}.grapheneos.rc) +android-17.0.0_r1stack!- Zero privileges for Google APKs: All 3 Google packages run as standard
untrusted_appin/data/app; narrowprivapp-permissionsapply only toGmsCompatandAlphaPlayInstaller(INSTALL_PACKAGES,DELETE_PACKAGES,UPDATE_PACKAGES_WITHOUT_USER_ACTION). - WebView Policy (
config_webview_packages.xml): Ship an updated WebView (Vanadium/Trichrome WebView) AND allowlist Google'scom.google.android.webview(pinned by Google cert) so Google OAuth works out of the box and Play Store keeps WebView security-patched. - Honest Play Integrity Reality (post-May 2025 enforcement): Even with a locked bootloader + custom
avb_pkmd.bin, TEE KeyMint reportsSelfSigned(yellow verified boot), NOT OEM green.MEETS_DEVICE_INTEGRITYandMEETS_STRONG_INTEGRITYwill ALWAYS fail on any uncertified AOSP ROM. Everyday Play Store apps work cleanly; Google Wallet tap-to-pay and strict banking/DRM apps will not. Alpha will never ship PlayIntegrityFix/keybox spoofing. Users who decline Sandboxed Play may optionally install F-Droid/Aurora Store (without mixingFAKE_PACKAGE_SIGNATUREandGmsCompat).
6. Native Third-Party App Control (incl. Firefox / GeckoView) & Formal Safety Specs
5-Layer Hybrid Perception & Actuation Stack
- Layer 1 — Intents & Android 16/17
AppFunctions(Structured First): Launch apps viaLauncherApps, open URLs in Firefox directly viaIntent(ACTION_VIEW, uri).setPackage("org.mozilla.firefox")(skipping URL-bar typing), and invoke@AppFunctiontools viaAppFunctionManager(android.permission.EXECUTE_APP_FUNCTIONS,internal|rolegranted toROLE_ASSISTANT). - Layer 2 —
VoiceInteractionService/AssistContent: One-shotAssistContent.getWebUri()(Firefox active non-private tab URL!),AssistStructure, andonHandleScreenshot()with zero MediaProjection prompts. - Layer 3 —
AccessibilityService(Primary Continuous Tier-1 & Tier-2 Engine): Inspects all windows viagetWindows()(FLAG_RETRIEVE_INTERACTIVE_WINDOWS) for multi-window/IME/permission prompts; executesACTION_CLICK,ACTION_SET_TEXT,ACTION_SCROLL_*,GLOBAL_ACTION_*, anddispatchGesture(). On Tier 2 AOSP,WRITE_SECURE_SETTINGSenables frictionless activation strictly upon explicit owner opt-in (bypassing Android 13+ "Restricted Settings"), paired with a persistent indicator chip and one-tap kill switch. - Layer 4 — Visual Screen Capture (Vision/VLM Fallback): Tier 1 uses
AccessibilityService.takeScreenshot()(API 30+, respectsFLAG_SECURE, 1s rate limit); Tier 2 usesIWindowManager.captureDisplay(captureSecureLayers=false)(sub-30ms, unthrottled).MediaProjectionis rejected (per-session consent prompts +DETECT_SCREEN_RECORDING). - Layer 5 — Platform-Signed
AlphaControlBridge(INJECT_EVENTS+READ_FRAME_BUFFER):- Critical AOSP Cert Split: In AOSP
frameworks/base/core/res/AndroidManifest.xml,INJECT_EVENTSandACCESS_SURFACE_FLINGERareprotectionLevel="signature"ONLY (notprivileged), whileAlphaPhoneispresigned: truewithALPHA_SIGNER_SHA256(not the AOSPplatformcert). - Clean Solution (zero framework permission hacks): Add a tiny (~300 LOC), audited, platform-signed system companion
AlphaControlBridge(certificate: "platform",privileged: true, isolated SELinux domain modeled oneliza_sense_app.tewithneverallownetwork sockets) holdingINJECT_EVENTS+READ_FRAME_BUFFER+WRITE_SECURE_SETTINGS. Every Binder call verifies caller signature againstALPHA_SIGNER_SHA256(same pattern asalpha-protected-power-voice.patch) and exposes 3 narrow AIDL methods (captureDisplay(secureLayers=false),injectInputEvent,setAlphaAccessibilityEnabled). Never useUiAutomationin production (requiresshellUID and disables TalkBack).
- Critical AOSP Cert Split: In AOSP
Firefox for Android (Fenix / GeckoView) Deep Dive
- What works natively: GeckoView's
SessionAccessibility.javaexposes web DOM nodes (<a>,<button>,<input>, headings, ARIA roles, bounds, click/scroll actions) as virtualAccessibilityNodeInfodescendants;AssistContent.getWebUri()reads the current URL;Intent(ACTION_VIEW)navigates directly. - Exact failure modes requiring hybrid fallbacks:
- Compose Toolbar Migration (2025–2026): Fenix's Jetpack Compose
BrowserToolbardrops legacymozac_browser_toolbar_url_viewresource IDs → match viaAssistContent+ semantics + vision, never legacy IDs alone. ACTION_SET_TEXTon web forms: Often skips React/Vue synthetic JSinput/changeevents or fails oncontenteditable/Shadow DOM → fallback to focus click + clipboard/IME orINJECT_EVENTSKeyEvent+KEYCODE_ENTER.- Canvas / WebGL / PDF.js / Shadow DOM / Cross-Origin
<iframe>(Fission): Missing or scroll-drifted bounds → vision-grounded coordinates (captureDisplay→ VLM →injectInputEvent/dispatchGesture). - JNI sync lag & stale refs:
SessionAccessibilitysyncs on UI thread → enforce settle check + monotonicsnapshotIdverification before every click. - Popups & Private Browsing: Permission dialogs & tab sheets live in separate
AccessibilityWindowInfowindows (must inspectgetWindows()); Private Browsing setsFLAG_SECURE& clearsAssistContent.webUri→ hard-refuse asprotectedScreen.
- Compose Toolbar Migration (2025–2026): Fenix's Jetpack Compose
Native Executor Loop & Formal Quint Safety Specs
- Native Non-WebView Executor Loop: Today
apps/app/src/approvals/approvals.vibeexecutes inside Alpha's WebView, which is paused/backgrounded whenever Firefox is in front. External perception & actuation MUST run in a native Kotlin service (AlphaAccessibilityService/AlphaUiControlExecutor) calling the resident Node agent directly viaAgentService.request(CallerKind.NATIVE, ...), with theVoiceInteractionSessionoverlay rendering approval cards and a live Stop button. - Spec Parity Audit (216
.mdspecs, 80.proof.dfyfiles):grep -rn "import shell" spec/confirms only 7 spec files importspec/app/shell(home/{index,tiles,cards}.md,assistant/{index,context,dock}.md,startup/access.md). All ~24 domain feature areas (ask,notes,calendar,inbox,telegram,slack,wallet,maps,clock,reminders,photos,files,camera,passwords,workflows,digests,notices,browser,phone,messages,contacts,account,settings,voice) are already decoupled — ~85–90% of Quint specs & Dafny proofs survive unchanged!- New Formal Control Spec (
spec/app/control/index.md+index.proof.dfy) proving:alwaysNoActionOnProtectedScreen(lockscreen,FLAG_SECURE, private tabs,accessibilityDataSensitive)alwaysNoStaleSnapshotActuation(snapshotId+ foregroundpackageNamematch before dispatch — prevents TOCTOU/tapjacking)alwaysBlockedPackagesProtected(hard-deny agent input onPermissionController,PackageInstaller, Settings security/accessibility/device-admin, Play Store billing/checkout, biometric prompts, and Alpha's own approval overlay — preventing self-approval!)alwaysKillSwitchHaltsImmediately(overlay Stop button or user touch immediately revokes the active lease)alwaysLeaseBounded(scoped multi-step UI task lease bounded by target app, step cap & expiry).
- Targeted Spec Evolutions (~10–15% of spec tree):
spec/app/index.md(multi-app architecture),shell/{index,layers}.md(separate Overlay Shell & generalizeView→Targetincl.ExternalApp),home/(retire Androidtiles/drawerin favor of Launcher3; keepcards.md100% forAlphaDayWidget),startup/{index,instance,access}.md(keepcall.md100%; add Tier-1 opt-in steps),assistant/{index,context,dock}.md(addExternalAppcontext,FLAG_SECUREshielding, IntentNavigate),platform/index.md(Tier-1/Tier-2 capability variants + Binder IPC),image/index.md(per-APK least-privilege allowlists),update/index.md&release/index.md(multi-APK suite index using existing 16-entryFeed).
7. Complete Parity Gaps, Hard Limitations & Risk Register
| # | Gap / Risk | Severity | Root Cause | Concrete Mitigation |
|---|---|---|---|---|
| 1 | Background WebView suspension breaks resident.vibe's 50 always-on machines |
Critical | Backgrounded per-app WebViews freeze (onPause) & get reclaimed by lmkd, breaking HTML clock/alertOverlay, reminders/alertOverlay, phone/strip, and live JS polling |
Split always-on work to native Android / resident Node daemon: AlarmManager + USE_FULL_SCREEN_INTENT (alarms/reminders), CallStyle ongoing notification + status chip (works over Firefox!), resident Node/WorkManager (Inbox/Telegram/Slack/Workflows/Digests), NotificationManager (Notices), AlphaCore overlay (Approvals/Updates). WebViews hydrate on onResume(). |
| 2 | INJECT_EVENTS / ACCESS_SURFACE_FLINGER signature-only AOSP cert split |
Critical | AlphaPhone is presigned with ALPHA_SIGNER_SHA256, not the AOSP platform key |
Tiny (~300 LOC) platform-signed AlphaControlBridge verifying caller ALPHA_SIGNER_SHA256 with isolated SELinux policy (neverallow sockets). |
| 3 | Binder 1 MB TransactionTooLargeException limit |
High | POST /api/alpha/notes/transcription (1.1 MB), REQUEST_BODY_LIMIT (16 MiB), attachments & SSE exceed Binder transaction buffer |
Stream bodies >64 KB and SSE via ParcelFileDescriptor (SharedMemory/pipe FD) in IAlphaAgentBroker.aidl. |
| 4 | Firefox GeckoView automation edge cases | High | Compose BrowserToolbar drops legacy IDs; ACTION_SET_TEXT misses React/Vue events; Canvas/WebGL/PDF.js/Fission/Shadow DOM lack nodes; JNI sync lag; Private Browsing sets FLAG_SECURE |
Hybrid ladder: ACTION_VIEW + AssistContent.webUri + getWindows() + snapshotId verification + INJECT_EVENTS/IME text fallback + vision coordinates; hard-refuse FLAG_SECURE Private tabs. |
| 5 | Play Integrity (MEETS_DEVICE / STRONG) fails on uncertified ROMs |
High (Product) | Post-May 2025 KeyMint reports SelfSigned yellow verified boot even with locked custom AVB |
Honest product disclosure: standard Play Store apps (~85–95%) work via Sandboxed Play; Google Wallet tap-to-pay & strict banking/DRM fail unless web/attestation-pinned. Zero keybox spoofing. |
| 6 | Cross-sandbox SharedPreferences & WebView textZoom |
Medium | Distinct applicationIds isolate localStorage, Keystore & SharedPreferences("alpha-appearance") |
Centralize auth/cloud/keys in IAlphaPlatformBroker & shared prefs in AlphaPreferencesProvider (ContentObserver); every AlphaBaseActivity.onResume() applies WebSettings.setTextZoom() + theme before first paint. |
| 7 | Cold-start latency (~350–700 ms) on closed thin apps | Medium | Starting a fresh ART + Chromium WebView process when agent opens a closed app | Route data mutations via Tier 1 headless Node/Android executors (0 ms); emit lean per-app Vite chunks (~150–300 KB); match native window background (#FFFFFF/#000000); keep Ask Alpha WebView pre-warmed (<50 ms). |
| 8 | Multi-APK WebView RAM budget | Medium | Each distinct UID spawns an isolated Chromium renderer (~80–150 MB PSS/open app) | 2–3 concurrent apps (~250–400 MB) fit cleanly on 8 GB Pixel 10a with Android lmkd reclaiming idle apps; optional AssetContentProvider reduces disk footprint on Tier 2. |
| 9 | Design-system .woff2-only font files |
Medium | Public Sans & Denton ship only as .woff2; Android native RRO/Launcher3 requires .ttf/.otf |
Add licensed .ttf/.otf builds and pass apps/app/scripts/licences.ts (gen/app__image__licences.ts) gate. |
| 10 | Comms Stage (Phone ↔ Messages ↔ Contacts) sheet continuity |
Medium | In-app horizontal slide (App.tsx:98) assumes single WebView |
VoiceInteractionSession naturally stays overlaid across Phone ↔ Messages task switches; Phone retains an in-app Contacts tab backed by ContactsContract alongside standalone Contacts. |
| 11 | Single-APK assumptions in staging, updates & releases | Medium | scripts/aosp.ts, spec/app/image/index.md (alphaPrivileged), update/index.md, release/index.md expect 1 Launcher.apk |
Evolve to suite-manifest staging & multi-APK update index (reusing existing 16-entry Feed) with IPC protocol version pinning. |
| 12 | AOSP Android 17 full Soong build host requirements | Infra | Full Android 17 Soong build requires 64–128 GB RAM, ~400+ GB SSD, repo sync & stallion vendor blobs (current dev workstation has 30 GB RAM & no AOSP tree) |
Build & verify all APKs, specs, IPC, RRO resource compilation (aapt2), JVM stub checks, and Tier-1 live Android Emulator E2E (driving real Firefox) locally; run Tier-2 full ROM builds & hardware acceptance on dedicated AOSP build host + Pixel 10a. |
8. Phased Implementation Plan (alpha-next Branch) & Honest Verification Matrix
Phased Plan on alpha-next
- Phase 1.5 — Architecture Contracts & Branch Setup (complete): Cut
alpha-nextfromdevelop(c2bc8c0ddeb, baseline commit4558e68a7cf9ca062810201cf2e9395c440a9ce9pinning Eliza6ea3f91ff983), created milestoneAlpha NEXT(Complete MVP view enrollment, reviewed reminders and durable notifications #1) and labelalpha-next, and locked exact multi-APK manifest (apps/app/android/suite/apps.json), AIDL/Provider contracts, ViteAlphaSurfaceMode(monolith|overlay|app),spec/app/control/Quint schema, agent plugin routes, and AOSP module layouts. - Phase 2A — Formal Specs & Agent Control Protocol: Add
spec/app/control/{index.md,index.proof.dfy}(passingquint+dafny 4.11+pnpm check), addapps/agent/src/plugins/alpha-apps/closed control routes/tools (/api/alpha/control/*), and extendpackages/cli(pnpm cli) with Alpha NEXT RRO generator (tokens.json→ Android XML) and multi-APK manifest validators (--json). - Phase 2B — Multi-APK Runtime, IPC Broker & System Overlay: Implement
:alpha-ipc(IAlphaAgentBrokerwithParcelFileDescriptorstreaming,IAlphaPlatformBroker,IAlphaContextRegistry,AlphaPreferencesProvider),RemoteAgentPlugin+ splitKeyValueStoreLayer, ViteAlphaSurfaceMode(monolithpreserved 100% for existing tests +overlay+ per-appappentries),AlphaVoiceInteractionService/VoiceInteractionSession,AlphaDayWidget, and Gradle multi-APK wiring. - Phase 2C — Native 3rd-Party App Control & AOSP Modules: Implement
AlphaAccessibilityService+AlphaUiControlExecutor(Tier-1 + Tier-2 handshake, hardBLOCKED_PACKAGES,FLAG_SECURE/keyguard/password guards, Firefox GeckoView handling), plus AOSP Tier-2 modules underapps/app/aosp/{launcher3,control-bridge,sandboxed-play}/(Android.bp, RROs,AlphaPartnerCustomization, QSB patch,IAlphaControlBridge.aidl, SELinux.te,privapp-permissions,GmsCompatpin & signed-metadata installer verifier). - Phase 3 — Local Build & Live Tier-1 Emulator E2E Verification: Run
pnpm check/pnpm verify, build real APKs locally, spin up a KVM-accelerated Android 15 emulator (android-35/google_apis/x86_64), installAlphaCore+ standalone Alpha apps + Firefox, and run automated E2E verifying bidirectional app↔agent IPC, system-wide Ask Alpha overlay over Firefox, and Accessibility/Vision control of real Firefox with approval & kill-switch enforcement. - Phase 4 — External AOSP Build Server & Physical Pixel 10a Acceptance: Sync pinned
android-17.0.0_r1+stallionblobs + GrapheneOSGmsCompaton a 64–128 GB RAM build host, compile fullalpha_stallion_phone&alpha_cf_x86_64_phoneimages, verify SELinux zero-denial,idmap2RRO activation,EXECUTE_APP_FUNCTIONS/AlphaControlBridgeenforcement, Sandboxed Google Play install flow, and physical Pixel 10a acceptance.
Honest Verification Matrix ("Say What Was Shown")
Verified local workstation (beast): 24-core Linux x86_64, 30 GiB RAM, 856 GiB free disk, /dev/kvm, Node 26.13.1, pnpm 10.24.0, OpenJDK 21.0.13, Dafny 4.11.0, .eliza pinned at 6ea3f91ff983, Android SDK (platforms/android-36, build-tools/36.0.0 with aapt2/apksigner/dexdump, ndk/28.2.13676358, emulator, system-images/android-35/google_apis/x86_64), Playwright browsers, and node apps/app/scripts/android.ts inputs passing.
| Verification Gate | Provable Locally on This Machine? | Requires Dedicated AOSP Build Host / Pixel 10a Hardware |
|---|---|---|
Quint models, Dafny proofs, TS codegen, Vitest, Playwright, Bombadil (pnpm check / pnpm verify) |
YES (100%) | — |
Multi-app Vite builds & real Android APK builds (AlphaCore + thin Alpha APKs, API 36, JDK 21, NDK 28) |
YES (100%) | Production key-custody release signing |
Binder/AIDL IPC, ParcelFileDescriptor streaming, AlphaPreferencesProvider, Eliza control plugin tests |
YES (100%) (Vitest + JUnit/Robolectric + Emulator) | — |
Live Tier-1 Emulator E2E: Multi-APK Alpha suite + VoiceInteractionSession overlay + controlling real Firefox |
YES (100%) via KVM + android-35/google_apis/x86_64 AVD + adb |
Physical Pixel latency/ergonomics & Android 17 cp2a runtime behavior |
AOSP RRO resource compilation (aapt2), Android.bp/manifest/patch preimage validation & JVM stub checks |
YES (static / JVM) | Full Soong compile of Launcher3, SystemUI (Kotlin/Dagger), frameworks/base (GmsCompat), AlphaControlBridge, Cuttlefish/Pixel image boot, idmap2 RRO activation, SELinux zero-denial check, privileged EXECUTE_APP_FUNCTIONS/INJECT_EVENTS enforcement, Sandboxed Play runtime, Verified Boot / AVB, telephony & AlphaSense wake-word hardware acceptance |
Activity
lalalune commentedon Nov 27, 2026
Alpha NEXT — Implementation & Verification Summary
Branch:
origin/alpha-next@915d2810da578f0bc36d31b2f749ffc10b337084(25 commits on top of baseline4558e68a7cf,@elizaos/*pin6ea3f91ff983)Implemented Pillars (6/6)
spec/app/control/index.md(42/42 Dafny obligations proved) andspec/agent/index.md(11/11 Dafny obligations proved), preserving existing domain specs untouched (~85–90% spec parity).apps/app/src/control/control.vibe).apps/app/android/suite/apps.json:AlphaCore+ 18 standalone thin views) with Gradle multi-APK builder (apps/app/android/suite/generate-suite.ts,build-thin.ts).:alpha-ipcAIDL contract (IAlphaAgentBroker,IAlphaContextRegistry,IAlphaPlatformBroker,AlphaPreferencesProvider,AlphaSuitePolicy) guarded by signature-levelai.alphacompute.permission.AGENT_IPC.:alpha-app-runtimeshared Android library (AlphaBaseActivity,CoreServiceConnector,RemoteAgentPlugin,RemoteCloudPlugin,AlphaPreferencesPlugin).AlphaCoreSystem Overlay & Widgetslauncher/overlay/appvia?surface=), shared cross-app store, and context bridge (apps/app/src/).AlphaCoreAlphaVoiceInteractionService/AlphaVoiceInteractionSessionServicesystem-wide overlay (WebViewAssetLoader+ Capacitor/native bridge +ControlBannerlive kill-switch), Binder brokers (AlphaAgentBrokerService,AlphaContextRegistryService,AlphaPlatformBrokerService), and native Android AppWidgets.AlphaLauncher3OverlayRRO (apps/app/aosp/launcher3/overlay/synced with Alpha design tokens and Inter / JetBrains Mono fonts),AlphaPartnerCustomizationworkspace/grid layout (apps/app/aosp/launcher3/partner/), andalpha-qsb-ask-bar.patchwiring Launcher3 QSB directly to Ask Alpha.:alpha-controlmodule (AlphaAccessibilityServicewith structured UI node extraction, blocked-package refusal,SensitiveViewprotection, touch preemption, and zero-PII diagnostic telemetry;AlphaUiControlExecutor;AlphaControlBridgeClient).DEVICE_CONTROLEliza agent plugin (apps/agent/src/plugins/control.ts, 4/api/alpha-control/*routes, lease/policy/rate-limit coordinator).AlphaControlBridge(apps/app/aosp/control-bridge/:ALPHA_SIGNER_SHA256pinning,CAPTURE_SECURE_LAYERS = false, SELinuxneverallowsockets,test_bridge_plan.py).GmsCompatstaging &PlayPackageVerifier(apps/app/aosp/sandboxed-play/: Ed25519 + certificate pinning +GSF -> GMS -> Vendinginstall ordering,test_play_verifier.py), AOSP suite stager (apps/app/scripts/aosp.ts), and typedpnpm cli alpha-nextcommands (sync-tokens,sync-fonts,manifest,validate,emulator-e2e).Bug-Review Audit & Hardening (All Resolved & Re-Verified)
A deep read-only bug review identified 4 P0, 8 P1, and 4 P2 findings across security, lifecycle, concurrency, and spec-to-shell parity; all 16 findings plus live Android 35 build/runtime issues were fixed and re-verified (
736009e4c22,bb946fcbef7,57e7c38931f,beb328eaa27,2f8c0d6b9d2,e2eec15a00a,af4bd249ca9,915d2810da5):AlphaIpcContractself-signature check tautology; spoofableEXTRA_REFERRERfallback onACTION_AGENT_OPEN(fail-closed on API 34+ +AGENT_IPC-guarded entry);AlphaVoiceInteractionSessionCapacitor/native bridge wiring; Launcher3 QSB crash against disabledSTATUS_BAR_SERVICE-guardedAlphaAssistActivity.AlphaUiControlExecutormain-thread blocking/deadlock, stuck pending op / duplicate actuation / thread leak,SensitiveView&FLAG_SECUREdetection, andapp_open_urlleased-package confinement;OverlayControlBanner/api/alpha/control/statelive sync fiber;AlphaAgentBrokerServiceper-owner call/sub namespacing,unlinkToDeathcleanup &RejectedExecutionExceptionFD leak;AlphaContextRegistryServicelinkToDeathcrash cleanup;alpha-next emulator-e2ecore-first sorting forlauncher-*.apk.AlphaLauncher3Overlaypriority1000);onHandleAssistblocked-package privacy guard + cold-start event queueing;AlphaSuitePolicy.normalizePathpre-query control-char validation;AlphaOverlayIntakeActivitypolicy loading & Tier-2 JPEG dimension reporting.AlphaAccessibilityServiceactive-window/root fallback and cold-start re-observation (nodes > 0on Chrome), LinuxXDG_CONFIG_HOMEAVD path auto-discovery,Alpha Device Controldumpsys accessibilitylabel match, and AOSP + Google APIsPermissionControllerpackage detection.Verification Receipts (
915d2810da578f0bc36d31b2f749ffc10b337084)Stage 1 — Static, Spec, Lint, Unit & JVM/AIDL Checks (ALL GREEN)
pnpm cli alpha-next validate --check --aapt2 --json:ok: true,status: "pass"— 30/30 artifacts present,tokensInSync: true,manifestValid: true(19 apps / 18 views), 4/4 security invariants passed,aapt2 compilepassed onapps/app/aosp/launcher3/overlay/res.@repo/cli test: 12/12 passed.@repo/agent build+@repo/agent test: 37/37 passed (3/3 files).@repo/apptargeted Vitest (test/control.test.vibe,test/surface.test.tsx,test/image.test.ts): 28/28 passed (3/3 files).@repo/cli,@repo/agent,@repo/app): 3/3 passed (0 errors); ESLint (--max-warnings 0 --no-warn-ignoredon changed.ts/.tsx/.vibe): 0 errors, 0 warnings.test_bridge_plan.py(2/2 OK, realaidl+javacAPI 36) andtest_play_verifier.py(2/2 OK, realjavacAPI 36).spec/app/control/index.md(42/42 proved) andspec/agent/index.md(11/11 proved).Stage 2 — Real Installable APKs & Signing Certificate Parity (4/4 MATCH)
All 4 APKs verified via Android
build-tools/36.0.0/apksigner verify --print-certswith identical Signer #1 SHA-256 (UNIQUE_SIGNER_CERTS=1):227ddd0bf51116a69fb6f8f8ceb32ee2df9ed086471bceec4f9a26f48f31d5d5.apps/app/artifacts/launcher-debug.apk(AlphaCore*)ai.alphacompute.alphaphone300,344,6238547753db56ce0e30f6585dbac4591e088e3ff923e8690f66305d16e63b1fdc4apps/app/android/suite/out/notes-debug.apkai.alphacompute.notes13,001,706f7dea975e83b87672abf7082b9bbbb4d8126b83a465d3714bef91f21e7a13cb0apps/app/android/suite/out/browser-debug.apkai.alphacompute.browser12,976,7634c7c566d16e7586ec3bdf602e99ff55598c9aa6582d54087660f9ee3e3368959apps/app/android/suite/out/settings-debug.apkai.alphacompute.settings13,168,904fec721845efa4230c0c2f3b7f073dba72a7dc49a79efdd520b1b6a55124d6228*
AlphaCorebuilt with-PelizaSpeechBridgeCapacitor=true -PelizaParadeeApiOnly=true(Node 26libeliza_node.so,agent.mjs, all 20@elizaos/osmodules,:alpha-ipc,:alpha-control,VoiceInteractionService,AccessibilityService, and widgets; native C++/GGUF Paradee voice models omitted for fast local E2E).Stage 3 — Live KVM Android 35 Emulator E2E (
alpha-next emulator-e2e --json— 9/9 PASS)ensure-avdpassed — reused AVDalpha_next_api35via XDG auto-discovery (/home/shaw/.config/.android/avd).boot-emulatorpassed — bootedemulator-5554(system-images;android-35;google_apis;x86_64, KVM).install-apkspassed — core-first install of all 4 APKs (launcher-debug.apk,browser-debug.apk,notes-debug.apk,settings-debug.apk).verify-launcher-activitiespassed —core=1 thin=3 thirdParty=19(stock Launcher3 displays standalone Alpha apps alongside 19 third-party apps).verify-ipc-and-providerpassed —components=8/8,authority=ai.alphacompute.alphaphone.preferences,permission=ai.alphacompute.permission.AGENT_IPC(signature).verify-voice-interactionpassed —AlphaVoiceInteractionServiceregistered forVoiceInteractionService.verify-cross-app-ipcpassed —app=ai.alphacompute.notes,coreUid=10209,thinUid=10211,distinctUid=true,prefs=true,broker=true(live cross-UID signature verification,AlphaPreferencesProvider, andIAlphaAgentBrokerBinder binding).verify-accessibility-and-browser-controlpassed —enabled=true,bound=true,connected=true,browser=com.android.chrome,observed=true,observedNodes=8,settingsObserved=true,refusedSettings=true,blockedGuards=com.android.settings,com.google.android.permissioncontroller,telemetryLines=4.teardownpassed — cleanly stoppedemulator-5554(confirmedadb devices -lempty and zero residual emulator processes).What Was Shown vs. What Still Requires an AOSP Build Host & Pixel 10a Hardware
42/42) and agent (11/11) specs.aapt2, and real API 36aidl/javacJVM policy checks forAlphaControlBridgeandPlayPackageVerifier.AlphaCore+ 3 thin APKs sharing a single signing cert) running end-to-end on a live KVM Android 35 emulator (stock Launcher3 discovery, signature-guarded cross-UID Binder IPC,VoiceInteractionServiceregistration, liveAccessibilityServiceUI tree extraction on Chrome, and blocked-package refusal oncom.android.settings).beforeSha256/afterSha256foralpha-qsb-ask-bar.patchagainst the realcp2acheckout), SystemUI, andframeworks/base(GmsCompat).idmap2RRO activation, and SELinux zero-denial verification (avc: denied).AlphaControlBridgeruntime (INJECT_EVENTS,captureDisplay,EXECUTE_APP_FUNCTIONS), Sandboxed Google Play runtime, native Paradee C++/GGUF local voice runtime, and physical Pixel 10a hardware acceptance.Merge pull request #2397 from AlphaPhone/feat/alpha-next-native-suite…
NubsCarson commentedon Dec 4, 2026
Progress update on the opt-in Alpha NEXT slices: