Repository navigation
Closed
Labels
area/cross-cuttingTouches multiple areas — needs coordinated handling
Description
Summary
Lock the v0 scope for Codev Mobile before any spike or implementation work starts. v0 is a LAN-only PoC that proves the 30-second interaction model against a local Tower, with zero cloud dependency. Everything cloud-shaped is explicitly deferred.
Full design context: codev/research/mobile/ (interaction-model.md, feasibility-2026-07.md, decisions/q1-q7). Ground-truthed against the repo on 2026-07-07.
v0: IN scope (LAN PoC)
apps/mobile: Expo + React Native + Expo Router, dev builds only (no store distribution)- Connects directly to a local Tower over LAN (
BRIDGE_MODE), inheriting Tower's existing perimeter model. Acceptable for a developer PoC; stated here as unacceptable to ship - Unified needs-you inbox: pending gates and questions across workspaces (decisions/q5)
- Activity feed: rendered from
GET /api/overviewsnapshots + the existing/ws/messagesbus. No new Tower event log required for v0 - Chat:
POST /api/sendoutbound, message-bus subscription inbound, markdown rendering AskUserQuestionnative picker cards, once the Tower-side detection plumbing exists (see prerequisite below)- Gate approve/reject from the inbox, once the Tower-side endpoint exists (see prerequisite below)
- Presence: definitive states (gate-blocked, pending question) as explicit attention rows; output-silence as a soft idle badge only (decisions/q6)
- Desktop handoff: "Continue on Desktop" opens the LAN dashboard URL (decisions/q1)
packages/tower-sdk: extracted framework-agnostic data layer shared with the web dashboard (audit says ~70-75% ports; three known knots: URL/workspace scoping, SSE singleton, auth/storage injection)
v0: explicitly DEFERRED
- Push notifications (APNs/FCM): cloud-gated, Phase 2 (decisions/q4, q7)
- Auth / per-device tokens: cloud-gated, Phase 2 (decisions/q2). No credential of any kind ships on a phone in v0
- Offline outbound queue and question expiry semantics: designed (decisions/q3) but implemented with the cloud phase
codev://deep-link handoff: external dependency (codev-ide repo); browser URL is the v0 and permanent fallback- Multi-tower switching, voice, Watch, CarPlay, widgets, AI-summarized cards, interactive terminal
Prerequisites and coordination points (main's call on each)
AskUserQuestiondetection +question_pending/question_resolvedevents +pending_questionpersistence in global.db. New Tower plumbing, verified absent today. Benefits web dashboard and VS Code equally, so the design should be owned/co-owned by main, not mobile-shaped. Spike proposed before any spec.- Gate approve/reject HTTP endpoint. Today approval is porch-CLI-only. The endpoint must preserve human-only gate semantics (never callable by an agent). Also wanted by the web dashboard (and the Stream Deck integration is evidence for the same loop).
- Issue Monorepo layout: introduce apps/ for end-user surfaces #855 (
apps/*split). Mobile lands inapps/mobile. Sequencing question: land Monorepo layout: introduce apps/ for end-user surfaces #855 as a prerequisite PR, or bundle with the first mobile PR? - Label: proposing a new
area/mobilelabel; usingarea/cross-cuttingon this issue in the interim.
Proposed spike sequence (EXPERIMENT protocol; research notes to codev/research/mobile/spikes/, no shipped code)
packages/tower-sdkextraction feasibility (the keystone; everything shares it)apps/mobileExpo scaffold + LAN Tower reachability (WS + SSE + overview fetch from a phone)AskUserQuestiondetection design (PTY parsing vs harness-hook emission), co-designed with main- RN real-time feed rendering from overview snapshots
- Chat + expandable-card rendering: RN-native markdown vs WebView-hosted artifact-canvas (feeds artifact-canvas: defer a core/web/native package split until native rendering is a committed requirement (decision record) #1029)
- Native diff viewer evaluation
- Push wiring sandbox (APNs sandbox + FCM dev), feasibility only, does not block v0
Sign-off requested
- v0 scope as locked above
- Spike sequence and the rule that spikes 1-2 start first
- Ownership of prerequisite 1 and 2 (main-led, mobile-led, or co-designed)
- Monorepo layout: introduce apps/ for end-user surfaces #855 sequencing preference
-
area/mobilelabel creation
Metadata
Metadata
Assignees
Labels
area/cross-cuttingTouches multiple areas — needs coordinated handling
Activity
amrmelsayed commentedon Jul 8, 2026
Design context for this scope-lock (interaction model, feasibility refresh, decision notes q1-q7) is now submitted as PR #1153 for the team to decide whether the repo carries pre-implementation research. The paths cited in this issue body resolve there once merged; until then they exist on the
research/mobile-refresh-2026-07branch.