@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,87 +113,238 @@
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="index.html" aria-current="page"><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="../area-desktop/index.html"><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="index.html" aria-current="page"><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="../area-desktop/index.html"><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>Start here</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="index.html" aria-current="page"><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="../area-desktop/index.html"><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="#doc-how_to_use-3-shell">Shell</a></li><li><a href="#doc-how_to_use-4-without-the-shell">Without the shell</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="index.html" aria-current="page"><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="../area-desktop/index.html"><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="#doc-how_to_use-3-shell">Shell</a></li><li><a href="#doc-how_to_use-4-without-the-shell">Without the shell</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-orchestrator"/></svg>Using ForgeQE</h1>
121
122
  <p class="guide-lead">The shell, its commands, and running without it</p>
122
123
  <section class="doc" id="doc-how_to_use-3-shell">
123
124
  <h3>Shell</h3>
124
- <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"><span class="cmd">bun src/index.ts start
125
- </span></span></code></pre></div>
126
- <p>Type what you want and press Enter. The prompt wraps long text and grows as you type; Ctrl+J (or Shift+Enter, Alt+Enter where the terminal reports it) starts a new line, so you can paste or write several steps at once:</p>
125
+ <div class="prose"><p>You work with ForgeQE's agent in a chat: in the web app, or in the shell in your terminal. Both reach the same agent,
126
+ the same tools and the same project settings. This chapter covers both; <a href="index.html#doc-how_to_use-the-screen">The screen</a> is the shell's
127
+ screen in detail, and <a href="index.html#doc-how_to_use-the-web-app">The web app</a> is the web app's start and Talk.</p>
128
+ <p><strong>Starting a chat.</strong> Say what you want in your own words. You can write several steps at once:</p>
127
129
  <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">Go to booking.com and search for hotels in Mumbai
128
130
  </span></span><span class="ln"><span class="cmd">Run SHOP-12 and SHOP-14 from Jira, two browsers at once
129
131
  </span></span><span class="ln"><span class="cmd">Run test plan 12 suite 34 from Azure DevOps and don't post results
130
132
  </span></span><span class="ln"><span class="cmd">Write a Playwright test for that run
131
133
  </span></span><span class="ln"><span class="cmd">Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green
132
134
  </span></span></code></pre></div>
133
- <p>ForgeQE's agent reads the message and decides what it needs: a browser run, test cases from Jira, Azure DevOps, Xray, a file, or steps you pasted, a test, or a pipeline. There is no command to pick one. When a reference is ambiguous (is <code>12</code> a work item or a test plan?), it asks, and you answer in the next message; the session remembers the conversation. Its replies appear in the transcript, and so does everything its tools do: browser steps, suite progress, and the test commands ForgeQE runs.</p>
134
- <p>For a browser goal, the browser starts blank and the browser agent decides where to go, then works through cookie banners, sign-in prompts, and forms on the page. The transcript shows each step's goal and the actions it took (<code>navigate …</code>, <code>click &quot;Accept&quot;</code>, <code>input &quot;Mumbai&quot; → &quot;Where are you going?&quot;</code>), with ✗ and the error when an action fails.</p>
135
- <p>Everything the other <code>forgeqe</code> commands do is also a tool the agent can call, so you can ask for it here instead of leaving the shell:</p>
136
- <div class="tbl tbl--cols-3"><table>
135
+ <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>
136
+ <ol>
137
+ <li>Run <code>forgeqe web</code> in your project folder (see <a href="index.html#doc-how_to_use-the-web-app">The web app</a>).</li>
138
+ <li>On Home, type your request in the box (<strong>Ask ForgeQE to test something…</strong>). Shift+Enter starts a new line.</li>
139
+ <li>Press Enter, or <strong>Send</strong>. The chat opens; reply in its box (<strong>Reply to ForgeQE…</strong>).</li>
140
+ </ol>
141
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
142
+ <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 start
143
+ </span></span></code></pre></div>
144
+ <p>Type what you want and press Enter. The prompt wraps long text and grows as you type. Ctrl+J (or Shift+Enter, or
145
+ Alt+Enter where the terminal reports it) starts a new line, so you can paste or write several steps at once.</p>
146
+ </div></div><p><strong>What the agent does with a request.</strong> ForgeQE's agent reads the message and decides what it needs: a browser run,
147
+ test cases (from Jira, Azure DevOps, Xray, a file, or steps you pasted), a test, or a pipeline. There is no command to
148
+ pick one.</p>
149
+ <ul>
150
+ <li>When a reference is ambiguous (is <code>12</code> a work item or a test plan?), it asks, and you answer in the next message.
151
+ The chat remembers the conversation.</li>
152
+ <li>Its replies appear in the chat, and so does everything its tools do: browser steps, suite progress, and the test
153
+ commands ForgeQE runs.</li>
154
+ <li>For a browser goal, the browser starts blank and the browser agent decides where to go. It works through cookie
155
+ banners, sign-in prompts and forms on the page. The chat shows each step's goal and the actions it took
156
+ (<code>navigate …</code>, <code>click &quot;Accept&quot;</code>, <code>input &quot;Mumbai&quot; → &quot;Where are you going?&quot;</code>), with ✗ and the error when an action
157
+ fails.</li>
158
+ </ul>
159
+ <p><strong>Everything ForgeQE does, from the chat.</strong> Everything the other <code>forgeqe</code> commands do, you can also ask for in a
160
+ chat:</p>
161
+ <div class="tbl tbl--cols-2"><table>
137
162
  <thead>
138
- <tr><th>Ask for</th><th>Tool</th><th>Same as</th></tr>
163
+ <tr><th>Ask for</th><th>Same as</th></tr>
139
164
  </thead>
140
165
  <tbody>
141
- <tr><td data-label="Ask for">&quot;Run SHOP-12 and SHOP-14&quot;, &quot;what's in test plan 12?&quot;</td><td data-label="Tool"><code>run_test_cases</code>, <code>find_test_cases</code></td><td data-label="Same as"><code>forgeqe suite</code>, <code>forgeqe cases</code></td></tr>
142
- <tr><td data-label="Ask for">&quot;Write a Playwright test for that run&quot;</td><td data-label="Tool"><code>write_test</code></td><td data-label="Same as"><code>forgeqe code</code></td></tr>
143
- <tr><td data-label="Ask for">&quot;The checkout tests are failing, fix them&quot;</td><td data-label="Tool"><code>heal_tests</code></td><td data-label="Same as"><code>forgeqe heal</code></td></tr>
144
- <tr><td data-label="Ask for">&quot;Run all tests related to login&quot;, &quot;run the tests added this sprint&quot;, &quot;which tests cover checkout?&quot;</td><td data-label="Tool"><code>find_tests</code>, <code>run_tests</code>, <code>list_sprints</code></td><td data-label="Same as">(shell and <code>forgeqe run</code> only)</td></tr>
145
- <tr><td data-label="Ask for">&quot;Check the smoke cases once&quot;, &quot;monitor them every 10 minutes&quot;, &quot;is anything failing?&quot;, &quot;stop monitoring&quot;, &quot;send a test alert&quot;</td><td data-label="Tool"><code>monitor</code></td><td data-label="Same as"><code>forgeqe monitor</code>, <code>--once</code>, <code>--test-alerts</code></td></tr>
146
- <tr><td data-label="Ask for">&quot;Sign in to shop&quot;, &quot;which logins do I have?&quot;, &quot;forget the shop session&quot;</td><td data-label="Tool"><code>logins</code></td><td data-label="Same as"><code>forgeqe login</code>, <code>forgeqe logins</code>, <code>forgeqe logins clear</code></td></tr>
147
- <tr><td data-label="Ask for">&quot;What flows does page memory know?&quot;, &quot;forget what you learned about shop.test&quot;</td><td data-label="Tool"><code>page_memory</code></td><td data-label="Same as"><code>forgeqe memory</code></td></tr>
148
- <tr><td data-label="Ask for">&quot;What can you do?&quot;, &quot;can you do API testing?&quot;, &quot;do you support DORA?&quot;</td><td data-label="Tool"><code>capabilities</code></td><td data-label="Same as"><code>forgeqe features</code></td></tr>
149
- <tr><td data-label="Ask for">&quot;Which profiles do I have?&quot;, &quot;which MCP servers will you use?&quot;, &quot;how do email alerts work?&quot;, &quot;install the engine&quot;, &quot;scaffold a config in ./demo&quot;</td><td data-label="Tool"><code>forgeqe_setup</code></td><td data-label="Same as"><code>forgeqe models</code>, <code>forgeqe mcp list</code>, <code>forgeqe docs</code>, <code>forgeqe setup</code>, <code>forgeqe init</code></td></tr>
166
+ <tr><td data-label="Ask for">&quot;Run SHOP-12 and SHOP-14&quot;, &quot;what's in test plan 12?&quot;</td><td data-label="Same as"><code>forgeqe suite</code>, <code>forgeqe cases</code></td></tr>
167
+ <tr><td data-label="Ask for">&quot;Write a Playwright test for that run&quot;</td><td data-label="Same as"><code>forgeqe code</code></td></tr>
168
+ <tr><td data-label="Ask for">&quot;The checkout tests are failing, fix them&quot;</td><td data-label="Same as"><code>forgeqe heal</code></td></tr>
169
+ <tr><td data-label="Ask for">&quot;Run all tests related to login&quot;, &quot;run the tests added this sprint&quot;, &quot;which tests cover checkout?&quot;</td><td data-label="Same as">(in a chat and <code>forgeqe run</code> only)</td></tr>
170
+ <tr><td data-label="Ask for">&quot;Check the smoke cases once&quot;, &quot;monitor them every 10 minutes&quot;, &quot;is anything failing?&quot;, &quot;stop monitoring&quot;, &quot;send a test alert&quot;</td><td data-label="Same as"><code>forgeqe monitor</code>, <code>--once</code>, <code>--test-alerts</code></td></tr>
171
+ <tr><td data-label="Ask for">&quot;Sign in to shop&quot;, &quot;which logins do I have?&quot;, &quot;forget the shop session&quot;</td><td data-label="Same as"><code>forgeqe login</code>, <code>forgeqe logins</code>, <code>forgeqe logins clear</code></td></tr>
172
+ <tr><td data-label="Ask for">&quot;What flows does page memory know?&quot;, &quot;forget what you learned about shop.test&quot;</td><td data-label="Same as"><code>forgeqe memory</code></td></tr>
173
+ <tr><td data-label="Ask for">&quot;What can you do?&quot;, &quot;can you do API testing?&quot;, &quot;do you support DORA?&quot;</td><td data-label="Same as"><code>forgeqe features</code></td></tr>
174
+ <tr><td data-label="Ask for">&quot;Which profiles do I have?&quot;, &quot;which MCP servers will you use?&quot;, &quot;how do email alerts work?&quot;, &quot;install the engine&quot;, &quot;scaffold a config in ./demo&quot;</td><td data-label="Same as"><code>forgeqe models</code>, <code>forgeqe mcp list</code>, <code>forgeqe docs</code>, <code>forgeqe setup</code>, <code>forgeqe init</code></td></tr>
150
175
  </tbody>
151
176
  </table></div>
