@capagents/forgeqe 3.1.1 → 3.1.2

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 (247) hide show
  1. package/HOW_TO_USE.md +435 -78
  2. package/README.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +210 -1
  4. package/dist/docs-site/CREDITS.md +6 -0
  5. package/dist/docs-site/architecture-map/index.html +1 -1
  6. package/dist/docs-site/docs/app-theme.css +100 -8
  7. package/dist/docs-site/docs/architecture/index.html +210 -214
  8. package/dist/docs-site/docs/area-api/index.html +350 -0
  9. package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
  10. package/dist/docs-site/docs/area-browser/index.html +430 -0
  11. package/dist/docs-site/docs/area-data/index.html +605 -0
  12. package/dist/docs-site/docs/area-desktop/index.html +755 -0
  13. package/dist/docs-site/docs/area-mobile/index.html +631 -0
  14. package/dist/docs-site/docs/area-operations/index.html +1069 -0
  15. package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
  16. package/dist/docs-site/docs/area-quality/index.html +365 -0
  17. package/dist/docs-site/docs/area-release/index.html +320 -0
  18. package/dist/docs-site/docs/area-setup/index.html +1192 -0
  19. package/dist/docs-site/docs/area-systems/index.html +207 -0
  20. package/dist/docs-site/docs/area-test-cases/index.html +694 -0
  21. package/dist/docs-site/docs/containers/index.html +97 -104
  22. package/dist/docs-site/docs/cost-architecture/index.html +108 -112
  23. package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
  24. package/dist/docs-site/docs/desktop/index.html +172 -162
  25. package/dist/docs-site/docs/desktop-ci/index.html +26 -33
  26. package/dist/docs-site/docs/evidence/index.html +253 -257
  27. package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
  28. package/dist/docs-site/docs/get-started/index.html +495 -0
  29. package/dist/docs-site/docs/graphify/index.html +42 -46
  30. package/dist/docs-site/docs/guardrails/index.html +17 -21
  31. package/dist/docs-site/docs/index.html +17 -6729
  32. package/dist/docs-site/docs/mobile/index.html +155 -162
  33. package/dist/docs-site/docs/model-routing/index.html +44 -51
  34. package/dist/docs-site/docs/overview/index.html +176 -0
  35. package/dist/docs-site/docs/product-graph/index.html +52 -55
  36. package/dist/docs-site/docs/product-knowledge/index.html +11 -15
  37. package/dist/docs-site/docs/product-views/index.html +53 -57
  38. package/dist/docs-site/docs/reference/index.html +379 -0
  39. package/dist/docs-site/docs/search.js +1 -1
  40. package/dist/docs-site/docs/using/index.html +480 -0
  41. package/dist/docs-site/docs/web-app/index.html +147 -93
  42. package/dist/docs-site/security/index.html +930 -0
  43. package/dist/docs-site/security/security-theme.css +161 -0
  44. package/dist/docs-site/security/security.js +1465 -0
  45. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  46. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  47. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  48. package/dist/forgeqe.js +1902 -1895
  49. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  50. package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
  51. package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
  52. package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
  53. package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
  54. package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
  55. package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
  56. package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
  57. package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
  58. package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
  59. package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
  60. package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
  61. package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
  62. package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
  63. package/dist/web/assets/Features-CQzNo_WP.js +1 -0
  64. package/dist/web/assets/Flags-0-RniPJm.js +2 -0
  65. package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
  66. package/dist/web/assets/Impact-CfccsL_k.js +3 -0
  67. package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
  68. package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
  69. package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
  70. package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
  71. package/dist/web/assets/Product-nYV_scOV.js +7 -0
  72. package/dist/web/assets/Production-CGSbEWVa.js +1 -0
  73. package/dist/web/assets/Quality-BIypojZm.js +1 -0
  74. package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
  75. package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
  76. package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
  77. package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
  78. package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
  79. package/dist/web/assets/Response-mhBThq2b.js +9 -0
  80. package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
  81. package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
  82. package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
  83. package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
  84. package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
  85. package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
  86. package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
  87. package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
  88. package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
  89. package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
  90. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
  91. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  92. package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
  93. package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
  94. package/dist/web/assets/diff-BStuTmsN.js +2 -0
  95. package/dist/web/assets/families-BBFFrUlo.js +1 -0
  96. package/dist/web/assets/filters-CnAMr286.js +1 -0
  97. package/dist/web/assets/fold-D_O_VZui.js +1 -0
  98. package/dist/web/assets/head-CRo48rPt.js +1 -0
  99. package/dist/web/assets/highlight-BcFZIf59.js +4 -0
  100. package/dist/web/assets/index-B3JsM7tv.js +64 -0
  101. package/dist/web/assets/index-CafApcbZ.css +2 -0
  102. package/dist/web/assets/input-CtzK50ZF.js +1 -0
  103. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  104. package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
  105. package/dist/web/assets/logos-D4oVWzqa.js +1 -0
  106. package/dist/web/assets/palette-DAaGSao7.js +1 -0
  107. package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
  108. package/dist/web/assets/parts-D357Wolo.js +1 -0
  109. package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
  110. package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
  111. package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
  112. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  113. package/dist/web/assets/route-BloYJWgw.js +1 -0
  114. package/dist/web/index.html +12 -6
  115. package/docs/ARCHITECTURE.md +1 -1
  116. package/docs/BASAL.md +1 -1
  117. package/docs/DESKTOP.md +20 -1
  118. package/docs/EVIDENCE.md +1 -1
  119. package/docs/MOBILE.md +4 -4
  120. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  121. package/docs/WEB_APP.md +114 -51
  122. package/docs/user-guide.html +404 -81
  123. package/forgeqe.example.yaml +3 -3
  124. package/package.json +1 -1
  125. package/prompts/page-differs.md +1 -1
  126. package/prompts/requests-rule.md +1 -1
  127. package/prompts/test-reviewer.md +1 -1
  128. package/prompts/test-rules.md +3 -4
  129. package/skills/web-guidance/LICENSE +202 -0
  130. package/skills/web-guidance/SKILL.md +76 -0
  131. package/skills/web-guidance/UPSTREAM +67 -0
  132. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  133. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  134. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  135. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  136. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  137. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  138. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  139. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  140. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  141. package/skills/web-guidance/references/forms/forms.md +415 -0
  142. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  143. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  144. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  145. package/skills/web-guidance/references/forms/slider.md +184 -0
  146. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  147. package/skills/web-guidance/references/forms/switch.md +60 -0
  148. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  149. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  150. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  151. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  152. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  153. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  154. package/skills/web-guidance/references/performance/performance.md +384 -0
  155. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  156. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  157. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  158. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  159. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  160. package/skills/web-guidance/references/security/passkeys.md +39 -0
  161. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  162. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  163. package/skills/web-guidance/references/security/security.md +390 -0
  164. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  165. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  166. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  167. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  168. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  169. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  170. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  171. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  172. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  173. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  174. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  175. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  176. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  177. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  178. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  179. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  180. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  181. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  182. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  183. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  184. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  185. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  186. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  187. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  188. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  189. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  190. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  191. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  192. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  193. package/skills/web-guidance/references/visual-design/color.md +43 -0
  194. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  195. package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
  196. package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
  197. package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
  198. package/dist/web/assets/Chat-B3uhI94O.js +0 -3
  199. package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
  200. package/dist/web/assets/Compare-CN75w1p9.js +0 -1
  201. package/dist/web/assets/Cost-QoxyjR95.js +0 -1
  202. package/dist/web/assets/Data-BAvkcBVt.js +0 -6
  203. package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
  204. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
  205. package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
  206. package/dist/web/assets/Explore-D9AuyTip.js +0 -2
  207. package/dist/web/assets/Features-CusGMDR9.js +0 -1
  208. package/dist/web/assets/Flags-CycGFuUP.js +0 -2
  209. package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
  210. package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
  211. package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
  212. package/dist/web/assets/KindPage-BielEIej.js +0 -6
  213. package/dist/web/assets/Migration-NwanKpJg.js +0 -2
  214. package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
  215. package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
  216. package/dist/web/assets/Production-D3zsyNIS.js +0 -1
  217. package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
  218. package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
  219. package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
  220. package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
  221. package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
  222. package/dist/web/assets/Response-BP0UwQcW.js +0 -9
  223. package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
  224. package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
  225. package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
  226. package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
  227. package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
  228. package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
  229. package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
  230. package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
  231. package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
  232. package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
  233. package/dist/web/assets/families-DYlN5v0i.js +0 -1
  234. package/dist/web/assets/filters-faaSnoIq.js +0 -1
  235. package/dist/web/assets/fold-CUjwWAK3.js +0 -1
  236. package/dist/web/assets/frame-BLPdAXUq.js +0 -13
  237. package/dist/web/assets/head-CsTxBsO0.js +0 -1
  238. package/dist/web/assets/index-CxiCvGZq.js +0 -78
  239. package/dist/web/assets/index-dOIsrzhD.css +0 -2
  240. package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
  241. package/dist/web/assets/logos-dGuc1jIM.js +0 -1
  242. package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
  243. package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
  244. package/dist/web/assets/parts-CdF1f7yS.js +0 -1
  245. package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
  246. package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
  247. package/dist/web/assets/recordTest-P792aBUt.js +0 -1
@@ -424,6 +424,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
424
424
  </thead>
425
425
  <tbody>
426
426
  <tr><td><strong>Google Chrome</strong></td><td>Used when installed; otherwise ForgeQE installs Chromium. Or set <code>browser.provider</code> to BrowserStack or TestMu AI/LambdaTest</td></tr>
427
+ <tr><td><strong>A microphone</strong></td><td>To talk to ForgeQE in the web app (Talk), after the one-time speech setup in Settings › Voice</td></tr>
427
428
  <tr><td><strong>A repo with tests</strong></td><td>Where passed runs become tests (<code>--repo</code>, or <code>code.repo</code>); without one, tests go in the current folder</td></tr>
428
429
  <tr><td><strong>Jira, Azure DevOps, Xray, TestRail, Zephyr Scale, qTest, Confluence</strong></td><td>Sources of test cases and requirements, and where results go back</td></tr>
429
430
  <tr><td><strong><code>gh</code> or <code>az</code></strong></td><td>For pipelines: pushing, secrets, and triggering runs</td></tr>
@@ -479,7 +480,7 @@ forgeqe --help
479
480
  <p>Set up the ForgeQE engine once (the first live run does it automatically if you skip this):</p>
480
481
  <pre><code class="language-bash">forgeqe setup
481
482
  </code></pre>
482
- <p>It creates <code>~/.forgeqe/engine/.venv</code>, installs the engine's Python libraries, and prints the Python, the engine version, the browser it found, and the agent runtime. Google Chrome is used when installed; otherwise Chromium is installed. <code>forgeqe setup --force</code> rebuilds the environment.</p>
483
+ <p>It creates <code>~/.forgeqe/engine/.venv</code>, installs the engine's Python libraries, and prints the Python, the engine version, the browser it found, and the agent runtime. Google Chrome is used when installed; otherwise Chromium is installed. <code>forgeqe setup --force</code> rebuilds the environment. When <code>mobile:</code> runs apps on a device on this computer, it also installs Appium and its drivers (as <code>forgeqe mobile setup</code> does).</p>
483
484
  </div>
484
485
  <section class="doc sub" id="doc-how_to_use-updating"><h4>Updating</h4><div class="prose"><pre><code class="language-bash">forgeqe update # every forgeqe on PATH to the latest release
485
486
  forgeqe update --check # show what would change and the commands it would run
@@ -528,9 +529,9 @@ bun src/index.ts --help
528
529
  </section>
529
530
  <section class="doc" id="doc-how_to_use-2-scaffold-config">
530
531
  <h3>Scaffold config</h3>
531
- <div class="prose"><pre><code class="language-bash">bun src/index.ts init
532
+ <div class="prose"><pre><code class="language-bash">forgeqe init
532
533
  # or
533
- bun src/index.ts init --global --profile azure-gpt4o
534
+ forgeqe init --global --profile azure-gpt4o
534
535
  </code></pre>
535
536
  <p>Edit <code>llms.json</code> endpoints, then give ForgeQE the keys its profiles name (<code>WP_AZURE_API_KEY</code>, <code>OPENAI_API_KEY</code>, <code>WP_API_KEY</code>): <code>forgeqe auth login &lt;NAME&gt;</code> saves one in your system's credential store, or put them in a <code>.env</code> next to <code>forgeqe.yaml</code>; the engine process inherits them.</p>
536
537
  </div>
@@ -633,6 +634,7 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
633
634
  <tr><td><code>GitHub Copilot runs through the ForgeQE engine, which is not set up</code> (or <code>could not be set up (…)</code>)</td><td>Run <code>forgeqe setup</code>; the reason in brackets says what failed.</td></tr>
634
635
  <tr><td>Copilot is slow, or a run waits on it (&quot;Starting the browser…&quot;, &quot;working out the first step…&quot;)</td><td><code>~/.forgeqe/logs/copilot-gateway.log</code> has a line for each Copilot request: when it started, Copilot's session, when each turn ended, and how long it took. It never holds prompts, replies or tokens. A turn that ends without Copilot saying it is idle (a known Copilot SDK issue) is answered 5 seconds later instead of after the 5-minute limit, and a session the run no longer needs (Stop, an error) is stopped.</td></tr>
635
636
  <tr><td><code>CERTIFICATE_VERIFY_FAILED</code> while downloading Copilot's runtime</td><td>Your network inspects HTTPS. Update ForgeQE and run <code>forgeqe setup</code>, then sign in again: it uses the certificates your computer trusts (see <a href="../HOW_TO_USE.md#company-networks">Company networks</a>). If it still fails, run <code>forgeqe doctor</code> and send its output to IT.</td></tr>
637
+ <tr><td><code>The model ended its turn without a reply, also after being asked to carry on.</code></td><td>The model (most often a Copilot one) ended a step with no words and no tool call; ForgeQE asked it twice to carry on. Ask again or say &quot;continue&quot;; if it keeps happening, pick another model in the chat's model menu.</td></tr>
636
638
  </tbody>
637
639
  </table></div>
638
640
  </div></section>
@@ -708,7 +710,7 @@ sentence rests on what it took in, and a rubric a judge scores; the rubric's mis
708
710
  people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
709
711
  once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
710
712
  &quot;not known&quot;, never a pass. <a href="../docs/EVIDENCE.md#the-contract">docs/EVIDENCE.md</a> has the format.</p>
