@capagents/forgeqe 3.0.3 → 3.0.5

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 (160) hide show
  1. package/HOW_TO_USE.md +190 -189
  2. package/README.md +12 -12
  3. package/THIRD_PARTY_NOTICES.md +2 -2
  4. package/dist/docs-site/architecture-map/index.html +6 -6
  5. package/dist/docs-site/docs/architecture/index.html +31 -31
  6. package/dist/docs-site/docs/containers/index.html +9 -10
  7. package/dist/docs-site/docs/custom-agents-first-run/index.html +5 -5
  8. package/dist/docs-site/docs/desktop/index.html +8 -10
  9. package/dist/docs-site/docs/feature-test-prompts/index.html +4 -4
  10. package/dist/docs-site/docs/graphify/index.html +1 -1
  11. package/dist/docs-site/docs/index.html +214 -165
  12. package/dist/docs-site/docs/mobile/index.html +6 -6
  13. package/dist/docs-site/docs/model-routing/index.html +58 -10
  14. package/dist/docs-site/docs/product-graph/index.html +3 -3
  15. package/dist/docs-site/docs/product-views/index.html +1 -1
  16. package/dist/docs-site/docs/search.js +1 -1
  17. package/dist/docs-site/docs/web-app/index.html +6 -6
  18. package/dist/forgeqe.js +1858 -1825
  19. package/dist/template.html +69 -69
  20. package/dist/web/assets/Agent-BF6goYbq.js +8 -0
  21. package/dist/web/assets/ApiTests-08El24XV.js +10 -0
  22. package/dist/web/assets/Browse-DB7lNo6R.js +2 -0
  23. package/dist/web/assets/Chat-Co7EJfA9.js +5 -0
  24. package/dist/web/assets/{CommandPalette-CAAPFMZn.js → CommandPalette-BkNNac9P.js} +1 -1
  25. package/dist/web/assets/{Compare-DZfbMjDK.js → Compare-Ce214eXq.js} +1 -1
  26. package/dist/web/assets/Cost-B_oVlEve.js +1 -0
  27. package/dist/web/assets/Data-BNXAWpvT.js +6 -0
  28. package/dist/web/assets/Desktop-Dnsmc_L-.js +1 -0
  29. package/dist/web/assets/DesktopReview-C7SG_gBt.js +1 -0
  30. package/dist/web/assets/{Evidence-CijYL67k.js → Evidence-C6PtAQ6y.js} +1 -1
  31. package/dist/web/assets/{Explore-DZ5PoVZp.js → Explore-BN8zgzmv.js} +2 -2
  32. package/dist/web/assets/{Features-BvZfZIb7.js → Features-DRONEGA3.js} +1 -1
  33. package/dist/web/assets/{Flags-B_-HOAeZ.js → Flags-CF8Zboey.js} +2 -2
  34. package/dist/web/assets/{Flaky-CWyV0rE3.js → Flaky-B6IYRvE2.js} +1 -1
  35. package/dist/web/assets/Impact-DglYEuEY.js +3 -0
  36. package/dist/web/assets/Jobs-BX-DXp28.js +5 -0
  37. package/dist/web/assets/KindPage-ByaxfUiE.js +6 -0
  38. package/dist/web/assets/Migration-wVEuZ3zr.js +2 -0
  39. package/dist/web/assets/Product-Bcv7xIYx.js +7 -0
  40. package/dist/web/assets/{Production-Dakb3WS-.js → Production-DTdUc-ze.js} +1 -1
  41. package/dist/web/assets/{Quality-CcrANX20.js → Quality-B0MRg6wI.js} +1 -1
  42. package/dist/web/assets/{Readiness-DvYQ17Oh.js → Readiness-XpGisxdv.js} +1 -1
  43. package/dist/web/assets/Record-C0vcXk-u.js +2 -0
  44. package/dist/web/assets/Regression-CthpK77C.js +5 -0
  45. package/dist/web/assets/{RelationGraph-evMcSFoO.js → RelationGraph-MHWsIy8b.js} +1 -1
  46. package/dist/web/assets/Reports-Cy1MvUqg.js +2 -0
  47. package/dist/web/assets/Response-53IPohSg.js +4 -0
  48. package/dist/web/assets/RunDiff-BQH6Wacd.js +1 -0
  49. package/dist/web/assets/Runs-IwZWhlyu.js +2 -0
  50. package/dist/web/assets/Steps-DKCrz0ed.js +2 -0
  51. package/dist/web/assets/{TestCases-93xQKkMT.js → TestCases-Bt81xr3X.js} +1 -1
  52. package/dist/web/assets/TestData-CXRhxaD8.js +2 -0
  53. package/dist/web/assets/{TestDebt-CE62ftuJ.js → TestDebt-DM5VeTwn.js} +1 -1
  54. package/dist/web/assets/Tosca-B42EZ5YF.js +3 -0
  55. package/dist/web/assets/{WhatsNew-lX-LhWKt.js → WhatsNew-D3yHnxgW.js} +1 -1
  56. package/dist/web/assets/agentLink-BlI6CU6m.js +1 -0
  57. package/dist/web/assets/{dataParts-LCnV1x8c.js → dataParts-B0tYVMhQ.js} +2 -2
  58. package/dist/web/assets/{families-DLmHA4rL.js → families-DGOQO6Mu.js} +1 -1
  59. package/dist/web/assets/filters-Btr3PTRn.js +1 -0
  60. package/dist/web/assets/{fold-pif2b5qg.js → fold-B_G_xXZM.js} +1 -1
  61. package/dist/web/assets/frame-CU0pSxTD.js +18 -0
  62. package/dist/web/assets/index-CCNq91up.js +68 -0
  63. package/dist/web/assets/index-D6jp6pDW.css +2 -0
  64. package/dist/web/assets/{logos-gqcS1A90.js → logos-DpiYLP3H.js} +1 -1
  65. package/dist/web/assets/{markdown-BcuknPlh.js → markdown-Dn8IZFhS.js} +5 -5
  66. package/dist/web/assets/{paletteCommands-qeRU49pp.js → paletteCommands-DKcFFV7I.js} +1 -1
  67. package/dist/web/assets/{parts-C7nGHnut.js → parts-Ct3kXHNO.js} +1 -1
  68. package/dist/web/assets/{productParts-3lWHIbdH.js → productParts-IDyVJAgM.js} +1 -1
  69. package/dist/web/assets/{qualityParts-B-TQusS6.js → qualityParts-Db6YfFIY.js} +1 -1
  70. package/dist/web/assets/recordTest-_r_cdTC6.js +1 -0
  71. package/dist/web/assets/{rows-vVKLONno.js → rows-De2l3NFN.js} +1 -1
  72. package/dist/web/assets/{segmented-Bi4QAoQY.js → segmented-CHGzMxbS.js} +1 -1
  73. package/dist/web/assets/{usePageChat-De5Fn1X3.js → usePageChat-CpAYTNqJ.js} +1 -1
  74. package/dist/web/index.html +5 -5
  75. package/docs/ARCHITECTURE.md +30 -30
  76. package/docs/BUSINESS_ASSURANCE.md +7 -7
  77. package/docs/CONTAINERS.md +8 -10
  78. package/docs/CUSTOM_AGENTS_FIRST_RUN.md +4 -4
  79. package/docs/DESKTOP.md +8 -10
  80. package/docs/GRAPHIFY.md +1 -1
  81. package/docs/MOBILE.md +6 -6
  82. package/docs/MODEL_ROUTING.md +57 -9
  83. package/docs/PRODUCT_KNOWLEDGE.md +3 -3
  84. package/docs/PRODUCT_VIEWS.md +1 -1
  85. package/docs/WEB_APP.md +6 -6
  86. package/docs/demo-qi-commerce.md +30 -30
  87. package/docs/feature-test-prompts.md +3 -3
  88. package/docs/prompts/graphify-evidence.md +3 -3
  89. package/docs/security-data-flow.html +23 -23
  90. package/docs/user-guide.html +214 -165
  91. package/docs/walkthrough/hotfix-narration.md +19 -19
  92. package/docs/walkthrough/index.html +26 -26
  93. package/env.example.yaml +1 -1
  94. package/evals/evidence/records/forgeqe-test-writing/source.jsonl +1 -1
  95. package/forgeqe-architecture.html +48 -48
  96. package/forgeqe.example.yaml +16 -10
  97. package/package.json +1 -1
  98. package/prompts/README.md +7 -7
  99. package/prompts/agent-builder.md +1 -1
  100. package/prompts/api-tests.md +1 -1
  101. package/prompts/brain.md +8 -5
  102. package/prompts/business-interview.md +3 -3
  103. package/prompts/business-persona.md +3 -3
  104. package/prompts/business-strategist.md +1 -1
  105. package/prompts/db-agent.md +3 -3
  106. package/prompts/doc-reader.md +2 -2
  107. package/prompts/heal.md +1 -1
  108. package/prompts/knowledge-agent.md +3 -3
  109. package/prompts/model-profile.md +1 -1
  110. package/prompts/page-differs.md +1 -1
  111. package/prompts/persona-own.md +3 -3
  112. package/prompts/talk.md +3 -2
  113. package/prompts/test-agent.md +2 -2
  114. package/prompts/test-plan.md +2 -2
  115. package/prompts/tosca-assistant.md +1 -1
  116. package/py/forgeqe_engine/copilot_gateway.py +1 -1
  117. package/py/forgeqe_engine/memory.py +48 -2
  118. package/py/forgeqe_engine/recordsession.py +31 -1
  119. package/py/forgeqe_engine/video.py +104 -12
  120. package/py/forgeqe_engine/webrecord_page.py +88 -7
  121. package/py/forgeqe_tosca/__init__.py +2 -2
  122. package/py/forgeqe_tosca/render.py +1 -1
  123. package/py/forgeqe_tosca/tsu.py +2 -2
  124. package/skills/playwright-automation/SKILL.md +102 -0
  125. package/skills/playwright-automation/references/dotnet.md +90 -0
  126. package/skills/playwright-automation/references/java.md +41 -0
  127. package/skills/playwright-automation/references/python.md +42 -0
  128. package/skills/playwright-automation/references/typescript.md +54 -0
  129. package/skills/test-data/SKILL.md +1 -1
  130. package/skills/writing-skills/SKILL.md +2 -2
  131. package/dist/web/assets/Agent-Bha4Lr91.js +0 -8
  132. package/dist/web/assets/ApiTests-xhnOnRi9.js +0 -10
  133. package/dist/web/assets/Browse-DPfzCrMZ.js +0 -2
  134. package/dist/web/assets/Chat-DuLj5IPw.js +0 -5
  135. package/dist/web/assets/Cost-PNcsRgPW.js +0 -1
  136. package/dist/web/assets/Data-DaKzcO_S.js +0 -6
  137. package/dist/web/assets/Desktop-sXYXYwRy.js +0 -1
  138. package/dist/web/assets/DesktopReview-Bz6bfPkM.js +0 -1
  139. package/dist/web/assets/Impact-BqHiKxoG.js +0 -3
  140. package/dist/web/assets/Jobs-DUfRHoko.js +0 -5
  141. package/dist/web/assets/KindPage-Dj3vryGF.js +0 -6
  142. package/dist/web/assets/Migration-CP3o4tLy.js +0 -2
  143. package/dist/web/assets/Product-BeHmrA7Z.js +0 -7
  144. package/dist/web/assets/Record-V7x9VxRQ.js +0 -2
  145. package/dist/web/assets/Regression-DgXh0V-X.js +0 -5
  146. package/dist/web/assets/Reports--eyV0Gfp.js +0 -2
  147. package/dist/web/assets/Response-B1S-n787.js +0 -4
  148. package/dist/web/assets/RunDiff-DwEopDsx.js +0 -1
  149. package/dist/web/assets/Runs-B6bSGdrI.js +0 -2
  150. package/dist/web/assets/Steps-DxPqrmZK.js +0 -2
  151. package/dist/web/assets/TestData-BiW5r9gA.js +0 -2
  152. package/dist/web/assets/Tosca-CrvuVNqG.js +0 -3
  153. package/dist/web/assets/agentLink-ZQZx1pK-.js +0 -1
  154. package/dist/web/assets/filters-CorGh2vA.js +0 -1
  155. package/dist/web/assets/frame-BgpCUEoM.js +0 -18
  156. package/dist/web/assets/index-0YhzcgZJ.css +0 -2
  157. package/dist/web/assets/index-CEVZ8F8_.js +0 -67
  158. package/dist/web/assets/recordTest-BmD8jtw0.js +0 -1
  159. package/skills/dotnet-nunit-playwright/SKILL.md +0 -36
  160. package/skills/playwright-typescript/SKILL.md +0 -36
@@ -127,7 +127,7 @@
127
127
 
128
128
  <section class="chapter" id="overview" aria-labelledby="overview-h">
129
129
  <header class="chead"><img class="pix pix--chapter" src="../img/icons/context-engine.svg" alt="" width="40" height="40"><span class="mono">01</span><h2 id="overview-h">Overview</h2><p>What ForgeQE is, and everything it can do</p></header>
130
- <div class="lead prose"><p>ForgeQE is a browser agent CLI. Say what you want in plain language: a goal to carry out in a browser, test cases to run from Jira, Azure DevOps, Xray or a file, a test to write, or a CI pipeline to set up. ForgeQE's agent works out what that needs, the ForgeQE engine drives a local Chrome or Chromium by default or BrowserStack or TestMu AI/LambdaTest when configured, and a run that passes becomes a test in your repo, written by <strong>Scribe</strong>, ForgeQE's coding agent.</p>
130
+ <div class="lead prose"><p>ForgeQE is a browser agent CLI. Say what you want in plain language: a goal to carry out in a browser, test cases to run from Jira, Azure DevOps, Xray or a file, a test to write, or a CI pipeline to set up. ForgeQE's agent works out what that needs, the ForgeQE engine drives a local Chrome or Chromium by default or BrowserStack or TestMu AI/LambdaTest when configured, and a run that passes becomes a test in your repo, written by <strong>Quill</strong>, ForgeQE's coding agent.</p>
131
131
  <p>No server, database, or Docker. You configure a model and run it from the terminal.</p>
132
132
  <div class="tbl"><table>
133
133
  <thead>
@@ -152,7 +152,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
152
152
  <h3 class="band-title">Every feature</h3>
153
153
  <div class="area"><a href="#area-browser" class="area-name"><span class="mono">Browser</span></a><ul class="tiles"><li><a href="#cap-browser-goals" class="tile"><b>Run any goal in a real browser</b><span>Go to booking.com and search hotels in Mumbai for next weekend</span></a></li><li><a href="#cap-logins" class="tile"><b>Saved logins for the application under test</b><span>Sign in to the admin site and keep the session</span></a></li><li><a href="#cap-record-web" class="tile"><b>Record a web test by hand</b><span>I'll show you the checkout steps in the shop: record them</span></a></li></ul></div>
154
154
  <div class="area"><a href="#area-test-cases" class="area-name"><span class="mono">Test cases</span></a><ul class="tiles"><li><a href="#cap-run-test-cases" class="tile"><b>Run manual test cases in browsers</b><span>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</span></a></li><li><a href="#cap-test-case-quality" class="tile"><b>Check and improve test cases</b><span>Are the cases in test plan 12 good enough to run?</span></a></li><li><a href="#cap-write-test-cases" class="tile"><b>Write test cases from a story</b><span>Write test cases for story 1234 and save them</span></a></li><li><a href="#cap-domain-compliance" class="tile"><b>Domain and regulatory test design</b><span>Write test cases for story 1234, covering our DORA and PSD2 obligations</span></a></li><li><a href="#cap-exploratory-testing" class="tile"><b>Exploratory testing of a story</b><span>Explore story 1234 and find bugs</span></a></li><li><a href="#cap-business-personas" class="tile"><b>Business personas for testing</b><span>Create a persona of an SME in payments</span></a></li><li><a href="#cap-business-assurance" class="tile"><b>Business assurance: testing as the business, its customers and its opportunists</b><span>Test our refunds and coupons the way an opportunistic customer would</span></a></li></ul></div>
155
- <div class="area"><a href="#area-setup" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="#cap-product-knowledge" class="tile"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a href="#cap-knowledge-agent" class="tile"><b>The Knowledge agent: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a href="#cap-document-search" class="tile"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a href="#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
155
+ <div class="area"><a href="#area-setup" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="#cap-product-knowledge" class="tile"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a href="#cap-knowledge-agent" class="tile"><b>Librarian: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a href="#cap-document-search" class="tile"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a href="#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
156
156
  <div class="area"><a href="#area-desktop" class="area-name"><span class="mono">Desktop</span></a><ul class="tiles"><li><a href="#cap-desktop-apps" class="tile"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
157
157
  <div class="area"><a href="#area-mobile" class="area-name"><span class="mono">Mobile</span></a><ul class="tiles"><li><a href="#cap-mobile-apps" class="tile"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
158
158
  <div class="area"><a href="#area-operations" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="#cap-production-errors" class="tile"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a href="#cap-model-cost" class="tile"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a href="#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
@@ -210,7 +210,7 @@ export WP_AZURE_API_KEY=... # the key your llms.json profile names (P
210
210
  forgeqe models # check the profiles
211
211
  forgeqe start # the shell
212
212
  </code></pre></div>
213
- <p>With GitHub Copilot licences instead of a model key, sign in rather than exporting one. The sign-in lists your seat's models, recommends one (it takes screenshots and, where the plan has one, uses no premium requests), and writes your choice to <code>llms.json</code> as the <code>copilot</code> profile, made the default. Everything then runs on your Copilot seat: ForgeQE's agent, Scribe, and the browser, desktop and mobile engines. No other model is needed:</p>
213
+ <p>With GitHub Copilot licences instead of a model key, sign in rather than exporting one. The sign-in lists your seat's models, recommends one (it takes screenshots and, where the plan has one, uses no premium requests), and writes your choice to <code>llms.json</code> as the <code>copilot</code> profile, made the default. Everything then runs on your Copilot seat: ForgeQE's agent, Quill, and the browser, desktop and mobile engines. No other model is needed:</p>
214
214
  <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><code>forgeqe setup # the engine and GitHub's Copilot SDK
215
215
  forgeqe auth login copilot # opens GitHub in your browser to sign in, then pick the model
216
216
  forgeqe doctor # checks the engine, the SDK, the agent runtime, the sign-in and each model
@@ -312,7 +312,7 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
312
312
  <tbody>
313
313
  <tr><td>The browser engine (every browser run: <code>run --direct</code>, suites, monitoring)</td><td><code>engine_model</code> or <code>model</code>, on the Copilot seat</td><td><code>forgeqe auth login copilot</code></td></tr>
314
314
  <tr><td>The desktop and mobile agents</td><td><code>engine_model</code> or <code>model</code>, on the Copilot seat</td><td><code>forgeqe auth login copilot</code></td></tr>
315
- <tr><td>ForgeQE's agent and Scribe</td><td><code>model</code>, on the Copilot seat</td><td><code>forgeqe auth login copilot</code></td></tr>
315
+ <tr><td>ForgeQE's agent and Quill</td><td><code>model</code>, on the Copilot seat</td><td><code>forgeqe auth login copilot</code></td></tr>
316
316
  </tbody>
317
317
  </table></div>
318
318
  <p>Copilot runs one SDK session per model request, with none of Copilot's own tools and your request's system prompt in place of Copilot's. The agent's tools are offered to the model as the session's only tools; when it calls one, the gateway ends the turn and hands the call back to ForgeQE's agent runtime, which runs it (with the same permissions as on any other model) and sends the result with the next request. The gateway itself runs nothing.</p>
@@ -419,7 +419,7 @@ once it is measured on labelled runs at the bar its owner set; otherwise it warn
419
419
  verdict) and Contracts (each contract, and how well each check is measured).
420
420
  <a href="evidence/index.html">docs/EVIDENCE.md</a> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
421
421
  </div></section>
422
- <section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Scribe, the reviewer, and the browser agent each keep their own conversation with the model. The Context panel shows the working agent's (or the last one to call the model), named on its Agent row, as a share of what it can hold before the agent runtime compacts it. When it compacts, the runtime summarises the conversation so far to make room, Activity says so, and details from early on may be gone. The browser agent never compacts: it keeps its last steps only.</p>
422
+ <section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Quill, the reviewer, and the browser agent each keep their own conversation with the model. The Context panel shows the working agent's (or the last one to call the model), named on its Agent row, as a share of what it can hold before the agent runtime compacts it. When it compacts, the runtime summarises the conversation so far to make room, Activity says so, and details from early on may be gone. The browser agent never compacts: it keeps its last steps only.</p>
423
423
  <p>ForgeQE takes each model's window from its name (GPT-5: 400K, of which a prompt may take 272K; GPT-4.1: 1M; GPT-4o: 128K; o-series and Claude: 200K; Gemini: 1M; anything else: 200K) and gives it to the agent runtime, which compacts at that window less room for the answer. Where a deployment or server allows less, say so with <code>&quot;context&quot;</code> in the profile in <code>llms.json</code>:</p>
424
424
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre><code>&quot;ollama-llama&quot;: { &quot;provider&quot;: &quot;ollama&quot;, &quot;model&quot;: &quot;llama3.2&quot;, &quot;endpoint&quot;: &quot;http://127.0.0.1:11434/v1&quot;, &quot;context&quot;: 32768 }
425
425
  </code></pre></div>
@@ -513,7 +513,7 @@ recorded, such as an accessibility persona's barriers). No answer in 10 minutes
513
513
  about (a schedule, CI, <code>--yes</code>) stops at its limit as before. A run that stops at a limit is not counted as passed.
514
514
  A run that has made no progress by a <code>max_steps</code> checkpoint (its recent steps all failed) asks the same way before it
515
515
  stops, instead of ending there: you may know the page is slow or the form is long. <code>code.max_tokens</code> asks the same way for
516
- the coding agent and the API test writer. <code>forgeqe suite</code> in a terminal asks too, for each case's browser run and coding job,
516
+ the coding agent and Link. <code>forgeqe suite</code> in a terminal asks too, for each case's browser run and coding job,
517
517
  one question at a time when cases run side by side.</p>
518
518
  <p><code>judge</code> is off by default. When it is on, one more model call reads the finished run's steps and screenshots and can fail a run the agent completed, for example when five scores were read off one results page rather than one step per item. That strictness sent runs into loops of re-checking, so turn it on only when you want that second opinion.</p>
519
519
  <p>Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
@@ -681,7 +681,7 @@ Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make i
681
681
  </tbody>
682
682
  </table></div>
683
683
  <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>
684
- <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>Coding agent</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>
684
+ <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>
685
685
  <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>
686
686
  <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>
687
687
  <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>
@@ -913,7 +913,7 @@ forgeqe run &quot;Run the cases in smoke.yaml and don't post results&quot; --pla
913
913
  <p>How memory saves time and tokens:</p>
914
914
  <ul>
915
915
  <li><strong>Replay.</strong> Running a goal that passed before replays its recorded steps directly in the browser, with no model calls. A different goal replays nothing: the agent gets the steps of earlier runs on the site, and the controls that worked there, as hints, and decides itself which of them (a banner, a sign-in, a search form) apply to its task, so a new task does not re-explore the setup. Each step finds its element by the highest-confidence locator that still matches exactly one element, then by the element's fingerprint, so a renamed button or a changed id still resolves. The transcript marks these steps <code>↻</code> and shows the locator used (<code>click &quot;Search&quot; [role 88%]</code>).</li>
916
- <li><strong>The site's rulebook.</strong> Page memory keeps what worked; the rulebook keeps what did not. When an action fails during a run and the agent then finds one that works, it may end its answer with a line or two starting <code>Lesson:</code> (&quot;On the booking page, type the date in the Check-in field; clicking a day in the calendar does nothing&quot;). ForgeQE keeps a lesson only when that run passed, in <code>rules/&lt;host&gt;.json</code> in page memory, and every later run that starts on that site gets the rules, so it does not spend steps on the same dead end. The lesson lines are taken out of the run's summary. The book works like Scribe's rulebook (under Keeping Scribe's cost down): at most 15 one-line rules, merged when learned again, the least confirmed and oldest dropped first, expired after 180 days unconfirmed, and a rule with a link, a token, a destructive command, or wording that drops instructions is refused. ForgeQE says each new rule (<code>Learned for this site: …</code>). <code>browser.rulebook: false</code> turns it off; with page memory off there is none.</li>
916
+ <li><strong>The site's rulebook.</strong> Page memory keeps what worked; the rulebook keeps what did not. When an action fails during a run and the agent then finds one that works, it may end its answer with a line or two starting <code>Lesson:</code> (&quot;On the booking page, type the date in the Check-in field; clicking a day in the calendar does nothing&quot;). ForgeQE keeps a lesson only when that run passed, in <code>rules/&lt;host&gt;.json</code> in page memory, and every later run that starts on that site gets the rules, so it does not spend steps on the same dead end. The lesson lines are taken out of the run's summary. The book works like Quill's rulebook (under Keeping Quill's cost down): at most 15 one-line rules, merged when learned again, the least confirmed and oldest dropped first, expired after 180 days unconfirmed, and a rule with a link, a token, a destructive command, or wording that drops instructions is refused. ForgeQE says each new rule (<code>Learned for this site: …</code>). <code>browser.rulebook: false</code> turns it off; with page memory off there is none.</li>
917
917
  <li><strong>Hand-off.</strong> With <code>replay: verify</code> (the default) the agent then looks at the page once and confirms the result. <code>replay: trust</code> finishes without the model when every step of this same task replayed. When a step cannot be found, the agent continues from that point instead of starting over. <code>replay: off</code> records memory but never replays.</li>