152
- <p>Only browser runs of the app under test become tests. When the agent uses the browser for a task, such as checking whether a story is linked to a test case in Azure DevOps or Jira, that run is marked as a task and no test is written for it, even if <code>write_test</code> is called on it. <code>write_test</code> and <code>heal_tests</code> run the same loops as the commands: ForgeQE runs the test command itself and a test only counts as passing when ForgeQE saw it pass. Their results, and each monitor round, appear as a card in the transcript. When a step needs you, such as signing in by hand in the browser window, a <strong>Your turn</strong> prompt shows what to do, and ForgeQE waits until you pick <strong>Done, continue</strong> (save the session) or <strong>Cancel</strong>.</p>
153
- <p>The slash commands control the session and show a few things directly (<code>/help</code> lists them):</p>
154
- <div class="tbl tbl--cols-2"><table>
177
+ <p><strong>Which runs become tests.</strong> Only browser runs of the app under test become tests. When the agent uses the browser
178
+ for a task, such as checking whether a story is linked to a test case in Azure DevOps or Jira, that run is marked as a
179
+ task. No test is written for it, even if you ask for a test from it.</p>
180
+ <p>Writing a test and fixing tests from a chat run the same loops as <code>forgeqe code</code> and <code>forgeqe heal</code>: ForgeQE runs the
181
+ test command itself, and a test only counts as passing when ForgeQE saw it pass. Their results, and each monitor
182
+ round, appear as a card in the chat.</p>
183
+ <p><strong>When ForgeQE needs you.</strong> The agent may ask a question with options, or a step may need you to do something by hand,
184
+ such as signing in in the browser window. ForgeQE waits for you.</p>
185
+ <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>
186
+ <ol>
187
+ <li>A question appears in the chat as a card, each option a button, with <strong>Cancel</strong>. The box says <strong>Answer above to go
188
+ on</strong> until you pick one.</li>
189
+ <li>A step you do by hand appears as a card that says what to do. Press <strong>Continue</strong> when you have done it (this saves
190
+ the session), or <strong>Cancel</strong>.</li>
191
+ <li>On <strong>Chats</strong>, the <strong>Needs you</strong> filter lists the chats that wait for you.</li>
192
+ </ol>
193
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
194
+ <p>A question shows its options as buttons: ←/→ or Tab move between them, Enter confirms, Esc cancels, and a mouse click
195
+ works too. A step you do by hand shows a <strong>Your turn</strong> prompt with what to do; pick <strong>Done, continue</strong> (save the
196
+ session) or <strong>Cancel</strong>.</p>
197
+ </div></div><p><strong>Stopping the work.</strong></p>
198
+ <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>
199
+ <ol>
200
+ <li>Press <strong>Stop</strong>, the square button where <strong>Send</strong> was. It ends the work in progress.</li>
201
+ </ol>
202
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
203
+ <p>Press Esc, or type <code>/stop</code>. ForgeQE asks: <strong>Stop run</strong>, <strong>Stop and close ForgeQE</strong>, or <strong>Keep running</strong>. <strong>Stop and
204
+ close</strong> waits until the browser has shut down and the run's files are saved, then closes ForgeQE.</p>
205
+ </div></div><p><strong>Choosing the model.</strong> ForgeQE's agent runs with the active profile's model (or <code>code.model</code>). With
206
+ <code>llm.routing: auto</code>, it runs with the model the router picks for the <code>agent</code> area when the session starts; <code>--profile</code>
207
+ and <code>code.model</code> still win. A <code>github_copilot</code> profile runs it on your Copilot seat. The first time, ForgeQE downloads
208
+ what the agent needs into <code>~/.forgeqe/tools</code>. When that download fails, ForgeQE says the agent is off and runs each
209
+ message as one browser goal.</p>
210
+ <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>
211
+ <ol>
212
+ <li>Press the model button beside the box. <strong>Model for this chat</strong> lists <strong>Auto routing</strong> (the most capable model
213
+ plans; each step gets the model that suits it) and your models that can answer here (their key set; a GitHub
214
+ Copilot one when Copilot is already running).</li>
215
+ <li>Pick one. In a chat that has started, you can change it between messages: the same conversation goes on with the
216
+ new model (its history, tools and files stay), and the activity log notes the change. A custom agent's chat keeps
217
+ its model.</li>
218
+ <li>Add or change models in <strong>Settings › Models</strong>.</li>
219
+ </ol>
220
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
221
+ <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">/model pick the model from the profiles in llms.json (or click the model ▾ in the status line)
222
+ </span></span><span class="ln"><span class="cmd">/profile &lt;name&gt; switch LLM profile
223
+ </span></span><span class="ln"><span class="cmd">Tab the next profile
224
+ </span></span></code></pre></div>
225
+ <p>From your next message the agent goes on with the new profile in the same session. For a profile it cannot switch to,
226
+ it starts again with the conversation so far.</p>
227
+ </div></div><p><strong>Showing the browser, and where tests go.</strong> Passed runs become tests in the current folder, or in <code>code.repo</code>. A start
228
+ page for browser runs, such as a staging app, is <code>start_url</code> in <code>forgeqe.yaml</code> (<strong>Settings › Browser › Start page</strong>).</p>
229
+ <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>
230
+ <ol>
231
+ <li>Press <strong>+</strong> beside the box, then <strong>Tools</strong>.</li>
232
+ <li>Turn <strong>Write the test</strong> (turn a passed run into a test in the repository) and <strong>Show the browser</strong> (watch each run in
233
+ a Chrome window) on or off. Under <strong>From your settings</strong> it shows where browsers run and where test cases come from,
234
+ with <strong>Change them in Settings</strong>.</li>
235
+ <li>In a chat that has started, the change applies from your next message.</li>
236
+ <li>On Home, <strong>+</strong> › <strong>Environment</strong> picks the test environment for the new chat.</li>
237
+ </ol>
238
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
239
+ <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 start --repo ../app</span><span class="pad"> </span><span class="cm"><span class="h">#</span> passed runs become tests in that repository
240
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe start --no-code</span><span class="pad"> </span><span class="cm"><span class="h">#</span> no tests from passed runs
241
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe start --url https://staging.example.com</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a start page for browser runs
242
+ </span></span></code></pre></div>
243
+ <p>In the shell, <code>/headed on|off</code> shows or hides the browser window (live profiles), and <code>/env [name]</code> lists the test
244
+ environments in <code>env.yaml</code> and their apps, or switches to one.</p>
245
+ </div></div><p><strong>Attaching files and pictures.</strong> You can name files in the folder the agent works in (<code>code.repo</code> when the chat writes
246
+ tests, or <code>--repo</code>; otherwise the project folder), by name or path (<code>@Login</code> finds <code>pages/Login.ts</code>). The agent is told
247
+ to read each file you attach, and an image goes to the model as a picture when the model takes images. Hidden files,
248
+ anything named like credentials, and paths out of that folder are refused, with why. A folder can be named too
249
+ (<code>@tests/</code>), and a name with a space goes in quotes (<code>@&quot;my shots/login.png&quot;</code>).</p>
250
+ <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>
251
+ <ol>
252
+ <li>Press <strong>+</strong> › <strong>Attach a file</strong>, drop files on the box, paste a picture, or type <code>@</code> and a file name.</li>
253
+ <li>Each file shows as a chip in the box. Removing a chip takes its <code>@name</code> out of the text, and deleting the <code>@name</code>
254
+ removes the chip.</li>
255
+ <li>Send. A dropped or pasted file is saved in that folder's <code>.forgeqe/inbox</code> (git-ignored) for the agent to read, and
256
+ removed after 14 days.</li>
257
+ </ol>
258
+ <p>Images, PDFs, Word, Excel and PowerPoint files (<code>.docx</code>, <code>.xlsx</code>, <code>.pptx</code>, up to 5 MB) and text or code files are
259
+ taken, up to 8 a message. See <a href="../web-app/index.html">docs/WEB_APP.md</a> for how pictures are prepared before they are sent.</p>
260
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
261
+ <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">@tests/cart.spec.ts a file, attached when you send
262
+ </span></span><span class="ln"><span class="cmd">/paste the picture on the clipboard (a screenshot)
263
+ </span></span></code></pre></div>
264
+ <p><code>/paste</code> saves the picture as <code>.forgeqe/inbox/pasted-&lt;time&gt;.png</code> where the agent works and puts its <code>@path</code> in the
265
+ prompt, to send with your words. macOS and Windows read the clipboard themselves; Linux needs <code>wl-clipboard</code> or
266
+ <code>xclip</code>. <code>forgeqe run &quot;check @tests/cart.spec.ts&quot;</code> attaches the same way.</p>
267
+ </div></div><p><strong>Seeing what the agent does.</strong></p>
268
+ <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>
269
+ <ol>
270
+ <li>A reply shows the plan as a chain (done, in progress, next), each step under the agent doing it, the latest
271
+ activity live, the commands it runs with their output, and the result: tests with status and file, reports as
272
+ links, every changed file with its diff.</li>
273
+ <li>Click the latest activity to open the activity log with everything.</li>
274
+ <li>Scroll up and the chat stops following the work; <strong>Latest</strong> takes you back.</li>
275
+ <li>The workspace panel on the right shows the chat's tokens, <strong>Commands</strong>, <strong>Changes</strong> and <strong>Outputs</strong> (see
276
+ <a href="index.html#doc-how_to_use-the-web-app">The web app</a>).</li>
277
+ </ol>
278
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
279
+ <p><code>/details on</code> shows everything the agents do while they work: the browser agent's reasoning, page memory, engine logs,
280
+ every file the coding agent reads. It is off by default, which shows step results, files written, test results and
281
+ problems. <code>--verbose</code> or <code>FORGEQE_VERBOSE=1</code> starts with it on, for <code>start</code>, <code>run</code>, <code>suite</code>, <code>code</code> and <code>heal</code> too.
282
+ <strong>▦ Panels</strong> (Ctrl-O) shows the plan, the activity, the files, the context and the tokens beside the conversation
283
+ (see <a href="index.html#doc-how_to_use-the-screen">The screen</a>).</p>
284
+ </div></div><p><strong>Earlier chats and runs.</strong></p>
285
+ <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>
286
+ <ol>
287
+ <li>Open <strong>Chats</strong> (Agents › Chat) for the project's chats, newest first: filter by <strong>Working</strong>, <strong>Needs you</strong>, <strong>Your
288
+ turn</strong> or <strong>Ended</strong>, or search.</li>
289
+ <li>Open one to read it. Write in the box of a chat that ended and it carries on with its earlier turns.</li>
290
+ <li>Open <strong>Runs</strong> for every run in the project, from the web app, a schedule or the terminal.</li>
291
+ </ol>
292
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
293
+ <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">/runs every run with its result and steps
294
+ </span></span><span class="ln"><span class="cmd">/reports every report ForgeQE wrote here
295
+ </span></span></code></pre></div>
296
+ <p>The shell keeps one conversation per session; <code>/clear</code> clears the transcript.</p>
297
+ </div></div><p><strong>The shell's commands.</strong> In the shell, slash commands control the session and show a few things directly (<code>/help</code>
298
+ lists them). The last column says where to find the same thing in the web app.</p>
299
+ <div class="tbl tbl--cols-3"><table>
155
300
  <thead>
156
- <tr><th>Command</th><th>Action</th></tr>
301
+ <tr><th>Command</th><th>Action</th><th>In the web app</th></tr>
157
302
  </thead>
158
303
  <tbody>