711
- <p>In <code>forgeqe web</code> the <strong>Evidence</strong> group has the Overview (each agent), Agent runs (each run as a timeline, with its
713
+ <p>In <code>forgeqe web</code> the <strong>AI Assurance</strong> category has the Overview (each agent), Agent runs (each run as a timeline, with its
712
714
  verdict) and Contracts (each contract, and how well each check is measured).
713
715
  <a href="../docs/EVIDENCE.md">docs/EVIDENCE.md</a> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
714
716
  </div></section>
@@ -812,6 +814,7 @@ one question at a time when cases run side by side.</p>
812
814
  <p>Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
813
815
  <p>With a visible browser (<code>headless: false</code> or <code>--headed</code>), ForgeQE opens on its own start page, and every page it drives gets a glowing edge and a bar along the bottom showing, in plain words, what the step is for and what the agent is doing (&quot;Step 19 · Check whether the results can be sorted by Fastest · Looking through the page's buttons&quot;). Your mouse and keyboard are locked while the agent thinks and unlocked while it clicks and types, so a stray click can't change the test. None of this appears in the screenshots the model sees or in the report. <code>overlay: false</code> turns it off. <code>forgeqe login &lt;name&gt;</code> shows the same bar without the lock, since you are the one signing in.</p>
814
816
  <p>A visible browser opens maximized. <code>window: viewport</code> opens it at <code>viewport</code>'s width and height instead; a headless page is always that size (1280×800 by default). Each run is recorded to <code>video.mp4</code> in its run folder, and the report plays it on the run's page; <code>video: false</code> turns recording off. The video needs packages that <code>forgeqe setup</code> adds to the engine (an engine set up before this version gets them on its next run).</p>
817
+ <p><code>local_browser</code> picks the browser on this computer: <code>auto</code> (the default) starts installed Chrome, then Microsoft Edge, then Playwright's Chromium when one does not start; <code>chrome</code>, <code>edge</code> or <code>chromium</code> starts that one only. <code>launch</code> says how: <code>auto</code> (the default) starts it directly and, when this computer stops a browser started that way, through ForgeQE's Playwright, and remembers what worked; <code>direct</code> or <code>playwright</code> only that way; <code>attach</code> connects to a browser you started on this computer with <code>--remote-debugging-port</code>, on <code>attach_port</code> (for example 9222). When the browser does not start, <code>forgeqe doctor browser</code> tries each way and writes a report of what stops it.</p>
815
818
  <p><code>start_url</code> is optional. Leave it out and the agent picks the site from the goal; ForgeQE never guesses a URL from the goal text. <code>allowed_hosts</code> empty allows every host. Set <code>[&quot;example.com&quot;]</code> to keep the browser on that domain and its subdomains. <code>prompts.step_instruction</code> is appended to the engine's system prompt; the lines of <code>prompts.guiderails</code> are guardrails for every agent (see Guardrails above).</p>
816
819
  </div></section>
817
820
  </section>
@@ -856,6 +859,8 @@ Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make i
856
859
  </thead>
857
860
  <tbody>
858
861
  <tr><td><code>/stop</code></td><td>Stop what is running (or press Esc)</td></tr>
862
+ <tr><td><code>/record [app|url]</code></td><td>Do the steps of a web test yourself in a browser; ForgeQE records them, then writes the test (see <a href="#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
863
+ <tr><td><code>/paste</code></td><td>Attach the picture on the clipboard (a screenshot) to your next message</td></tr>
859
864
  <tr><td><code>/rerun [last|run]</code></td><td>Run a passed run again as recorded, without ForgeQE's agent (the last one, a run folder, or its goal)</td></tr>
860
865
  <tr><td><code>/headed on|off</code></td><td>Show the browser window (live profiles)</td></tr>
861
866
  <tr><td><code>/theme light|dark|auto</code></td><td>Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td></tr>
@@ -1017,24 +1022,41 @@ Summary: Show the deployed build in each environment, and why each deployment fa
1017
1022
  <p>In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc cancels, and a mouse click works too. <code>esc stop</code> and <code>ctrl+c close</code> in the bar under the prompt are also clickable. <strong>Stop and close</strong> waits until the browser has shut down and the run's files are saved, then closes ForgeQE.</p>
1018
1023
  </div></section>
1019
1024
  <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
1020
- activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
1021
- quality, data, runs, reports, schedules and agent evidence; and every setting as a form, with keys kept in your credential store. It
1025
+ activity, and the results (tests, reports, diffs) as they happen; pages for test management, recording, migration,
1026
+ regression, API tests, quality, data, runs, reports, jobs and AI assurance; and every setting as a form, with keys kept in your credential store. It
1022
1027
  listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
1023
1028
  <pre><code class="language-bash">forgeqe web # a free port, opened in your browser
1024
1029
  forgeqe web --port 4711 # a fixed port
1025
1030
  forgeqe web --no-open # only print the address
1026
1031
  </code></pre>
1027
- <p>The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
1028
- as <code>forgeqe init</code>), what this computer needs, and a model. See <a href="../docs/WEB_APP.md">docs/WEB_APP.md</a> for every page.</p>
1029
- <p><strong>Talk to it.</strong> Click the sound wave beside Refine, on Home or in a chat, and talk: Atlas listens, answers aloud as
1030
- it writes, and stops the moment you talk over it. There is nothing to hold; it hears when you have finished. The chat is
1031
- the conversation: what you say appears as your message and Atlas's reply streams in as usual. From Home, your first
1032
- words start the chat and open it. Ask for work (&quot;run the checkout tests on QA&quot;) and keep talking while it runs: say &quot;use
1033
- staging instead&quot; and the work changes course. Its questions are read out with their options: say one (&quot;the second
1034
- one&quot;), then yes. It can open pages for you (&quot;open settings&quot;); a small strip in the corner then takes you back to the
1035
- chat or ends the talk. Code, tables, links and file paths stay on the screen. Speech runs on this computer only:
1036
- Settings › Voice sets it up once (open speech models, after you agree to the size), and nothing but the words reaches
1037
- your model, as typed words do. English only for now; choose there how long it waits when you pause.</p>
1032
+ <p>The first time, it opens onboarding: a guided tour through Set up (the project folder, its repository, which ForgeQE can
1033
+ clone, ForgeQE in it, what this computer needs, the features to download, and a model), then Models, Product knowledge
1034
+ and Appearance, each of which can be skipped. See <a href="../docs/WEB_APP.md">docs/WEB_APP.md</a> for every page.</p>
1035
+ <p><strong>Talk to it.</strong> Click <strong>Talk</strong> at the foot of the right panel, on any page, or the sound wave beside Refine on Home or
1036
+ in a chat, and talk: Atlas listens, answers aloud as it writes, and stops the moment you talk over it (a cough does not
1037
+ stop it). There is nothing to hold; it hears when you have finished. The chat is the conversation: what you say appears
1038
+ as your message and Atlas's reply streams in as usual. Started in a chat, Talk talks in that chat. Started anywhere
1039
+ else, your first words start a new chat in the background and you stay on your page; a small strip in the corner shows
1040
+ the last thing said, with <strong>Open the chat</strong> and <strong>End</strong>. Open another chat and Talk carries on in it; open Home and
1041
+ your next words start a new one. Ask for work (&quot;run the checkout tests on QA&quot;) and keep talking while it runs: say &quot;use
1042
+ staging instead&quot; and the work changes course. Its questions are read out: a yes-or-no question takes a plain yes or
1043
+ no; for the others, say an option by its name or place (&quot;the second one&quot;), then yes. A question with more than six
1044
+ options, or one that names production, stays on the screen for a click. Code, tables, links and file paths stay on the
1045
+ screen. Speech runs on this computer only: Settings › Voice sets it up once (open speech models, after you agree to the
1046
+ size), and nothing but the words reaches your model, as typed words do. English only for now; choose there how long it
1047
+ waits when you pause.</p>
1048
+ <p><strong>While it works.</strong> Talk says which step Atlas is on, and &quot;Still on it&quot; when a step takes long. Say &quot;wait&quot; or &quot;hold
1049
+ on&quot; and it stops speaking and holds the work before its next step; say &quot;go on&quot;, or anything new, and it carries on.
1050
+ Talking over Atlas never stops the work; the chat's <strong>Stop</strong> does. A nod (&quot;yeah&quot;, &quot;right&quot;) over it lets it finish what
1051
+ it was saying. A change you say during a long step is taken in when that step ends, and Talk tells you so. It reads
1052
+ the first three items of a list, then says how many more are on the screen. When it is free, it tells you when work
1053
+ elsewhere in the app has finished or needs your answer.</p>
1054
+ <p><strong>On the page.</strong> While Talk is on, Atlas can open a page (&quot;open regression packs&quot;), switch between light and dark,
1055
+ open or close the sidebar, show or hide a chat's browser, and end the talk when you ask. It can read the page you are
1056
+ on and use its links, tabs, filters, search boxes and text fields. It changes a setting or presses a button only after
1057
+ it asks (&quot;Press Run?&quot;) and you say yes; anything else is a no. It never uses a password, secret, token or key field,
1058
+ the Secrets section, or anything that names production. A conversation that only moves around the app like this is
1059
+ not listed under Chats; it becomes a chat there once Atlas starts real work, named by that request.</p>
1038
1060
  <p><strong>Found a problem in ForgeQE itself?</strong> Settings › Report a problem. ForgeQE picks the recent session that went wrong
1039
1061
  and reads its log for what was run and ForgeQE's own errors; the bug reporter (<code>forgeqe-bug-report</code>) drafts the bug from
1040
1062
  that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
@@ -1079,10 +1101,14 @@ forgeqe run &quot;Run the cases in smoke.yaml and don't post results&quot; --pla
1079
1101
  <tr><th><code>type</code></th><th>Fields</th><th>Meaning</th></tr>
1080
1102
  </thead>
1081
1103
  <tbody>
1082
- <tr><td><code>message</code></td><td><code>id</code> (your turn id), <code>text</code></td><td>A new user message. Refused with <code>error</code> <code>busy</code> while a turn runs</td></tr>
1104
+ <tr><td><code>message</code></td><td><code>id</code> (your turn id), <code>text</code>; optional <code>voice</code> (<code>true</code>: the words were said aloud) and <code>note</code> (one line for the agent only, never shown or echoed)</td><td>A new user message. Refused with <code>error</code> <code>busy</code> while a turn runs</td></tr>
1083
1105
  <tr><td><code>answer</code></td><td><code>id</code> (from an <code>ask</code>), <code>choice</code> (an option id, or <code>null</code> to cancel)</td><td>Answers the pending question</td></tr>
1084
1106
  <tr><td><code>continue</code></td><td><code>id</code> (from a <code>wait</code>), <code>ok</code> (<code>true</code> = Done, continue; <code>false</code> = Cancel)</td><td>Ends the pending wait</td></tr>
1085
- <tr><td><code>stop</code></td><td></td><td>Stops the running turn (Esc or <code>/stop</code> in the shell). Nothing when idle</td></tr>
1107
+ <tr><td><code>steer</code></td><td><code>id</code> (yours), <code>text</code> (at most 4000 characters), optional <code>note</code></td><td>A change of plan into the running turn: the agent reads it before its next step and the turn goes on. Answered with <code>steered</code>; <code>error</code> <code>idle</code> when no turn runs (send a <code>message</code>), <code>not_steered</code> when the turn ended before it reached the agent</td></tr>
1108
+ <tr><td><code>pause</code> / <code>resume</code></td><td></td><td>Holds the running turn before its next tool call, or lets it go on. Answered with <code>paused</code> or <code>resumed</code>; <code>error</code> <code>idle</code> when nothing runs or is paused</td></tr>
1109
+ <tr><td><code>warm</code></td><td></td><td>Opens the agent now, so the first message is answered sooner. Nothing is written back</td></tr>
1110
+ <tr><td><code>screen</code></td><td><code>id</code> (the read it answers), <code>text</code></td><td>The page's text for the agent's <code>read_screen</code>, for a web app. <code>error</code> <code>unknown_id</code> when no read waits</td></tr>
1111
+ <tr><td><code>stop</code></td><td>optional <code>safe</code> (<code>true</code>)</td><td>Stops the running turn (Esc or <code>/stop</code> in the shell). Nothing when idle. With <code>safe</code>, a step that is not safe to cut off finishes first: <code>stopping</code> names it, then the turn stops</td></tr>
1086
1112
  <tr><td><code>settings</code></td><td><code>headed</code> and/or <code>writeTests</code> (each <code>true</code> or <code>false</code>, nothing else)</td><td>Changes the chat's choices from now on: whether browser runs are shown (as <code>--headed</code>), and whether passed runs become tests (as <code>--no-code</code>, off). The next browser run uses them; the agent is told of a change with your next message. Answered with <code>settings</code></td></tr>
1087
1113
  <tr><td><code>model</code></td><td><code>profile</code> (a profile name, nothing else)</td><td>The chat's model from the next message, as a model picker does: the same agent session goes on, with the conversation, its tools and files, and the agent is told of the change with your next message; ForgeQE's tools use that profile too. Before the agent opens, any profile of llms.json; after, one of the <code>models</code> line. Refused with <code>error</code> <code>busy</code> while a turn runs, <code>bad_input</code> for anything else. Answered with <code>model</code></td></tr>
1088
1114
  <tr><td><code>close</code></td><td></td><td>Stops any turn, closes the agent, stops monitors and the containers it started, writes <code>closed</code>, exits 0</td></tr>
@@ -1105,7 +1131,10 @@ forgeqe run &quot;Run the cases in smoke.yaml and don't post results&quot; --pla
1105
1131
  <tr><td><code>ask</code></td><td><code>id</code> (<code>ask-N</code>), <code>turn</code>, <code>question</code> (<code>title</code>, <code>detail</code>, <code>lines</code>, <code>options[{id, label}]</code>)</td><td>A tool asks you to choose</td></tr>
1106
1132
  <tr><td><code>wait</code></td><td><code>id</code> (<code>wait-N</code>), <code>turn</code>, <code>prompt</code></td><td>A tool waits for you to do something by hand</td></tr>
1107
1133
  <tr><td><code>turn_done</code></td><td><code>id</code>, <code>outcome</code> (<code>done</code>, <code>failed</code>, <code>needs_input</code>, <code>stopped</code>), <code>reply</code> (the visible reply), <code>next</code> (follow-ups), <code>error</code> (when there is one), <code>usage</code> (the agent's usage so far, <code>null</code> before it opened)</td><td>The turn ended, whatever the way</td></tr>
1108
- <tr><td><code>error</code></td><td><code>code</code> (<code>bad_input</code>, <code>busy</code>, <code>unknown_id</code>, <code>model</code>, <code>internal</code>), <code>message</code>, <code>turn</code> (when one runs)</td><td>A problem that does not end the process</td></tr>
1134
+ <tr><td><code>steered</code></td><td><code>id</code>, <code>turn</code>, <code>text</code></td><td>A <code>steer</code> reached the agent</td></tr>
1135
+ <tr><td><code>paused</code> / <code>resumed</code></td><td><code>turn</code></td><td>After <code>pause</code> or <code>resume</code></td></tr>
1136
+ <tr><td><code>stopping</code></td><td><code>turn</code>, <code>after</code> (up to three steps' labels)</td><td>A <code>stop</code> with <code>safe</code> waits for these steps</td></tr>
1137
+ <tr><td><code>error</code></td><td><code>code</code> (<code>bad_input</code>, <code>busy</code>, <code>idle</code>, <code>not_steered</code>, <code>unknown_id</code>, <code>model</code>, <code>internal</code>), <code>message</code>, <code>turn</code> (when one runs)</td><td>A problem that does not end the process</td></tr>
1109
1138
  <tr><td><code>fatal</code></td><td><code>message</code></td><td>The process cannot go on; exit code 1 follows</td></tr>
1110
1139
  <tr><td><code>closed</code></td><td></td><td>The last line before a clean exit</td></tr>
1111
1140
  </tbody>
@@ -1231,7 +1260,7 @@ forgeqe memory stats # how often memory stood in for the
1231
1260
  <ul>
1232
1261
  <li><strong>Email</strong> reads a test mailbox (Gmail or Outlook with an app password, Mailpit, any IMAP server) read-only, and takes the newest message since the code was asked for. <strong>Text message</strong> reads the messages to a Twilio test number. <strong>http</strong> reads a test environment's own endpoint that answers with the latest code (as text or JSON), such as a Mailpit or Mailosaur API or a QA back door.</li>
1233
1262
  <li><strong>The agent never sees the code.</strong> When the page asks for it, the browser agent calls <code>type_one_time_code</code> with the code field and the login; ForgeQE waits for the message, takes out the code with the pattern, and types it, only on the login's own sites. A code is never typed twice in a run, so a page that asks again gets the new one. Nothing else of the message is read into the run, logged, kept or shown: a message is data, and only something shaped like a code (letters, digits and -, 3 to 12) is taken.</li>
1234
- <li><strong>Replays and tests.</strong> The step is recorded as &quot;type the code shop's site sent&quot;, never the code. Replays and Try it read a fresh one. A test written from the run calls <code>forgeqe login code shop --since &lt;time&gt;</code> with an argument list and types what it prints; ForgeQE sets the mailbox or Twilio variables for the tests it runs, and in a pipeline you set them as secrets.</li>
1263
+ <li><strong>Replays and tests.</strong> The step is recorded as &quot;type the code shop's site sent&quot;, never the code. Replays and Re-runs read a fresh one. A test written from the run calls <code>forgeqe login code shop --since &lt;time&gt;</code> with an argument list and types what it prints; ForgeQE sets the mailbox or Twilio variables for the tests it runs, and in a pipeline you set them as secrets.</li>
1235
1264
  <li><strong>The variables</strong> are test credentials, like the login's password: the browser engine and the tests get them, the model never does.</li>
1236
1265
  </ul>
1237
1266
  <p><strong>Security keys and passkeys.</strong> ForgeQE presents a security key the way WebAuthn's own test tools do: Chromium's virtual authenticator, with no USB key or phone. Register one on the test account once:</p>
@@ -1296,14 +1325,35 @@ forgeqe record --url https://staging.shop.test/cart # or any page
1296
1325
  becomes a check on the element showing it; without quotes, one model call finds the text that shows it on the page. A
1297
1326
  check the page cannot show yet is kept in your words, and the coding agent writes it. In the terminal, <code>undo</code>, <code>pause</code>,
1298
1327
  <code>delete 4</code> and <code>stop</code> work too.</p>
1299
- <p>What is recorded: clicks (a double click as one step), the final text of each field you typed in (not each key), choices
1300
- in drop-downs, Enter and Escape, key chords, pages you open from the address bar, and Back. A click on a menu item that
1301
- opened when the pointer went over its trigger gets a hover on the trigger first. Password fields are written as an
1302
- environment variable (the saved login's <code>password_env</code>, or <code>&lt;SITE&gt;_PASSWORD</code>), and text equal to a saved login's value
1303
- as its variable: what you type in them is never stored. A file you choose for an upload is recorded by its path in the
1304
- working folder; one outside it, a hidden file (<code>.env</code>, anything under <code>.git</code>), or one named like credentials or keys is
1305
- listed as not recorded. Drag and drop is listed as not recorded. <code>--signed-in</code> starts with the saved sessions of
1306
- <code>logins:</code>; without it, record the sign-in too.</p>
1328
+ <p>What is recorded: clicks (a double click as one step, a right-click as a click with the right button), the final
1329
+ text of each field you typed in (not each key), choices in drop-downs, Enter and Escape, key chords, pages you open
1330
+ from the address bar, and Back. A click on a menu item that opened when the pointer went over its trigger gets a
1331
+ hover on the trigger first. Steps are recorded inside frames (another site's too) and inside closed shadow roots, and
1332
+ in a window or tab the page opens. A click on a canvas keeps where in it you clicked. Also recorded:</p>
1333
+ <ul>
1334
+ <li><strong>Drags</strong>: an element dragged onto another, or moved by the mouse (a list item, a map pin, a slider), is one step.
1335
+ A replay drags with the mouse. Selecting text is not a drag.</li>
1336
+ <li><strong>Scrolls</strong> you make with the wheel or the keys, of half a screen or more, as one step (scrolls the page makes by
1337
+ itself are not).</li>
1338
+ <li><strong>Browser dialogs</strong> (alert, confirm, prompt, &quot;leave this page?&quot;) are left for you to answer. Your answer is a step,
1339
+ and a replay answers the same way and dismisses any dialog the recording did not have.</li>
1340
+ <li><strong>Downloads</strong> are saved in the recording's <code>downloads/</code>. The file is a step: a replay checks that a file of that
1341
+ name (or of its pattern, when part of the name changes) arrives and is not empty.</li>
1342
+ <li><strong>A CAPTCHA</strong> (reCAPTCHA, hCaptcha, Turnstile, Arkose, GeeTest) is one step for a person, never its clicks. A
1343
+ replay in a visible browser waits up to 3 minutes for you to solve it; a headless one fails and says to turn it
1344
+ off in the test environment (the provider's test keys, or a bypass).</li>
1345
+ <li><strong>The browser's own sign-in box</strong> (basic auth): only the site is kept, with the saved login whose <code>domains</code> cover
1346
+ it. A replay signs in there with that login's variables. With no such login, the recording says to save one.</li>
1347
+ <li><strong>Browser permissions</strong> you allowed (location, notifications, clipboard, camera, microphone) are granted to that
1348
+ site in a replay.</li>
1349
+ </ul>
1350
+ <p>A password field is written as an environment variable: the saved login's <code>password_env</code> when what you typed is
1351
+ that login's password, else <code>&lt;HOST&gt;_PASSWORD</code>. Text equal to a saved login's value is written as its variable, and
1352
+ what you type in a password field is never stored. A file you choose for an upload is recorded by its path in the
1353
+ working folder; one from elsewhere (Downloads, the desktop) is copied into the recording's <code>files/</code>, up to 25 MB. A
1354
+ hidden file (<code>.env</code>, anything under <code>.git</code>) or one named like credentials or keys is listed as not recorded. A
1355
+ Browse button that opens the file chooser, and files dropped on a drop zone, are recorded too. <code>--signed-in</code> starts
1356
+ with the saved sessions of <code>logins:</code>; without it, record the sign-in too.</p>
1307
1357
  <p><strong>Data that changes from run to run.</strong> A test that spells out this recording's price, date, or order number fails on
1308
1358
  the next run, so ForgeQE keeps what holds and makes the rest a pattern, a variable, or a value made fresh:</p>
1309
1359
  <div class="tbl"><table>
@@ -1349,7 +1399,7 @@ change. <code>--no-plan</code> (or <code>--yes</code>) skips the plan. Later: <c
1349
1399
  records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page
1350
1400
  and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.</p>
1351
1401
  <p><strong>From the web app (Record page).</strong> You only do the steps, with nothing to describe first: the browser shows the site
1352
- with no panel in it, only a small &quot;Recording&quot; badge that takes no click. <strong>Pause</strong>, <strong>Undo</strong> and <strong>Stop</strong> are on the
1402
+ with no panel in it, only a small badge that says it is recording and how many steps, with a <strong>Stop</strong> button (only the button takes a click). <strong>Pause</strong>, <strong>Undo</strong> and <strong>Stop</strong> are on the
1353
1403
  Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
1354
1404
  page and what it showed (<code>steps/NNN.jpg</code> and <code>.json</code> in the run folder; the badge is left out of the picture, and an
1355
1405
  address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
@@ -1360,7 +1410,7 @@ like a password, token, key or session redacted, and every saved login's usernam
1360
1410
  appear. Nothing is kept while the recording is paused. A value you make a secret in the review is taken out of
1361
1411
  <code>network.json</code> too (a contract set made from it before keeps its copy: make the set again). When you stop, you review
1362
1412
  the recording with clicks.</p>
1363
- <p>The review starts with the steps and <strong>Write the test</strong>; everything else is under <strong>More</strong>. ForgeQE has already made
1413
+ <p>The review shows the recording's name, <strong>Re-run</strong> and <strong>Write the test</strong> at the top, and the tabs <strong>Steps</strong>, <strong>Test data</strong>, <strong>Runs</strong>, <strong>Instructions</strong>, <strong>Blocks</strong> and <strong>Versions</strong>. ForgeQE has already made
1364
1414
  the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
1365
1415
  run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
1366
1416
  so: <strong>Use the block</strong> marks them as the block.</p>
@@ -1372,28 +1422,37 @@ so: <strong>Use the block</strong> marks them as the block.</p>
1372
1422
  <tr><td>Name</td><td>Written from what you did (&quot;shop.test: Sign in → Email → Password → Log in …&quot;); change it if you like</td></tr>
1373
1423
  <tr><td>Check that … under a step</td><td>One click adds a check of what the step brought to the page: a new title, a message or heading. Digits are checked by their shape (<code>Order placed: #\d+</code>)</td></tr>
1374
1424
  <tr><td>A call under a step</td><td>One click checks the page's own call to its server, such as <code>POST /api/orders answers 201</code>: the test waits for it and checks its status</td></tr>
1375
- <tr><td>Suggest with the model</td><td>One model call reads the pages after each step and suggests checks and test data; each is kept only when it is what the recording holds. <strong>Add</strong> one, or <strong>Add all</strong></td></tr>
1425
+ <tr><td>Suggest</td><td>One model call reads the pages after each step and suggests checks and test data; each is kept only when it is what the recording holds. <strong>Add</strong> one, or <strong>Add all</strong></td></tr>
1426
+ <tr><td>The pencil on a check</td><td>Change what it checks (its text, its value, that it shows, that it is gone, enabled or disabled, how many there are, or an attribute's value) and how it compares: contains, is exactly, starts with, ends with, does not contain, matches a pattern, or a number in it (=, &gt;, ≥, &lt;, ≤, between), in any case if you like. <strong>Back to contains</strong> undoes it</td></tr>
1376
1427
  <tr><td>The picture of a step</td><td>Click a text on it to check that it shows, or a field to check its value</td></tr>
1428
+ <tr><td>A step's details</td><td>What was recorded for it: the element, every locator kept (XPath too) and whether each was unique, its frames. <strong>How step N finds its element</strong> picks another of those locators. A step found by something that changes on the next run (a value the page's framework made, a price or date, a value given only on that load) says so under the step</td></tr>
1377
1429
  <tr><td>Add, then Check</td><td>The page the step leads to, or a check in your words, which the coding agent finds on the page</td></tr>
1378
1430
  <tr><td>Add, then Step</td><td><strong>Record more from here</strong>: the browser opens and does the steps up to there, and you record what comes next; it goes in after that step. Or a step in your words (&quot;choose the cheapest delivery&quot;), which the coding agent finds on the page and does there; open a page; or go back</td></tr>
1431
+ <tr><td>Add, then Wait</td><td>Wait until the page has loaded, until a text shows or is gone, or a number of seconds (1 to 60)</td></tr>
1379
1432
  <tr><td>Add, then Note</td><td>A note on the step for whoever writes the test (&quot;this is the cart page object&quot;)</td></tr>
1380
1433
  <tr><td>Drop (bin)</td><td>Removes the step</td></tr>
1381
1434
  <tr><td>Instructions for Quill</td><td>Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks</td></tr>
1382
1435
  <tr><td>Test data</td><td>Each typed value: as typed, test data, new on each run (<code>ann+{{$unique}}@shop.test</code>), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version</td></tr>
1383
1436
  <tr><td>Blocks</td><td>Keep steps you do in many tests (Sign in) as a block, <code>.forgeqe/blocks/&lt;name&gt;.yaml</code>; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when <code>.gitignore</code> leaves them out). A block holds only steps done by hand: a block file with a step that runs JavaScript, calls an API or uploads a file is ignored</td></tr>
1384
- <tr><td>History</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
1437
+ <tr><td>Versions</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
1385
1438
  <tr><td>Re-record</td><td>Plays the same steps against the application as it is now, and where a step's control has moved, reaches it through another locator the recorder kept for that step and carries on. Each swap is shown (the step, what it does, the locator that replaced which, and what the recorded one said), kept in <code>reheal.json</code> beside the run, and written into the recording only when you accept it — then that locator is the one the step uses, as a version of the review like any other. A control that no locator finds is a failed step as usual: record that stretch again. <strong>Write the test</strong> after a re-record heals the test the recording already has, changing what those steps need and leaving the rest of it alone</td></tr>
1386
- <tr><td>Try it</td><td>Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values. With <code>api.capture</code> on (the default) it keeps the application's API calls of the latest try in <code>tries/network.json</code>, cleaned as a recording's are; <strong>API tests from its calls</strong> opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs</td></tr>
1439
+ <tr><td>Re-run</td><td>On the <strong>Runs</strong> tab, or at the top: plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values. With <code>api.capture</code> on (the default) it keeps the application's API calls of the latest try in <code>tries/network.json</code>, cleaned as a recording's are; <strong>API tests from its calls</strong> opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs</td></tr>
1387
1440
  </tbody>
1388
1441
  </table></div>
1442
+ <p><strong>Runs.</strong> Re-run plays the steps where they were recorded or on another environment of env.yaml, with the values as
1443
+ typed, values you give, or once for each row of a data file or kept request of the project (<strong>Test data</strong>: up to 20
1444
+ rows, one after another; for an Excel file, a <strong>Sheet</strong>). A column named like a test data value gives its value.
1445
+ <strong>Stop</strong> ends a run and closes its browser. <strong>Earlier runs</strong> lists the runs before, newest first, each with how it
1446
+ ended, where, and its steps and log; only the latest keeps its pictures, video and trace. <strong>Recording video</strong> and
1447
+ <strong>Recording log</strong> (Steps tab) and <strong>Re-run video</strong> and <strong>Re-run log</strong> (Runs tab) open in a new tab.</p>
1389
1448
  <p><strong>Start from a block</strong> (More options on the Record page): the recording opens the block's first page and does its
1390
1449
  steps for you in the same tab, the recorder paused meanwhile; then you record the rest. A step that cannot be done (a
1391
1450
  secret not set) ends the block there, and you do the rest by hand. <strong>Write the test</strong> hands the recording to the coding
1392
1451
  agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
1393
- that every test using it calls. A past recording is run again the same way: <strong>Review</strong> in the list, then <strong>Try it</strong>.</p>
1452
+ that every test using it calls. A past recording is run again the same way: <strong>Open the recording</strong> in the list (the row's menu), then <strong>Re-run</strong>.</p>
1394
1453
  <p><strong>Write the test</strong> first plays the steps with Playwright, as the test will. When a step does not work, it says so
1395
- before any code is written: <strong>Record step N again</strong> (the browser does the steps before it, and what you record takes
1396
- its place), drop it, or write the test anyway. Then Quill writes the test, and its work shows in the review:
1454
+ before any code is written: <strong>Show</strong> opens the step, <strong>Record</strong> does it again (the browser does the steps before it,
1455
+ and what you record takes its place), <strong>Remove</strong> drops it, and <strong>Write</strong> writes the test anyway. Then Quill writes the test, and its work shows in the review:
1397
1456
  what it is doing, the files it changed, and its answer (or why it stopped).</p>
1398
1457
  </div>
1399
1458
  </section>
@@ -1878,9 +1937,9 @@ Acceptance criteria:
1878
1937
  forgeqe persona show payments-sme # one persona and the brief agents act on
1879
1938
  forgeqe persona create &quot;an SME in card payments who reconciles settlements&quot; --domain payments --kind sme [--save]
1880
1939
  </code></pre>
1881
- <p>Built in: <code>payments-sme</code> (<code>/priya</code>), <code>retail-customer</code> (<code>/sam</code>), <code>compliance-specialist</code> (<code>/dana</code>), <code>operations-manager</code> (<code>/lee</code>), <code>first-time-user</code> (<code>/alex</code>), and three risk-oriented personas the <a href="../HOW_TO_USE.md#business-assurance">Business Testing agent</a> uses: <code>incentive-exploiter</code> (<code>/max</code>, an opportunistic deal hunter), <code>insider-agent</code> (<code>/rory</code>, a customer service agent who misuses refund and credit rights) and <code>partner-merchant</code> (<code>/morgan</code>, a marketplace merchant watching payout timing).</p>
1940
+ <p>Built in: <code>payments-sme</code> (<code>/priya</code>), <code>retail-customer</code> (<code>/sam</code>), <code>compliance-specialist</code> (<code>/dana</code>), <code>operations-manager</code> (<code>/lee</code>), <code>first-time-user</code> (<code>/alex</code>), and three risk-oriented personas for testing misuse on a test environment: <code>incentive-exploiter</code> (<code>/max</code>, an opportunistic deal hunter), <code>insider-agent</code> (<code>/rory</code>, a customer service agent who misuses refund and credit rights) and <code>partner-merchant</code> (<code>/morgan</code>, a marketplace merchant watching payout timing). <a href="#doc-how_to_use-basal-business-testing">BASAL</a> casts its own personas for each business test.</p>
1882
1941
  <p>Besides what they know and check, a persona can say <strong>why they act</strong> (<code>intent</code>: <code>legitimate</code>, <code>opportunistic</code> or <code>adversarial</code>, with a <code>risk_appetite</code>), what drives them (<code>motivations</code>), what their role lets them do in the app (<code>permissions</code>), the limits they work within (<code>constraints</code>), the mistakes they plausibly make (<code>mistakes</code>) and who they deal with (<code>relationships</code>, by persona id). Each saved change raises its <code>version</code>.</p>
1883
- <p><strong>Every persona is a command in every agent's chat.</strong> Start a message with it and the task: <code>/priya Validate the payment change</code>. It works in the terminal shell (typing <code>/</code> suggests the personas with the shell's commands), <code>forgeqe run &quot;/priya …&quot;</code>, every chat box of the web app (typing <code>/</code> at the start offers the personas) and a custom agent's chat. ForgeQE turns the command into the persona's brief, quoted as data, and your task after it, so the agent acts as that person, puts the brief at the start of its browser runs, and judges the app by what they check. A persona's command is its <code>handle</code> (its id when it has none): a word of lower-case letters, digits and dashes that is never one of the shell's own commands or another persona's.</p>
1942
+ <p><strong>Every persona is a command in every agent's chat.</strong> Start a message with it and the task (<code>/priya Validate the payment change</code>), or name personas anywhere in the words (<code>check @steps.json as /sam and /priya</code>), up to four in one message; a word that names no persona, such as <code>/tmp</code>, stays as it is. It works in the terminal shell (typing <code>/</code> suggests the personas with the shell's commands), <code>forgeqe run &quot;/priya …&quot;</code>, every chat box of the web app (typing <code>/</code> at the start offers the personas) and a custom agent's chat. ForgeQE turns the command into the persona's brief, quoted as data, and your task after it, so the agent acts as that person, puts the brief at the start of its browser runs, and judges the app by what they check. A persona's command is its <code>handle</code> (its id when it has none): a word of lower-case letters, digits and dashes that is never one of the shell's own commands or another persona's.</p>
1884
1943
  <pre><code class="language-bash">forgeqe persona export --out personas.json # your own personas, as a file to share
1885
1944
  forgeqe persona import personas.json # another project's: new ones only, never replacing one here
1886
1945
  </code></pre>
@@ -1927,9 +1986,9 @@ scenarios:
1927
1986
  <div class="detail"><span class="mono">In detail</span>
1928
1987
  <section class="doc" id="doc-how_to_use-basal-business-testing">
1929
1988
  <h4>BASAL: business testing</h4>
1930
- <div class="prose"><p><strong>BASAL</strong> tests a business decision the way real people meet it. Ask a business question with its brief (&quot;Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected&quot;), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Agents › BASAL › Tests):</p>
1989
+ <div class="prose"><p><strong>BASAL</strong> tests a business decision the way real people meet it. Ask a business question with its brief (&quot;Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected&quot;), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Quality Engineering › Test design › BASAL, its <strong>Tests</strong> tab):</p>
1931
1990
  <ol>
1932
- <li><strong>Ask</strong>: the question, the files it rests on (a brief, survey data, policy extracts) and work items.</li>
1991
+ <li><strong>Ask</strong>: the question, the files it rests on (a brief, survey data, policy extracts) and work items. On the page you give the question; files and work items are added at a terminal (<code>--file</code>, <code>--story</code>).</li>
1933
1992
  <li><strong>Understand</strong>: the decision, its options, the stakeholders, the success criteria and the facts, read from the sources and the product knowledge graph (found by meaning in Neo4j). An item is <strong>observed</strong> only when its quote is in the source it names; otherwise it is <strong>inferred</strong>.</li>
1934
1993
  <li><strong>Strategy</strong>: scenarios that decide the question, each step by a stakeholder on a channel ForgeQE's agents play (browser, API, mobile, desktop, a person, or opinion only), and the business expectations that judge it. Only stakeholders, apps, saved API calls and test environments the project has are kept; an expectation is <strong>policy</strong> only when it rests on an observed success criterion.</li>
1935
1994
  <li><strong>Cast</strong>: one persona per stakeholder who acts: what they check, what they object to, the mistakes they bring.</li>
@@ -1939,17 +1998,21 @@ scenarios:
1939
1998
  <li><strong>Judge</strong>: code judges each scenario from what was observed: <strong>confirmed failure</strong>, <strong>policy ambiguity</strong>, <strong>potential risk</strong>, <strong>missing evidence</strong> or <strong>expected behaviour</strong>. A step only a person can see waits for you. &quot;Next round&quot; sends the outcomes back to the cast.</li>
1940
1999
  </ol>
1941
2000
  <p>At a terminal:</p>
1942
- <pre><code class="language-bash">forgeqe basal new &quot;Should we launch saved cards with a fee?&quot; --file briefs/brief.md --file briefs/survey.csv
2001
+ <pre><code class="language-bash">forgeqe basal # the business tests here (same as: forgeqe basal list)
2002
+ forgeqe basal new &quot;Should we launch saved cards with a fee?&quot; --file briefs/brief.md --file briefs/survey.csv [--story ID] [--env qa]
1943
2003
  forgeqe basal understand &lt;id&gt;
1944
2004
  forgeqe basal strategy &lt;id&gt;
1945
2005
  forgeqe basal cast &lt;id&gt;
1946
2006
  forgeqe basal rehearse &lt;id&gt;
2007
+ forgeqe basal show &lt;id&gt; # the scenario, cast and strategy
1947
2008
  forgeqe basal approve &lt;id&gt; # a person types the id
1948
- forgeqe basal act &lt;id&gt; [--scenario s1,s2]
2009
+ forgeqe basal act &lt;id&gt; [--scenario s1,s2] [--yes-writes]
1949
2010
  forgeqe basal judge &lt;id&gt;
1950
2011
  forgeqe basal observe &lt;id&gt; &lt;scenario&gt; --step 3 --accepted|--refused [--values name=value] [--note TEXT]
1951
2012
  </code></pre>
1952
- <p>BASAL needs a model, and is best with the graph store (<code>forgeqe graph setup</code>: Neo4j, after you agree) and an embedding model (<code>graph.embedding</code>). Its files are in <code>.forgeqe/basal/tests/&lt;id&gt;/</code>. It replaces the Business assurance agent (Watchdog); <code>forgeqe business</code> points here.</p>
2013
+ <p><code>act</code> lists the steps that change data and runs them only when you type <code>yes</code>; <code>--yes-writes</code> agrees in advance.</p>
2014
+ <p>On BASAL's page, start a test on <strong>Agent</strong> with your business question and <strong>Start</strong>. <strong>Tests</strong> lists every business test with how many of the eight steps it has done; open one to work through its steps. <strong>Personas</strong> shows who each test was cast with, and <strong>Findings</strong> shows every scenario's latest verdict, the ones that need attention first. You can also ask Atlas (&quot;test whether we should launch saved cards with a fee, here is the brief&quot;): its <code>basal</code> tool starts the test and works through the steps, but never approves. It tells you where to approve, and acts only after you have.</p>
2015
+ <p>BASAL needs a model, and is best with the graph store (<code>forgeqe graph setup</code>: Neo4j, after you agree) and an embedding model (<code>graph.embedding</code>). Its files are in <code>.forgeqe/basal/tests/&lt;id&gt;/</code>. BASAL replaced the Business assurance agent: <code>forgeqe business</code> now only says where BASAL is, and tests kept in <code>.forgeqe/business</code> are not read.</p>
1953
2016
  </div>
1954
2017
  </section>
1955
2018
  </div>
@@ -2081,7 +2144,7 @@ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an
2081
2144
  <tbody>
2082
2145
  <tr><td>ForgeQE's agent</td><td>The environment, its apps (with descriptions), values and cloud accounts in its session notes; plans scenarios across apps from them and carries values (an order number) between them</td></tr>
2083
2146
  <tr><td>WebPilot</td><td>Starts at <code>start_app</code> when no URL is given; knows the environment's web apps by name and stays on their hosts; its values</td></tr>
2084
- <tr><td>API tests</td><td>Call <code>api_app</code>'s URL</td></tr>
2147
+ <tr><td>API tests</td><td>Call each API's own address: the app of the environment whose URL the API was made from (so it follows the environment picked), else the API's own base URL, never simply <code>api_app</code>'s when that is another API; or, on the workbench, another web or API app a call or the API names as <code>{{app.NAME}}</code>. An API with no usable address on an environment says why and sends nothing</td></tr>
2085
2148
  <tr><td>DeskPilot</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
2086
2149
  <tr><td>Quill, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
2087
2150
  <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code>, <code>FORGEQE_DATA_&lt;NAME&gt;</code>, <code>FORGEQE_CLOUD_*</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
@@ -2151,14 +2214,25 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2151
2214
  <tr><th>Command</th><th>What it does</th></tr>
2152
2215
  </thead>
2153
2216
  <tbody>
2154
- <tr><td><code>forgeqe init [--global] [--profile NAME]</code></td><td>Write <code>forgeqe.yaml</code>, <code>llms.json</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
2155
- <tr><td><code>forgeqe setup [--force]</code></td><td>Download the agent runtime and the engine now (<code>--force</code> rebuilds the engine)</td></tr>
2217
+ <tr><td><code>forgeqe init [--dir DIR] [--global] [--force] [--profile NAME]</code></td><td>Write <code>forgeqe.yaml</code>, <code>llms.json</code>, <code>env.yaml</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
2218
+ <tr><td><code>forgeqe setup [--force]</code></td><td>Download the agent runtime and the engine now, and Appium when mobile apps run on this computer (<code>--force</code> rebuilds the engine)</td></tr>
2219
+ <tr><td><code>forgeqe doctor</code></td><td>Whether this computer and the network (proxy, inspected HTTPS, firewall) let ForgeQE reach what it needs</td></tr>
2220
+ <tr><td><code>forgeqe doctor --packages</code></td><td>Every package ForgeQE installs on this computer, and which are missing or out of date</td></tr>
2221
+ <tr><td><code>forgeqe doctor browser [--headless]</code></td><td>Start the local browser each way ForgeQE can, and write a report of what stops it</td></tr>
2156
2222
  <tr><td><code>forgeqe models</code></td><td>List the profiles in <code>llms.json</code> and the active one</td></tr>
2157
2223
  <tr><td><code>forgeqe models --routes [--profile-models]</code></td><td>The model each area of work gets (<code>llm.routing</code>) and why; <code>--profile-models</code> checks and rates the models again (see <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>)</td></tr>
2158
2224
  <tr><td><code>forgeqe features</code></td><td>What ForgeQE can do, and what each capability still needs in this setup (works without a model)</td></tr>
2159
2225
  <tr><td><code>forgeqe docs [--guide|--open] [--copy DIR]</code></td><td>The bundled docs; <code>--guide</code> opens the docs pages (as on forgeqe.github.io/docs/, offline), <code>--open</code> the architecture page</td></tr>
2160
2226
  <tr><td><code>forgeqe mcp list</code></td><td>The MCP servers ForgeQE's agent gets from your settings</td></tr>
2161
- <tr><td><code>forgeqe auth login [system|NAME]</code></td><td>Sign in to Azure DevOps, GitHub, GitHub Copilot (<code>copilot</code>), Jira, Confluence, TestRail, Zephyr, qTest, or Xray in the browser, or save one secret, in the system's credential store</td></tr>
2227
+ <tr><td><code>forgeqe models --copilot [--add MODEL [--as NAME] [--engine-model MODEL] [--default]]</code></td><td>Your Copilot seat's models and their premium requests; <code>--add</code> keeps one as a profile (see <a href="../HOW_TO_USE.md#github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>)</td></tr>
2228
+ <tr><td><code>forgeqe web [--port N] [--no-open]</code></td><td>The web app on 127.0.0.1 (see <a href="../HOW_TO_USE.md#the-web-app">The web app</a>; <code>--url</code> and <code>--public-url</code> are in docs/WEB_APP.md)</td></tr>
2229
+ <tr><td><code>forgeqe context</code></td><td>What each agent loads on every model call, against its budget (exit 1 over budget)</td></tr>
2230
+ <tr><td><code>forgeqe guardrails [add &quot;rule&quot;]</code></td><td>The team's rules every agent follows, or add one (see <a href="#doc-how_to_use-guardrails">Guardrails</a>)</td></tr>
2231
+ <tr><td><code>forgeqe prompts [list] | show|diff|reset &lt;name&gt; | check [name] | eval</code></td><td>Every agent prompt and where it comes from; compare, reset, check, evaluate</td></tr>
2232
+ <tr><td><code>forgeqe apps [--env NAME]</code>, <code>forgeqe env import &lt;file.yaml&gt; [--write]</code>, <code>forgeqe env link &lt;name&gt; &lt;file.yaml&gt;</code></td><td>The test environments in env.yaml and their apps; an environment from the team's own YAML (see <a href="#doc-how_to_use-environments-and-apps">Environments and apps</a>)</td></tr>
2233
+ <tr><td><code>forgeqe knowledge [build|status|search|node|impact]</code></td><td>The product knowledge graph (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
2234
+ <tr><td><code>forgeqe graph [status|setup [--yes]|sync|search &quot;&lt;words&gt;&quot;|stop|reset]</code></td><td>ForgeQE's Neo4j for the product graph and BASAL's scenario graphs (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
2235
+ <tr><td><code>forgeqe auth login [system|NAME] [--no-browser]</code></td><td>Sign in to Azure DevOps, GitHub, GitHub Copilot (<code>copilot</code>), Jira, Confluence, TestRail, Zephyr, qTest, Xray, BrowserStack, TestMu AI, GitLab, Postman, Sentry, Azure or Dataverse in the browser, or save one secret, in the system's credential store</td></tr>
2162
2236
  <tr><td><code>forgeqe auth [status]</code>, <code>forgeqe auth logout &lt;system&gt;</code></td><td>What is signed in; forget a sign-in</td></tr>
2163
2237
  </tbody>
2164
2238
  </table></div>
@@ -2177,6 +2251,12 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2177
2251
  <tr><td><code>forgeqe bi [build] [--from FILE|DIR]... [--static|--evidence]</code></td><td>The team report of every run here and the shared bundles (see <a href="#doc-how_to_use-team-report">Team report</a>)</td></tr>
2178
2252
  <tr><td><code>forgeqe bi init|sync</code></td><td>Scaffold the Evidence project; refresh its datasets and pages without building</td></tr>
2179
2253
  <tr><td><code>forgeqe bi export [--out FILE|DIR]</code></td><td>This machine's runs and readiness reports in one file to share</td></tr>
2254
+ <tr><td><code>forgeqe refine &quot;&lt;request&gt;&quot; [--json]</code></td><td>The request made precise against what ForgeQE knows here; runs nothing</td></tr>
2255
+ <tr><td><code>forgeqe agent list | new | try | approve | run | approvals …</code></td><td>The team's custom agents (see <a href="#doc-how_to_use-custom-agents">Custom agents</a>)</td></tr>
2256
+ <tr><td><code>forgeqe jobs add &lt;name&gt; [--every 15m | --cron &quot;…&quot;] [--now] -- &lt;command...&gt;</code>, <code>forgeqe jobs [list|status|logs|run|stop|remove] &lt;name&gt;</code></td><td>Commands on a schedule or now, in the jobs service</td></tr>
2257
+ <tr><td><code>forgeqe pipeline watch --github owner/repo --workflow ci.yml | --ado-project NAME --pipeline ID</code></td><td>The latest run of a CI pipeline; exit 1 while it is failed</td></tr>
2258
+ <tr><td><code>forgeqe investigate &lt;run folder&gt;</code></td><td>Heal a job run's handed-over failures, each on a local branch</td></tr>
2259
+ <tr><td><code>forgeqe evidence [record|runs|show|check|contract|…]</code></td><td>An AI agent's runs as evidence</td></tr>
2180
2260
  </tbody>
2181
2261
  </table></div>
2182
2262
  </div></section>
@@ -2190,6 +2270,22 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2190
2270
  <tr><td><code>forgeqe visual [run] | approve [run] [--page p]</code></td><td>Each page against its approved screenshot; approve an intended change as the new baseline</td></tr>
2191
2271
  <tr><td><code>forgeqe quality [run] | trends [page]</code></td><td>A run's WCAG rules and Core Web Vitals against the budgets; per page over time</td></tr>
2192
2272
  <tr><td><code>forgeqe explore &lt;story&gt; [--url URL] [--roles a,b]</code></td><td>Exploratory testing of a story: charters beyond the scripted cases, confirmed defects, proposed cases</td></tr>
2273
+ <tr><td><code>forgeqe record [APP | --url URL] [--case REF] [--name TEXT] [--repo DIR]</code></td><td>Do a web test's steps yourself; ForgeQE records them and Quill writes the test (see <a href="#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
2274
+ <tr><td><code>forgeqe desktop explore|record|replay|setup|apps|doctor|validate …</code></td><td>Windows apps (see <a href="#doc-how_to_use-desktop-apps-windows">Desktop apps</a>)</td></tr>
2275
+ <tr><td><code>forgeqe mobile explore|replay|maestro|upload|setup|apps|doctor …</code></td><td>Android and iOS apps (see <a href="#doc-how_to_use-mobile-apps-android-ios">Mobile apps</a>)</td></tr>
2276
+ <tr><td><code>forgeqe migrate plan --to &lt;target&gt; [--from DIR] | confirm &lt;plan&gt; | run &lt;plan&gt; | show | list | targets</code></td><td>Move a test suite to another framework (see <a href="#doc-how_to_use-migrating-a-test-suite">Migrating a test suite</a>)</td></tr>
2277
+ <tr><td><code>forgeqe tosca inspect &lt;file.tsu&gt; | plan &lt;file.tsu&gt; --to &lt;target&gt; | confirm | run | verify | fix …</code></td><td>Convert Tosca test cases (see <a href="#doc-how_to_use-converting-tosca-tests">Converting Tosca tests</a>)</td></tr>
2278
+ <tr><td><code>forgeqe pack build|run|triage|heal|list|show …</code>, <code>forgeqe pack pipeline init [--github] [--azure-devops]</code></td><td>Regression packs for a release (see <a href="#doc-how_to_use-regression-packs-for-a-release">Regression packs for a release</a>)</td></tr>
2279
+ <tr><td><code>forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]</code></td><td>The tests a pull request can break; <code>--run</code> makes it a CI gate (see <a href="#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a>)</td></tr>
2280
+ <tr><td><code>forgeqe impact &lt;repo&gt; &lt;base&gt; &lt;head&gt; | &lt;repo&gt; --pr LINK [--gate] [--post] [--json] [--quick]</code></td><td>What a change in a product repository reaches, and whether it is ready; <code>--gate</code> exits 1 when it is blocked</td></tr>
2281
+ <tr><td><code>forgeqe report &lt;file|folder&gt;... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td>report.html from JUnit XML or TRX run outside ForgeQE (see <a href="#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
2282
+ <tr><td><code>forgeqe a11y &quot;&lt;goal&gt;&quot; --persona a,b [--url URL]</code>, <code>forgeqe a11y personas</code></td><td>Accessibility testing as personas (see <a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
2283
+ <tr><td><code>forgeqe persona [list] | show | create | export | import</code></td><td>Business personas (see <a href="#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
2284
+ <tr><td><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run &lt;pack&gt; &lt;flag=v1,v2&gt; --env NAME</code></td><td>A regression pack once per feature-flag combination (see <a href="#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
2285
+ <tr><td><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td>Defect trends, and where a change is likely to cause defects</td></tr>
2286
+ <tr><td><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td>Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
2287
+ <tr><td><code>forgeqe testmgmt sync | schedule [off|hourly|daily HH:MM]</code></td><td>Read the test plans of Test management now; set when they are read again (see <a href="#doc-how_to_use-test-management">Test management</a>)</td></tr>
2288
+ <tr><td><code>forgeqe basal [list | new &quot;&lt;question&gt;&quot; … | show &lt;id&gt; | approve &lt;id&gt; | act &lt;id&gt; …]</code></td><td>BASAL business tests (see <a href="#doc-how_to_use-basal-business-testing">BASAL</a>)</td></tr>
2193
2289
  <tr><td><code>forgeqe api contracts --spec &lt;link|file&gt;</code></td><td>API contracts from OpenAPI/Swagger, WSDL, GraphQL, .proto, or grpc://</td></tr>
2194
2290
  <tr><td><code>forgeqe api contracts --run [RUN]</code></td><td>API contracts from the calls a browser run saw the app make</td></tr>
2195
2291
  <tr><td><code>forgeqe api run [SET] [--base-url URL]</code></td><td>Run contracts against the API, no browser; exit 1 on a failure</td></tr>
@@ -2215,6 +2311,8 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2215
2311
  <tr><td><code>forgeqe flows [list]|map|impact &lt;db.table[.column]&gt;</code></td><td>The data flows in <code>flows.yaml</code>, what feeds what, everything downstream (see <a href="#doc-how_to_use-data-flows">Data flows</a>)</td></tr>
2216
2312
  <tr><td><code>forgeqe flows check [name ...] [--junit FILE] [--post-ado]</code></td><td>Check each hop: arrived, complete, correct, on time</td></tr>
2217
2313
  <tr><td><code>forgeqe flows trace &lt;db.table|flow,flow&gt; &lt;key&gt; [--wait SECONDS]</code></td><td>Follow one record hop by hop</td></tr>
2314
+ <tr><td><code>forgeqe data request &quot;&lt;need&gt;&quot; [--db NAME] [--kind existing|new|auto]</code>, <code>forgeqe data fetch &lt;name&gt;</code>, <code>forgeqe data requests</code>, <code>forgeqe data log</code></td><td>Ask Miner for test data; a kept request's data again, no model</td></tr>
2315
+ <tr><td><code>forgeqe data ask &quot;&lt;question&gt;&quot; --as query|checks|script</code>, <code>forgeqe data checks &lt;name&gt;</code></td><td>A question as a query, data checks or a database test script; kept checks run again</td></tr>
2218
2316
  </tbody>
2219
2317
  </table></div>
2220
2318
  </div></section>
@@ -2227,6 +2325,8 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2227
2325
  <tr><td><code>forgeqe memory clear [host|app] --yes</code></td><td>Forget a host, an app, or everything</td></tr>
2228
2326
  <tr><td><code>forgeqe memory stats [--json]</code></td><td>How often memory stood in for the model, per area</td></tr>
2229
2327
  <tr><td><code>forgeqe login &lt;name&gt;</code> / <code>forgeqe logins</code></td><td>Sign in by hand once; list or clear saved sessions</td></tr>
2328
+ <tr><td><code>forgeqe login code &lt;name&gt; [--since TIME]</code></td><td>The one-time code the login's site sent; only the code is printed</td></tr>
2329
+ <tr><td><code>forgeqe services [status|up|down|logs] [name ...]</code></td><td>The services forgeqe.yaml declares, in Docker or Podman (see <a href="#doc-how_to_use-containers-and-mock-services">Containers and mock services</a>)</td></tr>
2230
2330
  <tr><td><code>forgeqe monitor [--once] [--test-alerts]</code></td><td>Checks on a schedule, with Teams and email alerts</td></tr>
2231
2331
  <tr><td><code>forgeqe notify test [channel]</code></td><td>Send a test card to the notification channels (see <a href="#doc-how_to_use-17-notifications">Notifications</a>)</td></tr>
2232
2332
  <tr><td><code>forgeqe mcp [--repo DIR]</code></td><td>ForgeQE's tools as an MCP server for other agents</td></tr>
@@ -2277,7 +2377,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2277
2377
  </section>
2278
2378
  <section class="doc" id="doc-how_to_use-your-prompts-skills-and-product-knowledge">
2279
2379
  <h4>Your prompts, skills, and product knowledge</h4>
2280
- <div class="prose"><p><code>init</code> also puts three folders in <code>.forgeqe/</code> to read, change, and commit:</p>
2380
+ <div class="prose"><p><code>init</code> also puts four folders in <code>.forgeqe/</code> to read, change, and commit:</p>
2281
2381
  <div class="tbl"><table>
2282
2382
  <thead>
2283
2383
  <tr><th>Folder</th><th>What it holds</th></tr>
@@ -2286,6 +2386,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2286
2386
  <tr><td><code>.forgeqe/prompts/</code></td><td>Every prompt ForgeQE's agents work from, one markdown file each: ForgeQE's agent (<code>brain.md</code>), Quill (<code>test-agent.md</code>, <code>test-rules.md</code>), the reviewer, healing, finding tests, pull request review, API tests and scenarios, exploratory charters, and the browser agent (<code>browser-*.md</code>, plus <code>browser-extra.md</code> for your own instructions).</td></tr>
2287
2387
  <tr><td><code>.forgeqe/skills/</code></td><td>The built-in skills (framework and app playbooks), to adapt to your project; add your own next to them.</td></tr>
2288
2388
  <tr><td><code>.forgeqe/knowledge/</code></td><td>Product knowledge templates: the product and its flows, roles, glossary, business rules, test data, environments.</td></tr>
2389
+ <tr><td><code>.forgeqe/guardrails/</code></td><td>Your guardrails: rules every agent must follow, one <code>- rule</code> line each (see <a href="#doc-how_to_use-guardrails">Guardrails</a>).</td></tr>
2289
2390
  </tbody>
2290
2391
  </table></div>
2291
2392
  <p><strong>Your copy or ForgeQE's.</strong> <code>.forgeqe-manifest.json</code> in each folder records what was copied. A copy you have not changed still counts as ForgeQE's, so it keeps getting ForgeQE's improvements when you update; once you edit it, yours is used. When ForgeQE's version changes after you edited yours, ForgeQE says so at start-up. Running <code>init</code> again adds what is missing and never overwrites an edited file (with <code>--force</code> it refreshes only unchanged copies).</p>
@@ -2345,7 +2446,7 @@ forgeqe prompts eval refine --runs 3 # one prompt, three runs of each case
2345
2446
  <section class="doc" id="doc-how_to_use-product-knowledge-graph">
2346
2447
  <h4>Product knowledge graph</h4>
2347
2448
  <div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover it.</p>
2348
- <p>The quickest way is <strong>Settings › Evidence</strong> in <code>forgeqe web</code>, five steps in order:</p>
2449
+ <p>The quickest way is <strong>Settings › Product knowledge</strong> in <code>forgeqe web</code>, five steps in order:</p>
2349
2450
  <ol>
2350
2451
  <li><strong>Repositories.</strong> Add an account on GitHub, Azure DevOps, GitLab or Bitbucket (Cloud or Data Center), sign in in the browser or with a personal access token, then pick its repositories. In the browser, GitHub signs in with the GitHub CLI, Azure DevOps with Microsoft through the Azure CLI, and GitLab and Bitbucket with Git Credential Manager; ForgeQE fetches the repositories with the same sign-in. A local clone or a link can still be added by hand.</li>
2351
2452
  <li><strong>Search service.</strong> Where your requirements are searched (a RAG index): a service at an address, a tool of one of your MCP servers, or a local command. Try a search on the page (a command runs only on a real search).</li>
@@ -2465,7 +2566,7 @@ the Landscape, under <em>Systems proposed by the model</em>, accept each, rename
2465
2566
  in the team's pack. A repository with none of these is grouped with those that share the first word of its name
2466
2567
  (<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
2467
2568
  system. <code>forgeqe knowledge landscape</code> prints the same, and the agents ask it through the knowledge tool.</p>
2468
- <p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar, Context) that draws the graph as the Engineering
2569
+ <p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar: Knowledge › Product understanding) that draws the graph as the Engineering
2469
2570
  view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
2470
2571
  data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
2471
2572
  wide as the page and as tall as the window. A green wire is a call a run saw, a dotted amber one a run made differently,
@@ -2555,6 +2656,20 @@ here, and a gateway route to no known service, are open questions in <code>forge
2555
2656
  <p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own notes; ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
2556
2657
  <p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to the tests that import it.</p>
2557
2658
  <p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/&lt;name&gt;.json</code> (one per repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of <a href="https://github.com/Egonex-AI/Understand-Anything" rel="noopener">Understand-Anything</a>, so that project's dashboard can show it. Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
2659
+ <p><strong>The graph store (Neo4j).</strong> ForgeQE can also keep the product graph in a Neo4j of its own, with BASAL's scenario graphs, so they are searched by meaning as well as by words. <code>forgeqe graph setup</code> sets it up after you agree: in Docker (about 600 MB, once), else a Neo4j and a Java runtime downloaded and checked by SHA-256 (about 200 MB), listening on 127.0.0.1 port 7688 only, with a password it makes and keeps in the credential store. Each <code>forgeqe knowledge build</code> then puts the product graph into it; the JSON files stay, and are used when Neo4j does not answer.</p>
2660
+ <pre><code class="language-yaml">graph:
2661
+ store: auto # auto: Neo4j when it answers, else the JSON graph | neo4j | json
2662
+ neo4j:
2663
+ setup: auto # auto: Docker, else a native install | docker | native | server (your own)
2664
+ url: bolt://127.0.0.1:7688 # another computer only over bolt+s:// or neo4j+s://
2665
+ embedding: azure-embed # a profile of llms.json that embeds; unset: search by words only
2666
+ </code></pre>
2667
+ <pre><code class="language-bash">forgeqe graph status # what is set up, what the store holds, when it was last synced
2668
+ forgeqe graph sync # put the product graph into it again
2669
+ forgeqe graph search &quot;cancel an order&quot;
2670
+ forgeqe graph stop # stop ForgeQE's Neo4j
2671
+ forgeqe graph reset # remove ForgeQE's Neo4j and its graphs (you type reset); never a server of yours
2672
+ </code></pre>
2558
2673
  <p><strong>How the agents use it.</strong> ForgeQE's agent has the <code>product_knowledge</code> tool: <code>search</code> for the parts a requirement is about, <code>node</code> for one part and everything linked to it, <code>flow</code> for a business flow step by step, <code>impact</code> for what a change reaches, <code>status</code>, and <code>build</code> (which asks you before the model reads anything). Names and summaries come from your repositories' text, so the agent treats them as data, never as instructions.</p>
2559
2674
  </div>
2560
2675
  </section>
@@ -2626,7 +2741,7 @@ forgeqe knowledge chat &quot;what do you know about refunds?&quot;
2626
2741
  <li>Skimmer's answers: the same question over the same outline with the same model gets the kept answer with no model call (<code>~/.forgeqe/cache/doc-index/picks.json</code>, 30 days). A changed document or another model asks again; <code>--no-cache</code> asks anyway.</li>
2627
2742
  <li>The provider's prompt cache: the outline comes before the question in the reader's message, and is the same text for every question while the documents do not change, so a provider that caches prompts (Anthropic, OpenAI, Azure OpenAI) charges less for it.</li>
2628
2743
  </ul>
2629
- <p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings › Evidence (<code>.forgeqe/documents</code>), every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project. Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files are read by Graphify's converters when you run <code>forgeqe knowledge docs index</code>, and their text is kept for later searches. A folder is listed like a product's documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is one JSON file in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
2744
+ <p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings › Product knowledge (<code>.forgeqe/documents</code>), every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project. Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files are read by Graphify's converters when you run <code>forgeqe knowledge docs index</code>, and their text is kept for later searches. A folder is listed like a product's documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is one JSON file in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
2630
2745
  <pre><code class="language-bash">forgeqe knowledge docs index # read the documents, PDF, Word and Excel included
2631
2746
  forgeqe knowledge docs search &quot;refund limits&quot; # passages with their file, line and headings
2632
2747
  forgeqe knowledge docs search &quot;refund limits&quot; --no-model --limit 3 --json
@@ -2662,6 +2777,12 @@ said aloud. It sends the words to DuckDuckGo and shows the top results in the ch
2662
2777
  then answers from them and says which site each fact came from. It opens no browser and no page: a detail that is not in
2663
2778
  a snippet needs the page opened from its link. Nothing but the words of the search leaves your computer, and what comes
2664
2779
  back is read as information, never as instructions.</p>
2780
+ <p><strong>Reading a web page.</strong> When the agent needs a page's own text, ForgeQE decides in code whether it may read it: only an
2781
+ http(s) address on the public internet, with no user name or password in it. A link you typed in the chat is read
2782
+ without asking. For any other address you see it whole and choose <strong>Allow this once</strong> or <strong>Don't allow</strong>; with nobody
2783
+ to ask, it is not read. An address on this computer or your company network is refused, also when you typed it: the
2784
+ agent uses that system's tool or a browser run instead. Behind a company proxy, a name this computer cannot look up is
2785
+ left to the proxy.</p>
2665
2786
  </div>
2666
2787
  </section>
2667
2788
  </div>
@@ -2702,7 +2823,7 @@ agents: [browser]
2702
2823
  <tr><th>Source</th><th>Folder</th></tr>
2703
2824
  </thead>
2704
2825
  <tbody>
2705
- <tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
2826
+ <tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>web-guidance</code> (ForgeQE's agent and Quill: web platform guides from Modern Web Guidance, pinned, as advisory checks for forms, dialogs, accessibility, passkeys and speed), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
2706
2827
  <tr><td>Global, only with <code>skills.external: true</code></td><td><code>~/.claude/skills</code>, <code>~/.agents/skills</code>, and the repo's <code>.claude/skills</code> and <code>.agents/skills</code></td></tr>
2707
2828
  <tr><td>User</td><td><code>~/.forgeqe/skills</code> (or <code>$FORGEQE_HOME/skills</code>)</td></tr>
2708
2829
  <tr><td>Project</td><td><code>.forgeqe/skills</code> next to <code>forgeqe.yaml</code>, and the repo's own <code>.forgeqe/skills</code></td></tr>
@@ -2739,9 +2860,9 @@ agents: [browser]
2739
2860
  <h4>Model routing</h4>
2740
2861
  <div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, <code>llm.routes</code> limits or pins the profiles an area may use, and <code>llm.agents</code> gives one agent its own default model (ahead of the router and <code>code.model</code>; only <code>--profile</code> overrides it). ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
2741
2862
  <p>List profiles, and the model each area gets:</p>
2742
- <pre><code class="language-bash">bun src/index.ts models
2743
- bun src/index.ts models --routes # the pick per area, and why
2744
- bun src/index.ts models --routes --profile-models # check and rate the models again
2863
+ <pre><code class="language-bash">forgeqe models
2864
+ forgeqe models --routes # the pick per area, and why
2865
+ forgeqe models --routes --profile-models # check and rate the models again
2745
2866
  </code></pre>
2746
2867
  </div>
2747
2868
  </section>
@@ -2979,6 +3100,13 @@ forgeqe desktop replay workflow.yaml --data customers.csv # once per row; co
2979
3100
  forgeqe desktop replay desktop-tests/ --junit results.xml # every workflow in a folder, results for CI
2980
3101
  forgeqe desktop doctor # can this machine replay unattended?
2981
3102
  </code></pre>
3103
+ <p>Explore and recording run on Windows. A saved workflow also replays on macOS and Linux, on agent-desktop (the default
3104
+ there; <code>forgeqe desktop setup</code> installs it), and on Windows with <code>desktop.driver: agent-desktop</code>: it acts through
3105
+ accessibility calls, with no mouse or focus. See
3106
+ <a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">docs/DESKTOP.md</a>. In <code>forgeqe web</code>,
3107
+ Record → <strong>Desktop app</strong> records on Windows, and a recording opens in a review: steps with their pictures (click a
3108
+ control to add a check), changes to a step, checks, waits and keys added after one, where each typed value comes from,
3109
+ and <strong>Replay</strong> with no model (<a href="#doc-docs-desktop-reviewing-a-recording-web-app">docs/DESKTOP.md</a>).</p>
2982
3110
  <p>Workflows wait for slow apps without fixed sleeps: a <code>timeout</code> and <code>retries</code> for the workflow or a step, <code>wait_for</code> a
2983
3111
  control to appear, show a text or go away (a splash screen), and a <code>dismiss</code> list of dialog buttons to click whenever
2984
3112
  they are in the way. <code>expect_image</code> compares a control or window with a baseline image (saved on the first run, kept
@@ -2990,6 +3118,7 @@ of your own, see <a href="#doc-docs-desktop-ci-running-desktop-workflows-unatten
2990
3118
  <p>Apps come from <code>desktop.apps</code> in forgeqe.yaml (an absolute <code>.exe</code> and an argument list), and <code>{{secret:NAME}}</code> reads
2991
3119
  only the variables listed in <code>desktop.secrets</code>. Explore and replay take over the desktop's mouse and keyboard and ask
2992
3120
  first; use a test machine and a test account. Details: <a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">docs/DESKTOP.md</a>.</p>
3121
+ <p>Workflows replay with <code>desktop.driver</code>: <code>auto</code> (the default) uses pywinauto on Windows and agent-desktop elsewhere (macOS, Linux), or name <code>pywinauto</code> or <code>agent-desktop</code>. agent-desktop does not use the mouse and keyboard unless <code>desktop.headed: true</code> (a double-click needs it). <code>desktop.video: false</code> stops the <code>video.mp4</code> each run keeps.</p>
2993
3122
  </div>
2994
3123
  </section>
2995
3124
  <section class="doc" id="doc-docs-desktop-forgeqe-desktop-thick-client-automation">
@@ -3224,11 +3353,31 @@ under it and reads the field you typed in, so neither is lost when the dialog go
3224
3353
  once per run of typing, not once per key.</li>
3225
3354
  <li><strong>A cell in a list or grid row</strong> is recorded inside its row (<code>path</code>: the row's type and name), since every row has a
3226
3355
  cell like it (a password column's <code>********</code>).</li>
3227
- <li>The run folder has <code>workflow.yaml</code>, <code>run.json</code> and <code>report.html</code>, like explore. Replay it with
3356
+ <li>The run folder has <code>workflow.yaml</code>, <code>run.json</code>, <code>report.html</code>, a picture of each step with the controls it shows
3357
+ (<code>steps/NNN.png</code> and <code>.json</code>), and <code>video.mp4</code> with <code>desktop.video: true</code>. Replay it with
3228
3358
  <code>forgeqe desktop replay</code>.</li>
3229
3359
  </ul>
3230
3360
  </div>
3231
3361
  </section>
3362
+ <section class="doc" id="doc-docs-desktop-reviewing-a-recording-web-app">
3363
+ <h4>Reviewing a recording (web app)</h4>
3364
+ <div class="prose"><p>Record → <strong>Desktop app</strong> in <code>forgeqe web</code> (Windows) records the same way, and when you stop, the workflow opens in a
3365
+ review:</p>
3366
+ <ul>
3367
+ <li><strong>Steps</strong>: each step with its picture, as recorded or on the last replay. Click a control on a picture to add a
3368
+ check that it shows its text (or that it is there). <strong>Change step N</strong> changes a step's control, text or seconds,
3369
+ or removes it (never the first, which starts the app). <strong>+</strong> after a step adds: a check that a control shows a
3370
+ text or is there, a wait for a control or until it is gone, a wait of some seconds, or keys. Each change is shown
3371
+ first and written at the version shown.</li>
3372
+ <li><strong>Test data</strong>: where each typed or chosen value comes from: as typed, test data (a variable of the workflow), or a
3373
+ secret of <code>desktop.secrets</code> (what was typed then leaves the workflow).</li>
3374
+ <li><strong>Last run</strong>: <strong>Replay</strong> with the values above or once for each row of a data file or kept request, with
3375
+ <strong>Heal a moved control</strong> and <strong>New image baselines</strong>; its result, report and heals to accept.</li>
3376
+ </ul>
3377
+ <p><strong>Improve</strong> asks DeskPilot what to fix or add; it changes the workflow only after showing you the change. A mobile
3378
+ recording opens in the same review.</p>
3379
+ </div>
3380
+ </section>
3232
3381
  <section class="doc" id="doc-docs-desktop-fixing-a-workflow-from-chat">
3233
3382
  <h4>Fixing a workflow from chat</h4>
3234
3383
  <div class="prose"><p>When a replayed step fails because the app was slow or a dialog was in the way, ForgeQE's agent fixes the workflow
@@ -3573,6 +3722,10 @@ forgeqe mobile replay mobile-tests/ --junit results.xml # every workflow i
3573
3722
  forgeqe mobile maestro .maestro/ # your team's Maestro flows, checked first
3574
3723
  forgeqe mobile flow workflow.yaml &gt; login.flow.yaml # a workflow as a Maestro flow, to keep
3575
3724
  </code></pre>
3725
+ <p>To show the steps instead, use Record → <strong>Mobile app</strong> in <code>forgeqe web</code>: pick the app and a device (here, TestMu AI
3726
+ or BrowserStack), and the device's screen appears on the page. Each tap, entry, check and gesture is done on the
3727
+ device through the locator ForgeQE keeps for it, so a step a replay could not find is never kept. No model is used.
3728
+ Stop opens the workflow's review. Details: <a href="#doc-docs-mobile-record-by-hand">docs/MOBILE.md</a>.</p>
3576
3729
  <p>Apps come from env.yaml (<code>kind: mobile</code>, <code>platform: android</code> or <code>ios</code>, <code>app_id</code>, and optionally <code>activity</code> and an
3577
3730
  <code>app</code> build to install) or <code>mobile.apps</code> in forgeqe.yaml. <code>mobile.appium</code> names the Appium server (default
3578
3731
  <code>http://127.0.0.1:4723</code>, or a device cloud's hub with its user and key in environment variables), and <code>{{secret:NAME}}</code>
@@ -3855,8 +4008,8 @@ says what is missing. A device cloud (TestMu AI, BrowserStack) needs none of it:
3855
4008
  computer's, or TestMu AI's or BrowserStack's), and the device's screen appears on the page with its controls outlined.</p>
3856
4009
  <ul>
3857
4010
  <li><strong>Tap</strong> a control on the screen and it is tapped on the device; a field opens a box to type into it (plain text, or a
3858
- saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Long-press</strong> and <strong>Wait for</strong> do
3859
- what they say. Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
4011
+ saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Hold</strong> (a long press) and <strong>Wait for</strong> do
4012
+ what they say (pick what a click on the screen does above it). Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
3860
4013
  <li>Each action is done on the device through the locator ForgeQE records for it, so a step a replay could not find is
3861
4014
  never kept. Locators come from the app's own tree (UiAutomator2 on Android, XCUITest on iOS), ranked as Playwright
3862
4015
  ranks a web page's: the resource id or accessibility identifier, the accessibility label, what the control is and
@@ -3864,8 +4017,8 @@ says, its text (a field's text and text that reads as data last). Only one that
3864
4017
  screen is kept; alike rows are found inside their uniquely named parent, a position among them only as the last
3865
4018
  resort; up to three more become fallbacks. Android's own ids (<code>android:id/button1</code>) come after the text. The Steps
3866
4019
  list shows each step's locators, the one a replay uses first. A control with neither an id nor a text is not
3867
- offered; <strong>Point</strong> taps a spot where the app draws something with no control (a canvas, a chart), kept inside the
3868
- nearest control that can be found.</li>
4020
+ offered; <strong>Point</strong> taps a spot where the app draws something with no control (a canvas, a chart), kept as a place inside
4021
+ the smallest control there that can be found; where none can be, the tap is refused.</li>
3869
4022
  <li>Scrolls made just before acting on a control become one <code>scroll_to</code> it. A tap on a checkbox, switch or radio button
3870
4023
  is a <code>set_checked</code>; <strong>Check</strong> on one checks whether it is on.</li>
3871
4024
  <li><strong>Open magic link</strong> (under the screen, for a login whose one-time codes come by email: <code>code: email</code> with its
@@ -4625,7 +4778,7 @@ forgeqe jobs shutdown # stop the service; scheduled jobs wait until
4625
4778
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask our custom agent checkout-guard to check the basket on QA</li><li>Which custom agents do we have?</li><li>Make an agent that checks the checkout on QA every night</li></ul></div>
4626
4779
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
4627
4780
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A custom agent runs only a version a person approved (forgeqe agent approve), and does only what that version allows; it cannot hand work to another custom agent.</li><li>ForgeQE's agent drafts and saves an agent only after the user agrees; it never approves one.</li></ul></div>
4628
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>custom_agent</code> <code>request_approval</code></p></div>
4781
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>custom_agent</code> <code>request_approval</code> <code>hand_to_agent</code> <code>remember</code> <code>recall</code></p></div>
4629
4782
  </div>
4630
4783
  <div class="detail"><span class="mono">In detail</span>
4631
4784
  <section class="doc" id="doc-how_to_use-custom-agents">
@@ -4656,6 +4809,9 @@ permissions:
4656
4809
  actions: [read, run]
4657
4810
  approve: [run]
4658
4811
  </code></pre>
4812
+ <p><code>voice: { sound: light }</code> (or <code>deep</code>) sets how the agent sounds when you talk with it in its chat; without it, it
4813
+ speaks in ForgeQE's own voice. The editor's <strong>Voice</strong> choice (Default, Light, Deep) writes it. A manifest names only a
4814
+ sound: ForgeQE picks the voice from the speech set up on that computer.</p>
4659
4815
  <p>What runs is a version a person approved. Editing the manifest changes nothing that runs: the agent shows as changed,
4660
4816
  keeps running its approved version, and the change waits for approval. Approvals are kept, with every approval,
4661
4817
  disabling and rollback, in <code>.forgeqe/agents/.releases/&lt;id&gt;</code>, so the team reviews them with the code.</p>
@@ -4671,11 +4827,21 @@ forgeqe agent history &lt;id&gt; # its versions and its runs, with
4671
4827
  forgeqe agent export &lt;id&gt; --out a.jsonl # its whole record as JSON lines, for audit (also on its page: Download audit record)
4672
4828
  forgeqe agent pack &lt;id&gt; --out a.zip # a shareable zip: agent.json + knowledge files + skills (also on its page: Export to share)
4673
4829
  forgeqe agent import a.zip [--id new] # import that zip as a draft to edit and approve (also Agents › Custom › Import agent)
4830
+ forgeqe agent publish &lt;id&gt; # its approved version into this computer's agent library (also on its page: Publish)
4831
+ forgeqe agent library [--remove &lt;entry&gt;] # what the library holds; taking one out asks for its name typed
4832
+ forgeqe agent install &lt;entry&gt; [--id new] # a library entry as a draft here (also Agents › Custom › Import agent › From your library)
4674
4833
  forgeqe agent run &lt;id&gt; &quot;request&quot; --unattended # as a schedule runs it: what it may not do alone waits for a person
4675
4834
  forgeqe agent approvals [&lt;id&gt;] # what agents running with nobody watching wait for; answer: approvals &lt;id&gt; &lt;approval&gt; allow | allow_run | deny
4676
4835
  </code></pre>
4677
4836
  <p>Same-repo teams still commit <code>.forgeqe/agents</code> (and <code>.releases</code> after approve). Pack/import is for sharing a draft across
4678
4837
  projects or machines; the recipient must try and approve it. Environments and systems are not in the package.</p>
4838
+ <p>The agent library is a folder in ForgeQE's home (<code>agent-library/</code>) that every project on this computer reads. Only an
4839
+ approved version is published, packed from its approved copy (an edit not yet approved stays out), as
4840
+ <code>&lt;id&gt;@&lt;version&gt;.forgeqe-agent.zip</code>; a version already there is never replaced, so publish a new version for a change.
4841
+ A library file can be put there by anything on the computer, so it is read as untrusted: only names of that shape,
4842
+ never a link, and one whose pack names another agent or version is listed with that problem and cannot be installed.
4843
+ Installing goes through the same checks as importing a pack, and makes a draft that a person tries and approves in
4844
+ that project.</p>
4679
4845
  <p><strong>Starting from a template.</strong> <code>forgeqe agent new cloud-verifier</code> writes a draft of the cloud verifier: after a test
4680
4846
  run, it checks in the cloud that what the run should have done there happened (a message on a queue, an object
4681
4847
  written, a row in a table, a function invoked), and changes nothing. It is filled from this project: the clouds of
@@ -4716,6 +4882,131 @@ that fires while the last run still waits does not start, and its history says s
4716
4882
  per run: the run stops when it has used that many model tokens. When someone is watching (<code>forgeqe agent run</code> in a
4717
4883
  terminal, a chat, the agent's page), the run asks first: carry on with as much again (each yes is in its history), or
4718
4884
  stop. A run nobody watches is never asked, and stops.</p>
4885
+ <p>When a run nobody watches ends, the team's channels that take <code>agent_failed</code> hear when it did not finish; with
4886
+ <code>runtime.notify: always</code> the ones that take <code>agent_done</code> hear when it did, and <code>never</code> tells nothing. The notice says
4887
+ the outcome, how many calls its limits refused and how many steps a person did not approve, and where to read the
4888
+ run; it never quotes the agent's reply, since a Teams card shows Markdown as links.
4889
+ <code>runtime.channels: [qa-team]</code> sends its notices, and its approval questions on a run nobody watches, only to
4890
+ those channels of <code>notify.channels</code> (each still only for the events it takes); unset, every channel that takes them
4891
+ gets them. A channel the project does not have makes the manifest invalid.</p>
4892
+ <p><code>triggers</code> start its approved version by itself when something happens in ForgeQE, with nobody watching, as a
4893
+ schedule does (<code>permissions.unattended</code> says what it may do alone):</p>
4894
+ <pre><code class="language-yaml">triggers:
4895
+ - { on: suite_failed, request: &quot;Explain why the last suite failed, from its runs&quot; }
4896
+ - { on: job_failed, job: nightly-pack, request: &quot;Find out why the nightly pack failed&quot; }
4897
+ </code></pre>
4898
+ <p>The events are <code>suite_failed</code>, <code>suite_passed</code>, <code>job_failed</code> and <code>job_recovered</code> (when a job's result changes, whether
4899
+ or not the job sends notices; <code>job</code> narrows it to one job), and <code>eval_failed</code>. Each starts a one-off job of the jobs
4900
+ service, <code>agent-&lt;id&gt;-on-&lt;event&gt;</code>, replaced each time; one still running is not started again. The request is the
4901
+ trigger's words and ForgeQE's own facts (the event, a job's name, the time), never text from the suite or its runs: the
4902
+ agent finds the runs itself. A custom agent's own jobs never start anything, so agents cannot start each other in a
4903
+ loop. Duplicate an agent with <code>forgeqe agent copy &lt;id&gt; [&lt;new-id&gt;]</code> or the agent page's <strong>Duplicate</strong>: a new draft with
4904
+ its settings at 1.0.0. <code>forgeqe agent new &lt;template&gt;</code> offers <code>smoke-check</code>, <code>defect-retest</code>, <code>flaky-triage</code>,
4905
+ <code>release-readiness</code>, <code>pr-test-reviewer</code> and <code>cloud-verifier</code>, filled from this project.</p>
4906
+ <p><strong>Outside triggers.</strong> A pull request or a push on GitHub or Azure DevOps can start an agent too:</p>
4907
+ <pre><code class="language-yaml">triggers:
4908
+ - { on: pr_opened, source: github, repo: acme/shop, branch: main, request: &quot;Review the tests this pull request changes&quot; }
4909
+ - { on: pr_updated, source: github, repo: acme/shop, request: &quot;Review the tests again&quot; }
4910
+ - { on: push, source: azure_devops, repo: Shop Team/web, branch: release, request: &quot;Check what the push changed&quot; }
4911
+ </code></pre>
4912
+ <p><code>pr_opened</code> covers opened, reopened and ready for review; <code>pr_updated</code> new commits; <code>push</code> a branch pushed to (never a
4913
+ tag or a deleted branch). <code>repo</code> is <code>owner/name</code> on GitHub and <code>project/repository</code> on Azure DevOps; <code>branch</code>, if given,
4914
+ is the pull request's target or the branch pushed to. Like the other triggers it runs the approved version with nobody
4915
+ watching, as the one-off job <code>agent-&lt;id&gt;-on-&lt;event&gt;</code>, and one still running is not started again.</p>
4916
+ <p><code>forgeqe web</code> takes the host's deliveries at <code>POST /hooks/github</code> and <code>POST /hooks/azure-devops</code>, and only once a
4917
+ webhook secret is saved: Settings › Secrets, <code>FORGEQE_WEBHOOK_SECRET</code> (kept in the credential store, hidden from every
4918
+ program ForgeQE starts). On GitHub, make a webhook for <strong>Pull requests</strong> and <strong>Pushes</strong>, content type JSON, with that
4919
+ secret: each delivery is signed and checked. On Azure DevOps, make <strong>Web Hooks</strong> service hooks for <em>Pull request
4920
+ created</em>, <em>Pull request updated</em> and <em>Code pushed</em>, with basic authentication whose password is the secret (its hooks
4921
+ cannot sign). A delivery not signed with the secret, one sent from a browser (any <code>Origin</code>), a body over 1 MB, a
4922
+ delivery id already taken, and more than 30 deliveries a minute are refused.</p>
4923
+ <p><code>forgeqe web</code> still listens on 127.0.0.1 only and checks the Host it is asked for, so the host reaches it through
4924
+ hosted mode (<code>forgeqe web --public-url https://forgeqe.example.com</code>, behind your TLS proxy) or a tunnel you run that
4925
+ forwards to it with the Host rewritten to <code>127.0.0.1</code>. Nothing of the pull request's text reaches the agent: its
4926
+ request is the trigger's words plus the pull request's number, the repository and the branches, read in their shapes,
4927
+ and the agent is told to read the pull request itself, as the author's words and never instructions.</p>
4928
+ <p><code>scope.custom_agents</code> lists your team's other custom agents it may hand a request to, with its <code>hand_to_agent</code> tool
4929
+ (the editor's <strong>Custom agents it may hand work to</strong>). The other agent runs its approved version, within its own limits
4930
+ and the caller's: it works only in environments both have, may do only what both may, asks a person for whatever either
4931
+ asks, and never uses a tool either denies. An agent already working on the request is never handed it again, and a chain
4932
+ goes no deeper than the caller's <code>max_delegation_depth</code> (at most 3; it needs at least 1). With nobody watching the
4933
+ caller, nobody watches the callee. Its run is kept in its own history as handed on by the caller, and its reply comes back
4934
+ as data. Only Atlas asks custom agents with <code>custom_agent</code>.</p>
4935
+ <p>Approving pins what the version knows as well as its manifest: a fingerprint of each knowledge file and skill it names
4936
+ (every file of the skill's folder) and of its model profile in llms.json (the fields that change how it answers, never
4937
+ a key). If one of them changes afterwards, the agent is <strong>Knowledge changed</strong> (<code>drifted</code>): it does not run, for anyone or
4938
+ anything, until a person reads what changed (its page, <code>forgeqe agent check</code>) and approves it again, which pins it anew.
4939
+ A run nobody watches that cannot start for this tells the team (<code>agent_failed</code>). Rolling back pins what the chosen
4940
+ version knows now. An agent approved before this was kept runs, with a warning to approve it again.</p>
4941
+ <p><code>runtime.max_minutes</code> stops a run that takes longer; a run nobody watches (a schedule, a trigger, another agent) stops
4942
+ after 120 minutes when it sets none.</p>
4943
+ <p><code>checks</code> are requests to try a version on before it is approved, each graded by code from the run, never by a model:</p>
4944
+ <pre><code class="language-yaml">checks:
4945
+ - name: basket-total
4946
+ request: Check the basket total on qa
4947
+ expect: { says: [total], never_says: [error], uses: [browser_run], never_uses: [run_sql] }
4948
+ - name: refuses-production
4949
+ request: Place an order on production
4950
+ expect: { outcome: needs_input }
4951
+ </code></pre>
4952
+ <p><code>outcome</code> is how the run ended (<code>done</code> by default, <code>needs_input</code> or <code>failed</code>); <code>says</code> and <code>never_says</code> are words its
4953
+ reply holds or not, matched as written (case aside, never as a pattern); <code>uses</code> are tools it called and was allowed,
4954
+ <code>never_uses</code> tools it never called at all. <code>forgeqe agent test &lt;id&gt;</code> tries each on the manifest as it is (read and run
4955
+ only, each run asked) and keeps the results for that exact version. A version whose checks have not all passed is
4956
+ approved only with <code>--skip-checks</code>, or the approve dialog's <strong>Approve it without them</strong>, and its history says so.
4957
+ On the agent's page, Details, <strong>Checks</strong> lists each check's last result on the manifest as it is, with why it failed,
4958
+ and <strong>Run checks</strong> runs them from there (the same <code>forgeqe agent test</code>, each run's question answered on the page).</p>
4959
+ <p><code>memory: { notes: 50 }</code> (or <code>memory: true</code>, 50 notes; at most 200) lets an agent remember between runs. It gets two
4960
+ tools: <code>remember</code> keeps one short fact (one line, at most 300 characters) and <code>recall</code> reads its notes back, handed to it
4961
+ as data. A note is the model's own text, so it is kept with saved logins' values and key shapes hidden, and one that
4962
+ reads as instructions to an agent is refused. Past the limit the oldest go. The notes are kept beside its runs
4963
+ (<code>memory.json</code>, mode 0600, never through a link) and read back as untrusted. A person reads them on the agent's page
4964
+ (Details, <strong>Memory</strong>) and forgets one, or all with the agent's id typed, each audited; at the terminal,
4965
+ <code>forgeqe agent memory &lt;id&gt;</code> lists them and <code>--forget-all</code> forgets them. A helper the agent starts has no memory, and
4966
+ <code>deny: [remember]</code> takes the tool away. Deleting the agent removes its notes with its runs.</p>
4967
+ <p><code>approval: { people: 2, owners: [Ann Lee, Bo Chen] }</code> asks for more than one person. Each approval before the last is
4968
+ kept in its history as <strong>Signed</strong> and changes nothing that runs; once that many different people have approved the
4969
+ exact manifest, it runs (the approval's note names the others). The same person twice, from the terminal or the page,
4970
+ is refused, and with <code>owners</code> only those people approve. A change is approved under the stricter of its own rule and
4971
+ the running version's, so it cannot lower the bar it is approved under. ForgeQE knows a person by git's <code>user.name</code>
4972
+ (else <code>user.email</code>) on their computer: this is an agreement the history keeps and the team reviews in the committed
4973
+ release file, not a sign-in. Disabling, enabling and rolling back to an approved version still take one person.</p>
4974
+ <p><code>output</code> gives its reply a result that code reads, not a model:</p>
4975
+ <pre><code class="language-yaml">output:
4976
+ verdicts: [passed, failed, blocked] # how a run came out
4977
+ fail_on: [failed, blocked] # verdicts that count as a failure
4978
+ fields:
4979
+ - { name: defects, kind: number } # number, text (one line) or yes_no
4980
+ </code></pre>
4981
+ <p>The agent is told to end each reply with one line, <code>RESULT {&quot;verdict&quot;: &quot;passed&quot;, &quot;fields&quot;: {&quot;defects&quot;: 0}}</code>. ForgeQE
4982
+ reads the last such line as untrusted: a verdict only of its list, a field only one it names and of its kind (text
4983
+ clipped to 200 characters), and says what it left out. The run keeps the result (its page shows it under <strong>Its
4984
+ result</strong>; <code>forgeqe agent history</code> shows the verdict), a check can expect one (<code>expect: { verdict: passed }</code>), another
4985
+ agent's <code>hand_to_agent</code> and Atlas's <code>custom_agent</code> get it beside the reply, and <code>forgeqe agent run</code> prints it and exits
4986
+ 1 on a verdict of <code>fail_on</code>, or on none where verdicts are named. A run nobody watches tells the team such a verdict as
4987
+ a failure (<code>agent_failed</code>), naming the verdict and never quoting a field.</p>
4988
+ <p>The approve dialog lists what the version may do, each line marked <strong>New</strong>, <strong>Changed</strong> (with what it was) or <strong>No
4989
+ longer</strong> against the version that runs. Details, <strong>Versions</strong> opens any approved version to read: its manifest as
4990
+ approved, the change from the version that runs and what it may do against it, with <strong>Roll back</strong> there too. A change
4991
+ waiting for approval can be thrown away with <strong>Discard the change</strong> or <code>forgeqe agent discard &lt;id&gt;</code>: the manifest is the
4992
+ approved version again, and the audit log keeps that it happened.</p>
4993
+ <p><code>runtime.model</code> runs the agent on a profile of llms.json by its name (the editor's <strong>Model</strong>), in place of the one
4994
+ ForgeQE's agent would use; a name llms.json does not have is refused, and with <code>code.model</code> set that model answers
4995
+ instead, which the run says. <code>permissions.deny</code> lists tools it never uses even though its capabilities have them
4996
+ (the editor lists each picked capability's tools), or a system's tools by name or as <code>&lt;system&gt;_*</code>: they are not
4997
+ offered and every call of them is refused, for helpers it hands work to too. It only takes away, and
4998
+ <code>request_approval</code> cannot be denied.</p>
4999
+ <p><code>inputs</code> are what its starters and its schedule's request leave open, written in them as <code>{name}</code>: <code>text</code> (one line),
5000
+ <code>environment</code> (one of its environments) or <code>choice</code> (one of its <code>options</code>):</p>
5001
+ <pre><code class="language-yaml">inputs:
5002
+ - { name: env, label: Environment, kind: environment }
5003
+ - { name: build, label: Build, kind: text }
5004
+ starters: [{ label: Check a build, text: &quot;Check build {build} on {env}&quot; }]
5005
+ schedule: { every: 1d, request: &quot;Run the checkout pack on {env}&quot;, with: { env: qa } }
5006
+ </code></pre>
5007
+ <p>A starter that names inputs asks for their values on the agent's page and fills the message, which you read before
5008
+ sending. A schedule's values (<code>with</code>) are checked when the manifest is read, and its job gets the finished request. A
5009
+ value is only ever words of the request: one line, at most 200 characters, never starting with a dash.</p>
4719
5010
  <p>Other systems' tools (Azure DevOps, Jira, GitHub…) come through ForgeQE with their names as <code>&lt;system&gt;_&lt;tool&gt;</code> (a dot in
4720
5011
  a name becomes <code>_</code>; a name too long for MCP clients, or not a plain name, is left out). Every page of a server's tool
4721
5012
  list is read; a tool is read-only only when the server marks it <code>readOnlyHint</code> and not also <code>destructiveHint</code>; a
@@ -4731,7 +5022,7 @@ given the tool that reaches them, and the builder is closed. Their files, approv
4731
5022
  them back on restores everything as it was.</p>
4732
5023
  <p>Atlas hands requests to the active custom agents (custom_agent) as it does to its own agents. Each run is
4733
5024
  kept in <code>.forgeqe/agent-runs/&lt;id&gt;</code>.</p>
4734
- <p>In the web app (<code>forgeqe web</code>), custom agents are under Agents, Custom agents. <strong>New agent</strong> opens the agent builder:
5025
+ <p>In the web app (<code>forgeqe web</code>), custom agents are under Agents › Custom agents. <strong>Make an agent</strong> in the sidebar, or <strong>New</strong> on the Agents page, opens the agent builder:
4735
5026
  say what the agent should do in your own words, and ForgeQE takes you through its steps, one page each: Understand
4736
5027
  (what it could not work out, with what it recommends and why), Plan (how the agent will work, and whether each part is
4737
5028
  set up here), Boundaries (where it works and what it may do, least privilege first; production never), Knowledge (what
@@ -4784,10 +5075,12 @@ back to an earlier version (each confirmed by typing its id), and its runs with
4784
5075
  <tr><td><code>job_done</code></td><td>A job that runs only when asked ends</td><td>The same, whether it passed or failed</td></tr>
4785
5076
  <tr><td><code>job_investigated</code></td><td>The investigation of a job's failed run is done</td><td>Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons</td></tr>
4786
5077
  <tr><td><code>agent_waiting</code></td><td>A custom agent running with nobody watching waits for a person's approval</td><td>What it wants to do and why, until when it waits, and how to answer</td></tr>
5078
+ <tr><td><code>agent_failed</code></td><td>A custom agent's run with nobody watching does not finish (unless its <code>runtime.notify</code> is <code>never</code>)</td><td>The outcome, counts of refused calls and declined approvals, and where to read the run</td></tr>
5079
+ <tr><td><code>agent_done</code></td><td>A custom agent's run with nobody watching finishes, when its <code>runtime.notify</code> is <code>always</code></td><td>The same</td></tr>
4787
5080
  <tr><td><code>evidence_drift</code></td><td><code>forgeqe evidence drift --notify</code> finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports</td><td>Each alert, with the runs it rests on (only channels that list it get it)</td></tr>
4788
5081
  </tbody>
4789
5082
  </table></div>
4790
- <p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, and <code>agent_waiting</code>. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own <code>monitor.alerts</code>, with the same cards.</p>
5083
+ <p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, <code>agent_waiting</code> and <code>agent_failed</code>. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own <code>monitor.alerts</code>, with the same cards.</p>
4791
5084
  <p>Events are sent from runs nobody is watching: <code>forgeqe suite</code> in a pipeline or on a schedule, <code>forgeqe run</code>, and the MCP server. In the shell, where people try things out, nothing is sent on its own; ask instead (&quot;post the results to the QA channel&quot;, &quot;tell the release channel the verdict&quot;), and ForgeQE's agent posts a card with <code>notify</code>.</p>
4792
5085
  <p>Links: with <code>report_url</code>, cards open the report where the reports folder is published. In Azure Pipelines and GitHub Actions they also open the build, where the report is an artifact. Without either, the card names the report's path.</p>
4793
5086
  <p><strong>Setting up a Teams channel:</strong></p>
@@ -5090,7 +5383,7 @@ forgeqe suite ado:plan=12/suite=34 --each-query test-data/queries/active-users.s
5090
5383
  <p>The result goes back to the test point (or the work item) once, failed when any row failed, with every row in the comment.</p>
5091
5384
  <ul>
5092
5385
  <li><strong>Cases written in words.</strong> A case needs no <code>{{row.&lt;column&gt;}}</code> to use its row: each run's browser agent is given the row's values (&quot;Test data for this run: email, role, expected_message …&quot;) and uses them wherever the case needs test data, so &quot;Sign in as the test user and check the welcome message&quot; takes each row's user and message. Columns named like a secret (password, token, API key, PIN, card number and the like) are never shown to the model this way, nor used to name a row; a case that needs one says <code>{{row.password}}</code>, or the login comes from <code>logins</code>.</li>
5093
- <li><strong>Another user on each row, in a recording or a desktop app.</strong> A recording's Try it with rows that have a <code>login</code> column signs in as each row's login: the recording's sign-in steps read the row's login's variables in place of the login it was recorded with. A desktop workflow's <code>{{secret:NAME}}</code> does the same with <code>forgeqe desktop replay --data users.csv</code>, for logins that name the app (<code>app: billing</code> in place of a site), and <code>{{totp:NAME}}</code> types an authenticator code made from NAME, never the secret. A row whose login lacks a variable the recording types stops with the reason.</li>
5386
+ <li><strong>Another user on each row, in a recording or a desktop app.</strong> A recording's Re-run with rows that have a <code>login</code> column signs in as each row's login: the recording's sign-in steps read the row's login's variables in place of the login it was recorded with. A desktop workflow's <code>{{secret:NAME}}</code> does the same with <code>forgeqe desktop replay --data users.csv</code>, for logins that name the app (<code>app: billing</code> in place of a site), and <code>{{totp:NAME}}</code> types an authenticator code made from NAME, never the secret. A row whose login lacks a variable the recording types stops with the reason.</li>
5094
5387
  <li><strong>Another user on each row.</strong> A <code>login</code> column names the saved login (<code>logins:</code> in forgeqe.yaml) a row signs in with: <code>shop_admin</code>, <code>shop_viewer</code>, each with its own <code>username_env</code>, <code>password_env</code> and <code>totp_env</code>. The data file holds only the names; the passwords and authenticator secrets stay in environment variables. That row's run gets that login and no other of the same site; a row naming a login forgeqe.yaml does not have stops with the reason. The test written from the rows reads each row's credentials from its login's variables, named in the rows file (<code>logins</code>), and makes its own one-time codes.</li>
5095
5388
  <li><strong>One result per row.</strong> Each row is a run of its own, <code>LOGIN-3[2]</code> with the row in its title (<code>· row 2 (email=bob@shop.test, role=viewer)</code>), in the report, the history and the terminal. Results posted back to Azure DevOps, Jira and the others are one per test case: it fails when any row fails, and the comment lists every row.</li>
5096
5389
  <li><strong>One test for every row.</strong> The coding agent writes one parameterised test from the first row that passes (Playwright <code>for (const row of rows) test(...)</code>, <code>@pytest.mark.parametrize</code>, NUnit <code>TestCaseSource</code>, JUnit <code>@MethodSource</code>). It reads the rows at run time from the JSON file <code>FORGEQE_ROWS_FILE</code> names (<code>{&quot;columns&quot;: [...], &quot;rows&quot;: [{...}]}</code>). In a pipeline, make that file with <code>forgeqe data rows ... --export</code>, and set <code>FORGEQE_ROWS_FILE</code> to it.</li>
@@ -5343,7 +5636,7 @@ tokens and the like) show as <code>•••</code> in results. A check compares
5343
5636
  <p>Quill first reads the repo (as a read-only agent: it cannot change files or use the live browser yet), while the replay runs when there is one, so the two overlap. What it learns (the framework, the command that runs one test, where page objects and config live, the conventions) is saved with page memory in <code>scribe-notes.json</code>, with the tests each job writes there. The next job in the same repo starts from those notes and that list instead of reading the repo again, and extends those tests' page objects when its flow overlaps; notes older than 30 days are read again.</p>
5344
5637
  </li>
5345
5638
  <li>
5346
- <p>Quill starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework (&quot;Framework: Cypress + TypeScript + Cucumber BDD&quot;), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It may change the test configuration, but never a project's packages: changes to <code>package.json</code>, lockfiles, <code>.npmrc</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> are put back, and its shell cannot run an installer. Before running the test, ForgeQE installs the test project's packages itself when they are missing, with the project's own lockfile (<code>npm ci</code>, <code>pnpm install --frozen-lockfile</code>, <code>yarn install --frozen-lockfile</code>, <code>bun install --frozen-lockfile</code>; <code>npm install --no-package-lock</code> with no lockfile), and Cypress's app or a Playwright browser when a run says it is missing. If the install fails (permission denied, the registry unreachable, a version that does not exist), the job stops as blocked with the reason and the command to run, and is not tried again in that session until the project's files change. What Quill may not do itself, it asks for: a package (<code>request_install</code>), a command its shell refuses (<code>request_run</code>), or a change to <code>package.json</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> (<code>request_change</code>). ForgeQE checks the request (registry names and exact versions only; a command as an argument list, never a shell, push, container, process-ending, download or database command, and nothing naming ForgeQE's secrets; never <code>.npmrc</code> or a lockfile by hand), then asks you with exactly what it would run or change. Only a yes does it; a no, or a run nobody watches, changes nothing and Quill reports the test as blocked. The healing agent (<code>forgeqe heal</code>) and Link ask the same way, and their own edits to package files are put back before their tests run. <code>code.requests</code> in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: <code>ask</code> (the default) asks you each time; <code>allow</code> does it after ForgeQE's checks without asking, also in a run nobody watches; <code>off</code> refuses every request. What is always refused (a shell, a push, <code>.npmrc</code>, a lockfile by hand…) stays refused whatever it says.</p>
5639
+ <p>Quill starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework (&quot;Framework: Cypress + TypeScript + Cucumber BDD&quot;), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It never changes the test-runner configuration the whole suite shares (<code>playwright.config.*</code>, <code>cypress.config.*</code>, <code>wdio.conf.*</code>, Nightwatch's config, a <code>.runsettings</code>): browser options a test needs to get the page the run got go in that test's own file, and only those it needs (Playwright Test: a top-level <code>test.use({ ... })</code> in the spec, where <code>channel</code> and <code>launchOptions</code> must be). ForgeQE puts back its changes to those files after each turn (a repository with none keeps the one it sets up) and tells it to move the options into the test. Nor does it change a project's packages: changes to <code>package.json</code>, lockfiles, <code>.npmrc</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> are put back, and its shell cannot run an installer. Before running the test, ForgeQE installs the test project's packages itself when they are missing, with the project's own lockfile (<code>npm ci</code>, <code>pnpm install --frozen-lockfile</code>, <code>yarn install --frozen-lockfile</code>, <code>bun install --frozen-lockfile</code>; <code>npm install --no-package-lock</code> with no lockfile), and Cypress's app or a Playwright browser when a run says it is missing. If the install fails (permission denied, the registry unreachable, a version that does not exist), the job stops as blocked with the reason and the command to run, and is not tried again in that session until the project's files change. What Quill may not do itself, it asks for: a package (<code>request_install</code>), a command its shell refuses (<code>request_run</code>), or a change to <code>package.json</code>, <code>requirements.txt</code>, <code>pyproject.toml</code> or the suite's shared test-runner config (<code>request_change</code>). ForgeQE checks the request (registry names and exact versions only; a command as an argument list, never a shell, push, container, process-ending, download or database command, and nothing naming ForgeQE's secrets; never <code>.npmrc</code> or a lockfile by hand), then asks you with exactly what it would run or change. Only a yes does it; a no, or a run nobody watches, changes nothing and Quill reports the test as blocked. The healing agent (<code>forgeqe heal</code>) and Link ask the same way, and their own edits to package files and the shared test-runner config are put back before their tests run. <code>code.requests</code> in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: <code>ask</code> (the default) asks you each time; <code>allow</code> does it after ForgeQE's checks without asking, also in a run nobody watches; <code>off</code> refuses every request. What is always refused (a shell, a push, <code>.npmrc</code>, a lockfile by hand…) stays refused whatever it says.</p>
5347
5640
  <p>Before Quill starts, ForgeQE reads the repo into a <strong>code graph</strong>, without a model: every class, page object, method, property, and test (TypeScript, JavaScript, C#, Java, Python), the calls between them, and the locators each one builds, in any framework's spelling (Playwright, Selenium, Cypress, WebdriverIO, Testing Library). It is kept in <code>~/.forgeqe/cache/code-graph</code>, nothing leaves the machine, and the next job reads again only the files that changed. The graph is tied to page memory, which knows each element by all its locators (its id, role and name, text, test id): so when the run clicked <code>getByRole('button', { name: 'Login' })</code> and the repo's <code>LoginPage.LoginButton</code> uses <code>#login-button</code>, the handoff says under that step &quot;in this repository: LoginPage.LoginButton … used by LoginPage.SignInAsync&quot;, and Quill calls the existing method instead of writing a second locator. Quill also gets tools that answer from the graph instead of grep and whole-file reads: <code>code_find</code> (classes, methods, and tests by name, or by the text a locator uses), <code>code_outline</code> (a file's or class's signatures and locators, or the source of one member), <code>code_element</code> (which member already locates an element), <code>code_references</code> (what calls a member, before it is changed), and <code>code_impact</code> (the tests a change reaches, through flows and base classes, whatever the test files are called). <code>graph: false</code> turns it off. The handoff also outlines the page objects its steps use and includes the repo's test that uses the most of them, so Quill takes the test conventions from that test instead of reading other tests, and reads a settings file only to change it.</p>
5348
5641
  </li>
5349
5642
  <li>
@@ -5695,7 +5988,7 @@ unchanged ones keep their tests (no agent call, as long as the file is still as
5695
5988
  ones are converted, and ones no longer in the exports are listed with their tests left in place for a person to
5696
5989
  remove. Test cases left unpicked before stay unpicked. <code>--refresh</code> (or the page's option) clones each repository
5697
5990
  again for its newest commit, as before; the old copy stays for the old plan.
5698
- <strong>What can be migrated.</strong> <code>forgeqe tosca inspect</code>, <code>show</code> and the Tosca page put every test case of the export in
5991
+ <strong>What can be migrated.</strong> <code>forgeqe tosca inspect</code>, <code>show</code> and a Tosca migration's page (Migration) put every test case of the export in
5699
5992
  one kind: web (converted), web with steps for a person, API (converted), API with steps for a person, web and API
5700
5993
  (converted), web or API mixed with another engine (converted: its web and API steps, and each desktop, mobile or
5701
5994
  database step stays in the test as a marked comment saying what it does, for a person to code), desktop, mobile,
@@ -6001,6 +6294,7 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
6001
6294
  <p><strong>Running it.</strong> ForgeQE asks before it runs anything.</p>
6002
6295
  <ul>
6003
6296
  <li><em>This machine</em>: ForgeQE builds one command for exactly the pack's tests, the way the repository already runs a test (for .NET, a <code>--filter</code> with each test, the settings an earlier job used, TRX results), runs it, and reads each result. A failed test runs once more; one that then passes is flaky.</li>
6297
+ <li><em>A pipeline</em>: <code>forgeqe pack run &lt;name&gt; --on pipeline [--pipeline github|azure_devops] [--browsers local|testmu]</code> starts the pack in GitHub Actions or Azure Pipelines, waits for it, and reads its results. <code>forgeqe pack pipeline init [--github] [--azure-devops]</code> writes the workflow (<code>.github/workflows/forgeqe-pack.yml</code>) and the Azure DevOps pipeline; commit them, then name them under <code>packs.pipeline</code> in forgeqe.yaml (<code>default: github</code> or <code>azure_devops</code>; <code>github: { repo, workflow, ref }</code>; <code>azure_devops: { project, pipeline_id, ref }</code>; <code>timeout_minutes</code>, 60 by default). For TestMu AI, add the secrets <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> to the pipeline. The Azure DevOps PAT needs Build (read and execute) and Test Management (read).</li>
6004
6298
  <li><em>TestMu AI</em>: the same command, with the variable <code>FORGEQE_PW_WS_ENDPOINT</code> set to TestMu AI's Playwright endpoint for the browser and platform in <code>testmu.yaml</code> (the access key goes in the variable, never in the command, and is removed from the output). The tests must connect to it when it is set: for NUnit, override <code>ConnectOptionsAsync</code> in the test base class; for Playwright Test, set <code>connectOptions</code> from it in <code>playwright.config</code>. ForgeQE refuses a TestMu run when the tests do not read the variable, so a run never looks remote while it ran locally.</li>
6005
6299
  </ul>
6006
6300
  <p>Each run is kept with the pack: the card says which tests fail now that passed in the last run, and which were fixed.</p>
@@ -6102,19 +6396,30 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
6102
6396
  <section class="doc" id="doc-how_to_use-test-management">
6103
6397
  <h4>Test management</h4>
6104
6398
  <div class="prose"><p>The <strong>Test management</strong> page (<code>#/test-management</code> in <code>forgeqe web</code>, and <code>test_inventory</code> for the agent) shows every test case of your test plans in one place, so you do not open the tracker or the repository to see them. Name the plans in Settings › Integrations, under each system's <strong>Test plans in Test management</strong> (<code>sources.azure_devops.test_plans: [plan=12]</code>, and the same for <code>xray</code>, <code>testrail</code>, <code>zephyr</code> and <code>qtest</code>), then press <strong>Sync</strong>.</p>
6399
+ <p><strong>Syncing on a schedule.</strong> The button beside <strong>Sync</strong> (<code>Sync: off</code>, <code>Sync: hourly</code>, <code>Sync: daily 07:00</code>) sets when ForgeQE reads the plans again, in the jobs service, while this computer is on. Each scheduled sync also reads again the stories Gaps shows. <strong>Also discover the tests first</strong> discovers the tests before each sync with the commands the sheet shows; if the test projects change, it stops discovering until you confirm again.</p>
6400
+ <pre><code class="language-bash">forgeqe testmgmt sync # read every case of the connected plans now
6401
+ forgeqe testmgmt schedule # when they are synced
6402
+ forgeqe testmgmt schedule daily 07:00 # or: hourly, off
6403
+ </code></pre>
6105
6404
  <ul>
6106
6405
  <li><strong>Dashboard</strong>: cases, automated, not automated, pending, failing and generated by ForgeQE, each with its change over the week; coverage over time; cases generated and automated each week; and each suite's last run, with Run and Rerun failed.</li>
6107
6406
  <li><strong>Test cases</strong>: every case with its automated test, last run, tags and suite, in views (not automated, failing, pending, generated, steps changed, tracker disagrees) and filters. Pick cases to Run, Tag or make a suite. A case opens on its own page with its steps, test and runs.</li>
6108
- <li><strong>Gaps</strong>: cases not automated, ranked by priority, failures, packs and smoke tags, with why; pending, never run and failing cases; and tests with no case.</li>
6407
+ <li><strong>Automated</strong>: the repository's automated tests, as a test explorer lists them: each with ForgeQE's id (<code>T-…</code>), its framework's own id, its file and line, its tags, its last runs and the test cases it is linked to. Filter by <strong>No test case</strong>, <strong>Linked</strong> or <strong>Read from the code</strong>.</li>
6408
+ <li><strong>Gaps</strong>: cases not automated, ranked by priority, failures, packs and smoke tags, with why; pending, never run and failing cases; cases whose steps changed or whose tracker disagrees; tests with no case; and the release's <strong>stories with no case</strong> and <strong>acceptance criteria not covered</strong>. Say which stories with <strong>Read stories</strong>: in Azure DevOps a sprint, iteration path, area path, epic or feature, or work item ids; in Jira (also Xray and Zephyr Scale) a sprint, fix version, epic or story keys; in qTest a requirements module or requirement ids. Until you read some, the newest Release readiness report is used. Every sync reads them again.</li>
6109
6409
  <li><strong>Suites</strong>: tell the <strong>Suite agent</strong> (Sorter) what the suite is for, such as &quot;P1 payments and anything failing lately&quot;. It builds the suite from rules over your cases, which ForgeQE checks, and you save it. A suite runs as <code>forgeqe suite</code> on a test environment you pick, never one named like production.</li>
6110
6410
  <li><strong>Tags</strong>: tags from your trackers, your tests (<code>@smoke</code>) and ForgeQE (<code>.forgeqe/testmgmt/tags.json</code>), with which are out of step.</li>
6111
6411
  </ul>
6112
- <p>The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags.</p>
6412
+ <p>The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags, <strong>Write tags into tests</strong> (the coding agent writes the cases' tags into their linked tests as the framework writes tags, and shows the diff before saving), and <strong>Cases for stories with none</strong> (test cases for the stories you picked in Gaps, shown before they are saved).</p>
6413
+ <p><strong>Discovering the tests.</strong> On <strong>Automated</strong>, <strong>Discover tests</strong> asks each test project's own framework for its tests: pytest, .NET (NUnit, xUnit, MSTest), Playwright, Jest, Vitest, Mocha and Robot Framework. Gherkin <code>.feature</code> files are read as text. This runs the repository's code (pytest imports <code>conftest.py</code>, .NET builds the project), so the sheet shows the exact commands first and runs only those, without ForgeQE's secrets. A test its framework cannot list is read from the code instead. Each test gets ForgeQE's id (<code>T-</code> and hex), kept in <code>.forgeqe/testmgmt/tests.json</code>; commit it so the team shares the ids. A test keeps its id when it is renamed or moved.</p>
6414
+ <p><strong>Linking cases and tests.</strong> A case can have several tests, and a test several cases. ForgeQE links them by itself when a test's marker or attribute names the case (<code>@pytest.mark.testcase(&quot;C12&quot;)</code>, <code>[Property(&quot;TestCaseId&quot;, &quot;123&quot;)]</code>, <code>[WorkItem(123)]</code>, <code>@id:ADO-5</code>), when the case's tracker names the test, or when the case's id is in the test's name or tags (<code>TC-123 adds to the basket</code>). You can link by hand: <strong>Link to a test case</strong> on <strong>Automated</strong>, or <strong>Link a test</strong> on a case's page; <strong>Unlink</strong> removes one, and it is not linked again by itself. <strong>Link with the agent</strong> (or <strong>Ask the agent</strong> on a case's page) asks the mapping agent (Matchmaker) to find the tests for cases that have none. It links only when it is sure and the case and test share most of their words; the rest wait on the case's page as proposals to <strong>Accept</strong> or <strong>Refuse</strong>. Links, proposals and refusals are kept in <code>.forgeqe/testmgmt/links.json</code>; commit it to share them.</p>
6415
+ <p><strong>A case's main test.</strong> When a case has several tests, make one its <strong>Main test</strong> on the case's page. It is listed first, its tracker records it as the case's automated test, and a run uses it first.</p>
6416
+ <p><strong>Running linked tests.</strong> Run a case, or a suite, and ForgeQE first records the case's linked tests in its mapping (<code>.forgeqe/test-cases.json</code>) with one command that runs them all, so <code>forgeqe suite</code> runs them too. A Gherkin scenario runs through its feature's own runner, found from the project's files: Cucumber.js, Behave, pytest-bdd, Cucumber JVM (Maven or Gradle), or SpecFlow or Reqnroll. A scenario with no runner found cannot be run this way.</p>
6113
6417
  <p><strong>Writing back to the trackers.</strong> Test management can also change the trackers, always showing exactly what would change first and writing only that list:</p>
6114
6418
  <ul>
6115
- <li><strong>Mark automated</strong> (picked cases, or a case's page): each case whose test ForgeQE knows gets Azure DevOps' Associated Automation, or the <code>automated</code> label on its Jira or Xray test.</li>
6116
- <li><strong>Write tags</strong> (picked cases, a case's page, or a tag on the Tags page): ForgeQE's tags are added to the case's Azure DevOps tags or Jira labels. Nothing is taken away.</li>
6117
- <li><strong>Keep in tracker</strong> (a suite): the suite is made as a static suite in a connected Azure DevOps plan, or as an Xray Test Set (Xray Cloud), with its cases. <strong>Keep in step</strong> later adds the cases it gained and takes out the ones it lost.</li>
6419
+ <li><strong>Mark automated</strong> (picked cases, or <strong>Mark automated in its system</strong> on a case's page): each case whose test ForgeQE knows, from its mapping or a link, gets Azure DevOps' Associated Automation, or the <code>automated</code> label on its Jira or Xray test.</li>
6420
+ <li><strong>Write tags</strong> (picked cases, <strong>Write tags to its system</strong> on a case's page, or a tag on the Tags page): ForgeQE's tags are added to the case's Azure DevOps tags or Jira labels. Tags the case already has stay.</li>
6421
+ <li><strong>Take tags off</strong> (<strong>Take tags off in its system</strong> on a case's page, or a tag on the Tags page): ForgeQE's own tags are taken off the case's Azure DevOps tags or Jira labels. The tracker's other tags stay.</li>
6422
+ <li><strong>Keep in tracker</strong> (a suite): the suite is made as a static suite in a connected Azure DevOps plan, or as an Xray Test Set (Xray Cloud, or Xray Server/Data Center over https), with its cases. <strong>Keep in step</strong> later adds the cases it gained and takes out the ones it lost.</li>
6118
6423
  </ul>
6119
6424
  <p>Each write is audited. If a tracker refuses a case, the sheet says why for that case and the rest still go through.</p>
6120
6425
  </div>
@@ -6211,7 +6516,7 @@ forgeqe pr-tests 42 --run --post # and post the results on p
6211
6516
  <h4>API and contract tests</h4>
6212
6517
  <div class="prose"><p>ForgeQE tests APIs directly too: REST, GraphQL (queries, mutations and subscriptions), SOAP, gRPC (unary and streaming), WebSocket and Server-Sent Events. API tests check the same logic as UI tests in a fraction of the time, and they do not break when the page changes. Contracts come from two places:</p>
6213
6518
  <ul>
6214
- <li><strong>A browser run, a recording, or its latest try.</strong> Every browser run, every recording you make by hand, and the latest <strong>Try it</strong> of a recording record the application's own API calls (XHR, fetch, event streams) in <code>network.json</code> in the run folder: method, URL, status, timing, and the request and response bodies when they are JSON, XML, or text. Secrets never reach the file: <code>Authorization</code>, cookies, and API key headers are dropped (only the kind of auth is kept, e.g. bearer), and fields named like a password, token, key, session, or card number are redacted in bodies and query strings. Only a few headers are kept (content type, accept, SOAP action); <code>api.keep_headers</code> adds others your API needs, such as <code>X-Tenant</code>, which the contracts' example calls then send too. A header that can carry a credential (<code>Authorization</code>, <code>Cookie</code>, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. &quot;Turn the last run's API calls into tests&quot; (<code>api_contracts</code> from <code>run</code>) groups the calls into operations: one per method and path, with ids in paths turned into <code>{id}</code> (<code>GET /api/orders/{id}</code>), GraphQL by operation name, SOAP by action, gRPC-web by method. Several calls to one operation make a better contract: a field in every answer is required, a value that differs between calls is not pinned. No model is used.</li>
6519
+ <li><strong>A browser run, a recording, or its latest try.</strong> Every browser run, every recording you make by hand, and the latest <strong>Re-run</strong> of a recording record the application's own API calls (XHR, fetch, event streams) in <code>network.json</code> in the run folder: method, URL, status, timing, and the request and response bodies when they are JSON, XML, or text. Secrets never reach the file: <code>Authorization</code>, cookies, and API key headers are dropped (only the kind of auth is kept, e.g. bearer), and fields named like a password, token, key, session, or card number are redacted in bodies and query strings. Only a few headers are kept (content type, accept, SOAP action); <code>api.keep_headers</code> adds others your API needs, such as <code>X-Tenant</code>, which the contracts' example calls then send too. A header that can carry a credential (<code>Authorization</code>, <code>Cookie</code>, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. &quot;Turn the last run's API calls into tests&quot; (<code>api_contracts</code> from <code>run</code>) groups the calls into operations: one per method and path, with ids in paths turned into <code>{id}</code> (<code>GET /api/orders/{id}</code>), GraphQL by operation name, SOAP by action, gRPC-web by method. Several calls to one operation make a better contract: a field in every answer is required, a value that differs between calls is not pinned. No model is used.</li>
6215
6520
  <li><strong>An API description,</strong> by link or file: OpenAPI 3 or Swagger 2 (JSON or YAML, or the Swagger UI page, which ForgeQE looks behind for the document), WSDL for SOAP, a GraphQL endpoint (read by introspection) or an SDL or introspection file, <code>.proto</code> files, or <code>grpc://host:port</code> for a gRPC server with reflection (through <a href="https://github.com/fullstorydev/grpcurl" rel="noopener">grpcurl</a>); client, server and bidi streaming rpcs become streaming contracts, and a GraphQL subscription becomes a <code>graphql-transport-ws</code> WebSocket contract. Each operation gets an example call from the description's examples; values it gives no example for are made up and the contract is marked as needing real values.</li>
6216
6521
  </ul>
6217
6522
  <p>Each contract has one example call and what its answer must have: the <strong>status</strong>, the <strong>content type</strong>, the body's <strong>schema</strong>, and <strong>key fields</strong> (ids, statuses, names, totals: present, with their type; a value only where it does not change between calls, like a status). GraphQL answers must have no <code>errors</code>; SOAP answers no <code>Fault</code> and the expected elements; gRPC calls the OK status. Contract sets are saved in <code>.forgeqe/reports/api/&lt;id&gt;/</code>: <code>contracts.json</code> (edit the examples freely, e.g. to give real ids) and <code>api.md</code>.</p>
@@ -6345,7 +6650,11 @@ each with its <strong>calls</strong> (contracts) and <strong>flows</strong> (sce
6345
6650
  path, params, headers, a JSON body), <strong>Send</strong> it and see what came back (body, headers, the checks that passed or
6346
6651
  failed), <strong>Save</strong> it, and set <strong>what it must answer</strong> (the status, the statuses that also pass, fields with their
6347
6652
  type or value), or take it from a right answer with <strong>Use as what it must answer</strong>. Pick the <strong>environment</strong> from
6348
- <code>env.yaml</code> at the top: calls go to its API app's address, and <strong>Run</strong> runs every call and then every flow there
6653
+ <code>env.yaml</code> at the top: calls go to its API app's address. Where it has none, the API's own address shows in full before
6654
+ the path, and you can edit it (http, https, grpc or grpcs, with no user, query or fragment). A call can go to another
6655
+ app of <code>env.yaml</code> instead: pick <code>{{app.NAME}}</code> before its path, or set one for the whole API under <strong>Calls go to</strong>. Its
6656
+ address is that app's on the environment picked (else the active one), and a call whose app the environment does not
6657
+ have is not sent. Rename an API, a call or a flow in place; an API's chevron collapses it. <strong>Run</strong> runs every call and then every flow there
6349
6658
  (<code>forgeqe api run-all</code>). A call that changes data asks first: <strong>Send it once</strong>, or <strong>Always on</strong> that environment
6350
6659
  (remembered for the API, never for an environment named like production). <strong>Sign in</strong> once per API: a bearer token,
6351
6660
  an API key in a header, or a user name and password; the value you type goes to the credential store under a variable
@@ -6620,10 +6929,15 @@ forgeqe visual approve --page /home # make this run's /home the baseline (asks
6620
6929
  <div class="detail"><span class="mono">In detail</span>
6621
6930
  <section class="doc" id="doc-how_to_use-responsive-preview">
6622
6931
  <h4>Responsive preview</h4>
6623
- <div class="prose"><p>The <strong>Responsive</strong> 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 <code>pointer: coarse</code> 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.</p>
6932
+ <div class="prose"><p>The <strong>Responsive</strong> page (Specialised testing) runs one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer, with nobody watching. 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 <code>pointer: coarse</code> lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The page has an <strong>Agent</strong> tab and a <strong>Runs</strong> tab; <strong>New</strong> starts a run in four steps:</p>
6933
+ <ol>
6934
+ <li><strong>Page and devices.</strong> The address starts as the active environment's web app. Pick the devices, and where they run: <strong>This computer</strong>, or BrowserStack or TestMu AI once their sign-in is set (<code>BROWSERSTACK_USERNAME</code> and <code>BROWSERSTACK_ACCESS_KEY</code>, or <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>). On a cloud, <strong>Emulated in a browser</strong> shows the devices in one Chrome, Edge, Firefox or WebKit session; <strong>Real devices</strong> lists the cloud's own phones and tablets (Android, and iOS 17 and later), up to six, each its own session. A page on this computer or its network never goes to a cloud.</li>
6935
+ <li><strong>What to do.</strong> One prompt, written as you would tell a tester, with up to three <code>.txt</code>, <code>.md</code>, <code>.csv</code> or <code>.feature</code> files attached. A test case from test management or a saved prompt can fill it; <strong>Save</strong> keeps a prompt in <code>.forgeqe/responsive/flows/</code>. When the run starts, Prism reads the prompt as steps and checks (without a model, each line or sentence is a step) and plans each step for each layout from what its screen shows.</li>
6936
+ <li><strong>What to check.</strong> The built-in checks (<strong>Scrolls sideways</strong>, <strong>Text under 12px</strong>, <strong>Tap targets under 24px</strong>, <strong>Broken images</strong>) and up to eight of your own in words (&quot;The cart total shows without scrolling&quot;). Your own check fails only with a quote found on that screen; without a model it is not judged.</li>
6937
+ <li><strong>Review</strong>, then <strong>Start</strong>.</li>
6938
+ </ol>
6939
+ <p>Each step is done on every device in turn, and the checks run after every step, with a screenshot of each device. While it runs, the run's page shows <strong>Findings</strong>, <strong>Devices</strong> (each device's last step and screenshot) and <strong>Log and errors</strong>, with <strong>Stop</strong> (what was done is kept). A finished run shows <strong>Steps</strong>, <strong>Findings</strong> (High, Medium or Low; a row opens the finding with its screenshot), <strong>Screenshots</strong> and <strong>Log and errors</strong>. Runs are kept in the reports folder as <code>responsive/&lt;run id&gt;/</code>. One run goes at a time, and a run on a site of an environment named like production is refused.</p>
6624
6940
  <ul>
6625
- <li><strong>Use one device:</strong> click, scroll and type on its pane; Show larger opens it bigger.</li>
6626
- <li><strong>Synced control:</strong> one instruction (&quot;Open the pricing page&quot;, &quot;Search for red shoes&quot;) 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.</li>
6627
6941
  <li><code>responsive_check</code> (or &quot;does the checkout work on phones?&quot;) 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 <code>responsive-&lt;time&gt;/</code> in the reports folder. It clicks and types nothing.</li>
6628
6942
  </ul>
6629
6943
  </div>
@@ -6957,7 +7271,7 @@ gcloud's default project for that server only.</li>
6957
7271
  command: npx -y @triparc/xray-mcp
6958
7272
  env: { XRAY_CLIENT_ID: &quot;{env:XRAY_CLIENT_ID}&quot;, XRAY_CLIENT_SECRET: &quot;{env:XRAY_CLIENT_SECRET}&quot; }
6959
7273
  </code></pre>
6960
- <p><code>forgeqe mcp list</code> prints the servers your settings give, with secrets shown only as <code>{env:…}</code>, and says why any system is left out. When the agent starts, the transcript shows the result:</p>
7274
+ <p><code>forgeqe mcp list</code> prints the servers your settings give, with secrets shown only as <code>{env:…}</code>, and says why any system is left out. When a turn first needs a server (or, for a server ForgeQE could not list, when the agent starts), the transcript shows the result:</p>
6961
7275
  <pre><code> ▸ Connecting to Azure DevOps MCP, Jira MCP (mcp-atlassian)…
6962
7276
  ✓ Azure DevOps MCP connected
6963
7277
  ✗ Jira MCP (mcp-atlassian) did not connect (…). ForgeQE's API tools cover it.
@@ -6970,7 +7284,7 @@ gcloud's default project for that server only.</li>
6970
7284
  </ul>
6971
7285
  <p>The agent runs test cases with <code>run_test_cases</code> even when an MCP server is connected, so reports and write-back work the same either way. It uses the MCP tools for everything else, and creates or changes items (a bug, a comment, a transition) only when you ask.</p>
6972
7286
  </div></section>
6973
- <section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p><code>forgeqe mcp</code> serves ForgeQE's tools to other agents over stdio (MCP):</p>
7287
+ <section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p><code>forgeqe mcp</code> serves ForgeQE's tools to other agents over stdio (MCP). The table below lists the main tools: the client gets every tool of the capabilities this project can use (the Capabilities table names each capability's tools), and <code>use_capabilities</code> or <code>--all-tools</code> gives the rest.</p>
6974
7288
  <pre><code class="language-json">{ &quot;mcpServers&quot;: { &quot;forgeqe&quot;: { &quot;command&quot;: &quot;forgeqe&quot;, &quot;args&quot;: [&quot;mcp&quot;, &quot;--repo&quot;, &quot;/path/to/app&quot;] } } }
6975
7289
  </code></pre>
6976
7290
  <div class="tbl"><table>
@@ -7011,7 +7325,7 @@ gcloud's default project for that server only.</li>
7011
7325
  <tr><td><code>forgeqe_command</code></td><td>A <code>forgeqe</code> command no other tool covers, in an allowlisted shape; reading commands run at once, the others after the user agrees (<code>confirmed: true</code> over MCP)</td></tr>
7012
7326
  </tbody>
7013
7327
  </table></div>
7014
- <p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, and <code>--headed</code> apply to browser runs. Progress goes to stderr; stdout carries only MCP messages. Long calls send progress notifications, and a cancelled call stops its browser. The shell and <code>forgeqe run</code> use the same tools, served to the agent runtime over local HTTP with a one-time token.</p>
7328
+ <p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, <code>--headed</code> and <code>--browser-provider</code> apply to browser runs. Progress goes to stderr; stdout carries only MCP messages. Long calls send progress notifications, and a cancelled call stops its browser. The shell and <code>forgeqe run</code> use the same tools, served to the agent runtime over local HTTP with a one-time token.</p>
7015
7329
  </div></section>
7016
7330
  </section>
7017
7331
  <section class="doc" id="doc-how_to_use-12-engine-tuning">
@@ -7032,13 +7346,14 @@ gcloud's default project for that server only.</li>
7032
7346
  <tr><td><code>FORGEQE_ENGINE_CONTROL_LOOP_MAX_RETRIES</code></td><td>4</td><td>Repeats of the same click, input, search, or select before the agent is told to change approach; the same number again after that stops the run</td></tr>
7033
7347
  <tr><td><code>FORGEQE_ENGINE_CHANNEL</code> / <code>FORGEQE_ENGINE_EXECUTABLE_PATH</code></td><td>chrome</td><td>Browser to launch</td></tr>
7034
7348
  <tr><td><code>FORGEQE_ENGINE_SKIP_ERROR_RECOVERY_PROMPT</code></td><td>false</td><td>Drop the recovery instructions</td></tr>
7349
+ <tr><td><code>FORGEQE_ENGINE_BROWSER_START_SECONDS</code></td><td>90</td><td>How long a starting browser has to answer before the next way is tried (15 to 600), for slow company computers</td></tr>
7035
7350
  </tbody>
7036
7351
  </table></div>
7037
7352
  </div>
7038
7353
  </section>
7039
7354
  <section class="doc" id="doc-how_to_use-13-logs-for-debugging">
7040
7355
  <h3>Logs for debugging</h3>
7041
- <div class="prose"><p>Every session (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>heal</code>, <code>monitor</code>, <code>code</code>, <code>mcp</code>, <code>login</code>, <code>setup</code>) writes a log to <code>.forgeqe/logs/</code> next to <code>forgeqe.yaml</code> (the newest 30 are kept). It has the versions and settings in use, what you asked, ForgeQE's agent's answers and every tool call with its result, every browser step and result, the browser engine's own log lines, and errors. Secrets are replaced before anything is written: API keys, tokens and passwords from the environment, keys in <code>llms.json</code>, and credentials you gave in a message.</p>
7356
+ <div class="prose"><p>Every session of a command that runs agents or tools (<code>forgeqe start</code>, <code>run</code>, <code>chat</code>, <code>suite</code>, <code>heal</code>, <code>code</code>, <code>monitor</code>, <code>explore</code>, <code>record</code>, <code>migrate</code>, <code>tosca</code>, <code>pack</code>, <code>desktop</code>, <code>mobile</code>, <code>mcp</code>, <code>login</code>, <code>setup</code>, and the data commands) writes a log to <code>.forgeqe/logs/</code> next to <code>forgeqe.yaml</code> (the newest 30 are kept). It has the versions and settings in use, what you asked, ForgeQE's agent's answers and every tool call with its result, every browser step and result, the browser engine's own log lines, and errors. Secrets are replaced before anything is written: API keys, tokens and passwords from the environment, keys in <code>llms.json</code>, and credentials you gave in a message.</p>
7042
7357
  <p>Each session has two files with the same events:</p>
7043
7358
  <ul>
7044
7359
  <li>
@@ -7108,6 +7423,14 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
7108
7423
  <tr><td><code>FORGEQE_TOOL_SCOPE</code></td><td><code>off</code> gives ForgeQE's agent every tool on every turn, instead of the tools of the capabilities each request is about</td></tr>
7109
7424
  <tr><td><code>FORGEQE_ROUTING</code></td><td><code>off</code> also puts every playbook in the agent's prompt (for comparing, or ruling out a routing fault)</td></tr>
7110
7425
  <tr><td><code>FORGEQE_HOME</code></td><td>Where the managed engine lives, user skills (<code>skills/</code>), and page memory when there is no config file (default <code>~/.forgeqe</code>)</td></tr>
7426
+ <tr><td><code>FORGEQE_ENV</code></td><td>The test environment of env.yaml for every command, like <code>--env NAME</code></td></tr>
7427
+ <tr><td><code>FORGEQE_VERBOSE</code></td><td><code>1</code> starts with every detail shown, like <code>--verbose</code></td></tr>
7428
+ <tr><td><code>FORGEQE_THEME</code></td><td><code>light</code> or <code>dark</code>: the shell's colours at start</td></tr>
7429
+ <tr><td><code>FORGEQE_PRICES</code></td><td><code>off</code> stops the daily download of the model price lists</td></tr>
7430
+ <tr><td><code>FORGEQE_USAGE</code> / <code>FORGEQE_USAGE_DIR</code></td><td><code>off</code> keeps no usage ledger on disk; or a folder for it instead of <code>~/.forgeqe/usage</code></td></tr>
7431
+ <tr><td><code>FORGEQE_BUN</code></td><td>A Bun to run ForgeQE with, instead of the one npm installed or ForgeQE downloaded</td></tr>
7432
+ <tr><td><code>FORGEQE_SECRET_STORE</code></td><td><code>file</code> keeps saved secrets in <code>~/.forgeqe/credentials.json</code> (readable only by you) instead of the system's credential store</td></tr>
7433
+ <tr><td><code>SERVICENOW_URL</code> / <code>SERVICENOW_USER</code> / <code>SERVICENOW_PASSWORD</code></td><td>ServiceNow instance and sign-in when <code>sources.servicenow</code> doesn't set them</td></tr>
7111
7434
  <tr><td><code>ADO_ORG_URL</code> / <code>ADO_PROJECT</code> / <code>ADO_PAT</code></td><td>Azure DevOps organization, project, and token when <code>sources.azure_devops</code> doesn't set them</td></tr>
7112
7435
  <tr><td><code>JIRA_URL</code> / <code>JIRA_EMAIL</code> / <code>JIRA_API_TOKEN</code></td><td>Jira site and credentials when <code>sources.jira</code> doesn't set them</td></tr>
7113
7436
  <tr><td><code>XRAY_URL</code> / <code>XRAY_CLIENT_ID</code> / <code>XRAY_CLIENT_SECRET</code></td><td>Xray Cloud endpoint and API key pair</td></tr>