@capagents/forgeqe 3.1.0 → 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 (254) hide show
  1. package/HOW_TO_USE.md +465 -95
  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 -6708
  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 +2251 -1886
  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 -12
  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 +463 -87
  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/responsive-review.md +38 -0
  128. package/prompts/responsive-split.md +40 -0
  129. package/prompts/responsive.md +42 -0
  130. package/prompts/test-reviewer.md +1 -1
  131. package/prompts/test-rules.md +3 -4
  132. package/skills/web-guidance/LICENSE +202 -0
  133. package/skills/web-guidance/SKILL.md +76 -0
  134. package/skills/web-guidance/UPSTREAM +67 -0
  135. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  136. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  137. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  138. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  139. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  140. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  141. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  142. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  143. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  144. package/skills/web-guidance/references/forms/forms.md +415 -0
  145. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  146. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  147. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  148. package/skills/web-guidance/references/forms/slider.md +184 -0
  149. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  150. package/skills/web-guidance/references/forms/switch.md +60 -0
  151. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  152. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  153. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  154. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  155. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  156. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  157. package/skills/web-guidance/references/performance/performance.md +384 -0
  158. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  159. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  160. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  161. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  162. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  163. package/skills/web-guidance/references/security/passkeys.md +39 -0
  164. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  165. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  166. package/skills/web-guidance/references/security/security.md +390 -0
  167. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  168. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  169. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  170. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  171. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  172. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  173. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  174. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  175. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  176. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  177. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  178. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  179. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  180. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  181. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  182. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  183. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  184. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  185. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  186. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  187. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  188. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  189. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  190. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  191. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  192. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  193. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  194. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  195. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  196. package/skills/web-guidance/references/visual-design/color.md +43 -0
  197. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  198. package/dist/web/assets/AgentWork-C3KdZh5M.js +0 -2
  199. package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
  200. package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
  201. package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
  202. package/dist/web/assets/Choices-D5eTFinz.js +0 -3
  203. package/dist/web/assets/CommandPalette-D89NM2_E.js +0 -1
  204. package/dist/web/assets/Compare-YfFYHwfK.js +0 -1
  205. package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
  206. package/dist/web/assets/Data-jSFgAfej.js +0 -6
  207. package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
  208. package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
  209. package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
  210. package/dist/web/assets/Explore-BdFvqgF4.js +0 -2
  211. package/dist/web/assets/Features-CIBbw6PG.js +0 -1
  212. package/dist/web/assets/Flags-B62v4uWR.js +0 -2
  213. package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
  214. package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
  215. package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
  216. package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
  217. package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
  218. package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
  219. package/dist/web/assets/Product-BrXH81Ns.js +0 -7
  220. package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
  221. package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
  222. package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
  223. package/dist/web/assets/Record-Dnlkimjb.js +0 -1
  224. package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
  225. package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
  226. package/dist/web/assets/Response-D9FYUvHg.js +0 -9
  227. package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
  228. package/dist/web/assets/Runs-CFvmdULI.js +0 -2
  229. package/dist/web/assets/Steps-BS66s0E1.js +0 -2
  230. package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
  231. package/dist/web/assets/TestData-e3IX0xwG.js +0 -2
  232. package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
  233. package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
  234. package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
  235. package/dist/web/assets/WhatsNew-CwnRbDnd.js +0 -1
  236. package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
  237. package/dist/web/assets/crew-CWfjZIxE.js +0 -1
  238. package/dist/web/assets/families-DWilSDct.js +0 -1
  239. package/dist/web/assets/filters-CVzIOjPG.js +0 -1
  240. package/dist/web/assets/fold-tvLGnxD1.js +0 -1
  241. package/dist/web/assets/frame-Deu1IqzV.js +0 -13
  242. package/dist/web/assets/index-BWMIKyPB.js +0 -76
  243. package/dist/web/assets/index-C2Yq55oT.css +0 -2
  244. package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
  245. package/dist/web/assets/logos-C1NBtBMc.js +0 -1
  246. package/dist/web/assets/logos-DFyhMw0i.js +0 -1
  247. package/dist/web/assets/markdown-DC2HA0yZ.js +0 -10
  248. package/dist/web/assets/paletteCommands-Qxm5DZIs.js +0 -1
  249. package/dist/web/assets/parts-BR6dUwqn.js +0 -1
  250. package/dist/web/assets/productParts-BxdHuSBa.js +0 -1
  251. package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
  252. package/dist/web/assets/recordTest-CcplpTS6.js +0 -1
  253. package/dist/web/assets/today-DuQFapJM.js +0 -1
  254. package/dist/web/assets/when-CHnpLdYw.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -64,6 +64,7 @@ agent:
64
64
  | a bug, orange | Sleuth | `forgeqe-defect-rca` | Finds the root cause of a defect | No |
65
65
  | a funnel, indigo | Polish | `forgeqe-refine` | Turns a request into a task specification | No |
66
66
  | a stack of layers, cobalt | Sorter | `forgeqe-suite-builder` | Builds a test suite from what a person asks, as groups of rules over the project's test cases | No |
67
+ | a screen and a phone side by side, berry | Prism | `forgeqe-responsive` | Reads a responsive run's prompt as steps and checks, plans each step for each layout (phone, tablet, desktop), and judges the tester's own checks | No |
67
68
  | a target with its centre, sky | Matchmaker | `forgeqe-test-linker` | Links test cases to the automated tests that check them, from their titles, steps, names and files | No |
68
69
  | building blocks, mauve | Smith | `forgeqe-agent-builder` | Works out a custom agent with the user: questions, plan, name | No |
69
70
  | an envelope, plum | Herald | `forgeqe-bug-report` | Drafts a defect in ForgeQE itself from the person's words, and asks what it lacks | No |
@@ -109,32 +110,35 @@ The icons as the shell draws them, each in its agent's colour:
109
110
  ▚▟▙▞ Sleuth ▜██▛ Polish
110
111
  ▜██▛ ▜▛
111
112
 
112
- ▜██▛ Sorter ▟▀▀▙ Matchmaker
113
- ▜██▛ ▜▟▙▛
113
+ ▜██▛ Sorter ██▌█ Prism
114
+ ▜██▛ ▀▛▘█
114
115
 
115
- █ █ Smith █▀▀█ Herald
116
- █ █ ▙▟▙▟
116
+ ▟▀▀▙ Matchmaker █ █ Smith
117
+ ▜▟▙▛ █ █
117
118
 
118
- ▟██▙ Miner ▗█▖▄ BASAL
119
- ▚▄▄▞ ████
119
+ █▀▀█ Herald ▟██▙ Miner
120
+ ▙▟▙▟ ▚▄▄▞
120
121
 
121
- ▟▙ Mask ▗██▖ Librarian
122
- ▟██▙ ▜▛
122
+ ▗█▖▄ BASAL ▟▙ Mask
123
+ ████ ▟██▙
123
124
 
124
- █▖▗█ Skimmer ▐█▙ Gavel
125
- ████ ▄▖▝▙
125
+ ▗██▖ Librarian █▖▗█ Skimmer
126
+ ▜▛ ████
126
127
 
127
- ▄▟▙▄ Scales █ █ Grader
128
- ▙▖ ▙ ▞ ▞
128
+ ▐█▙ Gavel ▄▟▙▄ Scales
129
+ ▄▖▝▙ ▙▖ ▙
129
130
 
130
- ▛▀█▖ Drafter ▀▖▗▀ Mapper
131
- ▙█▄▌ ▄▝▘▄
131
+ █ █ Grader ▛▀█▖ Drafter
132
+ ▞ ▞ ▙█▄▌
132
133
 
133
- ▗▜▛▖ Digger ▞▀▀▚ Clerk
134
- ▝▄▄▙ ▙██▟
134
+ ▀▖▗▀ Mapper ▗▜▛▖ Digger
135
+ ▄▝▘▄ ▝▄▄▙
135
136
 
136
- ▗▚▞▖ Ripple ▛▀▀▜ WebPilot
137
- ▝▞▚▘ ▙▄▄▟
137
+ ▞▀▀▚ Clerk ▗▚▞▖ Ripple
138
+ ▙██▟ ▝▞▚▘
139
+
140
+ ▛▀▀▜ WebPilot
141
+ ▙▄▄▟
138
142
  ```
139
143
  <!-- subagents:end -->
140
144
 
@@ -185,11 +189,12 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
185
189
  | Automated tests | **Test management**: Plans' test cases, their tests and runs; gaps; suites. | `test_inventory` | [docs](#test-management) |
186
190
  | Quality | **Passive security smoke checks**: Reads what each browser run recorded for missing security headers, weak CSP, unsafe cookie flags, mixed content, open redirects, CORS with credentials, and keys in API answers; nothing is sent to the site. | `security_findings` | [docs](#security-smoke-checks) |
187
191
  | Quality | **Localization checks**: Finds translation keys shown as text, English left on pages in another language, cut-off text, and what breaks with longer pseudo-localized text or right to left, on every page a run visits. | `localization_findings` | [docs](#localization-checks) |
192
+ | Quality | **Responsive check**: Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device. | `responsive_check` | [docs](#responsive-preview) |
188
193
  | Operations | **Production errors and the tests that cover them**: Reads the errors users hit in production from Sentry, Datadog and Application Insights, grouped by page, and says which have no test reproducing them; read only. | `production_errors` | [docs](#production-errors) |
189
194
  | Operations | **Model cost and usage**: Adds up what the project's model calls cost by agent, origin, job, model and day, with tokens of unknown price apart, the model router's picks, and each regression pack's cost per run. | `model_cost` | [docs](#model-cost) |
190
195
  | Operations | **Scheduled monitoring with alerts**: Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers. | `monitor` | [docs](#9-monitoring) |
191
196
  | Operations | **Background jobs on a schedule**: Runs ForgeQE commands (suites, monitor rounds, regression packs, healing, pull-request tests, browser goals) on a schedule or once in the jobs service, apart from the conversation and after it closes, and watches an existing GitHub Actions or Azure DevOps pipeline (read-only). A failed pipeline run or pack run is investigated: the healing agent works on each failure on a local branch of its own (a fix for review, or an app bug), never pushing. Says how each job goes when asked, shows runs as they end, and sends failures, recoveries and findings to Teams or email. | `jobs` | [docs](#the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell) |
192
- | Operations | **Your team's custom agents**: Hands a request to one of the team's custom agents: ForgeQE's agent configured for one job in .forgeqe/agents, held in code to the environments, tools and actions its approved version allows. It runs in a session of its own and answers with its reply; each run is kept in the agent's history. Also makes a new one with the user from what it is for: it picks what the agent needs from what the project has, says why, and saves a draft when the user agrees. | `custom_agent`, `request_approval` | [docs](#custom-agents) |
197
+ | Operations | **Your team's custom agents**: Hands a request to one of the team's custom agents: ForgeQE's agent configured for one job in .forgeqe/agents, held in code to the environments, tools and actions its approved version allows. It runs in a session of its own and answers with its reply; each run is kept in the agent's history. Also makes a new one with the user from what it is for: it picks what the agent needs from what the project has, says why, and saves a draft when the user agrees. | `custom_agent`, `request_approval`, `hand_to_agent`, `remember`, `recall` | [docs](#custom-agents) |
193
198
  | Operations | **Teams and email notifications**: Tells the team in Microsoft Teams channels or by email when a suite fails or passes, when a release readiness verdict is in, and when the domain evaluation falls below its gate, with the failing cases, their bugs, and links to the report and the CI build. Each channel picks its events; the agent also posts a summary to a channel when asked. | `notify` | [docs](#17-notifications) |
194
199
  | Release | **Reports you can share**: Writes up what Atlas found, such as open defects across projects, release status, or pipeline health, as a page with filters (project, state, priority, assignee, …), charts, and a sortable table, plus Markdown and CSV. Every table is built from evidence: the results of the tool calls the agent made, or a read-only query ForgeQE runs itself, listed on the page's Sources with each raw result kept beside the report. | `write_report` | [docs](#reports-from-the-agent) |
195
200
  | Operations | **CI pipelines**: Writes a GitHub Actions or Azure Pipelines workflow that runs ForgeQE, stores the secrets it needs, pushes a branch, and makes the pipeline green. | `push_branch`, `set_ci_secret` | [docs](#8-pipelines) |
@@ -224,6 +229,7 @@ Not supported: Load, stress, or soak testing with many simultaneous users (inste
224
229
  | Optional | Why |
225
230
  |----------|-----|
226
231
  | **Google Chrome** | Used when installed; otherwise ForgeQE installs Chromium. Or set `browser.provider` to BrowserStack or TestMu AI/LambdaTest |
232
+ | **A microphone** | To talk to ForgeQE in the web app (Talk), after the one-time speech setup in Settings › Voice |
227
233
  | **A repo with tests** | Where passed runs become tests (`--repo`, or `code.repo`); without one, tests go in the current folder |
228
234
  | **Jira, Azure DevOps, Xray, TestRail, Zephyr Scale, qTest, Confluence** | Sources of test cases and requirements, and where results go back |
229
235
  | **`gh` or `az`** | For pipelines: pushing, secrets, and triggering runs |
@@ -298,7 +304,7 @@ Set up the ForgeQE engine once (the first live run does it automatically if you
298
304
  forgeqe setup
299
305
  ```
300
306
 
301
- It creates `~/.forgeqe/engine/.venv`, 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. `forgeqe setup --force` rebuilds the environment.
307
+ It creates `~/.forgeqe/engine/.venv`, 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. `forgeqe setup --force` rebuilds the environment. When `mobile:` runs apps on a device on this computer, it also installs Appium and its drivers (as `forgeqe mobile setup` does).
302
308
 
303
309
  ### Updating
304
310
 
