@capagents/forgeqe 3.1.2 → 3.1.3

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 (170) hide show
  1. package/HOW_TO_USE.md +5003 -2077
  2. package/README.md +155 -449
  3. package/dist/docs-site/docs/app-theme.css +30 -9
  4. package/dist/docs-site/docs/architecture/index.html +45 -515
  5. package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
  6. package/dist/docs-site/docs/area-api/index.html +257 -116
  7. package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
  8. package/dist/docs-site/docs/area-browser/index.html +167 -125
  9. package/dist/docs-site/docs/area-data/index.html +178 -188
  10. package/dist/docs-site/docs/area-desktop/index.html +329 -282
  11. package/dist/docs-site/docs/area-mobile/index.html +138 -86
  12. package/dist/docs-site/docs/area-operations/index.html +567 -393
  13. package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
  14. package/dist/docs-site/docs/area-quality/index.html +111 -49
  15. package/dist/docs-site/docs/area-release/index.html +180 -65
  16. package/dist/docs-site/docs/area-setup/index.html +742 -339
  17. package/dist/docs-site/docs/area-systems/index.html +32 -48
  18. package/dist/docs-site/docs/area-test-cases/index.html +387 -154
  19. package/dist/docs-site/docs/containers/index.html +87 -101
  20. package/dist/docs-site/docs/cost-architecture/index.html +4 -3
  21. package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
  22. package/dist/docs-site/docs/desktop/index.html +277 -297
  23. package/dist/docs-site/docs/desktop-ci/index.html +15 -5
  24. package/dist/docs-site/docs/docs-tabs.js +56 -0
  25. package/dist/docs-site/docs/evidence/index.html +50 -49
  26. package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
  27. package/dist/docs-site/docs/get-started/index.html +464 -168
  28. package/dist/docs-site/docs/graphify/index.html +8 -7
  29. package/dist/docs-site/docs/guardrails/index.html +20 -4
  30. package/dist/docs-site/docs/index.html +4 -3
  31. package/dist/docs-site/docs/mobile/index.html +96 -76
  32. package/dist/docs-site/docs/model-routing/index.html +44 -18
  33. package/dist/docs-site/docs/overview/index.html +23 -7
  34. package/dist/docs-site/docs/product-graph/index.html +13 -12
  35. package/dist/docs-site/docs/product-knowledge/index.html +16 -5
  36. package/dist/docs-site/docs/product-views/index.html +7 -6
  37. package/dist/docs-site/docs/reference/index.html +95 -65
  38. package/dist/docs-site/docs/search.js +1 -1
  39. package/dist/docs-site/docs/using/index.html +444 -126
  40. package/dist/docs-site/docs/web-app/index.html +54 -51
  41. package/dist/forgeqe.js +1822 -1822
  42. package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
  43. package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
  44. package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
  45. package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
  46. package/dist/web/assets/Chat-DnBUm_97.js +3 -0
  47. package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
  48. package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
  49. package/dist/web/assets/Cost-CWrc4McH.js +1 -0
  50. package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
  51. package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
  52. package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
  53. package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
  54. package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
  55. package/dist/web/assets/Features-haQchkhA.js +1 -0
  56. package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
  57. package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
  58. package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
  59. package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
  60. package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
  61. package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
  62. package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
  63. package/dist/web/assets/Product-BQSiR28a.js +7 -0
  64. package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
  65. package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
  66. package/dist/web/assets/Readiness-CkknP87n.js +1 -0
  67. package/dist/web/assets/Record-09IsC9U-.js +1 -0
  68. package/dist/web/assets/Regression-BL4MfN47.js +5 -0
  69. package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
  70. package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
  71. package/dist/web/assets/Response-DTBFBeKB.js +9 -0
  72. package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
  73. package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
  74. package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
  75. package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
  76. package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
  77. package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
  78. package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
  79. package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
  80. package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
  81. package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
  82. package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
  83. package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
  84. package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
  85. package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
  86. package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
  87. package/dist/web/assets/filters-C7phIFfd.js +1 -0
  88. package/dist/web/assets/fold-i73P-EDV.js +1 -0
  89. package/dist/web/assets/head-BtTqyLlj.js +1 -0
  90. package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
  91. package/dist/web/assets/index-ClFOh63x.css +2 -0
  92. package/dist/web/assets/index-YGWJEkAT.js +64 -0
  93. package/dist/web/assets/input-C2vQ9O3a.js +1 -0
  94. package/dist/web/assets/logos-BmbNTDu2.js +1 -0
  95. package/dist/web/assets/palette-XFlqvgZl.js +1 -0
  96. package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
  97. package/dist/web/assets/parts-DEVx2Sea.js +1 -0
  98. package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
  99. package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
  100. package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
  101. package/dist/web/assets/route-Dg53WdFu.js +1 -0
  102. package/dist/web/index.html +6 -7
  103. package/docs/ARCHITECTURE.md +50 -563
  104. package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
  105. package/docs/CONTAINERS.md +87 -87
  106. package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
  107. package/docs/DESKTOP-CI.md +18 -3
  108. package/docs/DESKTOP.md +298 -297
  109. package/docs/MOBILE.md +103 -71
  110. package/docs/MODEL_ROUTING.md +48 -15
  111. package/docs/WEB_APP.md +49 -44
  112. package/docs/feature-test-prompts.md +29 -16
  113. package/docs/user-guide.html +5263 -2453
  114. package/guardrails/README.md +22 -2
  115. package/knowledge/README.md +15 -2
  116. package/package.json +1 -1
  117. package/prompts/brain.md +1 -0
  118. package/py/forgeqe_engine/recordsession.py +100 -24
  119. package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
  120. package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
  121. package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
  122. package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
  123. package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
  124. package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
  125. package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
  126. package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
  127. package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
  128. package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
  129. package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
  130. package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
  131. package/dist/web/assets/Features-CQzNo_WP.js +0 -1
  132. package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
  133. package/dist/web/assets/Impact-CfccsL_k.js +0 -3
  134. package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
  135. package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
  136. package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
  137. package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
  138. package/dist/web/assets/Product-nYV_scOV.js +0 -7
  139. package/dist/web/assets/Production-CGSbEWVa.js +0 -1
  140. package/dist/web/assets/Quality-BIypojZm.js +0 -1
  141. package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
  142. package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
  143. package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
  144. package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
  145. package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
  146. package/dist/web/assets/Response-mhBThq2b.js +0 -9
  147. package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
  148. package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
  149. package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
  150. package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
  151. package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
  152. package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
  153. package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
  154. package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
  155. package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
  156. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
  157. package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
  158. package/dist/web/assets/filters-CnAMr286.js +0 -1
  159. package/dist/web/assets/fold-D_O_VZui.js +0 -1
  160. package/dist/web/assets/head-CRo48rPt.js +0 -1
  161. package/dist/web/assets/index-B3JsM7tv.js +0 -64
  162. package/dist/web/assets/index-CafApcbZ.css +0 -2
  163. package/dist/web/assets/input-CtzK50ZF.js +0 -1
  164. package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
  165. package/dist/web/assets/logos-D4oVWzqa.js +0 -1
  166. package/dist/web/assets/palette-DAaGSao7.js +0 -1
  167. package/dist/web/assets/parts-D357Wolo.js +0 -1
  168. package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
  169. package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
  170. package/dist/web/assets/route-BloYJWgw.js +0 -1
@@ -11,6 +11,7 @@
11
11
  <link rel="stylesheet" href="../docs.css">
12
12
  <script src="../search.js" defer></script>
13
13
  <script src="../docs.js" defer></script>
14
+ <script src="../docs-tabs.js" defer></script>
14
15
  <link rel="stylesheet" href="../../app-look.css">
15
16
  <link rel="stylesheet" href="../app-theme.css">
16
17
  </head>
@@ -112,91 +113,124 @@
112
113
  <div class="container docs-layout">
113
114
  <nav class="docs-side" aria-label="Docs">
114
115
  <a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
115
- <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="index.html" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="index.html" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
117
  </nav>
117
118
  <main id="main" class="docs-main guide chapter-page">
118
119
  <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Desktop and mobile</p>
119
- <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="index.html" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-desktop-apps">Automate Windows desktop apps</a></li><li><a href="#doc-how_to_use-desktop-apps-windows">Desktop apps (Windows)</a></li><li><a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">ForgeQE desktop: thick-client automation</a></li><li><a href="#doc-docs-desktop-use">Use</a></li><li><a href="#doc-docs-desktop-how-a-run-flows">How a run flows</a></li><li><a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">Replay on agent-desktop (macOS, Linux, and headless Windows)</a></li><li><a href="#doc-docs-desktop-one-model-config-llmsjson--ufo">One model config: llms.json → UFO</a></li><li><a href="#doc-docs-desktop-workflow-yaml-forgeqe-desktop-v1">Workflow YAML (forgeqe-desktop-v1)</a></li><li><a href="#doc-docs-desktop-recording-by-hand">Recording by hand</a></li><li><a href="#doc-docs-desktop-reviewing-a-recording-web-app">Reviewing a recording (web app)</a></li><li><a href="#doc-docs-desktop-fixing-a-workflow-from-chat">Fixing a workflow from chat</a></li><li><a href="#doc-docs-desktop-waits-retries-and-dialogs">Waits, retries and dialogs</a></li><li><a href="#doc-docs-desktop-visual-checks-expect_image">Visual checks (expect_image)</a></li><li><a href="#doc-docs-desktop-unattended-runs">Unattended runs</a></li><li><a href="#doc-docs-desktop-updating-ufo²">Updating UFO²</a></li><li><a href="#doc-docs-desktop-checks-of-the-outcome">Checks of the outcome</a></li><li><a href="#doc-docs-desktop-recording">Recording</a></li><li><a href="#doc-docs-desktop-security">Security</a></li><li><a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a></li><li><a href="#doc-docs-desktop-next-steps">Next steps</a></li><li><a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">Running desktop workflows unattended (nightly CI)</a></li><li><a href="#doc-docs-desktop-ci-what-breaks-a-desktop-run-and-how-forgeqe-tells-you">What breaks a desktop run, and how ForgeQE tells you</a></li><li><a href="#doc-docs-desktop-ci-set-up-the-test-machine">Set up the test machine</a></li><li><a href="#doc-docs-desktop-ci-the-nightly-job">The nightly job</a></li></ul></nav></details></div>
120
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="index.html" aria-current="page"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-desktop-apps">Automate Windows desktop apps</a></li><li><a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">ForgeQE desktop: thick-client automation</a></li><li><a href="#doc-docs-desktop-use">Use</a></li><li><a href="#doc-docs-desktop-how-a-run-flows">How a run flows</a></li><li><a href="#doc-docs-desktop-replay-on-macos-linux-and-headless-windows">Replay on macOS, Linux, and headless Windows</a></li><li><a href="#doc-docs-desktop-the-model-explore-and-healing-use">The model explore and healing use</a></li><li><a href="#doc-docs-desktop-workflow-yaml-forgeqe-desktop-v1">Workflow YAML (forgeqe-desktop-v1)</a></li><li><a href="#doc-docs-desktop-recording-by-hand">Recording by hand</a></li><li><a href="#doc-docs-desktop-reviewing-a-recording-web-app">Reviewing a recording (web app)</a></li><li><a href="#doc-docs-desktop-fixing-a-workflow-from-chat">Fixing a workflow from chat</a></li><li><a href="#doc-docs-desktop-waits-retries-and-dialogs">Waits, retries and dialogs</a></li><li><a href="#doc-docs-desktop-visual-checks-expect_image">Visual checks (expect_image)</a></li><li><a href="#doc-docs-desktop-unattended-runs">Unattended runs</a></li><li><a href="#doc-docs-desktop-checks-of-the-outcome">Checks of the outcome</a></li><li><a href="#doc-docs-desktop-what-an-explore-records">What an explore records</a></li><li><a href="#doc-docs-desktop-security">Security</a></li><li><a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a></li><li><a href="#doc-docs-desktop-next-steps">Next steps</a></li><li><a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">Running desktop workflows unattended (nightly CI)</a></li><li><a href="#doc-docs-desktop-ci-what-breaks-a-desktop-run-and-how-forgeqe-tells-you">What breaks a desktop run, and how ForgeQE tells you</a></li><li><a href="#doc-docs-desktop-ci-set-up-the-test-machine">Set up the test machine</a></li><li><a href="#doc-docs-desktop-ci-the-nightly-job">The nightly job</a></li></ul></nav></details></div>
120
121
  <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-desktop"/></svg>Desktop apps</h1>
