Skip to content

feat(server): add cloud Android workspace control-plane foundation - #47

Merged
Te0228 merged 1 commit into
mainfrom
codex/cloud-android-phase1
Nov 30, 2026
Merged

Te0228 merged 1 commit into
mainfrom
codex/cloud-android-phase1

Conversation

@Te0228

@Te0228 Te0228 commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Persist the one-to-one binding between an enrolled physical Android handset and a workspace, along with the workspace's lifecycle and current operation identity. Track reserved carrier identities across stop, restore, and release.
  • Exclude reserved cloud carriers from ordinary device management, MCP device and session operations, and the ordinary Android task queue.
  • Add development database commands for enrollment, provisioning requests, and status, plus a Cuttlefish/KVM host preflight and the phase-one design.

Validation

  • npm run check passed with 459 tests passing and 19 skipped, including distribution validation. An earlier run failed the existing browser worker CLOSING/reconnect timing assertion. That test passed on its own and in the full rerun.
  • The isolation regression used a reserved carrier fixture and confirmed that a regular Android handset remained visible and task-eligible.
  • On an isolated Android 11 emulator running the controller APK, admin Device Chat queued a task in SQLite. The Go worker used MCP to observe Settings, press Home, and observe the Launcher. The task reached done and its control session closed. The task used a deterministic model fixture and the existing Android device path.

Follow-up scope

Cloud guest provisioning, handset-backed egress, remote desktop login, and exclusive input are planned for subsequent work. The development provision command records a pending lifecycle intent.

Persist handset enrollment and workspace lifecycle intents in SQLite. Keep reserved cloud carriers
out of ordinary device, MCP, and task flows, and provide development-only CLI and Cuttlefish
preflight entry points.

Verify workspace binding, lifecycle persistence, development CLI, and legacy-entry isolation with
regression tests.
@Te0228
Te0228 force-pushed the codex/cloud-android-phase1 branch from 7919a76 to 22031bd Compare November 30, 2026 12:19
@Te0228
Te0228 merged commit 2fd0f2f into main Nov 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant