@capagents/forgeqe 3.2.0 → 3.2.1

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.
Files changed (120) hide show
  1. package/HOW_TO_USE.md +25 -2
  2. package/dist/docs-site/docs/area-api/index.html +1 -1
  3. package/dist/docs-site/docs/area-mobile/index.html +28 -8
  4. package/dist/docs-site/docs/area-quality/index.html +10 -0
  5. package/dist/docs-site/docs/get-started/index.html +4 -1
  6. package/dist/docs-site/docs/mobile/index.html +19 -7
  7. package/dist/docs-site/docs/search.js +1 -1
  8. package/dist/docs-site/docs/web-app/index.html +2 -1
  9. package/dist/forgeqe.js +1895 -1884
  10. package/dist/web/assets/{3d-force-graph-Bhmgjf_7.js → 3d-force-graph-ByL874l5.js} +1 -1
  11. package/dist/web/assets/Agent-Drs4mcil.js +8 -0
  12. package/dist/web/assets/{AgentWork-D0MS10up.js → AgentWork-DLcCZTgu.js} +2 -2
  13. package/dist/web/assets/ApiTests-BcrTspwJ.js +10 -0
  14. package/dist/web/assets/Browse-D9eaDrZT.js +1 -0
  15. package/dist/web/assets/Chat-CMNf9-ys.js +3 -0
  16. package/dist/web/assets/{CommandPalette-rY8rp79k.js → CommandPalette-Bcf1Muan.js} +1 -1
  17. package/dist/web/assets/Compare-V5xKnwGO.js +1 -0
  18. package/dist/web/assets/Cost-DC3DYthD.js +1 -0
  19. package/dist/web/assets/{Data-CFyxbwPS.js → Data-DzrP-MdL.js} +4 -4
  20. package/dist/web/assets/Desktop-DjTq9eAr.js +1 -0
  21. package/dist/web/assets/DesktopReview-Buecn3n5.js +2 -0
  22. package/dist/web/assets/DeviceScreen-CoArZGyY.js +1 -0
  23. package/dist/web/assets/{Evidence-BlTkmzfE.js → Evidence-D6VvlFNK.js} +1 -1
  24. package/dist/web/assets/{Explore-DyGqAEff.js → Explore-YkonRPmA.js} +2 -2
  25. package/dist/web/assets/{Features-BjPR9gCe.js → Features-BKB4iSRj.js} +1 -1
  26. package/dist/web/assets/Flags-4GGW38Xu.js +2 -0
  27. package/dist/web/assets/Flaky-BRcLjYrP.js +1 -0
  28. package/dist/web/assets/Impact-CvuahLDQ.js +3 -0
  29. package/dist/web/assets/Jobs-DBCw8Z8I.js +5 -0
  30. package/dist/web/assets/KindPage-Ige-qO2t.js +6 -0
  31. package/dist/web/assets/LiveDevice-DI7Bq6ag.js +1 -0
  32. package/dist/web/assets/Migration-CEwXGs4c.js +8 -0
  33. package/dist/web/assets/Mobile-BqyFTBeG.js +1 -0
  34. package/dist/web/assets/Observability-B2Y1pHpD.js +1 -0
  35. package/dist/web/assets/PageAgent-BRhWi7LL.js +1 -0
  36. package/dist/web/assets/Product-CXIbmmMF.js +12 -0
  37. package/dist/web/assets/{Production-C8eGcwCi.js → Production-BOy7ew7l.js} +1 -1
  38. package/dist/web/assets/Quality-Dtcq2AWE.js +1 -0
  39. package/dist/web/assets/{Readiness-BWlbiTeu.js → Readiness-B53Drc7i.js} +1 -1
  40. package/dist/web/assets/Record-BuCIDb1d.js +1 -0
  41. package/dist/web/assets/Regression-BpPXCQIv.js +5 -0
  42. package/dist/web/assets/{RelationGraph-CzR_Hs8A.js → RelationGraph-UXFyQOKO.js} +1 -1
  43. package/dist/web/assets/Reports-CWCa9uof.js +2 -0
  44. package/dist/web/assets/Response-C6EmnnQz.js +9 -0
  45. package/dist/web/assets/Responsive-Bl6i7kB3.js +3 -0
  46. package/dist/web/assets/{RunDiff-COaxhvKm.js → RunDiff-CWf9Bkmu.js} +1 -1
  47. package/dist/web/assets/Runs-C0tfrB_j.js +2 -0
  48. package/dist/web/assets/Settings-tgCcBEwu.js +21 -0
  49. package/dist/web/assets/{Steps-CN4n8U1I.js → Steps-xASPoq1N.js} +3 -3
  50. package/dist/web/assets/{TestCases-BEfJFp5h.js → TestCases-Cm4KwWIP.js} +1 -1
  51. package/dist/web/assets/TestData-DMV5S00V.js +2 -0
  52. package/dist/web/assets/{TestDebt-DIYhbhjh.js → TestDebt-D54mt0ZT.js} +1 -1
  53. package/dist/web/assets/TestManagement-DBFlK8Xe.js +4 -0
  54. package/dist/web/assets/WhatsNew-Dp-zP-jw.js +1 -0
  55. package/dist/web/assets/agents-DPabR9dS.js +1 -0
  56. package/dist/web/assets/{coverage-DCtiu73T.js → coverage-xSRsKFL6.js} +1 -1
  57. package/dist/web/assets/dataParts-BPff7ClX.js +3 -0
  58. package/dist/web/assets/desktopAppPath-BVJxel_D.js +1 -0
  59. package/dist/web/assets/{diff-DEgLgw6R.js → diff-BXu8cULX.js} +1 -1
  60. package/dist/web/assets/{highlight-DSLpJ_Dq.js → highlight-DCCKhwHj.js} +1 -1
  61. package/dist/web/assets/index-BsAaOk_G.js +64 -0
  62. package/dist/web/assets/index-CgpH1pj9.css +2 -0
  63. package/dist/web/assets/input-BmJ7dt1C.js +1 -0
  64. package/dist/web/assets/pageBack-BNLSF2VR.js +3 -0
  65. package/dist/web/assets/palette-BS9ixqiJ.js +1 -0
  66. package/dist/web/assets/{paletteCommands-fwv5XVOS.js → paletteCommands-C3knXWbA.js} +1 -1
  67. package/dist/web/assets/{parts-CkI14hIv.js → parts-69Ei7EPi.js} +1 -1
  68. package/dist/web/assets/productParts-CrAb3-j0.js +1 -0
  69. package/dist/web/assets/{qualityParts-8KI3JCY8.js → qualityParts-BQTnBwPs.js} +1 -1
  70. package/dist/web/assets/{recordTest-kf2ykEQF.js → recordTest-DVJCNI0y.js} +1 -1
  71. package/dist/web/assets/{stepper-CQSK6KS0.js → stepper-t0O_8eQo.js} +1 -1
  72. package/dist/web/index.html +6 -6
  73. package/docs/MOBILE.md +22 -7
  74. package/docs/WEB_APP.md +2 -1
  75. package/docs/user-guide.html +23 -2
  76. package/forgeqe.example.yaml +1 -0
  77. package/package.json +1 -1
  78. package/py/forgeqe_engine/copilot_gateway.py +80 -1
  79. package/py/forgeqe_engine/persona.py +197 -10
  80. package/py/forgeqe_engine/service.py +2 -2
  81. package/py/forgeqe_mobile/a11y.py +322 -0
  82. package/py/forgeqe_mobile/appium_driver.py +16 -0
  83. package/py/forgeqe_mobile/live.py +225 -0
  84. package/py/forgeqe_mobile/service.py +102 -4
  85. package/dist/web/assets/Agent-Dx4aOB_h.js +0 -8
  86. package/dist/web/assets/ApiTests-DUoEh0nX.js +0 -10
  87. package/dist/web/assets/Browse-BGgyLuL3.js +0 -1
  88. package/dist/web/assets/Chat-CEHUI2ty.js +0 -3
  89. package/dist/web/assets/Compare-B_NCvogR.js +0 -1
  90. package/dist/web/assets/Cost-sm-6tWRQ.js +0 -1
  91. package/dist/web/assets/Desktop-A_D4LTis.js +0 -1
  92. package/dist/web/assets/DesktopReview-CM7xmpHS.js +0 -2
  93. package/dist/web/assets/Flags-C_DneXS9.js +0 -2
  94. package/dist/web/assets/Flaky-l5ugC_ER.js +0 -1
  95. package/dist/web/assets/Impact-7TXQHcsW.js +0 -3
  96. package/dist/web/assets/Jobs-xRLNI-8l.js +0 -5
  97. package/dist/web/assets/KindPage-BZu1Zo4S.js +0 -6
  98. package/dist/web/assets/Migration-DKsyDwDO.js +0 -8
  99. package/dist/web/assets/Observability-CVwKJ-fI.js +0 -1
  100. package/dist/web/assets/PageAgent-C1X5ot6v.js +0 -1
  101. package/dist/web/assets/Product-iHqLyIhD.js +0 -12
  102. package/dist/web/assets/Quality-BVsN6u0E.js +0 -1
  103. package/dist/web/assets/Record-C7qgNFqs.js +0 -1
  104. package/dist/web/assets/Regression-ChleHlqe.js +0 -5
  105. package/dist/web/assets/Reports-CIcKyoHH.js +0 -2
  106. package/dist/web/assets/Response-D2ZeO8uW.js +0 -9
  107. package/dist/web/assets/Responsive-DCfw-Oz3.js +0 -3
  108. package/dist/web/assets/Runs-3qx2qf56.js +0 -2
  109. package/dist/web/assets/Settings-DG2k3Lno.js +0 -21
  110. package/dist/web/assets/TestData-SO2qqaAF.js +0 -2
  111. package/dist/web/assets/TestManagement-D7q6G3YN.js +0 -4
  112. package/dist/web/assets/WhatsNew-DqBLhhgk.js +0 -1
  113. package/dist/web/assets/agents-BUWN-VJv.js +0 -1
  114. package/dist/web/assets/dataParts-BdmBLsU9.js +0 -3
  115. package/dist/web/assets/index-DAteDsgB.css +0 -2
  116. package/dist/web/assets/index-RJ1kEHuo.js +0 -64
  117. package/dist/web/assets/input-Be3YOEK2.js +0 -1
  118. package/dist/web/assets/logLevel-Dq8s6DZz.js +0 -3
  119. package/dist/web/assets/palette-Dcoz5crU.js +0 -1
  120. package/dist/web/assets/productParts-BOUMBM_H.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -232,7 +232,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
