@capagents/forgeqe 3.0.9 → 3.1.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 (198) hide show
  1. package/HOW_TO_USE.md +35 -22
  2. package/bin/bundle.js +3 -3
  3. package/bin/forgeqe.js +3 -3
  4. package/bin/license.js +1 -1
  5. package/dist/docs-site/CREDITS.md +11 -4
  6. package/dist/docs-site/LICENSE.dm-sans.txt +93 -0
  7. package/dist/docs-site/LICENSE.jetbrains-mono.txt +93 -0
  8. package/dist/docs-site/app-look.css +62 -0
  9. package/dist/docs-site/architecture-map/arch-fill.js +56 -0
  10. package/dist/docs-site/architecture-map/arch-theme.css +203 -0
  11. package/dist/docs-site/architecture-map/arch.css +0 -5
  12. package/dist/docs-site/architecture-map/index.html +57 -43
  13. package/dist/docs-site/docs/app-theme.css +166 -0
  14. package/dist/docs-site/docs/architecture/index.html +14 -11
  15. package/dist/docs-site/docs/containers/index.html +14 -11
  16. package/dist/docs-site/docs/cost-architecture/index.html +14 -11
  17. package/dist/docs-site/docs/custom-agents-first-run/index.html +14 -11
  18. package/dist/docs-site/docs/desktop/index.html +14 -11
  19. package/dist/docs-site/docs/desktop-ci/index.html +14 -11
  20. package/dist/docs-site/docs/docs.css +0 -7
  21. package/dist/docs-site/docs/evidence/index.html +14 -11
  22. package/dist/docs-site/docs/feature-test-prompts/index.html +14 -11
  23. package/dist/docs-site/docs/graphify/index.html +14 -11
  24. package/dist/docs-site/docs/guardrails/index.html +14 -11
  25. package/dist/docs-site/docs/index.html +96 -40
  26. package/dist/docs-site/docs/mobile/index.html +56 -18
  27. package/dist/docs-site/docs/model-routing/index.html +14 -11
  28. package/dist/docs-site/docs/product-graph/index.html +14 -11
  29. package/dist/docs-site/docs/product-knowledge/index.html +14 -11
  30. package/dist/docs-site/docs/product-views/index.html +14 -11
  31. package/dist/docs-site/docs/search.js +1 -1
  32. package/dist/docs-site/docs/web-app/index.html +14 -11
  33. package/dist/docs-site/img/wordmark.webp +0 -0
  34. package/dist/docs-site/site-header.css +0 -5
  35. package/dist/forgeqe.js +2225 -1867
  36. package/dist/template.html +14 -14
  37. package/dist/web/assets/{AgentWork-BhepbEeU.js → AgentWork-DwAI0_Of.js} +1 -1
  38. package/dist/web/assets/ApiTests-C0vFSHmM.js +10 -0
  39. package/dist/web/assets/Browse-5jfdtRc5.js +2 -0
  40. package/dist/web/assets/Chat-B3uhI94O.js +3 -0
  41. package/dist/web/assets/{CommandPalette-DMAmXPq1.js → CommandPalette-D2J4nf5y.js} +1 -1
  42. package/dist/web/assets/{Compare-DJNSrM2v.js → Compare-CN75w1p9.js} +1 -1
  43. package/dist/web/assets/{Cost-CEOZgbPs.js → Cost-QoxyjR95.js} +1 -1
  44. package/dist/web/assets/{Data-COFRpcJn.js → Data-BAvkcBVt.js} +4 -4
  45. package/dist/web/assets/Desktop-BXdOIalN.js +1 -0
  46. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +1 -0
  47. package/dist/web/assets/{Evidence-DTrdEz3M.js → Evidence-BJ_I52CD.js} +1 -1
  48. package/dist/web/assets/{Explore-DDXgQj5Q.js → Explore-D9AuyTip.js} +2 -2
  49. package/dist/web/assets/Features-CusGMDR9.js +1 -0
  50. package/dist/web/assets/Flags-CycGFuUP.js +2 -0
  51. package/dist/web/assets/Flaky-BcSzJogN.js +1 -0
  52. package/dist/web/assets/Impact-CJHnyZ21.js +3 -0
  53. package/dist/web/assets/Jobs-4xcFzEFo.js +5 -0
  54. package/dist/web/assets/KindPage-BielEIej.js +6 -0
  55. package/dist/web/assets/Migration-NwanKpJg.js +2 -0
  56. package/dist/web/assets/PageAgent-CNw4NXva.js +1 -0
  57. package/dist/web/assets/Product-DS3LJZ4P.js +7 -0
  58. package/dist/web/assets/Production-D3zsyNIS.js +1 -0
  59. package/dist/web/assets/{Quality-DgNo4H0u.js → Quality-Ctj2YpC4.js} +1 -1
  60. package/dist/web/assets/{Readiness--GiTxFZo.js → Readiness-DGcRr_co.js} +1 -1
  61. package/dist/web/assets/Record-Cc-wGe_Y.js +1 -0
  62. package/dist/web/assets/Regression-DcsbrRa1.js +5 -0
  63. package/dist/web/assets/{Reports-C-NSlVAn.js → Reports-BkCn0-Sf.js} +2 -2
  64. package/dist/web/assets/Response-BP0UwQcW.js +9 -0
  65. package/dist/web/assets/Responsive-C8U7dumd.js +3 -0
  66. package/dist/web/assets/{RunDiff-CIdQD95y.js → RunDiff-BhABuhF_.js} +1 -1
  67. package/dist/web/assets/Runs-OwdWEYBv.js +2 -0
  68. package/dist/web/assets/Steps-BvzbQyoD.js +2 -0
  69. package/dist/web/assets/{TestCases-D-ZRb2N7.js → TestCases-CLq_6JA5.js} +1 -1
  70. package/dist/web/assets/{TestData-kXWCn7uZ.js → TestData-B0oKAhp6.js} +2 -2
  71. package/dist/web/assets/TestDebt-8NLQ5YV_.js +1 -0
  72. package/dist/web/assets/TestManagement-2LYQ7vsN.js +1 -0
  73. package/dist/web/assets/Tosca-DfvMpPTG.js +3 -0
  74. package/dist/web/assets/{WhatsNew-DpJWNec7.js → WhatsNew-BGFNGwqN.js} +1 -1
  75. package/dist/web/assets/families-DYlN5v0i.js +1 -0
  76. package/dist/web/assets/filters-faaSnoIq.js +1 -0
  77. package/dist/web/assets/{fold-BRxvbN9r.js → fold-CUjwWAK3.js} +1 -1
  78. package/dist/web/assets/frame-BLPdAXUq.js +13 -0
  79. package/dist/web/assets/head-CsTxBsO0.js +1 -0
  80. package/dist/web/assets/index-CxiCvGZq.js +78 -0
  81. package/dist/web/assets/index-dOIsrzhD.css +2 -0
  82. package/dist/web/assets/line-icons-CwZWt93L.js +1 -0
  83. package/dist/web/assets/logos-dGuc1jIM.js +1 -0
  84. package/dist/web/assets/{markdown-CWisJbSJ.js → markdown-BI3F-SJ1.js} +5 -5
  85. package/dist/web/assets/paletteCommands-QJiCuUEr.js +1 -0
  86. package/dist/web/assets/parts-CdF1f7yS.js +1 -0
  87. package/dist/web/assets/{productParts-BxdHuSBa.js → productParts-hNLD9fN0.js} +1 -1
  88. package/dist/web/assets/qualityParts-CT25lBWU.js +1 -0
  89. package/dist/web/assets/{recordTest-CcplpTS6.js → recordTest-P792aBUt.js} +1 -1
  90. package/dist/web/index.html +6 -6
  91. package/docs/ForgeQE-Client-Overview.pdf +0 -0
  92. package/docs/ForgeQE-Installation-Guide.pdf +0 -0
  93. package/docs/MOBILE.md +42 -7
  94. package/docs/user-guide.html +65 -12
  95. package/package.json +1 -1
  96. package/prompts/brain.md +1 -0
  97. package/prompts/responsive-review.md +38 -0
  98. package/prompts/responsive-split.md +40 -0
  99. package/prompts/responsive.md +42 -0
  100. package/py/forgeqe_data/connect.py +3 -1
  101. package/py/forgeqe_data/flows.py +1 -1
  102. package/py/forgeqe_data/service.py +1 -1
  103. package/py/forgeqe_data/streams.py +1 -1
  104. package/py/forgeqe_data/testdata.py +1 -1
  105. package/py/forgeqe_desktop/replay.py +43 -1
  106. package/py/forgeqe_desktop/service.py +2 -0
  107. package/py/forgeqe_desktop/workflow.py +77 -15
  108. package/py/forgeqe_engine/brand.py +1 -1
  109. package/py/forgeqe_engine/browser.py +2 -1
  110. package/py/forgeqe_engine/diagnostics.py +1 -1
  111. package/py/forgeqe_engine/memory.py +2 -1
  112. package/py/forgeqe_engine/neutral_log.py +1 -1
  113. package/py/forgeqe_engine/otp.py +127 -12
  114. package/py/forgeqe_engine/pwlaunch.mjs +1 -1
  115. package/py/forgeqe_engine/recordsession.py +13 -3
  116. package/py/forgeqe_engine/webrecord.py +20 -0
  117. package/py/forgeqe_mobile/appium_driver.py +225 -10
  118. package/py/forgeqe_mobile/locators.py +277 -0
  119. package/py/forgeqe_mobile/maestro.py +28 -1
  120. package/py/forgeqe_mobile/magiclink.py +79 -0
  121. package/py/forgeqe_mobile/record.py +284 -67
  122. package/py/forgeqe_mobile/service.py +9 -0
  123. package/py/forgeqe_mobile/webview.py +142 -0
  124. package/py/forgeqe_tosca/ntir.py +45 -6
  125. package/dist/docs-site/LICENSE.ubuntu.txt +0 -96
  126. package/dist/docs-site/img/icons/api.svg +0 -1
  127. package/dist/docs-site/img/icons/architecture.svg +0 -1
  128. package/dist/docs-site/img/icons/branch.svg +0 -1
  129. package/dist/docs-site/img/icons/browser-agent.svg +0 -1
  130. package/dist/docs-site/img/icons/case.svg +0 -1
  131. package/dist/docs-site/img/icons/container.svg +0 -1
  132. package/dist/docs-site/img/icons/context-engine.svg +0 -1
  133. package/dist/docs-site/img/icons/desktop.svg +0 -1
  134. package/dist/docs-site/img/icons/download.svg +0 -1
  135. package/dist/docs-site/img/icons/explorer.svg +0 -1
  136. package/dist/docs-site/img/icons/feature.svg +0 -1
  137. package/dist/docs-site/img/icons/healer.svg +0 -1
  138. package/dist/docs-site/img/icons/knowledge-base.svg +0 -1
  139. package/dist/docs-site/img/icons/mail.svg +0 -1
  140. package/dist/docs-site/img/icons/mobile.svg +0 -1
  141. package/dist/docs-site/img/icons/model.svg +0 -1
  142. package/dist/docs-site/img/icons/network.svg +0 -1
  143. package/dist/docs-site/img/icons/orchestrator.svg +0 -1
  144. package/dist/docs-site/img/icons/plug.svg +0 -1
  145. package/dist/docs-site/img/icons/pr-reviewer.svg +0 -1
  146. package/dist/docs-site/img/icons/replay.svg +0 -1
  147. package/dist/docs-site/img/icons/report.svg +0 -1
  148. package/dist/docs-site/img/icons/result.svg +0 -1
  149. package/dist/docs-site/img/icons/rule.svg +0 -1
  150. package/dist/docs-site/img/icons/scribe.svg +0 -1
  151. package/dist/docs-site/img/icons/shield.svg +0 -1
  152. package/dist/docs-site/img/icons/specs.svg +0 -1
  153. package/dist/docs-site/img/icons/speed.svg +0 -1
  154. package/dist/docs-site/img/icons/stories.svg +0 -1
  155. package/dist/docs-site/img/icons/terminal.svg +0 -1
  156. package/dist/docs-site/img/icons/test-finder.svg +0 -1
  157. package/dist/docs-site/img/icons/visual.svg +0 -1
  158. package/dist/docs-site/img/icons/web.svg +0 -1
  159. package/dist/docs-site/img/icons/wikis.svg +0 -1
  160. package/dist/web/assets/Agent-MlW7cfAm.js +0 -7
  161. package/dist/web/assets/ApiTests-mxUkUZvv.js +0 -10
  162. package/dist/web/assets/Browse-DENLuv4C.js +0 -2
  163. package/dist/web/assets/Chat-jxak1jci.js +0 -3
  164. package/dist/web/assets/Desktop-DGNdy7iS.js +0 -1
  165. package/dist/web/assets/DesktopReview-SdAwvi9y.js +0 -1
  166. package/dist/web/assets/Features-BM5iXhOR.js +0 -1
  167. package/dist/web/assets/Flags-CkKp4bbv.js +0 -2
  168. package/dist/web/assets/Flaky-BqUHVLao.js +0 -1
  169. package/dist/web/assets/Impact-CA6s3POt.js +0 -3
  170. package/dist/web/assets/Jobs-B59p1qvn.js +0 -5
  171. package/dist/web/assets/KindPage-DPADNnwH.js +0 -6
  172. package/dist/web/assets/Migration-DtynahwR.js +0 -2
  173. package/dist/web/assets/PageAgent-CB8HtdGd.js +0 -1
  174. package/dist/web/assets/Product-wWMz2Nnk.js +0 -7
  175. package/dist/web/assets/Production-Nst6__N7.js +0 -1
  176. package/dist/web/assets/Record-a4whC1jV.js +0 -1
  177. package/dist/web/assets/Regression-hesOlN4G.js +0 -5
  178. package/dist/web/assets/RelationGraph-C3Re0M1N.js +0 -1
  179. package/dist/web/assets/Response-CzX2rQEZ.js +0 -9
  180. package/dist/web/assets/Runs-DIDCOhbK.js +0 -2
  181. package/dist/web/assets/Steps-BOWDBzu4.js +0 -2
  182. package/dist/web/assets/TestDebt-BvP3w7ye.js +0 -1
  183. package/dist/web/assets/TestManagement-CphGo9DZ.js +0 -1
  184. package/dist/web/assets/Tosca-dhFuqYxV.js +0 -3
  185. package/dist/web/assets/agentTabs-BO5l3zw2.js +0 -1
  186. package/dist/web/assets/dataParts-DeUdfjjv.js +0 -3
  187. package/dist/web/assets/diff-D1_Qo2h1.js +0 -2
  188. package/dist/web/assets/families-DWilSDct.js +0 -1
  189. package/dist/web/assets/filters-CVzIOjPG.js +0 -1
  190. package/dist/web/assets/frame-VTMu7MoC.js +0 -13
  191. package/dist/web/assets/index-CKRa-K2y.css +0 -2
  192. package/dist/web/assets/index-nuLrB-Rb.js +0 -69
  193. package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
  194. package/dist/web/assets/logos-J6txZkKc.js +0 -1
  195. package/dist/web/assets/paletteCommands-BmYmp6YY.js +0 -1
  196. package/dist/web/assets/parts-CDBCk_Xz.js +0 -1
  197. package/dist/web/assets/qualityParts-CGKSK9Dq.js +0 -1
  198. package/dist/web/assets/rows-yPc39hV7.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -64,6 +64,7 @@ agent:
64
64
  | a bug, orange | Sleuth | `forgeqe-defect-rca` | Finds the root cause of a defect | No |
65
65
  | a funnel, indigo | Polish | `forgeqe-refine` | Turns a request into a task specification | No |
66
66
  | a stack of layers, cobalt | Sorter | `forgeqe-suite-builder` | Builds a test suite from what a person asks, as groups of rules over the project's test cases | No |
67
+ | a screen and a phone side by side, berry | Prism | `forgeqe-responsive` | Plans one instruction as browser steps for each layout (phone, tablet, desktop) of a responsive preview | No |
67
68
  | a target with its centre, sky | Matchmaker | `forgeqe-test-linker` | Links test cases to the automated tests that check them, from their titles, steps, names and files | No |
68
69
  | building blocks, mauve | Smith | `forgeqe-agent-builder` | Works out a custom agent with the user: questions, plan, name | No |
69
70
  | an envelope, plum | Herald | `forgeqe-bug-report` | Drafts a defect in ForgeQE itself from the person's words, and asks what it lacks | No |
@@ -109,32 +110,35 @@ The icons as the shell draws them, each in its agent's colour:
109
110
  ▚▟▙▞ Sleuth ▜██▛ Polish
110
111
  ▜██▛ ▜▛
111
112
 