159
- <tr><td data-label="Command"><code>/stop</code></td><td data-label="Action">Stop what is running (or press Esc)</td></tr>
160
- <tr><td data-label="Command"><code>/record [app|url]</code></td><td data-label="Action">Do the steps of a web test yourself in a browser; ForgeQE records them, then writes the test (see <a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
161
- <tr><td data-label="Command"><code>/paste</code></td><td data-label="Action">Attach the picture on the clipboard (a screenshot) to your next message</td></tr>
162
- <tr><td data-label="Command"><code>/rerun [last|run]</code></td><td data-label="Action">Run a passed run again as recorded, without ForgeQE's agent (the last one, a run folder, or its goal)</td></tr>
163
- <tr><td data-label="Command"><code>/headed on|off</code></td><td data-label="Action">Show the browser window (live profiles)</td></tr>
164
- <tr><td data-label="Command"><code>/theme light|dark|auto</code></td><td data-label="Action">Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td></tr>
165
- <tr><td data-label="Command"><code>/details [on|off]</code></td><td data-label="Action">Show everything the agents do while they work: the browser agent's reasoning, page memory, engine logs, every file the coding agent reads (off by default: step results, files written, test results, problems). <code>--verbose</code> or <code>FORGEQE_VERBOSE=1</code> starts with it on, for <code>start</code>, <code>run</code>, <code>suite</code>, <code>code</code>, and <code>heal</code> too</td></tr>
166
- <tr><td data-label="Command"><code>/model</code></td><td data-label="Action">Pick the model from the profiles in <code>llms.json</code> (or click the model ▾ in the status line; Tab switches to the next one)</td></tr>
167
- <tr><td data-label="Command"><code>/profile &lt;name&gt;</code></td><td data-label="Action">Switch LLM profile (or press Tab); from your next message the agent goes on with it in the same session, or, for a profile it cannot switch to, starts again with the conversation so far</td></tr>
168
- <tr><td data-label="Command"><code>/env [name]</code></td><td data-label="Action">The test environments in <code>env.yaml</code> and their apps, or switch to one</td></tr>
169
- <tr><td data-label="Command"><code>/logs [shots]</code></td><td data-label="Action">Save this session's log and runs in one archive to share (<code>shots</code>: with screenshots)</td></tr>
170
- <tr><td data-label="Command"><code>/features</code></td><td data-label="Action">What ForgeQE can do, and what each capability still needs here</td></tr>
171
- <tr><td data-label="Command"><code>/runs</code></td><td data-label="Action">The Runs page: every run with its result, steps and what page memory replayed; the week as a chart; click a run (or ↑↓) to see how it ended and every step it took: by page memory or the model, the page, what it did, how long it took, and the step that failed with its error. enter opens its report, f its folder, r runs it again</td></tr>
172
- <tr><td data-label="Command"><code>/reports</code></td><td data-label="Action">The Reports page: every report ForgeQE wrote here (suites, pipelines, <code>/report</code>), newest first, each with <strong>open ↗</strong> to view it in the browser and a short summary of the chosen one. / searches by title, kind and summary (esc clears). A single run's report is on the Runs page. f opens its folder, b builds a new report</td></tr>
173
- <tr><td data-label="Command"><code>/jobs</code></td><td data-label="Action">The Jobs screen: every scheduled job with its next run, last result and recent runs; the week's runs as a chart; the chosen job's runs and output. ↑↓ choose, r runs now, p pauses or resumes, s stops, l opens the log, esc goes back</td></tr>
174
- <tr><td data-label="Command"><code>/knowledge</code></td><td data-label="Action">The Knowledge page: what ForgeQE has kept here as it works (run history, page memory, defect history, the code it wrote and how much is still there, product knowledge, visual baselines, watched pipelines), each with its entries</td></tr>
175
- <tr><td data-label="Command"><code>/skills</code></td><td data-label="Action">The Skills page: every skill with the agents that use it and where it comes from; enter or <strong>open ↗</strong> opens its SKILL.md (<code>/skills &lt;name&gt;</code> shows one in the chat)</td></tr>
176
- <tr><td data-label="Command"><code>/memory</code></td><td data-label="Action">The Page memory page: each site with its pages, elements and flows; the chosen site's pages and flows</td></tr>
177
- <tr><td data-label="Command"><code>/guardrails</code></td><td data-label="Action">The Guardrails page: every rule and the file it is in. o opens the file to edit</td></tr>
178
- <tr><td data-label="Command"><code>/doctor</code></td><td data-label="Action">The Doctor page: what ForgeQE needs on this machine, with the fix for what is missing. r also checks the model, the trackers and every service ForgeQE reaches</td></tr>
179
- <tr><td data-label="Command"><code>/settings</code></td><td data-label="Action">The Settings page: the model, config file, trackers, environments, folders, domain and notifications, each opening where it is changed</td></tr>
180
- <tr><td data-label="Command"><code>/home</code></td><td data-label="Action">Back to the start screen; the session stays</td></tr>
181
- <tr><td data-label="Command"><code>/docs</code></td><td data-label="Action">The user guide</td></tr>
182
- <tr><td data-label="Command"><code>/generated</code></td><td data-label="Action">How much of this repository's code ForgeQE wrote, and how much is still there</td></tr>
183
- <tr><td data-label="Command"><code>/init</code></td><td data-label="Action">Set ForgeQE up in this folder: <code>forgeqe.yaml</code>, <code>llms.json</code>, editable prompts, skills, knowledge</td></tr>
184
- <tr><td data-label="Command"><code>/skills [name]</code></td><td data-label="Action">The skills each agent can use, or one skill's instructions</td></tr>
185
- <tr><td data-label="Command"><code>/db [test|tables|refresh|batches|examples|add] [name]</code></td><td data-label="Action">The databases set up here (see <a href="../area-data/index.html#doc-how_to_use-databases">Databases</a>)</td></tr>
186
- <tr><td data-label="Command"><code>/report</code>, <code>/report export</code>, <code>/report &lt;ask&gt;</code></td><td data-label="Action">The team report of every run here and the ones teammates shared; your bundle to share; or ask the agent for a report, e.g. <code>/report open defects in all projects</code> (see <a href="../area-release/index.html#doc-how_to_use-team-report">Team report</a>)</td></tr>
187
- <tr><td data-label="Command"><code>/auth [system]</code></td><td data-label="Action">Sign in to a system in the browser; <code>/auth</code> alone shows what is signed in</td></tr>
188
- <tr><td data-label="Command"><code>/clear</code></td><td data-label="Action">Clear the transcript</td></tr>
189
- <tr><td data-label="Command"><code>/help</code></td><td data-label="Action">Examples and commands</td></tr>
190
- <tr><td data-label="Command"><code>/exit</code></td><td data-label="Action">Quit</td></tr>
304
+ <tr><td data-label="Command"><code>/stop</code></td><td data-label="Action">Stop what is running (or press Esc)</td><td data-label="In the web app"><strong>Stop</strong></td></tr>
305
+ <tr><td data-label="Command"><code>/record [app|url]</code></td><td data-label="Action">Do the steps of a web test yourself in a browser; ForgeQE records them, then writes the test (see <a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td><td data-label="In the web app"><strong>Record</strong> › <strong>New recording</strong></td></tr>
306
+ <tr><td data-label="Command"><code>/paste</code></td><td data-label="Action">Attach the picture on the clipboard (a screenshot) to your next message</td><td data-label="In the web app">Paste in the box</td></tr>
307
+ <tr><td data-label="Command"><code>/rerun [last|run]</code></td><td data-label="Action">Run a passed run again as recorded, without ForgeQE's agent (the last one, a run folder, or its goal)</td><td data-label="In the web app">—</td></tr>
308
+ <tr><td data-label="Command"><code>/headed on|off</code></td><td data-label="Action">Show the browser window (live profiles)</td><td data-label="In the web app"><strong>+</strong> › <strong>Tools</strong> › <strong>Show the browser</strong></td></tr>
309
+ <tr><td data-label="Command"><code>/theme light|dark|auto</code></td><td data-label="Action">Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td><td data-label="In the web app"><strong>Dark/Light</strong> at the foot of the sidebar; <strong>Settings › Appearance › Colour mode</strong></td></tr>
310
+ <tr><td data-label="Command"><code>/details [on|off]</code></td><td data-label="Action">Show everything the agents do while they work (see above)</td><td data-label="In the web app">The activity log</td></tr>
311
+ <tr><td data-label="Command"><code>/model</code></td><td data-label="Action">Pick the model from the profiles in <code>llms.json</code> (or click the model ▾ in the status line; Tab switches to the next one)</td><td data-label="In the web app">The model button beside the box</td></tr>
312
+ <tr><td data-label="Command"><code>/profile &lt;name&gt;</code></td><td data-label="Action">Switch LLM profile (or press Tab); from your next message the agent goes on with it in the same session, or, for a profile it cannot switch to, starts again with the conversation so far</td><td data-label="In the web app">The model button beside the box</td></tr>
313
+ <tr><td data-label="Command"><code>/env [name]</code></td><td data-label="Action">The test environments in <code>env.yaml</code> and their apps, or switch to one</td><td data-label="In the web app"><strong>+</strong> › <strong>Environment</strong> on Home; <strong>Settings › Environments</strong></td></tr>
314
+ <tr><td data-label="Command"><code>/logs [shots]</code></td><td data-label="Action">Save this session's log and runs in one archive to share (<code>shots</code>: with screenshots)</td><td data-label="In the web app">—</td></tr>
315
+ <tr><td data-label="Command"><code>/features</code></td><td data-label="Action">What ForgeQE can do, and what each capability still needs here</td><td data-label="In the web app"><strong>What's ready</strong></td></tr>
316
+ <tr><td data-label="Command"><code>/runs</code></td><td data-label="Action">The Runs page: every run with its result, steps and what page memory replayed; the week as a chart; click a run (or ↑↓) to see how it ended and every step it took: by page memory or the model, the page, what it did, how long it took, and the step that failed with its error. enter opens its report, f its folder, r runs it again</td><td data-label="In the web app"><strong>Runs</strong></td></tr>
317
+ <tr><td data-label="Command"><code>/reports</code></td><td data-label="Action">The Reports page: every report ForgeQE wrote here (suites, pipelines, <code>/report</code>), newest first, each with <strong>open ↗</strong> to view it in the browser and a short summary of the chosen one. / searches by title, kind and summary (esc clears). A single run's report is on the Runs page. f opens its folder, b builds a new report</td><td data-label="In the web app"><strong>Execution reports</strong></td></tr>
318
+ <tr><td data-label="Command"><code>/jobs</code></td><td data-label="Action">The Jobs screen: every scheduled job with its next run, last result and recent runs; the week's runs as a chart; the chosen job's runs and output. ↑↓ choose, r runs now, p pauses or resumes, s stops, l opens the log, esc goes back</td><td data-label="In the web app"><strong>Jobs</strong></td></tr>
319
+ <tr><td data-label="Command"><code>/knowledge</code></td><td data-label="Action">The Knowledge page: what ForgeQE has kept here as it works (run history, page memory, defect history, the code it wrote and how much is still there, product knowledge, visual baselines, watched pipelines), each with its entries</td><td data-label="In the web app"><strong>Knowledge</strong></td></tr>
320
+ <tr><td data-label="Command"><code>/skills [name]</code></td><td data-label="Action">The Skills page: every skill with the agents that use it and where it comes from; enter or <strong>open ↗</strong> opens its SKILL.md. <code>/skills &lt;name&gt;</code> shows one skill's instructions in the chat</td><td data-label="In the web app"><strong>Skills</strong></td></tr>
321
+ <tr><td data-label="Command"><code>/memory</code></td><td data-label="Action">The Page memory page: each site with its pages, elements and flows; the chosen site's pages and flows</td><td data-label="In the web app"><strong>Memory</strong></td></tr>
322
+ <tr><td data-label="Command"><code>/guardrails</code></td><td data-label="Action">The Guardrails page: every rule and the file it is in. o opens the file to edit</td><td data-label="In the web app"><strong>Guardrails</strong></td></tr>
323
+ <tr><td data-label="Command"><code>/doctor</code></td><td data-label="Action">The Doctor page: what ForgeQE needs on this machine, with the fix for what is missing. r also checks the model, the trackers and every service ForgeQE reaches</td><td data-label="In the web app"><strong>Settings › Set up</strong> (this computer, with <strong>Install what's missing</strong>)</td></tr>
324
+ <tr><td data-label="Command"><code>/settings</code></td><td data-label="Action">The Settings page: the model, config file, trackers, environments, folders, domain and notifications, each opening where it is changed</td><td data-label="In the web app"><strong>Settings</strong></td></tr>
325
+ <tr><td data-label="Command"><code>/home</code></td><td data-label="Action">Back to the start screen; the session stays</td><td data-label="In the web app"><strong>New chat</strong></td></tr>
326
+ <tr><td data-label="Command"><code>/docs</code></td><td data-label="Action">The user guide</td><td data-label="In the web app"><strong>Help</strong>, at the foot of the sidebar</td></tr>
327
+ <tr><td data-label="Command"><code>/generated</code></td><td data-label="Action">How much of this repository's code ForgeQE wrote, and how much is still there</td><td data-label="In the web app"><strong>Settings › Generated code</strong></td></tr>
328
+ <tr><td data-label="Command"><code>/init</code></td><td data-label="Action">Set ForgeQE up in this folder: <code>forgeqe.yaml</code>, <code>llms.json</code>, editable prompts, skills, knowledge</td><td data-label="In the web app"><strong>Settings › Set up</strong></td></tr>
329
+ <tr><td data-label="Command"><code>/db [test|tables|refresh|batches|examples|add] [name]</code></td><td data-label="Action">The databases set up here (see <a href="../area-data/index.html#doc-how_to_use-databases">Databases</a>)</td><td data-label="In the web app"><strong>Data</strong></td></tr>
330
+ <tr><td data-label="Command"><code>/report</code>, <code>/report export</code>, <code>/report &lt;ask&gt;</code></td><td data-label="Action">The team report of every run here and the ones teammates shared; your bundle to share; or ask the agent for a report, e.g. <code>/report open defects in all projects</code> (see <a href="../area-release/index.html#doc-how_to_use-team-report">Team report</a>)</td><td data-label="In the web app"><strong>Project report</strong>; ask in a chat</td></tr>
331
+ <tr><td data-label="Command"><code>/auth [system]</code></td><td data-label="Action">Sign in to a system in the browser; <code>/auth</code> alone shows what is signed in</td><td data-label="In the web app"><strong>Sign in</strong> on the system in <strong>Settings › Integrations</strong></td></tr>
332
+ <tr><td data-label="Command"><code>/clear</code></td><td data-label="Action">Clear the transcript</td><td data-label="In the web app"><strong>New chat</strong></td></tr>
333
+ <tr><td data-label="Command"><code>/help</code></td><td data-label="Action">Examples and commands</td><td data-label="In the web app">—</td></tr>
334
+ <tr><td data-label="Command"><code>/exit</code></td><td data-label="Action">Quit</td><td data-label="In the web app">—</td></tr>
191
335
  </tbody>
192
336
  </table></div>
193
- <p><code>start_url</code> in <code>forgeqe.yaml</code> or <code>--url</code> pins a start page for browser runs, such as a staging app. Passed runs become tests in the current folder; <code>forgeqe start --repo ../app</code> puts them in that repo instead, and <code>--no-code</code> turns tests off.</p>
194
- <p>ForgeQE's agent runs on the agent runtime with the active profile's model (or <code>code.model</code>), or, with <code>llm.routing: auto</code>, the model the router picks for the <code>agent</code> area when the session starts (<code>--profile</code> and <code>code.model</code> still win). A <code>github_copilot</code> profile runs it on your Copilot seat. ForgeQE downloads the agent runtime into <code>~/.forgeqe/tools</code> when it is not installed. When the agent runtime cannot be downloaded, ForgeQE says the agent is off and runs each message as one browser goal.</p>
195
- <p>While a run is going, the bar under the prompt shows a spinner, the tokens used, and the elapsed time, and the transcript ends with what the agent is doing now (<code>Thinking about step 3…</code>, <code>Acting in the browser (step 3)…</code>). Each step starts with <code>+ Thought: 4.2s</code>, the time the model took to decide. When the run ends, a summary card closes the transcript:</p>
337
+ <p><strong>When a run ends.</strong> The result closes the reply. Failed runs say why, and stopped runs say they were stopped.</p>
338
+ <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>
339
+ <ol>
340
+ <li>The reply ends with the result: each test with its status, file and the command to run it; reports as links; every
341
+ file changed with its diff.</li>
342
+ <li>Up to three next steps appear as buttons under it (see <a href="index.html#doc-how_to_use-the-screen">Next steps</a>).</li>
343
+ </ol>
344
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
345
+ <p>While a run is going, the bar under the prompt shows a spinner, the tokens used and the elapsed time. The transcript
346
+ ends with what the agent is doing now (<code>Thinking about step 3…</code>, <code>Acting in the browser (step 3)…</code>). Each step starts
347
+ with <code>+ Thought: 4.2s</code>, the time the model took to decide. When the run ends, a summary card closes the transcript:</p>
196
348
  <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">┃ ✓ Task complete 10 steps · 1m 42s · 65.3K tokens
197
349
  </span></span><span class="ln"><span class="cmd">┃
198
350
  </span></span><span class="ln"><span class="cmd">┃ Done — I searched Booking.com for hotels in Mumbai for tomorrow. I verified the results
@@ -201,9 +353,12 @@
201
353
  </span></span><span class="ln"><span class="cmd">┃ Ended on booking.com/searchresults.en-gb.html
202
354
  </span></span><span class="ln"><span class="cmd">┃ Saved .forgeqe/reports/20260928-172700/ run.json · workflow.yaml · trace.md · report.html
203
355
  </span></span></code></pre></div>
204
- <p>The text is the agent's own result. Failed runs show <code>✗ Task failed</code> with the reason, and stopped runs show <code>■ Run stopped</code>. <code>forgeqe run</code> prints the same summary at the end.</p>
205
- </div>
206
- <section class="doc sub" id="doc-how_to_use-the-screen"><h4>The screen</h4><div class="prose"><p><strong>The start screen.</strong> Before your first request, the screen is one column under the logo:</p>
356
+ <p>The text is the agent's own result. Failed runs show <code>✗ Task failed</code> with the reason, and stopped runs show
357
+ <code>■ Run stopped</code>. <code>forgeqe run</code> prints the same summary at the end.</p>
358
+ </div></div></div>
359
+ <section class="doc sub" id="doc-how_to_use-the-screen"><h4>The screen</h4><div class="prose"><p>This section is the shell's screen in the terminal. The web app's layout is in <a href="../web-app/index.html">docs/WEB_APP.md</a>, and
360
+ the web app's way of each task is in the pairs above.</p>
361
+ <p><strong>The start screen.</strong> Before your first request, the screen is one column under the logo:</p>
207
362
  <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"> playwright-csharp-pom-framework · .NET · Azure DevOps
208
363
  </span></span><span class="ln ln--gap">
209
364
  </span><span class="ln"><span class="cmd"> ┃ Describe what you want to test…
@@ -258,9 +413,16 @@
258
413
  <p><strong>The panels.</strong> <strong>▦ Panels</strong> (Ctrl-O) splits the screen in half on a terminal 120 columns wide or more: the <strong>Activities</strong> column on the right, and the conversation with the files, context, and tokens panels on the left. On a narrower terminal the panels take the conversation's place. Ctrl-O again, or <strong>✕ Close</strong>, closes them.</p>
259
414
  <p>The Activities column shows what the agents do as they do it:</p>
260
415
  <ul>
261
- <li>the status line: who is working, a progress bar for the plan or a suite's cases, for how long, and <strong>■ Stop</strong>; under it, the whole width, what is happening now (<em>Agent: Azure DevOps API · QI-Payments/_apis/build/builds…</em>);</li>
262
- <li><strong>Plan</strong>: the agent's own task list as soon as it writes one, then each browser step or suite case: ○ pending, a spinner while in progress, ✓ done, ✗ failed and why. ForgeQE's agent writes a plan for any request of three steps or more and updates it as it goes;</li>
263
- <li><strong>Activity</strong>: <strong>Now</strong> (the task in progress) and <strong>Next</strong> (the next task), then every tool call, browser step, and note. A call shows a spinner the moment it starts and becomes ✓ or ✗ in the same row when it ends, so a long API query or test run is never invisible. Reads and searches that the conversation leaves out at the brief detail level are listed here. A call takes one row and a note up to three; focus the panel to scroll through everything or filter it. Each request starts under a line with its time and what you asked (<em>── 14:02 can you generate a defect report… ──</em>) and ends with how it went (<em>✓ Done in 1m 12s · 16 activities</em>, or ✗ Failed, ■ Stopped, ? Waiting for your answer), so one request's activities are never read as another's; earlier requests stay above, to scroll back to. The Plan shows the current request only.</li>
416
+ <li><strong>The status line</strong>: who is working, a progress bar for the plan or a suite's cases, for how long, and <strong>■ Stop</strong>. Under it, the whole width, what is happening now (<em>Agent: Azure DevOps API · QI-Payments/_apis/build/builds…</em>).</li>
417
+ <li><strong>Plan</strong>: the agent's own task list as soon as it writes one, then each browser step or suite case: ○ pending, a spinner while in progress, ✓ done, ✗ failed and why. ForgeQE's agent writes a plan for any request of three steps or more and updates it as it goes. The Plan shows the current request only.</li>
418
+ <li><strong>Activity</strong>: <strong>Now</strong> (the task in progress) and <strong>Next</strong> (the next task), then every tool call, browser step, and note.
419
+ <ul>
420
+ <li>A call shows a spinner the moment it starts and becomes ✓ or ✗ in the same row when it ends, so a long API query or test run is never invisible.</li>
421
+ <li>Reads and searches that the conversation leaves out at the brief detail level are listed here.</li>
422
+ <li>A call takes one row and a note up to three; focus the panel to scroll through everything or filter it.</li>
423
+ <li>Each request starts under a line with its time and what you asked (<em>── 14:02 can you generate a defect report… ──</em>) and ends with how it went (<em>✓ Done in 1m 12s · 16 activities</em>, or ✗ Failed, ■ Stopped, ? Waiting for your answer), so one request's activities are never read as another's. Earlier requests stay above, to scroll back to.</li>
424
+ </ul>
425
+ </li>
264
426
  </ul>
265
427
  <p>Over the conversation: <strong>Files</strong> (each file read ◉, written ✚, or edited ✎, newest first), <strong>Context</strong> (how full the model's context window is, and the skills, product knowledge, domain, and MCP servers in it), and <strong>Tokens</strong> (total, input, output, cached). When that half is under 80 columns they fold into one line: <em>Files 4 (1 changed) · Context 26% · Skills 2 · 52.9K tokens</em>.</p>
266
428
  <p><strong>Buttons.</strong> Under the input: <strong>✦ Refine</strong> (Ctrl-R; it fills in once there is text to refine), <strong>⌕ Search</strong> (Ctrl-P, the command palette), and <strong>▦ Panels</strong> (Ctrl-O); while a request runs, <strong>■ Stop</strong> (Esc) takes Refine's place. With the panels open, <strong>▦ Focus panels</strong> (Shift-Tab) and <strong>✕ Close</strong> (Ctrl-O) are in their status line. On a narrow terminal, <strong>◧ Details</strong> (Ctrl-O) and <strong>⇄ Profile</strong> (Tab) are under the input. Each is clickable.</p>
@@ -277,12 +439,50 @@
277
439
  </tbody>
278
440
  </table></div>
279
441
  <p><strong>Links.</strong> Report folders, report files, and web addresses in the chat are links: Cmd-click (Ctrl-click on Windows and Linux) opens them in terminals that support links, such as VS Code, iTerm2, Windows Terminal, and recent GNOME Terminal. A path that no longer exists stays plain text.</p>
280
- <p><strong>Setup checklist.</strong> Until everything is set up, the start screen shows how many of the five things most features rest on are set up: <strong>Model</strong> (a live model profile), <strong>Quill</strong>, <strong>Work items</strong> (Azure DevOps, Jira, TestRail, Zephyr, qTest, or Xray), <strong>Domain</strong>, and <strong>Notifications</strong>. In a terminal 110 columns or wider it is the sidebar's <strong>Get set up</strong>: each finished item with what it found, and the next one as a card with <strong>▸ Set up</strong> (its steps in the chat; for <strong>Work items</strong>, it runs <code>/auth</code>) and <strong>skip</strong>. A skipped item is kept in <code>.forgeqe/setup.json</code> and not asked about again. Narrower, it is one <strong>Setup</strong> line with <strong>▸ how to set up</strong> and <strong>skip</strong>. The checks are the same ones <code>/features</code> uses, so the two always agree.</p>
281
- <p><strong>Sidebar and rail.</strong> The sidebar has three short groups. <strong>Work</strong>: <strong>Home</strong>, <strong>This session</strong> (once you have asked something), <strong>Runs</strong>, <strong>Reports</strong> and <strong>Jobs</strong>. <strong>Knowledge</strong>: <strong>Knowledge</strong> (history and what ForgeQE has kept), <strong>Page memory</strong>, <strong>Test cases</strong>, <strong>Guardrails</strong> and <strong>Skills</strong>. <strong>System</strong>: <strong>Settings</strong> and <strong>Doctor</strong>. Each opens a page in the chat's place, laid out for what it shows, with its keys at the foot: tables to move through with ↑↓, and <strong>open ↗</strong> links that open a report or a skill in the browser. <strong>Test cases</strong> lives in your tracker, so its page offers the requests that fetch it and puts the one you choose in the composer to read before sending, beside the suite files in the repository. esc goes back. Models, sign-ins and environments are a command away (<code>/model</code>, <code>/auth</code>, <code>/env</code>; <code>/help</code> lists them all), and <strong>? help</strong> and <strong>docs ↗</strong> are at the top right of the start screen. Beside the chat the sidebar is a column with its labels from 194 columns, and a rail of its icons below that, so the start screen is always one click away: <strong>Home</strong> (or <code>/home</code>) shows it with the session still open, and <strong>▸ Back to the session</strong> or any request returns to it.</p>
442
+ <p><strong>Setup checklist.</strong> Until everything is set up, the start screen shows how many of the five things most features rest on are set up: <strong>Model</strong> (a live model profile), <strong>Quill</strong>, <strong>Work items</strong> (Azure DevOps, Jira, TestRail, Zephyr, qTest, or Xray), <strong>Domain</strong>, and <strong>Notifications</strong>.</p>
443
+ <ul>
444
+ <li>In a terminal 110 columns or wider it is the sidebar's <strong>Get set up</strong>: each finished item with what it found, and the next one as a card with <strong>▸ Set up</strong> (its steps in the chat; for <strong>Work items</strong>, it runs <code>/auth</code>) and <strong>skip</strong>.</li>
445
+ <li>Narrower, it is one <strong>Setup</strong> line with <strong>▸ how to set up</strong> and <strong>skip</strong>.</li>
446
+ <li>A skipped item is kept in <code>.forgeqe/setup.json</code> and not asked about again.</li>
447
+ <li>The checks are the same ones <code>/features</code> uses, so the two always agree.</li>
448
+ </ul>
449
+ <p><strong>Sidebar and rail.</strong> The sidebar has three short groups:</p>
450
+ <ul>
451
+ <li><strong>Work</strong>: <strong>Home</strong>, <strong>This session</strong> (once you have asked something), <strong>Runs</strong>, <strong>Reports</strong> and <strong>Jobs</strong>.</li>
452
+ <li><strong>Knowledge</strong>: <strong>Knowledge</strong> (history and what ForgeQE has kept), <strong>Page memory</strong>, <strong>Test cases</strong>, <strong>Guardrails</strong> and <strong>Skills</strong>.</li>
453
+ <li><strong>System</strong>: <strong>Settings</strong> and <strong>Doctor</strong>.</li>
454
+ </ul>
455
+ <p>Each opens a page in the chat's place, laid out for what it shows, with its keys at the foot: tables to move through with ↑↓, and <strong>open ↗</strong> links that open a report or a skill in the browser. esc goes back. <strong>Test cases</strong> lives in your tracker, so its page offers the requests that fetch it and puts the one you choose in the composer to read before sending, beside the suite files in the repository.</p>
456
+ <p>Models, sign-ins and environments are a command away (<code>/model</code>, <code>/auth</code>, <code>/env</code>; <code>/help</code> lists them all), and <strong>? help</strong> and <strong>docs ↗</strong> are at the top right of the start screen. Beside the chat the sidebar is a column with its labels from 194 columns, and a rail of its icons below that, so the start screen is always one click away: <strong>Home</strong> (or <code>/home</code>) shows it with the session still open, and <strong>▸ Back to the session</strong> or any request returns to it.</p>
282
457
  <p><strong>Needs you and Today.</strong> Once there are runs, the start screen shows what needs you (runs that failed this week and have not passed since, and jobs whose last run failed, each with <strong>open</strong> and <strong>rerun</strong>) and what ran today. The greeting says how many runs there were today and how many failed. The model is in the composer beside <strong>⏎ Send</strong>: click it to change it. The status line shows the branch, the tracker, and when the next scheduled job runs.</p>
283
- <p><strong>Command palette.</strong> Ctrl-P opens a palette of every action, command, profile, and example request; type a few letters to find one (&quot;rr&quot; finds <em>Refine my request</em>, &quot;auth&quot; finds the sign-in commands), ↑/↓ to choose, Enter to run it. Example requests are put in the prompt for you to edit, never sent straight away.</p>
284
- <p><strong><code>/</code> and <code>@</code> in the prompt.</strong> Typing <code>/</code> lists the commands that match; typing <code>@</code> suggests references: recent runs (<em>last run</em>, then each by its folder), files and folders in the folder the agent works in (<code>code.repo</code>, or <code>--repo</code>) by name or path (<code>@Login</code> finds <code>pages/Login.ts</code>), and, after <code>@</code> and a number such as <code>@1761</code>, the Azure DevOps work item with its title (read-only). Tab completes, ↑/↓ choose, Esc closes the list. A file goes in as <code>@path</code> (<code>@&quot;my shots/login.png&quot;</code> when it has a space) and is attached when you send: the agent is told to read it, and an image goes to the model as a picture when the model takes images. <code>forgeqe run &quot;check @tests/cart.spec.ts&quot;</code> does the same. <strong><code>/paste</code></strong> attaches the picture on the clipboard (a screenshot): it is saved as <code>.forgeqe/inbox/pasted-&lt;time&gt;.png</code> where the agent works and goes in the prompt as its <code>@path</code>, to send with your words (macOS and Windows read the clipboard themselves; Linux needs <code>wl-clipboard</code> or <code>xclip</code>). Hidden files, anything named like credentials, and paths out of that folder are refused, with why.</p>
285
- <p><strong>Refine.</strong> Ctrl-R (or <em>Refine my request</em> in the palette) turns what you typed into a task specification for ForgeQE's agent, laid out as a system prompt and written in ASD-STE100 Simplified Technical English, before it is sent. It has these parts, in this order: <strong>Role</strong> (who the agent acts as), <strong>Objective</strong> (one instruction), <strong>Context</strong> (the facts, with names), <strong>Steps</strong> (only when they add something), <strong>Rules</strong> (your limits and the setup's), <strong>Output format</strong> (what comes back and how it is laid out), and <strong>Summary</strong> (what you get, in one sentence, read last):</p>
458
+ <p><strong>Command palette.</strong> A palette finds what you want by a few letters.</p>
459
+ <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>
460
+ <ol>
461
+ <li>Press Ctrl+K (⌘K on a Mac) on any page, or use <strong>Search</strong> at the top of the sidebar.</li>
462
+ <li>Type to find any page, agent, Settings section or setting (by its name or its forgeqe.yaml key, such as <code>browser.headless</code>).</li>
463
+ <li>The arrow keys move, Enter opens, Esc closes.</li>
464
+ </ol>
465
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
466
+ <p>Ctrl-P opens a palette of every action, command, profile, and example request. Type a few letters to find one (&quot;rr&quot;
467
+ finds <em>Refine my request</em>, &quot;auth&quot; finds the sign-in commands), ↑/↓ to choose, Enter to run it. Example requests are put
468
+ in the prompt for you to edit, never sent straight away.</p>
469
+ </div></div><p><strong><code>/</code> and <code>@</code> in the prompt.</strong> In the shell, typing <code>/</code> lists the commands that match. Typing <code>@</code> suggests references:</p>
470
+ <ul>
471
+ <li>recent runs (<em>last run</em>, then each by its folder);</li>
472
+ <li>files and folders in the folder the agent works in, by name or path (see <strong>Attaching files and pictures</strong>, above);</li>
473
+ <li>after <code>@</code> and a number such as <code>@1761</code>, the Azure DevOps work item with its title (read-only).</li>
474
+ </ul>
475
+ <p>Tab completes, ↑/↓ choose, Esc closes the list. In the web app, <code>@</code> in the box suggests files the same way.</p>
476
+ <p><strong>Refine.</strong> Refine turns what you typed into a task specification for ForgeQE's agent before it is sent. Refine never
477
+ runs anything, writes files, or changes a work item; it never invents an id, URL, project, or file.</p>
478
+ <p>A read-only agent writes it. It starts knowing every capability and whether it works in this setup, and the domain. It
479
+ checks names and ids in the systems that are set up (work items, test plans, pipelines, sprints, recent runs). The
480
+ result says what it <strong>checked</strong>, what it <strong>assumed</strong>, and what is <strong>missing</strong> (for example &quot;Which story? Give the work
481
+ item id&quot;); a capability that is not set up shows as missing too.</p>
482
+ <p>The request is laid out as a system prompt and written in ASD-STE100 Simplified Technical English. It has these parts,
483
+ in this order: <strong>Role</strong> (who the agent acts as), <strong>Objective</strong> (one instruction), <strong>Context</strong> (the facts, with names),
484
+ <strong>Steps</strong> (only when they add something), <strong>Rules</strong> (your limits and the setup's), <strong>Output format</strong> (what comes back
485
+ and how it is laid out), and <strong>Summary</strong> (what you get, in one sentence, read last):</p>
286
486
  <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">Role: A release analyst who reads Azure DevOps deployments.
287
487
  </span></span><span class="ln ln--gap">
288
488
  </span><span class="ln"><span class="cmd">Objective: Get what is deployed now in each environment of each Azure DevOps project.
@@ -295,9 +495,41 @@
295
495
  </span></span><span class="ln ln--gap">
296
496
  </span><span class="ln"><span class="cmd">Summary: Show the deployed build in each environment, and why each deployment failed.
297
497
  </span></span></code></pre></div>
298
- <p>Refine is one model session of its own, separate from the conversation: a few model steps (usually two) and read-only tool calls, typically 15K–25K tokens and 20–30 seconds. The panel title shows what it cost and how much of the request keeps the ASD-STE100 rules (<em>✦ Refined request · STE 100% · 20.8K tokens · 21s</em>), and its tokens count in the session total in the footer.</p>
299
- <p>A read-only agent writes it. It starts knowing every capability and whether it works in this setup, and the domain; it checks names and ids in the systems that are set up (work items, test plans, pipelines, sprints, recent runs). The panel shows the request with what it <strong>checked</strong> ✓, what it <strong>assumed</strong> ~, and what is <strong>missing</strong> ? (for example &quot;Which story? Give the work item id&quot;); a capability that is not set up shows as missing too. What is missing comes first, and the title counts it (<em>✦ Refined request · 2 to answer</em>). A refined request longer than the screen scrolls inside the panel with ↑/↓ and PgUp/PgDn (the border says so); the title and the <strong>Use refined</strong>, <strong>Edit</strong>, and <strong>Keep mine</strong> buttons stay on screen. ←/→ or Tab picks one, Enter does it; <code>e</code> puts the request in the prompt to edit, Esc keeps yours. Refine never runs anything, writes files, or changes a work item; it never invents an id, URL, project, or file.</p>
300
- <p><strong>Next steps.</strong> When a request finishes, up to three suggestions appear above the prompt: from what it produced (<em>Open the report</em>, <em>Write a test for this run</em>, <em>Why did it fail?</em>, <em>Rerun the cases that failed</em>) and from the agent's answer, which suggests the follow-ups you are likely to want (<em>Write a release report</em>, <em>Show the failed CD logs</em>). Click one or press Alt-1 to Alt-3; suggestions that start work are put in the prompt first, to adjust and send.</p>
498
+ <p>Refine is one model session of its own, separate from the conversation: a few model steps (usually two) and read-only
499
+ tool calls, typically 15K–25K tokens and 20–30 seconds.</p>
500
+ <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>
501
+ <ol>
502
+ <li>Type your request, then press <strong>Refine</strong> (the wand beside the box).</li>
503
+ <li>While it works, a note in the box says <em>Refining your request…</em>, with Stop.</li>
504
+ <li>The refined request replaces your text in the same box, with a note of what was checked, assumed and missing. Read
505
+ it, edit it, and send it.</li>
506
+ <li><strong>Undo</strong> puts your own words back.</li>
507
+ </ol>
508
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
509
+ <p>Press Ctrl-R, or pick <em>Refine my request</em> in the palette.</p>
510
+ <ul>
511
+ <li>The panel shows the request with what it <strong>checked</strong> ✓, <strong>assumed</strong> ~, and what is <strong>missing</strong> ?. What is missing
512
+ comes first, and the title counts it (<em>✦ Refined request · 2 to answer</em>).</li>
513
+ <li>The panel title shows what it cost and how much of the request keeps the ASD-STE100 rules (<em>✦ Refined request · STE
514
+ 100% · 20.8K tokens · 21s</em>). Its tokens count in the session total in the footer.</li>
515
+ <li>A refined request longer than the screen scrolls inside the panel with ↑/↓ and PgUp/PgDn (the border says so); the
516
+ title and the <strong>Use refined</strong>, <strong>Edit</strong>, and <strong>Keep mine</strong> buttons stay on screen.</li>
517
+ <li>←/→ or Tab picks a button, Enter does it; <code>e</code> puts the request in the prompt to edit, Esc keeps yours.</li>
518
+ </ul>
519
+ </div></div><p><strong>Next steps.</strong> When a request finishes, up to three suggestions appear: from what it produced (<em>Open the report</em>,
520
+ <em>Write a test for this run</em>, <em>Why did it fail?</em>, <em>Rerun the cases that failed</em>) and from the agent's answer, which
521
+ suggests the follow-ups you are likely to want (<em>Write a release report</em>, <em>Show the failed CD logs</em>).</p>
522
+ <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>
523
+ <ol>
524
+ <li>The suggestions are buttons under the reply.</li>
525
+ <li>Click one to send it as your next message.</li>
526
+ </ol>
527
+ <p>On <strong>Runs</strong>, a run's page also has next steps (<strong>Retry</strong>, <strong>Write</strong>, <strong>Investigate</strong>, <strong>Fix</strong>), each opening a chat
528
+ with the request; it asks before it changes anything.</p>
529
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
530
+ <p>The suggestions appear above the prompt. Click one or press Alt-1 to Alt-3; suggestions that start work are put in the
531
+ prompt first, to adjust and send.</p>
532
+ </div></div><p><strong>Keys in the shell.</strong></p>
301
533
  <div class="tbl tbl--cols-2"><table>
302
534
  <thead>
303
535
  <tr><th>Key</th><th>Action</th></tr>
@@ -319,79 +551,164 @@
319
551
  </table></div>
320
552
  <p>In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc cancels, and a mouse click works too. <code>esc stop</code> and <code>ctrl+c close</code> in the bar under the prompt are also clickable. <strong>Stop and close</strong> waits until the browser has shut down and the run's files are saved, then closes ForgeQE.</p>
321
553
  </div></section>
322
- <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
323
- activity, and the results (tests, reports, diffs) as they happen; pages for test management, recording, migration,
324
- regression, API tests, quality, data, runs, reports, jobs and AI assurance; and every setting as a form, with keys kept in your credential store. It
325
- listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
554
+ <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser. It has:</p>
555
+ <ul>
556
+ <li>a chat on Home, with the plan, each agent's steps and handoffs, the live activity, and the results (tests, reports,
557
+ diffs) as they happen;</li>
558
+ <li>pages for test management, recording, migration, regression, API tests, quality, data, runs, reports, jobs and AI
559
+ assurance;</li>
560
+ <li>every setting as a form, with keys kept in your credential store.</li>
561
+ </ul>
562
+ <p>It listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
326
563
  <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 web</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a free port, opened in your browser
327
564
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe web --port 4711</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a fixed port
328
565
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe web --no-open</span><span class="pad"> </span><span class="cm"><span class="h">#</span> only print the address
329
566
  </span></span></code></pre></div>
330
- <p>The first time, it opens onboarding: a guided tour through Set up (the project folder, its repository, which ForgeQE can
331
- clone, ForgeQE in it, what this computer needs, the features to download, and a model), then Models, Product knowledge
332
- and Appearance, each of which can be skipped. See <a href="../web-app/index.html">docs/WEB_APP.md</a> for every page.</p>
333
- <p><strong>Talk to it.</strong> Click <strong>Talk</strong> at the foot of the right panel, on any page, or the sound wave beside Refine on Home or
334
- in a chat, and talk: Atlas listens, answers aloud as it writes, and stops the moment you talk over it (a cough does not
335
- stop it). There is nothing to hold; it hears when you have finished. The chat is the conversation: what you say appears
336
- as your message and Atlas's reply streams in as usual. Started in a chat, Talk talks in that chat. Started anywhere
337
- else, your first words start a new chat in the background and you stay on your page; a small strip in the corner shows
338
- the last thing said, with <strong>Open the chat</strong> and <strong>End</strong>. Open another chat and Talk carries on in it; open Home and
339
- your next words start a new one. Ask for work (&quot;run the checkout tests on QA&quot;) and keep talking while it runs: say &quot;use
340
- staging instead&quot; and the work changes course. Its questions are read out: a yes-or-no question takes a plain yes or
341
- no; for the others, say an option by its name or place (&quot;the second one&quot;), then yes. A question with more than six
342
- options, or one that names production, stays on the screen for a click. Code, tables, links and file paths stay on the
343
- screen. Speech runs on this computer only: Settings › Voice sets it up once (open speech models, after you agree to the
344
- size), and nothing but the words reaches your model, as typed words do. English only for now; choose there how long it
345
- waits when you pause.</p>
346
- <p><strong>While it works.</strong> Talk says which step Atlas is on, and &quot;Still on it&quot; when a step takes long. Say &quot;wait&quot; or &quot;hold
347
- on&quot; and it stops speaking and holds the work before its next step; say &quot;go on&quot;, or anything new, and it carries on.
348
- Talking over Atlas never stops the work; the chat's <strong>Stop</strong> does. A nod (&quot;yeah&quot;, &quot;right&quot;) over it lets it finish what
349
- it was saying. A change you say during a long step is taken in when that step ends, and Talk tells you so. It reads
350
- the first three items of a list, then says how many more are on the screen. When it is free, it tells you when work
351
- elsewhere in the app has finished or needs your answer.</p>
352
- <p><strong>On the page.</strong> While Talk is on, Atlas can open a page (&quot;open regression packs&quot;), switch between light and dark,
353
- open or close the sidebar, show or hide a chat's browser, and end the talk when you ask. It can read the page you are
354
- on and use its links, tabs, filters, search boxes and text fields. It changes a setting or presses a button only after
355
- it asks (&quot;Press Run?&quot;) and you say yes; anything else is a no. It never uses a password, secret, token or key field,
356
- the Secrets section, or anything that names production. A conversation that only moves around the app like this is
357
- not listed under Chats; it becomes a chat there once Atlas starts real work, named by that request.</p>
358
- <p><strong>Found a problem in ForgeQE itself?</strong> Settings › Report a problem. ForgeQE picks the recent session that went wrong
359
- and reads its log for what was run and ForgeQE's own errors; the bug reporter (<code>forgeqe-bug-report</code>) drafts the bug from
360
- that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
361
- session's log with secrets replaced, ForgeQE's own checks, its failed runs' screenshots, pictures you add), see the whole
362
- list, and send it. The ForgeQE team's defect intake files it as a Bug in their Azure DevOps
363
- (DevCGAzureDevOps / Atlas.Ai), so you need no account there: sign in with the Azure CLI (<code>az login</code>) to your
364
- organization, or save the intake key the ForgeQE team gave you. Without either, Copy as text gives you the report to
365
- send by email or Teams.</p>
567
+ <p>The first time, it opens onboarding: a guided tour through <strong>Set up</strong> (the project folder, its repository, which
568
+ ForgeQE can clone, ForgeQE in it, what this computer needs, the features to download, and a model), then <strong>Models</strong>,
569
+ <strong>Product knowledge</strong> and <strong>Appearance</strong>, each of which can be skipped. See <a href="../web-app/index.html">docs/WEB_APP.md</a> for
570
+ every page.</p>
571
+ <p><strong>The workspace panel.</strong> The panel on the right of every page shows:</p>
572
+ <ul>
573
+ <li><strong>Environment</strong>: the project, its repository and branch, and the test environment;</li>
574
+ <li><strong>Context and tokens</strong>: for this chat and for this project;</li>
575
+ <li><strong>Background tasks</strong> running now;</li>
576
+ <li><strong>Commands</strong>: the shell commands the open chat's agents ran;</li>
577
+ <li><strong>Changes</strong>: the files the chat changed, with <strong>Pull request</strong> to ask ForgeQE to open one with them;</li>
578
+ <li><strong>Outputs</strong>: what the chat produced (reports, tests, recordings).</li>
579
+ </ul>
580
+ <p><strong>Talk</strong> is at the panel's foot.</p>
581
+ <p><strong>Talk to it.</strong> Talk is a spoken conversation with Atlas, ForgeQE's main agent, in the web app only.</p>
582
+ <ol>
583
+ <li>Set it up once in <strong>Settings › Voice</strong>: it downloads open speech models after you agree to the size. There you also
584
+ choose how long it waits when you pause. English only for now.</li>
585
+ <li>Click <strong>Talk</strong> at the foot of the right panel, on any page, or the sound wave beside Refine on Home or in a chat.</li>
586
+ <li>Talk. There is nothing to hold; it hears when you have finished. Atlas listens, answers aloud as it writes, and
587
+ stops the moment you talk over it (a cough does not stop it).</li>
588
+ </ol>
589
+ <p>The chat is the conversation: what you say appears as your message, and Atlas's reply streams in as usual.</p>
590
+ <ul>
591
+ <li>Started in a chat, Talk talks in that chat.</li>
592
+ <li>Started anywhere else, your first words start a new chat in the background and you stay on your page. A small strip
593
+ in the corner shows the last thing said, with <strong>Open the chat</strong> and <strong>End</strong>.</li>
594
+ <li>Open another chat and Talk carries on in it; open Home and your next words start a new one.</li>
595
+ <li>Ask for work (&quot;run the checkout tests on QA&quot;) and keep talking while it runs: say &quot;use staging instead&quot; and the work
596
+ changes course.</li>
597
+ <li>Its questions are read out. A yes-or-no question takes a plain yes or no. For the others, say an option by its name
598
+ or place (&quot;the second one&quot;), then yes. A question with more than six options, or one that names production, stays
599
+ on the screen for a click.</li>
600
+ <li>Code, tables, links and file paths stay on the screen.</li>
601
+ <li>Speech runs on this computer only, and nothing but the words reaches your model, as typed words do.</li>
602
+ </ul>
603
+ <p><strong>While it works.</strong></p>
604
+ <ul>
605
+ <li>Talk says which step Atlas is on, and &quot;Still on it&quot; when a step takes long.</li>
606
+ <li>Say &quot;wait&quot; or &quot;hold on&quot; and it stops speaking and holds the work before its next step. Say &quot;go on&quot;, or anything new,
607
+ and it carries on.</li>
608
+ <li>Talking over Atlas never stops the work; the chat's <strong>Stop</strong> does. A nod (&quot;yeah&quot;, &quot;right&quot;) over it lets it finish
609
+ what it was saying.</li>
610
+ <li>A change you say during a long step is taken in when that step ends, and Talk tells you so.</li>
611
+ <li>It reads the first three items of a list, then says how many more are on the screen.</li>
612
+ <li>When it is free, it tells you when work elsewhere in the app has finished or needs your answer.</li>
613
+ </ul>
614
+ <p><strong>On the page.</strong> While Talk is on, Atlas can:</p>
615
+ <ul>
616
+ <li>open a page (&quot;open regression packs&quot;);</li>
617
+ <li>switch between light and dark, open or close the sidebar, and show or hide a chat's browser;</li>
618
+ <li>end the talk when you ask;</li>
619
+ <li>read the page you are on and use its links, tabs, filters, search boxes and text fields.</li>
620
+ </ul>
621
+ <p>It changes a setting or presses a button only after it asks (&quot;Press Run?&quot;) and you say yes; anything else is a no. It
622
+ never uses a password, secret, token or key field, the Secrets section, or anything that names production. A
623
+ conversation that only moves around the app like this is not listed under Chats. It becomes a chat there once Atlas
624
+ starts real work, named by that request.</p>
625
+ <p><strong>Found a problem in ForgeQE itself?</strong> In the web app only:</p>
626
+ <ol>
627
+ <li>Open <strong>Settings › Report a problem</strong>. ForgeQE picks the recent session that went wrong and reads its log for what
628
+ was run and ForgeQE's own errors.</li>
629
+ <li>The bug reporter drafts the bug from that and asks only what it cannot find, usually what you expected.</li>
630
+ <li>Edit the draft. Keep or untick what is attached (that session's log with secrets replaced, ForgeQE's own checks,
631
+ its failed runs' screenshots, pictures you add) and see the whole list.</li>
632
+ <li>Press <strong>Send</strong>. Or press <strong>Copy</strong> to get the report as text, to send by email or Teams.</li>
633
+ </ol>
634
+ <p>The ForgeQE team's defect intake files it as a Bug in their Azure DevOps (DevCGAzureDevOps / Atlas.Ai), so you need no
635
+ account there. To send, sign in with the Azure CLI (<code>az login</code>) to your organization, or save the intake key the
636
+ ForgeQE team gave you. Without either, use <strong>Copy</strong>.</p>
366
637
  </div></section>
367
638
  </section>
368
639
  <section class="doc" id="doc-how_to_use-4-without-the-shell">
369
640
  <h3>Without the shell</h3>
370
- <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"><span class="cmd">forgeqe run &quot;Search hotels in Mumbai on booking.com&quot; --profile azure-gpt4o --plain
641
+ <div class="prose"><p>This is done at a terminal only, for scripts and pipelines. In the web app, every request is a chat.</p>
642
+ <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 run &quot;Search hotels in Mumbai on booking.com&quot; --profile azure-gpt4o --plain
371
643
  </span></span><span class="ln"><span class="cmd">forgeqe run &quot;Run the cases in smoke.yaml and don't post results&quot; --plain
372
644
  </span></span></code></pre></div>
373
- <p><code>forgeqe run</code> sends the request to the same agent and prints its tool work and its final reply. Exit codes: <code>0</code> done, <code>1</code> failed, <code>2</code> stopped (Ctrl-C), <code>3</code> the agent needs more information; run again with the details.</p>
374
- <p><code>--direct</code> skips the agent and runs the text as one browser goal, which is also what happens without the agent runtime:</p>
645
+ <p><code>forgeqe run</code> sends the request to the same agent and prints its tool work and its final reply.</p>
646
+ <div class="tbl tbl--cols-2"><table>
647
+ <thead>
648
+ <tr><th>Exit code</th><th>Meaning</th></tr>
649
+ </thead>
650
+ <tbody>
651
+ <tr><td data-label="Exit code"><code>0</code></td><td data-label="Meaning">Done</td></tr>
652
+ <tr><td data-label="Exit code"><code>1</code></td><td data-label="Meaning">Failed</td></tr>
653
+ <tr><td data-label="Exit code"><code>2</code></td><td data-label="Meaning">Stopped (Ctrl-C)</td></tr>
654
+ <tr><td data-label="Exit code"><code>3</code></td><td data-label="Meaning">The agent needs more information; run again with the details</td></tr>
655
+ </tbody>
656
+ </table></div>
657
+ <p><code>--direct</code> skips the agent and runs the text as one browser goal. This is also what happens when ForgeQE's agent
658
+ cannot start:</p>
375
659
  <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 run --direct &quot;Search hotels in Mumbai on booking.com&quot; --profile azure-gpt4o --plain --out ./.forgeqe/reports/demo
376
660
  </span></span></code></pre></div>
377
- <p>Exit codes for a direct run: <code>0</code> complete, <code>1</code> failed, <code>2</code> stopped. For test cases in a pipeline, use <code>forgeqe suite</code> (section 7), which runs the same way every time.</p>
378
- <p>Each run gets its own folder, named by its run id (the start time), under <code>.forgeqe/reports/</code> (<code>export.out_dir</code>). <code>forgeqe init</code> adds <code>.forgeqe/reports/</code> to <code>.gitignore</code>, and so does the first agent command in a project set up before that. A live run's folder contains:</p>
661
+ <p>Exit codes for a direct run: <code>0</code> complete, <code>1</code> failed, <code>2</code> stopped. For test cases in a pipeline, use <code>forgeqe suite</code>
662
+ (section 7), which runs the same way every time.</p>
663
+ <p><strong>The run folder.</strong> Each run gets its own folder, named by its run id (the start time), under <code>.forgeqe/reports/</code>
664
+ (<code>export.out_dir</code>). <code>forgeqe init</code> adds <code>.forgeqe/reports/</code> to <code>.gitignore</code>, and so does the first agent command in a
665
+ project set up before that. A live run's folder contains:</p>
379
666
  <ul>
380
- <li><code>run.json</code>: result, summary, token counts, visited URLs, the judge's check of the result (when <code>judge: true</code>), and how the browser was set up</li>
667
+ <li><code>run.json</code>: result, summary, token counts, visited URLs, the judge's check of the result (a second model call that checks the finished run, when <code>judge: true</code>), and how the browser was set up</li>
381
668
  <li><code>workflow.yaml</code>: compact steps (<code>forgeqe-v2-compact</code>) with semantic locators</li>
382
669
  <li><code>trace.md</code>: task, per-step result, failure trace</li>
383
670
  <li><code>steps.json</code> and <code>steps/</code>: each step with a screenshot</li>
384
671
  <li><code>report.html</code>: the run's report</li>
385
672
  <li><code>failure.png</code>: last screenshot, only when the run failed</li>
386
673
  </ul>
674
+ <p>In the web app, <strong>Runs</strong> lists every run, from the web app, a schedule or the terminal; a run's page shows its summary,
675
+ the conversation, its activity and its details.</p>
387
676
  </div>
388
- <section class="doc sub" id="doc-how_to_use-a-live-agent-for-programs-forgeqe-chat---jsonl"><h4>A live agent for programs (<code>forgeqe chat --jsonl</code>)</h4><div class="prose"><p>A program that needs what the shell has (one live agent per conversation, follow-ups, credentials remembered for the session, <strong>Your turn</strong> and questions, stop), such as a web UI or an IDE, starts <code>forgeqe chat --jsonl</code> and talks to it in JSON lines. It is the shell's agent and the shell's events, not a screen to scrape. ForgeQE serves no HTTP here: the program that starts the process owns transport, users, and sign-in.</p>
677
+ <section class="doc sub" id="doc-how_to_use-a-live-agent-for-programs-forgeqe-chat---jsonl"><h4>A live agent for programs (<code>forgeqe chat --jsonl</code>)</h4><div class="prose"><p>This is a reference for programs, run from a terminal or started by another program; people use the web app or the
678
+ shell.</p>
679
+ <p>A program that needs what the shell has, such as a web UI or an IDE, starts <code>forgeqe chat --jsonl</code> and talks to it in
680
+ JSON lines. It gets:</p>
681
+ <ul>
682
+ <li>one live agent per conversation, with follow-ups;</li>
683
+ <li>credentials remembered for the session;</li>
684
+ <li><strong>Your turn</strong> and questions;</li>
685
+ <li>stop.</li>
686
+ </ul>
687
+ <p>It is the shell's agent and the shell's events, not a screen to scrape. ForgeQE serves no HTTP here: the program that
688
+ starts the process owns transport, users, and sign-in.</p>
389
689
  <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 chat --jsonl [--repo DIR | --no-code] [--profile NAME] [--url URL] [--headed]
390
690
  </span></span><span class="ln"><span class="cmd"> [--browser-provider local|docker|browserstack|testmu] [--devices a,b] [--max-steps N]
391
691
  </span></span><span class="ln"><span class="cmd"> [--replay MODE] [--no-memory] [--carry-over FILE] [--config forgeqe.yaml] [--verbose] [--debug]
392
692
  </span></span></code></pre></div>
393
- <p>The flags mean what they mean for <code>forgeqe run</code> and <code>forgeqe start</code>. <code>--jsonl</code> is required (the only format so far). <code>--carry-over FILE</code> is a JSON list <code>[{&quot;user&quot;: &quot;...&quot;, &quot;reply&quot;: &quot;...&quot;}, ...]</code>: the turns of an earlier conversation whose process has gone (a server closing idle chats). The first message then reaches the agent with those turns before it, as when you switch profiles in the shell. To change the model mid-chat, send a <code>model</code> line: the same agent session goes on with the new model (below). <code>--verbose</code> also writes readable event lines to stderr.</p>
394
- <p>The process opens ForgeQE's agent on the first message and keeps it for every later one; it ends it on <code>close</code>, the end of stdin, or a signal. It works like the shell: background monitors are allowed and stop when it exits, and passed runs become tests unless <code>--no-code</code>. A request that was run before and passed is run again as recorded, without the agent, as in the shell (Tier 0, <code>registry.mode</code>); its turn ends with the result as the reply. When the agent cannot run (no model, no agent runtime), the process writes <code>fatal</code> and exits 1 before it reads anything: it never falls back to a browser goal.</p>
693
+ <p>The flags mean what they mean for <code>forgeqe run</code> and <code>forgeqe start</code>.</p>
694
+ <ul>
695
+ <li><code>--jsonl</code> is required (the only format so far).</li>
696
+ <li><code>--carry-over FILE</code> is a JSON list <code>[{&quot;user&quot;: &quot;...&quot;, &quot;reply&quot;: &quot;...&quot;}, ...]</code>: the turns of an earlier conversation
697
+ whose process has gone (a server closing idle chats). The first message then reaches the agent with those turns
698
+ before it, as when you switch profiles in the shell.</li>
699
+ <li><code>--verbose</code> also writes readable event lines to stderr.</li>
700
+ <li>To change the model mid-chat, send a <code>model</code> line: the same agent session goes on with the new model (below).</li>
701
+ </ul>
702
+ <p><strong>How the process runs.</strong> The process opens ForgeQE's agent on the first message and keeps it for every later one. It
703
+ ends it on <code>close</code>, the end of stdin, or a signal. It works like the shell:</p>
704
+ <ul>
705
+ <li>Background monitors are allowed and stop when it exits.</li>
706
+ <li>Passed runs become tests unless <code>--no-code</code>.</li>
707
+ <li>A request that was run before and passed is run again as recorded, without the agent, as in the shell
708
+ (<code>registry.mode</code>). Its turn ends with the result as the reply.</li>
709
+ <li>When the agent cannot run (no model, or the agent cannot start), the process writes <code>fatal</code> and exits 1 before it
710
+ reads anything. It never falls back to a browser goal.</li>
711
+ </ul>
395
712
  <p><strong>stdout</strong> carries only JSON lines: one object per line, UTF-8, ending in <code>\n</code>. Logs, warnings, and anything a library prints go to stderr. Lines can be long (a card, a suite result); do not assume a maximum length. Every line has <code>&quot;v&quot;: 1</code>, <code>&quot;seq&quot;</code> (1, 2, 3, … in this process), and <code>&quot;t&quot;</code> (ISO time). Every string is passed through the session's secret redaction, so a password given in a message never comes back out, not even inside a tool result; profile keys and the values of ForgeQE's own secret variables never appear.</p>
396
713
  <p><strong>Input</strong> (stdin), one JSON object per line:</p>
397
714
  <div class="tbl tbl--cols-3"><table>
@@ -405,7 +722,7 @@ send by email or Teams.</p>
405
722
  <tr><td data-label="type"><code>steer</code></td><td data-label="Fields"><code>id</code> (yours), <code>text</code> (at most 4000 characters), optional <code>note</code></td><td data-label="Meaning">A change of plan into the running turn: the agent reads it before its next step and the turn goes on. Answered with <code>steered</code>; <code>error</code> <code>idle</code> when no turn runs (send a <code>message</code>), <code>not_steered</code> when the turn ended before it reached the agent</td></tr>
406
723
  <tr><td data-label="type"><code>pause</code> / <code>resume</code></td><td data-label="Fields"></td><td data-label="Meaning">Holds the running turn before its next tool call, or lets it go on. Answered with <code>paused</code> or <code>resumed</code>; <code>error</code> <code>idle</code> when nothing runs or is paused</td></tr>
407
724
  <tr><td data-label="type"><code>warm</code></td><td data-label="Fields"></td><td data-label="Meaning">Opens the agent now, so the first message is answered sooner. Nothing is written back</td></tr>
408
- <tr><td data-label="type"><code>screen</code></td><td data-label="Fields"><code>id</code> (the read it answers), <code>text</code></td><td data-label="Meaning">The page's text for the agent's <code>read_screen</code>, for a web app. <code>error</code> <code>unknown_id</code> when no read waits</td></tr>
725
+ <tr><td data-label="type"><code>screen</code></td><td data-label="Fields"><code>id</code> (the read it answers), <code>text</code></td><td data-label="Meaning">The page's text, when the agent asked to read the screen of a web app. <code>error</code> <code>unknown_id</code> when no read waits</td></tr>
409
726
  <tr><td data-label="type"><code>stop</code></td><td data-label="Fields">optional <code>safe</code> (<code>true</code>)</td><td data-label="Meaning">Stops the running turn (Esc or <code>/stop</code> in the shell). Nothing when idle. With <code>safe</code>, a step that is not safe to cut off finishes first: <code>stopping</code> names it, then the turn stops</td></tr>
410
727
  <tr><td data-label="type"><code>settings</code></td><td data-label="Fields"><code>headed</code> and/or <code>writeTests</code> (each <code>true</code> or <code>false</code>, nothing else)</td><td data-label="Meaning">Changes the chat's choices from now on: whether browser runs are shown (as <code>--headed</code>), and whether passed runs become tests (as <code>--no-code</code>, off). The next browser run uses them; the agent is told of a change with your next message. Answered with <code>settings</code></td></tr>
411
728
  <tr><td data-label="type"><code>model</code></td><td data-label="Fields"><code>profile</code> (a profile name, nothing else)</td><td data-label="Meaning">The chat's model from the next message, as a model picker does: the same agent session goes on, with the conversation, its tools and files, and the agent is told of the change with your next message; ForgeQE's tools use that profile too. Before the agent opens, any profile of llms.json; after, one of the <code>models</code> line. Refused with <code>error</code> <code>busy</code> while a turn runs, <code>bad_input</code> for anything else. Answered with <code>model</code></td></tr>
@@ -424,8 +741,8 @@ send by email or Teams.</p>
424
741
  <tr><td data-label="type"><code>model</code></td><td data-label="Fields"><code>profile</code> (<code>name</code>, <code>provider</code>)</td><td data-label="When">After a <code>model</code> line: the profile answering from the next message</td></tr>
425
742
  <tr><td data-label="type"><code>turn_start</code></td><td data-label="Fields"><code>id</code></td><td data-label="When">A message was accepted</td></tr>
426
743
  <tr><td data-label="type"><code>settings</code></td><td data-label="Fields"><code>headed</code>, <code>writeTests</code></td><td data-label="When">After a <code>settings</code> line: the choices now in force</td></tr>
427
- <tr><td data-label="type"><code>agent</code></td><td data-label="Fields"><code>id</code>, <code>event</code>: a <code>CodeEvent</code> (<code>stream</code>, <code>say</code>, <code>start</code>, <code>tool</code>, <code>plan</code>, <code>usage</code>, <code>context</code>, <code>test</code>, <code>info</code>, …)</td><td data-label="When">While the turn runs</td></tr>
428
- <tr><td data-label="type"><code>tool</code></td><td data-label="Fields"><code>id</code>, <code>event</code>: a <code>ToolEvent</code> (<code>run-start</code>, <code>run-event</code>, <code>run-done</code>, <code>suite-*</code>, <code>card</code>, <code>info</code>, <code>agent</code>, <code>code-*</code>, …)</td><td data-label="When">While the turn runs; <code>id</code> is <code>null</code> for a background monitor between turns</td></tr>
744
+ <tr><td data-label="type"><code>agent</code></td><td data-label="Fields"><code>id</code>, <code>event</code>: an agent event (its <code>kind</code>: <code>stream</code>, <code>say</code>, <code>start</code>, <code>tool</code>, <code>plan</code>, <code>usage</code>, <code>context</code>, <code>test</code>, <code>info</code>, …)</td><td data-label="When">While the turn runs</td></tr>
745
+ <tr><td data-label="type"><code>tool</code></td><td data-label="Fields"><code>id</code>, <code>event</code>: a tool event (its <code>type</code>: <code>run-start</code>, <code>run-event</code>, <code>run-done</code>, <code>suite-*</code>, <code>card</code>, <code>info</code>, <code>agent</code>, <code>code-*</code>, …)</td><td data-label="When">While the turn runs; <code>id</code> is <code>null</code> for a background monitor between turns</td></tr>
429
746
  <tr><td data-label="type"><code>ask</code></td><td data-label="Fields"><code>id</code> (<code>ask-N</code>), <code>turn</code>, <code>question</code> (<code>title</code>, <code>detail</code>, <code>lines</code>, <code>options[{id, label}]</code>)</td><td data-label="When">A tool asks you to choose</td></tr>
430
747
  <tr><td data-label="type"><code>wait</code></td><td data-label="Fields"><code>id</code> (<code>wait-N</code>), <code>turn</code>, <code>prompt</code></td><td data-label="When">A tool waits for you to do something by hand</td></tr>
431
748
  <tr><td data-label="type"><code>turn_done</code></td><td data-label="Fields"><code>id</code>, <code>outcome</code> (<code>done</code>, <code>failed</code>, <code>needs_input</code>, <code>stopped</code>), <code>reply</code> (the visible reply), <code>next</code> (follow-ups), <code>error</code> (when there is one), <code>usage</code> (the agent's usage so far, <code>null</code> before it opened)</td><td data-label="When">The turn ended, whatever the way</td></tr>
@@ -437,7 +754,8 @@ send by email or Teams.</p>
437
754
  <tr><td data-label="type"><code>closed</code></td><td data-label="Fields"></td><td data-label="When">The last line before a clean exit</td></tr>
438
755
  </tbody>
439
756
  </table></div>
440
- <p><code>CodeEvent</code> and <code>ToolEvent</code> are passed through as they are: their types in <code>src/types.ts</code> and <code>src/mcp/tools.ts</code> are the contract. Rules:</p>
757
+ <p><strong>Rules.</strong> Agent and tool events are passed through as ForgeQE's agent and tools produce them: their fields are the
758
+ contract.</p>
441
759
  <ul>
442
760
  <li>Every turn that got <code>turn_start</code> gets exactly one <code>turn_done</code>, also after an error (<code>outcome: &quot;failed&quot;</code> with the <code>error</code>).</li>
443
761
  <li>One <code>ask</code> and one <code>wait</code> can be pending at a time. <code>answer</code> or <code>continue</code> with an id that is not pending gets <code>error</code> <code>unknown_id</code>, and nothing else happens.</li>
@@ -445,7 +763,7 @@ send by email or Teams.</p>
445
763
  <li>If the agent fails to start on a message, that turn ends <code>failed</code> with the error, and the next message tries again.</li>
446
764
  <li>Exit codes: 0 after <code>closed</code>, 1 after <code>fatal</code>, 2 after SIGINT or SIGTERM (the turn is stopped and the agent closed first).</li>
447
765
  </ul>
448
- <p>A complete exchange (<code>→</code> stdout, <code>←</code> stdin; <code>t</code> left out):</p>
766
+ <p><strong>A complete exchange</strong> (<code>→</code> stdout, <code>←</code> stdin; <code>t</code> left out):</p>
449
767
  <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">→ {&quot;v&quot;:1,&quot;seq&quot;:1,&quot;type&quot;:&quot;ready&quot;,&quot;protocol&quot;:1,&quot;version&quot;:&quot;2.3.11&quot;,&quot;cwd&quot;:&quot;/srv/studio/users/ana/workspace&quot;,&quot;writeTests&quot;:true,&quot;headed&quot;:false,&quot;profile&quot;:{&quot;name&quot;:&quot;copilot&quot;,&quot;provider&quot;:&quot;github_copilot&quot;}}
450
768
  </span></span><span class="ln"><span class="cmd">← {&quot;type&quot;:&quot;message&quot;,&quot;id&quot;:&quot;m1&quot;,&quot;text&quot;:&quot;Run SHOP-12 on staging&quot;}
451
769
  </span></span><span class="ln"><span class="cmd">→ {&quot;v&quot;:1,&quot;seq&quot;:2,&quot;type&quot;:&quot;turn_start&quot;,&quot;id&quot;:&quot;m1&quot;}