@@ -354,9 +360,9 @@ What still needs IT: a proxy that signs in with your Windows account only (NTLM
354
360
  ## 2. Scaffold config
355
361
 
356
362
  ```bash
357
- bun src/index.ts init
363
+ forgeqe init
358
364
  # or
359
- bun src/index.ts init --global --profile azure-gpt4o
365
+ forgeqe init --global --profile azure-gpt4o
360
366
  ```
361
367
 
362
368
  Edit `llms.json` endpoints, then give ForgeQE the keys its profiles name (`WP_AZURE_API_KEY`, `OPENAI_API_KEY`, `WP_API_KEY`): `forgeqe auth login <NAME>` saves one in your system's credential store, or put them in a `.env` next to `forgeqe.yaml`; the engine process inherits them.
@@ -475,16 +481,18 @@ GitHub Models, which ForgeQE used for the engine before, was [retired by GitHub]
475
481
  | `GitHub Copilot runs through the ForgeQE engine, which is not set up` (or `could not be set up (…)`) | Run `forgeqe setup`; the reason in brackets says what failed. |
476
482
  | Copilot is slow, or a run waits on it ("Starting the browser…", "working out the first step…") | `~/.forgeqe/logs/copilot-gateway.log` 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. |
477
483
  | `CERTIFICATE_VERIFY_FAILED` while downloading Copilot's runtime | Your network inspects HTTPS. Update ForgeQE and run `forgeqe setup`, then sign in again: it uses the certificates your computer trusts (see [Company networks](#company-networks)). If it still fails, run `forgeqe doctor` and send its output to IT. |
484
+ | `The model ended its turn without a reply, also after being asked to carry on.` | 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 "continue"; if it keeps happening, pick another model in the chat's model menu. |
478
485
 
479
486
  ### Your prompts, skills, and product knowledge
480
487
 
481
- `init` also puts three folders in `.forgeqe/` to read, change, and commit:
488
+ `init` also puts four folders in `.forgeqe/` to read, change, and commit:
482
489
 
483
490
  | Folder | What it holds |
484
491
  |--------|---------------|
485
492
  | `.forgeqe/prompts/` | Every prompt ForgeQE's agents work from, one markdown file each: ForgeQE's agent (`brain.md`), Quill (`test-agent.md`, `test-rules.md`), the reviewer, healing, finding tests, pull request review, API tests and scenarios, exploratory charters, and the browser agent (`browser-*.md`, plus `browser-extra.md` for your own instructions). |
486
493
  | `.forgeqe/skills/` | The built-in skills (framework and app playbooks), to adapt to your project; add your own next to them. |
487
494
  | `.forgeqe/knowledge/` | Product knowledge templates: the product and its flows, roles, glossary, business rules, test data, environments. |
495
+ | `.forgeqe/guardrails/` | Your guardrails: rules every agent must follow, one `- rule` line each (see [Guardrails](#guardrails)). |
488
496
 
489
497
  **Your copy or ForgeQE's.** `.forgeqe-manifest.json` 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 `init` again adds what is missing and never overwrites an edited file (with `--force` it refreshes only unchanged copies).
490
498
 
@@ -569,7 +577,7 @@ ForgeQE searches your project's own documents with no vector database, no embedd
569
577
  - Skimmer's answers: the same question over the same outline with the same model gets the kept answer with no model call (`~/.forgeqe/cache/doc-index/picks.json`, 30 days). A changed document or another model asks again; `--no-cache` asks anyway.
570
578
  - 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.
571
579
 
572
- What is searched: the knowledge folder (`.forgeqe/knowledge`), the documents added in Settings › Evidence (`.forgeqe/documents`), every folder of `product.docs`, and the folders `rag.documents.folders` 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 `forgeqe knowledge docs index`, 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 (`~/.forgeqe/cache/doc-index/`), never in the repository.
580
+ What is searched: the knowledge folder (`.forgeqe/knowledge`), the documents added in Settings › Product knowledge (`.forgeqe/documents`), every folder of `product.docs`, and the folders `rag.documents.folders` 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 `forgeqe knowledge docs index`, 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 (`~/.forgeqe/cache/doc-index/`), never in the repository.
573
581
 
574
582
  ```bash
575
583
  forgeqe knowledge docs index # read the documents, PDF, Word and Excel included
@@ -599,11 +607,18 @@ then answers from them and says which site each fact came from. It opens no brow
599
607
  a snippet needs the page opened from its link. Nothing but the words of the search leaves your computer, and what comes
600
608
  back is read as information, never as instructions.
601
609
 
610
+ **Reading a web page.** When the agent needs a page's own text, ForgeQE decides in code whether it may read it: only an
611
+ http(s) address on the public internet, with no user name or password in it. A link you typed in the chat is read
612
+ without asking. For any other address you see it whole and choose **Allow this once** or **Don't allow**; with nobody
613
+ to ask, it is not read. An address on this computer or your company network is refused, also when you typed it: the
614
+ agent uses that system's tool or a browser run instead. Behind a company proxy, a name this computer cannot look up is
615
+ left to the proxy.
616
+
602
617
  ### Product knowledge graph
603
618
 
604
619
  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.
605
620
 
606
- The quickest way is **Settings › Evidence** in `forgeqe web`, five steps in order:
621
+ The quickest way is **Settings › Product knowledge** in `forgeqe web`, five steps in order:
607
622
 
608
623
  1. **Repositories.** 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.
609
624
  2. **Search service.** 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).
@@ -747,7 +762,7 @@ in the team's pack. A repository with none of these is grouped with those that s
747
762
  (`crm-core` and `crm-api`: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
748
763
  system. `forgeqe knowledge landscape` prints the same, and the agents ask it through the knowledge tool.
749
764
 
750
- **The Product page.** `forgeqe web` has a Product page (sidebar, Context) that draws the graph as the Engineering
765
+ **The Product page.** `forgeqe web` has a Product page (sidebar: Knowledge › Product understanding) that draws the graph as the Engineering
751
766
  view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
752
767
  data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
753
768
  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,
@@ -847,6 +862,25 @@ A document is joined to the endpoints, tables, and classes it names, so `impact`
847
862
 
848
863
  **Where it goes.** `.forgeqe/knowledge/graph/`: `product-graph.json` (the merged graph), `repos/<name>.json` (one per repository) and `meta.json` (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of [Understand-Anything](https://github.com/Egonex-AI/Understand-Anything), so that project's dashboard can show it. Secrets that code holds in plain text (keys, `password=` values, private keys) are replaced before anything is written.
849
864
 
865
+ **The graph store (Neo4j).** 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. `forgeqe graph setup` 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 `forgeqe knowledge build` then puts the product graph into it; the JSON files stay, and are used when Neo4j does not answer.
866
+
867
+ ```yaml
868
+ graph:
869
+ store: auto # auto: Neo4j when it answers, else the JSON graph | neo4j | json
870
+ neo4j:
871
+ setup: auto # auto: Docker, else a native install | docker | native | server (your own)
872
+ url: bolt://127.0.0.1:7688 # another computer only over bolt+s:// or neo4j+s://
873
+ embedding: azure-embed # a profile of llms.json that embeds; unset: search by words only
874
+ ```
875
+
876
+ ```bash
877
+ forgeqe graph status # what is set up, what the store holds, when it was last synced
878
+ forgeqe graph sync # put the product graph into it again
879
+ forgeqe graph search "cancel an order"
880
+ forgeqe graph stop # stop ForgeQE's Neo4j
881
+ forgeqe graph reset # remove ForgeQE's Neo4j and its graphs (you type reset); never a server of yours
882
+ ```
883
+
850
884
  **How the agents use it.** ForgeQE's agent has the `product_knowledge` tool: `search` for the parts a requirement is about, `node` for one part and everything linked to it, `flow` for a business flow step by step, `impact` for what a change reaches, `status`, and `build` (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.
851
885
 
852
886
  ### Guardrails
@@ -885,6 +919,10 @@ permissions:
885
919
  approve: [run]
886
920
  ```
887
921
 
922
+ `voice: { sound: light }` (or `deep`) sets how the agent sounds when you talk with it in its chat; without it, it
923
+ speaks in ForgeQE's own voice. The editor's **Voice** choice (Default, Light, Deep) writes it. A manifest names only a
924
+ sound: ForgeQE picks the voice from the speech set up on that computer.
925
+
888
926
  What runs is a version a person approved. Editing the manifest changes nothing that runs: the agent shows as changed,
889
927
  keeps running its approved version, and the change waits for approval. Approvals are kept, with every approval,
890
928
  disabling and rollback, in `.forgeqe/agents/.releases/<id>`, so the team reviews them with the code.
@@ -902,6 +940,9 @@ forgeqe agent history <id> # its versions and its runs, with every
902
940
  forgeqe agent export <id> --out a.jsonl # its whole record as JSON lines, for audit (also on its page: Download audit record)
903
941
  forgeqe agent pack <id> --out a.zip # a shareable zip: agent.json + knowledge files + skills (also on its page: Export to share)
904
942
  forgeqe agent import a.zip [--id new] # import that zip as a draft to edit and approve (also Agents › Custom › Import agent)
943
+ forgeqe agent publish <id> # its approved version into this computer's agent library (also on its page: Publish)
944
+ forgeqe agent library [--remove <entry>] # what the library holds; taking one out asks for its name typed
945
+ forgeqe agent install <entry> [--id new] # a library entry as a draft here (also Agents › Custom › Import agent › From your library)
905
946
  forgeqe agent run <id> "request" --unattended # as a schedule runs it: what it may not do alone waits for a person
906
947
  forgeqe agent approvals [<id>] # what agents running with nobody watching wait for; answer: approvals <id> <approval> allow | allow_run | deny
907
948
  ```
@@ -909,6 +950,14 @@ forgeqe agent approvals [<id>] # what agents running with nobody watchi
909
950
  Same-repo teams still commit `.forgeqe/agents` (and `.releases` after approve). Pack/import is for sharing a draft across
910
951
  projects or machines; the recipient must try and approve it. Environments and systems are not in the package.
911
952
 
953
+ The agent library is a folder in ForgeQE's home (`agent-library/`) that every project on this computer reads. Only an
954
+ approved version is published, packed from its approved copy (an edit not yet approved stays out), as
955
+ `<id>@<version>.forgeqe-agent.zip`; a version already there is never replaced, so publish a new version for a change.
956
+ A library file can be put there by anything on the computer, so it is read as untrusted: only names of that shape,
957
+ never a link, and one whose pack names another agent or version is listed with that problem and cannot be installed.
958
+ Installing goes through the same checks as importing a pack, and makes a draft that a person tries and approves in
959
+ that project.
960
+
912
961
  **Starting from a template.** `forgeqe agent new cloud-verifier` writes a draft of the cloud verifier: after a test
913
962
  run, it checks in the cloud that what the run should have done there happened (a message on a queue, an object
914
963
  written, a row in a table, a function invoked), and changes nothing. It is filled from this project: the clouds of
@@ -954,6 +1003,161 @@ per run: the run stops when it has used that many model tokens. When someone is
954
1003
  terminal, a chat, the agent's page), the run asks first: carry on with as much again (each yes is in its history), or
955
1004
  stop. A run nobody watches is never asked, and stops.
956
1005
 
1006
+ When a run nobody watches ends, the team's channels that take `agent_failed` hear when it did not finish; with
1007
+ `runtime.notify: always` the ones that take `agent_done` hear when it did, and `never` tells nothing. The notice says
1008
+ the outcome, how many calls its limits refused and how many steps a person did not approve, and where to read the
1009
+ run; it never quotes the agent's reply, since a Teams card shows Markdown as links.
1010
+ `runtime.channels: [qa-team]` sends its notices, and its approval questions on a run nobody watches, only to
1011
+ those channels of `notify.channels` (each still only for the events it takes); unset, every channel that takes them
1012
+ gets them. A channel the project does not have makes the manifest invalid.
1013
+
1014
+ `triggers` start its approved version by itself when something happens in ForgeQE, with nobody watching, as a
1015
+ schedule does (`permissions.unattended` says what it may do alone):
1016
+
1017
+ ```yaml
1018
+ triggers:
1019
+ - { on: suite_failed, request: "Explain why the last suite failed, from its runs" }
1020
+ - { on: job_failed, job: nightly-pack, request: "Find out why the nightly pack failed" }
1021
+ ```
1022
+
1023
+ The events are `suite_failed`, `suite_passed`, `job_failed` and `job_recovered` (when a job's result changes, whether
1024
+ or not the job sends notices; `job` narrows it to one job), and `eval_failed`. Each starts a one-off job of the jobs
1025
+ service, `agent-<id>-on-<event>`, replaced each time; one still running is not started again. The request is the
1026
+ 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
1027
+ agent finds the runs itself. A custom agent's own jobs never start anything, so agents cannot start each other in a
1028
+ loop. Duplicate an agent with `forgeqe agent copy <id> [<new-id>]` or the agent page's **Duplicate**: a new draft with
1029
+ its settings at 1.0.0. `forgeqe agent new <template>` offers `smoke-check`, `defect-retest`, `flaky-triage`,
1030
+ `release-readiness`, `pr-test-reviewer` and `cloud-verifier`, filled from this project.
1031
+
1032
+ **Outside triggers.** A pull request or a push on GitHub or Azure DevOps can start an agent too:
1033
+
1034
+ ```yaml
1035
+ triggers:
1036
+ - { on: pr_opened, source: github, repo: acme/shop, branch: main, request: "Review the tests this pull request changes" }
1037
+ - { on: pr_updated, source: github, repo: acme/shop, request: "Review the tests again" }
1038
+ - { on: push, source: azure_devops, repo: Shop Team/web, branch: release, request: "Check what the push changed" }
1039
+ ```
1040
+
1041
+ `pr_opened` covers opened, reopened and ready for review; `pr_updated` new commits; `push` a branch pushed to (never a
1042
+ tag or a deleted branch). `repo` is `owner/name` on GitHub and `project/repository` on Azure DevOps; `branch`, if given,
1043
+ is the pull request's target or the branch pushed to. Like the other triggers it runs the approved version with nobody
1044
+ watching, as the one-off job `agent-<id>-on-<event>`, and one still running is not started again.
1045
+
1046
+ `forgeqe web` takes the host's deliveries at `POST /hooks/github` and `POST /hooks/azure-devops`, and only once a
1047
+ webhook secret is saved: Settings › Secrets, `FORGEQE_WEBHOOK_SECRET` (kept in the credential store, hidden from every
1048
+ program ForgeQE starts). On GitHub, make a webhook for **Pull requests** and **Pushes**, content type JSON, with that
1049
+ secret: each delivery is signed and checked. On Azure DevOps, make **Web Hooks** service hooks for *Pull request
1050
+ created*, *Pull request updated* and *Code pushed*, with basic authentication whose password is the secret (its hooks
1051
+ cannot sign). A delivery not signed with the secret, one sent from a browser (any `Origin`), a body over 1 MB, a
1052
+ delivery id already taken, and more than 30 deliveries a minute are refused.
1053
+
1054
+ `forgeqe web` still listens on 127.0.0.1 only and checks the Host it is asked for, so the host reaches it through
1055
+ hosted mode (`forgeqe web --public-url https://forgeqe.example.com`, behind your TLS proxy) or a tunnel you run that
1056
+ forwards to it with the Host rewritten to `127.0.0.1`. Nothing of the pull request's text reaches the agent: its
1057
+ request is the trigger's words plus the pull request's number, the repository and the branches, read in their shapes,
1058
+ and the agent is told to read the pull request itself, as the author's words and never instructions.
1059
+
1060
+ `scope.custom_agents` lists your team's other custom agents it may hand a request to, with its `hand_to_agent` tool
1061
+ (the editor's **Custom agents it may hand work to**). The other agent runs its approved version, within its own limits
1062
+ and the caller's: it works only in environments both have, may do only what both may, asks a person for whatever either
1063
+ asks, and never uses a tool either denies. An agent already working on the request is never handed it again, and a chain
1064
+ goes no deeper than the caller's `max_delegation_depth` (at most 3; it needs at least 1). With nobody watching the
1065
+ caller, nobody watches the callee. Its run is kept in its own history as handed on by the caller, and its reply comes back
1066
+ as data. Only Atlas asks custom agents with `custom_agent`.
1067
+
1068
+ Approving pins what the version knows as well as its manifest: a fingerprint of each knowledge file and skill it names
1069
+ (every file of the skill's folder) and of its model profile in llms.json (the fields that change how it answers, never
1070
+ a key). If one of them changes afterwards, the agent is **Knowledge changed** (`drifted`): it does not run, for anyone or
1071
+ anything, until a person reads what changed (its page, `forgeqe agent check`) and approves it again, which pins it anew.
1072
+ A run nobody watches that cannot start for this tells the team (`agent_failed`). Rolling back pins what the chosen
1073
+ version knows now. An agent approved before this was kept runs, with a warning to approve it again.
1074
+
1075
+ `runtime.max_minutes` stops a run that takes longer; a run nobody watches (a schedule, a trigger, another agent) stops
1076
+ after 120 minutes when it sets none.
1077
+
1078
+ `checks` are requests to try a version on before it is approved, each graded by code from the run, never by a model:
1079
+
1080
+ ```yaml
1081
+ checks:
1082
+ - name: basket-total
1083
+ request: Check the basket total on qa
1084
+ expect: { says: [total], never_says: [error], uses: [browser_run], never_uses: [run_sql] }
1085
+ - name: refuses-production
1086
+ request: Place an order on production
1087
+ expect: { outcome: needs_input }
1088
+ ```
1089
+
1090
+ `outcome` is how the run ended (`done` by default, `needs_input` or `failed`); `says` and `never_says` are words its
1091
+ reply holds or not, matched as written (case aside, never as a pattern); `uses` are tools it called and was allowed,
1092
+ `never_uses` tools it never called at all. `forgeqe agent test <id>` tries each on the manifest as it is (read and run
1093
+ only, each run asked) and keeps the results for that exact version. A version whose checks have not all passed is
1094
+ approved only with `--skip-checks`, or the approve dialog's **Approve it without them**, and its history says so.
1095
+ On the agent's page, Details, **Checks** lists each check's last result on the manifest as it is, with why it failed,
1096
+ and **Run checks** runs them from there (the same `forgeqe agent test`, each run's question answered on the page).
1097
+
1098
+ `memory: { notes: 50 }` (or `memory: true`, 50 notes; at most 200) lets an agent remember between runs. It gets two
1099
+ tools: `remember` keeps one short fact (one line, at most 300 characters) and `recall` reads its notes back, handed to it
1100
+ 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
1101
+ reads as instructions to an agent is refused. Past the limit the oldest go. The notes are kept beside its runs
1102
+ (`memory.json`, mode 0600, never through a link) and read back as untrusted. A person reads them on the agent's page
1103
+ (Details, **Memory**) and forgets one, or all with the agent's id typed, each audited; at the terminal,
1104
+ `forgeqe agent memory <id>` lists them and `--forget-all` forgets them. A helper the agent starts has no memory, and
1105
+ `deny: [remember]` takes the tool away. Deleting the agent removes its notes with its runs.
1106
+
1107
+ `approval: { people: 2, owners: [Ann Lee, Bo Chen] }` asks for more than one person. Each approval before the last is
1108
+ kept in its history as **Signed** and changes nothing that runs; once that many different people have approved the
1109
+ exact manifest, it runs (the approval's note names the others). The same person twice, from the terminal or the page,
1110
+ is refused, and with `owners` only those people approve. A change is approved under the stricter of its own rule and
1111
+ the running version's, so it cannot lower the bar it is approved under. ForgeQE knows a person by git's `user.name`
1112
+ (else `user.email`) on their computer: this is an agreement the history keeps and the team reviews in the committed
1113
+ release file, not a sign-in. Disabling, enabling and rolling back to an approved version still take one person.
1114
+
1115
+ `output` gives its reply a result that code reads, not a model:
1116
+
1117
+ ```yaml
1118
+ output:
1119
+ verdicts: [passed, failed, blocked] # how a run came out
1120
+ fail_on: [failed, blocked] # verdicts that count as a failure
1121
+ fields:
1122
+ - { name: defects, kind: number } # number, text (one line) or yes_no
1123
+ ```
1124
+
1125
+ The agent is told to end each reply with one line, `RESULT {"verdict": "passed", "fields": {"defects": 0}}`. ForgeQE
1126
+ reads the last such line as untrusted: a verdict only of its list, a field only one it names and of its kind (text
1127
+ clipped to 200 characters), and says what it left out. The run keeps the result (its page shows it under **Its
1128
+ result**; `forgeqe agent history` shows the verdict), a check can expect one (`expect: { verdict: passed }`), another
1129
+ agent's `hand_to_agent` and Atlas's `custom_agent` get it beside the reply, and `forgeqe agent run` prints it and exits
1130
+ 1 on a verdict of `fail_on`, or on none where verdicts are named. A run nobody watches tells the team such a verdict as
1131
+ a failure (`agent_failed`), naming the verdict and never quoting a field.
1132
+
1133
+ The approve dialog lists what the version may do, each line marked **New**, **Changed** (with what it was) or **No
1134
+ longer** against the version that runs. Details, **Versions** opens any approved version to read: its manifest as
1135
+ approved, the change from the version that runs and what it may do against it, with **Roll back** there too. A change
1136
+ waiting for approval can be thrown away with **Discard the change** or `forgeqe agent discard <id>`: the manifest is the
1137
+ approved version again, and the audit log keeps that it happened.
1138
+
1139
+ `runtime.model` runs the agent on a profile of llms.json by its name (the editor's **Model**), in place of the one
1140
+ ForgeQE's agent would use; a name llms.json does not have is refused, and with `code.model` set that model answers
1141
+ instead, which the run says. `permissions.deny` lists tools it never uses even though its capabilities have them
1142
+ (the editor lists each picked capability's tools), or a system's tools by name or as `<system>_*`: they are not
1143
+ offered and every call of them is refused, for helpers it hands work to too. It only takes away, and
1144
+ `request_approval` cannot be denied.
1145
+
1146
+ `inputs` are what its starters and its schedule's request leave open, written in them as `{name}`: `text` (one line),
1147
+ `environment` (one of its environments) or `choice` (one of its `options`):
1148
+
1149
+ ```yaml
1150
+ inputs:
1151
+ - { name: env, label: Environment, kind: environment }
1152
+ - { name: build, label: Build, kind: text }
1153
+ starters: [{ label: Check a build, text: "Check build {build} on {env}" }]
1154
+ schedule: { every: 1d, request: "Run the checkout pack on {env}", with: { env: qa } }
1155
+ ```
1156
+
1157
+ A starter that names inputs asks for their values on the agent's page and fills the message, which you read before
1158
+ sending. A schedule's values (`with`) are checked when the manifest is read, and its job gets the finished request. A
1159
+ value is only ever words of the request: one line, at most 200 characters, never starting with a dash.
1160
+
957
1161
  Other systems' tools (Azure DevOps, Jira, GitHub…) come through ForgeQE with their names as `<system>_<tool>` (a dot in
958
1162
  a name becomes `_`; a name too long for MCP clients, or not a plain name, is left out). Every page of a server's tool
959
1163
  list is read; a tool is read-only only when the server marks it `readOnlyHint` and not also `destructiveHint`; a
@@ -973,7 +1177,7 @@ them back on restores everything as it was.
973
1177
  Atlas hands requests to the active custom agents (custom_agent) as it does to its own agents. Each run is
974
1178
  kept in `.forgeqe/agent-runs/<id>`.
975
1179
 
976
- In the web app (`forgeqe web`), custom agents are under Agents, Custom agents. **New agent** opens the agent builder:
1180
+ In the web app (`forgeqe web`), custom agents are under Agents › Custom agents. **Make an agent** in the sidebar, or **New** on the Agents page, opens the agent builder:
977
1181
  say what the agent should do in your own words, and ForgeQE takes you through its steps, one page each: Understand
978
1182
  (what it could not work out, with what it recommends and why), Plan (how the agent will work, and whether each part is
979
1183
  set up here), Boundaries (where it works and what it may do, least privilege first; production never), Knowledge (what
@@ -1061,7 +1265,7 @@ people's grades of 10 answers or more. A check fails a run only under an approve
1061
1265
  once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
1062
1266
  "not known", never a pass. [docs/EVIDENCE.md](docs/EVIDENCE.md#the-contract) has the format.
1063
1267
 
1064
- In `forgeqe web` the **Evidence** group has the Overview (each agent), Agent runs (each run as a timeline, with its
1268
+ In `forgeqe web` the **AI Assurance** category has the Overview (each agent), Agent runs (each run as a timeline, with its
1065
1269
  verdict) and Contracts (each contract, and how well each check is measured).
1066
1270
  [docs/EVIDENCE.md](docs/EVIDENCE.md) is the design and the phases still to come (contracts, behaviour checks, verdicts).
1067
1271
 
@@ -1262,6 +1466,8 @@ With a visible browser (`headless: false` or `--headed`), ForgeQE opens on its o
1262
1466
 
1263
1467
  A visible browser opens maximized. `window: viewport` opens it at `viewport`'s width and height instead; a headless page is always that size (1280×800 by default). Each run is recorded to `video.mp4` in its run folder, and the report plays it on the run's page; `video: false` turns recording off. The video needs packages that `forgeqe setup` adds to the engine (an engine set up before this version gets them on its next run).
1264
1468
 
1469
+ `local_browser` picks the browser on this computer: `auto` (the default) starts installed Chrome, then Microsoft Edge, then Playwright's Chromium when one does not start; `chrome`, `edge` or `chromium` starts that one only. `launch` says how: `auto` (the default) starts it directly and, when this computer stops a browser started that way, through ForgeQE's Playwright, and remembers what worked; `direct` or `playwright` only that way; `attach` connects to a browser you started on this computer with `--remote-debugging-port`, on `attach_port` (for example 9222). When the browser does not start, `forgeqe doctor browser` tries each way and writes a report of what stops it.
1470
+
1265
1471
  `start_url` is optional. Leave it out and the agent picks the site from the goal; ForgeQE never guesses a URL from the goal text. `allowed_hosts` empty allows every host. Set `["example.com"]` to keep the browser on that domain and its subdomains. `prompts.step_instruction` is appended to the engine's system prompt; the lines of `prompts.guiderails` are guardrails for every agent (see Guardrails above).
1266
1472
 
1267
1473
  ### Model routing
@@ -1271,9 +1477,9 @@ A visible browser opens maximized. `window: viewport` opens it at `viewport`'s w
1271
1477
  List profiles, and the model each area gets:
1272
1478
 
1273
1479
  ```bash
1274
- bun src/index.ts models
1275
- bun src/index.ts models --routes # the pick per area, and why
1276
- bun src/index.ts models --routes --profile-models # check and rate the models again
1480
+ forgeqe models
1481
+ forgeqe models --routes # the pick per area, and why
1482
+ forgeqe models --routes --profile-models # check and rate the models again
1277
1483
  ```
1278
1484
 
1279
1485
  ## 3. Shell
@@ -1317,6 +1523,8 @@ The slash commands control the session and show a few things directly (`/help` l
1317
1523
  | Command | Action |
1318
1524
  |---------|--------|
1319
1525
  | `/stop` | Stop what is running (or press Esc) |
1526
+ | `/record [app\|url]` | Do the steps of a web test yourself in a browser; ForgeQE records them, then writes the test (see [Recording a web test by hand](#recording-a-web-test-by-hand)) |
1527
+ | `/paste` | Attach the picture on the clipboard (a screenshot) to your next message |
1320
1528
  | `/rerun [last\|run]` | Run a passed run again as recorded, without ForgeQE's agent (the last one, a run folder, or its goal) |
1321
1529
  | `/headed on\|off` | Show the browser window (live profiles) |
1322
1530
  | `/theme light\|dark\|auto` | 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. `FORGEQE_THEME=light` (or `dark`) sets it at start; `/theme` alone says which is in use |
@@ -1528,8 +1736,8 @@ In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc c
1528
1736
  ### The web app
1529
1737
 
1530
1738
  `forgeqe web` is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
1531
- activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
1532
- quality, data, runs, reports, schedules and agent evidence; and every setting as a form, with keys kept in your credential store. It
1739
+ activity, and the results (tests, reports, diffs) as they happen; pages for test management, recording, migration,
1740
+ 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
1533
1741
  listens on `127.0.0.1` only and needs the token in the address it opens and prints.
1534
1742
 
1535
1743
  ```bash
@@ -1538,18 +1746,37 @@ forgeqe web --port 4711 # a fixed port
1538
1746
  forgeqe web --no-open # only print the address
1539
1747
  ```
1540
1748
 
1541
- The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
1542
- as `forgeqe init`), what this computer needs, and a model. See [docs/WEB_APP.md](docs/WEB_APP.md) for every page.
1543
-
1544
- **Talk to it.** Click the sound wave beside Refine, on Home or in a chat, and talk: Atlas listens, answers aloud as
1545
- it writes, and stops the moment you talk over it. There is nothing to hold; it hears when you have finished. The chat is
1546
- the conversation: what you say appears as your message and Atlas's reply streams in as usual. From Home, your first
1547
- words start the chat and open it. Ask for work ("run the checkout tests on QA") and keep talking while it runs: say "use
1548
- staging instead" and the work changes course. Its questions are read out with their options: say one ("the second
1549
- one"), then yes. It can open pages for you ("open settings"); a small strip in the corner then takes you back to the
1550
- chat or ends the talk. Code, tables, links and file paths stay on the screen. Speech runs on this computer only:
1551
- Settings › Voice sets it up once (open speech models, after you agree to the size), and nothing but the words reaches
1552
- your model, as typed words do. English only for now; choose there how long it waits when you pause.
1749
+ The first time, it opens onboarding: a guided tour through Set up (the project folder, its repository, which ForgeQE can
1750
+ clone, ForgeQE in it, what this computer needs, the features to download, and a model), then Models, Product knowledge
1751
+ and Appearance, each of which can be skipped. See [docs/WEB_APP.md](docs/WEB_APP.md) for every page.
1752
+
1753
+ **Talk to it.** Click **Talk** at the foot of the right panel, on any page, or the sound wave beside Refine on Home or
1754
+ in a chat, and talk: Atlas listens, answers aloud as it writes, and stops the moment you talk over it (a cough does not
1755
+ stop it). There is nothing to hold; it hears when you have finished. The chat is the conversation: what you say appears
1756
+ as your message and Atlas's reply streams in as usual. Started in a chat, Talk talks in that chat. Started anywhere
1757
+ else, your first words start a new chat in the background and you stay on your page; a small strip in the corner shows
1758
+ the last thing said, with **Open the chat** and **End**. Open another chat and Talk carries on in it; open Home and
1759
+ your next words start a new one. Ask for work ("run the checkout tests on QA") and keep talking while it runs: say "use
1760
+ staging instead" and the work changes course. Its questions are read out: a yes-or-no question takes a plain yes or
1761
+ no; for the others, say an option by its name or place ("the second one"), then yes. A question with more than six
1762
+ options, or one that names production, stays on the screen for a click. Code, tables, links and file paths stay on the
1763
+ screen. Speech runs on this computer only: Settings › Voice sets it up once (open speech models, after you agree to the
1764
+ size), and nothing but the words reaches your model, as typed words do. English only for now; choose there how long it
1765
+ waits when you pause.
1766
+
1767
+ **While it works.** Talk says which step Atlas is on, and "Still on it" when a step takes long. Say "wait" or "hold
1768
+ on" and it stops speaking and holds the work before its next step; say "go on", or anything new, and it carries on.
1769
+ Talking over Atlas never stops the work; the chat's **Stop** does. A nod ("yeah", "right") over it lets it finish what
1770
+ 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
1771
+ 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
1772
+ elsewhere in the app has finished or needs your answer.
1773
+
1774
+ **On the page.** While Talk is on, Atlas can open a page ("open regression packs"), switch between light and dark,
1775
+ 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
1776
+ on and use its links, tabs, filters, search boxes and text fields. It changes a setting or presses a button only after
1777
+ it asks ("Press Run?") and you say yes; anything else is a no. It never uses a password, secret, token or key field,
1778
+ the Secrets section, or anything that names production. A conversation that only moves around the app like this is
1779
+ not listed under Chats; it becomes a chat there once Atlas starts real work, named by that request.
1553
1780
 
1554
1781
  **Found a problem in ForgeQE itself?** Settings › Report a problem. ForgeQE picks the recent session that went wrong
1555
1782
  and reads its log for what was run and ForgeQE's own errors; the bug reporter (`forgeqe-bug-report`) drafts the bug from
@@ -1606,10 +1833,14 @@ The process opens ForgeQE's agent on the first message and keeps it for every la
1606
1833
 
1607
1834
  | `type` | Fields | Meaning |
1608
1835
  |--------|--------|---------|
1609
- | `message` | `id` (your turn id), `text` | A new user message. Refused with `error` `busy` while a turn runs |
1836
+ | `message` | `id` (your turn id), `text`; optional `voice` (`true`: the words were said aloud) and `note` (one line for the agent only, never shown or echoed) | A new user message. Refused with `error` `busy` while a turn runs |
1610
1837
  | `answer` | `id` (from an `ask`), `choice` (an option id, or `null` to cancel) | Answers the pending question |
1611
1838
  | `continue` | `id` (from a `wait`), `ok` (`true` = Done, continue; `false` = Cancel) | Ends the pending wait |
1612
- | `stop` | | Stops the running turn (Esc or `/stop` in the shell). Nothing when idle |
1839
+ | `steer` | `id` (yours), `text` (at most 4000 characters), optional `note` | A change of plan into the running turn: the agent reads it before its next step and the turn goes on. Answered with `steered`; `error` `idle` when no turn runs (send a `message`), `not_steered` when the turn ended before it reached the agent |
1840
+ | `pause` / `resume` | | Holds the running turn before its next tool call, or lets it go on. Answered with `paused` or `resumed`; `error` `idle` when nothing runs or is paused |
1841
+ | `warm` | | Opens the agent now, so the first message is answered sooner. Nothing is written back |
1842
+ | `screen` | `id` (the read it answers), `text` | The page's text for the agent's `read_screen`, for a web app. `error` `unknown_id` when no read waits |
1843
+ | `stop` | optional `safe` (`true`) | Stops the running turn (Esc or `/stop` in the shell). Nothing when idle. With `safe`, a step that is not safe to cut off finishes first: `stopping` names it, then the turn stops |
1613
1844
  | `settings` | `headed` and/or `writeTests` (each `true` or `false`, nothing else) | Changes the chat's choices from now on: whether browser runs are shown (as `--headed`), and whether passed runs become tests (as `--no-code`, off). The next browser run uses them; the agent is told of a change with your next message. Answered with `settings` |
1614
1845
  | `model` | `profile` (a profile name, nothing else) | 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 `models` line. Refused with `error` `busy` while a turn runs, `bad_input` for anything else. Answered with `model` |
1615
1846
  | `close` | | Stops any turn, closes the agent, stops monitors and the containers it started, writes `closed`, exits 0 |
@@ -1630,7 +1861,10 @@ A line that is not JSON, has an unknown `type`, or misses a field gets `error` `
1630
1861
  | `ask` | `id` (`ask-N`), `turn`, `question` (`title`, `detail`, `lines`, `options[{id, label}]`) | A tool asks you to choose |
1631
1862
  | `wait` | `id` (`wait-N`), `turn`, `prompt` | A tool waits for you to do something by hand |
1632
1863
  | `turn_done` | `id`, `outcome` (`done`, `failed`, `needs_input`, `stopped`), `reply` (the visible reply), `next` (follow-ups), `error` (when there is one), `usage` (the agent's usage so far, `null` before it opened) | The turn ended, whatever the way |
1633
- | `error` | `code` (`bad_input`, `busy`, `unknown_id`, `model`, `internal`), `message`, `turn` (when one runs) | A problem that does not end the process |
1864
+ | `steered` | `id`, `turn`, `text` | A `steer` reached the agent |
1865
+ | `paused` / `resumed` | `turn` | After `pause` or `resume` |
1866
+ | `stopping` | `turn`, `after` (up to three steps' labels) | A `stop` with `safe` waits for these steps |
1867
+ | `error` | `code` (`bad_input`, `busy`, `idle`, `not_steered`, `unknown_id`, `model`, `internal`), `message`, `turn` (when one runs) | A problem that does not end the process |
1634
1868
  | `fatal` | `message` | The process cannot go on; exit code 1 follows |
1635
1869
  | `closed` | | The last line before a clean exit |
1636
1870
 
@@ -1742,7 +1976,7 @@ What happens after the run passes:
1742
1976
  2. ForgeQE replays the run's steps as a Playwright script (`<run>/replay/flow.mjs`), in the run's browser setup (channel, headless or headed, user agent, language, time zone, viewport), with 10 seconds per step. Text is typed key by key, as the browser agent typed it, so search suggestions and other typing handlers fire. If the replay does not reach the run's final page, it runs again without Playwright's automation switches (`navigator.webdriver` false, as in ForgeQE's browser). The handoff gets the result: which steps worked, and for each failed step, Playwright's reason (for example a dialog that intercepts the click), the page, the dialogs open on it, how many elements each of the element's other locators matched, and a screenshot and page snapshot. It also saves Playwright's page snapshot of each page the replay visited (roles, accessible names, and text, as the replay left the page; the last page once it stops changing), so Quill takes locators for its steps and assertions from real pages instead of guessing them. On the last page it looks up each of the browser agent's checks and puts the Playwright locator that matched its text into the handoff (a heading or text match, the container it sits in when there are several, or the form field that holds it), so assertions come with a locator that worked. For a heading it also gives the part of the page the heading names (an element labelled by it, the section it heads, or the element right after it), with its locator and how many links and list items it holds, so a check such as "an In the news section with at least one item" is asserted inside that part, not on the heading alone. A step that fails while every step after it still works and the replay reaches the final page (a click that did nothing on the run, or a control this version of the page doesn't have) doesn't count as a failed replay: Quill decides from the step whether the goal needs it and ports the rest as it is. When only the second launch got through, the handoff says the browser setup is the difference and which launch settings fix it. The first time, Playwright (about 13 MB) is downloaded into `~/.forgeqe/tools`; it drives the installed Chrome. A run that only opened a page still replays when it recorded checks, to look them up; with neither it skips this, and `replay: false` turns it off.
1743
1977
 
1744
1978
  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 `scribe-notes.json`, 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.
1745
- 3. Quill starts in the repo. It reads `AGENTS.md`, 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 ("Framework: Cypress + TypeScript + Cucumber BDD"), 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 `package.json`, lockfiles, `.npmrc`, `requirements.txt` or `pyproject.toml` 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 (`npm ci`, `pnpm install --frozen-lockfile`, `yarn install --frozen-lockfile`, `bun install --frozen-lockfile`; `npm install --no-package-lock` 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 (`request_install`), a command its shell refuses (`request_run`), or a change to `package.json`, `requirements.txt` or `pyproject.toml` (`request_change`). 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 `.npmrc` 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 (`forgeqe heal`) and Link ask the same way, and their own edits to package files are put back before their tests run. `code.requests` in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: `ask` (the default) asks you each time; `allow` does it after ForgeQE's checks without asking, also in a run nobody watches; `off` refuses every request. What is always refused (a shell, a push, `.npmrc`, a lockfile by hand…) stays refused whatever it says.
1979
+ 3. Quill starts in the repo. It reads `AGENTS.md`, 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 ("Framework: Cypress + TypeScript + Cucumber BDD"), 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 (`playwright.config.*`, `cypress.config.*`, `wdio.conf.*`, Nightwatch's config, a `.runsettings`): 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 `test.use({ ... })` in the spec, where `channel` and `launchOptions` 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 `package.json`, lockfiles, `.npmrc`, `requirements.txt` or `pyproject.toml` 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 (`npm ci`, `pnpm install --frozen-lockfile`, `yarn install --frozen-lockfile`, `bun install --frozen-lockfile`; `npm install --no-package-lock` 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 (`request_install`), a command its shell refuses (`request_run`), or a change to `package.json`, `requirements.txt`, `pyproject.toml` or the suite's shared test-runner config (`request_change`). 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 `.npmrc` 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 (`forgeqe heal`) 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.requests` in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: `ask` (the default) asks you each time; `allow` does it after ForgeQE's checks without asking, also in a run nobody watches; `off` refuses every request. What is always refused (a shell, a push, `.npmrc`, a lockfile by hand…) stays refused whatever it says.
1746
1980
 
1747
1981
  Before Quill starts, ForgeQE reads the repo into a **code graph**, 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 `~/.forgeqe/cache/code-graph`, 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 `getByRole('button', { name: 'Login' })` and the repo's `LoginPage.LoginButton` uses `#login-button`, the handoff says under that step "in this repository: LoginPage.LoginButton … used by LoginPage.SignInAsync", 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_find` (classes, methods, and tests by name, or by the text a locator uses), `code_outline` (a file's or class's signatures and locators, or the source of one member), `code_element` (which member already locates an element), `code_references` (what calls a member, before it is changed), and `code_impact` (the tests a change reaches, through flows and base classes, whatever the test files are called). `graph: false` 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.
1748
1982
  4. It writes the test from the handoff and the replay script: steps that worked are ported with their locators, steps that failed are fixed first. Every locator, including those for assertions, comes from the replay script, the page snapshots, page memory, or a check on the page; steps where the browser agent ran JavaScript to look around are left out. It does not walk the flow again or build tests to explore. Once a step fails (in the replay, or in its test), ForgeQE switches on its live browser: a Chrome that Playwright drives, set up like ForgeQE's, where it looks at the failing step's page one tool call per action (open, snapshot, click, type, wait, screenshot, run JavaScript, console errors, failed requests). Until then the live browser tools are off, so no tokens go into looking at pages that work. The live browser needs Node.js (`npx`), and Microsoft's Playwright MCP server is downloaded on first use; with `live_browser: false`, or without `npx`, it looks with a small throwaway script instead. When its browser gets a different page than ForgeQE's did (an error, a challenge, a control that will not open), it compares the two browsers (user agent, `navigator.webdriver`, headless, failed requests and CORS errors, headers the framework adds, console errors) and fixes the difference in the repo's browser configuration. It never judges the site with `curl` or `webfetch`.
@@ -2067,7 +2301,7 @@ of your own are approved, and an unapproved one is refused here exactly as it is
2067
2301
  ones are converted, and ones no longer in the exports are listed with their tests left in place for a person to
2068
2302
  remove. Test cases left unpicked before stay unpicked. `--refresh` (or the page's option) clones each repository
2069
2303
  again for its newest commit, as before; the old copy stays for the old plan.
2070
- **What can be migrated.** `forgeqe tosca inspect`, `show` and the Tosca page put every test case of the export in
2304
+ **What can be migrated.** `forgeqe tosca inspect`, `show` and a Tosca migration's page (Migration) put every test case of the export in
2071
2305
  one kind: web (converted), web with steps for a person, API (converted), API with steps for a person, web and API
2072
2306
  (converted), web or API mixed with another engine (converted: its web and API steps, and each desktop, mobile or
2073
2307
  database step stays in the test as a marked comment saying what it does, for a person to code), desktop, mobile,
@@ -2118,15 +2352,15 @@ of your own are approved, and an unapproved one is refused here exactly as it is
2118
2352
  hook and wdio-video-reporter for WebdriverIO) and ForgeQE checks the project for it, setting it up again when it is
2119
2353
  missing. Selenium has no video recorder: its tests keep failure screenshots only.
2120
2354
 
2121
- Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Tosca page of `forgeqe web`
2122
- (sidebar, Test) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
2355
+ Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Migration page of `forgeqe web`
2356
+ (New, then the *Tosca* source) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
2123
2357
  the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
2124
2358
  with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
2125
2359
  Run tests again for all of them or Run for one suite, each test case's
2126
2360
  Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
2127
2361
  happens.
2128
2362
 
2129
- **Guide.** The Tosca page opens on its Agent tab: say in your words what to migrate ("checkout.tsu to
2363
+ **Guide.** Tosca exports are migrated on the Migration page of `forgeqe web`, listed with every other migration under its Migrations tab. New, then the *Tosca* source, offers *Help me choose*: say in your words what to migrate ("checkout.tsu to
2130
2364
  Playwright in TypeScript on QA, into e2e/tosca") and the assistant asks only what it still needs, one thing at a time:
2131
2365
  the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
2132
2366
  offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
@@ -2370,6 +2604,7 @@ A pack starts as a **draft**; save it (a name, the release) when it is right, th
2370
2604
  **Running it.** ForgeQE asks before it runs anything.
2371
2605
 
2372
2606
  - *This machine*: ForgeQE builds one command for exactly the pack's tests, the way the repository already runs a test (for .NET, a `--filter` 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.
2607
+ - *A pipeline*: `forgeqe pack run <name> --on pipeline [--pipeline github|azure_devops] [--browsers local|testmu]` starts the pack in GitHub Actions or Azure Pipelines, waits for it, and reads its results. `forgeqe pack pipeline init [--github] [--azure-devops]` writes the workflow (`.github/workflows/forgeqe-pack.yml`) and the Azure DevOps pipeline; commit them, then name them under `packs.pipeline` in forgeqe.yaml (`default: github` or `azure_devops`; `github: { repo, workflow, ref }`; `azure_devops: { project, pipeline_id, ref }`; `timeout_minutes`, 60 by default). For TestMu AI, add the secrets `LT_USERNAME` and `LT_ACCESS_KEY` to the pipeline. The Azure DevOps PAT needs Build (read and execute) and Test Management (read).
2373
2608
  - *TestMu AI*: the same command, with the variable `FORGEQE_PW_WS_ENDPOINT` set to TestMu AI's Playwright endpoint for the browser and platform in `testmu.yaml` (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 `ConnectOptionsAsync` in the test base class; for Playwright Test, set `connectOptions` from it in `playwright.config`. ForgeQE refuses a TestMu run when the tests do not read the variable, so a run never looks remote while it ran locally.
2374
2609
 
2375
2610
  Each run is kept with the pack: the card says which tests fail now that passed in the last run, and which were fixed.
@@ -2423,19 +2658,37 @@ flaky:
2423
2658
 
2424
2659
  The **Test management** page (`#/test-management` in `forgeqe web`, and `test_inventory` 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 **Test plans in Test management** (`sources.azure_devops.test_plans: [plan=12]`, and the same for `xray`, `testrail`, `zephyr` and `qtest`), then press **Sync**.
2425
2660
 
2661
+ **Syncing on a schedule.** The button beside **Sync** (`Sync: off`, `Sync: hourly`, `Sync: daily 07:00`) 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. **Also discover the tests first** discovers the tests before each sync with the commands the sheet shows; if the test projects change, it stops discovering until you confirm again.
2662
+
2663
+ ```bash
2664
+ forgeqe testmgmt sync # read every case of the connected plans now
2665
+ forgeqe testmgmt schedule # when they are synced
2666
+ forgeqe testmgmt schedule daily 07:00 # or: hourly, off
2667
+ ```
2668
+
2426
2669
  - **Dashboard**: 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.
2427
2670
  - **Test cases**: 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.
2428
- - **Gaps**: cases not automated, ranked by priority, failures, packs and smoke tags, with why; pending, never run and failing cases; and tests with no case.
2671
+ - **Automated**: the repository's automated tests, as a test explorer lists them: each with ForgeQE's id (`T-…`), its framework's own id, its file and line, its tags, its last runs and the test cases it is linked to. Filter by **No test case**, **Linked** or **Read from the code**.
2672
+ - **Gaps**: 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 **stories with no case** and **acceptance criteria not covered**. Say which stories with **Read stories**: 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.
2429
2673
  - **Suites**: tell the **Suite agent** (Sorter) what the suite is for, such as "P1 payments and anything failing lately". It builds the suite from rules over your cases, which ForgeQE checks, and you save it. A suite runs as `forgeqe suite` on a test environment you pick, never one named like production.
2430
2674
  - **Tags**: tags from your trackers, your tests (`@smoke`) and ForgeQE (`.forgeqe/testmgmt/tags.json`), with which are out of step.
2431
2675
 
2432
- The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags.
2676
+ The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags, **Write tags into tests** (the coding agent writes the cases' tags into their linked tests as the framework writes tags, and shows the diff before saving), and **Cases for stories with none** (test cases for the stories you picked in Gaps, shown before they are saved).
2677
+
2678
+ **Discovering the tests.** On **Automated**, **Discover tests** asks each test project's own framework for its tests: pytest, .NET (NUnit, xUnit, MSTest), Playwright, Jest, Vitest, Mocha and Robot Framework. Gherkin `.feature` files are read as text. This runs the repository's code (pytest imports `conftest.py`, .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 (`T-` and hex), kept in `.forgeqe/testmgmt/tests.json`; commit it so the team shares the ids. A test keeps its id when it is renamed or moved.
2679
+
2680
+ **Linking cases and tests.** 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 (`@pytest.mark.testcase("C12")`, `[Property("TestCaseId", "123")]`, `[WorkItem(123)]`, `@id:ADO-5`), when the case's tracker names the test, or when the case's id is in the test's name or tags (`TC-123 adds to the basket`). You can link by hand: **Link to a test case** on **Automated**, or **Link a test** on a case's page; **Unlink** removes one, and it is not linked again by itself. **Link with the agent** (or **Ask the agent** 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 **Accept** or **Refuse**. Links, proposals and refusals are kept in `.forgeqe/testmgmt/links.json`; commit it to share them.
2681
+
2682
+ **A case's main test.** When a case has several tests, make one its **Main test** 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.
2683
+
2684
+ **Running linked tests.** Run a case, or a suite, and ForgeQE first records the case's linked tests in its mapping (`.forgeqe/test-cases.json`) with one command that runs them all, so `forgeqe suite` 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.
2433
2685
 
2434
2686
  **Writing back to the trackers.** Test management can also change the trackers, always showing exactly what would change first and writing only that list:
2435
2687
 
2436
- - **Mark automated** (picked cases, or a case's page): each case whose test ForgeQE knows gets Azure DevOps' Associated Automation, or the `automated` label on its Jira or Xray test.
2437
- - **Write tags** (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.
2438
- - **Keep in tracker** (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. **Keep in step** later adds the cases it gained and takes out the ones it lost.
2688
+ - **Mark automated** (picked cases, or **Mark automated in its system** on a case's page): each case whose test ForgeQE knows, from its mapping or a link, gets Azure DevOps' Associated Automation, or the `automated` label on its Jira or Xray test.
2689
+ - **Write tags** (picked cases, **Write tags to its system** 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.
2690
+ - **Take tags off** (**Take tags off in its system** 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.
2691
+ - **Keep in tracker** (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. **Keep in step** later adds the cases it gained and takes out the ones it lost.
2439
2692
 
2440
2693
  Each write is audited. If a tracker refuses a case, the sheet says why for that case and the rest still go through.
2441
2694
 
@@ -2454,7 +2707,7 @@ A job can run it on a schedule: `jobs add` with `["flags", "run", …]`.
2454
2707
 
2455
2708
  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:
2456
2709
 
2457
- - **A browser run, a recording, or its latest try.** Every browser run, every recording you make by hand, and the latest **Try it** of a recording record the application's own API calls (XHR, fetch, event streams) in `network.json` 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: `Authorization`, 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); `api.keep_headers` adds others your API needs, such as `X-Tenant`, which the contracts' example calls then send too. A header that can carry a credential (`Authorization`, `Cookie`, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. "Turn the last run's API calls into tests" (`api_contracts` from `run`) groups the calls into operations: one per method and path, with ids in paths turned into `{id}` (`GET /api/orders/{id}`), 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.
2710
+ - **A browser run, a recording, or its latest try.** Every browser run, every recording you make by hand, and the latest **Re-run** of a recording record the application's own API calls (XHR, fetch, event streams) in `network.json` 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: `Authorization`, 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); `api.keep_headers` adds others your API needs, such as `X-Tenant`, which the contracts' example calls then send too. A header that can carry a credential (`Authorization`, `Cookie`, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. "Turn the last run's API calls into tests" (`api_contracts` from `run`) groups the calls into operations: one per method and path, with ids in paths turned into `{id}` (`GET /api/orders/{id}`), 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.
2458
2711
  - **An API description,** 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, `.proto` files, or `grpc://host:port` for a gRPC server with reflection (through [grpcurl](https://github.com/fullstorydev/grpcurl)); client, server and bidi streaming rpcs become streaming contracts, and a GraphQL subscription becomes a `graphql-transport-ws` 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.
2459
2712
 
2460
2713
  Each contract has one example call and what its answer must have: the **status**, the **content type**, the body's **schema**, and **key fields** (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 `errors`; SOAP answers no `Fault` and the expected elements; gRPC calls the OK status. Contract sets are saved in `.forgeqe/reports/api/<id>/`: `contracts.json` (edit the examples freely, e.g. to give real ids) and `api.md`.
@@ -2604,7 +2857,11 @@ each with its **calls** (contracts) and **flows** (scenarios). Open a call to se
2604
2857
  path, params, headers, a JSON body), **Send** it and see what came back (body, headers, the checks that passed or
2605
2858
  failed), **Save** it, and set **what it must answer** (the status, the statuses that also pass, fields with their
2606
2859
  type or value), or take it from a right answer with **Use as what it must answer**. Pick the **environment** from
2607
- `env.yaml` at the top: calls go to its API app's address, and **Run** runs every call and then every flow there
2860
+ `env.yaml` at the top: calls go to its API app's address. Where it has none, the API's own address shows in full before
2861
+ the path, and you can edit it (http, https, grpc or grpcs, with no user, query or fragment). A call can go to another
2862
+ app of `env.yaml` instead: pick `{{app.NAME}}` before its path, or set one for the whole API under **Calls go to**. Its
2863
+ address is that app's on the environment picked (else the active one), and a call whose app the environment does not
2864
+ have is not sent. Rename an API, a call or a flow in place; an API's chevron collapses it. **Run** runs every call and then every flow there
2608
2865
  (`forgeqe api run-all`). A call that changes data asks first: **Send it once**, or **Always on** that environment
2609
2866
  (remembered for the API, never for an environment named like production). **Sign in** once per API: a bearer token,
2610
2867
  an API key in a header, or a user name and password; the value you type goes to the credential store under a variable
@@ -3220,7 +3477,7 @@ What each agent gets from the active environment:
3220
3477
  |---|---|
3221
3478
  | ForgeQE's agent | 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 |
3222
3479
  | WebPilot | Starts at `start_app` when no URL is given; knows the environment's web apps by name and stays on their hosts; its values |
3223
- | API tests | Call `api_app`'s URL |
3480
+ | API tests | 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 `api_app`'s when that is another API; or, on the workbench, another web or API app a call or the API names as `{{app.NAME}}`. An API with no usable address on an environment says why and sends nothing |
3224
3481
  | DeskPilot | Starts the environment's desktop apps; types only its `secrets` |
3225
3482
  | Quill, the healer, the reviewer | Write tests that read `FORGEQE_APP_<APP>_URL` (or the repository's own settings), never a fixed environment URL; the reviewer flags one |
3226
3483
  | Tests ForgeQE runs, pack pipelines | `FORGEQE_ACTIVE_ENV`, `FORGEQE_APP_<APP>_URL` / `_PATH` / `_ID`, `FORGEQE_VAR_<NAME>`, `FORGEQE_DATA_<NAME>`, `FORGEQE_CLOUD_*` (pipelines written by `forgeqe pack pipeline init` take them as the `env_vars` input) |
@@ -3281,14 +3538,35 @@ becomes a check on the element showing it; without quotes, one model call finds
3281
3538
  check the page cannot show yet is kept in your words, and the coding agent writes it. In the terminal, `undo`, `pause`,
3282
3539
  `delete 4` and `stop` work too.
3283
3540
 
3284
- What is recorded: clicks (a double click as one step), the final text of each field you typed in (not each key), choices
3285
- in drop-downs, Enter and Escape, key chords, pages you open from the address bar, and Back. A click on a menu item that
3286
- opened when the pointer went over its trigger gets a hover on the trigger first. Password fields are written as an
3287
- environment variable (the saved login's `password_env`, or `<SITE>_PASSWORD`), and text equal to a saved login's value
3288
- 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
3289
- working folder; one outside it, a hidden file (`.env`, anything under `.git`), or one named like credentials or keys is
3290
- listed as not recorded. Drag and drop is listed as not recorded. `--signed-in` starts with the saved sessions of
3291
- `logins:`; without it, record the sign-in too.
3541
+ What is recorded: clicks (a double click as one step, a right-click as a click with the right button), the final
3542
+ text of each field you typed in (not each key), choices in drop-downs, Enter and Escape, key chords, pages you open
3543
+ from the address bar, and Back. A click on a menu item that opened when the pointer went over its trigger gets a
3544
+ hover on the trigger first. Steps are recorded inside frames (another site's too) and inside closed shadow roots, and
3545
+ in a window or tab the page opens. A click on a canvas keeps where in it you clicked. Also recorded:
3546
+
3547
+ - **Drags**: an element dragged onto another, or moved by the mouse (a list item, a map pin, a slider), is one step.
3548
+ A replay drags with the mouse. Selecting text is not a drag.
3549
+ - **Scrolls** you make with the wheel or the keys, of half a screen or more, as one step (scrolls the page makes by
3550
+ itself are not).
3551
+ - **Browser dialogs** (alert, confirm, prompt, "leave this page?") are left for you to answer. Your answer is a step,
3552
+ and a replay answers the same way and dismisses any dialog the recording did not have.
3553
+ - **Downloads** are saved in the recording's `downloads/`. The file is a step: a replay checks that a file of that
3554
+ name (or of its pattern, when part of the name changes) arrives and is not empty.
3555
+ - **A CAPTCHA** (reCAPTCHA, hCaptcha, Turnstile, Arkose, GeeTest) is one step for a person, never its clicks. A
3556
+ replay in a visible browser waits up to 3 minutes for you to solve it; a headless one fails and says to turn it
3557
+ off in the test environment (the provider's test keys, or a bypass).
3558
+ - **The browser's own sign-in box** (basic auth): only the site is kept, with the saved login whose `domains` cover
3559
+ it. A replay signs in there with that login's variables. With no such login, the recording says to save one.
3560
+ - **Browser permissions** you allowed (location, notifications, clipboard, camera, microphone) are granted to that
3561
+ site in a replay.
3562
+
3563
+ A password field is written as an environment variable: the saved login's `password_env` when what you typed is
3564
+ that login's password, else `<HOST>_PASSWORD`. Text equal to a saved login's value is written as its variable, and
3565
+ what you type in a password field is never stored. A file you choose for an upload is recorded by its path in the
3566
+ working folder; one from elsewhere (Downloads, the desktop) is copied into the recording's `files/`, up to 25 MB. A
3567
+ hidden file (`.env`, anything under `.git`) or one named like credentials or keys is listed as not recorded. A
3568
+ Browse button that opens the file chooser, and files dropped on a drop zone, are recorded too. `--signed-in` starts
3569
+ with the saved sessions of `logins:`; without it, record the sign-in too.
3292
3570
 
3293
3571
  **Data that changes from run to run.** A test that spells out this recording's price, date, or order number fails on
3294
3572
  the next run, so ForgeQE keeps what holds and makes the rest a pattern, a variable, or a value made fresh:
@@ -3339,7 +3617,7 @@ records only real input: clicks and keys a script fakes are ignored. The panel's
3339
3617
  and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.
3340
3618
 
3341
3619
  **From the web app (Record page).** You only do the steps, with nothing to describe first: the browser shows the site
3342
- with no panel in it, only a small "Recording" badge that takes no click. **Pause**, **Undo** and **Stop** are on the
3620
+ with no panel in it, only a small badge that says it is recording and how many steps, with a **Stop** button (only the button takes a click). **Pause**, **Undo** and **Stop** are on the
3343
3621
  Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
3344
3622
  page and what it showed (`steps/NNN.jpg` and `.json` in the run folder; the badge is left out of the picture, and an
3345
3623
  address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
@@ -3351,7 +3629,7 @@ appear. Nothing is kept while the recording is paused. A value you make a secret
3351
3629
  `network.json` too (a contract set made from it before keeps its copy: make the set again). When you stop, you review
3352
3630
  the recording with clicks.
3353
3631
 
3354
- The review starts with the steps and **Write the test**; everything else is under **More**. ForgeQE has already made
3632
+ The review shows the recording's name, **Re-run** and **Write the test** at the top, and the tabs **Steps**, **Test data**, **Runs**, **Instructions**, **Blocks** and **Versions**. ForgeQE has already made
3355
3633
  the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
3356
3634
  run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
3357
3635
  so: **Use the block** marks them as the block.
@@ -3361,28 +3639,38 @@ so: **Use the block** marks them as the block.
3361
3639
  | Name | Written from what you did ("shop.test: Sign in → Email → Password → Log in …"); change it if you like |
3362
3640
  | Check that … under a step | 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 (`Order placed: #\d+`) |
3363
3641
  | A call under a step | One click checks the page's own call to its server, such as `POST /api/orders answers 201`: the test waits for it and checks its status |
3364
- | Suggest with the model | 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. **Add** one, or **Add all** |
3642
+ | Suggest | 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. **Add** one, or **Add all** |
3643
+ | The pencil on a check | 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 (=, >, ≥, <, ≤, between), in any case if you like. **Back to contains** undoes it |
3365
3644
  | The picture of a step | Click a text on it to check that it shows, or a field to check its value |
3645
+ | A step's details | What was recorded for it: the element, every locator kept (XPath too) and whether each was unique, its frames. **How step N finds its element** 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 |
3366
3646
  | Add, then Check | The page the step leads to, or a check in your words, which the coding agent finds on the page |
3367
3647
  | Add, then Step | **Record more from here**: 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 ("choose the cheapest delivery"), which the coding agent finds on the page and does there; open a page; or go back |
3648
+ | Add, then Wait | Wait until the page has loaded, until a text shows or is gone, or a number of seconds (1 to 60) |
3368
3649
  | Add, then Note | A note on the step for whoever writes the test ("this is the cart page object") |
3369
3650
  | Drop (bin) | Removes the step |
3370
3651
  | Instructions for Quill | 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 |
3371
3652
  | Test data | Each typed value: as typed, test data, new on each run (`ann+{{$unique}}@shop.test`), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version |
3372
3653
  | Blocks | Keep steps you do in many tests (Sign in) as a block, `.forgeqe/blocks/<name>.yaml`; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when `.gitignore` 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 |
3373
- | History | Every change is a version: go back to any of them, or to the recording as recorded |
3654
+ | Versions | Every change is a version: go back to any of them, or to the recording as recorded |
3374
3655
  | Re-record | 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 `reheal.json` 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. **Write the test** after a re-record heals the test the recording already has, changing what those steps need and leaving the rest of it alone |
3375
- | Try it | Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of `env.yaml` (the same web app's address there), with the test data as recorded or other values. With `api.capture` on (the default) it keeps the application's API calls of the latest try in `tries/network.json`, cleaned as a recording's are; **API tests from its calls** opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs |
3656
+ | Re-run | On the **Runs** 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 `env.yaml` (the same web app's address there), with the test data as recorded or other values. With `api.capture` on (the default) it keeps the application's API calls of the latest try in `tries/network.json`, cleaned as a recording's are; **API tests from its calls** opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs |
3657
+
3658
+ **Runs.** Re-run plays the steps where they were recorded or on another environment of env.yaml, with the values as
3659
+ typed, values you give, or once for each row of a data file or kept request of the project (**Test data**: up to 20
3660
+ rows, one after another; for an Excel file, a **Sheet**). A column named like a test data value gives its value.
3661
+ **Stop** ends a run and closes its browser. **Earlier runs** lists the runs before, newest first, each with how it
3662
+ ended, where, and its steps and log; only the latest keeps its pictures, video and trace. **Recording video** and
3663
+ **Recording log** (Steps tab) and **Re-run video** and **Re-run log** (Runs tab) open in a new tab.
3376
3664
 
3377
3665
  **Start from a block** (More options on the Record page): the recording opens the block's first page and does its
3378
3666
  steps for you in the same tab, the recorder paused meanwhile; then you record the rest. A step that cannot be done (a
3379
3667
  secret not set) ends the block there, and you do the rest by hand. **Write the test** hands the recording to the coding
3380
3668
  agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
3381
- that every test using it calls. A past recording is run again the same way: **Review** in the list, then **Try it**.
3669
+ that every test using it calls. A past recording is run again the same way: **Open the recording** in the list (the row's menu), then **Re-run**.
3382
3670
 
3383
3671
  **Write the test** first plays the steps with Playwright, as the test will. When a step does not work, it says so
3384
- before any code is written: **Record step N again** (the browser does the steps before it, and what you record takes
3385
- its place), drop it, or write the test anyway. Then Quill writes the test, and its work shows in the review:
3672
+ before any code is written: **Show** opens the step, **Record** does it again (the browser does the steps before it,
3673
+ and what you record takes its place), **Remove** drops it, and **Write** writes the test anyway. Then Quill writes the test, and its work shows in the review:
3386
3674
  what it is doing, the files it changed, and its answer (or why it stopped).
3387
3675
 
3388
3676
  ### Desktop apps (Windows)
@@ -3401,6 +3689,14 @@ forgeqe desktop replay desktop-tests/ --junit results.xml # every workflow
3401
3689
  forgeqe desktop doctor # can this machine replay unattended?
3402
3690
  ```
3403
3691
 
3692
+ Explore and recording run on Windows. A saved workflow also replays on macOS and Linux, on agent-desktop (the default
3693
+ there; `forgeqe desktop setup` installs it), and on Windows with `desktop.driver: agent-desktop`: it acts through
3694
+ accessibility calls, with no mouse or focus. See
3695
+ [docs/DESKTOP.md](docs/DESKTOP.md#replay-on-agent-desktop-macos-linux-and-headless-windows). In `forgeqe web`,
3696
+ Record → **Desktop app** records on Windows, and a recording opens in a review: steps with their pictures (click a
3697
+ control to add a check), changes to a step, checks, waits and keys added after one, where each typed value comes from,
3698
+ and **Replay** with no model ([docs/DESKTOP.md](docs/DESKTOP.md#reviewing-a-recording-web-app)).
3699
+
3404
3700
  Workflows wait for slow apps without fixed sleeps: a `timeout` and `retries` for the workflow or a step, `wait_for` a
3405
3701
  control to appear, show a text or go away (a splash screen), and a `dismiss` list of dialog buttons to click whenever
3406
3702
  they are in the way. `expect_image` compares a control or window with a baseline image (saved on the first run, kept
@@ -3414,6 +3710,8 @@ Apps come from `desktop.apps` in forgeqe.yaml (an absolute `.exe` and an argumen
3414
3710
  only the variables listed in `desktop.secrets`. Explore and replay take over the desktop's mouse and keyboard and ask
3415
3711
  first; use a test machine and a test account. Details: [docs/DESKTOP.md](docs/DESKTOP.md).
3416
3712
 
3713
+ Workflows replay with `desktop.driver`: `auto` (the default) uses pywinauto on Windows and agent-desktop elsewhere (macOS, Linux), or name `pywinauto` or `agent-desktop`. agent-desktop does not use the mouse and keyboard unless `desktop.headed: true` (a double-click needs it). `desktop.video: false` stops the `video.mp4` each run keeps.
3714
+
3417
3715
  ### Mobile apps (Android, iOS)
3418
3716
 
3419
3717
  ForgeQE drives Android and iOS apps two ways: through **Appium**, step by step (it can explore a goal with the model,
@@ -3432,6 +3730,11 @@ forgeqe mobile maestro .maestro/ # your team's Maes
3432
3730
  forgeqe mobile flow workflow.yaml > login.flow.yaml # a workflow as a Maestro flow, to keep
3433
3731
  ```
3434
3732
 
3733
+ To show the steps instead, use Record → **Mobile app** in `forgeqe web`: pick the app and a device (here, TestMu AI
3734
+ or BrowserStack), and the device's screen appears on the page. Each tap, entry, check and gesture is done on the
3735
+ device through the locator ForgeQE keeps for it, so a step a replay could not find is never kept. No model is used.
3736
+ Stop opens the workflow's review. Details: [docs/MOBILE.md](docs/MOBILE.md#record-by-hand).
3737
+
3435
3738
  Apps come from env.yaml (`kind: mobile`, `platform: android` or `ios`, `app_id`, and optionally `activity` and an
3436
3739
  `app` build to install) or `mobile.apps` in forgeqe.yaml. `mobile.appium` names the Appium server (default
3437
3740
  `http://127.0.0.1:4723`, or a device cloud's hub with its user and key in environment variables), and `{{secret:NAME}}`
@@ -3869,7 +4172,7 @@ forgeqe suite ado:plan=12/suite=34 --each-query test-data/queries/active-users.s
3869
4172
  The result goes back to the test point (or the work item) once, failed when any row failed, with every row in the comment.
3870
4173
 
3871
4174
  - **Cases written in words.** A case needs no `{{row.<column>}}` to use its row: each run's browser agent is given the row's values ("Test data for this run: email, role, expected_message …") and uses them wherever the case needs test data, so "Sign in as the test user and check the welcome message" 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 `{{row.password}}`, or the login comes from `logins`.
3872
- - **Another user on each row, in a recording or a desktop app.** A recording's Try it with rows that have a `login` 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 `{{secret:NAME}}` does the same with `forgeqe desktop replay --data users.csv`, for logins that name the app (`app: billing` in place of a site), and `{{totp:NAME}}` types an authenticator code made from NAME, never the secret. A row whose login lacks a variable the recording types stops with the reason.
4175
+ - **Another user on each row, in a recording or a desktop app.** A recording's Re-run with rows that have a `login` 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 `{{secret:NAME}}` does the same with `forgeqe desktop replay --data users.csv`, for logins that name the app (`app: billing` in place of a site), and `{{totp:NAME}}` types an authenticator code made from NAME, never the secret. A row whose login lacks a variable the recording types stops with the reason.
3873
4176
  - **Another user on each row.** A `login` column names the saved login (`logins:` in forgeqe.yaml) a row signs in with: `shop_admin`, `shop_viewer`, each with its own `username_env`, `password_env` and `totp_env`. 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 (`logins`), and makes its own one-time codes.
3874
4177
  - **One result per row.** Each row is a run of its own, `LOGIN-3[2]` with the row in its title (`· row 2 (email=bob@shop.test, role=viewer)`), 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.
3875
4178
  - **One test for every row.** The coding agent writes one parameterised test from the first row that passes (Playwright `for (const row of rows) test(...)`, `@pytest.mark.parametrize`, NUnit `TestCaseSource`, JUnit `@MethodSource`). It reads the rows at run time from the JSON file `FORGEQE_ROWS_FILE` names (`{"columns": [...], "rows": [{...}]}`). In a pipeline, make that file with `forgeqe data rows ... --export`, and set `FORGEQE_ROWS_FILE` to it.
@@ -4188,11 +4491,11 @@ forgeqe persona show payments-sme # one persona and the brief agents act on
4188
4491
  forgeqe persona create "an SME in card payments who reconciles settlements" --domain payments --kind sme [--save]
4189
4492
  ```
4190
4493
 
4191
- Built in: `payments-sme` (`/priya`), `retail-customer` (`/sam`), `compliance-specialist` (`/dana`), `operations-manager` (`/lee`), `first-time-user` (`/alex`), and three risk-oriented personas the [Business Testing agent](#business-assurance) uses: `incentive-exploiter` (`/max`, an opportunistic deal hunter), `insider-agent` (`/rory`, a customer service agent who misuses refund and credit rights) and `partner-merchant` (`/morgan`, a marketplace merchant watching payout timing).
4494
+ Built in: `payments-sme` (`/priya`), `retail-customer` (`/sam`), `compliance-specialist` (`/dana`), `operations-manager` (`/lee`), `first-time-user` (`/alex`), and three risk-oriented personas for testing misuse on a test environment: `incentive-exploiter` (`/max`, an opportunistic deal hunter), `insider-agent` (`/rory`, a customer service agent who misuses refund and credit rights) and `partner-merchant` (`/morgan`, a marketplace merchant watching payout timing). [BASAL](#basal-business-testing) casts its own personas for each business test.
4192
4495
 
4193
4496
  Besides what they know and check, a persona can say **why they act** (`intent`: `legitimate`, `opportunistic` or `adversarial`, with a `risk_appetite`), what drives them (`motivations`), what their role lets them do in the app (`permissions`), the limits they work within (`constraints`), the mistakes they plausibly make (`mistakes`) and who they deal with (`relationships`, by persona id). Each saved change raises its `version`.
4194
4497
 
4195
- **Every persona is a command in every agent's chat.** Start a message with it and the task: `/priya Validate the payment change`. It works in the terminal shell (typing `/` suggests the personas with the shell's commands), `forgeqe run "/priya …"`, every chat box of the web app (typing `/` 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 `handle` (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.
4498
+ **Every persona is a command in every agent's chat.** Start a message with it and the task (`/priya Validate the payment change`), or name personas anywhere in the words (`check @steps.json as /sam and /priya`), up to four in one message; a word that names no persona, such as `/tmp`, stays as it is. It works in the terminal shell (typing `/` suggests the personas with the shell's commands), `forgeqe run "/priya …"`, every chat box of the web app (typing `/` 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 `handle` (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.
4196
4499
 
4197
4500
  ```bash
4198
4501
  forgeqe persona export --out personas.json # your own personas, as a file to share
@@ -4236,9 +4539,9 @@ A persona file can come from the repository, so ForgeQE reads it strictly: only
4236
4539
 
4237
4540
  ### BASAL: business testing
4238
4541
 
4239
- **BASAL** tests a business decision the way real people meet it. Ask a business question with its brief ("Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected"), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Agents › BASAL › Tests):
4542
+ **BASAL** tests a business decision the way real people meet it. Ask a business question with its brief ("Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected"), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Quality Engineering › Test design › BASAL, its **Tests** tab):
4240
4543
 
4241
- 1. **Ask**: the question, the files it rests on (a brief, survey data, policy extracts) and work items.
4544
+ 1. **Ask**: 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 (`--file`, `--story`).
4242
4545
  2. **Understand**: 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 **observed** only when its quote is in the source it names; otherwise it is **inferred**.
4243
4546
  3. **Strategy**: 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 **policy** only when it rests on an observed success criterion.
4244
4547
  4. **Cast**: one persona per stakeholder who acts: what they check, what they object to, the mistakes they bring.
@@ -4250,18 +4553,24 @@ A persona file can come from the repository, so ForgeQE reads it strictly: only
4250
4553
  At a terminal:
4251
4554
 
4252
4555
  ```bash
4253
- forgeqe basal new "Should we launch saved cards with a fee?" --file briefs/brief.md --file briefs/survey.csv
4556
+ forgeqe basal # the business tests here (same as: forgeqe basal list)
4557
+ forgeqe basal new "Should we launch saved cards with a fee?" --file briefs/brief.md --file briefs/survey.csv [--story ID] [--env qa]
4254
4558
  forgeqe basal understand <id>
4255
4559
  forgeqe basal strategy <id>
4256
4560
  forgeqe basal cast <id>
4257
4561
  forgeqe basal rehearse <id>
4562
+ forgeqe basal show <id> # the scenario, cast and strategy
4258
4563
  forgeqe basal approve <id> # a person types the id
4259
- forgeqe basal act <id> [--scenario s1,s2]
4564
+ forgeqe basal act <id> [--scenario s1,s2] [--yes-writes]
4260
4565
  forgeqe basal judge <id>
4261
4566
  forgeqe basal observe <id> <scenario> --step 3 --accepted|--refused [--values name=value] [--note TEXT]
4262
4567
  ```
4263
4568
 
4264
- BASAL needs a model, and is best with the graph store (`forgeqe graph setup`: Neo4j, after you agree) and an embedding model (`graph.embedding`). Its files are in `.forgeqe/basal/tests/<id>/`. It replaces the Business assurance agent (Watchdog); `forgeqe business` points here.
4569
+ `act` lists the steps that change data and runs them only when you type `yes`; `--yes-writes` agrees in advance.
4570
+
4571
+ On BASAL's page, start a test on **Agent** with your business question and **Start**. **Tests** lists every business test with how many of the eight steps it has done; open one to work through its steps. **Personas** shows who each test was cast with, and **Findings** shows every scenario's latest verdict, the ones that need attention first. You can also ask Atlas ("test whether we should launch saved cards with a fee, here is the brief"): its `basal` tool starts the test and works through the steps, but never approves. It tells you where to approve, and acts only after you have.
4572
+
4573
+ BASAL needs a model, and is best with the graph store (`forgeqe graph setup`: Neo4j, after you agree) and an embedding model (`graph.embedding`). Its files are in `.forgeqe/basal/tests/<id>/`. BASAL replaced the Business assurance agent: `forgeqe business` now only says where BASAL is, and tests kept in `.forgeqe/business` are not read.
4265
4574
 
4266
4575
  ### Visual comparison
4267
4576
 
@@ -4301,6 +4610,19 @@ Every browser run keeps, besides its API calls, each page it loaded with that pa
4301
4610
 
4302
4611
  With accessibility checks on (the default), each page a browser run visits is checked for its language: translation keys shown as text (`checkout.button.pay`, `{{name}}`, "missing translation"), English left on a page whose `lang` is another language, and text cut off or running past its box. Then, for a moment the run never sees, the page is shown with pseudo-localized text (accented and a third longer) and right to left, measured and captured, and put back. `localization_findings` (and Quality › Localization) lists what each page showed and what breaks only once text grows or is mirrored. Run a flow once in each language your site has.
4303
4612
 
4613
+ ### Responsive preview
4614
+
4615
+ The **Responsive** 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 `pointer: coarse` lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The page has an **Agent** tab and a **Runs** tab; **New** starts a run in four steps:
4616
+
4617
+ 1. **Page and devices.** The address starts as the active environment's web app. Pick the devices, and where they run: **This computer**, or BrowserStack or TestMu AI once their sign-in is set (`BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY`, or `LT_USERNAME` and `LT_ACCESS_KEY`). On a cloud, **Emulated in a browser** shows the devices in one Chrome, Edge, Firefox or WebKit session; **Real devices** 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.
4618
+ 2. **What to do.** One prompt, written as you would tell a tester, with up to three `.txt`, `.md`, `.csv` or `.feature` files attached. A test case from test management or a saved prompt can fill it; **Save** keeps a prompt in `.forgeqe/responsive/flows/`. 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.
4619
+ 3. **What to check.** The built-in checks (**Scrolls sideways**, **Text under 12px**, **Tap targets under 24px**, **Broken images**) and up to eight of your own in words ("The cart total shows without scrolling"). Your own check fails only with a quote found on that screen; without a model it is not judged.
4620
+ 4. **Review**, then **Start**.
4621
+
4622
+ 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 **Findings**, **Devices** (each device's last step and screenshot) and **Log and errors**, with **Stop** (what was done is kept). A finished run shows **Steps**, **Findings** (High, Medium or Low; a row opens the finding with its screenshot), **Screenshots** and **Log and errors**. Runs are kept in the reports folder as `responsive/<run id>/`. One run goes at a time, and a run on a site of an environment named like production is refused.
4623
+
4624
+ - `responsive_check` (or "does the checkout work on phones?") opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in `responsive-<time>/` in the reports folder. It clicks and types nothing.
4625
+
4304
4626
  ### Production errors
4305
4627
 
4306
4628
  `production_errors` (and the **Production signals** page) reads the errors real users hit in the last 14 days from Sentry (`integrations.sentry`), Datadog (`integrations.datadog`) and Azure Application Insights (`integrations.appinsights`), groups them by page, and says which browser run or automated test already reaches each page, or that no test does. It only reads. Record a repro opens the Record page at the same page on the active test environment. Keys are environment variables named in forgeqe.yaml, saved in Settings.
@@ -4409,7 +4731,7 @@ logins:
4409
4731
 
4410
4732
  - **Email** 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. **Text message** reads the messages to a Twilio test number. **http** 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.
4411
4733
  - **The agent never sees the code.** When the page asks for it, the browser agent calls `type_one_time_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.
4412
- - **Replays and tests.** The step is recorded as "type the code shop's site sent", never the code. Replays and Try it read a fresh one. A test written from the run calls `forgeqe login code shop --since <time>` 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.
4734
+ - **Replays and tests.** The step is recorded as "type the code shop's site sent", never the code. Replays and Re-runs read a fresh one. A test written from the run calls `forgeqe login code shop --since <time>` 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.
4413
4735
  - **The variables** are test credentials, like the login's password: the browser engine and the tests get them, the model never does.
4414
4736
 
4415
4737
  **Security keys and passkeys.** 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:
@@ -4680,7 +5002,7 @@ mcp:
4680
5002
  env: { XRAY_CLIENT_ID: "{env:XRAY_CLIENT_ID}", XRAY_CLIENT_SECRET: "{env:XRAY_CLIENT_SECRET}" }
4681
5003
  ```
4682
5004
 
4683
- `forgeqe mcp list` prints the servers your settings give, with secrets shown only as `{env:…}`, and says why any system is left out. When the agent starts, the transcript shows the result:
5005
+ `forgeqe mcp list` prints the servers your settings give, with secrets shown only as `{env:…}`, 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:
4684
5006
 
4685
5007
  ```
4686
5008
  ▸ Connecting to Azure DevOps MCP, Jira MCP (mcp-atlassian)…
@@ -4698,7 +5020,7 @@ The agent runs test cases with `run_test_cases` even when an MCP server is conne
4698
5020
 
4699
5021
  ### ForgeQE as an MCP server
4700
5022
 
4701
- `forgeqe mcp` serves ForgeQE's tools to other agents over stdio (MCP):
5023
+ `forgeqe mcp` 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 `use_capabilities` or `--all-tools` gives the rest.
4702
5024
 
4703
5025
  ```json
4704
5026
  { "mcpServers": { "forgeqe": { "command": "forgeqe", "args": ["mcp", "--repo", "/path/to/app"] } } }
@@ -4738,7 +5060,7 @@ The agent runs test cases with `run_test_cases` even when an MCP server is conne
4738
5060
  | `generated_attribution` | The footer for a pull request and the trailer for a commit that include ForgeQE's code: the runs' `fq:` ids and how much they wrote |
4739
5061
  | `forgeqe_command` | A `forgeqe` command no other tool covers, in an allowlisted shape; reading commands run at once, the others after the user agrees (`confirmed: true` over MCP) |
4740
5062
 
4741
- `--repo` sets the working directory (default: where it starts), and `--profile`, `--url`, and `--headed` 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 `forgeqe run` use the same tools, served to the agent runtime over local HTTP with a one-time token.
5063
+ `--repo` sets the working directory (default: where it starts), and `--profile`, `--url`, `--headed` and `--browser-provider` 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 `forgeqe run` use the same tools, served to the agent runtime over local HTTP with a one-time token.
4742
5064
 
4743
5065
  ## 11. Skills
4744
5066
 
@@ -4769,7 +5091,7 @@ agents: [browser]
4769
5091
 
4770
5092
  | Source | Folder |
4771
5093
  |--------|--------|
4772
- | Built-in | the `skills/` folder ForgeQE ships: `playwright-automation`, `bdd-gherkin` and `testcontainers` (Quill), `bdd-scenario-design` (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to `write_test` as `bdd`), `azure-sdk-testing`, `aws-sdk-testing` and `gcp-sdk-testing` (Quill and ForgeQE's agent), `dynamics-365` (browser), `dynamics-365-automation` (Quill: D365 control names and locators, steps per control, EasyRepro), `writing-skills` (ForgeQE's agent) |
5094
+ | Built-in | the `skills/` folder ForgeQE ships: `playwright-automation`, `bdd-gherkin` and `testcontainers` (Quill), `bdd-scenario-design` (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to `write_test` as `bdd`), `azure-sdk-testing`, `aws-sdk-testing` and `gcp-sdk-testing` (Quill and ForgeQE's agent), `dynamics-365` (browser), `dynamics-365-automation` (Quill: D365 control names and locators, steps per control, EasyRepro), `web-guidance` (ForgeQE's agent and Quill: web platform guides from Modern Web Guidance, pinned, as advisory checks for forms, dialogs, accessibility, passkeys and speed), `writing-skills` (ForgeQE's agent) |
4773
5095
  | Global, only with `skills.external: true` | `~/.claude/skills`, `~/.agents/skills`, and the repo's `.claude/skills` and `.agents/skills` |
4774
5096
  | User | `~/.forgeqe/skills` (or `$FORGEQE_HOME/skills`) |
4775
5097
  | Project | `.forgeqe/skills` next to `forgeqe.yaml`, and the repo's own `.forgeqe/skills` |
@@ -4817,10 +5139,11 @@ Engine settings are `FORGEQE_ENGINE_*` variables. Set them in the shell or `.env
4817
5139
  | `FORGEQE_ENGINE_CONTROL_LOOP_MAX_RETRIES` | 4 | 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 |
4818
5140
  | `FORGEQE_ENGINE_CHANNEL` / `FORGEQE_ENGINE_EXECUTABLE_PATH` | chrome | Browser to launch |
4819
5141
  | `FORGEQE_ENGINE_SKIP_ERROR_RECOVERY_PROMPT` | false | Drop the recovery instructions |
5142
+ | `FORGEQE_ENGINE_BROWSER_START_SECONDS` | 90 | How long a starting browser has to answer before the next way is tried (15 to 600), for slow company computers |
4820
5143
 
4821
5144
  ## 13. Logs for debugging
4822
5145
 
4823
- Every session (`forgeqe start`, `run`, `suite`, `heal`, `monitor`, `code`, `mcp`, `login`, `setup`) writes a log to `.forgeqe/logs/` next to `forgeqe.yaml` (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 `llms.json`, and credentials you gave in a message.
5146
+ Every session of a command that runs agents or tools (`forgeqe start`, `run`, `chat`, `suite`, `heal`, `code`, `monitor`, `explore`, `record`, `migrate`, `tosca`, `pack`, `desktop`, `mobile`, `mcp`, `login`, `setup`, and the data commands) writes a log to `.forgeqe/logs/` next to `forgeqe.yaml` (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 `llms.json`, and credentials you gave in a message.
4824
5147
 
4825
5148
  Each session has two files with the same events:
4826
5149
 
@@ -4894,6 +5217,14 @@ the list again. For a client that ignores it, `forgeqe mcp --all-tools` lists ev
4894
5217
  | `FORGEQE_TOOL_SCOPE` | `off` gives ForgeQE's agent every tool on every turn, instead of the tools of the capabilities each request is about |
4895
5218
  | `FORGEQE_ROUTING` | `off` also puts every playbook in the agent's prompt (for comparing, or ruling out a routing fault) |
4896
5219
  | `FORGEQE_HOME` | Where the managed engine lives, user skills (`skills/`), and page memory when there is no config file (default `~/.forgeqe`) |
5220
+ | `FORGEQE_ENV` | The test environment of env.yaml for every command, like `--env NAME` |
5221
+ | `FORGEQE_VERBOSE` | `1` starts with every detail shown, like `--verbose` |
5222
+ | `FORGEQE_THEME` | `light` or `dark`: the shell's colours at start |
5223
+ | `FORGEQE_PRICES` | `off` stops the daily download of the model price lists |
5224
+ | `FORGEQE_USAGE` / `FORGEQE_USAGE_DIR` | `off` keeps no usage ledger on disk; or a folder for it instead of `~/.forgeqe/usage` |
5225
+ | `FORGEQE_BUN` | A Bun to run ForgeQE with, instead of the one npm installed or ForgeQE downloaded |
5226
+ | `FORGEQE_SECRET_STORE` | `file` keeps saved secrets in `~/.forgeqe/credentials.json` (readable only by you) instead of the system's credential store |
5227
+ | `SERVICENOW_URL` / `SERVICENOW_USER` / `SERVICENOW_PASSWORD` | ServiceNow instance and sign-in when `sources.servicenow` doesn't set them |
4897
5228
  | `ADO_ORG_URL` / `ADO_PROJECT` / `ADO_PAT` | Azure DevOps organization, project, and token when `sources.azure_devops` doesn't set them |
4898
5229
  | `JIRA_URL` / `JIRA_EMAIL` / `JIRA_API_TOKEN` | Jira site and credentials when `sources.jira` doesn't set them |
4899
5230
  | `XRAY_URL` / `XRAY_CLIENT_ID` / `XRAY_CLIENT_SECRET` | Xray Cloud endpoint and API key pair |
@@ -4917,14 +5248,25 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
4917
5248
 
4918
5249
  | Command | What it does |
4919
5250
  |---------|--------------|
4920
- | `forgeqe init [--global] [--profile NAME]` | Write `forgeqe.yaml`, `llms.json`, and `.forgeqe/` with the prompts, skills, and product knowledge templates |
4921
- | `forgeqe setup [--force]` | Download the agent runtime and the engine now (`--force` rebuilds the engine) |
5251
+ | `forgeqe init [--dir DIR] [--global] [--force] [--profile NAME]` | Write `forgeqe.yaml`, `llms.json`, `env.yaml`, and `.forgeqe/` with the prompts, skills, and product knowledge templates |
5252
+ | `forgeqe setup [--force]` | Download the agent runtime and the engine now, and Appium when mobile apps run on this computer (`--force` rebuilds the engine) |
5253
+ | `forgeqe doctor` | Whether this computer and the network (proxy, inspected HTTPS, firewall) let ForgeQE reach what it needs |
5254
+ | `forgeqe doctor --packages` | Every package ForgeQE installs on this computer, and which are missing or out of date |
5255
+ | `forgeqe doctor browser [--headless]` | Start the local browser each way ForgeQE can, and write a report of what stops it |
4922
5256
  | `forgeqe models` | List the profiles in `llms.json` and the active one |
4923
5257
  | `forgeqe models --routes [--profile-models]` | The model each area of work gets (`llm.routing`) and why; `--profile-models` checks and rates the models again (see [docs/MODEL_ROUTING.md](docs/MODEL_ROUTING.md)) |
4924
5258
  | `forgeqe features` | What ForgeQE can do, and what each capability still needs in this setup (works without a model) |
4925
5259
  | `forgeqe docs [--guide\|--open] [--copy DIR]` | The bundled docs; `--guide` opens the docs pages (as on forgeqe.github.io/docs/, offline), `--open` the architecture page |
4926
5260
  | `forgeqe mcp list` | The MCP servers ForgeQE's agent gets from your settings |
4927
- | `forgeqe auth login [system\|NAME]` | Sign in to Azure DevOps, GitHub, GitHub Copilot (`copilot`), Jira, Confluence, TestRail, Zephyr, qTest, or Xray in the browser, or save one secret, in the system's credential store |
5261
+ | `forgeqe models --copilot [--add MODEL [--as NAME] [--engine-model MODEL] [--default]]` | Your Copilot seat's models and their premium requests; `--add` keeps one as a profile (see [GitHub Copilot seats as the model](#github-copilot-seats-as-the-model)) |
5262
+ | `forgeqe web [--port N] [--no-open]` | The web app on 127.0.0.1 (see [The web app](#the-web-app); `--url` and `--public-url` are in docs/WEB_APP.md) |
5263
+ | `forgeqe context` | What each agent loads on every model call, against its budget (exit 1 over budget) |
5264
+ | `forgeqe guardrails [add "rule"]` | The team's rules every agent follows, or add one (see [Guardrails](#guardrails)) |
5265
+ | `forgeqe prompts [list] \| show\|diff\|reset <name> \| check [name] \| eval` | Every agent prompt and where it comes from; compare, reset, check, evaluate |
5266
+ | `forgeqe apps [--env NAME]`, `forgeqe env import <file.yaml> [--write]`, `forgeqe env link <name> <file.yaml>` | The test environments in env.yaml and their apps; an environment from the team's own YAML (see [Environments and apps](#environments-and-apps)) |
5267
+ | `forgeqe knowledge [build\|status\|search\|node\|impact]` | The product knowledge graph (see [Product knowledge graph](#product-knowledge-graph)) |
5268
+ | `forgeqe graph [status\|setup [--yes]\|sync\|search "<words>"\|stop\|reset]` | ForgeQE's Neo4j for the product graph and BASAL's scenario graphs (see [Product knowledge graph](#product-knowledge-graph)) |
5269
+ | `forgeqe auth login [system\|NAME] [--no-browser]` | Sign in to Azure DevOps, GitHub, GitHub Copilot (`copilot`), 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 |
4928
5270
  | `forgeqe auth [status]`, `forgeqe auth logout <system>` | What is signed in; forget a sign-in |
4929
5271
 
4930
5272
  ### Run
@@ -4940,6 +5282,12 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
4940
5282
  | `forgeqe bi [build] [--from FILE\|DIR]... [--static\|--evidence]` | The team report of every run here and the shared bundles (see [Team report](#team-report)) |
4941
5283
  | `forgeqe bi init\|sync` | Scaffold the Evidence project; refresh its datasets and pages without building |
4942
5284
  | `forgeqe bi export [--out FILE\|DIR]` | This machine's runs and readiness reports in one file to share |
5285
+ | `forgeqe refine "<request>" [--json]` | The request made precise against what ForgeQE knows here; runs nothing |
5286
+ | `forgeqe agent list \| new \| try \| approve \| run \| approvals …` | The team's custom agents (see [Custom agents](#custom-agents)) |
5287
+ | `forgeqe jobs add <name> [--every 15m \| --cron "…"] [--now] -- <command...>`, `forgeqe jobs [list\|status\|logs\|run\|stop\|remove] <name>` | Commands on a schedule or now, in the jobs service |
5288
+ | `forgeqe pipeline watch --github owner/repo --workflow ci.yml \| --ado-project NAME --pipeline ID` | The latest run of a CI pipeline; exit 1 while it is failed |
5289
+ | `forgeqe investigate <run folder>` | Heal a job run's handed-over failures, each on a local branch |
5290
+ | `forgeqe evidence [record\|runs\|show\|check\|contract\|…]` | An AI agent's runs as evidence |
4943
5291
 
4944
5292
  ### Tests
4945
5293
 
@@ -4950,6 +5298,22 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
4950
5298
  | `forgeqe visual [run] \| approve [run] [--page p]` | Each page against its approved screenshot; approve an intended change as the new baseline |
4951
5299
  | `forgeqe quality [run] \| trends [page]` | A run's WCAG rules and Core Web Vitals against the budgets; per page over time |
4952
5300
  | `forgeqe explore <story> [--url URL] [--roles a,b]` | Exploratory testing of a story: charters beyond the scripted cases, confirmed defects, proposed cases |
5301
+ | `forgeqe record [APP \| --url URL] [--case REF] [--name TEXT] [--repo DIR]` | Do a web test's steps yourself; ForgeQE records them and Quill writes the test (see [Recording a web test by hand](#recording-a-web-test-by-hand)) |
5302
+ | `forgeqe desktop explore\|record\|replay\|setup\|apps\|doctor\|validate …` | Windows apps (see [Desktop apps](#desktop-apps-windows)) |
5303
+ | `forgeqe mobile explore\|replay\|maestro\|upload\|setup\|apps\|doctor …` | Android and iOS apps (see [Mobile apps](#mobile-apps-android-ios)) |
5304
+ | `forgeqe migrate plan --to <target> [--from DIR] \| confirm <plan> \| run <plan> \| show \| list \| targets` | Move a test suite to another framework (see [Migrating a test suite](#migrating-a-test-suite)) |
5305
+ | `forgeqe tosca inspect <file.tsu> \| plan <file.tsu> --to <target> \| confirm \| run \| verify \| fix …` | Convert Tosca test cases (see [Converting Tosca tests](#converting-tosca-tests)) |
5306
+ | `forgeqe pack build\|run\|triage\|heal\|list\|show …`, `forgeqe pack pipeline init [--github] [--azure-devops]` | Regression packs for a release (see [Regression packs for a release](#regression-packs-for-a-release)) |
5307
+ | `forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]` | The tests a pull request can break; `--run` makes it a CI gate (see [Tests for a pull request](#tests-for-a-pull-request)) |
5308
+ | `forgeqe impact <repo> <base> <head> \| <repo> --pr LINK [--gate] [--post] [--json] [--quick]` | What a change in a product repository reaches, and whether it is ready; `--gate` exits 1 when it is blocked |
5309
+ | `forgeqe report <file\|folder>... [--title T] [--out DIR]`, `forgeqe report setup [--repo DIR]` | report.html from JUnit XML or TRX run outside ForgeQE (see [Reports for tests run outside ForgeQE](#reports-for-tests-run-outside-forgeqe)) |
5310
+ | `forgeqe a11y "<goal>" --persona a,b [--url URL]`, `forgeqe a11y personas` | Accessibility testing as personas (see [Accessibility testing with personas](#accessibility-testing-with-personas)) |
5311
+ | `forgeqe persona [list] \| show \| create \| export \| import` | Business personas (see [Business personas](#business-personas)) |
5312
+ | `forgeqe flags list [--env NAME]`, `forgeqe flags run <pack> <flag=v1,v2> --env NAME` | A regression pack once per feature-flag combination (see [Feature-flag matrix](#feature-flag-matrix)) |
5313
+ | `forgeqe defects [--folder DIR]`, `forgeqe defects predict [--repo DIR] [--base REF] [--head REF]` | Defect trends, and where a change is likely to cause defects |
5314
+ | `forgeqe api load\|mock\|security\|heal\|list [SET] …` | Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets |
5315
+ | `forgeqe testmgmt sync \| schedule [off\|hourly\|daily HH:MM]` | Read the test plans of Test management now; set when they are read again (see [Test management](#test-management)) |
5316
+ | `forgeqe basal [list \| new "<question>" … \| show <id> \| approve <id> \| act <id> …]` | BASAL business tests (see [BASAL](#basal-business-testing)) |
4953
5317
  | `forgeqe api contracts --spec <link\|file>` | API contracts from OpenAPI/Swagger, WSDL, GraphQL, .proto, or grpc:// |
4954
5318
  | `forgeqe api contracts --run [RUN]` | API contracts from the calls a browser run saw the app make |
4955
5319
  | `forgeqe api run [SET] [--base-url URL]` | Run contracts against the API, no browser; exit 1 on a failure |
@@ -4972,6 +5336,8 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
4972
5336
  | `forgeqe flows [list]\|map\|impact <db.table[.column]>` | The data flows in `flows.yaml`, what feeds what, everything downstream (see [Data flows](#data-flows)) |
4973
5337
  | `forgeqe flows check [name ...] [--junit FILE] [--post-ado]` | Check each hop: arrived, complete, correct, on time |
4974
5338
  | `forgeqe flows trace <db.table\|flow,flow> <key> [--wait SECONDS]` | Follow one record hop by hop |
5339
+ | `forgeqe data request "<need>" [--db NAME] [--kind existing\|new\|auto]`, `forgeqe data fetch <name>`, `forgeqe data requests`, `forgeqe data log` | Ask Miner for test data; a kept request's data again, no model |
5340
+ | `forgeqe data ask "<question>" --as query\|checks\|script`, `forgeqe data checks <name>` | A question as a query, data checks or a database test script; kept checks run again |
4975
5341
 
4976
5342
  ### Memory, logins, monitoring
4977
5343
 
@@ -4981,6 +5347,8 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
4981
5347
  | `forgeqe memory clear [host\|app] --yes` | Forget a host, an app, or everything |
4982
5348
  | `forgeqe memory stats [--json]` | How often memory stood in for the model, per area |
4983
5349
  | `forgeqe login <name>` / `forgeqe logins` | Sign in by hand once; list or clear saved sessions |
5350
+ | `forgeqe login code <name> [--since TIME]` | The one-time code the login's site sent; only the code is printed |
5351
+ | `forgeqe services [status\|up\|down\|logs] [name ...]` | The services forgeqe.yaml declares, in Docker or Podman (see [Containers and mock services](#containers-and-mock-services)) |
4984
5352
  | `forgeqe monitor [--once] [--test-alerts]` | Checks on a schedule, with Teams and email alerts |
4985
5353
  | `forgeqe notify test [channel]` | Send a test card to the notification channels (see [Notifications](#17-notifications)) |
4986
5354
  | `forgeqe mcp [--repo DIR]` | ForgeQE's tools as an MCP server for other agents |
@@ -5111,9 +5479,11 @@ notify:
5111
5479
  | `job_done` | A job that runs only when asked ends | The same, whether it passed or failed |
5112
5480
  | `job_investigated` | The investigation of a job's failed run is done | Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons |
5113
5481
  | `agent_waiting` | A custom agent running with nobody watching waits for a person's approval | What it wants to do and why, until when it waits, and how to answer |
5482
+ | `agent_failed` | A custom agent's run with nobody watching does not finish (unless its `runtime.notify` is `never`) | The outcome, counts of refused calls and declined approvals, and where to read the run |
5483
+ | `agent_done` | A custom agent's run with nobody watching finishes, when its `runtime.notify` is `always` | The same |
5114
5484
  | `evidence_drift` | `forgeqe evidence drift --notify` finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports | Each alert, with the runs it rests on (only channels that list it get it) |
5115
5485
 
5116
- A channel without `on` gets `suite_failed`, `release`, `eval_failed`, `job_failed`, `job_recovered`, `job_investigated`, and `agent_waiting`. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own `monitor.alerts`, with the same cards.
5486
+ A channel without `on` gets `suite_failed`, `release`, `eval_failed`, `job_failed`, `job_recovered`, `job_investigated`, `agent_waiting` and `agent_failed`. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own `monitor.alerts`, with the same cards.
5117
5487
 
5118
5488
  Events are sent from runs nobody is watching: `forgeqe suite` in a pipeline or on a schedule, `forgeqe run`, and the MCP server. In the shell, where people try things out, nothing is sent on its own; ask instead ("post the results to the QA channel", "tell the release channel the verdict"), and ForgeQE's agent posts a card with `notify`.
5119
5489