121
122
  <p class="guide-lead">Windows thick-client apps: explore a goal, record by hand, replay the saved workflow</p>
122
123
  <article class="spec feat" id="cap-desktop-apps">
123
124
  <div class="hd"><span class="mono">Desktop</span><h3>Automate Windows desktop apps</h3></div>
124
- <p class="ds">Carries out a plain-language goal in a Windows thick-client app with UFO² and saves it as a workflow with checks of the outcome, or records the steps a tester does by hand, with no model; replays saved workflows with no model, healing a step whose control moved, and fixes a workflow from chat (a timeout, a wait, a dialog to dismiss) after showing the change. Apps and the secrets they may type come from env.yaml or forgeqe.yaml desktop:.</p>
125
+ <p class="ds">Carries out a plain-language goal in a Windows thick-client app, with ForgeQE's agent working the live app, and saves it as a workflow with checks of the outcome, or records the steps a tester does by hand, with no model; replays saved workflows with no model, healing a step whose control moved, and fixes a workflow from chat (a timeout, a wait, a dialog to dismiss) after showing the change. Apps and the secrets they may type come from env.yaml or forgeqe.yaml desktop:.</p>
125
126
  <div class="facts">
126
127
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Create an invoice for Contoso in the Billing app and save it as a test</li><li>I'll show you the steps in Billing: record them</li><li>Replay the billing workflow with customer Fabrikam</li><li>Step 4 timed out while the list loaded: fix the workflow</li></ul></div>
127
128
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li><li><span class="need req">Required</span><span>Windows desktop apps: env.yaml (kind: desktop) or desktop.apps in forgeqe.yaml</span></li><li><span class="need input">You give</span><span>a Windows machine, and the app in forgeqe.yaml desktop.apps</span></li></ul></div>
128
129
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Windows only, one run at a time per desktop</li><li>Apps whose controls UI Automation cannot see (Citrix, some Java and custom-drawn apps) are not supported yet</li></ul></div>
129
130
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>desktop_explore</code> <code>desktop_record</code> <code>desktop_replay</code> <code>desktop_edit_workflow</code> <code>desktop_manage</code></p></div>
130
131
  </div>
131
- <div class="detail"><span class="mono">In detail</span>
132
- <section class="doc" id="doc-how_to_use-desktop-apps-windows">
132
+
133
+ </article>
134
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-desktop-apps-windows">
133
135
  <h4>Desktop apps (Windows)</h4>
134
- <div class="prose"><p>ForgeQE also automates Windows thick-client apps (Win32, WinForms, WPF). In the shell, ask for a goal in the app
135
- (&quot;create an invoice for Contoso in Billing&quot;) and ForgeQE's agent uses UFO² to do it, saves the run as a workflow with
136
- checks of the outcome, and can replay it with no model. The same from the command line:</p>
137
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop setup --ufo
136
+ <div class="prose"><p>ForgeQE also automates Windows thick-client apps (Win32, WinForms, WPF). Ask for a goal in the app (&quot;create an invoice for Contoso in Billing&quot;): ForgeQE's agent does it in the app, saves the run as a workflow with checks of the outcome, and can replay it with no model. Or do the steps yourself and they are saved as a workflow, with no model.</p>
137
+ <ul>
138
+ <li><strong>Where it runs.</strong> Exploring and recording run on Windows. A saved workflow also replays on macOS and Linux, where it acts through accessibility calls with no mouse or focus. See <a href="#doc-docs-desktop-replay-on-macos-linux-and-headless-windows">docs/DESKTOP.md</a>.</li>
139
+ <li><strong>Apps</strong> come from <code>desktop.apps</code> in forgeqe.yaml (an absolute <code>.exe</code> and an argument list), or an environment's desktop apps. <code>{{secret:NAME}}</code> reads only the variables listed in <code>desktop.secrets</code>.</li>
140
+ <li><strong>It takes over the desktop.</strong> Explore and replay take over the desktop's mouse and keyboard, and ask first. Use a test machine and a test account.</li>
141
+ </ul>
142
+ <p><strong>Setting up, exploring and recording.</strong></p>
143
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
144
+ <ol>
145
+ <li>Open <strong>Desktop apps</strong> (Quality Engineering › Automation). If the desktop engine is not set up, press <strong>Set up</strong>. <strong>Check</strong> says whether replay can run here unattended. <strong>Add an app</strong> adds one by its program on this computer.</li>
146
+ <li>To explore: press <strong>Explore a goal</strong>, pick the <strong>App</strong>, write the <strong>Goal</strong> (one line, as you would ask a tester) and optionally a <strong>Name</strong>, then press <strong>Start exploring</strong>.</li>
147
+ <li>To record by hand: pick the app and press <strong>Record by hand</strong> (or open <strong>Record</strong> and pick <strong>Desktop app</strong>). Do the steps, then <strong>Stop</strong>.</li>
148
+ <li>A recording opens in a review: steps with their pictures (click a control to add a check), changes to a step, checks, waits and keys added after one, where each typed value comes from, and <strong>Replay</strong> with no model (<a href="#doc-docs-desktop-reviewing-a-recording-web-app">docs/DESKTOP.md</a>).</li>
149
+ </ol>
150
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
151
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --ufo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> set up, with exploring and recording on Windows
138
152
  </span></span><span class="ln"><span class="cmd">forgeqe desktop explore &quot;Create an invoice for Contoso, net 30&quot; --app billing