918
918
  <li><strong>Failed runs.</strong> A run that fails keeps the steps that worked before it went wrong (<code>resume.json</code> in its run folder, and in the task's flow). Running the same task again replays them and the agent picks up at the point of failure, told what went wrong last time. When ForgeQE's agent retries a failed goal with different wording, it passes the failed run (<code>resume_from</code>), so the retry starts from the same point instead of step 1.</li>
919
919
  <li><strong>Cut-off runs.</strong> After every step, a run saves the steps that worked so far and the page memory it has learned, so nothing is lost if ForgeQE is closed, the machine restarts, or the run is stopped. Running the same task again replays those steps and the agent carries on from there; the folder of the cut-off run also has <code>resume.json</code>, so <code>resume_from</code> works with it too. When the model can't be reached (the connection dropped), the run ends as failed and keeps its steps the same way. A run that finishes removes the saved point.</li>
@@ -998,7 +998,7 @@ forgeqe memory stats # how often memory stood in for the
998
998
  <li>goals say &quot;sign in with the saved login dynamics&quot; and never contain the password, so it is not in <code>run.json</code>, <code>trace.md</code>, <code>report.html</code>, or <code>workflow.yaml</code>;</li>
999
999
  <li>the browser agent types the exact value from a placeholder, so quotes or a full stop around the password in the test case cannot end up in the password field;</li>
1000
1000
  <li>the signed-in session is saved in <code>.forgeqe/sessions/</code>, so follow-up runs (&quot;now open the latest case&quot;) start signed in;</li>
1001
- <li>tests Scribe writes read <code>FORGEQE_&lt;NAME&gt;_USERNAME</code> and <code>FORGEQE_&lt;NAME&gt;_PASSWORD</code>, and ForgeQE sets them when it runs those tests in this session.</li>
1001
+ <li>tests Quill writes read <code>FORGEQE_&lt;NAME&gt;_USERNAME</code> and <code>FORGEQE_&lt;NAME&gt;_PASSWORD</code>, and ForgeQE sets them when it runs those tests in this session.</li>
1002
1002
  </ul>
1003
1003
  <p>ForgeQE keeps the values in memory for the session only: it does not write them to disk or put them in the agent runtime's environment. Your message itself is still part of the conversation, which the agent runtime keeps locally like any chat, and which the model provider receives. Close ForgeQE and the remembered values are gone (the saved session stays until it expires or you clear it). Ask &quot;which logins do I have?&quot; to see them, or &quot;forget the dynamics login&quot; to drop them. For pipelines and later sessions, use <code>logins:</code> with environment variables.</p>
1004
1004
  <p>Single sign-on, captchas, and security keys need a person: <code>forgeqe login shop</code> opens a browser on the login page, you sign in, press Enter in the terminal, and the session is saved. <code>forgeqe logins</code> lists logins, which variables are missing, and when each session was saved; <code>forgeqe logins clear shop</code> (or <code>--all</code>) forgets sessions. In the shell, &quot;sign in to shop&quot; does the same: the browser opens, a <strong>Your turn</strong> prompt waits while you sign in, and <strong>Done, continue</strong> saves the session. <code>forgeqe run</code> asks you to press Enter instead, and <code>forgeqe mcp</code> cannot wait for a person, so it tells the calling agent to have you run <code>forgeqe login shop</code>. In a pipeline, set the login variables as secrets.</p>
@@ -1011,7 +1011,7 @@ forgeqe memory stats # how often memory stood in for the
1011
1011
  <p class="ds">Opens a browser with the Recorder panel docked in the page while the user does the steps of a web test themself, and saves their clicks, typing, choices and keys in order as a run, with the checks, kept values, test data and notes they add; the coding agent then turns it into a test in the repository's framework.</p>
1012
1012
  <div class="facts">
1013
1013
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>I'll show you the checkout steps in the shop: record them</li><li>Record my steps on the cart page and make a test of it</li></ul></div>
1014
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li></ul></div>
1014
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li></ul></div>
1015
1015
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Local Chrome or Chromium only, one recording at a time; drag and drop and steps inside iframes are not recorded yet</li></ul></div>
1016
1016
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>web_record</code></p></div>
1017
1017
  </div>
@@ -1125,10 +1125,11 @@ so: <strong>Use the block</strong> marks them as the block.</p>
1125
1125
  <tr><td>Add, then Step</td><td><strong>Record more from here</strong>: the browser opens and does the steps up to there, and you record what comes next; it goes in after that step. Or a step in your words (&quot;choose the cheapest delivery&quot;), which the coding agent finds on the page and does there; open a page; or go back</td></tr>
1126
1126
  <tr><td>Add, then Note</td><td>A note on the step for whoever writes the test (&quot;this is the cart page object&quot;)</td></tr>
1127
1127
  <tr><td>Drop (bin)</td><td>Removes the step</td></tr>
1128
- <tr><td>Instructions for the Coding agent</td><td>Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks</td></tr>
1128
+ <tr><td>Instructions for Quill</td><td>Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks</td></tr>
1129
1129
  <tr><td>Test data</td><td>Each typed value: as typed, test data, new on each run (<code>ann+{{$unique}}@shop.test</code>), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version</td></tr>
1130
1130
  <tr><td>Blocks</td><td>Keep steps you do in many tests (Sign in) as a block, <code>.forgeqe/blocks/&lt;name&gt;.yaml</code>; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when <code>.gitignore</code> leaves them out). A block holds only steps done by hand: a block file with a step that runs JavaScript, calls an API or uploads a file is ignored</td></tr>
1131
1131
  <tr><td>History</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
1132
+ <tr><td>Re-record</td><td>Plays the same steps against the application as it is now, and where a step's control has moved, reaches it through another locator the recorder kept for that step and carries on. Each swap is shown (the step, what it does, the locator that replaced which, and what the recorded one said), kept in <code>reheal.json</code> beside the run, and written into the recording only when you accept it — then that locator is the one the step uses, as a version of the review like any other. A control that no locator finds is a failed step as usual: record that stretch again. <strong>Write the test</strong> after a re-record heals the test the recording already has, changing what those steps need and leaving the rest of it alone</td></tr>
1132
1133
  <tr><td>Try it</td><td>Plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values. With <code>api.capture</code> on (the default) it keeps the application's API calls of the latest try in <code>tries/network.json</code>, cleaned as a recording's are; <strong>API tests from its calls</strong> opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs</td></tr>
1133
1134
  </tbody>
1134
1135
  </table></div>
@@ -1139,7 +1140,7 @@ agent, which asks nothing: the plan and where the test goes follow the repositor
1139
1140
  that every test using it calls. A past recording is run again the same way: <strong>Review</strong> in the list, then <strong>Try it</strong>.</p>
1140
1141
  <p><strong>Write the test</strong> first plays the steps with Playwright, as the test will. When a step does not work, it says so
1141
1142
  before any code is written: <strong>Record step N again</strong> (the browser does the steps before it, and what you record takes
1142
- its place), drop it, or write the test anyway. Then the Coding agent writes the test, and its work shows in the review:
1143
+ its place), drop it, or write the test anyway. Then Quill writes the test, and its work shows in the review:
1143
1144
  what it is doing, the files it changed, and its answer (or why it stopped).</p>
1144
1145
  </div>
1145
1146
  </section>
@@ -1166,7 +1167,7 @@ what it is doing, the files it changed, and its answer (or why it stopped).</p>
1166
1167
  <li><strong>The verdict</strong> of an API step rests on the status the server answered, not on the agent's account of it.</li>
1167
1168
  <li><strong>The run records it</strong> as an <code>api</code> step in <code>workflow.yaml</code>: method, URL, body, CSRF source, and the status and final URL the server gave.</li>
1168
1169
  <li><strong>ForgeQE's replay repeats it</strong> the same way, and fails that step when the server answers differently (403 where the run got 200), so the replay and the test get past it instead of stalling on an empty cart.</li>
1169
- <li><strong>Scribe's handoff</strong> lists each API step with what was sent and answered, and tells Scribe to make it through the framework's API request context that shares the browser's cookies (Playwright's <code>page.request</code>), asserting the status.</li>
1170
+ <li><strong>Quill's handoff</strong> lists each API step with what was sent and answered, and tells Quill to make it through the framework's API request context that shares the browser's cookies (Playwright's <code>page.request</code>), asserting the status.</li>
1170
1171
  <li><strong>Kept for reuse</strong>: the calls are saved as an API scenario, one per test case (<code>out/api/case-ado-2287/</code>, updated by each run), which <code>forgeqe api</code> and the API tools run again without a browser. The run's card says where (<em>API 2 calls saved as a reusable API scenario</em>).</li>
1171
1172
  </ul>
1172
1173
  <p>URLs the case gives are opened exactly as given: when the model adds a trailing slash (<code>/login/</code>, a 404 on many sites), ForgeQE opens and records the URL from the case.</p>
@@ -1313,7 +1314,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1313
1314
  </code></pre></div>
1314
1315
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>suite:
1315
1316
  parallel: 1 # browsers at once
1316
- code: true # with a repo set, passed cases go to Scribe
1317
+ code: true # with a repo set, passed cases go to Quill
1317
1318
  restore_sessions: false # true: each case starts signed in from the saved logins' sessions
1318
1319
  out_dir: ./.forgeqe/reports/suites
1319
1320
  </code></pre></div>
@@ -1515,7 +1516,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1515
1516
  <div class="detail"><span class="mono">In detail</span>
1516
1517
  <section class="doc" id="doc-how_to_use-16-domain-and-regulations">
1517
1518
  <h4>Domain and regulations</h4>
1518
- <div class="prose"><p>ForgeQE's agents already know the common industries and regulations: banking, insurance, lending, retail; DORA, PSD2, GDPR, ISO 27001, SOX, IDD, and more. Every agent applies that knowledge to its own job, automatically: analysing requirements, writing and checking test cases, planning exploration, writing test code (Scribe), reviewing it, healing it, writing and planning API tests, finding tests, and reviewing pull requests. Without a declaration, each works out the industry and regulations from the story, the product knowledge, and the application, and says what it assumed. Declaring yours removes the guesswork:</p>
1519
+ <div class="prose"><p>ForgeQE's agents already know the common industries and regulations: banking, insurance, lending, retail; DORA, PSD2, GDPR, ISO 27001, SOX, IDD, and more. Every agent applies that knowledge to its own job, automatically: analysing requirements, writing and checking test cases, planning exploration, writing test code (Quill), reviewing it, healing it, writing and planning API tests, finding tests, and reviewing pull requests. Without a declaration, each works out the industry and regulations from the story, the product knowledge, and the application, and says what it assumed. Declaring yours removes the guesswork:</p>
1519
1520
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>domain:
1520
1521
  industry: retail banking
1521
1522
  regulations: [DORA, PSD2, GDPR, ISO 27001]
@@ -1529,7 +1530,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1529
1530
  <tbody>
1530
1531
  <tr><td>ForgeQE's agent</td><td>Adds domain and regulatory cases when it writes test cases or tests from requirements, and judges cases and release readiness against them</td></tr>
1531
1532
  <tr><td>Exploratory charters</td><td>Plans charters for the domain's risks and obligations</td></tr>
1532
- <tr><td>Scribe (writing tests)</td><td>Asserts a covered risk or obligation explicitly (the amount, the approval, the audit entry), and carries its label into the test's name or tag</td></tr>
1533
+ <tr><td>Quill (writing tests)</td><td>Asserts a covered risk or obligation explicitly (the amount, the approval, the audit entry), and carries its label into the test's name or tag</td></tr>
1533
1534
  <tr><td>Test reviewer</td><td>Treats a test that drops or weakens such an assertion as a correctness issue</td></tr>
1534
1535
  <tr><td>Healing</td><td>Never makes a test pass by loosening such an assertion: if the app no longer meets it, it is an app bug</td></tr>
1535
1536
  <tr><td>API tests and scenarios</td><td>Idempotent money-moving calls, access per role, no excess personal data in responses, no leaked internals, audited changes</td></tr>
@@ -1604,7 +1605,7 @@ Acceptance criteria:
1604
1605
  </article>
1605
1606
  <article class="spec feat" id="cap-business-personas">
1606
1607
  <div class="hd"><span class="mono">Test cases</span><h3>Business personas for testing</h3></div>
1607
- <p class="ds">Personas that test the software the way the business would: a subject matter expert (a payments SME who checks refunds, settlement cut-offs and currency rounding), an end user, a specialist (compliance) or a business user (an operations manager with approval limits). The Persona agent drafts a new one from your words; any agent then acts as it in a browser run, designs test cases from what it validates, or reviews a feature through its eyes. Kept in the project for every agent.</p>
1608
+ <p class="ds">Personas that test the software the way the business would: a subject matter expert (a payments SME who checks refunds, settlement cut-offs and currency rounding), an end user, a specialist (compliance) or a business user (an operations manager with approval limits). Mask drafts a new one from your words; any agent then acts as it in a browser run, designs test cases from what it validates, or reviews a feature through its eyes. Kept in the project for every agent.</p>
1608
1609
  <div class="facts">
1609
1610
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Create a persona of an SME in payments</li><li>Test the refund flow as a payments SME</li><li>Make a business persona for an operations manager who approves orders</li><li>Which business personas do we have?</li></ul></div>
1610
1611
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
@@ -1616,7 +1617,7 @@ Acceptance criteria:
1616
1617
  <h4>Business personas</h4>
1617
1618
  <div class="prose"><p>A <strong>business persona</strong> is a person who validates the software the way the business does: a <strong>subject matter expert</strong> (a payments SME who checks refunds, settlement cut-offs and currency rounding), an <strong>end user</strong> (an everyday customer, a first-time user), a <strong>specialist</strong> (a KYC and AML compliance reviewer) or a <strong>business user</strong> (an operations manager with approval limits). Each persona says who the person is, what they want, what they know, and above all <strong>what they check before they accept the software</strong> (<code>validates</code>). Any agent can use one:</p>
1618
1619
  <ul>