112
- ▜██▛ Sorter ▟▀▀▙ Matchmaker
113
- ▜██▛ ▜▟▙▛
113
+ ▜██▛ Sorter ██▌█ Prism
114
+ ▜██▛ ▀▛▘█
114
115
 
115
- █ █ Smith █▀▀█ Herald
116
- █ █ ▙▟▙▟
116
+ ▟▀▀▙ Matchmaker █ █ Smith
117
+ ▜▟▙▛ █ █
117
118
 
118
- ▟██▙ Miner ▗█▖▄ BASAL
119
- ▚▄▄▞ ████
119
+ █▀▀█ Herald ▟██▙ Miner
120
+ ▙▟▙▟ ▚▄▄▞
120
121
 
121
- ▟▙ Mask ▗██▖ Librarian
122
- ▟██▙ ▜▛
122
+ ▗█▖▄ BASAL ▟▙ Mask
123
+ ████ ▟██▙
123
124
 
124
- █▖▗█ Skimmer ▐█▙ Gavel
125
- ████ ▄▖▝▙
125
+ ▗██▖ Librarian █▖▗█ Skimmer
126
+ ▜▛ ████
126
127
 
127
- ▄▟▙▄ Scales █ █ Grader
128
- ▙▖ ▙ ▞ ▞
128
+ ▐█▙ Gavel ▄▟▙▄ Scales
129
+ ▄▖▝▙ ▙▖ ▙
129
130
 