139
153
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop record --app billing</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or do the steps yourself; no model
140
- </span></span><span class="ln"><span class="cmd">forgeqe desktop replay &lt;run folder&gt;/workflow.yaml customer=Fabrikam
154
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> can this machine replay unattended?
155
+ </span></span></code></pre></div>
156
+ <p>While recording by hand from a terminal (or &quot;I'll show you, record it&quot; in the shell), Ctrl+Shift+F11 over a control adds a check of its text, and Ctrl+Shift+F12 finishes.</p>
157
+ </div></div><p><strong>Replaying a workflow.</strong></p>
158
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
159
+ <ol>
160
+ <li>Open <strong>Desktop apps</strong>.</li>
161
+ <li>Press <strong>Replay</strong> on a workflow. Pick the values (<strong>Once, with the values above</strong>, or each row of a data file or kept request), and whether to heal moved controls while it runs.</li>
162
+ </ol>
163
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
164
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop replay &lt;run folder&gt;/workflow.yaml customer=Fabrikam
141
165
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --data customers.csv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once per row; columns are variable names
142
166
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay desktop-tests/ --junit results.xml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every workflow in a folder, results for CI
143
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> can this machine replay unattended?
144
167
  </span></span></code></pre></div>
145
- <p>Explore and recording run on Windows. A saved workflow also replays on macOS and Linux, on agent-desktop (the default
146
- there; <code>forgeqe desktop setup</code> installs it), and on Windows with <code>desktop.driver: agent-desktop</code>: it acts through
147
- accessibility calls, with no mouse or focus. See
148
- <a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">docs/DESKTOP.md</a>. In <code>forgeqe web</code>,
149
- Record → <strong>Desktop app</strong> records on Windows, and a recording opens in a review: steps with their pictures (click a
150
- control to add a check), changes to a step, checks, waits and keys added after one, where each typed value comes from,
151
- and <strong>Replay</strong> with no model (<a href="#doc-docs-desktop-reviewing-a-recording-web-app">docs/DESKTOP.md</a>).</p>
152
- <p>Workflows wait for slow apps without fixed sleeps: a <code>timeout</code> and <code>retries</code> for the workflow or a step, <code>wait_for</code> a
153
- control to appear, show a text or go away (a splash screen), and a <code>dismiss</code> list of dialog buttons to click whenever
154
- they are in the way. <code>expect_image</code> compares a control or window with a baseline image (saved on the first run, kept
155
- next to the workflow), with a tolerance and regions to ignore. When you know the steps, <code>forgeqe desktop record</code> (or
156
- &quot;I'll show you, record it&quot; in the shell) saves what you do by hand: Ctrl+Shift+F11 over a control adds a check of its
157
- text, Ctrl+Shift+F12 finishes. After a failed replay, ForgeQE's agent can fix the workflow (a longer timeout, a
158
- <code>wait_for</code>, a dialog to dismiss): it shows the diff and writes it only when you agree. For nightly runs on a machine
159
- of your own, see <a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">docs/DESKTOP-CI.md</a>.</p>
160
- <p>Apps come from <code>desktop.apps</code> in forgeqe.yaml (an absolute <code>.exe</code> and an argument list), and <code>{{secret:NAME}}</code> reads
161
- only the variables listed in <code>desktop.secrets</code>. Explore and replay take over the desktop's mouse and keyboard and ask
162
- first; use a test machine and a test account. Details: <a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">docs/DESKTOP.md</a>.</p>
163
- <p>Workflows replay with <code>desktop.driver</code>: <code>auto</code> (the default) uses pywinauto on Windows and agent-desktop elsewhere (macOS, Linux), or name <code>pywinauto</code> or <code>agent-desktop</code>. agent-desktop does not use the mouse and keyboard unless <code>desktop.headed: true</code> (a double-click needs it). <code>desktop.video: false</code> stops the <code>video.mp4</code> each run keeps.</p>
168
+ </div></div><p><strong>Workflows wait for slow apps</strong> without fixed sleeps:</p>
169
+ <ul>
170
+ <li>a <code>timeout</code> and <code>retries</code> for the workflow or a step;</li>
171
+ <li><code>wait_for</code> a control to appear, show a text or go away (a splash screen);</li>
172
+ <li>a <code>dismiss</code> list of dialog buttons to click whenever they are in the way;</li>
173
+ <li><code>expect_image</code> compares a control or window with a baseline image (saved on the first run, kept next to the workflow), with a tolerance and regions to ignore.</li>
174
+ </ul>
175
+ <p><strong>After a failed replay,</strong> ForgeQE's agent can fix the workflow (a longer timeout, a <code>wait_for</code>, a dialog to dismiss). It shows the diff and writes it only when you agree. For nightly runs on a machine of your own, see <a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">docs/DESKTOP-CI.md</a>.</p>
176
+ <p><strong>Replay settings</strong> (<strong>Settings › Desktop</strong>). <code>desktop.driver: auto</code> (the default) picks how a workflow replays for the system it is on; <code>pywinauto</code> or <code>agent-desktop</code> names one. With <code>agent-desktop</code>, the mouse and keyboard are not used unless <code>desktop.headed: true</code> (a double-click needs it). <code>desktop.video: false</code> stops the <code>video.mp4</code> each run keeps. Details: <a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">docs/DESKTOP.md</a>.</p>
164
177
  </div>
165
178
  </section>
166
179
  <section class="doc" id="doc-docs-desktop-forgeqe-desktop-thick-client-automation">
167
180
  <h4>ForgeQE desktop: thick-client automation</h4>
168
- <div class="prose"><p>Status: runs on Windows. The live tests there install the engine and the pinned UFO², replay Notepad with the
169
- pywinauto driver and through <code>forgeqe desktop replay</code>, heal a moved control from the live window, and run a whole
170
- explore: UFO² drives Notepad with a scripted model behind an OpenAI-compatible server, the action is recorded with the
171
- control's AutomationId, and the recording replays. Not yet run: explore with a real model, and your own apps. See
181
+ <div class="prose"><p>ForgeQE tests web apps in Chrome. It tests desktop thick clients the same way: Win32, WinForms, WPF, and the native parts
182
+ of Electron and WebView2 apps. Say what you want in plain language, ForgeQE's agent does it in the live app, and the run
183
+ is saved as a YAML workflow that replays later with no model.</p>
184
+ <div class="tbl tbl--cols-4"><table>
185
+ <thead>
186
+ <tr><th>Task</th><th>Windows</th><th>macOS</th><th>Linux</th></tr>
187
+ </thead>
188
+ <tbody>
189
+ <tr><td data-label="Task">Explore a goal with the agent</td><td data-label="Windows">yes</td><td data-label="macOS">no</td><td data-label="Linux">no</td></tr>
190
+ <tr><td data-label="Task">Record your own steps</td><td data-label="Windows">yes</td><td data-label="macOS">no</td><td data-label="Linux">no</td></tr>
191
+ <tr><td data-label="Task">Replay a workflow</td><td data-label="Windows">yes (also headless)</td><td data-label="macOS">yes, macOS 13+</td><td data-label="Linux">yes, Ubuntu 24.04+ (X11 or Wayland)</td></tr>
192
+ <tr><td data-label="Task">Check a workflow without running it</td><td data-label="Windows">yes</td><td data-label="macOS">yes</td><td data-label="Linux">yes</td></tr>
193
+ </tbody>
194
+ </table></div>
195
+ <p>Status: the Windows runs are tested end to end (setup, replay, healing a moved control, and a whole explore with a
196
+ scripted model). Not yet run by the ForgeQE team: explore with a real model, and your own apps. See
172
197
  <a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a>.</p>
173
- <p>ForgeQE drives web apps through Chrome. The desktop engine does the same for Windows thick clients (Win32, WinForms,
174
- WPF, and the native parts of Electron and WebView2 apps): say what you want in plain language, UFO² does it on the live
175
- app, and the run is saved as a YAML workflow that replays later without a model.</p>
176
- <p>Workflows also replay on <strong>macOS and Linux</strong>, and headless on Windows, on Vercel Labs' agent-desktop. See
177
- <a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">Replay on agent-desktop</a>. Exploring and recording by hand
178
- still need Windows.</p>
179
198
  </div>
180
199
  </section>
181
200
  <section class="doc" id="doc-docs-desktop-use">
182
201
  <h4>Use</h4>
183
- <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --ufo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once, on Windows: the engine, pywinauto, and the pinned UFO²
184
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop apps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what forgeqe.yaml allows
185
- </span></span><span class="ln"><span class="cmd">forgeqe desktop explore &quot;Create an invoice for Contoso, net 30&quot; --app billing
186
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop record --app billing</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or do the steps yourself: no model, no UFO
187
- </span></span><span class="ln"><span class="cmd">forgeqe desktop replay .forgeqe/reports/desktop-explore-…/workflow.yaml customer=Fabrikam
188
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --data customers.csv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once per row; the header names the variables
189
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay desktop-tests/ --junit results.xml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every workflow in a folder, results for CI
190
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --update-baselines</span><span class="pad"> </span><span class="cm"><span class="h">#</span> save new baselines for its expect_image steps
191
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> can this machine run replay unattended?
192
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop validate workflow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> any OS
202
+ <div class="prose"><p><strong>Setting up.</strong> Once per computer, ForgeQE downloads and sets up what desktop testing needs. On Windows, include the
203
+ part for exploring a goal. Off Windows, setup always includes the replay part for macOS and Linux.</p>
204
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
205
+ <ol>
206
+ <li>Open <strong>Desktop apps</strong> and the <strong>Machine and apps</strong> tab.</li>
207
+ <li>Press <strong>Set up</strong>.</li>
208
+ <li>On Windows, turn on the switch for exploring a goal if you will explore. Turn on <strong>Set it up again from scratch</strong> to
209
+ start over.</li>
210
+ <li>Press <strong>Set up</strong>.</li>
211
+ </ol>
212
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
213
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --ufo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Windows: replay, recording, and exploring a goal
214
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off Windows: replay for macOS and Linux
215
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --agent-desktop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Windows, to also replay headless (no mouse)
216
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --force</span><span class="pad"> </span><span class="cm"><span class="h">#</span> set it up again from scratch
217
+ </span></span></code></pre></div>
218
+ </div></div><p><strong>Adding an app.</strong> Desktop apps come from the active environment in <code>env.yaml</code> (see HOW_TO_USE.md, &quot;Environments and
219
+ apps&quot;), or from <code>desktop.apps</code> in <code>forgeqe.yaml</code>, which works without environments. A workflow names an app only by its
220
+ name, never by a path or a command.</p>
221
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
222
+ <ol>
223
+ <li>Open <strong>Desktop apps</strong> and the <strong>Machine and apps</strong> tab.</li>
224
+ <li>Press <strong>Add an app</strong>.</li>
225
+ <li>Fill in <strong>Program</strong> (type its path, or press <strong>Browse…</strong>), <strong>Arguments</strong> (optional), <strong>Name</strong>, and <strong>What it is for</strong>
226
+ (optional: one line the agent reads to pick the app).</li>
227
+ <li>Press <strong>Add the app</strong>.</li>
228
+ </ol>
229
+ <p>Each app in the list has <strong>Change</strong> and <strong>Remove</strong> buttons. You can also add apps in <strong>Settings › Environments</strong>.</p>
230
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
231
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop apps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the apps and secrets of the active environment and desktop:
193
232
  </span></span></code></pre></div>
194
- <p>Or ask ForgeQE's agent in the shell or <code>forgeqe run</code>: &quot;create an invoice for Contoso in Billing and save it as a test&quot;,
195
- or &quot;I'll show you the steps in Billing, record them&quot;. Its tools are <code>test_apps</code>, <code>desktop_explore</code>, <code>desktop_record</code>,
196
- <code>desktop_replay</code> and <code>desktop_edit_workflow</code>. It asks before it starts the app or takes over the desktop, and before it
197
- changes a workflow. Where it cannot ask (an MCP client), the call answers <code>needs_confirmation</code> until the user agrees.</p>
198
- <p>Desktop apps come from the active environment in <code>env.yaml</code> (see HOW_TO_USE.md, &quot;Environments and apps&quot;), or from
199
- <code>desktop.apps</code> in <code>forgeqe.yaml</code>, which works without environments:</p>
233
+ <p>Edit <code>forgeqe.yaml</code> (or <code>env.yaml</code>) to add one:</p>
200
234
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">desktop:
201
235
  </span></span><span class="ln"><span class="cmd"> apps:
202
236
  </span></span><span class="ln"><span class="cmd"> billing:
@@ -207,112 +241,155 @@ changes a workflow. Where it cannot ask (an MCP client), the call answers <code>
207
241
  </span></span><span class="ln ln--pair"><span class="cmd"> heal: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> replay asks the model to re-find a control that moved (default on)
208
242
  </span></span><span class="ln ln--pair"><span class="cmd"> screenshots: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one screenshot per replayed step (default on)
209
243
  </span></span></code></pre></div>
210
- <p>Each run writes a folder under the reports folder (<code>desktop-explore-…</code> or <code>desktop-replay-…</code>): <code>run.json</code>,
211
- <code>report.html</code>, <code>steps/NNN.png</code>, and for explore <code>workflow.yaml</code>, <code>trace.json</code> and UFO's own logs in <code>ufo/</code>. A replay
212
- whose steps were healed also writes <code>heals.json</code> and asks whether to write the new locators into the workflow
213
- (<code>--accept-heals</code> writes them without asking; with no terminal they are never written).</p>
244
+ <p>An app is an absolute <code>.exe</code> on Windows, an <code>.app</code> bundle on macOS (<code>/Applications/Notes.app</code>), or an executable on
245
+ Linux (<code>/usr/bin/gnome-calculator</code>, with <code>kind: desktop</code>).</p>
246
+ </div></div><p><strong>Exploring a goal.</strong> ForgeQE's agent does the goal in the app with the real mouse and keyboard, and saves the run as a
247
+ workflow with checks of the outcome. Windows only. Use a test machine or VM and a test account.</p>
248
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
249
+ <ol>
250
+ <li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
251
+ <li>Press <strong>Explore a goal</strong>.</li>
252
+ <li>Pick the <strong>App</strong>, type the <strong>Goal</strong> (one line, as you would ask a tester) and, optionally, a <strong>Name</strong>.</li>
253
+ <li>Press <strong>Start exploring</strong>.</li>
254
+ </ol>
255
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
256
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop explore &quot;Create an invoice for Contoso, net 30&quot; --app billing
257
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop explore &quot;…&quot; --app billing --name &quot;Create an invoice&quot; --yes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> --yes: start without asking
258
+ </span></span></code></pre></div>
259
+ </div></div><p><strong>Recording your own steps.</strong> When you know the steps, do them yourself: no model is used, so it costs nothing and does
260
+ exactly what you did. Windows only. See <a href="#doc-docs-desktop-recording-by-hand">Recording by hand</a>.</p>
261
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
262
+ <ol>
263
+ <li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
264
+ <li>Pick the app (when there are several) and press <strong>Record by hand</strong>.</li>
265
+ </ol>
266
+ <p>Or open <strong>Record</strong>, pick <strong>Desktop app</strong>, pick the app and press <strong>Record</strong>. Press <strong>Stop</strong> when done.</p>
267
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
268
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop record --app billing --name &quot;Create an invoice&quot;
269
+ </span></span></code></pre></div>
270
+ </div></div><p><strong>Replaying a workflow.</strong> Replay runs the steps with no model and checks its <code>expect</code> steps. On Windows it takes over the
271
+ mouse and keyboard while it runs.</p>
272
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
273
+ <ol>
274
+ <li>Open <strong>Desktop apps</strong> and the <strong>Workflows</strong> tab.</li>
275
+ <li>Press the replay button on the workflow's row.</li>
276
+ <li>Fill in its <strong>Values</strong>, or pick <strong>Rows</strong> under <strong>Test data</strong> to replay once per row of a data file or kept request.</li>
277
+ <li>Under <strong>While it runs</strong>, choose <strong>Heal a step whose control moved</strong> and <strong>Take new image baselines</strong>.</li>
278
+ <li>Press <strong>Replay</strong>.</li>
279
+ </ol>
280
+ <p>The <strong>Runs</strong> tab lists each run with its <strong>Report</strong>. Its <strong>Failed</strong> filter shows failed runs, and a button on each asks
281
+ the agent why it failed.</p>
282
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
283
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop replay .forgeqe/reports/desktop-explore-…/workflow.yaml customer=Fabrikam
284
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --data customers.csv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once per row; the header names the variables
285
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay desktop-tests/ --junit results.xml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every workflow in a folder, results for CI
286
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --update-baselines</span><span class="pad"> </span><span class="cm"><span class="h">#</span> save new baselines for its expect_image steps
287
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop replay workflow.yaml --no-heal</span><span class="pad"> </span><span class="cm"><span class="h">#</span> do not heal a moved control
288
+ </span></span></code></pre></div>
289
+ <p><code>--data</code> takes a <code>.csv</code>, <code>.xlsx</code> or <code>.json</code> file; <code>--each-query q.sql --each-db NAME</code> takes the rows from a database
290
+ read instead.</p>
291
+ </div></div><p><strong>Accepting heals.</strong> When a control moved and replay found it again, the replay asks whether to write the new locator
292
+ into the workflow. Heals are offered only from a replay that passed.</p>
293
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
294
+ <ol>
295
+ <li>Open <strong>Desktop apps</strong> and the <strong>Runs</strong> tab (the <strong>Heals to accept</strong> filter lists them).</li>
296
+ <li>Press <strong>Accept</strong> on the run.</li>
297
+ </ol>
298
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
299
+ <p>At the end of the replay, answer the question. <code>--accept-heals</code> writes them without asking. With no terminal they are
300
+ never written.</p>
301
+ </div></div><p><strong>Checking a workflow or a machine.</strong> A workflow can be checked without running it, on any system. The machine check
302
+ says whether replay can run here unattended.</p>
303
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
304
+ <ol>
305
+ <li>To check a workflow: on the <strong>Workflows</strong> tab, press the check button on its row.</li>
306
+ <li>To check the machine: on the <strong>Machine and apps</strong> tab, press <strong>Check</strong>.</li>
307
+ </ol>
308
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
309
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop validate workflow.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> any system
310
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> can this machine replay unattended?
311
+ </span></span></code></pre></div>
312
+ </div></div><p><strong>Asking the agent.</strong> In a chat (the web app's <strong>New chat</strong>, <code>forgeqe start</code> or <code>forgeqe run</code>), ask: &quot;create an invoice
313
+ for Contoso in Billing and save it as a test&quot;, or &quot;I'll show you the steps in Billing, record them&quot;. The agent asks
314
+ before it starts the app or takes over the desktop, and before it changes a workflow. Where it cannot ask (an MCP
315
+ client), the call answers <code>needs_confirmation</code> until you agree.</p>
316
+ <p><strong>What a run keeps.</strong> Each run writes a folder under the reports folder (<code>desktop-explore-…</code> or <code>desktop-replay-…</code>):
317
+ <code>run.json</code>, <code>report.html</code>, <code>steps/NNN.png</code>, and for an explore <code>workflow.yaml</code> and <code>trace.json</code>. A replay whose steps
318
+ were healed also writes <code>heals.json</code>.</p>
214
319
  </div>
215
320
  </section>
216
321
  <section class="doc" id="doc-docs-desktop-how-a-run-flows">
217
322
  <h4>How a run flows</h4>
218
- <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop explore ──► src/desktop/bridge.ts ──JSON lines──► python -m forgeqe_desktop serve
219
- </span></span><span class="ln"><span class="cmd"> │ start the app from desktop.apps (no shell)
220
- </span></span><span class="ln"><span class="cmd"> │ UFO² in-process: model = llms.json profile,
221
- </span></span><span class="ln"><span class="cmd"> │ UI tools only, every action traced with its
222
- </span></span><span class="ln"><span class="cmd"> ▼ control's UIA properties
223
- </span></span><span class="ln"><span class="cmd"> record.py ──► workflow.yaml
224
- </span></span><span class="ln"><span class="cmd">forgeqe desktop replay ───► bridge ──► serve (replay.py on pywinauto, no model)
225
- </span></span><span class="ln"><span class="cmd"> │ a control is not found
226
- </span></span><span class="ln"><span class="cmd"> ▼
227
- </span></span><span class="ln"><span class="cmd"> heal.py: the model picks one of the window's real controls, by number
228
- </span></span><span class="ln"><span class="cmd"> ▼
229
- </span></span><span class="ln"><span class="cmd"> proposed locator → heals.json, written into the workflow only when accepted
230
- </span></span></code></pre></div>
323
+ <div class="prose"><ol>
324
+ <li><strong>Explore:</strong> ForgeQE starts the app from its entry in your settings (never through a shell). The agent does the goal
325
+ with the app's controls only, and every action is kept with the control's properties. The result is <code>workflow.yaml</code>.</li>
326
+ <li><strong>Replay:</strong> ForgeQE plays the workflow's steps with no model.</li>
327
+ <li><strong>Healing:</strong> when a step's control is not found, one model call picks one of the window's real controls, by number.
328
+ The proposed locator goes to <code>heals.json</code> and is written into the workflow only when you accept it.</li>
329
+ </ol>
231
330
  </div>
232
331
  </section>
233
- <section class="doc" id="doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">
234
- <h4>Replay on agent-desktop (macOS, Linux, and headless Windows)</h4>
235
- <div class="prose"><p><code>desktop.driver</code> picks what a workflow replays on:</p>
332
+ <section class="doc" id="doc-docs-desktop-replay-on-macos-linux-and-headless-windows">
333
+ <h4>Replay on macOS, Linux, and headless Windows</h4>
334
+ <div class="prose"><p><code>desktop.driver</code> sets how a workflow replays. In the web app it is <strong>Replay on</strong>, in <strong>Settings › Desktop</strong>.</p>
236
335
  <div class="tbl tbl--cols-3"><table>
237
336
  <thead>
238
- <tr><th><code>desktop.driver</code></th><th>Replays on</th><th>Where</th></tr>
337
+ <tr><th><code>desktop.driver</code></th><th>How it replays</th><th>Where</th></tr>
239
338
  </thead>
240
339
  <tbody>
241
- <tr><td data-label="desktop.driver"><code>auto</code> (default)</td><td data-label="Replays on">pywinauto on Windows, agent-desktop elsewhere</td><td data-label="Where">any</td></tr>
242
- <tr><td data-label="desktop.driver"><code>pywinauto</code></td><td data-label="Replays on">pywinauto, with the UIA backend: the mouse and keyboard, like a person</td><td data-label="Where">Windows</td></tr>
243
- <tr><td data-label="desktop.driver"><code>agent-desktop</code></td><td data-label="Replays on"><a href="https://github.com/vercel-labs/agent-desktop" class="ext" rel="noopener">agent-desktop</a> 1.2.0: accessibility calls, no mouse and no focus</td><td data-label="Where">macOS 13+, Windows 10 1809+, Ubuntu 24.04+ (X11 or Wayland)</td></tr>
340
+ <tr><td data-label="desktop.driver"><code>auto</code> (default)</td><td data-label="How it replays">the mouse and keyboard on Windows, accessibility calls elsewhere</td><td data-label="Where">any</td></tr>
341
+ <tr><td data-label="desktop.driver"><code>pywinauto</code></td><td data-label="How it replays">the mouse and keyboard, like a person</td><td data-label="Where">Windows</td></tr>
342
+ <tr><td data-label="desktop.driver"><code>agent-desktop</code></td><td data-label="How it replays">accessibility calls, with no mouse and no focus</td><td data-label="Where">macOS 13+, Windows 10 1809+, Ubuntu 24.04+ (X11 or Wayland)</td></tr>
244
343
  </tbody>
245
344
  </table></div>
246
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off Windows: the engine and agent-desktop 1.2.0
247
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop setup --agent-desktop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> on Windows, to replay on agent-desktop too
248
- </span></span><span class="ln ln--pair"><span class="cmd">forgeqe desktop doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off Windows: agent-desktop's platform and permissions
249
- </span></span><span class="ln"><span class="cmd">forgeqe desktop replay workflow.yaml
250
- </span></span></code></pre></div>
251
- <p>The workflow, its variables, secrets, checks, healing, app memory, reports and <code>--junit</code> are the same on either driver.
252
- A workflow recorded on Windows replays on agent-desktop as it is: its <code>control_type</code> (UI Automation's) is matched to the
253
- roles agent-desktop gives that control (a <code>Button</code> with a toggle is a <code>switch</code>), and <code>automation_id</code> to the control's
254
- developer id (AutomationId, AXIdentifier, or the DOM id). A workflow written for macOS or Linux can name agent-desktop's
255
- roles (<code>textfield</code>, <code>checkbox</code>) as its <code>control_type</code>.</p>
256
- <p>How a step runs: ForgeQE's locator finds the control in a fresh snapshot of the launched app's own windows, and refuses
257
- when several match. agent-desktop then acts on that snapshot's ref, and re-identifies it against the live window first:
258
- an element that changed in between is refused, never guessed. A ref refused with nothing delivered is found again once.
259
- An action that may have landed (a click whose result agent-desktop could not confirm) is never sent again, so a replay
260
- never submits twice.</p>
345
+ <p>In <strong>Settings › Desktop</strong> › <strong>Replay on</strong> the same choices read <strong>Automatic</strong>, <strong>The mouse and keyboard</strong> and
346
+ <strong>Accessibility calls, no mouse</strong>.</p>
347
+ <p>Set up and check the machine as in <a href="#doc-docs-desktop-use">Use</a> (<code>forgeqe desktop setup</code>, then <code>forgeqe desktop doctor</code>, or <strong>Set up</strong>
348
+ and <strong>Check</strong> in the web app). Off Windows, the check also shows the platform and its permissions.</p>
349
+ <p>The workflow, its variables, secrets, checks, healing, app memory, reports and <code>--junit</code> are the same either way. A
350
+ workflow recorded on Windows replays with accessibility calls as it is: its <code>control_type</code> is matched to the roles the
351
+ system gives that control (a <code>Button</code> with a toggle is a <code>switch</code>), and <code>automation_id</code> to the control's developer id
352
+ (AutomationId, AXIdentifier, or the DOM id). A workflow written for macOS or Linux can name those roles (<code>textfield</code>,
353
+ <code>checkbox</code>) as its <code>control_type</code>.</p>
354
+ <p>How a step runs with accessibility calls: the locator finds the control in a fresh snapshot of the app's own windows,
355
+ and refuses when several match. The control is checked again against the live window before the action: one that
356
+ changed in between is refused, never guessed. An action that may have landed (a click whose result could not be
357
+ confirmed) is never sent again, so a replay never submits twice.</p>
261
358
  <p>What it does not do:</p>
262
359
  <ul>
263
- <li><code>double_click</code> moves the mouse: it replays only with <code>desktop.headed: true</code>.</li>
264
- <li><code>keys</code> are real key presses sent to the app's window (agent-desktop's <code>press</code>). A workflow recorded on Windows says
265
- <code>ctrl+s</code>; on macOS write <code>cmd+s</code> instead.</li>
266
- <li>Identical controls (two buttons named OK in one window) have no ref on Windows and Linux. Give the step a control
267
- that is unique in its window.</li>
268
- <li>On macOS, grant Accessibility to the app that runs forgeqe (Terminal, iTerm2, VS Code): <code>forgeqe desktop doctor</code>
269
- shows the state. On Linux, Chromium and Qt apps need their accessibility switched on to be seen (agent-desktop's
270
- Linux guide).</li>
271
- </ul>
272
- <p>Apps in env.yaml or <code>desktop.apps</code>: an absolute <code>.exe</code> on Windows, an <code>.app</code> bundle on macOS (<code>/Applications/Notes.app</code>;
273
- its <code>CFBundleExecutable</code> is started, and only when it is a file inside the bundle), or an executable on Linux
274
- (<code>/usr/bin/gnome-calculator</code>, with <code>kind: desktop</code>).</p>
275
- <p>What reaches agent-desktop (<code>py/forgeqe_desktop/agentdesktop_driver.py</code>):</p>
276
- <ul>
277
- <li>Only its own native executable, set up by ForgeQE at exactly 1.2.0 from npm (whose install step checks the release's
278
- SHA-256), started with an argument array: never its Node launcher, never a shell. The driver checks the version and
279
- refuses another.</li>
280
- <li>Its environment is system settings only: no model key, no <code>desktop.secrets</code>, no ForgeQE variable.</li>
281
- <li>Typed text, secrets included, goes on stdin (<code>set-value --stdin</code>), never in the command line other programs can see.</li>
282
- <li>Refs and window ids only in their own shapes; a <code>select</code> value after <code>--</code>, so it is never read as a flag.</li>
283
- <li>Its state (snapshots hold the app's text) is in a private folder for the run (mode 0700), removed when the run ends.</li>
284
- <li>Its replies are read as untrusted: anything but its JSON envelope, or over 64 MB, is refused, and its error text is
285
- cut to one plain line before it reaches a report or the heal prompt.</li>
360
+ <li><code>double_click</code> moves the mouse: it replays only with <code>desktop.headed: true</code> (<strong>Let replay use the mouse and
361
+ keyboard</strong> in <strong>Settings › Desktop</strong>).</li>
362
+ <li><code>keys</code> are real key presses sent to the app's window. A workflow recorded on Windows says <code>ctrl+s</code>; on macOS write
363
+ <code>cmd+s</code> instead.</li>
364
+ <li>Identical controls (two buttons named OK in one window) cannot be told apart on Windows and Linux. Give the step a
365
+ control that is unique in its window.</li>
366
+ <li>On macOS, grant Accessibility (System Settings › Privacy &amp; Security › Accessibility) to the app that runs forgeqe
367
+ (Terminal, iTerm2, VS Code). <code>forgeqe desktop doctor</code> shows the state. On Linux, Chromium and Qt apps need their
368
+ accessibility switched on to be seen.</li>
286
369
  </ul>
370
+ <p>What ForgeQE keeps safe: typed text, secrets included, never appears on a command line other programs can see; no
371
+ model key or secret reaches the replay's helper; the app's text from each run is kept in a private folder that is
372
+ removed when the run ends.</p>
287
373
  </div>
288
374
  </section>
289
- <section class="doc" id="doc-docs-desktop-one-model-config-llmsjson--ufo">
290
- <h4>One model config: <code>llms.json</code> → UFO</h4>
291
- <div class="prose"><p>UFO picks its model client by <code>API_TYPE</code> through <code>ufo.llm.base.BaseService.get_service</code>, which every model call goes
292
- through (<code>ufo/llm/llm_call.py</code>). The adapter adds the type <code>forgeqe</code>:</p>
293
- <ul>
294
- <li><code>write_ufo_config</code> writes UFO's <code>config/ufo/agents.yaml</code> from its template, with <code>API_TYPE: forgeqe</code>, the model's name,
295
- and no endpoint and no key, for <code>HOST_AGENT</code>, <code>APP_AGENT</code>, <code>BACKUP_AGENT</code> and <code>EVALUATION_AGENT</code>.</li>
296
- <li><code>ufo_bridge.install</code> makes <code>get_service(&quot;forgeqe&quot;, …)</code> return <code>ForgeQEService</code>, which calls the profile through the
297
- <code>openai</code> SDK (<code>models.py</code>): <code>azure</code> (key or <code>auth: entra</code>), <code>openai</code>, <code>openai_compatible</code> (key or Entra), and <code>ollama</code>
298
- through its OpenAI-compatible <code>/v1</code>. Keys, Azure endpoints and Entra use the browser engine's own helpers
299
- (<code>forgeqe_engine.llm</code>), so a profile means the same thing in both. Keys stay in environment variables.</li>
300
- <li>Each call's time and tokens go to ForgeQE's usage ledger as the &quot;desktop agent&quot; (counts only, never the prompt).</li>
301
- </ul>
375
+ <section class="doc" id="doc-docs-desktop-the-model-explore-and-healing-use">
376
+ <h4>The model explore and healing use</h4>
377
+ <div class="prose"><p>Explore and healing use the same model profiles as the browser agent, from <code>llms.json</code> (Settings › Models): Azure
378
+ OpenAI (key or Microsoft Entra ID), OpenAI, an OpenAI-compatible server, or Ollama. There is no separate model setting
379
+ for desktop. Keys stay in environment variables. Each call's time and tokens are counted in ForgeQE's usage (counts
380
+ only, never the prompt).</p>
302
381
  <p>Explore sends screenshots, so its profile must take images: <code>&quot;vision&quot;: true</code> or <code>false</code> on the profile says so; without
303
382
  it, <code>ollama</code> profiles are refused and others accepted. Healing sends a screenshot only to a profile that takes images.</p>
304
- <p>The request parameters suit the model by themselves: a reasoning model (o1, o3, o4, gpt-5, by the profile's <code>model</code> or
305
- <code>deployment</code> name, or <code>&quot;reasoning&quot;: true</code> on the profile) gets <code>max_completion_tokens</code> and no temperature from the first
306
- call, and when the API refuses a parameter (<code>max_tokens</code>, <code>temperature</code>, <code>frequency_penalty</code>, <code>response_format</code>, …) the
307
- call is sent again without it, and later calls to that model leave it out (<code>py/forgeqe_engine/model_params.py</code>). The
308
- browser agent does the same.</p>
383
+ <p>Request parameters suit the model by themselves: a reasoning model (o1, o3, o4, gpt-5, by the profile's <code>model</code> or
384
+ <code>deployment</code> name, or <code>&quot;reasoning&quot;: true</code> on the profile) gets no temperature from the first call, and when the API
385
+ refuses a parameter the call is sent again without it, and later calls to that model leave it out.</p>
309
386
  </div>
310
387
  </section>
311
388
  <section class="doc" id="doc-docs-desktop-workflow-yaml-forgeqe-desktop-v1">
312
389
  <h4>Workflow YAML (<code>forgeqe-desktop-v1</code>)</h4>
313
390
  <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">format: forgeqe-desktop-v1
314
391
  </span></span><span class="ln"><span class="cmd">name: Create an invoice
315
- </span></span><span class="ln ln--pair"><span class="cmd">app: billing</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a name from forgeqe.yaml desktop.apps, never a path or a command
392
+ </span></span><span class="ln ln--pair"><span class="cmd">app: billing</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a name from desktop.apps, never a path or a command
316
393
  </span></span><span class="ln"><span class="cmd">variables:
317
394
  </span></span><span class="ln"><span class="cmd"> customer: Contoso
318
395
  </span></span><span class="ln"><span class="cmd">steps:
@@ -338,38 +415,37 @@ browser agent does the same.</p>
338
415
  <ul>
339
416
  <li><strong>Ops:</strong> <code>launch</code>, <code>click</code>, <code>double_click</code>, <code>type</code>, <code>select</code>, <code>keys</code>, <code>expect</code>, <code>expect_image</code>, <code>wait</code> (at most
340
417
  60 s), <code>wait_for</code>, <code>close</code>.</li>
341
- <li><strong>Locators</strong> use UIA properties, never screen coordinates: <code>automation_id</code>, <code>name</code>, <code>control_type</code>, <code>class_name</code>,
342
- <code>index</code> (when several match), and <code>path</code> (the ancestors' <code>control_type</code> and <code>name</code>). A target needs an
418
+ <li><strong>Locators</strong> use the control's properties, never screen coordinates: <code>automation_id</code>, <code>name</code>, <code>control_type</code>,
419
+ <code>class_name</code>, <code>index</code> (when several match), and <code>path</code> (the ancestors' <code>control_type</code> and <code>name</code>). A target needs an
343
420
  <code>automation_id</code> or a <code>name</code>. Replay looks in the launched app's own windows only.</li>
344
421
  <li><strong>Variables:</strong> <code>{{name}}</code> from the workflow's <code>variables</code> or <code>name=value</code> on the command line; <code>{{secret:NAME}}</code> from
345
422
  the environment, only for names in <code>desktop.secrets</code>. A secret ForgeQE itself uses (a model key, a tracker token) is
346
- refused there. Values are substituted once and never expanded again. Targets take <code>{{name}}</code> too (a CSV row's
423
+ refused there. Values are filled in once and never expanded again. Targets take <code>{{name}}</code> too (a CSV row's
347
424
  <code>{{customer}}</code> as the control to click), never a secret.</li>
348
425
  <li><strong>Keys:</strong> <code>ctrl</code>, <code>shift</code> and <code>alt</code> with one named key or character (<code>ctrl+s</code>, <code>alt+f4</code>, <code>enter</code>, <code>f5</code>). The Windows
349
426
  and context-menu keys are refused: Win+R followed by typing runs any command.</li>
350
- <li><strong>Typing</strong> is literal: pywinauto's key syntax (<code>^</code>, <code>%</code>, <code>+</code>, <code>~</code>, <code>{ENTER}</code>) in the text is escaped. On Windows a
351
- <code>type</code> step clears the field and types the text key by key, like a person: some controls show text set through UI
352
- Automation but act only on typed input (the Windows Save and Open dialogs keep their default file name). Text with
353
- line breaks or tabs is set instead, so a line break never presses Enter in a form.</li>
354
- <li><strong>Only the app gets the input.</strong> pywinauto clicks at screen coordinates and keys go to the window in front, so before
355
- a click, <code>type</code> or <code>keys</code> the app's window is brought forward, and nothing is sent while another program's window
356
- covers the point or keeps the keyboard: the step fails and says so. <code>keys</code> go to the app's open dialog, not its main
357
- window behind it. A <code>dismiss</code> control that could not be clicked is named in the step's error.</li>
427
+ <li><strong>Typing</strong> is literal: special key characters in the text are typed as they are. On Windows a <code>type</code> step clears the
428
+ field and types the text key by key, like a person: some controls show text set directly but act only on typed input
429
+ (the Windows Save and Open dialogs keep their default file name). Text with line breaks or tabs is set instead, so a
430
+ line break never presses Enter in a form.</li>
431
+ <li><strong>Only the app gets the input.</strong> Before a click, <code>type</code> or <code>keys</code>, the app's window is brought forward, and nothing is
432
+ sent while another program's window covers the point or keeps the keyboard: the step fails and says so. <code>keys</code> go to
433
+ the app's open dialog, not its main window behind it. A <code>dismiss</code> control that could not be clicked is named in the
434
+ step's error.</li>
358
435
  </ul>
359
436
  </div>
360
437
  </section>
361
438
  <section class="doc" id="doc-docs-desktop-recording-by-hand">
362
439
  <h4>Recording by hand</h4>
363
- <div class="prose"><p>When you know the steps, do them yourself instead of describing a goal: no model and no UFO are involved, so it costs
364
- nothing and does exactly what you did.</p>
365
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop record --app billing --name &quot;Create an invoice&quot;
366
- </span></span></code></pre></div>
367
- <p>ForgeQE starts the app and watches the mouse and keyboard (low-level Windows hooks), asking UI Automation which control
368
- each click and key went to. Do the steps, then:</p>
440
+ <div class="prose"><p>When you know the steps, do them yourself instead of describing a goal: no model is involved, so it costs nothing and
441
+ does exactly what you did. Start it as in <a href="#doc-docs-desktop-use">Use</a> (&quot;Recording your own steps&quot;).</p>
442
+ <p>ForgeQE starts the app and watches the mouse and keyboard, asking Windows which control each click and key went to. Do
443
+ the steps, then:</p>
369
444
  <ul>
370
445
  <li><strong>Ctrl+Shift+F11</strong> with the mouse over a control adds a check: an <code>expect</code> step with the text it shows now (a
371
446
  status message, a saved total). Add one at the end, so the replay tests the outcome, not only the steps.</li>
372
- <li><strong>Ctrl+Shift+F12</strong>, or closing the app, finishes. The console shows each step as it is recorded.</li>
447
+ <li><strong>Ctrl+Shift+F12</strong>, or closing the app, finishes (in the web app, <strong>Stop</strong> too). The terminal shows each step as it
448
+ is recorded.</li>
373
449
  </ul>
374
450
  <p>What becomes a step:</p>
375
451
  <div class="tbl tbl--cols-2"><table>
@@ -388,44 +464,44 @@ status message, a saved total). Add one at the end, so the replay tests the outc
388
464
  <li><strong>Passwords:</strong> a password field is never read; its step types <code>{{secret:NAME}}</code> (the one name in <code>desktop.secrets</code>,
389
465
  or <code>&lt;APP&gt;_PASSWORD</code>, which the result tells you to set). Text equal to a <code>desktop.secrets</code> value is written as its
390
466
  placeholder. The typed characters themselves are never kept, only the field's text when you move on.</li>
391
- <li><strong>Only the app:</strong> clicks and keys outside the app's own process are not recorded; nor are the Windows and menu keys,
392
- or controls with neither an AutomationId nor a name. The result lists what was left out.</li>
393
- <li><strong>A click that closes a dialog</strong> (OK after typing a password) is held for up to 0.2 s while ForgeQE finds the control
394
- under it and reads the field you typed in, so neither is lost when the dialog goes. Typed characters are looked up
395
- once per run of typing, not once per key.</li>
467
+ <li><strong>Only the app:</strong> clicks and keys outside the app are not recorded; nor are the Windows and menu keys, or controls
468
+ with neither an AutomationId nor a name. The result lists what was left out.</li>
469
+ <li><strong>A click that closes a dialog</strong> (OK after typing a password) is still recorded, with the field you typed in.</li>
396
470
  <li><strong>A cell in a list or grid row</strong> is recorded inside its row (<code>path</code>: the row's type and name), since every row has a
397
471
  cell like it (a password column's <code>********</code>).</li>
398
472
  <li>The run folder has <code>workflow.yaml</code>, <code>run.json</code>, <code>report.html</code>, a picture of each step with the controls it shows
399
- (<code>steps/NNN.png</code> and <code>.json</code>), and <code>video.mp4</code> with <code>desktop.video: true</code>. Replay it with
400
- <code>forgeqe desktop replay</code>.</li>
473
+ (<code>steps/NNN.png</code> and <code>.json</code>), and <code>video.mp4</code> with <code>desktop.video: true</code>.</li>
401
474
  </ul>
402
475
  </div>
403
476
  </section>
404
477
  <section class="doc" id="doc-docs-desktop-reviewing-a-recording-web-app">
405
478
  <h4>Reviewing a recording (web app)</h4>
406
- <div class="prose"><p>Record → <strong>Desktop app</strong> in <code>forgeqe web</code> (Windows) records the same way, and when you stop, the workflow opens in a
407
- review:</p>
479
+ <div class="prose"><p>In the web app only: a recording made from <strong>Record › Desktop app</strong> (Windows) opens in a review when you stop. Any other
480
+ workflow opens in the same review from the <strong>Workflows</strong> tab of <strong>Desktop apps</strong> (the open button on its row). It has
481
+ three tabs:</p>
408
482
  <ul>
409
483
  <li><strong>Steps</strong>: each step with its picture, as recorded or on the last replay. Click a control on a picture to add a
410
484
  check that it shows its text (or that it is there). <strong>Change step N</strong> changes a step's control, text or seconds,
411
- or removes it (never the first, which starts the app). <strong>+</strong> after a step adds: a check that a control shows a
412
- text or is there, a wait for a control or until it is gone, a wait of some seconds, or keys. Each change is shown
413
- first and written at the version shown.</li>
414
- <li><strong>Test data</strong>: where each typed or chosen value comes from: as typed, test data (a variable of the workflow), or a
415
- secret of <code>desktop.secrets</code> (what was typed then leaves the workflow).</li>
416
- <li><strong>Last run</strong>: <strong>Replay</strong> with the values above or once for each row of a data file or kept request, with
417
- <strong>Heal a moved control</strong> and <strong>New image baselines</strong>; its result, report and heals to accept.</li>
485
+ or removes it (never the first, which starts the app). <strong>+</strong> after a step adds: <strong>Check a control shows a text</strong>,
486
+ <strong>Check a control is there</strong>, <strong>Wait for a control</strong>, <strong>Wait until a control is gone</strong>, <strong>Wait some seconds</strong>, or
487
+ <strong>Press keys</strong>. Each change is shown first and written at the version shown.</li>
488
+ <li><strong>Test data</strong>: where each typed or chosen value comes from: <strong>As typed</strong>, <strong>Test data</strong> (a variable of the workflow),
489
+ or <strong>Secret</strong> (one of <code>desktop.secrets</code>; what was typed then leaves the workflow). Press <strong>Save</strong>.</li>
490
+ <li><strong>Last run</strong>: <strong>Replay</strong> with the values above or once for each row of a data file or kept request, with <strong>Heal a
491
+ step whose control moved</strong> and <strong>Take new image baselines</strong>; its result, report and heals to <strong>Accept</strong>.</li>
418
492
  </ul>
419
- <p><strong>Improve</strong> asks DeskPilot what to fix or add; it changes the workflow only after showing you the change. A mobile
493
+ <p><strong>Improve</strong> asks the agent what to fix or add; it changes the workflow only after showing you the change. A mobile
420
494
  recording opens in the same review.</p>
495
+ <p>At a terminal, the same changes are made by editing the workflow file, or by asking the agent in a chat (see the next
496
+ section).</p>
421
497
  </div>
422
498
  </section>
423
499
  <section class="doc" id="doc-docs-desktop-fixing-a-workflow-from-chat">
424
500
  <h4>Fixing a workflow from chat</h4>
425
- <div class="prose"><p>When a replayed step fails because the app was slow or a dialog was in the way, ForgeQE's agent fixes the workflow
426
- with <code>desktop_edit_workflow</code>: it proposes the change (a longer <code>timeout</code> or <code>retries</code> on the step, a <code>wait_for</code> before
427
- it, a dialog button in <code>dismiss</code>, a healed locator, a corrected text), shows you the diff, and writes the file only
428
- when you agree. For example, after &quot;step 4 timed out while the invoice list loaded&quot;:</p>
501
+ <div class="prose"><p>When a replayed step fails because the app was slow or a dialog was in the way, ask ForgeQE's agent to fix it, in a web
502
+ chat (or <strong>Improve</strong> on the workflow) or in <code>forgeqe start</code>. It proposes the change (a longer <code>timeout</code> or <code>retries</code> on
503
+ the step, a <code>wait_for</code> before it, a dialog button in <code>dismiss</code>, a healed locator, a corrected text), shows you the diff,
504
+ and writes the file only when you agree. For example, after &quot;step 4 timed out while the invoice list loaded&quot;:</p>
429
505
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">Change invoice.yaml?
430
506
  </span></span><span class="ln"><span class="cmd">• new wait_for step before step 4
431
507
  </span></span><span class="ln"><span class="cmd">• step 4: retries 2
@@ -434,10 +510,10 @@ when you agree. For example, after &quot;step 4 timed out while the invoice list
434
510
  </span></span><span class="ln"><span class="cmd"> + retries: 2
435
511
  </span></span></code></pre></div>
436
512
  <ul>
437
- <li>Each change has a fixed shape (<code>set</code>, <code>unset</code>, <code>set_step</code>, <code>add_dismiss</code>, <code>insert_step</code>, <code>remove_step</code>,
438
- <code>set_variable</code>); step numbers are the replay report's. Anything else is refused.</li>
439
- <li>The changed workflow is checked by the engine's own validator before it is shown; one that would not run is not
440
- offered. Comments and layout are kept.</li>
513
+ <li>Each change has a fixed shape (set or unset a setting, change, insert or remove a step, add a dialog to <code>dismiss</code>,
514
+ set a variable); step numbers are the replay report's. Anything else is refused.</li>
515
+ <li>The changed workflow is checked before it is shown; one that would not run is not offered. Comments and layout are
516
+ kept.</li>
441
517
  <li>The old text is kept in the reports folder (<code>desktop-edits/</code>), and a file that changed since the edit was proposed is
442
518
  not overwritten.</li>
443
519
  <li>The workflow must be a <code>.yaml</code> inside the working folder or the reports folder.</li>
@@ -477,8 +553,10 @@ tries, replay pauses (1 s, 2 s, … up to 5 s) and closes any <code>dismiss</cod
477
553
  missing variable) is not retried.</li>
478
554
  <li><strong><code>dismiss</code></strong> lists at most 10 targets, checked like any target. When a control is not found, or something waits to
479
555
  go away, replay clicks the <code>dismiss</code> controls that are on screen and looks again, up to 3 times per lookup. The
480
- report and the console name every dialog closed, and how many tries a step took.</li>
556
+ report and the terminal name every dialog closed, and how many tries a step took.</li>
481
557
  </ul>
558
+ <p>In the web app, the review's <strong>+</strong> adds the waits; <code>timeout</code>, <code>retries</code> and <code>dismiss</code> are edited in the file or through
559
+ the agent.</p>
482
560
  </div>
483
561
  </section>
484
562
  <section class="doc" id="doc-docs-desktop-visual-checks-expect_image">
@@ -493,7 +571,8 @@ compares pixels with a baseline image:</p>
493
571
  </span></span></code></pre></div>
494
572
  <ul>
495
573
  <li><strong>The first run</strong> with no baseline saves what it captured and passes; the report says so. Commit the baselines
496
- folder with the workflow. <code>--update-baselines</code> replaces them after an intended change.</li>
574
+ folder with the workflow. After an intended change, replace them with <strong>Take new image baselines</strong> (web app) or
575
+ <code>--update-baselines</code> (terminal).</li>
497
576
  <li><strong>A pixel counts as different</strong> when a colour channel differs by more than 32 of 255, so anti-aliasing and ClearType
498
577
  do not fail a check. A different size (another screen scale or window size) fails with both sizes named.</li>
499
578
  <li><strong>The report</strong> shows the baseline, what was captured, and the differences in red, with the share of pixels that
@@ -506,125 +585,85 @@ out of the baselines folder is refused.</li>
506
585
  </section>
507
586
  <section class="doc" id="doc-docs-desktop-unattended-runs">
508
587
  <h4>Unattended runs</h4>
509
- <div class="prose"><p>Replay needs a signed-in, unlocked Windows session. Before it starts the app, it checks the session and fails at once
510
- with the reason if it is a Windows service (session 0), a locked screen, or a disconnected Remote Desktop session.
511
- <code>forgeqe desktop doctor</code> runs the same check. To run the suite every night on a machine of your own, see
512
- <a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">DESKTOP-CI.md</a>: a runner set up in the user's session (<code>ci/desktop-runner/prepare-runner.ps1</code>), a
513
- nightly workflow (<code>ci/desktop-runner/desktop-nightly.example.yml</code>), and <code>--junit</code> results.</p>
514
- </div>
515
- </section>
516
- <section class="doc" id="doc-docs-desktop-updating-ufo²">
517
- <h4>Updating UFO²</h4>
518
- <div class="prose"><p>UFO² is pinned to one commit. Moving it is checked before it is pinned:</p>
519
- <ol>
520
- <li>Set up that UFO on Windows (<code>FORGEQE_UFO_COMMIT</code>, which takes a full 40-character commit id only), then run the
521
- adapter tests against its real code and a scripted explore of Notepad.</li>
522
- <li>When it passed: <code>bun scripts/ufo-bump.ts &lt;commit&gt;</code> writes the new pin into <code>src/desktop/setup.ts</code>,
523
- <code>py/forgeqe_desktop/ufo_runner.py</code> and this page. Run the tests on Windows again before pushing.</li>
524
- </ol>
525
- <p>When it fails, the failing step names what changed in UFO (usually the action executor or the config layout that the
526
- adapter wraps). Keep the pin until the adapter is updated for it.</p>
588
+ <div class="prose"><p>Replay on Windows with the mouse and keyboard needs a signed-in, unlocked Windows session. Before it starts the app, it
589
+ checks the session and fails at once with the reason if it is a Windows service (session 0), a locked screen, or a
590
+ disconnected Remote Desktop session. The machine check (<strong>Check</strong> on <strong>Machine and apps</strong>, or <code>forgeqe desktop doctor</code>)
591
+ runs the same check. To run the suite every night on a machine of your own, see <a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">DESKTOP-CI.md</a>: a
592
+ runner set up in the user's session (<code>ci/desktop-runner/prepare-runner.ps1</code>), a nightly workflow
593
+ (<code>ci/desktop-runner/desktop-nightly.example.yml</code>), and <code>--junit</code> results.</p>
527
594
  </div>
528
595
  </section>
529
596
  <section class="doc" id="doc-docs-desktop-checks-of-the-outcome">
530
597
  <h4>Checks of the outcome</h4>
531
- <div class="prose"><p>A recording of actions only proves the steps run. When UFO has finished, and before the app closes, explore shows the
532
- model the goal and the app's controls with the text each shows now, and the model picks up to three whose text proves
533
- the goal (a status message, a saved value), by number, with the part of the text to expect. A check is kept only when
534
- that text really is in that control, so the model can choose among what is on screen but never invent it; text holding
535
- a <code>desktop.secrets</code> value is never offered. The checks are saved as <code>expect</code> steps at the end of the workflow, and the
536
- report says how many there are. With none, the report and the agent say so: add <code>expect</code> steps by hand.</p>
598
+ <div class="prose"><p>A recording of actions only proves the steps run. When the agent has finished exploring, and before the app closes,
599
+ ForgeQE shows the model the goal and the app's controls with the text each shows now, and the model picks up to three
600
+ whose text proves the goal (a status message, a saved value), with the part of the text to expect. A check is kept only
601
+ when that text really is in that control, so the model can choose among what is on screen but never invent it; text
602
+ holding a <code>desktop.secrets</code> value is never offered. The checks are saved as <code>expect</code> steps at the end of the workflow,
603
+ and the report says how many there are. With none, the report and the agent say so, and the web app marks the workflow
604
+ as having no checks of the outcome: add <code>expect</code> steps (in the review, or by hand).</p>
537
605
  </div>
538
606
  </section>
539
- <section class="doc" id="doc-docs-desktop-recording">
540
- <h4>Recording</h4>
541
- <div class="prose"><p>UFO's own step log names the control and a per-step id, not its AutomationId, so the adapter wraps UFO's
542
- <code>ActionExecutor.execute</code> and records each action with the UIA properties of the control it acted on. <code>record.py</code> turns
543
- that trace into steps: <code>click_input</code> → <code>click</code>/<code>double_click</code>, <code>set_edit_text</code> → <code>type</code>, <code>keyboard_input</code> → <code>keys</code> (one
544
- allowed chord) or <code>type</code>, <code>select</code> → <code>select</code>. Coordinate clicks, scrolls and anything else are listed as not recorded
545
- in the report. A typed value equal to a <code>desktop.secrets</code> value is written as its placeholder; typed text that only
546
- looks like <code>{{…}}</code> is kept literal, so a model told to type <code>{{secret:X}}</code> cannot make replay type the secret.</p>
607
+ <section class="doc" id="doc-docs-desktop-what-an-explore-records">
608
+ <h4>What an explore records</h4>
609
+ <div class="prose"><p>Each action of the agent is recorded with the properties of the control it acted on, and becomes a step: a click (or
610
+ double-click), typing into a field, a key chord (<code>keys</code>, when it is one allowed chord, else <code>type</code>), and picking an
611
+ item (<code>select</code>). Clicks at screen positions, scrolls and anything else are listed as not recorded in the report. A
612
+ typed value equal to a <code>desktop.secrets</code> value is written as its placeholder; typed text that only looks like <code>{{…}}</code>
613
+ is kept literal, so a model told to type <code>{{secret:X}}</code> cannot make replay type the secret.</p>
547
614
  </div>
548
615
  </section>
549
616
  <section class="doc" id="doc-docs-desktop-security">
550
617
  <h4>Security</h4>
551
- <div class="prose"><p>The YAML, the trace, the app's screen text and the model's replies can all be written by someone else. The rules in the
552
- repository's <code>CLAUDE.md</code> apply; for this engine:</p>
618
+ <div class="prose"><p>The YAML, the app's screen text and the model's replies can all be written by someone else. ForgeQE treats them as
619
+ untrusted:</p>
553
620
  <ul>
554
- <li><strong>No command in the workflow.</strong> <code>app:</code> names a <code>desktop.apps</code> entry: an absolute <code>.exe</code> (a <code>.bat</code> or <code>.cmd</code> would run
555
- through <code>cmd.exe</code>, which reparses its arguments) and an argument list, started with <code>subprocess.Popen([path, *args])</code>.</li>
556
- <li><strong>UFO gets UI tools only.</strong> Each explore writes UFO's <code>mcp.yaml</code> with <code>UICollector</code>, <code>HostUIExecutor</code> and
557
- <code>AppUIExecutor</code>. UFO's default <code>CommandLineExecutor</code>, which runs shell commands, and its Word, Excel, PowerPoint and
558
- PDF executors are left out. The adapter starts the app, so UFO never launches a program.</li>
559
- <li><strong>Keys:</strong> during explore the adapter refuses UFO's Windows and menu keys too, and the report lists what it refused.</li>
560
- <li><strong>No one at the console:</strong> UFO's safe guard asks before sensitive actions; explore answers no, since nobody is there.</li>
561
- <li><strong>Environment:</strong> the engine process gets system settings, the profile's key variable (or Entra's) and
562
- <code>desktop.secrets</code>, nothing else (<code>desktopEnvNames</code>).</li>
621
+ <li><strong>No command in the workflow.</strong> <code>app:</code> names an app of your settings: an absolute <code>.exe</code> (never a <code>.bat</code> or <code>.cmd</code>)
622
+ and an argument list, started without a shell.</li>
623
+ <li><strong>The agent gets UI actions only.</strong> While exploring it can click, type and read controls in the app. It cannot run
624
+ shell commands or start programs; ForgeQE starts the app.</li>
625
+ <li><strong>Keys:</strong> the Windows and menu keys are refused during explore too, and the report lists what was refused.</li>
626
+ <li><strong>No one at the console:</strong> when the agent would ask before a sensitive action, explore answers no.</li>
627
+ <li><strong>Environment:</strong> the desktop process gets system settings, the model profile's key and <code>desktop.secrets</code>, nothing
628
+ else.</li>
563
629
  <li><strong>Explore controls the real mouse and keyboard.</strong> It asks before starting (<code>--yes</code> to skip; required with no
564
630
  terminal). Use a test machine or VM and a test account.</li>
565
- <li><strong>Agent tools:</strong> a workflow path the agent gives must be a <code>.yaml</code> inside the working folder or the reports folder (real
566
- path, so a link out is refused); variables are names and text only; heals are reported, never written.</li>
631
+ <li><strong>Agent tools:</strong> a workflow path the agent gives must be a <code>.yaml</code> inside the working folder or the reports folder
632
+ (links out are refused); variables are names and text only; heals are reported, never written by the agent.</li>
567
633
  <li><strong>Healing:</strong> the model picks one of the window's real controls by number; control text is passed as data, and any
568
634
  other answer heals nothing. Heals are written into the workflow only when accepted.</li>
569
- <li><strong>Report:</strong> every value is escaped; images are only the engine's own <code>steps/NNN.png</code> and
570
- <code>images/NNN-baseline|actual|diff.png</code>.</li>
571
- <li><strong>Baselines:</strong> <code>expect_image</code> names are file names, and their real path must be inside the workflow's baselines
572
- folder, so a workflow cannot read or overwrite another file.</li>
635
+ <li><strong>Report:</strong> every value is escaped; images are only the run's own step pictures and image comparisons.</li>
636
+ <li><strong>Baselines:</strong> <code>expect_image</code> names are file names inside the workflow's baselines folder, so a workflow cannot read
637
+ or overwrite another file.</li>
573
638
  <li><strong>Unattended machines:</strong> <code>prepare-runner.ps1</code> never handles a password; automatic sign-in uses Sysinternals
574
639
  Autologon, which stores it encrypted.</li>
575
- <li><strong>Install:</strong> UFO is cloned and checked out at the pinned commit (or <code>FORGEQE_UFO_COMMIT</code>, a full commit id only),
576
- and the checkout's <code>HEAD</code> is verified; replay's packages are pinned to exact versions.</li>
640
+ <li><strong>Install:</strong> what setup downloads is pinned to exact versions and checked.</li>
577
641
  </ul>
578
642
  </div>
579
643
  </section>
580
644
  <section class="doc" id="doc-docs-desktop-before-first-use-on-windows">
581
645
  <h4>Before first use on Windows</h4>
582
- <div class="prose"><p>Verified in CI: setup with and without <code>--ufo</code>, replay, healing, the CLI, and UFO's own code with the adapter (its
583
- config, its model calls routed to the profile, the action trace, UI tools only). Still to check, on a Windows test
584
- machine with your apps:</p>
646
+ <div class="prose"><p>Tested by the ForgeQE team: setup with and without the explore part, replay, healing, and recording. Still to check, on
647
+ a Windows test machine with your apps:</p>
585
648
  <ol>
586
- <li><strong>UIA coverage:</strong> <code>Inspect.exe</code> shows the controls that matter with stable <code>AutomationId</code>s. Custom grids, Java
587
- (needs Java Access Bridge), Delphi, SAP GUI and Citrix (vision only) are where UIA falls short.</li>
649
+ <li><strong>Control coverage:</strong> Windows' <code>Inspect.exe</code> shows the controls that matter with stable <code>AutomationId</code>s. Custom
650
+ grids, Java (needs Java Access Bridge), Delphi, SAP GUI and Citrix are where Windows' control information falls
651
+ short.</li>
588
652
  <li><strong>Explore with your model:</strong> one goal with an Azure profile and one with <code>auth: entra</code>; <code>trace.json</code> has the
589
- controls' AutomationIds, and <code>ufo/</code> has UFO's logs.</li>
653
+ controls' AutomationIds.</li>
590
654
  <li><strong>Replay:</strong> the recorded workflow passes 10 runs out of 10; a renamed control is healed.</li>
591
- <li><strong>Cost and time</strong> of one explore, from <code>forgeqe</code> usage.</li>
655
+ <li><strong>Cost and time</strong> of one explore, from ForgeQE's usage.</li>
592
656
  </ol>
593
- <p>Found by the Windows runs and fixed: UFO's pins need Python 3.10 (pandas 1.4.3); UFO prints emoji panels to stdout, which
594
- is the engine's event stream and crashed on the cp1252 console (now sent to stderr, characters replaced); an error in
595
- UFO's own evaluation lost the recorded actions (the trace is now kept and saved).</p>
596
- <p>Found by replaying KeePass 2 on Windows 11 ARM64 (a Parallels VM, runs started from a scheduled task) and fixed: text
597
- set through UI Automation was shown by the Save dialog but not used, so the database was saved under the default name
598
- while every step passed (now typed); with the app behind another window, clicks went to that window, <code>dismiss</code>
599
- reported nothing, and <code>keys</code> went to the main window instead of the dialog (now the app is brought forward, the click
600
- point and the keyboard are checked, and keys go to the open dialog); a dialog closing while its window was searched
601
- failed the next step with a COM error (now searched again). On that VM a synthetic double-click did not register;
602
- check <code>double_click</code> on real hardware. The x64 Python the engine runs in needs the x64 Visual C++ runtime (<code>win32ui</code>).
603
- On agent-desktop there: npm 11.20 refuses <code>--allow-scripts</code> with <code>--prefix</code> (the install script is now allowed for the
604
- pinned version in the folder's <code>package.json</code>); the state folder's Windows ACL (Administrators, OWNER RIGHTS) was
605
- refused by agent-desktop (now this user and SYSTEM only); and a dialog listed as its own window and inside its main
606
- window's snapshot matched twice (now one control). Still open: a button whose click opens a modal message box times out
607
- in UI Automation's Invoke, and the step fails without sending it again, so such steps need the pywinauto driver.</p>
608
- <p>Found by exploring and healing KeePass there with Azure OpenAI gpt-5.4 and fixed: a drop-down menu's items are listed
609
- twice by UI Automation, so a recorded menu click was &quot;several controls match&quot; and could not replay (now one control
610
- seen twice, the same runtime id, is that control); a check of the app's main window could never be found, as replay
611
- searched only inside windows (now a target equal to the window is the window); the heal model, given only the old
612
- target, replaced a renamed menu item by the menu itself (that step passed and the next one failed), and the heal was
613
- remembered and offered for the workflow (now the model is told the step and the one before it, and a heal is
614
- remembered, written or offered only from a replay that passed; a remembered heal used in a failed replay is
615
- forgotten); and the offer to write heals waited for an answer with no terminal (now never asked without one). Explore
616
- ran 4 steps for $0.12 when the app opened at its main window.</p>
617
- <p>Also found there and fixed: an app that opens with a start-up dialog (KeePass's update question) left UFO on that
618
- dialog's window after it closed, so every later click went to (0, 0) until the step limit ($1.22 for nothing); now a
619
- closed window UFO chose is replaced by the app's live window (<code>follow_live_window</code>, <code>ufo_runner.py</code>), and the same
620
- explore passes for $0.18. In recording by hand, the OK that closed a dialog right after typing was lost, since the
621
- control under the click was looked up after a lookup per typed key (now the click is held while it is looked up, and
622
- typing is one lookup). A click on a list row's <code>********</code> cell was recorded as that cell alone, which every row has (now
623
- inside its row). App memory borrowed another goal's whole flow as a &quot;shared start&quot;; that flow ended where it began (a
624
- dialog opened and closed again), so UFO, seeing the screen it started from, did it all again and the workflow held it
625
- twice. Now the note lists the replayed steps and says to finish if they do the goal (UFO then made no click, $0.02),
626
- and steps that exactly repeat the replayed block are kept once. A replay with <code>--no-heal</code>, or with a model whose key
627
- is not set, stopped at &quot;No model in llms.json can …&quot; (now healing is off for that replay, and it runs).</p>
657
+ <p>Known limits:</p>
658
+ <ul>
659
+ <li>In a virtual machine, a synthetic double-click may not register; check <code>double_click</code> on real hardware.</li>
660
+ <li>On Windows on ARM, the x64 Visual C++ runtime must be installed.</li>
661
+ <li>With <code>desktop.driver: agent-desktop</code>, a button whose click opens a modal message box times out, and the step fails
662
+ without sending the click again. Replay such workflows with the mouse and keyboard (<code>pywinauto</code> or <code>auto</code> on
663
+ Windows).</li>
664
+ <li>An explore makes model calls, so it costs what your model charges; a replay makes none. Each run's report and Cost
665
+ show what it used.</li>
666
+ </ul>
628
667
  </div>
629
668
  </section>
630
669
  <section class="doc" id="doc-docs-desktop-next-steps">
@@ -632,8 +671,8 @@ is not set, stopped at &quot;No model in llms.json can …&quot; (now healing is
632
671
  <div class="prose"><ol>
633
672
  <li>The checks above.</li>
634
673
  <li><code>forgeqe suite</code> and test cases from Azure DevOps, Jira and Xray for desktop workflows, with results written back.</li>
635
- <li>Quill: export a workflow as pywinauto code (or C# with FlaUI) in the user's repo.</li>
636
- <li>App adapters where UIA falls short: Java Access Bridge, SAP GUI scripting, vision-only for Citrix.</li>
674
+ <li>Quill: export a workflow as code in the user's repository.</li>
675
+ <li>Better support where Windows' control information falls short: Java, SAP GUI, and vision only for Citrix.</li>
637
676
  <li>A pipeline template for a self-hosted Windows runner signed in to a desktop session.</li>
638
677
  </ol>
639
678
  </div>
@@ -661,9 +700,18 @@ Azure DevOps agents and Jenkins nodes.</p>
661
700
  <tr><td data-label="Situation">After a restart nobody signs in</td><td data-label="Effect">No session at all</td><td data-label="Fix">Sysinternals Autologon</td></tr>
662
701
  </tbody>
663
702
  </table></div>
664
- <p>Before each replay or explore, the engine checks the session (<code>py/forgeqe_desktop/session.py</code>). On a session it cannot
665
- drive, the run fails at once with the reason, instead of timing out step by step. <code>forgeqe desktop doctor</code> runs the
666
- same check from a shell or a job:</p>
703
+ <p>Before each replay or explore, ForgeQE checks the session. On a session it cannot drive, the run fails at once with the
704
+ reason, instead of timing out step by step.</p>
705
+ <p><strong>Checking the machine.</strong> The same check can be run by hand, or from a job before the suite.</p>
706
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
707
+ <ol>
708
+ <li>Open <strong>Desktop apps</strong> and the <strong>Machine and apps</strong> tab.</li>
709
+ <li>Press <strong>Check</strong>.</li>
710
+ </ol>
711
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
712
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe desktop doctor
713
+ </span></span></code></pre></div>
714
+ </div></div><p><strong>What the check prints.</strong> At a terminal it looks like this:</p>
667
715
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">engine ready (C:\Users\qa\.forgeqe\desktop\.venv\Scripts\python.exe)
668
716
  </span></span><span class="ln"><span class="cmd">explore not set up (forgeqe desktop setup --ufo)
669
717
  </span></span><span class="ln"><span class="cmd">session 1, screen 1920x1080
@@ -735,14 +783,13 @@ control fails the run.</p>
735
783
  </div>
736
784
  </section>
737
785
  </div>
738
- </article>
739
786
 
740
787
  <nav class="pager" aria-label="Previous and next">
741
788
  <a class="prev" href="../area-quality/index.html"><small>Previous</small><span>Quality checks</span></a>
742
789
  <a class="next" href="../area-mobile/index.html"><small>Next</small><span>Mobile apps</span></a>
743
790
  </nav>
744
791
  </main>
745
- <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-desktop-apps">Automate Windows desktop apps</a></li><li><a href="#doc-how_to_use-desktop-apps-windows">Desktop apps (Windows)</a></li><li><a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">ForgeQE desktop: thick-client automation</a></li><li><a href="#doc-docs-desktop-use">Use</a></li><li><a href="#doc-docs-desktop-how-a-run-flows">How a run flows</a></li><li><a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">Replay on agent-desktop (macOS, Linux, and headless Windows)</a></li><li><a href="#doc-docs-desktop-one-model-config-llmsjson--ufo">One model config: llms.json → UFO</a></li><li><a href="#doc-docs-desktop-workflow-yaml-forgeqe-desktop-v1">Workflow YAML (forgeqe-desktop-v1)</a></li><li><a href="#doc-docs-desktop-recording-by-hand">Recording by hand</a></li><li><a href="#doc-docs-desktop-reviewing-a-recording-web-app">Reviewing a recording (web app)</a></li><li><a href="#doc-docs-desktop-fixing-a-workflow-from-chat">Fixing a workflow from chat</a></li><li><a href="#doc-docs-desktop-waits-retries-and-dialogs">Waits, retries and dialogs</a></li><li><a href="#doc-docs-desktop-visual-checks-expect_image">Visual checks (expect_image)</a></li><li><a href="#doc-docs-desktop-unattended-runs">Unattended runs</a></li><li><a href="#doc-docs-desktop-updating-ufo²">Updating UFO²</a></li><li><a href="#doc-docs-desktop-checks-of-the-outcome">Checks of the outcome</a></li><li><a href="#doc-docs-desktop-recording">Recording</a></li><li><a href="#doc-docs-desktop-security">Security</a></li><li><a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a></li><li><a href="#doc-docs-desktop-next-steps">Next steps</a></li><li><a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">Running desktop workflows unattended (nightly CI)</a></li><li><a href="#doc-docs-desktop-ci-what-breaks-a-desktop-run-and-how-forgeqe-tells-you">What breaks a desktop run, and how ForgeQE tells you</a></li><li><a href="#doc-docs-desktop-ci-set-up-the-test-machine">Set up the test machine</a></li><li><a href="#doc-docs-desktop-ci-the-nightly-job">The nightly job</a></li></ul></aside>
792
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-desktop-apps">Automate Windows desktop apps</a></li><li><a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">ForgeQE desktop: thick-client automation</a></li><li><a href="#doc-docs-desktop-use">Use</a></li><li><a href="#doc-docs-desktop-how-a-run-flows">How a run flows</a></li><li><a href="#doc-docs-desktop-replay-on-macos-linux-and-headless-windows">Replay on macOS, Linux, and headless Windows</a></li><li><a href="#doc-docs-desktop-the-model-explore-and-healing-use">The model explore and healing use</a></li><li><a href="#doc-docs-desktop-workflow-yaml-forgeqe-desktop-v1">Workflow YAML (forgeqe-desktop-v1)</a></li><li><a href="#doc-docs-desktop-recording-by-hand">Recording by hand</a></li><li><a href="#doc-docs-desktop-reviewing-a-recording-web-app">Reviewing a recording (web app)</a></li><li><a href="#doc-docs-desktop-fixing-a-workflow-from-chat">Fixing a workflow from chat</a></li><li><a href="#doc-docs-desktop-waits-retries-and-dialogs">Waits, retries and dialogs</a></li><li><a href="#doc-docs-desktop-visual-checks-expect_image">Visual checks (expect_image)</a></li><li><a href="#doc-docs-desktop-unattended-runs">Unattended runs</a></li><li><a href="#doc-docs-desktop-checks-of-the-outcome">Checks of the outcome</a></li><li><a href="#doc-docs-desktop-what-an-explore-records">What an explore records</a></li><li><a href="#doc-docs-desktop-security">Security</a></li><li><a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a></li><li><a href="#doc-docs-desktop-next-steps">Next steps</a></li><li><a href="#doc-docs-desktop-ci-running-desktop-workflows-unattended-nightly-ci">Running desktop workflows unattended (nightly CI)</a></li><li><a href="#doc-docs-desktop-ci-what-breaks-a-desktop-run-and-how-forgeqe-tells-you">What breaks a desktop run, and how ForgeQE tells you</a></li><li><a href="#doc-docs-desktop-ci-set-up-the-test-machine">Set up the test machine</a></li><li><a href="#doc-docs-desktop-ci-the-nightly-job">The nightly job</a></li></ul></aside>
746
793
  </div>
747
794
  <footer class="foot">
748
795
  <div class="container foot__row">