mobile-ai-agents 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **The complete AI dev team for mobile engineers.**
4
4
 
5
- 19 personality-driven agents · 52 composable skills · 14 end-to-end workflows
5
+ 19 personality-driven agents · 52 composable skills · 15 end-to-end workflows
6
6
  Android · iOS · Flutter · React Native · Kotlin Multiplatform · Unity · Unreal
7
7
 
8
8
  [![npm](https://img.shields.io/npm/v/mobile-ai-agents?color=CB3837&label=npm)](https://www.npmjs.com/package/mobile-ai-agents)
@@ -143,7 +143,7 @@ Full guide: [docs/core-loops.md](docs/core-loops.md)
143
143
 
144
144
  `/mobile-harness` running Loop Engineering — one flow for planning, building, testing, UI verification, and release checks:
145
145
 
146
- https://github.com/user-attachments/assets/848a0427-8b0d-414a-a48e-79df38238674
146
+ https://github.com/user-attachments/assets/c98d4468-d56d-41ce-b545-7d9fdc43e9d2
147
147
 
148
148
  `/flutter-review` on a real Flutter project — prioritized findings, zero setup:
149
149
 
@@ -213,7 +213,7 @@ Not sure where to begin? Pick your situation:
213
213
  |---|---|---|
214
214
  | Platform knowledge | Generic | Android · iOS · Flutter · React Native · Unity · Unreal |
215
215
  | Agent personalities | None | 19 named specialists with opinions |
216
- | Real workflows | No | 14 end-to-end processes |
216
+ | Real workflows | No | 15 end-to-end processes |
217
217
  | Real examples | Toy pseudocode | Production code input/output pairs |
218
218
  | Installable | Copy-paste | `npx mobile-ai-agents install` |
219
219
  | Severity levels | None | CRITICAL · WARNING · INFO |
@@ -325,7 +325,7 @@ Not sure where to begin? Pick your situation:
325
325
 
326
326
  ## Workflows
327
327
 
328
- 14 end-to-end processes that chain agents and skills together.
328
+ 15 end-to-end processes that chain agents and skills together.
329
329
 
330
330
  | Workflow | What It Covers |
331
331
  |---|---|
@@ -340,6 +340,7 @@ Not sure where to begin? Pick your situation:
340
340
  | `new-project-setup` | /grill-mobile → architecture → CI → security baseline → test infrastructure |
341
341
  | `mobile-memory-workflow` | Mobile Memory: restore context → capture decisions → generate `MOBILE_MEMORY.md` → hand off across AI tools |
342
342
  | `issue-to-agent` | GitHub issue → classify → route to agents/skills → implementation and verification plan |
343
+ | `device-proof-report` | Mobile MCP evidence → screenshots, assertions, bugs, and pass/fail proof |
343
344
  | `appforge-workflow` | App idea → PRD → design plan → tasks → implementation gates → QA → Play Store |
344
345
  | `mobile-mcp-qa` | Install/launch app → inspect UI → run flows → capture screenshots → QA report |
345
346
  | `mobile-harness` | Approved task → implementation → tests → UI match → Mobile MCP QA → report |
@@ -403,6 +404,21 @@ Mobile MCP gives Mobile AI Agents a device automation layer for iOS and Android
403
404
 
404
405
  Use it inside APPFORGE Stage 7 Full QA, UI match review, launch readiness checks, and screenshot validation. Full guide: [docs/mobile-mcp.md](docs/mobile-mcp.md)
405
406
 
407
+ ### Device Proof Reports
408
+
409
+ Use `device-proof-report` after `/mobile-mcp-qa` when you need evidence that survives beyond the chat. It turns Mobile MCP actions, screenshots, element snapshots, crashes/logs, accessibility notes, and assertions into `DEVICE_QA_REPORT.md`.
410
+
411
+ This helps teams prove that a build was installed, launched, tested on a named device, and checked against expected behavior. Use it for PR handoff, release gates, Mobile Harness reports, screenshot validation, and any bug fix where "works on my machine" is not enough.
412
+
413
+ ```text
414
+ device-proof-report
415
+ 1. Read Mobile MCP screenshots and actions
416
+ 2. Record device, OS, app id, build, commit, and orientation
417
+ 3. Map each PASS/FAIL/BLOCKED result to evidence
418
+ 4. List crashes, accessibility notes, performance notes, and bugs
419
+ 5. Produce DEVICE_QA_REPORT.md with next fixes
420
+ ```
421
+
406
422
  ---
407
423
 
408
424
  ## Mobile Harness — Top-Level Orchestrator
package/cli/index.js CHANGED
@@ -136,6 +136,7 @@ const WORKFLOWS = {
136
136
  'perf-sprint': { file: 'workflows/perf-sprint.md' },
137
137
  'mobile-memory-workflow': { file: 'workflows/mobile-memory-workflow.md' },
138
138
  'issue-to-agent': { file: 'workflows/issue-to-agent.md' },
139
+ 'device-proof-report': { file: 'workflows/device-proof-report.md' },
139
140
  'appforge-workflow': { file: 'workflows/appforge-workflow.md' },
140
141
  'mobile-mcp-qa': { file: 'workflows/mobile-mcp-qa.md' },
141
142
  'mobile-harness': { file: 'workflows/mobile-harness.md' },
package/docs/index.html CHANGED
@@ -337,7 +337,7 @@
337
337
  <div class="stats">
338
338
  <div class="stat"><div class="stat-num">19</div><div class="stat-label">Agents</div></div>
339
339
  <div class="stat"><div class="stat-num">35</div><div class="stat-label">Skills</div></div>
340
- <div class="stat"><div class="stat-num">14</div><div class="stat-label">Workflows</div></div>
340
+ <div class="stat"><div class="stat-num">15</div><div class="stat-label">Workflows</div></div>
341
341
  <div class="stat"><div class="stat-num">7</div><div class="stat-label">Plugin Tracks</div></div>
342
342
  </div>
343
343
  </div>
@@ -549,7 +549,7 @@
549
549
  <section id="workflows">
550
550
  <div class="container">
551
551
  <div class="section-label">Workflows</div>
552
- <h2>14 end-to-end processes.</h2>
552
+ <h2>15 end-to-end processes.</h2>
553
553
  <p class="section-sub">The differentiator. No other mobile AI toolkit has these — full sequences that chain agents and skills from ticket to store.</p>
554
554
 
555
555
  <div class="workflow-list">
@@ -593,6 +593,10 @@
593
593
  <div class="workflow-name">issue-to-agent</div>
594
594
  <div class="workflow-desc">GitHub issue → classify → route to agents/skills → implementation and verification plan</div>
595
595
  </div>
596
+ <div class="workflow-item">
597
+ <div class="workflow-name">device-proof-report</div>
598
+ <div class="workflow-desc">Mobile MCP evidence → screenshots, assertions, bugs, and pass/fail proof</div>
599
+ </div>
596
600
  </div>
597
601
  </div>
598
602
  </section>
@@ -155,6 +155,8 @@ For every important flow, save:
155
155
  - Accessibility element list
156
156
  - Bugs with exact repro steps
157
157
 
158
+ For auditable handoff, run the `device-proof-report` workflow after `/mobile-mcp-qa`. It produces `DEVICE_QA_REPORT.md` with build/install proof, screenshots, actions, assertions, crashes/logs, accessibility notes, pass/fail summary, and next fixes.
159
+
158
160
  ---
159
161
 
160
162
  ## Safety Rules
package/docs/wiki.md CHANGED
@@ -14,10 +14,11 @@
14
14
  6. [Platform-by-Platform Agent Guide](#6-platform-by-platform-agent-guide)
15
15
  7. [How Skills Work](#7-how-skills-work)
16
16
  8. [How Prompts Work](#8-how-prompts-work)
17
- 9. [Input Format Reference](#9-input-format-reference)
18
- 10. [Output Format Reference](#10-output-format-reference)
19
- 11. [Contributing a New Agent](#11-contributing-a-new-agent)
20
- 12. [FAQ](#12-faq)
17
+ 9. [Device Proof Reports](#9-device-proof-reports)
18
+ 10. [Input Format Reference](#10-input-format-reference)
19
+ 11. [Output Format Reference](#11-output-format-reference)
20
+ 12. [Contributing a New Agent](#12-contributing-a-new-agent)
21
+ 13. [FAQ](#13-faq)
21
22
 
22
23
  ---
23
24
 
@@ -438,7 +439,61 @@ Prompts are one-shot — they don't require a system prompt, don't require a str
438
439
 
439
440
  ---
440
441
 
441
- ## 9. Input Format Reference
442
+ ## 9. Device Proof Reports
443
+
444
+ Device Proof Reports turn Mobile MCP QA evidence into a durable `DEVICE_QA_REPORT.md` file. Use them after `/mobile-mcp-qa` when you need to prove that a mobile build was installed, launched, tested, screenshotted, and verified on a named device, emulator, or simulator.
445
+
446
+ ### What it helps with
447
+
448
+ - PR handoff: reviewers can see exact screenshots, actions, assertions, and failures.
449
+ - Release gates: teams can verify launch, core flows, restart, rotation, and edge cases before store submission.
450
+ - Bug fixes: every PASS or FAIL references evidence instead of relying on memory.
451
+ - Mobile Harness: `DEVICE_QA_REPORT.md` can be attached to `MOBILE_HARNESS_REPORT.md`.
452
+ - Future AI sessions: Mobile Memory can preserve device, build, screenshots, result, and next action.
453
+
454
+ ### When to run it
455
+
456
+ Run `/mobile-mcp-qa` first to interact with the app and capture screenshots. Then run `device-proof-report` to package the evidence into a structured report.
457
+
458
+ ```text
459
+ /mobile-mcp-qa
460
+ PLATFORM: Android
461
+ APP_ID: com.example.invoice
462
+ BUILD_PATH: app/build/outputs/apk/debug/app-debug.apk
463
+ FLOW:
464
+ 1. Launch app.
465
+ 2. Create invoice.
466
+ 3. Restart app.
467
+ 4. Confirm invoice persists.
468
+
469
+ device-proof-report
470
+ Use the Mobile MCP evidence from this QA pass and produce DEVICE_QA_REPORT.md.
471
+ ```
472
+
473
+ ### What the report proves
474
+
475
+ `DEVICE_QA_REPORT.md` records:
476
+
477
+ - Device, OS version, orientation, app id, build, and commit
478
+ - Whether the build installed and launched
479
+ - Every action performed and the target used
480
+ - Assertions mapped to screenshot or UI evidence
481
+ - Screenshots and what each screenshot proves
482
+ - Crashes, logs, accessibility notes, and performance notes
483
+ - Issues found with severity, repro steps, and suggested fixes
484
+ - Pass/fail/blocked summary and next fixes
485
+
486
+ ### Best practices
487
+
488
+ - Use stable screenshot filenames such as `01-home.png` and `04-after-restart.png`.
489
+ - Do not mark a result PASS unless it references evidence.
490
+ - For sensitive apps, use sandbox accounts and redact tokens, PII, payment data, and health data.
491
+ - For failed flows, include the exact repro step and expected behavior.
492
+ - After the report is created, save the result with `/mobile-memory-save`.
493
+
494
+ ---
495
+
496
+ ## 10. Input Format Reference
442
497
 
443
498
  Most agents use a consistent key-value input format:
444
499
 
@@ -463,7 +518,7 @@ MULTI_LINE_FIELD:
463
518
 
464
519
  ---
465
520
 
466
- ## 10. Output Format Reference
521
+ ## 11. Output Format Reference
467
522
 
468
523
  ### Code Review Agents (Android, iOS)
469
524
 
@@ -537,7 +592,46 @@ OVERALL VERDICT: PASS / NEEDS WORK / INACCESSIBLE
537
592
 
538
593
  ---
539
594
 
540
- ## 11. Contributing a New Agent
595
+ ### Device Proof Report
596
+
597
+ ```
598
+ # Device QA Report
599
+
600
+ ## Summary
601
+ Result: PASS | FAIL | BLOCKED
602
+ Platform:
603
+ Device:
604
+ OS Version:
605
+ Orientation:
606
+ App ID:
607
+ Build:
608
+ Commit:
609
+ Flow:
610
+
611
+ ## Build And Launch
612
+ | Check | Evidence | Result |
613
+ |---|---|---|
614
+
615
+ ## Actions Performed
616
+ | Step | Action | Target | Evidence | Result |
617
+ |---|---|---|---|---|
618
+
619
+ ## Assertions
620
+ | ID | Expected Behavior | Evidence | Result |
621
+ |---|---|---|---|
622
+
623
+ ## Screenshots
624
+ | Screenshot | Screen | Proves |
625
+ |---|---|---|
626
+
627
+ ## Issues Found
628
+ | ID | Severity | Screen | Issue | Repro Step | Suggested Fix |
629
+ |---|---|---|---|---|---|
630
+ ```
631
+
632
+ ---
633
+
634
+ ## 12. Contributing a New Agent
541
635
 
542
636
  ### Before you start
543
637
 
@@ -584,7 +678,7 @@ An agent is accepted if:
584
678
 
585
679
  ---
586
680
 
587
- ## 12. FAQ
681
+ ## 13. FAQ
588
682
 
589
683
  **Q: Which LLM works best?**
590
684
  A: Claude Sonnet 4.6 and GPT-4o both produce high-quality structured output for all agents. Smaller models (GPT-4o-mini, Claude Haiku) work for simpler agents (prompts, skills) but may produce less consistent structured output for complex agents (BLoC Feature Builder, CI/CD Generator).
@@ -612,4 +706,4 @@ A: Yes. The repo is MIT licensed — free to use, modify, and incorporate into c
612
706
 
613
707
  ---
614
708
 
615
- *Last updated: v1.0.0 — May 2026*
709
+ *Last updated: v1.0.25 — August 2026*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobile-ai-agents",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "AI agents, skills, and Loop Engineering workflows for building, testing, auditing, and releasing mobile apps.",
5
5
  "bin": {
6
6
  "mobile-ai-agents": "cli/index.js",
@@ -0,0 +1,223 @@
1
+ # Workflow - Device Proof Report
2
+
3
+ **Type:** Device evidence and QA reporting
4
+ **Agents Used:** MOBILE-HARNESS, APPFORGE, AXIOM / SWIFT / DART / BRIDGE, CRASHER, PERF, Mobile Memory
5
+ **Skills Used:** /mobile-mcp-qa, /prd-verification, /accessibility-audit, /perf-audit, /mobile-memory-save
6
+
7
+ ---
8
+
9
+ ## When to Use
10
+
11
+ Use this workflow after a feature has been installed, launched, tested, screenshotted, and verified on an Android device/emulator or iOS device/simulator with Mobile MCP.
12
+
13
+ The goal is not just to say the app works. The goal is to produce portable proof that a reviewer, teammate, or future AI session can inspect.
14
+
15
+ ---
16
+
17
+ ## Inputs
18
+
19
+ - Platform: Android or iOS
20
+ - Device name and OS version
21
+ - App package name or bundle ID
22
+ - Build path, build number, commit SHA, or release version
23
+ - User flow under test
24
+ - Expected behavior from PRD, design, task, or acceptance criteria
25
+ - Mobile MCP screenshots
26
+ - Mobile MCP UI element snapshots when available
27
+ - Actions performed through Mobile MCP
28
+ - Crash logs, console logs, or test output
29
+ - Accessibility and performance notes
30
+
31
+ ---
32
+
33
+ ## Evidence Rules
34
+
35
+ - Every PASS must reference evidence: screenshot, element snapshot, log, test output, or exact Mobile MCP action result.
36
+ - Every FAIL must include a reproducible step and the expected behavior.
37
+ - Every BLOCKED result must name the missing device, build, credential, app id, or artifact.
38
+ - Do not use screenshots as decoration. Each screenshot must prove a state, transition, or failure.
39
+ - Record package names, device names, OS versions, build identifiers, and orientation.
40
+ - For sensitive apps, use sandbox accounts and redact credentials, tokens, PII, payment data, and health data.
41
+
42
+ ---
43
+
44
+ ## Steps
45
+
46
+ ```text
47
+ 1. PREPARE
48
+ -> Read PRD, design, task, and expected flow.
49
+ -> Confirm app id, build, target device, and Mobile MCP availability.
50
+
51
+ 2. INSTALL AND LAUNCH
52
+ -> Install the build when a build path is provided.
53
+ -> Launch the app by package name or bundle ID.
54
+ -> Capture initial screenshot and visible UI elements.
55
+
56
+ 3. EXECUTE FLOW
57
+ -> Run each user action through Mobile MCP.
58
+ -> Capture evidence after major state changes.
59
+ -> Record exact action, target, result, and screenshot id.
60
+
61
+ 4. VERIFY STATES
62
+ -> Compare visible UI, data, navigation, restart behavior, rotation, and edge cases against expected behavior.
63
+ -> Mark each assertion PASS, FAIL, or BLOCKED.
64
+
65
+ 5. REVIEW QUALITY
66
+ -> Note crashes, logs, accessibility issues, layout issues, and obvious performance symptoms.
67
+ -> Escalate to CRASHER, /accessibility-audit, or /perf-audit when evidence shows a deeper issue.
68
+
69
+ 6. WRITE REPORT
70
+ -> Produce DEVICE_QA_REPORT.md using the deterministic format below.
71
+ -> Attach or reference screenshots by stable filename.
72
+
73
+ 7. SAVE CONTEXT
74
+ -> Run /mobile-memory-save or update MOBILE_MEMORY.md with device, build, result, and next action.
75
+ ```
76
+
77
+ ---
78
+
79
+ ## Output
80
+
81
+ Create:
82
+
83
+ ```text
84
+ DEVICE_QA_REPORT.md
85
+ ```
86
+
87
+ Format:
88
+
89
+ ```markdown
90
+ # Device QA Report
91
+
92
+ ## Summary
93
+ Result: PASS | FAIL | BLOCKED
94
+ Platform:
95
+ Device:
96
+ OS Version:
97
+ Orientation:
98
+ App ID:
99
+ Build:
100
+ Commit:
101
+ Flow:
102
+
103
+ ## Build And Launch
104
+ | Check | Evidence | Result |
105
+ |---|---|---|
106
+ | Build installed | <path/version> | PASS/FAIL/BLOCKED |
107
+ | App launched | <screenshot id> | PASS/FAIL/BLOCKED |
108
+ | Initial screen visible | <screenshot id> | PASS/FAIL/BLOCKED |
109
+
110
+ ## Actions Performed
111
+ | Step | Action | Target | Evidence | Result |
112
+ |---|---|---|---|---|
113
+
114
+ ## Assertions
115
+ | ID | Expected Behavior | Evidence | Result |
116
+ |---|---|---|---|
117
+
118
+ ## Screenshots
119
+ | Screenshot | Screen | Proves |
120
+ |---|---|---|
121
+
122
+ ## Crashes And Logs
123
+ - <crash/log finding or "None">
124
+
125
+ ## Accessibility Notes
126
+ - <finding or "None">
127
+
128
+ ## Performance Notes
129
+ - <finding or "None">
130
+
131
+ ## Issues Found
132
+ | ID | Severity | Screen | Issue | Repro Step | Suggested Fix |
133
+ |---|---|---|---|---|---|
134
+
135
+ ## Pass/Fail Summary
136
+ - Passed:
137
+ - Failed:
138
+ - Blocked:
139
+
140
+ ## Next Fixes
141
+ 1. <highest priority fix or "None">
142
+ 2. <next fix or "None">
143
+ 3. <next fix or "None">
144
+ ```
145
+
146
+ ---
147
+
148
+ ## Example
149
+
150
+ ```markdown
151
+ # Device QA Report
152
+
153
+ ## Summary
154
+ Result: FAIL
155
+ Platform: Android
156
+ Device: Pixel_7_API_35
157
+ OS Version: Android 15
158
+ Orientation: Portrait
159
+ App ID: com.example.invoice
160
+ Build: app-debug.apk
161
+ Commit: 7f31abc
162
+ Flow: Create invoice and verify restart persistence
163
+
164
+ ## Build And Launch
165
+ | Check | Evidence | Result |
166
+ |---|---|---|
167
+ | Build installed | app-debug.apk | PASS |
168
+ | App launched | screenshots/01-home-empty.png | PASS |
169
+ | Initial screen visible | Home dashboard | PASS |
170
+
171
+ ## Actions Performed
172
+ | Step | Action | Target | Evidence | Result |
173
+ |---|---|---|---|---|
174
+ | 1 | Tap | Add Invoice | screenshots/02-add-invoice.png | PASS |
175
+ | 2 | Type | Client field | screenshots/03-form-filled.png | PASS |
176
+ | 3 | Tap | Save | screenshots/04-dashboard-saved.png | PASS |
177
+ | 4 | Relaunch | App process | screenshots/05-dashboard-restart.png | FAIL |
178
+
179
+ ## Assertions
180
+ | ID | Expected Behavior | Evidence | Result |
181
+ |---|---|---|---|
182
+ | QA-001 | Invoice appears after save | screenshots/04-dashboard-saved.png | PASS |
183
+ | QA-002 | Invoice persists after restart | screenshots/05-dashboard-restart.png | FAIL |
184
+
185
+ ## Screenshots
186
+ | Screenshot | Screen | Proves |
187
+ |---|---|---|
188
+ | screenshots/01-home-empty.png | Dashboard | App launches |
189
+ | screenshots/04-dashboard-saved.png | Dashboard | Invoice saved |
190
+ | screenshots/05-dashboard-restart.png | Dashboard | Persistence fails |
191
+
192
+ ## Crashes And Logs
193
+ - None.
194
+
195
+ ## Accessibility Notes
196
+ - Amount field should describe expected currency format.
197
+
198
+ ## Performance Notes
199
+ - No visible launch delay during this pass.
200
+
201
+ ## Issues Found
202
+ | ID | Severity | Screen | Issue | Repro Step | Suggested Fix |
203
+ |---|---|---|---|---|---|
204
+ | QA-BUG-001 | CRITICAL | Dashboard | Invoice disappears after restart | Save invoice, relaunch app | Await local database write before navigation |
205
+
206
+ ## Pass/Fail Summary
207
+ - Passed: Install, launch, create invoice, save invoice.
208
+ - Failed: Restart persistence.
209
+ - Blocked: None.
210
+
211
+ ## Next Fixes
212
+ 1. Fix invoice persistence after app restart.
213
+ 2. Add a restart persistence regression test.
214
+ 3. Rerun this Device Proof Report.
215
+ ```
216
+
217
+ ---
218
+
219
+ ## Mobile Harness Integration
220
+
221
+ Use this after `/mobile-mcp-qa` inside MOBILE-HARNESS when the user needs auditable evidence for a task, release gate, screenshot review, or handoff.
222
+
223
+ For each completed task, attach `DEVICE_QA_REPORT.md` to `MOBILE_HARNESS_REPORT.md` and reference the exact screenshots used as proof.
@@ -209,8 +209,9 @@ For each task:
209
209
  10. Verify behavior against `PRD.md`.
210
210
  11. Verify UI against design.
211
211
  12. Run `/mobile-mcp-qa` if device automation is available.
212
- 13. Write `MOBILE_HARNESS_REPORT.md`.
213
- 14. Update `MOBILE_MEMORY.md`.
212
+ 13. Produce `DEVICE_QA_REPORT.md` with the `device-proof-report` workflow when screenshots or device proof are required.
213
+ 14. Write `MOBILE_HARNESS_REPORT.md`.
214
+ 15. Update `MOBILE_MEMORY.md`.
214
215
 
215
216
  After a task passes, continue to the next safe task automatically when the user has approved autonomous execution for the project. Stop only at human gates defined in the Autonomy Contract.
216
217
 
@@ -164,6 +164,8 @@ Create:
164
164
  MOBILE_MCP_QA_REPORT.md
165
165
  ```
166
166
 
167
+ For release gates, PR handoff, or Mobile Harness evidence, follow this with the `device-proof-report` workflow to produce `DEVICE_QA_REPORT.md`.
168
+
167
169
  Format:
168
170
 
169
171
  ```markdown