1619
- <li><strong>The Orchestrator</strong> makes personas too (&quot;create a persona of an SME in payments&quot;), with the Persona agent, and acts as a persona in a browser run (the persona's brief goes at the start of the goal), designs test cases from what it validates, or reviews a feature through its eyes: &quot;test the refund flow as a payments SME&quot;, &quot;write test cases for checkout as a first-time user&quot;.</li>
1620
+ <li><strong>Atlas</strong> makes personas too (&quot;create a persona of an SME in payments&quot;), with Mask, and acts as a persona in a browser run (the persona's brief goes at the start of the goal), designs test cases from what it validates, or reviews a feature through its eyes: &quot;test the refund flow as a payments SME&quot;, &quot;write test cases for checkout as a first-time user&quot;.</li>
1620
1621
  <li><strong>Other agents</strong> (<code>forgeqe mcp</code> clients such as Claude Code or Copilot, and custom agents) call the <code>business_persona</code> tool: <code>op: list</code>, <code>op: get</code> (the persona and its brief), or <code>op: create</code>.</li>
1621
1622
  <li><strong>A person</strong> at a terminal:</li>
1622
1623
  </ul>
@@ -1630,10 +1631,10 @@ forgeqe persona create &quot;an SME in card payments who reconciles settlements&
1630
1631
  <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><code>forgeqe persona export --out personas.json # your own personas, as a file to share
1631
1632
  forgeqe persona import personas.json # another project's: new ones only, never replacing one here
1632
1633
  </code></pre></div>
1633
- <p><strong>Sharing personas:</strong> the Persona agent's page (Personas tab) has Export and Import, and so does <code>forgeqe persona export|import</code>. The file is JSON of the personas' fields. An import is checked as strictly as a persona file. The whole file is refused when any persona in it is refused, and a persona whose id or command this project already has is skipped and listed, never replaced.</p>
1634
- <p><strong>In the web app</strong>, the Persona agent has three pages, linked at the top right of each: <strong>Agent</strong>, <strong>Personas</strong> and <strong>Tools and runs</strong>. On <strong>Agent</strong>, describe a person in your words (&quot;a compliance officer who reviews every refund over 10,000 EUR&quot;) and the agent turns them into a persona in the conversation, shows it, and asks before saving it. <strong>Personas</strong> lists every persona by kind; open one to read what it checks in a side panel, with <strong>Edit</strong> for your own and <strong>Copy to edit</strong> for a built-in one. <strong>New persona</strong> there opens the same kind of panel: the Persona agent drafts one from your words (or write it yourself), you change any field, and Save keeps it. To work as a persona, type its command and the task in any chat (<code>/priya Refund half of yesterday's order</code>).</p>
1635
- <p><strong>A persona's own skills and knowledge</strong> are used only when an agent works as that persona (its command in a chat), never by other agents: <code>.forgeqe/business-personas/&lt;id&gt;/skills/&lt;name&gt;/SKILL.md</code> and <code>.forgeqe/business-personas/&lt;id&gt;/knowledge/&lt;name&gt;.md</code>, a folder the skills list and the document search do not read. The Persona agent drafts a skill and a knowledge note from the persona right after you save a new persona or a copy, and on <strong>Generate skill and knowledge</strong> in any persona's panel (a built-in one too); you review and change them, and nothing is saved until you press Save. Edit or remove them in the panel. A persona can also use the project's shared skills and documents, picked in <strong>Edit</strong>, with suggestions that match its domain.</p>
1636
- <p><strong>The Persona agent</strong> (<code>forgeqe-persona</code>) drafts a new persona from your words: ask &quot;create a persona of an SME in payments&quot;, or <code>op: create</code> with <code>request</code>. It has no tools and answers in a fixed shape; ForgeQE keeps only the persona's fields, checked. A draft is shown first and saved only when you agree (<code>--save</code> asks in a terminal; <code>save: true</code> asks in the shell and the web app). It needs a live model; without one, write the persona yourself.</p>
1634
+ <p><strong>Sharing personas:</strong> Mask's page (Personas tab) has Export and Import, and so does <code>forgeqe persona export|import</code>. The file is JSON of the personas' fields. An import is checked as strictly as a persona file. The whole file is refused when any persona in it is refused, and a persona whose id or command this project already has is skipped and listed, never replaced.</p>
1635
+ <p><strong>In the web app</strong>, Mask has three pages, linked at the top right of each: <strong>Agent</strong>, <strong>Personas</strong> and <strong>Tools and runs</strong>. On <strong>Agent</strong>, describe a person in your words (&quot;a compliance officer who reviews every refund over 10,000 EUR&quot;) and the agent turns them into a persona in the conversation, shows it, and asks before saving it. <strong>Personas</strong> lists every persona by kind; open one to read what it checks in a side panel, with <strong>Edit</strong> for your own and <strong>Copy to edit</strong> for a built-in one. <strong>New persona</strong> there opens the same kind of panel: Mask drafts one from your words (or write it yourself), you change any field, and Save keeps it. To work as a persona, type its command and the task in any chat (<code>/priya Refund half of yesterday's order</code>).</p>
1636
+ <p><strong>A persona's own skills and knowledge</strong> are used only when an agent works as that persona (its command in a chat), never by other agents: <code>.forgeqe/business-personas/&lt;id&gt;/skills/&lt;name&gt;/SKILL.md</code> and <code>.forgeqe/business-personas/&lt;id&gt;/knowledge/&lt;name&gt;.md</code>, a folder the skills list and the document search do not read. Mask drafts a skill and a knowledge note from the persona right after you save a new persona or a copy, and on <strong>Generate skill and knowledge</strong> in any persona's panel (a built-in one too); you review and change them, and nothing is saved until you press Save. Edit or remove them in the panel. A persona can also use the project's shared skills and documents, picked in <strong>Edit</strong>, with suggestions that match its domain.</p>
1637
+ <p><strong>Mask</strong> (<code>forgeqe-persona</code>) drafts a new persona from your words: ask &quot;create a persona of an SME in payments&quot;, or <code>op: create</code> with <code>request</code>. It has no tools and answers in a fixed shape; ForgeQE keeps only the persona's fields, checked. A draft is shown first and saved only when you agree (<code>--save</code> asks in a terminal; <code>save: true</code> asks in the shell and the web app). It needs a live model; without one, write the persona yourself.</p>
1637
1638
  <p><strong>Your own personas</strong> are <code>.forgeqe/business-personas/&lt;id&gt;.yaml</code>, shared with everyone who uses the repository. Saving one also writes its profile as <code>&lt;id&gt;.md</code> beside it, made from its fields, for people and agents that read the project's documents. The YAML is the persona; the <code>.md</code> is written again whenever the persona is saved:</p>
1638
1639
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>id: merchant-onboarding-sme
1639
1640
  handle: omar # its command in any agent's chat: /omar Validate the merchant onboarding change
@@ -1677,9 +1678,9 @@ scenarios:
1677
1678
  <p>It works in steps, each reading the same model of the business:</p>
1678
1679
  <ol>
1679
1680
  <li><strong>Discover</strong> (<code>context</code>): from the product knowledge graph (<code>forgeqe knowledge build</code>), a model of the business: capabilities (payments, refunds, incentives, approvals, entitlements, payouts, personal data…), processes, the <strong>rules the code enforces</strong> (the conditions that refuse a request, with file and line), the states a record goes through, tables with personal data, and the <strong>exposures</strong> these suggest (a refund route with no cap on the amount, an incentive that may be granted twice, a route that acts on a record by its id with no sign-in seen). What was read is <em>observed</em>; what it means is <em>inferred</em>, and said to be.</li>
1680
- <li><strong>Hypothesise</strong> (<code>hypotheses</code>): business questions, each with personas chosen for their motives: can two partial refunds add up to more than was paid; can a one-time coupon be used five times at the same moment; is a reward taken back when its order is returned; can a cancelled order still be shipped (a rule enforced on one journey, missing on another); can a limit be split; can someone approve their own request; can one customer act on another's order; do equivalent customers get the same price; is a refund after the payout run taken off the next payout. With a live model, the <strong>Scenario Strategist</strong> (<code>forgeqe-business-strategist</code>, no tools) proposes more; ForgeQE keeps only those that name things the model of the business has. When a scenario needs a persona the project lacks (an insider, a colluding merchant), it says so, and the Persona agent drafts it.</li>
1681
- <li><strong>Plan</strong> (<code>plan</code>): an investigation: steps by one or several personas (in turn, or at the same moment for a race), each an <strong>API call</strong> ForgeQE sends (matched to your saved API contracts) or a <strong>browser journey</strong> the Orchestrator runs as the persona, and <strong>business outcome oracles</strong>: what the business intended, as checks over business values (<code>sum($refunded) &lt;= $paid</code>, at most one accepted redemption, the forbidden action refused, the same outcome for equivalent customers).</li>
1682
- <li><strong>Run</strong> (<code>run</code>): the API steps on a <strong>test environment</strong> of env.yaml (never one named like production), the calls that change data only after you agree. The Orchestrator does the browser steps as the personas and records what it saw (<code>observe</code>).</li>
1681
+ <li><strong>Hypothesise</strong> (<code>hypotheses</code>): business questions, each with personas chosen for their motives: can two partial refunds add up to more than was paid; can a one-time coupon be used five times at the same moment; is a reward taken back when its order is returned; can a cancelled order still be shipped (a rule enforced on one journey, missing on another); can a limit be split; can someone approve their own request; can one customer act on another's order; do equivalent customers get the same price; is a refund after the payout run taken off the next payout. With a live model, the <strong>Scenario Strategist</strong> (<code>forgeqe-business-strategist</code>, no tools) proposes more; ForgeQE keeps only those that name things the model of the business has. When a scenario needs a persona the project lacks (an insider, a colluding merchant), it says so, and Mask drafts it.</li>
1682
+ <li><strong>Plan</strong> (<code>plan</code>): an investigation: steps by one or several personas (in turn, or at the same moment for a race), each an <strong>API call</strong> ForgeQE sends (matched to your saved API contracts) or a <strong>browser journey</strong> Atlas runs as the persona, and <strong>business outcome oracles</strong>: what the business intended, as checks over business values (<code>sum($refunded) &lt;= $paid</code>, at most one accepted redemption, the forbidden action refused, the same outcome for equivalent customers).</li>
1683
+ <li><strong>Run</strong> (<code>run</code>): the API steps on a <strong>test environment</strong> of env.yaml (never one named like production), the calls that change data only after you agree. Atlas does the browser steps as the personas and records what it saw (<code>observe</code>).</li>
1683
1684
  <li><strong>Judge and report</strong> (<code>report</code>): each investigation's outcome, worked out by code: <strong>confirmed business failure</strong> (an expectation that is policy, or a rule the code enforces elsewhere, was broken, with the evidence), <strong>policy ambiguity</strong> (the software did something unexpected, but nobody has said the expectation is policy: a question for the business), <strong>potential risk</strong>, <strong>missing evidence</strong>, or <strong>expected behaviour</strong>. Findings are ranked by impact, exploitability, likelihood and confidence, with an exposure range only where a breach was observed and you stated how often it could happen. Views for executives, product owners, risk and compliance, and engineering.</li>
1684
1685
  <li><strong>Learn</strong>: findings, a person's decisions and proposals (add a broken expectation to the personas who acted) are kept in <code>.forgeqe/business/memory.jsonl</code>; a pattern confirmed once weighs more in later hypotheses. Proposals are never applied by themselves.</li>
1685
1686
  </ol>
@@ -1701,7 +1702,7 @@ forgeqe business simulate &lt;simulation&gt; [--env qa] [--yes]
1701
1702
  <p><strong>Interviews.</strong> After a run you can ask any person of the population why they did what they did: on the Simulation tab, <strong>Ask why</strong> next to each person who broke a check, or at a terminal. The interviewer is a model with no tools; it is given that person's persona, their attributes and their own calls of that run, numbered, as data, and answers as that person, citing the calls its answer rests on. Code keeps only citations of that person's own calls, and says so when an answer cites none (&quot;not tied to the run&quot;). An answer is the model's account, never evidence: it never changes the outcome, and the checks stay the evidence. Interviews are kept in the simulation's <code>interviews.jsonl</code> and read back as untrusted. With no model set up, nobody is interviewed.</p>
1702
1703
  <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><code>forgeqe business interview &lt;simulation&gt; &lt;member&gt; 'Why did you ask for a refund twice?'
1703
1704
  </code></pre></div>
1704
- <p><strong>In the web app</strong>, the Business assurance agent's page (Agents, or Quality Engineering, Test design, Business assurance) has its tabs at the top right: <strong>Agent</strong> (ask it in words; its tools and runs), <strong>Investigations</strong> (each one's scenario, what the business intended, Run, which first lists the calls that change data and runs them only once you agree, the evidence, what pending steps showed, and <strong>Decide</strong>, where you type the investigation's id), <strong>Hypotheses</strong> (filter by area, <strong>Plan</strong> one), <strong>Model of the business</strong> (read again from the product graph), and <strong>Findings</strong> for leaders, product, risk and compliance, or engineering. Switching tabs is instant and keeps what you typed; each tab has its own address. The gateway (<code>src/web/business.ts</code>) checks everything again, and audits every plan, run, observation and decision. The Persona agent's page shows and edits each persona's intent, risk appetite, motivations, permissions, constraints, mistakes and relationships.</p>
1705
+ <p><strong>In the web app</strong>, Watchdog's page (Agents, or Quality Engineering, Test design, Business assurance) has its tabs at the top right: <strong>Agent</strong> (ask it in words; its tools and runs), <strong>Investigations</strong> (each one's scenario, what the business intended, Run, which first lists the calls that change data and runs them only once you agree, the evidence, what pending steps showed, and <strong>Decide</strong>, where you type the investigation's id), <strong>Hypotheses</strong> (filter by area, <strong>Plan</strong> one), <strong>Model of the business</strong> (read again from the product graph), and <strong>Findings</strong> for leaders, product, risk and compliance, or engineering. Switching tabs is instant and keeps what you typed; each tab has its own address. The gateway (<code>src/web/business.ts</code>) checks everything again, and audits every plan, run, observation and decision. Mask's page shows and edits each persona's intent, risk appetite, motivations, permissions, constraints, mistakes and relationships.</p>
1705
1706
  <p>Try it on <code>samples/business-shop</code>, a small shop API whose checks each return the right status for the case they were written for, and whose business still loses money: a second partial refund is checked against the order's total, not what is left to refund; a one-time coupon is checked before a slow lookup, so a burst redeems it several times; shipping does not check that the order was cancelled.</p>
1706
1707
  <p>An investigation file can be written by hand, by the model or come from the repository, so it is read strictly: known keys only, personas and API calls only ones the project has (a contract set by its id, never a path), a call's path only a path on the API, <code>{{name}}</code> values put in a path encoded and in a body as data, values captured only from the fields named, no input named like a credential, oracles only in their small formula grammar (numbers, <code>$names</code>, <code>+ - *</code>, <code>sum min max count abs</code>; never code), at most 20 steps and 20 repeats. Deciding whether an expectation is the business's policy, or a behaviour is permitted, is a person's: <code>forgeqe business decide</code> asks you to type the investigation's id, and the agent asks you first.</p>
1707
1708
  </div>
@@ -1834,10 +1835,10 @@ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an
1834
1835
  </thead>
1835
1836
  <tbody>
1836
1837
  <tr><td>ForgeQE's agent</td><td>The environment, its apps (with descriptions), values and cloud accounts in its session notes; plans scenarios across apps from them and carries values (an order number) between them</td></tr>
1837
- <tr><td>Browser agent</td><td>Starts at <code>start_app</code> when no URL is given; knows the environment's web apps by name and stays on their hosts; its values</td></tr>
1838
+ <tr><td>WebPilot</td><td>Starts at <code>start_app</code> when no URL is given; knows the environment's web apps by name and stays on their hosts; its values</td></tr>
1838
1839
  <tr><td>API tests</td><td>Call <code>api_app</code>'s URL</td></tr>
1839
- <tr><td>Desktop agent</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
1840
- <tr><td>Scribe, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
1840
+ <tr><td>DeskPilot</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
1841
+ <tr><td>Quill, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
1841
1842
  <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code>, <code>FORGEQE_DATA_&lt;NAME&gt;</code>, <code>FORGEQE_CLOUD_*</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1842
1843
  <tr><td>Reports</td><td>Every run's report names the test environment</td></tr>
1843
1844
  <tr><td>Test cases (<code>run_test_cases</code>, <code>forgeqe suite</code>)</td><td><code>{{var.NAME}}</code> and <code>{{app.NAME}}</code> in a case's title, steps and expected results become the environment's variable and the app's URL (below); a case with no address of its own starts at the web app its first step, preconditions or title names first, else at <code>start_app</code>; <code>run_test_cases</code> takes <code>app</code> to start every case at one</td></tr>
@@ -1939,7 +1940,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
1939
1940
  <tr><th>Command</th><th>What it does</th></tr>
1940
1941
  </thead>
1941
1942
  <tbody>
1942
- <tr><td><code>forgeqe code [run-dir] --repo DIR</code></td><td>Scribe writes a test for a run (default: the latest)</td></tr>
1943
+ <tr><td><code>forgeqe code [run-dir] --repo DIR</code></td><td>Quill writes a test for a run (default: the latest)</td></tr>
1943
1944
  <tr><td><code>forgeqe heal [&quot;&lt;test command&gt;&quot;] --repo DIR</code></td><td>Fix tests the app has outgrown, or report app bugs</td></tr>
1944
1945
  <tr><td><code>forgeqe visual [run] | approve [run] [--page p]</code></td><td>Each page against its approved screenshot; approve an intended change as the new baseline</td></tr>
1945
1946
  <tr><td><code>forgeqe quality [run] | trends [page]</code></td><td>A run's WCAG rules and Core Web Vitals against the budgets; per page over time</td></tr>
@@ -1947,7 +1948,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
1947
1948
  <tr><td><code>forgeqe api contracts --spec &lt;link|file&gt;</code></td><td>API contracts from OpenAPI/Swagger, WSDL, GraphQL, .proto, or grpc://</td></tr>
1948
1949
  <tr><td><code>forgeqe api contracts --run [RUN]</code></td><td>API contracts from the calls a browser run saw the app make</td></tr>
1949
1950
  <tr><td><code>forgeqe api run [SET] [--base-url URL]</code></td><td>Run contracts against the API, no browser; exit 1 on a failure</td></tr>
1950
- <tr><td><code>forgeqe api tests [SET] --repo DIR</code></td><td>Scribe writes contracts as API tests in the repo</td></tr>
1951
+ <tr><td><code>forgeqe api tests [SET] --repo DIR</code></td><td>Quill writes contracts as API tests in the repo</td></tr>
1951
1952
  <tr><td><code>forgeqe api scenarios --run | --spec &lt;link&gt; | --cases &lt;refs&gt; | --text &quot;...&quot;</code></td><td>End-to-end API scenarios: chained from a run, lifecycles and negative cases from a description, or planned from test cases or plain English</td></tr>
1952
1953
  <tr><td><code>forgeqe api run-scenarios [SET] [--allow-writes]</code></td><td>Run them against the API; exit 1 on a failure</td></tr>
1953
1954
  <tr><td><code>forgeqe api tests --scenarios --repo DIR</code></td><td>Scenario tests on the repo's existing API helpers</td></tr>
@@ -2037,14 +2038,14 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
2037
2038
  <tr><th>Folder</th><th>What it holds</th></tr>
2038
2039
  </thead>
2039
2040
  <tbody>
2040
- <tr><td><code>.forgeqe/prompts/</code></td><td>Every prompt ForgeQE's agents work from, one markdown file each: ForgeQE's agent (<code>brain.md</code>), Scribe (<code>test-agent.md</code>, <code>test-rules.md</code>), the reviewer, healing, finding tests, pull request review, API tests and scenarios, exploratory charters, and the browser agent (<code>browser-*.md</code>, plus <code>browser-extra.md</code> for your own instructions).</td></tr>
2041
+ <tr><td><code>.forgeqe/prompts/</code></td><td>Every prompt ForgeQE's agents work from, one markdown file each: ForgeQE's agent (<code>brain.md</code>), Quill (<code>test-agent.md</code>, <code>test-rules.md</code>), the reviewer, healing, finding tests, pull request review, API tests and scenarios, exploratory charters, and the browser agent (<code>browser-*.md</code>, plus <code>browser-extra.md</code> for your own instructions).</td></tr>
2041
2042
  <tr><td><code>.forgeqe/skills/</code></td><td>The built-in skills (framework and app playbooks), to adapt to your project; add your own next to them.</td></tr>
2042
2043
  <tr><td><code>.forgeqe/knowledge/</code></td><td>Product knowledge templates: the product and its flows, roles, glossary, business rules, test data, environments.</td></tr>
2043
2044
  </tbody>
2044
2045
  </table></div>
2045
2046
  <p><strong>Your copy or ForgeQE's.</strong> <code>.forgeqe-manifest.json</code> in each folder records what was copied. A copy you have not changed still counts as ForgeQE's, so it keeps getting ForgeQE's improvements when you update; once you edit it, yours is used. When ForgeQE's version changes after you edited yours, ForgeQE says so at start-up. Running <code>init</code> again adds what is missing and never overwrites an edited file (with <code>--force</code> it refreshes only unchanged copies).</p>
2046
2047
  <p><strong>Prompts.</strong> Each file has a short header (<code>name</code>, <code>description</code>, <code>used_by</code>, <code>kind</code>) and the prompt; <code>{{&gt; name}}</code> includes another prompt (<code>test-rules</code> is included in the test, reviewer, and healing prompts, so one edit changes all three). ForgeQE looks in <code>prompts.dir</code>, then <code>.forgeqe/prompts/</code>, then <code>~/.forgeqe/prompts/</code> (for every project), then its own. Changes take effect on the next run or session.</p>
2047
- <p><strong>Your team's prompts.</strong> Instructions of your own for chosen agents go in <code>.forgeqe/prompts/team/&lt;name&gt;.md</code> (or <code>~/.forgeqe/prompts/team/</code> for every project; a name in the project wins). The header has <code>name</code>, <code>description</code>, and <code>for</code>: the agents' prompts it joins (<code>brain</code> for ForgeQE's agent, <code>test-agent</code> for Scribe, <code>browser-extra</code> for the browser agent, and so on). Its text is added at the end of those prompts, under &quot;Your team's instructions&quot;, as written: it is not a template and includes nothing. The web app's Prompts page adds, edits and removes them, and shows each agent's whole prompt with them included; <code>forgeqe prompts show &lt;prompt&gt;</code> shows it in the terminal.</p>
2048
+ <p><strong>Your team's prompts.</strong> Instructions of your own for chosen agents go in <code>.forgeqe/prompts/team/&lt;name&gt;.md</code> (or <code>~/.forgeqe/prompts/team/</code> for every project; a name in the project wins). The header has <code>name</code>, <code>description</code>, and <code>for</code>: the agents' prompts it joins (<code>brain</code> for ForgeQE's agent, <code>test-agent</code> for Quill, <code>browser-extra</code> for the browser agent, and so on). Its text is added at the end of those prompts, under &quot;Your team's instructions&quot;, as written: it is not a template and includes nothing. The web app's Prompts page adds, edits and removes them, and shows each agent's whole prompt with them included; <code>forgeqe prompts show &lt;prompt&gt;</code> shows it in the terminal.</p>
2048
2049
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>markdown</span><button class="copy-code" type="button">Copy</button></div><pre><code>---
2049
2050
  name: tag-work-items
2050
2051
  description: &quot;Tests carry the work item they cover&quot;
@@ -2315,7 +2316,7 @@ here, and a gateway route to no known service, are open questions in <code>forge
2315
2316
  </div>
2316
2317
  </article>
2317
2318
  <article class="spec feat" id="cap-knowledge-agent">
2318
- <div class="hd"><span class="mono">Setup</span><h3>The Knowledge agent: what ForgeQE understood, and your corrections</h3></div>
2319
+ <div class="hd"><span class="mono">Setup</span><h3>Librarian: what ForgeQE understood, and your corrections</h3></div>
2319
2320
  <p class="ds">Says what ForgeQE has understood about the product from its knowledge notes, documents, skills, the team's prompts and the product graph, citing each source. A correction in your words becomes changes: a section of a knowledge note or a project skill, a team prompt, or Right/Wrong with what is right on a business rule, journey, capability or term of the graph. Where two sources disagree it asks which is right. Each change is shown as a diff and written only when a person approves it.</p>
2320
2321
  <div class="facts">
2321
2322
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>What do you know about refunds?</li><li>That's wrong: the supervisor limit is 1000 EUR, not 500</li><li>Remember that every test must carry its work item</li></ul></div>
@@ -2324,9 +2325,9 @@ here, and a gateway route to no known service, are open questions in <code>forge
2324
2325
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>knowledge_agent</code></p></div>
2325
2326
  </div>
2326
2327
  <div class="detail"><span class="mono">In detail</span>
2327
- <section class="doc" id="doc-how_to_use-the-knowledge-agent">
2328
- <h4>The Knowledge agent</h4>
2329
- <div class="prose"><p>The Knowledge agent (<code>forgeqe-knowledge-agent</code>) tells you what ForgeQE has understood about your product, and takes your corrections. Ask it on its page in the web app (Knowledge agent), with <code>forgeqe knowledge chat</code>, or in any chat (&quot;what do you know about refunds?&quot;, &quot;that's wrong: the supervisor limit is 1000 EUR&quot;), where ForgeQE's agent hands it over.</p>
2328
+ <section class="doc" id="doc-how_to_use-librarian">
2329
+ <h4>Librarian</h4>
2330
+ <div class="prose"><p>Librarian (<code>forgeqe-knowledge-agent</code>) tells you what ForgeQE has understood about your product, and takes your corrections. Ask it on its page in the web app (Librarian), with <code>forgeqe knowledge chat</code>, or in any chat (&quot;what do you know about refunds?&quot;, &quot;that's wrong: the supervisor limit is 1000 EUR&quot;), where ForgeQE's agent hands it over.</p>
2330
2331
  <ul>
2331
2332
  <li><strong>What it reads.</strong> The sections of your knowledge notes, documents and skills that your words are about (found as in <em>Searching your documents, without vectors</em>), the team's prompts, and the business rules, journeys, capabilities and terms of the product graph. Each answer names the sources it rests on.</li>
2332
2333
  <li><strong>What a correction changes.</strong> Only what is the project's own: one section of a knowledge note (or a section added after it, or a new note), one section of a project skill (a skill of ForgeQE's or yours is copied into <code>.forgeqe/skills</code> first, and that copy is used from then on), a team prompt (<code>.forgeqe/prompts/team</code>), or Right/Wrong with what is right on a part of the product graph (<code>graph/feedback.json</code>, which outranks the model on the next build). Documents of <code>product.docs</code>, the uploaded documents and ForgeQE's own prompts are never changed.</li>
@@ -2343,7 +2344,7 @@ forgeqe knowledge chat &quot;what do you know about refunds?&quot;
2343
2344
  </article>
2344
2345
  <article class="spec feat" id="cap-document-search">
2345
2346
  <div class="hd"><span class="mono">Setup</span><h3>Search the project's documents, without vectors</h3></div>
2346
- <p class="ds">Finds the passages of the project's documents that answer a question: the team's notes, the documents added in Settings, the folders of product.docs and of rag.documents (Markdown, text, HTML, and PDF, Word and Excel once indexed). No vector database or embedding model: each document is read as a tree of its sections, ranked by keywords, and the Document reader picks the sections that answer from their outline. Each passage says its file, line and headings.</p>
2347
+ <p class="ds">Finds the passages of the project's documents that answer a question: the team's notes, the documents added in Settings, the folders of product.docs and of rag.documents (Markdown, text, HTML, and PDF, Word and Excel once indexed). No vector database or embedding model: each document is read as a tree of its sections, ranked by keywords, and Skimmer picks the sections that answer from their outline. Each passage says its file, line and headings.</p>
2347
2348
  <div class="facts">
2348
2349
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>What does the payments spec say about refund limits?</li><li>Which document describes the password rules?</li><li>Search our documents for the checkout requirements</li></ul></div>
2349
2350
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
@@ -2357,7 +2358,7 @@ forgeqe knowledge chat &quot;what do you know about refunds?&quot;
2357
2358
  <ol>
2358
2359
  <li><strong>Each document becomes a tree of its sections</strong>: its Markdown headings (<code>#</code> or underlined), else numbered headings (<code>3.2 Refunds</code>, as PDFs and Word documents have them), else parts of about 2,400 characters at paragraph breaks. A section knows the headings it is under (&quot;Payments › Refunds › Limits&quot;) and its line.</li>
2359
2360
  <li><strong>Keywords rank the sections</strong> (BM25, as search engines rank; a heading counts three times), then a light re-rank with no model: a section that has more of the question's different words ranks higher, so &quot;refund limits&quot; finds the section on limits before one that only repeats &quot;refund&quot;.</li>
2360
- <li><strong>Reasoning, when a model is set up</strong>: the Document reader (<code>forgeqe-doc-reader</code>, no tools, a fixed answer) gets your question and the outline of the documents, and picks the sections that answer it, so &quot;what can a customer get back&quot; finds the section headed &quot;Refund limits&quot;. This is the re-ranking step; no separate re-ranking model is needed. When the outline of every document fits (about 16,000 characters), the reader sees all of it, as PageIndex does; otherwise the documents step 2 found. Only ids from the outline are kept; its words reach nobody. Without a model, or when it fails, the keywords answer.</li>
2361
+ <li><strong>Reasoning, when a model is set up</strong>: Skimmer (<code>forgeqe-doc-reader</code>, no tools, a fixed answer) gets your question and the outline of the documents, and picks the sections that answer it, so &quot;what can a customer get back&quot; finds the section headed &quot;Refund limits&quot;. This is the re-ranking step; no separate re-ranking model is needed. When the outline of every document fits (about 16,000 characters), the reader sees all of it, as PageIndex does; otherwise the documents step 2 found. Only ids from the outline are kept; its words reach nobody. Without a model, or when it fails, the keywords answer.</li>
2361
2362
  </ol>
2362
2363
  <p><strong>What it saves.</strong> Agents get sections, not whole files:</p>
2363
2364
  <ul>
@@ -2377,7 +2378,7 @@ forgeqe knowledge chat &quot;what do you know about refunds?&quot;
2377
2378
  <p><strong>What is cached, so it costs less the second time.</strong></p>
2378
2379
  <ul>
2379
2380
  <li>The index: a document is read and split again only when it changes.</li>
2380
- <li>The Document reader's answers: the same question over the same outline with the same model gets the kept answer with no model call (<code>~/.forgeqe/cache/doc-index/picks.json</code>, 30 days). A changed document or another model asks again; <code>--no-cache</code> asks anyway.</li>
2381
+ <li>Skimmer's answers: the same question over the same outline with the same model gets the kept answer with no model call (<code>~/.forgeqe/cache/doc-index/picks.json</code>, 30 days). A changed document or another model asks again; <code>--no-cache</code> asks anyway.</li>
2381
2382
  <li>The provider's prompt cache: the outline comes before the question in the reader's message, and is the same text for every question while the documents do not change, so a provider that caches prompts (Anthropic, OpenAI, Azure OpenAI) charges less for it.</li>
2382
2383
  </ul>
2383
2384
  <p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings › Evidence (<code>.forgeqe/documents</code>), every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project. Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files are read by Graphify's converters when you run <code>forgeqe knowledge docs index</code>, and their text is kept for later searches. A folder is listed like a product's documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is one JSON file in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
@@ -2391,7 +2392,7 @@ forgeqe knowledge docs outline specs/payments.md # the tree of one document
2391
2392
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>rag:
2392
2393
  documents:
2393
2394
  folders: [docs/requirements] # beside the knowledge folder, the uploaded documents and product.docs
2394
- reasoning: false # true: the Document reader picks sections (one model call per search)
2395
+ reasoning: false # true: Skimmer picks sections (one model call per search)
2395
2396
  top_k: 5
2396
2397
  </code></pre></div>
2397
2398
  <p><code>documents: true</code> searches the default folders with keywords only. The passages are the documents' text: agents get them as data, never as instructions.</p>
@@ -2425,7 +2426,7 @@ agents: [browser]
2425
2426
  <p><strong>Who uses it.</strong> <code>agents</code> lists <code>forgeqe</code> (ForgeQE's agent: how to handle a kind of request), <code>scribe</code> (writing, healing, finding and reviewing tests), and <code>browser</code> (the browser agent). Without <code>agents</code>, a skill is for <code>forgeqe</code> and <code>scribe</code>; a browser skill must ask for <code>browser</code>.</p>
2426
2427
  <p><strong>How skills are used.</strong></p>
2427
2428
  <ul>
2428
- <li>ForgeQE's agent and Scribe see the name and description of each skill meant for them, and load the ones that fit the job through the agent runtime's skill tool. A skill adds to their instructions and never overrides them. Scribe can also read files next to <code>SKILL.md</code> (for example <code>references/locators.md</code>) when the skill points to them.</li>
2429
+ <li>ForgeQE's agent and Quill see the name and description of each skill meant for them, and load the ones that fit the job through the agent runtime's skill tool. A skill adds to their instructions and never overrides them. Quill can also read files next to <code>SKILL.md</code> (for example <code>references/locators.md</code>) when the skill points to them.</li>
2429
2430
  <li>Browser runs: ForgeQE's agent passes the browser skills a goal needs to <code>browser_run</code> and <code>run_test_cases</code>. For <code>forgeqe suite</code>, <code>forgeqe monitor</code> and <code>forgeqe run --direct</code>, the engine picks them from the goal with one short model call (at most three), and remembers the choice for that goal, so a monitor's later rounds and repeated cases skip it. <code>--skill NAME</code> (repeatable) fixes the list; <code>--skill none</code> runs without any. The chosen skills' text is added to the browser agent's prompt, at most <code>skills.browser_max_chars</code> (6,000) characters in total; the browser agent reads only <code>SKILL.md</code>.</li>
2430
2431
  <li><code>run.json</code>, the <code>run.done</code> log line and the report list the skills a run used.</li>
2431
2432
  </ul>
@@ -2435,7 +2436,7 @@ agents: [browser]
2435
2436
  <tr><th>Source</th><th>Folder</th></tr>
2436
2437
  </thead>
2437
2438
  <tbody>
2438
- <tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-typescript</code>, <code>dotnet-nunit-playwright</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Scribe), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Scribe and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Scribe: D365 control names and locators, steps per control, EasyRepro), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
2439
+ <tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
2439
2440
  <tr><td>Global, only with <code>skills.external: true</code></td><td><code>~/.claude/skills</code>, <code>~/.agents/skills</code>, and the repo's <code>.claude/skills</code> and <code>.agents/skills</code></td></tr>
2440
2441
  <tr><td>User</td><td><code>~/.forgeqe/skills</code> (or <code>$FORGEQE_HOME/skills</code>)</td></tr>
2441
2442
  <tr><td>Project</td><td><code>.forgeqe/skills</code> next to <code>forgeqe.yaml</code>, and the repo's own <code>.forgeqe/skills</code></td></tr>
@@ -2465,7 +2466,7 @@ agents: [browser]
2465
2466
  <tr><td><code>/skills [name]</code></td><td>The same list, or one skill, in the shell</td></tr>
2466
2467
  </tbody>
2467
2468
  </table></div>
2468
- <p>In the shell you can also ask: &quot;make a skill for our Dynamics date picker&quot; or &quot;teach Scribe our test conventions&quot;. ForgeQE's agent gathers the facts, writes the skill into <code>.forgeqe/skills</code> with <code>forgeqe_setup</code>, and it applies from the next session. It writes skills only when you ask.</p>
2469
+ <p>In the shell you can also ask: &quot;make a skill for our Dynamics date picker&quot; or &quot;teach Quill our test conventions&quot;. ForgeQE's agent gathers the facts, writes the skill into <code>.forgeqe/skills</code> with <code>forgeqe_setup</code>, and it applies from the next session. It writes skills only when you ask.</p>
2469
2470
  </div>
2470
2471
  </section>
2471
2472
  <section class="doc" id="doc-how_to_use-model-routing">
@@ -2492,8 +2493,9 @@ bun src/index.ts models --routes --profile-models # check and rate the models
2492
2493
  </section>
2493
2494
  <section class="doc" id="doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">
2494
2495
  <h4>Model routing: the right configured model for each task</h4>
2495
- <div class="prose"><p>With more than one model in <code>llms.json</code>, ForgeQE can give each kind of work the model it needs. A small, fast,
2496
- cheap model can plan and review. A strong model can write code and find root causes. A model that takes screenshots
2496
+ <div class="prose"><p>With more than one model in <code>llms.json</code>, ForgeQE can give each kind of work the model it needs. The most capable model
2497
+ plans the work and leads the chat, then hands the tasks to the agents, each on the model that suits it: a strong model
2498
+ writes code and finds root causes, a cheaper one that is good enough reviews. A model that takes screenshots
2497
2499
  drives the browser, and a model with a large window reads a large pull request. You do not need to know what each
2498
2500
  model can do: ForgeQE finds out.</p>
2499
2501
  </div>
@@ -2504,6 +2506,7 @@ model can do: ForgeQE finds out.</p>
2504
2506
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>llm:
2505
2507
  models_file: ./llms.json
2506
2508
  routing: auto # off (the default for existing projects) | shadow | auto
2509
+ strategy: balanced # balanced (the default) | capability | cost
2507
2510
  </code></pre></div>
2508
2511
  <p><code>forgeqe init</code> writes <code>routing: auto</code> for new projects. With no <code>routing</code> line it is off. <code>shadow</code> decides and logs each pick in the session log
2509
2512
  (<code>model.route</code>) but changes nothing, so you can see what the router would do before you let it. Shadow still runs the
@@ -2526,12 +2529,12 @@ whenever it is rated good enough.</p>
2526
2529
  <tr><th>Area</th><th>What runs in it</th><th>Needs</th></tr>
2527
2530
  </thead>
2528
2531
  <tbody>
2529
- <tr><td><code>agent</code></td><td>ForgeQE's agent: the shell, <code>forgeqe run</code>, <code>forgeqe mcp</code></td><td>tool calls; rated 4+</td></tr>
2532
+ <tr><td><code>agent</code></td><td>ForgeQE's agent: the shell, <code>forgeqe run</code>, <code>forgeqe mcp</code> (plans and hands out work: <strong>lead</strong>)</td><td>tool calls; rated 4+</td></tr>
2530
2533
  <tr><td><code>browser</code></td><td>Browser, desktop and mobile runs, from screenshots</td><td>images; rated 4+</td></tr>
2531
- <tr><td><code>coding</code></td><td>Scribe writing and healing tests, API tests</td><td>tool calls; rated 5</td></tr>
2534
+ <tr><td><code>coding</code></td><td>Quill writing and healing tests, API tests</td><td>tool calls; rated 5</td></tr>
2532
2535
  <tr><td><code>review</code></td><td>Test reviewer, pull-request review, evaluation judge</td><td>tool calls; rated 3+</td></tr>
2533
2536
  <tr><td><code>analysis</code></td><td>Root cause of defects</td><td>tool calls; rated 5</td></tr>
2534
- <tr><td><code>planning</code></td><td>Refine, finding tests, API scenarios, exploratory charters</td><td>tool calls; rated 3+</td></tr>
2537
+ <tr><td><code>planning</code></td><td>Refine, finding tests, API scenarios, exploratory charters (<strong>lead</strong>)</td><td>tool calls; rated 3+</td></tr>
2535
2538
  </tbody>
2536
2539
  </table></div>
2537
2540
  </div>
@@ -2542,7 +2545,7 @@ whenever it is rated good enough.</p>
2542
2545
  (Settings → Routing → Areas of work, under each area, does the same):</p>
2543
2546
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>llm:
2544
2547
  agents:
2545
- forgeqe: azure-gpt4o # the Orchestrator
2548
+ forgeqe: azure-gpt4o # Atlas
2546
2549
  engine: azure-gpt4o # the browser agent: pick a model that takes images
2547
2550
  forgeqe-test: claude-opus # the coding agent
2548
2551
  forgeqe-review: azure-mini # its reviewer
@@ -2575,9 +2578,25 @@ fails its check is replaced as for any area. <code>--profile</code> still names
2575
2578
  already downloads for prices. A fact that nobody knows never rules a model out.</p>
2576
2579
  </li>
2577
2580
  <li>
2578
- <p><strong>Ratings pick among the rest.</strong> The cheapest model rated at the area's bar is picked. Writing code and finding
2579
- root causes ask for 5, because a weaker model there costs more in failed attempts than it saves. If no model reaches the bar,
2580
- the best-rated one is picked. With no ratings yet, the active profile is kept unless a fact rules it out.</p>
2581
+ <p><strong>Ratings and the strategy pick among the rest.</strong> Only models rated at the area's bar are considered. Writing code
2582
+ and finding root causes ask for 5, because a weaker model there costs more in failed attempts than it saves. Among
2583
+ them, <code>llm.strategy</code> picks:</p>
2584
+ <div class="tbl"><table>
2585
+ <thead>
2586
+ <tr><th>Strategy</th><th>Lead areas (<code>agent</code>, <code>planning</code>)</th><th>The other areas</th></tr>
2587
+ </thead>
2588
+ <tbody>
2589
+ <tr><td><code>balanced</code> (the default)</td><td>the most capable model; the cheapest only among equally rated ones</td><td>the best value: a higher rating is worth paying for, up to 4× the price per rating point</td></tr>
2590
+ <tr><td><code>capability</code></td><td>the most capable model</td><td>the most capable model</td></tr>
2591
+ <tr><td><code>cost</code></td><td>the cheapest model rated at the bar</td><td>the cheapest model rated at the bar</td></tr>
2592
+ </tbody>
2593
+ </table></div>
2594
+ <p>So with <code>balanced</code>, the planner is never a weak model because it was cheap, and a worker gets a stronger model when
2595
+ the extra capability costs little more. For example, for review (bar 3) a model rated 5 at 3× the price of one rated
2596
+ 4 is picked; at 8× the price, the one rated 4 is. A GitHub Copilot seat counts only its premium requests per call as
2597
+ price. If no model reaches the bar, the best-rated one is picked. With no ratings yet, the active profile is kept
2598
+ unless a fact rules it out. To keep a fast model for one agent (for example Talk's voice agent, which works in
2599
+ <code>planning</code>), give it its own model under <code>llm.agents</code>.</p>
2581
2600
  </li>
2582
2601
  <li>
2583
2602
  <p><strong>A failed answer escalates once.</strong> When a root-cause analysis finds nothing, or finds a cause with low confidence
@@ -2624,13 +2643,46 @@ data on one deployment; the checks carry nothing from your runs. To send nothing
2624
2643
  ForgeQE at start with a message that names it.</p>
2625
2644
  </div>
2626
2645
  </section>
2646
+ <section class="doc" id="doc-docs-model_routing-what-routing-cost-and-what-it-saved">
2647
+ <h4>What routing cost, and what it saved</h4>
2648
+ <div class="prose"><p>Every model call is recorded with the area it was made for and what chose its model — the router's own pick, an
2649
+ <code>llm.agents</code> pin, a substitution after a model failed its check, the active profile kept because nothing else passed,
2650
+ or an escalation. It goes in the usage ledger beside the tokens, so the question &quot;which model wrote the tests, and
2651
+ what did that cost&quot; is answered from the calls themselves and not from the logs.</p>
2652
+ <p>Where to see it:</p>
2653
+ <ul>
2654
+ <li><strong>Cost › By area of work</strong> — what each area spent.</li>
2655
+ <li><strong>Cost › Routing</strong> — each area's pick, and a <em>Ran on</em> column with the models that actually answered for it.</li>
2656
+ <li><strong>Cost › What routing cost</strong> — each area against running everything on <code>llm.active</code>, which is what <code>routing: off</code>
2657
+ does. Both sides are priced at today's prices, so the difference is the models' and not a price that moved since.</li>
2658
+ <li><code>forgeqe models --routes</code> still shows the picks themselves.</li>
2659
+ </ul>
2660
+ <p>Two things to read carefully:</p>
2661
+ <ul>
2662
+ <li><strong>An area can cost more, on purpose.</strong> <code>coding</code> and <code>analysis</code> are routed to a model rated 5, which is usually the
2663
+ dearest one configured. Measured against a cheap active profile, those areas show as costing <em>more</em>, and the total
2664
+ can be negative. That is routing working, not a fault: the cheaper model there costs more in failed attempts than
2665
+ it saves.</li>
2666
+ <li><strong>It is price arithmetic only.</strong> Nothing in it checked that the cheaper model would have reached the same answer,
2667
+ written a test that passed, or found the same root cause. A saving is what the tokens would have cost at another
2668
+ price, nothing more.</li>
2669
+ </ul>
2670
+ <p>Calls that cannot be compared are counted and named rather than folded in: a model with no known price, an active
2671
+ profile with no known price, or a price in another currency, which there is no rate to convert with. Calls recorded
2672
+ before ForgeQE kept the area, and any the router never touched, are their own <strong>Not attributed</strong> row.</p>
2673
+ </div>
2674
+ </section>
2627
2675
  <section class="doc" id="doc-docs-model_routing-what-it-does-not-do">
2628
2676
  <h4>What it does not do</h4>
2629
2677
  <div class="prose"><ul>
2678
+ <li>The lead model does not choose the workers' models itself: each agent's model is picked by code, from the ratings
2679
+ and the strategy, so the same configuration always gives the same models.</li>
2630
2680
  <li>ForgeQE's agent picks its model when its session starts and keeps it for the whole conversation. Changing the model
2631
2681
  mid-conversation would drop the prompt cache and make every later turn cost more. The agent hands heavy work to the
2632
2682
  other agents, and those are routed.</li>
2633
2683
  <li>A rating is one model's judgement. It is kept in a file that you can read and correct.</li>
2684
+ <li>It does not judge whether a cheaper model was good enough. The saving it reports is a price difference; whether the
2685
+ model that answered was the right one is what a test's result, a review and a root cause tell you.</li>
2634
2686
  </ul>
2635
2687
  </div>
2636
2688
  </section>
@@ -2677,11 +2729,10 @@ first; use a test machine and a test account. Details: <a href="#doc-docs-deskto
2677
2729
  </section>
2678
2730
  <section class="doc" id="doc-docs-desktop-forgeqe-desktop-thick-client-automation">
2679
2731
  <h4>ForgeQE desktop: thick-client automation</h4>
2680
- <div class="prose"><p>Status: runs on Windows. The <code>desktop</code> job of <code>.github/workflows/ci.yml</code> (GitHub's <code>windows-2022</code>) installs the
2681
- engine and the pinned UFO², replays Notepad live with the pywinauto driver and through <code>forgeqe desktop replay</code>, heals a
2682
- moved control from the live window, and runs a whole explore: UFO² drives Notepad with a scripted model behind an
2683
- OpenAI-compatible server, the action is recorded with the control's AutomationId, and the recording replays. Not yet
2684
- run: explore with a real model (the job has no key), and your own apps. See
2732
+ <div class="prose"><p>Status: runs on Windows. The live tests there install the engine and the pinned UFO², replay Notepad with the
2733
+ pywinauto driver and through <code>forgeqe desktop replay</code>, heal a moved control from the live window, and run a whole
2734
+ explore: UFO² drives Notepad with a scripted model behind an OpenAI-compatible server, the action is recorded with the
2735
+ control's AutomationId, and the recording replays. Not yet run: explore with a real model, and your own apps. See
2685
2736
  <a href="#doc-docs-desktop-before-first-use-on-windows">Before first use on Windows</a>.</p>
2686
2737
  <p>ForgeQE drives web apps through Chrome. The desktop engine does the same for Windows thick clients (Win32, WinForms,
2687
2738
  WPF, and the native parts of Electron and WebView2 apps): say what you want in plain language, UFO² does it on the live
@@ -3010,11 +3061,10 @@ nightly workflow (<code>ci/desktop-runner/desktop-nightly.example.yml</code>), a
3010
3061
  <h4>Updating UFO²</h4>
3011
3062
  <div class="prose"><p>UFO² is pinned to one commit. Moving it is checked before it is pinned:</p>
3012
3063
  <ol>
3013
- <li>The <code>ufo-update</code> job of <code>.github/workflows/ci.yml</code> runs weekly, or by hand (Run workflow, job <code>ufo-update</code>) with a commit. It sets up that UFO on
3014
- Windows (<code>FORGEQE_UFO_COMMIT</code>, which takes a full 40-character commit id only), runs the adapter tests against its
3015
- real code and a scripted explore of Notepad, and says in the job summary whether it passed.</li>
3064
+ <li>Set up that UFO on Windows (<code>FORGEQE_UFO_COMMIT</code>, which takes a full 40-character commit id only), then run the
3065
+ adapter tests against its real code and a scripted explore of Notepad.</li>
3016
3066
  <li>When it passed: <code>bun scripts/ufo-bump.ts &lt;commit&gt;</code> writes the new pin into <code>src/desktop/setup.ts</code>,
3017
- <code>py/forgeqe_desktop/ufo_runner.py</code> and this page. Run the tests and push; the Windows CI job tests the pin again.</li>
3067
+ <code>py/forgeqe_desktop/ufo_runner.py</code> and this page. Run the tests on Windows again before pushing.</li>
3018
3068
  </ol>
3019
3069
  <p>When it fails, the failing step names what changed in UFO (usually the action executor or the config layout that the
3020
3070
  adapter wraps). Keep the pin until the adapter is updated for it.</p>
@@ -3126,7 +3176,7 @@ is not set, stopped at &quot;No model in llms.json can …&quot; (now healing is
3126
3176
  <div class="prose"><ol>
3127
3177
  <li>The checks above.</li>
3128
3178
  <li><code>forgeqe suite</code> and test cases from Azure DevOps, Jira and Xray for desktop workflows, with results written back.</li>
3129
- <li>Scribe: export a workflow as pywinauto code (or C# with FlaUI) in the user's repo.</li>
3179
+ <li>Quill: export a workflow as pywinauto code (or C# with FlaUI) in the user's repo.</li>
3130
3180
  <li>App adapters where UIA falls short: Java Access Bridge, SAP GUI scripting, vision-only for Citrix.</li>
3131
3181
  <li>A pipeline template for a self-hosted Windows runner signed in to a desktop session.</li>
3132
3182
  </ol>
@@ -3312,10 +3362,10 @@ download the <code>hyperexecute</code> CLI into the folder, then run <code>forge
3312
3362
  </section>
3313
3363
  <section class="doc" id="doc-docs-mobile-forgeqe-mobile-android-and-ios-apps">
3314
3364
  <h4>ForgeQE mobile: Android and iOS apps</h4>
3315
- <div class="prose"><p>Status: the engine and its tests run on any OS, against a fake Appium server and a stand-in for Maestro. The CI job
3316
- The <code>android</code> job of <code>.github/workflows/ci.yml</code> runs it on an Android emulator: Appium explores and replays the
3317
- emulator's Settings app, and Maestro replays the same workflow. iOS runs the same code with the XCUITest driver, but
3318
- no CI job tests it yet (it needs a macOS runner with a simulator).</p>
3365
+ <div class="prose"><p>Status: the engine and its tests run on any OS, against a fake Appium server and a stand-in for Maestro. On an
3366
+ Android emulator the live tests go further: Appium explores and replays the emulator's Settings app, and Maestro
3367
+ replays the same workflow. iOS runs the same code with the XCUITest driver, but is untested (it needs a macOS machine
3368
+ with a simulator).</p>
3319
3369
  <p>ForgeQE drives mobile apps two ways, and one workflow format runs on both:</p>
3320
3370
  <div class="tbl"><table>
3321
3371
  <thead>
@@ -3667,8 +3717,8 @@ environment); run it with a local <code>maestro</code>.</li>
3667
3717
  run folder. Neither the user name nor the key is passed to the flows' environment.</li>
3668
3718
  <li><code>maestro</code> and the <code>hyperexecute</code> CLI are started without ForgeQE's own secrets (the model's key, service tokens) in
3669
3719
  their environment; only the mobile engine itself holds them.</li>
3670
- <li>The <code>testmu</code> job of <code>.github/workflows/ci.yml</code> (Run workflow, job <code>testmu</code>) runs all three on TestMu (Appium, Maestro with a workflow, a team flow)
3671
- with TestMu's Wikipedia sample app, once the repository has the secrets <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>.</li>
3720
+ <li><code>samples/mobile-testmu</code> runs all three on TestMu (Appium, Maestro with a workflow, a team flow) with TestMu's
3721
+ Wikipedia sample app, once <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> are set.</li>
3672
3722
  </ul>
3673
3723
  </div>
3674
3724
  </section>
@@ -3749,7 +3799,7 @@ or a link is refused, because a container can send what it reads anywhere.</li>
3749
3799
  <li><strong>The docker, podman and compose programs only see</strong> the variables they need to find their daemon, plus the service's
3750
3800
  listed secrets.</li>
3751
3801
  <li><strong>Not in the agents' shell:</strong> <code>docker</code>, <code>podman</code>, <code>nerdctl</code> and compose commands are refused for ForgeQE's agent and
3752
- Scribe. Containers start only through these tools.</li>
3802
+ Quill. Containers start only through these tools.</li>
3753
3803
  </ul>
3754
3804
  <p><strong>Compose files.</strong> <code>containers.compose: docker-compose.yml</code> reads the file's services into the same list, checked by the
3755
3805
  same rules (forgeqe.yaml's own declaration of a service wins):</p>
@@ -3764,16 +3814,16 @@ secret passed by name.</li>
3764
3814
  The project's containers share their own network, so services reach each other by name (<code>db:5432</code>).</p>
3765
3815
  <p><strong>Docker as the workspace and the browser.</strong> Two settings move the rest of the work into containers:</p>
3766
3816
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>browser:
3767
- provider: docker # the browser agent, the replay and Scribe's live browser use Chromium in a container
3817
+ provider: docker # the browser agent, the replay and Quill's live browser use Chromium in a container
3768
3818
  containers:
3769
- workspace: # Scribe's shell commands and every test ForgeQE runs use this image
3819
+ workspace: # Quill's shell commands and every test ForgeQE runs use this image
3770
3820
  image: mcr.microsoft.com/playwright/dotnet:v1.63.0-noble
3771
3821
  env: { NEXUS_ENVIRONMENT: CI }
3772
3822
  browser: # optional
3773
3823
  headless: false # visible on a virtual display inside the container (some sites refuse headless)
3774
3824
  </code></pre></div>
3775
3825
  <ul>
3776
- <li><strong>Workspace:</strong> Scribe builds, restores, runs and fixes tests in a Linux container of the project's image, with the
3826
+ <li><strong>Workspace:</strong> Quill builds, restores, runs and fixes tests in a Linux container of the project's image, with the
3777
3827
  repository at the same path. Each test run gets its own container from that image, and <code>HOME</code> is a volume of the
3778
3828
  project's, so package caches outlive the session. The agents and the model key stay on this machine, and ForgeQE's
3779
3829
  own agent keeps this machine's shell. <code>.env</code>, keys and other credential files in the repository are covered inside
@@ -3781,7 +3831,7 @@ the containers.</li>
3781
3831
  <li><strong>Browser:</strong> each browser run gets a fresh container, reached through a gateway that wants a random token. A
3782
3832
  declared service is reached by its name; an app on this machine is <code>host.docker.internal</code>, not <code>localhost</code>.
3783
3833
  <code>--browser-provider docker</code> picks it for one run.</li>
3784
- <li><code>FORGEQE_HOST_RUN=1</code> runs Scribe's commands and the tests on this machine for a session.</li>
3834
+ <li><code>FORGEQE_HOST_RUN=1</code> runs Quill's commands and the tests on this machine for a session.</li>
3785
3835
  </ul>
3786
3836
  <p><strong>Tests in a container.</strong> With <code>containers.tests</code>, <code>run_tests</code> runs the repository's tests in that image instead of
3787
3837
  on this machine, after starting the services it lists:</p>
@@ -3800,7 +3850,7 @@ secrets.</li>
3800
3850
  <li><strong>To run on this machine instead:</strong> ask to run the tests on this machine (<code>in_container: false</code>).</li>
3801
3851
  <li><strong>Machines:</strong> Linux and macOS.</li>
3802
3852
  </ul>
3803
- <p><strong>Testcontainers.</strong> When a test needs a real database or queue, or the repository already uses Testcontainers, Scribe's
3853
+ <p><strong>Testcontainers.</strong> When a test needs a real database or queue, or the repository already uses Testcontainers, Quill's
3804
3854
  <code>testcontainers</code> skill writes the test to start it from code. It reuses the repository's fixtures, pins images, waits
3805
3855
  for readiness, and uses the mapped port. It never uses privileged mode, the host network, or the Docker socket.</p>
3806
3856
  </div>
@@ -3816,7 +3866,6 @@ real Docker (and is skipped without it):</p>
3816
3866
  <li>A tests container that reaches the database by name and writes its results into the repository as this machine's
3817
3867
  user.</li>
3818
3868
  </ul>
3819
- <p>The <code>containers</code> job of <code>.github/workflows/ci.yml</code> runs both on GitHub's Docker. There, a skipped live test fails the job.</p>
3820
3869
  <p>ForgeQE uses Docker or Podman, when one is installed, for five jobs:</p>
3821
3870
  <ul>
3822
3871
  <li><strong>Services a test run needs:</strong> a database, a queue, a cache, or the API under test. The project declares them in
@@ -3825,12 +3874,12 @@ forgeqe.yaml, or in a docker-compose file that forgeqe.yaml names.</li>
3825
3874
  the tests can run without the real service.</li>
3826
3875
  <li><strong>The repository's tests in a container:</strong> <code>run_tests</code> runs the command the user confirmed in an image, instead of
3827
3876
  on this machine, after starting the services the tests need.</li>
3828
- <li><strong>A workspace for the coding agents:</strong> with <code>containers.workspace</code>, Scribe's shell commands (build, restore, run,
3877
+ <li><strong>A workspace for the coding agents:</strong> with <code>containers.workspace</code>, Quill's shell commands (build, restore, run,
3829
3878
  git) and every test ForgeQE runs for it go to a container of the project's image. The agents stay on this machine.</li>
3830
- <li><strong>A browser in a container:</strong> with <code>browser.provider: docker</code>, the browser agent, the replay and Scribe's live
3879
+ <li><strong>A browser in a container:</strong> with <code>browser.provider: docker</code>, the browser agent, the replay and Quill's live
3831
3880
  browser drive Chromium in a container of Microsoft's Playwright image.</li>
3832
3881
  </ul>
3833
- <p>Scribe also has a <code>testcontainers</code> skill, for tests that start their own services from code (below).</p>
3882
+ <p>Quill also has a <code>testcontainers</code> skill, for tests that start their own services from code (below).</p>
3834
3883
  <p>ForgeQE's agent uses them through two tools, <code>services</code> and <code>mock_service</code>. The CLI has <code>forgeqe services</code>. When
3835
3884
  neither Docker nor Podman is on PATH, the agent isn't offered these tools.</p>
3836
3885
  </div>
@@ -3976,7 +4025,7 @@ workspace container.</p>
3976
4025
  </code></pre></div>
3977
4026
  <p>With <code>containers.workspace</code> set:</p>
3978
4027
  <ul>
3979
- <li><strong>Scribe's shell runs in the container.</strong> The agent runtime runs each command as <code>$SHELL -c &lt;command&gt;</code>. ForgeQE
4028
+ <li><strong>Quill's shell runs in the container.</strong> The agent runtime runs each command as <code>$SHELL -c &lt;command&gt;</code>. ForgeQE
3980
4029
  sets <code>SHELL</code> to a script that runs the same command with <code>docker exec … sh -c &lt;command&gt;</code>, in the same folder,
3981
4030
  in the workspace container. A folder outside the repository is refused, since the container has only the
3982
4031
  repository. The agent is told its commands run in a Linux container of that image.</li>
@@ -4033,9 +4082,9 @@ launch, which a running browser does not have.</li>
4033
4082
  </ul>
4034
4083
  </div>
4035
4084
  </section>
4036
- <section class="doc" id="doc-docs-containers-testcontainers-scribe">
4037
- <h4>Testcontainers (Scribe)</h4>
4038
- <div class="prose"><p>When a test needs a real service, or the repository already uses Testcontainers (Java, .NET, Node, Python, Go), Scribe
4085
+ <section class="doc" id="doc-docs-containers-testcontainers-quill">
4086
+ <h4>Testcontainers (Quill)</h4>
4087
+ <div class="prose"><p>When a test needs a real service, or the repository already uses Testcontainers (Java, .NET, Node, Python, Go), Quill
4039
4088
  loads the <code>testcontainers</code> skill. It reuses the repository's containers and fixtures, pins images, waits for
4040
4089
  readiness, uses the mapped port, and sets the app's own configuration from it. It never uses privileged mode, the
4041
4090
  host network, the Docker socket, or a <code>docker</code> command from a test. These containers belong to the tests in the
@@ -4109,7 +4158,7 @@ that is or holds a hidden file or folder (<code>.env</code>, <code>.git</code>,
4109
4158
  </ul>
4110
4159
  </li>
4111
4160
  <li><strong>Not in the agents' shell:</strong> <code>docker</code>, <code>podman</code>, <code>nerdctl</code>, <code>docker-compose</code> and <code>podman-compose</code> are denied in the
4112
- shell of ForgeQE's agent and of Scribe. So the only way to start a container is these tools.</li>
4161
+ shell of ForgeQE's agent and of Quill. So the only way to start a container is these tools.</li>
4113
4162
  <li><strong>Asked first:</strong> <code>services up</code> and <code>mock_service</code> ask the user before starting, as <code>run_tests</code> does.</li>
4114
4163
  </ul>
4115
4164
  </div>
@@ -4293,7 +4342,7 @@ environment named like production is never allowed. It has no shell, web fetch o
4293
4342
  <code>shell: true</code> (then a person approves each command), and uses only the other systems <code>scope.systems</code> names. Writing and
4294
4343
  healing tests start a coding agent, which a person approves each call of unless <code>permissions.trust</code> lists it.</p>
4295
4344
  <p>The agents it may start are checked on every call, including the ones a tool starts for it: <code>write_test</code> starts
4296
- <code>forgeqe-test</code> and, from a recording, <code>forgeqe-test-plan</code>; <code>request_test_data</code> starts the DB agent (<code>forgeqe-data</code>);
4345
+ <code>forgeqe-test</code> and, from a recording, <code>forgeqe-test-plan</code>; <code>request_test_data</code> starts Miner (<code>forgeqe-data</code>);
4297
4346
  <code>product_knowledge</code> starts <code>forgeqe-investigate</code> to answer a question and <code>forgeqe-knowledge</code> to read the product with
4298
4347
  the model. A run that finds a new defect explains it with <code>forgeqe-defect-rca</code> only when the agent may use it; otherwise
4299
4348
  the run goes ahead with the analysis that uses no model. <code>forgeqe agent check</code> and the editor say what each capability
@@ -4377,14 +4426,14 @@ list is read; a tool is read-only only when the server marks it <code>readOnlyHi
4377
4426
  server's own requests (ping) are answered and never taken for an answer; and a refused sign-in says to check the
4378
4427
  credential its settings name.</p>
4379
4428
  <p>Before your team relies on custom agents, run <a href="custom-agents-first-run/index.html">the first real run</a> once: building one
4380
- with the model, trying, approving, the Orchestrator, another system, a schedule, production, turning off, and the
4429
+ with the model, trying, approving, Atlas, another system, a schedule, production, turning off, and the
4381
4430
  record, each with what you should see. The builder offers starters (defect retest, nightly smoke, pull request test
4382
4431
  check, release readiness, API contracts, test case quality): a request to begin from, planned from what your project has.</p>
4383
4432
  <p>To turn custom agents off for the whole project, set <code>custom_agents: { enabled: false }</code> in <code>forgeqe.yaml</code> (Settings,
4384
- Custom agents). Then none runs, from the terminal, the web app, the Orchestrator or a schedule; ForgeQE's agent is not
4433
+ Custom agents). Then none runs, from the terminal, the web app, Atlas or a schedule; ForgeQE's agent is not
4385
4434
  given the tool that reaches them, and the builder is closed. Their files, approvals and history are kept, so turning
4386
4435
  them back on restores everything as it was.</p>
4387
- <p>The Orchestrator hands requests to the active custom agents (custom_agent) as it does to its own agents. Each run is
4436
+ <p>Atlas hands requests to the active custom agents (custom_agent) as it does to its own agents. Each run is
4388
4437
  kept in <code>.forgeqe/agent-runs/&lt;id&gt;</code>.</p>
4389
4438
  <p>In the web app (<code>forgeqe web</code>), custom agents are under Agents, Custom agents. <strong>New agent</strong> opens the agent builder:
4390
4439
  say what the agent should do in your own words, and ForgeQE takes you through its steps, one page each: Understand
@@ -4594,9 +4643,9 @@ minutes, once per schema change.</li>
4594
4643
  </article>
4595
4644
  <article class="spec feat" id="cap-test-data">
4596
4645
  <div class="hd"><span class="mono">Data</span><h3>Test data on demand</h3></div>
4597
- <p class="ds">Makes realistic test data from a spec that fits the database's schema (types, sizes, NOT NULL, unique keys, CHECK lists, enums), parents before children, the same rows for the same seed. Or takes a masked subset of a real database: the rows you pick and every row they need, with names, emails, phones, addresses and other personal columns replaced the same way every time. Shows a preview, writes CSV, JSON or SQL files for automation, or inserts the rows into a database marked writable after you confirm, as a batch that can be removed again. Specs live in the project, so tests and pipelines make the same data with forgeqe data gen. Every agent can ask the DB agent for the data it needs before it runs: the rows themselves, found with a read-only query or made from a spec, and the SQL or INSERT script that gets them again, kept for forgeqe data fetch.</p>
4646
+ <p class="ds">Makes realistic test data from a spec that fits the database's schema (types, sizes, NOT NULL, unique keys, CHECK lists, enums), parents before children, the same rows for the same seed. Or takes a masked subset of a real database: the rows you pick and every row they need, with names, emails, phones, addresses and other personal columns replaced the same way every time. Shows a preview, writes CSV, JSON or SQL files for automation, or inserts the rows into a database marked writable after you confirm, as a batch that can be removed again. Specs live in the project, so tests and pipelines make the same data with forgeqe data gen. Every agent can ask Miner for the data it needs before it runs: the rows themselves, found with a read-only query or made from a spec, and the SQL or INSERT script that gets them again, kept for forgeqe data fetch.</p>
4598
4647
  <div class="facts">
4599
- <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Generate test data: 20 customers with 1 to 3 orders each in the shop database</li><li>Make test data for the orders tables as CSV files for our automation</li><li>Insert 50 test users into the fixtures database</li><li>Copy 100 paid orders from prod into fixtures as a masked subset</li><li>Remove the test data batch we inserted yesterday</li><li>Ask the DB agent for a customer with two paid orders for the checkout test</li></ul></div>
4648
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Generate test data: 20 customers with 1 to 3 orders each in the shop database</li><li>Make test data for the orders tables as CSV files for our automation</li><li>Insert 50 test users into the fixtures database</li><li>Copy 100 paid orders from prod into fixtures as a masked subset</li><li>Remove the test data batch we inserted yesterday</li><li>Ask Miner for a customer with two paid orders for the checkout test</li></ul></div>
4600
4649
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A database under databases: in forgeqe.yaml or env.yaml: a connection string in an environment variable (url_env), or host, database, user and password_env; auth: azure or aws_iam for token sign-in</span></li></ul></div>
4601
4650
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Inserts only into databases marked writable, after you confirm; removes only rows of a batch it inserted</li><li>A subset reads its source in read-only sessions; its start condition is a filter of one table, and personal columns are found by name (mask: adds others)</li><li>Simple CHECK constraints (a list of values, bounds) are read; other rules the database enforces may refuse rows, and then nothing is kept</li></ul></div>
4602
4651
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>generate_test_data</code> <code>test_data_batches</code> <code>request_test_data</code></p></div>
@@ -4673,7 +4722,7 @@ cases. The data goes only into a database marked <code>writable</code>; these ho
4673
4722
  FORGEQE_DATA_FILE=test-data/.run/checkout.json npx playwright test
4674
4723
  forgeqe data clean &quot;$(jq -r .batch batch.json)&quot; --db fixtures --yes # in an always() step
4675
4724
  </code></pre></div>
4676
- <p>Scribe, ForgeQE's coding agent, writes tests that read their data from that file (its <code>test-data</code> skill), and can look
4725
+ <p>Quill, ForgeQE's coding agent, writes tests that read their data from that file (its <code>test-data</code> skill), and can look
4677
4726
  at the databases and preview test data through ForgeQE's data tools; it never changes a database itself.</p>
4678
4727
  <p><strong>A masked subset of real data.</strong> Instead of <code>tables:</code>, a spec can take real rows from another database: the rows you
4679
4728
  pick, every row they point at (and the rows those point at), and the child tables you name, with personal data
@@ -4723,7 +4772,7 @@ words (<code>Expected Message</code> is <code>{{row.expected_message}}</code>),
4723
4772
  <tbody>
4724
4773
  <tr><td>A file</td><td><code>file: test-data/users.csv</code> (<code>sheet:</code> for Excel)</td><td>The header row names the columns. A JSON file is a list of objects, or <code>{rows: [...]}</code></td></tr>
4725
4774
  <tr><td>A query</td><td><code>query: test-data/queries/active-users.sql</code> or <code>query: &quot;SELECT email, role FROM users WHERE active&quot;</code>, with <code>database: shop</code></td><td>The query's rows, read only: a statement that would change the database is refused</td></tr>
4726
- <tr><td>A kept request</td><td><code>request: active-users</code> (<code>table:</code> when it has several)</td><td>The DB agent's kept request, fetched again with no model (<code>forgeqe data fetch</code>)</td></tr>
4775
+ <tr><td>A kept request</td><td><code>request: active-users</code> (<code>table:</code> when it has several)</td><td>Miner's kept request, fetched again with no model (<code>forgeqe data fetch</code>)</td></tr>
4727
4776
  <tr><td>A spec</td><td><code>spec: test-data/users.yaml</code> (<code>table:</code> when it makes several)</td><td>The rows the spec makes, not inserted anywhere</td></tr>
4728
4777
  </tbody>
4729
4778
  </table></div>
@@ -4754,10 +4803,10 @@ forgeqe suite ado:plan=12/suite=34 --each-query test-data/queries/active-users.s
4754
4803
  <li><strong>Desktop replay</strong> takes the same rows: <code>forgeqe desktop replay workflow.yaml --data customers.xlsx</code>, or <code>--each-query ... --each-db NAME</code>. A <code>--data</code> CSV keeps its column names as written.</li>
4755
4804
  <li><strong>Trying a recording with each row.</strong> On the Record page, the review's Last run tab has <strong>Test data</strong>: the values typed there, or each row of a data file in <code>test-data/</code> (or an environment's <code>data:</code>) or of a kept request. The steps play once per row, up to 20 rows, one after another. A column named like the recording's test data gives that value, and other columns are left out. The result lists every row, then the steps of the first row that failed.</li>
4756
4805
  </ul>
4757
- <h5>Test data on request: the DB agent</h5>
4758
- <p>Every agent can ask the <strong>DB agent</strong> for the test data it needs before it runs: the Orchestrator (<code>request_test_data</code>),
4759
- Scribe, the API test writer and the healer (<code>data_request_test_data</code>), and a test case (<code>data: {request: ...}</code>). The
4760
- request is in words; the DB agent reads the schema, then either finds <strong>existing rows</strong> with one read-only SELECT or
4806
+ <h5>Test data on request: Miner</h5>
4807
+ <p>Every agent can ask the <strong>Miner</strong> for the test data it needs before it runs: Atlas (<code>request_test_data</code>),
4808
+ Quill, Link and the healer (<code>data_request_test_data</code>), and a test case (<code>data: {request: ...}</code>). The
4809
+ request is in words; Miner reads the schema, then either finds <strong>existing rows</strong> with one read-only SELECT or
4761
4810
  designs <strong>new rows</strong> as a test data spec. Its answer is the data itself and the script that gets it again:</p>
4762
4811
  <div class="tbl"><table>
4763
4812
  <thead>
@@ -4768,7 +4817,7 @@ designs <strong>new rows</strong> as a test data spec. Its answer is the data it
4768
4817
  <tr><td>New rows (<code>kind: new</code>)</td><td>The rows, and their INSERT statements in the database's dialect</td><td><code>spec.yaml</code> (with its seed), <code>data.sql</code>, <code>data.json</code>, <code>rows.json</code>, <code>request.yaml</code></td></tr>
4769
4818
  </tbody>
4770
4819
  </table></div>
4771
- <p><code>auto</code> (the default) lets the DB agent pick. The DB agent never writes to a database: a statement the data engine sees
4820
+ <p><code>auto</code> (the default) lets Miner pick. Miner never writes to a database: a statement the data engine sees
4772
4821
  as a write is refused, and new rows only go to files. Keys the database fills (serial, identity) are left out of
4773
4822
  <code>data.sql</code>, so the script runs on a database that already has rows.</p>
4774
4823
  <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><code>forgeqe data request &quot;two movies with more than 100 votes&quot; --db imdb --kind existing --rows 2
@@ -4783,15 +4832,15 @@ psql &quot;$IMDB_URL&quot; -f test-data/requests/queued-watchlist/data.sql # o
4783
4832
  steps:
4784
4833
  - action: Sign in as {{data.user_watchlist.0.user_handle}} and open the watchlist
4785
4834
  </code></pre></div>
4786
- <p>The first run asks the DB agent and keeps the request; later runs fetch it from <code>test-data/requests/&lt;name&gt;</code> with no
4835
+ <p>The first run asks Miner and keeps the request; later runs fetch it from <code>test-data/requests/&lt;name&gt;</code> with no
4787
4836
  model. Existing rows are used as they are (<code>{{data.result.0.&lt;column&gt;}}</code>, nothing to remove after); new rows go in as a
4788
4837
  batch before the case and are removed after it when the database is marked <code>writable</code>.</p>
4789
- <p><strong>Ask in words.</strong> Data, Ask (or <code>forgeqe data ask &quot;&lt;question&gt;&quot; --db NAME --as query|checks|script</code>) has the DB agent
4838
+ <p><strong>Ask in words.</strong> Data, Ask (or <code>forgeqe data ask &quot;&lt;question&gt;&quot; --db NAME --as query|checks|script</code>) has Miner
4790
4839
  turn a question into a checked read-only query and its rows (kept in <code>test-data/queries</code>), data checks (each a SELECT
4791
4840
  that returns the rows breaking one rule; kept in <code>test-data/checks</code>, run again with <code>forgeqe data checks &lt;name&gt;</code>), or a
4792
4841
  database test for pytest or Playwright (kept in <code>test-data/scripts</code>, never run by ForgeQE; it reads its connection
4793
4842
  string from an environment variable, and a script holding a password or a connection string is refused).</p>
4794
- <p><strong>Databases from Docker images.</strong> The databases the DB agent reads can run in containers that <code>forgeqe services up</code>
4843
+ <p><strong>Databases from Docker images.</strong> The databases Miner reads can run in containers that <code>forgeqe services up</code>
4795
4844
  starts (see <a href="#doc-how_to_use-containers-and-mock-services">Containers and mock services</a>), for example the sample databases of the
4796
4845
  Database Agent in test-agent-nexus (<code>docker-compose.yml</code>, profile <code>db-agent-demos</code>). The container's password and the
4797
4846
  connection's <code>password_env</code> are different variables: a database's secrets are ForgeQE's own and never go to a container.</p>
@@ -4807,7 +4856,7 @@ connection's <code>password_env</code> are different variables: a database's sec
4807
4856
  databases:
4808
4857
  imdb: { engine: postgres, host: 127.0.0.1, port: 5437, database: imdb, user: nexus, password_env: IMDB_DB_PASSWORD, ssl: disable, writable: true }
4809
4858
  </code></pre></div>
4810
- <p><code>tests/data-request.live.test.ts</code> runs the DB agent against that database in Docker.</p>
4859
+ <p><code>tests/data-request.live.test.ts</code> runs Miner against that database in Docker.</p>
4811
4860
  </div>
4812
4861
  </section>
4813
4862
  </div>
@@ -4961,16 +5010,16 @@ tokens and the like) show as <code>•••</code> in results. A check compares
4961
5010
  <header class="chead"><img class="pix pix--chapter" src="../img/icons/scribe.svg" alt="" width="40" height="40"><span class="mono">11</span><h2 id="area-automated-tests-h">Automated tests</h2><p>Write, heal, find, run, and stabilise tests in your repository</p></header>
4962
5011
  <article class="spec feat" id="cap-write-tests">
4963
5012
  <div class="hd"><span class="mono">Automated tests</span><h3>Turn a passed run into an automated test</h3></div>
4964
- <p class="ds">Scribe, the coding agent, writes a test for a passed browser run in the repository's own framework, page objects, and helpers; ForgeQE runs it until it passes and a reviewer approves it.</p>
5013
+ <p class="ds">Quill, the coding agent, writes a test for a passed browser run in the repository's own framework, page objects, and helpers; ForgeQE runs it until it passes and a reviewer approves it.</p>
4965
5014
  <div class="facts">
4966
5015
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write a Playwright test for that run in ../app</li></ul></div>
4967
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository to write the test in (default: the working directory)</span></li></ul></div>
5016
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository to write the test in (default: the working directory)</span></li></ul></div>
4968
5017
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>write_test</code> <code>run_test</code></p></div>
4969
5018
  </div>
4970
5019
  <div class="detail"><span class="mono">In detail</span>
4971
5020
  <section class="doc" id="doc-how_to_use-6-tests">
4972
5021
  <h4>Tests</h4>
4973
- <div class="prose"><p>After a run passes, <strong>Scribe</strong>, ForgeQE's coding agent, turns it into a test in your repo.</p>
5022
+ <div class="prose"><p>After a run passes, <strong>Quill</strong>, ForgeQE's coding agent, turns it into a test in your repo.</p>
4974
5023
  <p>In the shell and <code>forgeqe run</code>, every passed run then becomes a test, and so does each test case that passes when you ask the shell to run test cases: in the current folder, or in the repo you give per run or in <code>forgeqe.yaml</code>. <code>--no-code</code> turns it off; you can still ask for a test (&quot;write a Playwright test for that run&quot;).</p>
4975
5024
  <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><code>forgeqe run &quot;Log in and open the invoices page on staging.app.test&quot; --repo ../app
4976
5025
  </code></pre></div>
@@ -4994,39 +5043,39 @@ tokens and the like) show as <code>•••</code> in results. A check compares
4994
5043
  <p>The handoff also lists the browser agent's <strong>checks</strong>: before it finishes, the browser agent records each result the goal asks to verify with the exact text the page showed (<code>record_check</code>; a text the page does not show is refused). They are saved in <code>workflow.yaml</code> under <code>checks:</code>. The test asserts these and nothing else.</p>
4995
5044
  </li>
4996
5045
  <li>
4997
- <p>ForgeQE replays the run's steps as a Playwright script (<code>&lt;run&gt;/replay/flow.mjs</code>), in the run's browser setup (channel, headless or headed, user agent, language, time zone, viewport), with 10 seconds per step. Text is typed key by key, as the browser agent typed it, so search suggestions and other typing handlers fire. If the replay does not reach the run's final page, it runs again without Playwright's automation switches (<code>navigator.webdriver</code> false, as in ForgeQE's browser). The handoff gets the result: which steps worked, and for each failed step, Playwright's reason (for example a dialog that intercepts the click), the page, the dialogs open on it, how many elements each of the element's other locators matched, and a screenshot and page snapshot. It also saves Playwright's page snapshot of each page the replay visited (roles, accessible names, and text, as the replay left the page; the last page once it stops changing), so Scribe takes locators for its steps and assertions from real pages instead of guessing them. On the last page it looks up each of the browser agent's checks and puts the Playwright locator that matched its text into the handoff (a heading or text match, the container it sits in when there are several, or the form field that holds it), so assertions come with a locator that worked. For a heading it also gives the part of the page the heading names (an element labelled by it, the section it heads, or the element right after it), with its locator and how many links and list items it holds, so a check such as &quot;an In the news section with at least one item&quot; is asserted inside that part, not on the heading alone. A step that fails while every step after it still works and the replay reaches the final page (a click that did nothing on the run, or a control this version of the page doesn't have) doesn't count as a failed replay: Scribe decides from the step whether the goal needs it and ports the rest as it is. When only the second launch got through, the handoff says the browser setup is the difference and which launch settings fix it. The first time, Playwright (about 13 MB) is downloaded into <code>~/.forgeqe/tools</code>; it drives the installed Chrome. A run that only opened a page still replays when it recorded checks, to look them up; with neither it skips this, and <code>replay: false</code> turns it off.</p>
4998
- <p>Scribe first reads the repo (as a read-only agent: it cannot change files or use the live browser yet), while the replay runs when there is one, so the two overlap. What it learns (the framework, the command that runs one test, where page objects and config live, the conventions) is saved with page memory in <code>scribe-notes.json</code>, with the tests each job writes there. The next job in the same repo starts from those notes and that list instead of reading the repo again, and extends those tests' page objects when its flow overlaps; notes older than 30 days are read again.</p>
5046
+ <p>ForgeQE replays the run's steps as a Playwright script (<code>&lt;run&gt;/replay/flow.mjs</code>), in the run's browser setup (channel, headless or headed, user agent, language, time zone, viewport), with 10 seconds per step. Text is typed key by key, as the browser agent typed it, so search suggestions and other typing handlers fire. If the replay does not reach the run's final page, it runs again without Playwright's automation switches (<code>navigator.webdriver</code> false, as in ForgeQE's browser). The handoff gets the result: which steps worked, and for each failed step, Playwright's reason (for example a dialog that intercepts the click), the page, the dialogs open on it, how many elements each of the element's other locators matched, and a screenshot and page snapshot. It also saves Playwright's page snapshot of each page the replay visited (roles, accessible names, and text, as the replay left the page; the last page once it stops changing), so Quill takes locators for its steps and assertions from real pages instead of guessing them. On the last page it looks up each of the browser agent's checks and puts the Playwright locator that matched its text into the handoff (a heading or text match, the container it sits in when there are several, or the form field that holds it), so assertions come with a locator that worked. For a heading it also gives the part of the page the heading names (an element labelled by it, the section it heads, or the element right after it), with its locator and how many links and list items it holds, so a check such as &quot;an In the news section with at least one item&quot; is asserted inside that part, not on the heading alone. A step that fails while every step after it still works and the replay reaches the final page (a click that did nothing on the run, or a control this version of the page doesn't have) doesn't count as a failed replay: Quill decides from the step whether the goal needs it and ports the rest as it is. When only the second launch got through, the handoff says the browser setup is the difference and which launch settings fix it. The first time, Playwright (about 13 MB) is downloaded into <code>~/.forgeqe/tools</code>; it drives the installed Chrome. A run that only opened a page still replays when it recorded checks, to look them up; with neither it skips this, and <code>replay: false</code> turns it off.</p>
5047
+ <p>Quill first reads the repo (as a read-only agent: it cannot change files or use the live browser yet), while the replay runs when there is one, so the two overlap. What it learns (the framework, the command that runs one test, where page objects and config live, the conventions) is saved with page memory in <code>scribe-notes.json</code>, with the tests each job writes there. The next job in the same repo starts from those notes and that list instead of reading the repo again, and extends those tests' page objects when its flow overlaps; notes older than 30 days are read again.</p>
4999
5048
  </li>
5000
5049
  <li>
5001
- <p>Scribe starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework (&quot;Framework: Cypress + TypeScript + Cucumber BDD&quot;), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It may change the test configuration, but never a project's packages: changes to <code>package.json</code>, lockfiles, <code>.npmrc</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> are put back, and its shell cannot run an installer. Before running the test, ForgeQE installs the test project's packages itself when they are missing, with the project's own lockfile (<code>npm ci</code>, <code>pnpm install --frozen-lockfile</code>, <code>yarn install --frozen-lockfile</code>, <code>bun install --frozen-lockfile</code>; with no lockfile), and Cypress's app or a Playwright browser when a run says it is missing. If the install fails (permission denied, the registry unreachable, a version that does not exist), the job stops as blocked with the reason and the command to run, and is not tried again in that session until the project's files change. What Scribe may not do itself, it asks for: a package (<code>request_install</code>), a command its shell refuses (<code>request_run</code>), or a change to <code>package.json</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> (<code>request_change</code>). ForgeQE checks the request (registry names and exact versions only; a command as an argument list, never a shell, push, container, process-ending, download or database command, and nothing naming ForgeQE's secrets; never <code>.npmrc</code> or a lockfile by hand), then asks you with exactly what it would run or change. Only a yes does it; a no, or a run nobody watches, changes nothing and Scribe reports the test as blocked. The healing agent (<code>forgeqe heal</code>) and the API test writer ask the same way, and their own edits to package files are put back before their tests run. <code>code.requests</code> in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: <code>ask</code> (the default) asks you each time; <code>allow</code> does it after ForgeQE's checks without asking, also in a run nobody watches; <code>off</code> refuses every request. What is always refused (a shell, a push, <code>.npmrc</code>, a lockfile by hand…) stays refused whatever it says.</p>
5002
- <p>Before Scribe starts, ForgeQE reads the repo into a <strong>code graph</strong>, without a model: every class, page object, method, property, and test (TypeScript, JavaScript, C#, Java, Python), the calls between them, and the locators each one builds, in any framework's spelling (Playwright, Selenium, Cypress, WebdriverIO, Testing Library). It is kept in <code>~/.forgeqe/cache/code-graph</code>, nothing leaves the machine, and the next job reads again only the files that changed. The graph is tied to page memory, which knows each element by all its locators (its id, role and name, text, test id): so when the run clicked <code>getByRole('button', { name: 'Login' })</code> and the repo's <code>LoginPage.LoginButton</code> uses <code>#login-button</code>, the handoff says under that step &quot;in this repository: LoginPage.LoginButton … used by LoginPage.SignInAsync&quot;, and Scribe calls the existing method instead of writing a second locator. Scribe also gets tools that answer from the graph instead of grep and whole-file reads: <code>code_find</code> (classes, methods, and tests by name, or by the text a locator uses), <code>code_outline</code> (a file's or class's signatures and locators, or the source of one member), <code>code_element</code> (which member already locates an element), <code>code_references</code> (what calls a member, before it is changed), and <code>code_impact</code> (the tests a change reaches, through flows and base classes, whatever the test files are called). <code>graph: false</code> turns it off. The handoff also outlines the page objects its steps use and includes the repo's test that uses the most of them, so Scribe takes the test conventions from that test instead of reading other tests, and reads a settings file only to change it.</p>
5050
+ <p>Quill starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework (&quot;Framework: Cypress + TypeScript + Cucumber BDD&quot;), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It may change the test configuration, but never a project's packages: changes to <code>package.json</code>, lockfiles, <code>.npmrc</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> are put back, and its shell cannot run an installer. Before running the test, ForgeQE installs the test project's packages itself when they are missing, with the project's own lockfile (<code>npm ci</code>, <code>pnpm install --frozen-lockfile</code>, <code>yarn install --frozen-lockfile</code>, <code>bun install --frozen-lockfile</code>; with no lockfile), and Cypress's app or a Playwright browser when a run says it is missing. If the install fails (permission denied, the registry unreachable, a version that does not exist), the job stops as blocked with the reason and the command to run, and is not tried again in that session until the project's files change. What Quill may not do itself, it asks for: a package (<code>request_install</code>), a command its shell refuses (<code>request_run</code>), or a change to <code>package.json</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> (<code>request_change</code>). ForgeQE checks the request (registry names and exact versions only; a command as an argument list, never a shell, push, container, process-ending, download or database command, and nothing naming ForgeQE's secrets; never <code>.npmrc</code> or a lockfile by hand), then asks you with exactly what it would run or change. Only a yes does it; a no, or a run nobody watches, changes nothing and Quill reports the test as blocked. The healing agent (<code>forgeqe heal</code>) and Link ask the same way, and their own edits to package files are put back before their tests run. <code>code.requests</code> in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: <code>ask</code> (the default) asks you each time; <code>allow</code> does it after ForgeQE's checks without asking, also in a run nobody watches; <code>off</code> refuses every request. What is always refused (a shell, a push, <code>.npmrc</code>, a lockfile by hand…) stays refused whatever it says.</p>
5051
+ <p>Before Quill starts, ForgeQE reads the repo into a <strong>code graph</strong>, without a model: every class, page object, method, property, and test (TypeScript, JavaScript, C#, Java, Python), the calls between them, and the locators each one builds, in any framework's spelling (Playwright, Selenium, Cypress, WebdriverIO, Testing Library). It is kept in <code>~/.forgeqe/cache/code-graph</code>, nothing leaves the machine, and the next job reads again only the files that changed. The graph is tied to page memory, which knows each element by all its locators (its id, role and name, text, test id): so when the run clicked <code>getByRole('button', { name: 'Login' })</code> and the repo's <code>LoginPage.LoginButton</code> uses <code>#login-button</code>, the handoff says under that step &quot;in this repository: LoginPage.LoginButton … used by LoginPage.SignInAsync&quot;, and Quill calls the existing method instead of writing a second locator. Quill also gets tools that answer from the graph instead of grep and whole-file reads: <code>code_find</code> (classes, methods, and tests by name, or by the text a locator uses), <code>code_outline</code> (a file's or class's signatures and locators, or the source of one member), <code>code_element</code> (which member already locates an element), <code>code_references</code> (what calls a member, before it is changed), and <code>code_impact</code> (the tests a change reaches, through flows and base classes, whatever the test files are called). <code>graph: false</code> turns it off. The handoff also outlines the page objects its steps use and includes the repo's test that uses the most of them, so Quill takes the test conventions from that test instead of reading other tests, and reads a settings file only to change it.</p>
5003
5052
  </li>
5004
5053
  <li>
5005
5054
  <p>It writes the test from the handoff and the replay script: steps that worked are ported with their locators, steps that failed are fixed first. Every locator, including those for assertions, comes from the replay script, the page snapshots, page memory, or a check on the page; steps where the browser agent ran JavaScript to look around are left out. It does not walk the flow again or build tests to explore. Once a step fails (in the replay, or in its test), ForgeQE switches on its live browser: a Chrome that Playwright drives, set up like ForgeQE's, where it looks at the failing step's page one tool call per action (open, snapshot, click, type, wait, screenshot, run JavaScript, console errors, failed requests). Until then the live browser tools are off, so no tokens go into looking at pages that work. The live browser needs Node.js (<code>npx</code>), and Microsoft's Playwright MCP server is downloaded on first use; with <code>live_browser: false</code>, or without <code>npx</code>, it looks with a small throwaway script instead. When its browser gets a different page than ForgeQE's did (an error, a challenge, a control that will not open), it compares the two browsers (user agent, <code>navigator.webdriver</code>, headless, failed requests and CORS errors, headers the framework adds, console errors) and fixes the difference in the repo's browser configuration. It never judges the site with <code>curl</code> or <code>webfetch</code>.</p>
5006
5055
  </li>
5007
5056
  <li>
5008
- <p>Scribe does not run the test itself: it may build or compile, then reports the test file and the command that runs only that test, and ForgeQE runs it. If one command it runs fails <code>stall_after</code> times in a row within its work (the same build again and again, say), ForgeQE stops that turn and sends the command and its last output back, asking it to change approach. If the same command stalls again, the job stops as a failure with that output in the notes. The same goes for going round in circles: re-reading files, outlines or <code>git diff</code> it has already seen, unchanged, <code>repeat_after</code> times, or changing files it already changed <code>edit_after</code> times without handing the test over, or making 3 edits that fail because the file no longer has the lines it expected (it then reads the file once and edits from that). Its turn stops and it is asked for the test, which ForgeQE then runs; if it does it again, the job stops.</p>
5057
+ <p>Quill does not run the test itself: it may build or compile, then reports the test file and the command that runs only that test, and ForgeQE runs it. If one command it runs fails <code>stall_after</code> times in a row within its work (the same build again and again, say), ForgeQE stops that turn and sends the command and its last output back, asking it to change approach. If the same command stalls again, the job stops as a failure with that output in the notes. The same goes for going round in circles: re-reading files, outlines or <code>git diff</code> it has already seen, unchanged, <code>repeat_after</code> times, or changing files it already changed <code>edit_after</code> times without handing the test over, or making 3 edits that fail because the file no longer has the lines it expected (it then reads the file once and edits from that). Its turn stops and it is asked for the test, which ForgeQE then runs; if it does it again, the job stops.</p>
5009
5058
  </li>
5010
5059
  </ol>
5011
- <p>Every model call sends the whole conversation again, so ForgeQE keeps conversations short. Each attempt after the first, a rerun of a job that stopped while writing, and carrying on after you raise the token budget all start a new session from a brief: the handoff, the plan, the notes, and the files the job wrote as they are now. For a recording, what the planner already looked up in the code goes to Scribe too, and the planner's tokens count toward <code>max_tokens</code>. When a session's calls are mostly re-sent in full rather than read from the model's cache, ForgeQE says so once. At the token budget, the question says whether ForgeQE has run the test yet; an unattended write never asks and stops there. A job that stops says whether a test ever ran and which files it left changed in the repository.
5012
- 6. ForgeQE runs that command (with <code>CI=1</code>) and checks the exit code, and it watches the processes the command starts for a browser launched by Playwright, Puppeteer, Selenium, or Cypress. On a failure it sends the command, exit code, and output back to Scribe. The output is kept short so the error is never cut off: the page dump Playwright puts into a failed assertion (&quot;Aria snapshot:&quot;, often thousands of lines) is taken out and saved as <code>&lt;run&gt;/test-runs/attempt-N-page.aria.yml</code>, then the start (where the first error and its stack trace are) and the end (the summary) are sent; the full output is in <code>&lt;run&gt;/test-runs/attempt-N.log</code>, and the prompt names both files. A command that exits 0 without starting a browser also goes back: the test must drive the app in a browser. If the repo's browser runs on another machine (Selenium Grid, a cloud service, a container), the agent says where and the check is skipped.
5013
- 7. A passing test then goes to a separate reviewer agent, which can read files and <code>git diff</code> but not change anything. It checks the change against the goal and the test rules: every part of the goal done through the page and asserted, generic page objects with data in the test, no values or URLs copied from the run, browser settings in the repo's configuration, no leftover files. The changed files come inline in its prompt, so it reads nothing again, and it does not ask to replace locators or texts that came from the replay or the checks, since those matched the live site. It judges only what this job changed: ForgeQE records the working tree before the job, so your uncommitted edits, your untracked files, and ForgeQE's own files (<code>.forgeqe/</code>, <code>forgeqe.yaml</code>, <code>llms.json</code>) are never part of the review. It checks the diff of every file that existed before the job: removing or rewriting an existing test, even a commented-out one, is a correctness problem. Credentials come from the environment, except a public demo login that the application itself shows to anyone (such as the logins on saucedemo.com's sign-in page), which may stay in the repo's test data. It gets the outlines of the classes the changed code uses, the repo's browser settings, and the same <code>code_*</code> tools, so it checks reuse and settings without reading those files. The code graph also tells it what the job added that it can check in the code: a new member that locates an element an existing member already locates (to reuse instead), and new XPath or position-based locators. If it finds problems, they go back to Scribe as the next attempt. The terminal shows the exchange as it happens, in order: the reviewer's verdict with its reason and each issue (✗ correctness, ~ coding standard) with the file and the fix it asks for; then why Scribe tries again and what it is fixing (the reviewer's issues, or the test's first error); then what Scribe says it did and which files it changed; then the next verdict:</p>
5060
+ <p>Every model call sends the whole conversation again, so ForgeQE keeps conversations short. Each attempt after the first, a rerun of a job that stopped while writing, and carrying on after you raise the token budget all start a new session from a brief: the handoff, the plan, the notes, and the files the job wrote as they are now. For a recording, what the planner already looked up in the code goes to Quill too, and the planner's tokens count toward <code>max_tokens</code>. When a session's calls are mostly re-sent in full rather than read from the model's cache, ForgeQE says so once. At the token budget, the question says whether ForgeQE has run the test yet; an unattended write never asks and stops there. A job that stops says whether a test ever ran and which files it left changed in the repository.
5061
+ 6. ForgeQE runs that command (with <code>CI=1</code>) and checks the exit code, and it watches the processes the command starts for a browser launched by Playwright, Puppeteer, Selenium, or Cypress. On a failure it sends the command, exit code, and output back to Quill. The output is kept short so the error is never cut off: the page dump Playwright puts into a failed assertion (&quot;Aria snapshot:&quot;, often thousands of lines) is taken out and saved as <code>&lt;run&gt;/test-runs/attempt-N-page.aria.yml</code>, then the start (where the first error and its stack trace are) and the end (the summary) are sent; the full output is in <code>&lt;run&gt;/test-runs/attempt-N.log</code>, and the prompt names both files. A command that exits 0 without starting a browser also goes back: the test must drive the app in a browser. If the repo's browser runs on another machine (Selenium Grid, a cloud service, a container), the agent says where and the check is skipped.
5062
+ 7. A passing test then goes to a separate reviewer agent, which can read files and <code>git diff</code> but not change anything. It checks the change against the goal and the test rules: every part of the goal done through the page and asserted, generic page objects with data in the test, no values or URLs copied from the run, browser settings in the repo's configuration, no leftover files. The changed files come inline in its prompt, so it reads nothing again, and it does not ask to replace locators or texts that came from the replay or the checks, since those matched the live site. It judges only what this job changed: ForgeQE records the working tree before the job, so your uncommitted edits, your untracked files, and ForgeQE's own files (<code>.forgeqe/</code>, <code>forgeqe.yaml</code>, <code>llms.json</code>) are never part of the review. It checks the diff of every file that existed before the job: removing or rewriting an existing test, even a commented-out one, is a correctness problem. Credentials come from the environment, except a public demo login that the application itself shows to anyone (such as the logins on saucedemo.com's sign-in page), which may stay in the repo's test data. It gets the outlines of the classes the changed code uses, the repo's browser settings, and the same <code>code_*</code> tools, so it checks reuse and settings without reading those files. The code graph also tells it what the job added that it can check in the code: a new member that locates an element an existing member already locates (to reuse instead), and new XPath or position-based locators. If it finds problems, they go back to Quill as the next attempt. The terminal shows the exchange as it happens, in order: the reviewer's verdict with its reason and each issue (✗ correctness, ~ coding standard) with the file and the fix it asks for; then why Quill tries again and what it is fixing (the reviewer's issues, or the test's first error); then what Quill says it did and which files it changed; then the next verdict:</p>
5014
5063
  <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><code>⏺ Reviewer asked for changes attempt 1 of 5 · 1 to fix, 1 coding-standard
5015
5064
  ⎿ The test never checks that the pie chart is shown.
5016
5065
  ✗ Correctness · tests/PracticeTests.cs: No assertion on the SVG pie chart.
5017
5066
  Fix: Assert the chart's heading and SVG are visible.
5018
5067
  ~ Coding standard · tests/PracticeTests.cs: Test data is inline.
5019
5068
  Fix: Move it to the page object.
5020
- ⏺ Scribe tries again · attempt 2 of 5 the reviewer asked for changes
5069
+ ⏺ Quill tries again · attempt 2 of 5 the reviewer asked for changes
5021
5070
  ⎿ → tests/PracticeTests.cs: No assertion on the SVG pie chart. — fix: Assert the chart's heading and SVG are visible.
5022
- ⎿ Scribe (attempt 2): Added the pie chart assertion · changed tests/PracticeTests.cs, Pages/PracticePage.cs
5071
+ ⎿ Quill (attempt 2): Added the pie chart assertion · changed tests/PracticeTests.cs, Pages/PracticePage.cs
5023
5072
  ⏺ Reviewer approved the test attempt 2 of 5
5024
5073
  </code></pre></div>
5025
5074
  <p>The Activities panel has one line for each verdict and attempt, and <code>forgeqe</code> commands outside the terminal UI print the same blocks.</p>
5026
- <p>Scribe cannot edit ForgeQE's files or run folders, and cannot run <code>git clean</code>, <code>git reset --hard</code>, <code>git stash</code>, <code>git restore</code>, or <code>git checkout -- &lt;path&gt;</code>. If it still removes a file that existed before the job, or reverts your uncommitted edits, ForgeQE puts the file back after that attempt and tells the agent.
5027
- 8. The job is done when ForgeQE's run passes with a browser, the reviewer approves, and the test passes again unchanged until it has passed <code>code.confirm_runs</code> times in a row (default 3; <code>1</code> runs it once). A test that passes and then fails is flaky: the next attempt is told which run failed and why, and to make that step wait for the page. It stops as a failure after <code>max_attempts</code> attempts, when the job passes <code>code.max_tokens</code>, when the reviewer rejects a passing test twice, if the review cannot finish, when the test fails the same way three times in a row (the same output apart from numbers such as timings and line numbers; the second time, Scribe is told its change did not change the failure and to look at the failing step before changing code), or straight away on an auth, API, or context-limit error from the model.</p>
5075
+ <p>Quill cannot edit ForgeQE's files or run folders, and cannot run <code>git clean</code>, <code>git reset --hard</code>, <code>git stash</code>, <code>git restore</code>, or <code>git checkout -- &lt;path&gt;</code>. If it still removes a file that existed before the job, or reverts your uncommitted edits, ForgeQE puts the file back after that attempt and tells the agent.
5076
+ 8. The job is done when ForgeQE's run passes with a browser, the reviewer approves, and the test passes again unchanged until it has passed <code>code.confirm_runs</code> times in a row (default 3; <code>1</code> runs it once). A test that passes and then fails is flaky: the next attempt is told which run failed and why, and to make that step wait for the page. It stops as a failure after <code>max_attempts</code> attempts, when the job passes <code>code.max_tokens</code>, when the reviewer rejects a passing test twice, if the review cannot finish, when the test fails the same way three times in a row (the same output apart from numbers such as timings and line numbers; the second time, Quill is told its change did not change the failure and to look at the failing step before changing code), or straight away on an auth, API, or context-limit error from the model.</p>
5028
5077
  <p><code>blocked</code> is a last resort. The first time the agent reports that the app blocks it, ForgeQE sends it back to compare its browser with ForgeQE's and fix the difference; only a second blocked report, with what it compared, ends the job as blocked.</p>
5029
- <p>The transcript shows the handover and Scribe's work as it goes; files it writes or edits are marked ✎:</p>
5078
+ <p>The transcript shows the handover and Quill's work as it goes; files it writes or edits are marked ✎:</p>
5030
5079
  <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><code>┃
5031
5080
  ┃ ▸ Handing over to the coding agent browser agent → coding agent
5032
5081
  ┃
@@ -5035,7 +5084,7 @@ tokens and the like) show as <code>•••</code> in results. A check compares
5035
5084
  ┃ Repo ../app
5036
5085
  ┃
5037
5086
  ▸ Handoff written: .forgeqe/reports/20260928-172700/handoff.md (7 steps, 3 pages from page memory)
5038
- ▸ Scribe, the coding agent (azure/gpt-5.4), reads the handoff and writes a test in /work/app
5087
+ ▸ Quill, the coding agent (azure/gpt-5.4), reads the handoff and writes a test in /work/app
5039
5088
  ⚙ Reading .forgeqe/reports/20260928-172700/handoff.md
5040
5089
  ⚙ Reading tests/pages/LoginPage.ts
5041
5090
  ✎ Editing tests/invoices.spec.ts
@@ -5065,8 +5114,8 @@ tokens and the like) show as <code>•••</code> in results. A check compares
5065
5114
  ┃ Handoff .forgeqe/reports/20260928-172700/handoff.md
5066
5115
  </code></pre></div>
5067
5116
  <p>When no test was written, the Test row says why: the run did not pass, the session has <code>--no-code</code>, or the run was not handed to the coding agent.</p>
5068
- <p>Scribe uses the active <code>llms.json</code> profile, or, with <code>llm.routing: auto</code>, the profile the router picks for the <code>coding</code> area (<code>--profile</code> and <code>code.model</code> still win; see <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>). The key stays in your environment: the agent runtime's config refers to it as <code>{env:WP_AZURE_API_KEY}</code> and never contains the value. An <code>auth: entra</code> profile reaches the model through ForgeQE's local token gateway (see <a href="index.html#doc-how_to_use-signing-in-to-the-model-without-a-key-microsoft-entra-id">Signing in to the model without a key</a>). An Azure profile goes through the agent runtime's <code>azure</code> provider on <code>&lt;endpoint&gt;/openai/v1</code> (the Responses API, with the deployment as the model). <code>openai_compatible</code> and <code>ollama</code> profiles use their <code>base_url</code>. A <code>github_copilot</code> profile runs Scribe through ForgeQE's Copilot gateway (see <a href="index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>). <code>code.model: github-copilot/...</code> is refused: the agent runtime's own Copilot provider signs in through a third-party app on your GitHub account. <code>code.model: provider/model</code> (or <code>--code-model</code>) uses one of the agent runtime's built-in providers instead, with that provider's usual key variable (for example <code>ANTHROPIC_API_KEY</code> for <code>anthropic/...</code>).</p>
5069
- <p>Scribe may edit files and run commands anywhere in the repo without asking. <code>git push</code> in any form is denied (pushing goes through ForgeQE's guarded <code>push_branch</code> tool, section 8), and it cannot touch files outside the repo except the run and memory directories, which it may read.</p>
5117
+ <p>Quill uses the active <code>llms.json</code> profile, or, with <code>llm.routing: auto</code>, the profile the router picks for the <code>coding</code> area (<code>--profile</code> and <code>code.model</code> still win; see <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>). The key stays in your environment: the agent runtime's config refers to it as <code>{env:WP_AZURE_API_KEY}</code> and never contains the value. An <code>auth: entra</code> profile reaches the model through ForgeQE's local token gateway (see <a href="index.html#doc-how_to_use-signing-in-to-the-model-without-a-key-microsoft-entra-id">Signing in to the model without a key</a>). An Azure profile goes through the agent runtime's <code>azure</code> provider on <code>&lt;endpoint&gt;/openai/v1</code> (the Responses API, with the deployment as the model). <code>openai_compatible</code> and <code>ollama</code> profiles use their <code>base_url</code>. A <code>github_copilot</code> profile runs Quill through ForgeQE's Copilot gateway (see <a href="index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>). <code>code.model: github-copilot/...</code> is refused: the agent runtime's own Copilot provider signs in through a third-party app on your GitHub account. <code>code.model: provider/model</code> (or <code>--code-model</code>) uses one of the agent runtime's built-in providers instead, with that provider's usual key variable (for example <code>ANTHROPIC_API_KEY</code> for <code>anthropic/...</code>).</p>
5118
+ <p>Quill may edit files and run commands anywhere in the repo without asking. <code>git push</code> in any form is denied (pushing goes through ForgeQE's guarded <code>push_branch</code> tool, section 8), and it cannot touch files outside the repo except the run and memory directories, which it may read.</p>
5070
5119
  <p>More ways to run it:</p>
5071
5120
  <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><code>forgeqe code --repo ../app # the latest run in .forgeqe/reports/
5072
5121
  forgeqe code .forgeqe/reports/20260928-172700 --repo ../app --attempts 3
@@ -5074,37 +5123,37 @@ forgeqe run &quot;...&quot; --no-code # no tests
5074
5123
  </code></pre></div>
5075
5124
  <p>In the shell, <code>forgeqe start --repo ../app</code> writes the tests in that repo instead of the current folder and <code>--no-code</code> turns them off; you can also just ask (&quot;write a test for the last run in ../app&quot;). Esc stops the agent the same way it stops a run.</p>
5076
5125
  <p>Exit codes for <code>forgeqe code</code> and for <code>forgeqe run --direct</code> with a repo: <code>0</code> test passed, <code>1</code> run or test failed, <code>2</code> stopped. The result (status, attempts, test file, command, what was reused and changed, the browsers ForgeQE saw, the review, the last test output, tokens) is saved as <code>code.json</code> in the run directory, next to <code>handoff.md</code>.</p>
5077
- <p>If Scribe's job is cut off (ForgeQE closed, the machine restarted, you stopped it, or the model could not be reached), run it again for the same run and repo, for example <code>forgeqe code .forgeqe/reports/20260928-172700 --repo ../app</code>. Scribe reopens the same session, with everything it read and said, and carries on with the files it already wrote; it doesn't read the repo again, and ForgeQE uses the Playwright replay it already finished. The session is kept in <code>scribe-session.json</code> in the run folder until the job ends with a result.</p>
5126
+ <p>If Quill's job is cut off (ForgeQE closed, the machine restarted, you stopped it, or the model could not be reached), run it again for the same run and repo, for example <code>forgeqe code .forgeqe/reports/20260928-172700 --repo ../app</code>. Quill reopens the same session, with everything it read and said, and carries on with the files it already wrote; it doesn't read the repo again, and ForgeQE uses the Playwright replay it already finished. The session is kept in <code>scribe-session.json</code> in the run folder until the job ends with a result.</p>
5078
5127
  </div>
5079
5128
  </section>
5080
- <section class="doc" id="doc-how_to_use-how-scribe-writes-a-test">
5081
- <h4>How Scribe writes a test</h4>
5082
- <div class="prose"><p><strong>Reuse before rebuild, extend before duplicate.</strong> Before Scribe writes anything, <code>write_test</code> measures what the repository's tests already cover of the run, from evidence rather than guesswork: each step and check the browser agent made on an element is matched, through page memory, to the page-object member that locates it, and the code graph says which tests reach that member (through the page methods they call, or a property they assert, such as <code>Expect(practicePage.AjaxStatus)</code>). Steps on elements no page object locates yet are listed as not measured, since a test may do them its own way. Then:</p>
5129
+ <section class="doc" id="doc-how_to_use-how-quill-writes-a-test">
5130
+ <h4>How Quill writes a test</h4>
5131
+ <div class="prose"><p><strong>Reuse before rebuild, extend before duplicate.</strong> Before Quill writes anything, <code>write_test</code> measures what the repository's tests already cover of the run, from evidence rather than guesswork: each step and check the browser agent made on an element is matched, through page memory, to the page-object member that locates it, and the code graph says which tests reach that member (through the page methods they call, or a property they assert, such as <code>Expect(practicePage.AjaxStatus)</code>). Steps on elements no page object locates yet are listed as not measured, since a test may do them its own way. Then:</p>
5083
5132
  <div class="tbl"><table>
5084
5133
  <thead>
5085
5134
  <tr><th>What it finds</th><th>What happens</th></tr>
5086
5135
  </thead>
5087
5136
  <tbody>
5088
- <tr><td>One test covers every measured step and check</td><td><strong>Reuse</strong>: Scribe only finds the command that runs it, and changes nothing. If it fails, nothing is changed: you are asked whether to update it or write a new test.</td></tr>
5089
- <tr><td>One test covers most (40% or more)</td><td><strong>Extend</strong>: Scribe adds only the missing steps and checks to that test, keeping every step and assertion it has; the reviewer rejects a removed or weakened assertion, or the steps copied into a new file</td></tr>
5137
+ <tr><td>One test covers every measured step and check</td><td><strong>Reuse</strong>: Quill only finds the command that runs it, and changes nothing. If it fails, nothing is changed: you are asked whether to update it or write a new test.</td></tr>
5138
+ <tr><td>One test covers most (40% or more)</td><td><strong>Extend</strong>: Quill adds only the missing steps and checks to that test, keeping every step and assertion it has; the reviewer rejects a removed or weakened assertion, or the steps copied into a new file</td></tr>
5090
5139
  <tr><td>Two or more tests cover most of it</td><td><strong>You choose</strong>: the evidence and the options (reuse, extend with how many steps it adds, a new test, cancel)</td></tr>
5091
5140
  <tr><td>Nothing covers much</td><td><strong>New</strong>: a new test, reusing the page objects and helpers as before</td></tr>
5092
5141
  </tbody>
5093
5142
  </table></div>
5094
- <p>A card says which it did and why (<em>Extending PracticeTests.Flow · covers 12 of 15; only 3 are missing</em>). Say how when you know (&quot;extend the login test&quot;, &quot;write a separate test&quot;, &quot;update it&quot;) and ForgeQE's agent passes that on without asking. In every mode Scribe adds page-object members rather than changing what an existing member does for the other tests that use it.</p>
5095
- <p><strong>Copied code is measured.</strong> Before Scribe starts, ForgeQE notes the copies the repository already has (jscpd). When the test passes, its reviewer is told of each copy the job made since, such as a page-object method or a login written again in the test (<code>tests/checkout.spec.ts:12-30 copies existing code at pages/login.ts:8-26</code>), and judges it by the test rules: a copy that should reuse what is there is an issue Scribe fixes. <code>code.duplicates: false</code> turns it off.</p>
5096
- <p><strong>The same flow asked again.</strong> When a session writes tests and you ask for a flow an earlier job already wrote a test for, ForgeQE runs that test first, before any browser run. If it passes in a real browser, that is the answer: no browser run, no Scribe, and no new test file, in the seconds the test takes (<em>✓ Existing test passed · 19s · no browser run or new test needed</em>). If it fails, the flow runs in the browser and Scribe updates that test instead of writing another. ForgeQE's agent rewords a goal a little each time, so goals count as the same flow when they share their content words (endings, case, and phrasing aside) and the new goal keeps everything the earlier one checked; the same steps with a different final check, a shorter flow, or another site are a new flow. The agent also compares the earlier goal with your request and runs fresh when you ask for a check the earlier test does not have. Ask for &quot;a fresh run&quot; or &quot;a new test&quot; to skip the reuse.</p>
5097
- <p><strong>The run as a test would do it.</strong> The browser agent works through the same page a test meets, and the handoff tells Scribe everything it did on the way:</p>
5143
+ <p>A card says which it did and why (<em>Extending PracticeTests.Flow · covers 12 of 15; only 3 are missing</em>). Say how when you know (&quot;extend the login test&quot;, &quot;write a separate test&quot;, &quot;update it&quot;) and ForgeQE's agent passes that on without asking. In every mode Quill adds page-object members rather than changing what an existing member does for the other tests that use it.</p>
5144
+ <p><strong>Copied code is measured.</strong> Before Quill starts, ForgeQE notes the copies the repository already has (jscpd). When the test passes, its reviewer is told of each copy the job made since, such as a page-object method or a login written again in the test (<code>tests/checkout.spec.ts:12-30 copies existing code at pages/login.ts:8-26</code>), and judges it by the test rules: a copy that should reuse what is there is an issue Quill fixes. <code>code.duplicates: false</code> turns it off.</p>
5145
+ <p><strong>The same flow asked again.</strong> When a session writes tests and you ask for a flow an earlier job already wrote a test for, ForgeQE runs that test first, before any browser run. If it passes in a real browser, that is the answer: no browser run, no Quill, and no new test file, in the seconds the test takes (<em>✓ Existing test passed · 19s · no browser run or new test needed</em>). If it fails, the flow runs in the browser and Quill updates that test instead of writing another. ForgeQE's agent rewords a goal a little each time, so goals count as the same flow when they share their content words (endings, case, and phrasing aside) and the new goal keeps everything the earlier one checked; the same steps with a different final check, a shorter flow, or another site are a new flow. The agent also compares the earlier goal with your request and runs fresh when you ask for a check the earlier test does not have. Ask for &quot;a fresh run&quot; or &quot;a new test&quot; to skip the reuse.</p>
5146
+ <p><strong>The run as a test would do it.</strong> The browser agent works through the same page a test meets, and the handoff tells Quill everything it did on the way:</p>
5098
5147
  <ul>
5099
5148
  <li>A click on an element something covers (a confirmation after Add to cart, a pop-up) fails and names what covers it, so the agent closes it as a user would and that step is in the flow; the step after says what covered it, and &quot;What covered the page before a click&quot; lists them. The engine library would otherwise click the element from JavaScript, which a test cannot do. What it still does from a script (a click, typing to the page) is named on its step.</li>
5100
5149
  <li>Locators are the ones Playwright finds: no link role for an <code>&lt;a&gt;</code> without <code>href</code> (Chrome calls it a link, Playwright does not), icon-font characters kept out of names (a name with one becomes a <code>role_pattern</code>), and a control that repeats on every row or card gets a locator scoped to its row (<code>#product-1 a.cart_quantity_delete</code>).</li>
5101
5150
  <li>An element in a frame says which frame, and the replay reaches it through <code>frameLocator</code>. Advertisements (Google's full-page ads, ad frames) are marked, left out of the replay, and &quot;Ads on these pages&quot; says to block the ad hosts in the test instead of closing them.</li>
5102
5151
  <li>A suite case runs from the state its test starts from: without the saved logins' sessions, so the agent signs in as the test will (<code>suite.restore_sessions: true</code> keeps them; a login with no username and password to sign in with keeps its session, the only way in) and from the case's own start page (its URL, first step, description, or preconditions). When a run did start with saved sessions, &quot;State the run started with&quot; says so.</li>
5103
5152
  </ul>
5104
- <p><strong>When the flow cannot be reproduced.</strong> If ForgeQE's own replay of the run could not reach the run's final page and Scribe's test fails too, Scribe is told where the replay stopped and what was open on the page, since that is usually a pop-up, consent banner or ad the browser agent closed, or state its browser already had (signed in, items in a cart), and gets another attempt to handle it. The job stops, saying which replayed step failed and why, only when the test then fails the same way again, instead of spending its remaining attempts on a flow no script can repeat as recorded.</p>
5105
- <p><strong>Why a test failed.</strong> When ForgeQE's run of Scribe's test fails, the ✗ line and the next attempt say why in the test's own words: dotnet test's Error Message, pytest's <code>E</code> lines, or the error with its Expected and Received values (Playwright, Jest, JUnit), not the runner's summary line.</p>
5106
- <p><strong>Keeping Scribe's cost down.</strong> ForgeQE reads the repository's test setup itself before Scribe starts (stack, settings files and their browser values, the test id attribute, base classes, page objects and their methods, one test command) and hands it over, so Scribe does not discover it with dozens of file reads. Each attempt after the first starts a fresh session from a summary of the job (handoff, files changed, what each attempt did, the latest failure), so later attempts cost about what the first did. The summary has a &quot;Tried already, and did not work&quot; list: for each failed attempt, what Scribe said it did (it reports each change in <code>tried</code>), how it failed, the locator the test was waiting for and the element that covered it and took the click, both read from the test's output, and whether an earlier attempt already failed on that locator. Scribe must not try those again in the same form and must say what it does differently. <code>forgeqe heal</code> keeps the same list across its attempts. <code>code.max_attempts</code> (default 3) and <code>code.max_tokens</code> (default 1,500,000; <code>0</code> turns it off) cap a job, and the token budget is checked during an attempt too, so one long attempt is stopped when the total passes it. Cached input counts at its share of the profile's input price (a session re-reads its own context, and that is most of its input), and in full when no cached price is known, such as with another <code>code.model</code>. The reviewer sorts its issues into correctness (the test does not test what the goal says, or not reliably) and coding standards (test data or credentials in a page object, naming, hard waits, leftovers). Coding standards never fail a test that works: it is accepted, and the coding agent gets one more round (not counted in <code>max_attempts</code>) to fix them; if that round breaks the test, ForgeQE puts back the version that passed and lists the standards issues in the notes (<code>code.tidy: false</code> skips the round). A test the reviewer rejects twice for correctness stops the job with its issues, since that usually means the test case and the page disagree. When a test passed and the reviewer sent it back, and the changes for the review then break it (or the attempts or the token budget run out first), ForgeQE puts back the version that passed: the result is passed but not approved, with the reviewer's issues in the notes, so you get a working test to finish instead of none. Under each step, the handoff shows that step's part of the page (its section and neighbours, from the replay's page snapshot) instead of whole snapshots. When a test fails, ForgeQE shows the failing element on the test's page at the failure and on the replay's page, so most failures are fixed without opening a browser. Scribe's live browser is switched on only when the same failure repeats, or from the start when ForgeQE's own replay got through the flow in no setup (Scribe would otherwise patch the failing steps blind until a test ran), and it does not send a page snapshot after every click or keystroke. <code>code.max_steps</code> (default 50) caps the tool calls in one of Scribe's turns. <code>code.review_profile</code> runs the reviewer on a cheaper llms.json profile.</p>
5107
- <p><strong>Scribe's rulebook: the same mistake once.</strong> When a job passes after a failed test run or a reviewer's change, Scribe's report gives up to three one-line rules that would have avoided the mistake (&quot;Wait for the cart badge with toHaveText before clicking Checkout; it updates after a request&quot;). ForgeQE keeps them in <code>.forgeqe/scribe-rules.json</code> in the repository, and every attempt of later jobs, and every healing session, starts with them. A lesson from a job that did not pass, or that passed at once, is not kept: only a fix that worked becomes a rule. The book stays small, since it is sent with each model call: at most 15 rules of one line each; a lesson learned again is merged into its rule (shown as &quot;learned 3 times&quot;) instead of added; when it is full, the rule confirmed least and longest ago goes, and a rule not learned again for 180 days expires. The rules are the coding agent's own words, so a rule with a link, something like a token, a destructive command, or wording that tells an agent to drop its instructions is refused, and the agents are told they are hints that never override their instructions or the team's guardrails. Commit the file to share the rules with the team and see each change in review; edit or delete a rule there (the agents cannot change <code>.forgeqe</code>). ForgeQE says each new rule as it learns it (<code>Learned for next time: …</code>). <code>code.rulebook: false</code> turns it off.</p>
5153
+ <p><strong>When the flow cannot be reproduced.</strong> If ForgeQE's own replay of the run could not reach the run's final page and Quill's test fails too, Quill is told where the replay stopped and what was open on the page, since that is usually a pop-up, consent banner or ad the browser agent closed, or state its browser already had (signed in, items in a cart), and gets another attempt to handle it. The job stops, saying which replayed step failed and why, only when the test then fails the same way again, instead of spending its remaining attempts on a flow no script can repeat as recorded.</p>
5154
+ <p><strong>Why a test failed.</strong> When ForgeQE's run of Quill's test fails, the ✗ line and the next attempt say why in the test's own words: dotnet test's Error Message, pytest's <code>E</code> lines, or the error with its Expected and Received values (Playwright, Jest, JUnit), not the runner's summary line.</p>
5155
+ <p><strong>Keeping Quill's cost down.</strong> ForgeQE reads the repository's test setup itself before Quill starts (stack, settings files and their browser values, the test id attribute, base classes, page objects and their methods, one test command) and hands it over, so Quill does not discover it with dozens of file reads. Each attempt after the first starts a fresh session from a summary of the job (handoff, files changed, what each attempt did, the latest failure), so later attempts cost about what the first did. The summary has a &quot;Tried already, and did not work&quot; list: for each failed attempt, what Quill said it did (it reports each change in <code>tried</code>), how it failed, the locator the test was waiting for and the element that covered it and took the click, both read from the test's output, and whether an earlier attempt already failed on that locator. Quill must not try those again in the same form and must say what it does differently. <code>forgeqe heal</code> keeps the same list across its attempts. <code>code.max_attempts</code> (default 3) and <code>code.max_tokens</code> (default 1,500,000; <code>0</code> turns it off) cap a job, and the token budget is checked during an attempt too, so one long attempt is stopped when the total passes it. Cached input counts at its share of the profile's input price (a session re-reads its own context, and that is most of its input), and in full when no cached price is known, such as with another <code>code.model</code>. The reviewer sorts its issues into correctness (the test does not test what the goal says, or not reliably) and coding standards (test data or credentials in a page object, naming, hard waits, leftovers). Coding standards never fail a test that works: it is accepted, and the coding agent gets one more round (not counted in <code>max_attempts</code>) to fix them; if that round breaks the test, ForgeQE puts back the version that passed and lists the standards issues in the notes (<code>code.tidy: false</code> skips the round). A test the reviewer rejects twice for correctness stops the job with its issues, since that usually means the test case and the page disagree. When a test passed and the reviewer sent it back, and the changes for the review then break it (or the attempts or the token budget run out first), ForgeQE puts back the version that passed: the result is passed but not approved, with the reviewer's issues in the notes, so you get a working test to finish instead of none. Under each step, the handoff shows that step's part of the page (its section and neighbours, from the replay's page snapshot) instead of whole snapshots. When a test fails, ForgeQE shows the failing element on the test's page at the failure and on the replay's page, so most failures are fixed without opening a browser. Quill's live browser is switched on only when the same failure repeats, or from the start when ForgeQE's own replay got through the flow in no setup (Quill would otherwise patch the failing steps blind until a test ran), and it does not send a page snapshot after every click or keystroke. <code>code.max_steps</code> (default 50) caps the tool calls in one of Quill's turns. <code>code.review_profile</code> runs the reviewer on a cheaper llms.json profile.</p>
5156
+ <p><strong>Quill's rulebook: the same mistake once.</strong> When a job passes after a failed test run or a reviewer's change, Quill's report gives up to three one-line rules that would have avoided the mistake (&quot;Wait for the cart badge with toHaveText before clicking Checkout; it updates after a request&quot;). ForgeQE keeps them in <code>.forgeqe/scribe-rules.json</code> in the repository, and every attempt of later jobs, and every healing session, starts with them. A lesson from a job that did not pass, or that passed at once, is not kept: only a fix that worked becomes a rule. The book stays small, since it is sent with each model call: at most 15 rules of one line each; a lesson learned again is merged into its rule (shown as &quot;learned 3 times&quot;) instead of added; when it is full, the rule confirmed least and longest ago goes, and a rule not learned again for 180 days expires. The rules are the coding agent's own words, so a rule with a link, something like a token, a destructive command, or wording that tells an agent to drop its instructions is refused, and the agents are told they are hints that never override their instructions or the team's guardrails. Commit the file to share the rules with the team and see each change in review; edit or delete a rule there (the agents cannot change <code>.forgeqe</code>). ForgeQE says each new rule as it learns it (<code>Learned for next time: …</code>). <code>code.rulebook: false</code> turns it off.</p>
5108
5157
  </div>
5109
5158
  </section>
5110
5159
  <p class="see">See <a href="#doc-how_to_use-generated-code">Generated code</a>.</p>
@@ -5115,7 +5164,7 @@ forgeqe run &quot;...&quot; --no-code # no tests
5115
5164
  <p class="ds">Runs a repository's tests and updates the ones the application has outgrown against the live app, or reports a real application bug instead.</p>
5116
5165
  <div class="facts">
5117
5166
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Heal the failing tests in ../app</li></ul></div>
5118
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository with tests</span></li></ul></div>
5167
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository with tests</span></li></ul></div>
5119
5168
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>heal_tests</code></p></div>
5120
5169
  </div>
5121
5170
  <div class="detail"><span class="mono">In detail</span>
@@ -5132,7 +5181,7 @@ forgeqe heal -- npx playwright test --project=chromium # everything after -- i
5132
5181
  </code></pre></div>
5133
5182
  <ol>
5134
5183
  <li>ForgeQE runs the command. If it passes, there is nothing to heal and no model is called.</li>
5135
- <li>Scribe starts in the repo as a healing agent, with the failing output. For each failing test it reads the test and the page objects it uses, then re-runs the test's flow in the real browser with ForgeQE's <code>browser_run</code> (the goal in plain words, not the old selectors).</li>
5184
+ <li>Quill starts in the repo as a healing agent, with the failing output. For each failing test it reads the test and the page objects it uses, then re-runs the test's flow in the real browser with ForgeQE's <code>browser_run</code> (the goal in plain words, not the old selectors).</li>
5136
5185
  <li>If the browser run passes, the test is out of date. The agent reads that run's steps and locators with <code>run_details</code>, updates the test (in the page object when the locators live there), and runs it with <code>run_test</code>.</li>
5137
5186
  <li>If the browser run fails at the step where the test fails, the app is broken there. The test is left as it is and the failure is reported as an app bug.</li>
5138
5187
  <li>It never deletes or skips a test, loosens an assertion, or raises a timeout to make a test pass.</li>
@@ -5147,7 +5196,7 @@ it as many attempts again, from what it changed so far. Stop keeps its changes.
5147
5196
  a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
5148
5197
  <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><code> ▸ ForgeQE runs the tests: npx playwright test
5149
5198
  ✗ Tests failed, exit 1 (41s)
5150
- ▸ Scribe (azure/gpt-5.4) is healing the failing tests in app
5199
+ ▸ Quill (azure/gpt-5.4) is healing the failing tests in app
5151
5200
  ⚙ read tests/pages/LoginPage.ts
5152
5201
  ▸ Browser: Sign in to staging.app.test and open the invoices page
5153
5202
  ✓ Task complete · 9 steps
@@ -5179,7 +5228,7 @@ a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
5179
5228
  <p class="ds">Moves a repository's automated tests to another framework or language (Selenium, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright to Playwright, Cypress, WebdriverIO, Selenium or Robot Framework), after a plan that says first what is possible and what is not and that the user confirms; ForgeQE runs each migrated test itself, in a job if the user wants to keep working.</p>
5180
5229
  <div class="facts">
5181
5230
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Migrate the Selenium tests in tests/ to Playwright TypeScript</li></ul></div>
5182
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a git repository with the tests to migrate</span></li></ul></div>
5231
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a git repository with the tests to migrate</span></li></ul></div>
5183
5232
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>migrate_tests</code></p></div>
5184
5233
  </div>
5185
5234
  <div class="detail"><span class="mono">In detail</span>
@@ -5268,17 +5317,17 @@ In the shell, &quot;migrate our Selenium tests to Playwright&quot; makes the pla
5268
5317
  </article>
5269
5318
  <article class="spec feat" id="cap-tosca-convert">
5270
5319
  <div class="hd"><span class="mono">Automated tests</span><h3>Convert Tosca test cases</h3></div>
5271
- <p class="ds">Reads a Tricentis Tosca export (.tsu) and converts its web test cases into Playwright, Cypress, Selenium or WebdriverIO tests with the Tosca agent, after a plan the user confirms; every Tosca step and check is marked in the converted test and checked, secrets become environment variables, and ForgeQE runs each test itself.</p>
5320
+ <p class="ds">Reads a Tricentis Tosca export (.tsu) and converts its web test cases into Playwright, Cypress, Selenium or WebdriverIO tests with Bridge, after a plan the user confirms; every Tosca step and check is marked in the converted test and checked, secrets become environment variables, and ForgeQE runs each test itself.</p>
5272
5321
  <div class="facts">
5273
5322
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</li></ul></div>
5274
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a Tosca .tsu export inside a git repository</span></li></ul></div>
5323
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a Tosca .tsu export inside a git repository</span></li></ul></div>
5275
5324
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>convert_tosca</code></p></div>
5276
5325
  </div>
5277
5326
  <div class="detail"><span class="mono">In detail</span>
5278
5327
  <section class="doc" id="doc-how_to_use-converting-tosca-tests">
5279
5328
  <h4>Converting Tosca tests</h4>
5280
- <div class="prose"><p><code>forgeqe tosca</code> converts Tricentis Tosca test cases into Playwright, Cypress, Selenium or WebdriverIO tests, with the
5281
- Tosca agent. It is a separate agent from <code>forgeqe migrate</code>: a Tosca export is not a folder of code but a graph of test
5329
+ <div class="prose"><p><code>forgeqe tosca</code> converts Tricentis Tosca test cases into Playwright, Cypress, Selenium or WebdriverIO tests, with
5330
+ Bridge. It is a separate agent from <code>forgeqe migrate</code>: a Tosca export is not a folder of code but a graph of test
5282
5331
  cases, modules, reusable blocks and parameters. Put the export (<code>.tsu</code>) inside the repository, then:</p>
5283
5332
  <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><code>forgeqe tosca inspect tosca/checkout.tsu # what the export holds; no model, nothing written
5284
5333
  forgeqe tosca plan tosca/checkout.tsu --to playwright-typescript [--only 1034698_submit_order] [--test-attribute data-qa]
@@ -5292,7 +5341,7 @@ forgeqe tosca reimport tsc-… [--refresh] # r
5292
5341
  forgeqe tosca map tsc-… [--json] # each Tosca test case by its unique id, and what became of it
5293
5342
  forgeqe tosca ready tsc-… [--environment qa --app shop | --base-url URL] [--accept env:NAME,data] # what running the tests needs, before it starts
5294
5343
  forgeqe tosca verify tsc-… [--suite Smoke] # run the converted tests again, no model
5295
- forgeqe tosca fix tsc-… --unit u004 --note &quot;The cart badge is now a span&quot; # one file back to the Tosca agent
5344
+ forgeqe tosca fix tsc-… --unit u004 --note &quot;The cart badge is now a span&quot; # one file back to Bridge
5296
5345
  forgeqe tosca targets # the targets, this project's own included
5297
5346
  </code></pre></div>
5298
5347
  <p>A Tosca conversion may target any framework a migration may, so a target profile of your own
@@ -5321,7 +5370,7 @@ case that two exports both hold (same id, name, folders and steps) is converted
5321
5370
  different test case with the same id gets its export's number; a module of the same name becomes one page object;
5322
5371
  execution lists and variables join. Exports can come from a git repository instead of the project:
5323
5372
  <code>forgeqe tosca clone &lt;url&gt;</code> (or From a git repository on the page) makes a shallow copy under ForgeQE's home with
5324
- the Migration agent's checks (https or git@ only, no user name in the address, the token by its variable's name and
5373
+ Mover's checks (https or git@ only, no user name in the address, the token by its variable's name and
5325
5374
  only as a header, no hooks, submodules or links) and keeps it only when it holds an export; such a copy is a Tosca
5326
5375
  source, never listed as a migration's. Every file of a plan is checked by its digest before each run, so a changed
5327
5376
  or removed export (or a removed copy) stops it until a new plan is made.
@@ -5353,13 +5402,13 @@ data the export does not hold. A missing address or program blocks the start; a
5353
5402
  answered or accepted (&quot;convert without it&quot;). Answers are kept in <code>.forgeqe/tosca/&lt;plan&gt;/ready.json</code>; <code>run</code>, <code>fix</code>
5354
5403
  and <code>verify</code> refuse until nothing is open, and the tests get the reviewed address as <code>BASE_URL</code>.
5355
5404
  <strong>What it may cost.</strong> Review's Estimate (and <code>forgeqe tosca show</code> or <code>confirm</code>) gives the model tokens of the
5356
- files still to write, as a range, and their price with the model the Tosca agent is routed to when that model has a
5405
+ files still to write, as a range, and their price with the model Bridge is routed to when that model has a
5357
5406
  price in <code>llms.json</code> (<code>price:</code>; none for a Copilot seat). It is worked out from this project's earlier Tosca
5358
5407
  conversions once they have written at least 5 files (tokens per file), else from defaults sized by each test case's
5359
5408
  steps; files already written are not counted again. An estimate, never a limit: a hard test case takes more tries.</li>
5360
5409
  <li><strong>Confirm.</strong> As for a migration: a person types the plan's id at a terminal; the confirmation is kept under
5361
5410
  ForgeQE's home by the plan's digest, and a run refuses a plan whose export changed since.</li>
5362
- <li><strong>Run.</strong> The setup, then each page object, then each test, each in a fresh session of the Tosca agent, which may edit
5411
+ <li><strong>Run.</strong> The setup, then each page object, then each test, each in a fresh session of Bridge, which may edit
5363
5412
  only the target folder. The agent marks each line that does a Tosca step with its id (<code>// tosca: n12</code>). ForgeQE's
5364
5413
  fidelity check needs every step and check marked (only the branch that runs of an If that is always true or false),
5365
5414
  no skipped test, and assertions where Tosca checked; then it runs the test with the target's own command. A failure
@@ -5391,11 +5440,11 @@ missing. Selenium has no video recorder: its tests keep failure screenshots only
5391
5440
  <p>Exit codes of <code>tosca run</code>: <code>0</code> every test converted, <code>1</code> some or none, <code>2</code> stopped. The Tosca page of <code>forgeqe web</code>
5392
5441
  (sidebar, Test) does the same in four steps (export, target, instructions, review): it lists the <code>.tsu</code> exports in
5393
5442
  the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
5394
- with how many of its Tosca steps the test does and its whole output (Fix sends one back to the Tosca agent with a note),
5443
+ with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
5395
5444
  Run tests again for all of them or Run for one suite, each test case's
5396
5445
  Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
5397
5446
  happens.</p>
5398
- <p><strong>The Tosca assistant.</strong> The Tosca page opens on its Agent tab: say in your words what to migrate (&quot;checkout.tsu to
5447
+ <p><strong>Guide.</strong> The Tosca page opens on its Agent tab: say in your words what to migrate (&quot;checkout.tsu to
5399
5448
  Playwright in TypeScript on QA, into e2e/tosca&quot;) and the assistant asks only what it still needs, one thing at a time:
5400
5449
  the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
5401
5450
  offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
@@ -5514,7 +5563,7 @@ under another name. The tests then get that secret's value under the name they r
5514
5563
  no model sees a secret's name. Which secret a variable uses is kept on this computer (<code>~/.forgeqe/tosca-secrets</code>), never
5515
5564
  in the plan's folder in the repository, and ForgeQE's own keys (its models', trackers') are never offered or given to a
5516
5565
  test. Conversions lists the plans. In the shell, &quot;convert
5517
- tosca/checkout.tsu to Playwright&quot; inspects the export and makes the plan; you confirm it yourself. The Tosca agent
5566
+ tosca/checkout.tsu to Playwright&quot; inspects the export and makes the plan; you confirm it yourself. Bridge
5518
5567
  knows Tosca from its skill <code>tosca-knowledge</code> (ActionModes, value tokens, expressions, locators, and how each maps to
5519
5568
  every target).</p>
5520
5569
  </div>
@@ -5526,7 +5575,7 @@ every target).</p>
5526
5575
  <p class="ds">Finds the automated tests that match a feature, tags, ids, a folder, or a sprint, confirms the selection, and runs it once the user agrees, with a verdict per test.</p>
5527
5576
  <div class="facts">
5528
5577
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Run the checkout tests</li><li>Run the tests added in sprint 12</li></ul></div>
5529
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository with tests</span></li><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to pick tests by sprint: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
5578
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a repository with tests</span></li><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to pick tests by sprint: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
5530
5579
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>find_tests</code> <code>run_tests</code> <code>list_sprints</code></p></div>
5531
5580
  </div>
5532
5581
  <div class="detail"><span class="mono">In detail</span>
@@ -5539,8 +5588,8 @@ Which tests cover checkout? Don't run them
5539
5588
  Run the tests added since 2026-09-01
5540
5589
  </code></pre></div>
5541
5590
  <ol>
5542
- <li>Scribe starts read-only in the repo. It works out the test framework and decides each test by reading it: its body, and the page objects and helpers it calls. A test named <code>guest can pay</code> that signs in through <code>LoginPage</code> counts as a login test; a test that only mentions login in its name but checks something else does not. For a date range or sprint, it reads git history and selects the tests added in that range, including new test functions in files that already existed. It cannot change files or run anything.</li>
5543
- <li>It gives two commands in the framework's own terms: one that lists exactly those tests (<code>playwright test --list</code>, <code>pytest --collect-only</code>, <code>dotnet test --list-tests</code>, …) and one that runs them and writes JUnit XML or TRX results. ForgeQE runs the list command, and Scribe checks the listing is exactly its selection, fixing the command when it is not (up to three rounds).</li>
5591
+ <li>Quill starts read-only in the repo. It works out the test framework and decides each test by reading it: its body, and the page objects and helpers it calls. A test named <code>guest can pay</code> that signs in through <code>LoginPage</code> counts as a login test; a test that only mentions login in its name but checks something else does not. For a date range or sprint, it reads git history and selects the tests added in that range, including new test functions in files that already existed. It cannot change files or run anything.</li>
5592
+ <li>It gives two commands in the framework's own terms: one that lists exactly those tests (<code>playwright test --list</code>, <code>pytest --collect-only</code>, <code>dotnet test --list-tests</code>, …) and one that runs them and writes JUnit XML or TRX results. ForgeQE runs the list command, and Quill checks the listing is exactly its selection, fixing the command when it is not (up to three rounds).</li>
5544
5593
  <li>The list appears as a card: each test with its file and why it matches, the near misses that were left out, and the commands.</li>
5545
5594
  <li>Nothing runs until you say so. ForgeQE asks <strong>Run N tests?</strong> with <strong>Run</strong> and <strong>Don't run</strong> (in the shell a dialog; with <code>forgeqe run</code> a numbered prompt in the terminal). When you only asked which tests exist, it stops at the list.</li>
5546
5595
  <li>ForgeQE runs the tests itself and reads their results: a card with ✓ or ✗ for each test and the failure message, then the command, the result files, and the output. When tests fail, ForgeQE's agent offers to heal them with <code>heal_tests</code>.</li>
@@ -5740,7 +5789,7 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
5740
5789
  <p class="ds">Reviews an Azure DevOps or GitHub pull request from the local clone for bugs, security, requirements, and tests, and posts the review once the user agrees.</p>
5741
5790
  <div class="facts">
5742
5791
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Review PR 42 and focus on error handling</li></ul></div>
5743
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a local clone of the repository</span></li><li><span class="need req">Required</span><span>Azure DevOps, for Azure DevOps pull requests: set up under sources: in forgeqe.yaml, or sign in with /auth; or gh on PATH, for GitHub pull requests</span></li></ul></div>
5792
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a local clone of the repository</span></li><li><span class="need req">Required</span><span>Azure DevOps, for Azure DevOps pull requests: set up under sources: in forgeqe.yaml, or sign in with /auth; or gh on PATH, for GitHub pull requests</span></li></ul></div>
5744
5793
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>review_pull_request</code> <code>post_pr_review</code></p></div>
5745
5794
  </div>
5746
5795
  <div class="detail"><span class="mono">In detail</span>
@@ -5754,8 +5803,8 @@ Review my open pull requests
5754
5803
  <ol>
5755
5804
  <li>ForgeQE reads the pull request: title, description, source and target branch, and the linked work items with their acceptance criteria (Azure DevOps, through its REST API with <code>sources.azure_devops</code>), or the linked issues (GitHub, through <code>gh</code>, which must be signed in with <code>gh auth login</code>).</li>
5756
5805
  <li>It fetches both branches from your clone's remote and checks the pull request's head out in a temporary worktree. Your branch, your working tree, and your uncommitted changes are not touched, and the worktree and fetched refs are removed afterwards. The working directory (or <code>repo</code>) must be a clone of the pull request's repository. The reviewer's skills come from that clone and your own skill folders, never from the pull request, so a skill the pull request adds cannot steer its own review.</li>
5757
- <li>Scribe reviews the diff read-only, reading the code around each change: bugs, security, what the linked work items ask for, missing tests, performance, and compatibility. Each finding has a severity (blocker, major, minor, nit), the file and line, the problem, and a suggestion. <code>code.review_profile</code> picks a cheaper model for it, as for test reviews.
5758
- Before it starts, ForgeQE's copy-paste check (<a href="https://github.com/kucherenko/jscpd" class="ext" rel="noopener">jscpd</a>, installed with ForgeQE) compares the pull request's head with the merge base and lists the code the change copies, from code already there or within itself (5 lines and 50 tokens or more). Scribe gets that list as measured evidence and raises a finding only where the copies must stay the same; <code>review.md</code> lists them under <em>Copied code</em>. The check uses ForgeQE's own settings, never the repository's <code>.jscpd.json</code>, and leaves out hidden files, dependencies and build output. <code>code.duplicates: false</code> turns it off; without jscpd's binary for your machine it is skipped.</li>
5806
+ <li>Quill reviews the diff read-only, reading the code around each change: bugs, security, what the linked work items ask for, missing tests, performance, and compatibility. Each finding has a severity (blocker, major, minor, nit), the file and line, the problem, and a suggestion. <code>code.review_profile</code> picks a cheaper model for it, as for test reviews.
5807
+ Before it starts, ForgeQE's copy-paste check (<a href="https://github.com/kucherenko/jscpd" class="ext" rel="noopener">jscpd</a>, installed with ForgeQE) compares the pull request's head with the merge base and lists the code the change copies, from code already there or within itself (5 lines and 50 tokens or more). Quill gets that list as measured evidence and raises a finding only where the copies must stay the same; <code>review.md</code> lists them under <em>Copied code</em>. The check uses ForgeQE's own settings, never the repository's <code>.jscpd.json</code>, and leaves out hidden files, dependencies and build output. <code>code.duplicates: false</code> turns it off; without jscpd's binary for your machine it is skipped.</li>
5759
5808
  <li>The findings appear as a card, and are saved in <code>.forgeqe/reports/reviews/&lt;time&gt;/</code> as <code>review.md</code> and <code>review.json</code>. Nothing is posted yet.</li>
5760
5809
  <li>To post, say so. ForgeQE asks <strong>Post the review?</strong> with <strong>Post review</strong> and <strong>Don't post</strong>. Findings on a changed line become comments on that line; the rest go in one summary comment with the verdict. On GitHub this is one review with event <code>COMMENT</code>: ForgeQE never approves, requests changes, or votes in your name. If the pull request got new commits after the review, posting is refused; review it again.</li>
5761
5810
  </ol>
@@ -5795,7 +5844,7 @@ Before it starts, ForgeQE's copy-paste check (<a href="https://github.com/kucher
5795
5844
  <li>the tests that name a changed class or page object (every language, C# and Java included);</li>
5796
5845
  <li>the tests mapped in <code>.forgeqe/test-cases.json</code> to the test cases of the work items the pull request is linked to (Azure DevOps &quot;Tested By&quot;).</li>
5797
5846
  </ul>
5798
- <p>Each test comes with why it was picked, and the changed files no test reaches are listed as a coverage gap. With a model, Scribe checks the candidates by reading the tests, adds tests that drive the changed behaviour through the UI, and gives the exact list and run commands; <code>run_tests</code> then runs them after you agree, and <code>post_pr_test_results</code> puts the results on the pull request (it asks first). The tests run from your working tree: check out the pull request's branch to run its versions of the tests.</p>
5847
+ <p>Each test comes with why it was picked, and the changed files no test reaches are listed as a coverage gap. With a model, Quill checks the candidates by reading the tests, adds tests that drive the changed behaviour through the UI, and gives the exact list and run commands; <code>run_tests</code> then runs them after you agree, and <code>post_pr_test_results</code> puts the results on the pull request (it asks first). The tests run from your working tree: check out the pull request's branch to run its versions of the tests.</p>
5799
5848
  <p>In CI, without a model:</p>
5800
5849
  <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><code>forgeqe pr-tests --base origin/main --run # exit 0: passed or nothing affected; 1: a test failed
5801
5850
  forgeqe pr-tests 42 --run --post # and post the results on pull request 42
@@ -5813,7 +5862,7 @@ forgeqe pr-tests 42 --run --post # and post the results on p
5813
5862
  <p class="ds">Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts.</p>
5814
5863
  <div class="facts">
5815
5864
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Turn the last run's API calls into tests</li><li>Test the API in openapi.yaml</li><li>Write API scenario tests for the order lifecycle</li><li>Import our Postman collection and send its calls</li><li>Add these cURL calls to the shop API</li><li>Heal the API contracts from the latest run</li></ul></div>
5816
- <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li></ul></div>
5865
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>The coding agent, Quill: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li></ul></div>
5817
5866
  <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Calls that change data run only when the user allows them, on a test environment, never production; healing never replays them.</li><li>A contract that fails can be a real defect: healing proposes a new version, and a person decides.</li></ul></div>
5818
5867
  <div class="fact"><span class="mono">Tools</span><p class="tools"><code>api_contracts</code> <code>run_api_contracts</code> <code>heal_api_contracts</code> <code>api_scenarios</code> <code>run_api_scenarios</code> <code>write_api_tests</code> <code>api_new_set</code> <code>api_add_calls</code> <code>api_import_collection</code></p></div>
5819
5868
  </div>
@@ -5830,7 +5879,7 @@ forgeqe pr-tests 42 --run --post # and post the results on p
5830
5879
  <ul>
5831
5880
  <li><strong>Run them now</strong> (<code>run_api_contracts</code>, or <code>forgeqe api run</code>): ForgeQE makes each call and checks the answer, without a browser or a model. Calls that change data (POST, PUT, PATCH, DELETE, mutations, SOAP and gRPC calls not named like reads) are left out unless you allow them, on a test environment; the agent asks first. Calls with made-up values are skipped until you give real ones. Results go to <code>results.json</code> and <code>junit.xml</code>, with <code>report.html</code> (each contract a case, its checks the steps, with what the API answered) and <code>suite.json</code> beside them; a 401 or 403 says which header the call needs.</li>
5832
5881
  <li><strong>Calls the site's bot protection blocks.</strong> A site behind Cloudflare, Akamai, Imperva, DataDome or a similar service can answer a call that does not come from a browser with a challenge or block page (a 403, 429 or 503 with the service's marks, or HTML where the API answers JSON). ForgeQE tells that apart from the API's own refusal (a JSON 403 is the API's answer) and, with <code>api.browser_fallback</code> on (the default), sends a call that only reads again from a page of a real browser on the API's own site: the page loads first, so a challenge can set its cookie, and the call is made with <code>fetch()</code> in a part of the page the site's own scripts cannot see, so they never read its credentials. The result says &quot;sent from a browser page&quot;. A call that changes data is never sent again. Contract runs, scenarios, healing and the API page's <strong>Send</strong> use it (the page says &quot;Sent from a browser page&quot; by the answer; <code>forgeqe web</code> keeps that browser for two minutes after the last blocked call); load tests and security checks never do. Turned off, a blocked call fails with &quot;blocked&quot; and the reason.</li>
5833
- <li><strong>Write them as tests</strong> (<code>write_api_tests</code>, or <code>forgeqe api tests</code>): Scribe writes them in the repository's own framework and HTTP client (Playwright's <code>request</code> fixture, pytest with requests, REST Assured, RestSharp or HttpClient, supertest...) with the base URL from configuration and credentials from environment variables, and ForgeQE runs them until they pass.</li>
5882
+ <li><strong>Write them as tests</strong> (<code>write_api_tests</code>, or <code>forgeqe api tests</code>): Quill writes them in the repository's own framework and HTTP client (Playwright's <code>request</code> fixture, pytest with requests, REST Assured, RestSharp or HttpClient, supertest...) with the base URL from configuration and credentials from environment variables, and ForgeQE runs them until they pass.</li>
5834
5883
  <li><strong>Heal them when the app changed</strong> (<code>heal_api_contracts</code>, or <code>forgeqe api heal [SET] --run RUN</code>): run the flow again in the browser, and ForgeQE runs the set's read-only calls, learns each one that fails again from the newer run (the same operation with a new answer, or the one call of the same method and step that moved, like <code>/api/v1/orders/{id}</code> to <code>/api/v2/orders/{id}</code>), and replays it. Only a version whose replay passes is offered, with what changed (path, status, fields now required or gone), and the set changes only when you agree (<code>--yes</code> in a terminal); the old <code>contracts.json</code> is kept in <code>history/</code>, and scenarios that still make the old call are named. A contract that fails can be a real defect, so nothing is changed on its own. Calls that change data are never replayed, contracts from a description are fixed in the description, and another site's call is never taken.</li>
5835
5884
  </ul>
5836
5885
  <p><strong>Learning what the caller chooses.</strong> One run cannot tell <code>/domains/github.com</code> from a fixed path. Give <code>api_contracts</code> other runs of the same flow (other data, another user: <code>compare_runs</code>, or <code>forgeqe api contracts --run RUN --compare RUN2,RUN3</code>) and the calls made in the same step, with the same method and the same number of path segments, are compared: a segment that differed becomes a parameter named for the segment before it (<code>GET /domains/{domain}</code>), when the first segment is the same, no more than half of them differ, and the answers have the same shape, so two endpoints are not made one. Each contract lists its <strong>inputs</strong> in <code>contracts.json</code>, <code>api.md</code> and on the API page (under the call's request, with a note when a call was learned again by healing): its path parameters, and the query keys and body fields whose values differed between calls (names only, never values). The example stays a real call, so it runs as it is.</p>
@@ -5939,7 +5988,7 @@ are probed only with <code>--allow-writes</code>, after you agree (at most 40 pr
5939
5988
  <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><code>forgeqe api contracts --spec https://petstore3.swagger.io/api/v3/openapi.json
5940
5989
  forgeqe api contracts --run # the latest browser run's API calls
5941
5990
  forgeqe api run --base-url https://qa.shop.example # exit 1 when a contract fails: a CI gate
5942
- forgeqe api tests --repo ../app # Scribe writes them as tests
5991
+ forgeqe api tests --repo ../app # Quill writes them as tests
5943
5992
  </code></pre></div>
5944
5993
  <p><strong>The Agent tab</strong> of the API tests page is a conversation: paste a link (an API description, a Postman collection,
5945
5994
  the docs), cURL commands, or tell it about the API in your words, and attach a file (a Postman collection is imported
@@ -5984,12 +6033,12 @@ masked), and each call shows how its last runs went.</p>
5984
6033
  </table></div>
5985
6034
  <p>The planner only uses operations the set has: a step no operation does is listed as unmatched, never invented. Give it the API's operations with <code>--spec</code> (an OpenAPI or Swagger link or file) or a saved set; without a description, make contracts from a browser run first. Every plan is checked before it is saved (each operation exists, each variable is saved before it is used) and shown step by step; nothing runs until you run it.</p>
5986
6035
  <p><code>run_api_scenarios</code> (or <code>forgeqe api run-scenarios</code>) runs them against the API, without a browser or a model: each step in order, the values passed on, every step's checks. A failed step stops its scenario, and the scenario's <strong>cleanup</strong> steps (deleting what it created) run, those whose values exist. Scenarios that change data run only after you agree (in CI: <code>--allow-writes</code>), on a test environment. Results go to <code>scenario-results.json</code> and <code>scenarios-junit.xml</code>, with <code>report.html</code> (each scenario a case, its calls the steps) and <code>suite.json</code> beside them. API runs count in the <a href="#doc-how_to_use-team-report">team report</a>.</p>
5987
- <p><strong>On your existing API automation.</strong> <code>write_api_tests</code> with <code>scenarios</code> (or <code>forgeqe api tests --scenarios</code>) has Scribe write each scenario as an end-to-end test in the repository, built on what is already there:</p>
6036
+ <p><strong>On your existing API automation.</strong> <code>write_api_tests</code> with <code>scenarios</code> (or <code>forgeqe api tests --scenarios</code>) has Quill write each scenario as an end-to-end test in the repository, built on what is already there:</p>
5988
6037
  <ol>
5989
6038
  <li>It maps the repository's API layer first: clients, request helpers, auth and base URL fixtures, data builders, schemas.</li>
5990
6039
  <li>Each step calls the helper that already calls that operation; only operations without one get a new helper, in the same style.</li>
5991
6040
  <li>It reuses helpers, never tests: a scenario never runs another test as a step, and sets up its own data.</li>
5992
- <li>A shared helper is only added to, never changed in a way its tests rely on. When Scribe changes one, ForgeQE also runs the tests that use it, and sends any failure back until both pass.</li>
6041
+ <li>A shared helper is only added to, never changed in a way its tests rely on. When Quill changes one, ForgeQE also runs the tests that use it, and sends any failure back until both pass.</li>
5993
6042
  <li>A scenario test for a test case is named after it and recorded in <code>.forgeqe/test-cases.json</code>, and set as the Azure DevOps test case's Associated Automation when write-back is on.</li>
5994
6043
  </ol>
5995
6044
  <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><code>forgeqe api scenarios --run # the latest browser run's flow, chained
@@ -6291,7 +6340,7 @@ forgeqe flags run release-2.3 new-checkout=on,off theme=light,dark --env qa --mo
6291
6340
  </article>
6292
6341
  <article class="spec feat" id="cap-reports">
6293
6342
  <div class="hd"><span class="mono">Release</span><h3>Reports you can share</h3></div>
6294
- <p class="ds">Writes up what the Orchestrator found, such as open defects across projects, release status, or pipeline health, as a page with filters (project, state, priority, assignee, …), charts, and a sortable table, plus Markdown and CSV. Every table is built from evidence: the results of the tool calls the agent made, or a read-only query ForgeQE runs itself, listed on the page's Sources with each raw result kept beside the report.</p>
6343
+ <p class="ds">Writes up what Atlas found, such as open defects across projects, release status, or pipeline health, as a page with filters (project, state, priority, assignee, …), charts, and a sortable table, plus Markdown and CSV. Every table is built from evidence: the results of the tool calls the agent made, or a read-only query ForgeQE runs itself, listed on the page's Sources with each raw result kept beside the report.</p>
6295
6344
  <div class="facts">
6296
6345
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Create a release report for all projects</li><li>Write up the open defects as a report I can share</li></ul></div>
6297
6346
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
@@ -6377,8 +6426,8 @@ forgeqe bi build --from //share/qa-reports # this machine's runs plus every bund
6377
6426
  <div class="prose"><p><strong>Prices.</strong> ForgeQE prices every model call at the model's <strong>list price</strong>, from two public price lists: <a href="https://models.dev" class="ext" rel="noopener">models.dev</a> (the list the agent runtime uses) and LiteLLM's model price list, which also has Azure's Data Zone prices. It keeps the few fields it needs in <code>~/.forgeqe/prices.json</code>, waits a few seconds for it the first time, refreshes it once a day in the background, and uses the last copy offline; only the public lists are downloaded, nothing about your runs is sent (<code>FORGEQE_PRICES=off</code> stops the downloads). Costs at list price say so: <code>$1.73 (list price of gpt-5.4 (Azure Global) from models.dev, 2026-10-06)</code>. For an Azure Data Zone deployment, which costs about 10% more, set <code>&quot;deployment_type&quot;: &quot;data_zone&quot;</code> on the profile.</p>
6378
6427
  <p><strong>Model parameters.</strong> Models differ in what a request may carry: reasoning models (o1, o3, o4, gpt-5) take <code>max_completion_tokens</code> instead of <code>max_tokens</code> and only the default temperature, and some OpenAI-compatible servers refuse <code>max_completion_tokens</code>, <code>reasoning_effort</code> or <code>response_format</code>. ForgeQE works this out by itself. A profile is a reasoning model when its <code>model</code> or <code>deployment</code> name says so (an Azure deployment called <code>chat-prod</code> with <code>&quot;model&quot;: &quot;gpt-5.4&quot;</code> counts), or when it sets <code>&quot;reasoning&quot;: true</code>; <code>&quot;reasoning&quot;: false</code> says it is not. When the API still refuses a parameter, the browser, desktop and mobile agents send the call again without it and leave it out of later calls to that model. Nothing needs setting for a new model.</p>
6379
6428
  <p>A profile's own <code>&quot;price&quot;: { &quot;input&quot;: 2.5, &quot;output&quot;: 15, &quot;cached_input&quot;: 0.25 }</code> (per million tokens) wins, for a negotiated or enterprise rate. Leave <code>currency</code> out and reports use this machine's currency, or set <code>&quot;currency&quot;: &quot;USD&quot;</code>. Without <code>cached_input</code>, cached input gets the model's cache discount from its list price, and the cost is marked as an estimate (<code>≈$1.52</code>); with no list price for the model either, cached input is charged at the full rate and the cost is an upper bound (<code>up to $6.11</code>). When your price differs from the list price, ForgeQE says so (<code>forgeqe models</code>, the shell, and the start of each command), since that is usually a typo or an old price. Anthropic's cache writes are priced at their own rate. A provisioned (PTU) deployment is billed per hour, not per token, so its costs are what the tokens would cost at list price. Requests over a model's long-context threshold (272K tokens for GPT-5.4) cost more and are priced at the normal rate.</p>
6380
- <p><strong>Usage after every job.</strong> Every browser run, Scribe job, heal, suite, and monitor round ends with a <code>Usage</code> line: tokens in (and how many of them were cached), tokens out, and the cost at the profile's price. A request to ForgeQE's agent in the shell, and every <code>forgeqe run</code>, <code>code</code>, <code>suite</code>, and <code>heal</code> command, ends with the total for everything it started, by role:</p>
6381
- <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><code>This request used 1.1M tokens (1.1M in, 30.0K of it cached · 34.7K out) · $3.07 — ForgeQE's agent 42.0K · $0.12, browser agent 52.7K · $0.15, Scribe 1.0M · $2.80
6429
+ <p><strong>Usage after every job.</strong> Every browser run, Quill job, heal, suite, and monitor round ends with a <code>Usage</code> line: tokens in (and how many of them were cached), tokens out, and the cost at the profile's price. A request to ForgeQE's agent in the shell, and every <code>forgeqe run</code>, <code>code</code>, <code>suite</code>, and <code>heal</code> command, ends with the total for everything it started, by role:</p>
6430
+ <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><code>This request used 1.1M tokens (1.1M in, 30.0K of it cached · 34.7K out) · $3.07 — ForgeQE's agent 42.0K · $0.12, browser agent 52.7K · $0.15, Quill 1.0M · $2.80
6382
6431
  </code></pre></div>
6383
6432
  </div>
6384
6433
  </section>
@@ -6591,7 +6640,7 @@ gcloud's default project for that server only.</li>
6591
6640
  <tr><td><code>run_sql</code></td><td>One checked SQL statement: reads in a read-only session with a row cap; a write only on a writable database, after the user agrees (<code>confirmed: true</code> over MCP)</td></tr>
6592
6641
  <tr><td><code>generate_test_data</code></td><td>Test data from a spec that fits the schema, or a masked subset of real rows: previewed, written to files, or inserted after the user agrees</td></tr>
6593
6642
  <tr><td><code>test_data_batches</code></td><td>The batches <code>generate_test_data</code> inserted; remove one again after the user confirms</td></tr>
6594
- <tr><td><code>request_test_data</code></td><td>Ask the DB agent for the test data a test needs: existing rows by a read-only query, or new rows from a spec, with the SQL or INSERT script kept in <code>test-data/requests/</code> for <code>forgeqe data fetch</code></td></tr>
6643
+ <tr><td><code>request_test_data</code></td><td>Ask Miner for the test data a test needs: existing rows by a read-only query, or new rows from a spec, with the SQL or INSERT script kept in <code>test-data/requests/</code> for <code>forgeqe data fetch</code></td></tr>
6595
6644
  <tr><td><code>data_flows</code></td><td>The data flows in <code>flows.yaml</code>: list, map, impact of a table or column, or suggest, validate and save a flow</td></tr>
6596
6645
  <tr><td><code>check_flows</code></td><td>Check each hop of the flows: every row arrived, mapped columns hold the expected values, no duplicates, on time</td></tr>
6597
6646
  <tr><td><code>trace_record</code></td><td>Follow one record through the flows, hop by hop</td></tr>