-
Notifications
You must be signed in to change notification settings - Fork 0
Integrate mobile mcp as microservice #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nirukk52
wants to merge
8
commits into
main
Choose a base branch
from
cursor/integrate-mobile-mcp-as-microservice-46cf
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8e45832
Add WARP.md - Define Warp agent responsibilities and constraints
nirukk52 84b26f6
Replace run-page.spec.ts with run-validation.spec.ts structure
nirukk52 90b1a69
fix(e2e): resolve BUG-015 navigation timeout with Promise.all() pattern
nirukk52 234f7c9
feat: Integrate mobile-mcp as standalone microservice
cursoragent bb0fc35
fix: stabilize mobile allocation flow
nirukk52 2fe146c
Merge main - conflicts resolved, mobile-mcp files removed
nirukk52 7525bab
feat: integrate mobile MCP as microservice
nirukk52 3105972
feat: integrate mobile-mcp for device automation - fuckery
nirukk52 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Identify the bug (Jira docs, Graphiti, docs notes); capture acceptance criteria and suspected surface area. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,259 @@ | ||
| ScreenGraph/ | ||
| ├─ apps/ | ||
| │ ├─ frontend/ # SvelteKit UI | ||
| │ └─ backend/ # Encore.ts APIs, jobs, events | ||
| │ | ||
| ├─ packages/ | ||
| │ ├─ rust-core/ # Rust libs (FFI/WASM bridges) | ||
| │ ├─ ui-kit/ # Shared Svelte components | ||
| │ └─ core-ts/ # TS domain models, utilities | ||
| │ | ||
| ├─ .specify/ # SPEC-DRIVEN CONTROL (Spec Kit) | ||
| │ ├─ spec.md # Problem, scope, NFRs, user stories | ||
| │ ├─ plan.md # Architecture, flows, stack tradeoffs | ||
| │ ├─ constitution.md # Ground rules (tests, style, perf budgets) | ||
| │ └─ tasks/ # Atomic tasks + acceptance criteria | ||
| │ | ||
| ├─ .claude/ # SKILL DEFINITIONS & POLICY | ||
| │ ├─ CLAUDE.md # Project prompting contract | ||
| │ ├─ settings.json # Project policy (models, limits) | ||
| │ ├─ settings.local.json # Local overrides (gitignored) | ||
| │ └─ skills/ # Agent Skills (no “vibe” term) | ||
| │ ├─ enabled.json # Active skill set | ||
| │ ├─ presets/ # Presets to switch contexts fast | ||
| │ │ ├─ frontend.json | ||
| │ │ ├─ backend.json | ||
| │ │ └─ testing.json | ||
| │ ├─ triggers.md # Auto-apply rules per repo signals | ||
| │ ├─ backend/SKILL.md # Encore handlers, repos, events | ||
| │ ├─ frontend/SKILL.md # Svelte routes, stores, actions | ||
| │ ├─ testing/SKILL.md # Vitest/Playwright, flake-hardening | ||
| │ └─ rust/SKILL.md # FFI/WASM, build/release patterns | ||
| │ | ||
| ├─ skills-runtime/ # EXECUTION TOOLBELT (formerly “vibe”) | ||
| │ ├─ .mcp/ | ||
| │ │ ├─ config.json # MCP server registry | ||
| │ │ └─ servers/ | ||
| │ │ ├─ test-runner.js # Run unit/e2e, parse for Skills | ||
| │ │ ├─ fs-ops.js # Safe scaffold/refactor (guardrails) | ||
| │ │ └─ quick-deploy.js # Preview deploy (FE/BE) | ||
| │ ├─ kit/ | ||
| │ │ ├─ templates/ # Codegen templates (thin useful path) | ||
| │ │ │ ├─ svelte-component.svelte | ||
| │ │ │ ├─ encore-endpoint.ts | ||
| │ │ │ ├─ test.spec.ts | ||
| │ │ │ └─ docker-compose.yml | ||
| │ │ ├─ snippets/ # Auth, errors, telemetry helpers | ||
| │ │ └─ configs/ # tsconfig.base, biome, vite, etc. | ||
| │ ├─ prompts/ | ||
| │ │ ├─ workflows/ # Skill-run playbooks (E2E) | ||
| │ │ │ ├─ implement-task.md # Executes one .specify/tasks/* end-to-end | ||
| │ │ │ ├─ debug-test.md | ||
| │ │ │ └─ refactor-module.md | ||
| │ │ └─ personas/ | ||
| │ │ ├─ code-reviewer.md | ||
| │ │ └─ architect.md | ||
| │ ├─ context/ | ||
| │ │ ├─ project-context.md # One-pager boot file for Skills | ||
| │ │ ├─ coding-style.md # TS/Svelte/Rust conventions | ||
| │ │ ├─ common-patterns.md # Stores, routing, API error model | ||
| │ │ └─ gotchas.md # Flaky zones, perf pitfalls | ||
| │ ├─ tests/ | ||
| │ │ ├─ sanity/ # Repo-wide smoke/sanity checks | ||
| │ │ └─ fixtures/ | ||
| │ └─ toolbox/ | ||
| │ ├─ integrations/ # figma/, github/, linear/ (tokens in .env.local) | ||
| │ └─ editor/ | ||
| │ └─ cursor/ # Editor settings sync for team | ||
| │ | ||
| ├─ docs/ | ||
| │ ├─ decisions/ # ADRs (linked from .specify/plan.md) | ||
| │ ├─ guides/ # How to run Skills, agents, e2e, deploy | ||
| │ └─ references/ # Cheatsheets, API maps | ||
| │ | ||
| ├─ .env.example | ||
| ├─ package.json # PNPM/Turbo workspaces | ||
| └─ turbo.json # Orchestrate build/test across workspaces | ||
|
|
||
| Here's a leaner, skills-centric model that fits startup pace better: | ||
|
|
||
| ScreenGraph/ | ||
| ├─ apps/ | ||
| │ ├─ frontend/ # SvelteKit UI | ||
| │ └─ backend/ # Encore.ts APIs | ||
| │ | ||
| ├─ packages/ | ||
| │ ├─ rust-core/ # Rust libs (FFI/WASM) | ||
| │ ├─ ui-kit/ # Shared Svelte components | ||
| │ └─ core-ts/ # TS domain models | ||
| │ | ||
| ├─ .ai/ # SINGLE AI WORKSPACE | ||
| │ ├─ README.md # Quick-start: how to use skills | ||
| │ ├─ context.md # Project overview, stack, conventions | ||
| │ ├─ constitution.md # Ground rules (tests, perf, style) | ||
| │ │ | ||
| │ ├─ skills/ # CORE: Feature-based AI capabilities | ||
| │ │ ├─ enabled.json # Active skills list | ||
| │ │ ├─ presets/ # Quick context switching | ||
| │ │ │ ├─ backend-dev.json | ||
| │ │ │ ├─ frontend-dev.json | ||
| │ │ │ └─ full-stack.json | ||
| │ │ │ | ||
| │ │ ├─ backend/ # Backend development skill | ||
| │ │ │ ├─ SKILL.md # What: Encore patterns, repos, events | ||
| │ │ │ ├─ workflows/ # How: Step-by-step playbooks | ||
| │ │ │ │ ├─ add-endpoint.md | ||
| │ │ │ │ └─ test-api.md | ||
| │ │ │ └─ templates/ # Codegen: Encore boilerplate | ||
| │ │ │ └─ endpoint.ts | ||
| │ │ │ | ||
| │ │ ├─ frontend/ | ||
| │ │ │ ├─ SKILL.md | ||
| │ │ │ ├─ workflows/ | ||
| │ │ │ │ ├─ add-route.md | ||
| │ │ │ │ └─ test-component.md | ||
| │ │ │ └─ templates/ | ||
| │ │ │ ├─ page.svelte | ||
| │ │ │ └─ component.svelte | ||
| │ │ │ | ||
| │ │ ├─ testing/ | ||
| │ │ │ ├─ SKILL.md | ||
| │ │ │ ├─ workflows/ | ||
| │ │ │ │ ├─ unit-test.md | ||
| │ │ │ │ └─ e2e-test.md | ||
| │ │ │ └─ templates/ | ||
| │ │ │ └─ test.spec.ts | ||
| │ │ │ | ||
| │ │ └─ rust/ | ||
| │ │ ├─ SKILL.md | ||
| │ │ ├─ workflows/ | ||
| │ │ │ ├─ add-ffi.md | ||
| │ │ │ └─ wasm-build.md | ||
| │ │ └─ templates/ | ||
| │ │ └─ ffi-module.rs | ||
| │ │ | ||
| │ ├─ mcp/ # MCP servers (execution layer) | ||
| │ │ ├─ servers.json # Server registry | ||
| │ │ └─ servers/ | ||
| │ │ ├─ test-runner.js | ||
| │ │ ├─ scaffold.js | ||
| │ │ └─ deploy.js | ||
| │ │ | ||
| │ ├─ shared/ # Cross-skill resources | ||
| │ │ ├─ snippets/ # Auth, errors, telemetry | ||
| │ │ ├─ patterns.md # Common solutions | ||
| │ │ └─ gotchas.md # Known pitfalls | ||
| │ │ | ||
| │ └─ tasks/ # Current work queue | ||
| │ ├─ active/ # In-progress tasks | ||
| │ ├─ backlog/ # Planned tasks | ||
| │ └─ template.md # Task acceptance criteria format | ||
| │ | ||
| ├─ docs/ | ||
| │ ├─ adr/ # Architecture decisions | ||
| │ └─ guides/ # Runbooks, deployment | ||
| │ | ||
| └─ turbo.json | ||
|
|
||
|
|
||
| ScreenGraph/ | ||
| ├─ apps/ | ||
| │ ├─ frontend/ | ||
| │ └─ backend/ | ||
| ├─ packages/ | ||
| │ ├─ rust-core/ | ||
| │ ├─ ui-kit/ | ||
| │ └─ core-ts/ | ||
| ├─ .ai/ | ||
| │ ├─ README.md | ||
| │ ├─ context.md | ||
| │ ├─ constitution.md | ||
| │ ├─ skills/ | ||
| │ │ ├─ enabled.json | ||
| │ │ ├─ presets/ | ||
| │ │ ├─ rust/SKILL.md + workflows/ + templates/ | ||
| │ │ ├─ backend/SKILL.md + workflows/ + templates/ | ||
| │ │ ├─ frontend/SKILL.md + workflows/ + templates/ | ||
| │ │ └─ testing/SKILL.md + workflows/ + templates/ | ||
| │ ├─ mcp/servers.json + servers/ | ||
| │ ├─ shared/snippets/ + patterns.md + gotchas.md | ||
| │ └─ tasks/active/ + backlog/ + template.md | ||
| ├─ docs/adr/ + guides/ | ||
| └─ turbo.json | ||
|
|
||
| ScreenGraph/ | ||
| ├─ apps/ | ||
| │ ├─ frontend/ # SvelteKit UI | ||
| │ └─ backend/ # Encore.ts APIs, jobs, events | ||
| │ | ||
| ├─ packages/ | ||
| │ ├─ rust-core/ # Rust libs (FFI/WASM bridges) | ||
| │ ├─ ui-kit/ # Shared Svelte components | ||
| │ └─ core-ts/ # TS domain models, utilities | ||
| │ | ||
| ├─ .specify/ # SPEC-DRIVEN CONTROL (Spec Kit) | ||
| │ ├─ spec.md # Problem, scope, NFRs, user stories | ||
| │ ├─ plan.md # Architecture, flows, stack tradeoffs | ||
| │ ├─ constitution.md # Ground rules (tests, style, perf budgets) | ||
| │ └─ tasks/ # Atomic tasks + acceptance criteria | ||
| │ | ||
| ├─ .claude/ # SKILL DEFINITIONS & POLICY | ||
| │ ├─ CLAUDE.md # Project prompting contract | ||
| │ ├─ settings.json # Project policy (models, limits) | ||
| │ ├─ settings.local.json # Local overrides (gitignored) | ||
| │ └─ skills/ # Agent Skills (no “vibe” term) | ||
| │ ├─ enabled.json # Active skill set | ||
| │ ├─ presets/ # Presets to switch contexts fast | ||
| │ │ ├─ frontend.json | ||
| │ │ ├─ backend.json | ||
| │ │ └─ testing.json | ||
| │ ├─ triggers.md # Auto-apply rules per repo signals | ||
| │ ├─ backend/SKILL.md # Encore handlers, repos, events | ||
| │ ├─ frontend/SKILL.md # Svelte routes, stores, actions | ||
| │ ├─ testing/SKILL.md # Vitest/Playwright, flake-hardening | ||
| │ └─ rust/SKILL.md # FFI/WASM, build/release patterns | ||
| │ | ||
| ├─ skills-runtime/ # EXECUTION TOOLBELT (formerly “vibe”) | ||
| │ ├─ .mcp/ | ||
| │ │ ├─ config.json # MCP server registry | ||
| │ │ └─ servers/ | ||
| │ │ ├─ test-runner.js # Run unit/e2e, parse for Skills | ||
| │ │ ├─ fs-ops.js # Safe scaffold/refactor (guardrails) | ||
| │ │ └─ quick-deploy.js # Preview deploy (FE/BE) | ||
| │ ├─ kit/ | ||
| │ │ ├─ templates/ # Codegen templates (thin useful path) | ||
| │ │ │ ├─ svelte-component.svelte | ||
| │ │ │ ├─ encore-endpoint.ts | ||
| │ │ │ ├─ test.spec.ts | ||
| │ │ │ └─ docker-compose.yml | ||
| │ │ ├─ snippets/ # Auth, errors, telemetry helpers | ||
| │ │ └─ configs/ # tsconfig.base, biome, vite, etc. | ||
| │ ├─ prompts/ | ||
| │ │ ├─ workflows/ # Skill-run playbooks (E2E) | ||
| │ │ │ ├─ implement-task.md # Executes one .specify/tasks/* end-to-end | ||
| │ │ │ ├─ debug-test.md | ||
| │ │ │ └─ refactor-module.md | ||
| │ │ └─ personas/ | ||
| │ │ ├─ code-reviewer.md | ||
| │ │ └─ architect.md | ||
| │ ├─ context/ | ||
| │ │ ├─ project-context.md # One-pager boot file for Skills | ||
| │ │ ├─ coding-style.md # TS/Svelte/Rust conventions | ||
| │ │ ├─ common-patterns.md # Stores, routing, API error model | ||
| │ │ └─ gotchas.md # Flaky zones, perf pitfalls | ||
| │ ├─ tests/ | ||
| │ │ ├─ sanity/ # Repo-wide smoke/sanity checks | ||
| │ │ └─ fixtures/ | ||
| │ └─ toolbox/ | ||
| │ ├─ integrations/ # figma/, github/, linear/ (tokens in .env.local) | ||
| │ └─ editor/ | ||
| │ └─ cursor/ # Editor settings sync for team | ||
| │ | ||
| ├─ docs/ | ||
| │ ├─ decisions/ # ADRs (linked from .specify/plan.md) | ||
| │ ├─ guides/ # How to run Skills, agents, e2e, deploy | ||
| │ └─ references/ # Cheatsheets, API maps | ||
| │ | ||
| ├─ .env.example | ||
| ├─ package.json # PNPM/Turbo workspaces | ||
| └─ turbo.json # Orchestrate build/test across workspaces |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Experimental Feature Flag Enabled By Default
The feature flag
ENABLE_MOBILE_MCP=trueis enabled by default in the committed.envfile. According to the PR description, the mobile-mcp integration is intended to replace Appium integration, but the implementation shows it's still experimental with pending agent adapter migration and end-to-end testing. Enabling this by default could break existing functionality since the agent integration is incomplete, and the.envfile header explicitly states it's committed to git, affecting all developers.