130
- ▛▀█▖ Drafter ▀▖▗▀ Mapper
131
- ▙█▄▌ ▄▝▘▄
131
+ █ █ Grader ▛▀█▖ Drafter
132
+ ▞ ▞ ▙█▄▌
132
133
 
133
- ▗▜▛▖ Digger ▞▀▀▚ Clerk
134
- ▝▄▄▙ ▙██▟
134
+ ▀▖▗▀ Mapper ▗▜▛▖ Digger
135
+ ▄▝▘▄ ▝▄▄▙
135
136
 
136
- ▗▚▞▖ Ripple ▛▀▀▜ WebPilot
137
- ▝▞▚▘ ▙▄▄▟
137
+ ▞▀▀▚ Clerk ▗▚▞▖ Ripple
138
+ ▙██▟ ▝▞▚▘
139
+
140
+ ▛▀▀▜ WebPilot
141
+ ▙▄▄▟
138
142
  ```
139
143
  <!-- subagents:end -->
140
144
 
@@ -171,7 +175,7 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
171
175
  | 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) |
172
176
  | 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) |
173
177
  | 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) |
174
- | 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_new_set`, `api_add_calls`, `api_import_collection` | [docs](#api-and-contract-tests) |
178
+ | 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_import_collection` | [docs](#api-and-contract-tests) |
175
179
  | 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) |
176
180
  | Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules (axe-core) and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
177
181
  | 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) |
@@ -185,6 +189,7 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
185
189
  | Automated tests | **Test management**: Plans' test cases, their tests and runs; gaps; suites. | `test_inventory` | [docs](#test-management) |
186
190
  | Quality | **Passive security smoke checks**: Reads what each browser run recorded for missing security headers, weak CSP, unsafe cookie flags, mixed content, open redirects, CORS with credentials, and keys in API answers; nothing is sent to the site. | `security_findings` | [docs](#security-smoke-checks) |
187
191
  | Quality | **Localization checks**: Finds translation keys shown as text, English left on pages in another language, cut-off text, and what breaks with longer pseudo-localized text or right to left, on every page a run visits. | `localization_findings` | [docs](#localization-checks) |
192
+ | Quality | **Responsive check**: Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device. | `responsive_check` | [docs](#responsive-preview) |
188
193
  | Operations | **Production errors and the tests that cover them**: Reads the errors users hit in production from Sentry, Datadog and Application Insights, grouped by page, and says which have no test reproducing them; read only. | `production_errors` | [docs](#production-errors) |
189
194
  | Operations | **Model cost and usage**: Adds up what the project's model calls cost by agent, origin, job, model and day, with tokens of unknown price apart, the model router's picks, and each regression pack's cost per run. | `model_cost` | [docs](#model-cost) |
190
195
  | Operations | **Scheduled monitoring with alerts**: Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers. | `monitor` | [docs](#9-monitoring) |
@@ -2118,15 +2123,15 @@ of your own are approved, and an unapproved one is refused here exactly as it is
2118
2123
  hook and wdio-video-reporter for WebdriverIO) and ForgeQE checks the project for it, setting it up again when it is
2119
2124
  missing. Selenium has no video recorder: its tests keep failure screenshots only.
2120
2125
 
2121
- Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Tosca page of `forgeqe web`
2122
- (sidebar, Test) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
2126
+ Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Migration page of `forgeqe web`
2127
+ (New, then the *Tosca* source) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
2123
2128
  the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
2124
2129
  with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
2125
2130
  Run tests again for all of them or Run for one suite, each test case's
2126
2131
  Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
2127
2132
  happens.
2128
2133
 
2129
- **Guide.** The Tosca page opens on its Agent tab: say in your words what to migrate ("checkout.tsu to
2134
+ **Guide.** Tosca exports are migrated on the Migration page of `forgeqe web`, listed with every other migration under its Migrations tab. New, then the *Tosca* source, offers *Help me choose*: say in your words what to migrate ("checkout.tsu to
2130
2135
  Playwright in TypeScript on QA, into e2e/tosca") and the assistant asks only what it still needs, one thing at a time:
2131
2136
  the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
2132
2137
  offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
@@ -4301,6 +4306,14 @@ Every browser run keeps, besides its API calls, each page it loaded with that pa
4301
4306
 
4302
4307
  With accessibility checks on (the default), each page a browser run visits is checked for its language: translation keys shown as text (`checkout.button.pay`, `{{name}}`, "missing translation"), English left on a page whose `lang` is another language, and text cut off or running past its box. Then, for a moment the run never sees, the page is shown with pseudo-localized text (accented and a third longer) and right to left, measured and captured, and put back. `localization_findings` (and Quality › Localization) lists what each page showed and what breaks only once text grows or is mirrored. Run a flow once in each language your site has.
4303
4308
 
4309
+ ### Responsive preview
4310
+
4311
+ The **Responsive** page (Specialised testing) opens one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer. Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or `pointer: coarse` lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The address starts as the active environment's web app.
4312
+
4313
+ - **Use one device:** click, scroll and type on its pane; Show larger opens it bigger.
4314
+ - **Synced control:** one instruction ("Open the pricing page", "Search for red shoes") done on every device. ForgeQE reads each layout's screen first and plans for each (a phone's menu is often behind a button a desktop does not have), then says per device how many steps ran and why one stopped. Without a model, only plain commands work (click …, scroll down, go back, press Enter). It never runs on a site of an environment named like production.
4315
+ - `responsive_check` (or "does the checkout work on phones?") opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in `responsive-<time>/` in the reports folder. It clicks and types nothing.
4316
+
4304
4317
  ### Production errors
4305
4318
 
4306
4319
  `production_errors` (and the **Production signals** page) reads the errors real users hit in the last 14 days from Sentry (`integrations.sentry`), Datadog (`integrations.datadog`) and Azure Application Insights (`integrations.appinsights`), groups them by page, and says which browser run or automated test already reaches each page, or that no test does. It only reads. Record a repro opens the Record page at the same page on the active test environment. Keys are environment variables named in forgeqe.yaml, saved in Settings.
package/bin/bundle.js CHANGED
@@ -51,8 +51,8 @@ export function readTar(input) {
51
51
  const name = cStr(block, 0, 100)
52
52
  const prefix = cStr(block, 345, 155)
53
53
  const full = prefix ? `${prefix}/${name}` : name
54
- const mode = parseInt(cStr(block, 100, 8).trim() || "0", 8) || 0
55
- const size = parseInt(cStr(block, 124, 12).trim() || "0", 8) || 0
54
+ const mode = Number.parseInt(cStr(block, 100, 8).trim() || "0", 8) || 0
55
+ const size = Number.parseInt(cStr(block, 124, 12).trim() || "0", 8) || 0
56
56
  const type = String.fromCharCode(block[156] || 0)
57
57
  const start = off + 512
58
58
  const data = buf.subarray(start, start + size)
@@ -99,7 +99,7 @@ export function sha256(buf) {
99
99
  * of. Phase 3 may replace this with a signed object-storage URL from the license service.
100
100
  */
101
101
  export function bundleUrl(repo, tag, version, env = process.env) {
102
- const mirror = (env.FORGEQE_GITHUB_MIRROR || "").trim().replace(/\/+$/, "")
102
+ const mirror = (env.FORGEQE_GITHUB_MIRROR || "").trim().replace(/(?<!\/)\/+$/, "")
103
103
  const base = /^https:\/\//i.test(mirror) ? mirror : "https://github.com"
104
104
  return `${base}/${repo}/releases/download/${tag}/${bundleAsset(version)}`
105
105
  }
package/bin/forgeqe.js CHANGED
@@ -156,7 +156,7 @@ async function download(url) {
156
156
  async function installBun() {
157
157
  const asset = bunAsset();
158
158
  if (!asset) throw new Error(`no Bun build for ${process.platform}/${process.arch}`);
159
- const mirror = (process.env.FORGEQE_GITHUB_MIRROR || "").trim().replace(/\/+$/, "");
159
+ const mirror = (process.env.FORGEQE_GITHUB_MIRROR || "").trim().replace(/(?<!\/)\/+$/, "");
160
160
  const base = `${/^https:\/\//i.test(mirror) ? mirror : "https://github.com"}/oven-sh/bun/releases/download/bun-v${BUN_VERSION}`;
161
161
  process.stderr.write(`forgeqe: downloading Bun ${BUN_VERSION} (${asset}) into ${toolsDir()} (one time)...\n`);
162
162
  const [zip, sums] = await Promise.all([download(`${base}/${asset}`), download(`${base}/SHASUMS256.txt`)]);
@@ -233,7 +233,7 @@ async function runActivate() {
233
233
  cfg = JSON.parse(readFileSync(path.join(root, "package.json"), "utf8")).bundle || {};
234
234
  } catch {}
235
235
  const home = forgeqeHome();
236
- const licenseUrl = (process.env.FORGEQE_LICENSE_URL || cfg.licenseUrl || DEFAULT_LICENSE_URL || "").replace(/\/+$/, "");
236
+ const licenseUrl = (process.env.FORGEQE_LICENSE_URL || cfg.licenseUrl || DEFAULT_LICENSE_URL || "").replace(/(?<!\/)\/+$/, "");
237
237
  if (!licenseUrl) {
238
238
  console.error("forgeqe: no licence service is configured.");
239
239
  return 1;
@@ -262,7 +262,7 @@ async function bundleRoot() {
262
262
  // Gated mode: when a licence service is configured, the bundle is fetched THROUGH it with an activation token
263
263
  // (design/forgeqe-gated-distribution-rfc.md §3–§4). Activation happens lazily, only if a download is actually needed
264
264
  // (resolveBundleRoot returns early when the bundle is already present), so a cached bundle never forces a round-trip.
265
- const licenseUrl = (process.env.FORGEQE_LICENSE_URL || cfg.licenseUrl || DEFAULT_LICENSE_URL || "").replace(/\/+$/, "");
265
+ const licenseUrl = (process.env.FORGEQE_LICENSE_URL || cfg.licenseUrl || DEFAULT_LICENSE_URL || "").replace(/(?<!\/)\/+$/, "");
266
266
  if (licenseUrl) {
267
267
  const command = process.argv[2];
268
268
  let token;
package/bin/license.js CHANGED
@@ -81,7 +81,7 @@ function storeToken(home, token) {
81
81
  }
82
82
 
83
83
  async function postActivate(url, key, mid, fetchImpl) {
84
- const res = await fetchImpl(`${url.replace(/\/+$/, "")}/activate`, {
84
+ const res = await fetchImpl(`${url.replace(/(?<!\/)\/+$/, "")}/activate`, {
85
85
  method: "POST",
86
86
  headers: { "content-type": "application/json" },
87
87
  body: JSON.stringify({ key, machine_id: mid }),
@@ -1,11 +1,18 @@
1
1
  # Credits
2
2
 
3
- The docs pages of ForgeQE, as on https://forgeqe.github.io/docs/. The pixel icons in img/ are ForgeQE's own.
3
+ The docs pages of ForgeQE, as on https://forgeqe.github.io/docs/.
4
4
 
5
- ## Fonts (Ubuntu Font Licence 1.0)
5
+ ## Icons (MIT)
6
6
 
7
- Ubuntu and Ubuntu Mono (https://design.ubuntu.com/font/), from @fontsource/ubuntu 5.1.0 and @fontsource/ubuntu-mono
8
- 5.1.0, inside docs/docs.css. The licence text is in LICENSE.ubuntu.txt.
7
+ The icons of each page and the architecture map are the web app's (web/src/flatIcons.ts): Phosphor Duotone from
8
+ @iconify-json/ph, and a few of ForgeQE's own drawn to match it. Phosphor by Phosphor Icons
9
+ (https://github.com/phosphor-icons/core), under the MIT licence: https://github.com/phosphor-icons/core/blob/main/LICENSE
10
+
11
+ ## Fonts (SIL Open Font License 1.1)
12
+
13
+ DM Sans (https://github.com/googlefonts/dm-fonts) and JetBrains Mono (https://github.com/JetBrains/JetBrainsMono), from
14
+ @fontsource/dm-sans and @fontsource/jetbrains-mono as the web app locks them, inside app-look.css. The licence texts are
15
+ in LICENSE.dm-sans.txt and LICENSE.jetbrains-mono.txt.
9
16
 
10
17
  ## Icons (ISC)
11
18
 
@@ -0,0 +1,93 @@
1
+ Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts) DMSans-Italic[opsz,wght].ttf: Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.