232
232
  | Automated tests | **Flaky test detection and quarantine**: Finds tests that flip between passing and failing in the repository's run history, with their likely cause, and quarantines them once the user agrees. | `flaky_tests`, `quarantine_tests` | [docs](#flaky-tests) |
233
233
  | Pull requests | **Review pull requests**: Reviews an Azure DevOps or GitHub pull request from the local clone for bugs, security, requirements, and tests, and posts the review once the user agrees. | `review_pull_request`, `post_pr_review` | [docs](#reviewing-pull-requests) |
234
234
  | Pull requests | **Pull request impact and test selection**: Works out which product areas, pages, requirements, and tests a pull request touches, picks the tests it can break, runs them, and posts the impact or results on the pull request once the user agrees. | `analyze_pr_impact`, `select_pr_tests`, `post_pr_test_results`, `comment_on_pr` | [docs](#what-a-pull-request-impacts-in-the-product) |
235
- | API | **API and contract testing**: Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_delete_set`, `api_import_collection` | [docs](#api-and-contract-tests) |
235
+ | API | **API and contract testing**: Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests`, `api_find_calls`, `api_new_set`, `api_add_calls`, `api_rename_folder`, `api_move_calls`, `api_delete_set`, `api_import_collection` | [docs](#api-and-contract-tests) |
236
236
  | API | **API load and security checks**: Load and latency testing of a contract set's read-only calls (virtual users, percentiles, throughput and error rate against limits), and robustness and API-security checks (OWASP API Top 10): malformed input, calls without credentials, leaked errors, mass assignment and missing security headers. | `run_api_load`, `run_api_security` | [docs](#api-and-contract-tests) |
237
237
  | Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
238
238
  | Quality | **Accessibility testing with personas**: A browser agent does a goal as a person with a disability would (a blind screen reader user, keyboard only, low vision, colour blind, cognitive, or the project's own personas) and records each barrier with its WCAG criterion and severity. Not functional testing. | `accessibility_test`, `accessibility_personas` | [docs](#accessibility-testing-with-personas) |
@@ -682,7 +682,10 @@ what Copilot answered and which model took over.
682
682
 
683
683
  **Copilot's versions.** ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
684
684
  changes your setup by itself; a newer ForgeQE brings newer ones (`forgeqe update`, then `forgeqe setup`). `forgeqe doctor`
685
- shows the versions in use. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
685
+ shows the versions in use. A newer version is downloaded from GitHub the first time it is needed; when that download
686
+ fails (a company network or proxy that blocks GitHub's downloads), ForgeQE keeps using the Copilot already on your
687
+ computer, for the sign-in and for chats and runs, and says so. To get the newer one, allow `github.com` and
688
+ `release-assets.githubusercontent.com`, or set `FORGEQE_GITHUB_MIRROR` to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
686
689
  rather than trying another model.
687
690
 
688
691
  **Behind a company proxy.** ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
@@ -7066,6 +7069,15 @@ forgeqe mobile maestro .maestro/ # your team's Maes
7066
7069
  forgeqe mobile flow workflow.yaml > login.flow.yaml # a workflow as a Maestro flow, to keep
7067
7070
  ```
7068
7071
 
7072
+ **Accessibility of each screen.** A replay or an explore on Appium checks each new screen it reaches (once per
7073
+ screen, at most 40) and writes `accessibility.json` in the run's folder, in the same shape as a browser run's: controls a
7074
+ screen reader has no name for (WCAG 4.1.2), images it stops on with no description (1.1.1), fields with no label, hint or
7075
+ placeholder (1.3.1), touch targets under 24 by 24 dp or pt (2.5.8; under Android's 48 dp or iOS's 44 pt as a minor
7076
+ finding), and several controls announced by one name. On iOS 17 or later with Xcode 15 it also runs Apple's own audit
7077
+ (contrast, hit regions, element descriptions, Dynamic Type, clipped text, traits). Android's sizes are judged from the
7078
+ screen's density. `mobile.accessibility: false` turns it off (**Settings › Mobile**). These are automated checks of what
7079
+ the screen's controls say, not a person with TalkBack or VoiceOver; Maestro runs are not checked.
7080
+
7069
7081
  **Secrets.** `{{secret:NAME}}` reads only `mobile.secrets` (and the environment's secrets). A flow kept with `forgeqe mobile flow` reads each secret as `${MAESTRO_<NAME>}`, never its value, so set `MAESTRO_<NAME>` when you run it outside ForgeQE. A workflow that types a secret not listed there is refused.
7070
7082
 
7071
7083
  **Team Maestro flows** run only with UI commands: scripts, JavaScript in `${…}`, Maestro's AI commands and file writes are refused. Details: [docs/MOBILE.md](docs/MOBILE.md).
@@ -7864,6 +7876,7 @@ The accessibility agent does a goal on your site **as a person with a disability
7864
7876
  ```bash
7865
7877
  forgeqe a11y "find running shoes and add a pair to the basket" --persona blind,keyboard-only --url https://shop.test
7866
7878
  forgeqe a11y "check out" --persona blind --engine ibm --standard wcag22aa --best-practice # this session's rule checks
7879
+ forgeqe a11y "check out" --persona blind,keyboard-only --device iphone-15 # every persona on a phone
7867
7880
  forgeqe a11y personas # the personas: built in, and the project's own
7868
7881
  ```
7869
7882
 
@@ -7871,6 +7884,13 @@ forgeqe a11y personas # the personas: built in, and the project's
7871
7884
  best-practice) and `--best-practice` choose the session's automated rule checks over `quality.accessibility`; a value off
7872
7885
  its list is refused before anything runs. The report and the Results tab say which were used.
7873
7886
 
7887
+ `--device` (on the page: **on**, beside the standard) runs every persona on a phone or tablet of the Responsive page's
7888
+ list: its CSS size, pixel ratio, touch and user agent are emulated in ForgeQE's Chromium, so a site lays out as it does
7889
+ there (a page with no viewport meta tag is shown shrunk, as on a real phone). `desktop` is the browser's own window for
7890
+ every persona; with no device named, each persona uses its own (the three phone personas are on phones, the rest on
7891
+ desktop). A persona file may set `input: touch`, `text_scale` (1 to 3) and `device`. This is emulation in Chromium, not
7892
+ Safari or a real phone: confirm what matters on real devices.
7893
+
7874
7894
  **How each persona uses the page.** Each persona is one browser run. The agent works the way the person does:
7875
7895
 
7876
7896
  | Persona | How the agent uses the page |
@@ -7883,6 +7903,9 @@ its list is refused before anything runs. The report and the Results tab say whi
7883
7903
  | `reduced-motion` | The browser asks for reduced motion. |
7884
7904
  | `deaf` | Captions, transcripts, sound-only information. |
7885
7905
  | `high-contrast` | Forced colours (a high contrast theme). |
7906
+ | `mobile-screen-reader` | VoiceOver or TalkBack on an iPhone 15: no screenshots and no keyboard. It swipes right and left through the page item by item (`swipe_next`, `swipe_previous`), hears each item's role, name and state, and double taps to activate (`double_tap`, a touch where the item is). |
7907
+ | `large-text` | A Pixel 8 with the system's text at 200%: text sized in rem or em grows, text sized in px does not. Touch only. |
7908
+ | `touch-tremor` | A Galaxy S23, one finger, a hand tremor: small or close targets, gestures with no simple alternative, time limits. |
7886
7909
 
7887
7910
  **The report.** For each persona, `.forgeqe/reports/accessibility/<time>-<goal>/accessibility.md` says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated WCAG rule checks of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.
7888
7911
 
@@ -127,7 +127,7 @@
127
127
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Turn the last run's API calls into tests</li><li>Test the API in openapi.yaml</li><li>Write API scenario tests for the order lifecycle</li><li>Import our Postman collection and send its calls</li><li>Add these cURL calls to the shop API</li><li>Heal the API contracts from the latest run</li></ul></div>
128
128
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model), and what forgeqe setup installs for it</span></li></ul></div>
129
129
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Calls that change data run only when the user allows them, on a test environment, never production; healing never replays them.</li><li>A contract that fails can be a real defect: healing proposes a new version, and a person decides.</li></ul></div>
130
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_delete_set</code> <code>api_import_collection</code></p></div>
130
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_find_calls</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_rename_folder</code> <code>api_move_calls</code> <code>api_delete_set</code> <code>api_import_collection</code></p></div>
131
131
  </div>
132
132
 
133
133
  </article>
@@ -158,6 +158,14 @@
158
158
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> your team's Maestro flows, checked first
159
159
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile flow workflow.yaml &gt; login.flow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a workflow as a Maestro flow, to keep
160
160
  </span></span></code></pre></div>
161
+ <p><strong>Accessibility of each screen.</strong> A replay or an explore on Appium checks each new screen it reaches (once per
162
+ screen, at most 40) and writes <code>accessibility.json</code> in the run's folder, in the same shape as a browser run's: controls a
163
+ screen reader has no name for (WCAG 4.1.2), images it stops on with no description (1.1.1), fields with no label, hint or
164
+ placeholder (1.3.1), touch targets under 24 by 24 dp or pt (2.5.8; under Android's 48 dp or iOS's 44 pt as a minor
165
+ finding), and several controls announced by one name. On iOS 17 or later with Xcode 15 it also runs Apple's own audit
166
+ (contrast, hit regions, element descriptions, Dynamic Type, clipped text, traits). Android's sizes are judged from the
167
+ screen's density. <code>mobile.accessibility: false</code> turns it off (<strong>Settings › Mobile</strong>). These are automated checks of what
168
+ the screen's controls say, not a person with TalkBack or VoiceOver; Maestro runs are not checked.</p>
161
169
  <p><strong>Secrets.</strong> <code>{{secret:NAME}}</code> reads only <code>mobile.secrets</code> (and the environment's secrets). A flow kept with <code>forgeqe mobile flow</code> reads each secret as <code>${MAESTRO_&lt;NAME&gt;}</code>, never its value, so set <code>MAESTRO_&lt;NAME&gt;</code> when you run it outside ForgeQE. A workflow that types a secret not listed there is refused.</p>
162
170
  <p><strong>Team Maestro flows</strong> run only with UI commands: scripts, JavaScript in <code>${…}</code>, Maestro's AI commands and file writes are refused. Details: <a href="#doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">docs/MOBILE.md</a>.</p>
163
171
  <h5>On TestMu AI (formerly LambdaTest)</h5>
@@ -236,15 +244,27 @@ by the ForgeQE team (it needs a Mac with a simulator).</p>
236
244
  <tr><th>Task</th><th>Web app</th><th>Terminal</th></tr>
237
245
  </thead>
238
246
  <tbody>
239
- <tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
240
- <tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong></td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
241
- <tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong></td><td data-label="Terminal">not available</td></tr>
242
- <tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
243
- <tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
244
- <tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
245
- <tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
247
+ <tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Mobile apps › Devices and apps</strong>, or <strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
248
+ <tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong> (listed on <strong>Mobile apps › Devices and apps</strong>)</td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
249
+ <tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong> (or <strong>Record by hand</strong> on <strong>Mobile apps › Workflows</strong>)</td><td data-label="Terminal">not available</td></tr>
250
+ <tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review, or <strong>Mobile apps › Workflows</strong> (Appium or Maestro)</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
251
+ <tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app"><strong>Mobile apps › Workflows › Explore a goal</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
252
+ <tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app"><strong>Mobile apps › Maestro flows</strong> (from <code>.maestro/</code>), or in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
253
+ <tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app"><strong>Mobile apps › Devices and apps › Upload a build</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
254
+ <tr><td data-label="Task">Watch the device while a run works</td><td data-label="Web app"><strong>Mobile apps</strong> (above its tabs), and a chat's device pane</td><td data-label="Terminal">not available</td></tr>
246
255
  </tbody>
247
256
  </table></div>
257
+ <p><strong>Mobile apps</strong> (<code>#/mobile</code>) is MobilePilot's page. Its <strong>Agent</strong> tab is where you ask it; <strong>Workflows</strong>, <strong>Maestro
258
+ flows</strong>, <strong>Runs</strong> and <strong>Devices and apps</strong> are its work. While a run is at work, from the page or from a chat, the
259
+ device is shown above the tabs: its screen about once a second, the step just done and the next one, and for a device on
260
+ TestMu or BrowserStack a link to the cloud's own live view.</p>
261
+ </div>
262
+ <section class="doc sub" id="doc-docs-mobile-watching-the-device"><h5>Watching the device</h5><div class="prose"><p>The engine keeps the device's latest screen while a run works (<code>live/</code> in the run's folder: one picture, the step, and
263
+ when; removed when the run ends). Appium runs, on this computer or a device cloud, use Appium's own screenshot. Maestro
264
+ on this computer is read with <code>adb exec-out screencap</code> (Android) or <code>xcrun simctl io … screenshot</code> (an iOS simulator).
265
+ Maestro on TestMu (HyperExecute) gives ForgeQE no pictures: watch it on TestMu. A typed value is never shown, only a
266
+ secret's name or a length, and nothing of it reaches the model. A chat that runs a mobile tool docks the device on its
267
+ right for the rest of the chat; below 1100px wide, <strong>Show the device</strong> opens it over the chat.</p>
248
268
  <p><strong>Setting up.</strong> For an emulator or phone on this computer, ForgeQE installs Appium and its drivers once (see
249
269
  <a href="#doc-docs-mobile-appium-on-this-computer">Appium on this computer</a>). A device cloud needs none of it.</p>
250
270
  <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
@@ -281,7 +301,7 @@ desktop one. At a terminal, ask the same in <code>forgeqe start</code>, or run:<
281
301
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe mobile explore &quot;Sign in as the courier and accept the first delivery&quot; --app courier
282
302
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe mobile maestro .maestro/</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the team's flows
283
303
  </span></span></code></pre></div>
284
- </div>
304
+ </div></section>
285
305
  </section>
286
306
  <section class="doc" id="doc-docs-mobile-apps-and-settings">
287
307
  <h4>Apps and settings</h4>
@@ -242,11 +242,18 @@ built-in checks) and standard; left on the project's, quality.accessibility deci
242
242
  </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
243
243
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe a11y &quot;find running shoes and add a pair to the basket&quot; --persona blind,keyboard-only --url https://shop.test
244
244
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y &quot;check out&quot; --persona blind --engine ibm --standard wcag22aa --best-practice</span><span class="pad"> </span><span class="cm"><span class="h">#</span> this session's rule checks
245
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y &quot;check out&quot; --persona blind,keyboard-only --device iphone-15</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every persona on a phone
245
246
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y personas</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the personas: built in, and the project's own
246
247
  </span></span></code></pre></div>
247
248
  <p><code>--engine</code> (axe, ibm, basic), <code>--standard</code> (wcag2a, wcag21aa, wcag22aa, wcag21aaa, section508, en301549,
248
249
  best-practice) and <code>--best-practice</code> choose the session's automated rule checks over <code>quality.accessibility</code>; a value off
249
250
  its list is refused before anything runs. The report and the Results tab say which were used.</p>
251
+ <p><code>--device</code> (on the page: <strong>on</strong>, beside the standard) runs every persona on a phone or tablet of the Responsive page's
252
+ list: its CSS size, pixel ratio, touch and user agent are emulated in ForgeQE's Chromium, so a site lays out as it does
253
+ there (a page with no viewport meta tag is shown shrunk, as on a real phone). <code>desktop</code> is the browser's own window for
254
+ every persona; with no device named, each persona uses its own (the three phone personas are on phones, the rest on
255
+ desktop). A persona file may set <code>input: touch</code>, <code>text_scale</code> (1 to 3) and <code>device</code>. This is emulation in Chromium, not
256
+ Safari or a real phone: confirm what matters on real devices.</p>
250
257
  </div></div><p><strong>How each persona uses the page.</strong> Each persona is one browser run. The agent works the way the person does:</p>
251
258
  <div class="tbl tbl--cols-2"><table>
252
259
  <thead>
@@ -261,6 +268,9 @@ its list is refused before anything runs. The report and the Results tab say whi
261
268
  <tr><td data-label="Persona"><code>reduced-motion</code></td><td data-label="How the agent uses the page">The browser asks for reduced motion.</td></tr>
262
269
  <tr><td data-label="Persona"><code>deaf</code></td><td data-label="How the agent uses the page">Captions, transcripts, sound-only information.</td></tr>
263
270
  <tr><td data-label="Persona"><code>high-contrast</code></td><td data-label="How the agent uses the page">Forced colours (a high contrast theme).</td></tr>
271
+ <tr><td data-label="Persona"><code>mobile-screen-reader</code></td><td data-label="How the agent uses the page">VoiceOver or TalkBack on an iPhone 15: no screenshots and no keyboard. It swipes right and left through the page item by item (<code>swipe_next</code>, <code>swipe_previous</code>), hears each item's role, name and state, and double taps to activate (<code>double_tap</code>, a touch where the item is).</td></tr>
272
+ <tr><td data-label="Persona"><code>large-text</code></td><td data-label="How the agent uses the page">A Pixel 8 with the system's text at 200%: text sized in rem or em grows, text sized in px does not. Touch only.</td></tr>
273
+ <tr><td data-label="Persona"><code>touch-tremor</code></td><td data-label="How the agent uses the page">A Galaxy S23, one finger, a hand tremor: small or close targets, gestures with no simple alternative, time limits.</td></tr>
264
274
  </tbody>
265
275
  </table></div>
266
276
  <p><strong>The report.</strong> For each persona, <code>.forgeqe/reports/accessibility/&lt;time&gt;-&lt;goal&gt;/accessibility.md</code> says whether they reached the goal, each barrier with its severity (critical: stops them; serious; moderate; minor) and WCAG success criterion, and the automated WCAG rule checks of the pages they visited. The run folders keep the evidence: steps, screenshots, video when on. A run as a persona uses no page memory, site rulebook or skills, since those hold how to click through the site.</p>
@@ -376,7 +376,10 @@ refused, a rate limit or a used-up allowance never moves to another model. <code
376
376
  what Copilot answered and which model took over.</p>
377
377
  <p><strong>Copilot's versions.</strong> ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
378
378
  changes your setup by itself; a newer ForgeQE brings newer ones (<code>forgeqe update</code>, then <code>forgeqe setup</code>). <code>forgeqe doctor</code>
379
- shows the versions in use. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
379
+ shows the versions in use. A newer version is downloaded from GitHub the first time it is needed; when that download
380
+ fails (a company network or proxy that blocks GitHub's downloads), ForgeQE keeps using the Copilot already on your
381
+ computer, for the sign-in and for chats and runs, and says so. To get the newer one, allow <code>github.com</code> and
382
+ <code>release-assets.githubusercontent.com</code>, or set <code>FORGEQE_GITHUB_MIRROR</code> to your company's GitHub mirror. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
380
383
  rather than trying another model.</p>
381
384
  <p><strong>Behind a company proxy.</strong> ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
382
385
  many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
@@ -144,15 +144,27 @@ by the ForgeQE team (it needs a Mac with a simulator).</p>
144
144
  <tr><th>Task</th><th>Web app</th><th>Terminal</th></tr>
145
145
  </thead>
146
146
  <tbody>
147
- <tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
148
- <tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong></td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
149
- <tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong></td><td data-label="Terminal">not available</td></tr>
150
- <tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
151
- <tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
152
- <tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
153
- <tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app">in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
147
+ <tr><td data-label="Task">Set up Appium on this computer</td><td data-label="Web app"><strong>Mobile apps › Devices and apps</strong>, or <strong>Settings › Set up</strong></td><td data-label="Terminal"><code>forgeqe mobile setup</code></td></tr>
148
+ <tr><td data-label="Task">Devices and drivers</td><td data-label="Web app"><strong>Settings › Mobile</strong> (listed on <strong>Mobile apps › Devices and apps</strong>)</td><td data-label="Terminal"><code>forgeqe.yaml</code>, <code>forgeqe mobile devices</code></td></tr>
149
+ <tr><td data-label="Task">Record your own steps</td><td data-label="Web app"><strong>Record › Mobile app</strong> (or <strong>Record by hand</strong> on <strong>Mobile apps › Workflows</strong>)</td><td data-label="Terminal">not available</td></tr>
150
+ <tr><td data-label="Task">Review and replay a recording</td><td data-label="Web app">the recording's review, or <strong>Mobile apps › Workflows</strong> (Appium or Maestro)</td><td data-label="Terminal"><code>forgeqe mobile replay</code></td></tr>
151
+ <tr><td data-label="Task">Explore a goal with the model</td><td data-label="Web app"><strong>Mobile apps › Workflows › Explore a goal</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile explore</code></td></tr>
152
+ <tr><td data-label="Task">Run your team's Maestro flows</td><td data-label="Web app"><strong>Mobile apps › Maestro flows</strong> (from <code>.maestro/</code>), or in a chat</td><td data-label="Terminal"><code>forgeqe mobile maestro</code></td></tr>
153
+ <tr><td data-label="Task">Upload a build to TestMu AI</td><td data-label="Web app"><strong>Mobile apps › Devices and apps › Upload a build</strong>, or in a chat</td><td data-label="Terminal"><code>forgeqe mobile upload</code></td></tr>
154
+ <tr><td data-label="Task">Watch the device while a run works</td><td data-label="Web app"><strong>Mobile apps</strong> (above its tabs), and a chat's device pane</td><td data-label="Terminal">not available</td></tr>
154
155
  </tbody>
155
156
  </table></div>
157
+ <p><strong>Mobile apps</strong> (<code>#/mobile</code>) is MobilePilot's page. Its <strong>Agent</strong> tab is where you ask it; <strong>Workflows</strong>, <strong>Maestro
158
+ flows</strong>, <strong>Runs</strong> and <strong>Devices and apps</strong> are its work. While a run is at work, from the page or from a chat, the
159
+ device is shown above the tabs: its screen about once a second, the step just done and the next one, and for a device on
160
+ TestMu or BrowserStack a link to the cloud's own live view.</p>
161
+ <h3 id="watching-the-device"><a href="#watching-the-device" class="hash">#</a>Watching the device</h3>
162
+ <p>The engine keeps the device's latest screen while a run works (<code>live/</code> in the run's folder: one picture, the step, and
163
+ when; removed when the run ends). Appium runs, on this computer or a device cloud, use Appium's own screenshot. Maestro
164
+ on this computer is read with <code>adb exec-out screencap</code> (Android) or <code>xcrun simctl io … screenshot</code> (an iOS simulator).
165
+ Maestro on TestMu (HyperExecute) gives ForgeQE no pictures: watch it on TestMu. A typed value is never shown, only a
166
+ secret's name or a length, and nothing of it reaches the model. A chat that runs a mobile tool docks the device on its
167
+ right for the rest of the chat; below 1100px wide, <strong>Show the device</strong> opens it over the chat.</p>
156
168
  <p><strong>Setting up.</strong> For an emulator or phone on this computer, ForgeQE installs Appium and its drivers once (see
157
169
  <a href="#appium-on-this-computer">Appium on this computer</a>). A device cloud needs none of it.</p>
158
170
  <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>