Add mobile workspace source selection
Summary
- Add an optional mobile Start from selector for GitHub issues and pull requests, Linear tickets, and Git branches while preserving the existing create flow.
- Reuse shared desktop naming, UTF-8 query limits, branch selection/reuse semantics, and fork push warnings. Verified eligible local branches can be reused exactly; busy, remote, and unverified branches safely fall back to creating from the selected ref, and retry suffixing preserves exact reuse.
- Fail closed behind
mobile.workspace-source-selector.v1on older hosts. Repo-backed sources follow live SSH state and invalidate stale reads during disconnect/reconnect transitions, while Linear availability remains independent and host work stays capability-safe. - Repository and Agent selection remain available and usable alongside Start from, as do Workspace Name and Create Workspace.
Validation
- Mobile Vitest: 210 files passed, 1,489 tests passed, 2 skipped.
- Shared query-bound test: 1 file and 1 test passed.
- Runtime capability test: 1 test passed, 636 skipped.
- iPhone 17 Pro Simulator: all five golden paths passed, including repeated PR selection, oversized-query suppression, and usable Repository and Agent drawers after source interactions.
STYLEGUIDE_UI_CHECK: pass; zero new concurrent native-modal presentation errors.- Commit hooks passed oxlint, React Doctor lint, and formatting.
Local review evidence lives in validation-screenshots/. Its README and pass PNGs are intentionally ignored and uncommitted.
📝 Walkthrough
Walkthrough
Added a capability-gated mobile workspace source selector with GitHub, Linear, and branch search and resolution. The change introduces normalized RPC handling, source-aware naming and creation payloads, live SSH state tracking, branch reuse behavior, layered modal navigation, native drawer dismissal coordination, runtime mock support, shared query and fork-warning utilities, and comprehensive unit/component/integration tests and documentation.
🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (2 warnings)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Description check | ⚠️ Warning | The summary and testing sections are present, but the required Screenshots, AI Review Report, Security Audit, and Notes sections are missing. | Add the missing template sections, or explicitly mark screenshots as none and include AI review, security audit, and platform-specific notes. |
| Docstring Coverage | ⚠️ Warning | Docstring coverage is 1.22% which is insufficient. The required threshold is 80.00%. | Write docstrings for the functions missing them to satisfy the coverage threshold. |
✅ Passed checks (3 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | It clearly summarizes the main change: adding mobile workspace source selection. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
✨ Finishing Touches
📝 Generate docstrings
- [ ] Create stacked PR
- [ ] Commit on current branch
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Moving this PR to draft because it has been untouched for more than 80 days (latest recorded PR activity or commit timestamp: 2026-07-11T21:41:33Z; checked on 2026-10-27). This keeps the review queue focused on active work while preserving the proposal. Please mark it ready for review when work resumes.
Closing as superseded: mobile workspace source selection shipped in #7985 two days after this was opened, and now also covers GitLab and Jira.