@capagents/forgeqe 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/HOW_TO_USE.md +465 -95
  2. package/README.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +210 -1
  4. package/dist/docs-site/CREDITS.md +6 -0
  5. package/dist/docs-site/architecture-map/index.html +1 -1
  6. package/dist/docs-site/docs/app-theme.css +100 -8
  7. package/dist/docs-site/docs/architecture/index.html +210 -214
  8. package/dist/docs-site/docs/area-api/index.html +350 -0
  9. package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
  10. package/dist/docs-site/docs/area-browser/index.html +430 -0
  11. package/dist/docs-site/docs/area-data/index.html +605 -0
  12. package/dist/docs-site/docs/area-desktop/index.html +755 -0
  13. package/dist/docs-site/docs/area-mobile/index.html +631 -0
  14. package/dist/docs-site/docs/area-operations/index.html +1069 -0
  15. package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
  16. package/dist/docs-site/docs/area-quality/index.html +365 -0
  17. package/dist/docs-site/docs/area-release/index.html +320 -0
  18. package/dist/docs-site/docs/area-setup/index.html +1192 -0
  19. package/dist/docs-site/docs/area-systems/index.html +207 -0
  20. package/dist/docs-site/docs/area-test-cases/index.html +694 -0
  21. package/dist/docs-site/docs/containers/index.html +97 -104
  22. package/dist/docs-site/docs/cost-architecture/index.html +108 -112
  23. package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
  24. package/dist/docs-site/docs/desktop/index.html +172 -162
  25. package/dist/docs-site/docs/desktop-ci/index.html +26 -33
  26. package/dist/docs-site/docs/evidence/index.html +253 -257
  27. package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
  28. package/dist/docs-site/docs/get-started/index.html +495 -0
  29. package/dist/docs-site/docs/graphify/index.html +42 -46
  30. package/dist/docs-site/docs/guardrails/index.html +17 -21
  31. package/dist/docs-site/docs/index.html +17 -6708
  32. package/dist/docs-site/docs/mobile/index.html +155 -162
  33. package/dist/docs-site/docs/model-routing/index.html +44 -51
  34. package/dist/docs-site/docs/overview/index.html +176 -0
  35. package/dist/docs-site/docs/product-graph/index.html +52 -55
  36. package/dist/docs-site/docs/product-knowledge/index.html +11 -15
  37. package/dist/docs-site/docs/product-views/index.html +53 -57
  38. package/dist/docs-site/docs/reference/index.html +379 -0
  39. package/dist/docs-site/docs/search.js +1 -1
  40. package/dist/docs-site/docs/using/index.html +480 -0
  41. package/dist/docs-site/docs/web-app/index.html +147 -93
  42. package/dist/docs-site/security/index.html +930 -0
  43. package/dist/docs-site/security/security-theme.css +161 -0
  44. package/dist/docs-site/security/security.js +1465 -0
  45. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  46. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  47. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  48. package/dist/forgeqe.js +2251 -1886
  49. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  50. package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
  51. package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
  52. package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
  53. package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
  54. package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
  55. package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
  56. package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
  57. package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
  58. package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
  59. package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
  60. package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
  61. package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
  62. package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
  63. package/dist/web/assets/Features-CQzNo_WP.js +1 -0
  64. package/dist/web/assets/Flags-0-RniPJm.js +2 -0
  65. package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
  66. package/dist/web/assets/Impact-CfccsL_k.js +3 -0
  67. package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
  68. package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
  69. package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
  70. package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
  71. package/dist/web/assets/Product-nYV_scOV.js +7 -0
  72. package/dist/web/assets/Production-CGSbEWVa.js +1 -0
  73. package/dist/web/assets/Quality-BIypojZm.js +1 -0
  74. package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
  75. package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
  76. package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
  77. package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
  78. package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
  79. package/dist/web/assets/Response-mhBThq2b.js +9 -0
  80. package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
  81. package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
  82. package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
  83. package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
  84. package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
  85. package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
  86. package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
  87. package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
  88. package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
  89. package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
  90. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
  91. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  92. package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
  93. package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
  94. package/dist/web/assets/diff-BStuTmsN.js +2 -0
  95. package/dist/web/assets/families-BBFFrUlo.js +1 -0
  96. package/dist/web/assets/filters-CnAMr286.js +1 -0
  97. package/dist/web/assets/fold-D_O_VZui.js +1 -0
  98. package/dist/web/assets/head-CRo48rPt.js +1 -0
  99. package/dist/web/assets/highlight-BcFZIf59.js +4 -0
  100. package/dist/web/assets/index-B3JsM7tv.js +64 -0
  101. package/dist/web/assets/index-CafApcbZ.css +2 -0
  102. package/dist/web/assets/input-CtzK50ZF.js +1 -0
  103. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  104. package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
  105. package/dist/web/assets/logos-D4oVWzqa.js +1 -0
  106. package/dist/web/assets/palette-DAaGSao7.js +1 -0
  107. package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
  108. package/dist/web/assets/parts-D357Wolo.js +1 -0
  109. package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
  110. package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
  111. package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
  112. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  113. package/dist/web/assets/route-BloYJWgw.js +1 -0
  114. package/dist/web/index.html +12 -12
  115. package/docs/ARCHITECTURE.md +1 -1
  116. package/docs/BASAL.md +1 -1
  117. package/docs/DESKTOP.md +20 -1
  118. package/docs/EVIDENCE.md +1 -1
  119. package/docs/MOBILE.md +4 -4
  120. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  121. package/docs/WEB_APP.md +114 -51
  122. package/docs/user-guide.html +463 -87
  123. package/forgeqe.example.yaml +3 -3
  124. package/package.json +1 -1
  125. package/prompts/page-differs.md +1 -1
  126. package/prompts/requests-rule.md +1 -1
  127. package/prompts/responsive-review.md +38 -0
  128. package/prompts/responsive-split.md +40 -0
  129. package/prompts/responsive.md +42 -0
  130. package/prompts/test-reviewer.md +1 -1
  131. package/prompts/test-rules.md +3 -4
  132. package/skills/web-guidance/LICENSE +202 -0
  133. package/skills/web-guidance/SKILL.md +76 -0
  134. package/skills/web-guidance/UPSTREAM +67 -0
  135. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  136. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  137. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  138. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  139. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  140. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  141. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  142. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  143. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  144. package/skills/web-guidance/references/forms/forms.md +415 -0
  145. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  146. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  147. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  148. package/skills/web-guidance/references/forms/slider.md +184 -0
  149. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  150. package/skills/web-guidance/references/forms/switch.md +60 -0
  151. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  152. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  153. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  154. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  155. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  156. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  157. package/skills/web-guidance/references/performance/performance.md +384 -0
  158. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  159. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  160. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  161. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  162. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  163. package/skills/web-guidance/references/security/passkeys.md +39 -0
  164. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  165. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  166. package/skills/web-guidance/references/security/security.md +390 -0
  167. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  168. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  169. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  170. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  171. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  172. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  173. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  174. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  175. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  176. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  177. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  178. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  179. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  180. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  181. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  182. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  183. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  184. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  185. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  186. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  187. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  188. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  189. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  190. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  191. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  192. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  193. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  194. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  195. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  196. package/skills/web-guidance/references/visual-design/color.md +43 -0
  197. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  198. package/dist/web/assets/AgentWork-C3KdZh5M.js +0 -2
  199. package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
  200. package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
  201. package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
  202. package/dist/web/assets/Choices-D5eTFinz.js +0 -3
  203. package/dist/web/assets/CommandPalette-D89NM2_E.js +0 -1
  204. package/dist/web/assets/Compare-YfFYHwfK.js +0 -1
  205. package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
  206. package/dist/web/assets/Data-jSFgAfej.js +0 -6
  207. package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
  208. package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
  209. package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
  210. package/dist/web/assets/Explore-BdFvqgF4.js +0 -2
  211. package/dist/web/assets/Features-CIBbw6PG.js +0 -1
  212. package/dist/web/assets/Flags-B62v4uWR.js +0 -2
  213. package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
  214. package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
  215. package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
  216. package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
  217. package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
  218. package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
  219. package/dist/web/assets/Product-BrXH81Ns.js +0 -7
  220. package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
  221. package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
  222. package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
  223. package/dist/web/assets/Record-Dnlkimjb.js +0 -1
  224. package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
  225. package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
  226. package/dist/web/assets/Response-D9FYUvHg.js +0 -9
  227. package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
  228. package/dist/web/assets/Runs-CFvmdULI.js +0 -2
  229. package/dist/web/assets/Steps-BS66s0E1.js +0 -2
  230. package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
  231. package/dist/web/assets/TestData-e3IX0xwG.js +0 -2
  232. package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
  233. package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
  234. package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
  235. package/dist/web/assets/WhatsNew-CwnRbDnd.js +0 -1
  236. package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
  237. package/dist/web/assets/crew-CWfjZIxE.js +0 -1
  238. package/dist/web/assets/families-DWilSDct.js +0 -1
  239. package/dist/web/assets/filters-CVzIOjPG.js +0 -1
  240. package/dist/web/assets/fold-tvLGnxD1.js +0 -1
  241. package/dist/web/assets/frame-Deu1IqzV.js +0 -13
  242. package/dist/web/assets/index-BWMIKyPB.js +0 -76
  243. package/dist/web/assets/index-C2Yq55oT.css +0 -2
  244. package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
  245. package/dist/web/assets/logos-C1NBtBMc.js +0 -1
  246. package/dist/web/assets/logos-DFyhMw0i.js +0 -1
  247. package/dist/web/assets/markdown-DC2HA0yZ.js +0 -10
  248. package/dist/web/assets/paletteCommands-Qxm5DZIs.js +0 -1
  249. package/dist/web/assets/parts-BR6dUwqn.js +0 -1
  250. package/dist/web/assets/productParts-BxdHuSBa.js +0 -1
  251. package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
  252. package/dist/web/assets/recordTest-CcplpTS6.js +0 -1
  253. package/dist/web/assets/today-DuQFapJM.js +0 -1
  254. package/dist/web/assets/when-CHnpLdYw.js +0 -1
@@ -0,0 +1,1192 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Setup and configuration · ForgeQE docs</title>
7
+ <meta name="description" content="How to use ForgeQE: set it up, configure it, and every feature in detail, with what it needs and how to ask for it.">
8
+ <meta name="theme-color" content="#ffffff">
9
+ <link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/">
10
+ <link rel="icon" type="image/png" href="../../img/favicon.png">
11
+ <link rel="stylesheet" href="../docs.css">
12
+ <script src="../search.js" defer></script>
13
+ <script src="../docs.js" defer></script>
14
+ <link rel="stylesheet" href="../../app-look.css">
15
+ <link rel="stylesheet" href="../app-theme.css">
16
+ </head>
17
+ <body class="docs">
18
+ <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol><symbol id="ph-healer" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 72v128a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8V72a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8" opacity=".2"/><path d="M216 56h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V72a16 16 0 0 0-16-16M96 48a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm120 152H40V72h176zm-56-64a8 8 0 0 1-8 8h-16v16a8 8 0 0 1-16 0v-16h-16a8 8 0 0 1 0-16h16v-16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 8 8"/></g></symbol></svg>
19
+ <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
20
+ <symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
21
+ <line x1="8" x2="16" y1="21" y2="21" />
22
+ <line x1="12" x2="12" y1="17" y2="21" /></symbol>
23
+ <symbol id="i-smartphone" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
24
+ <path d="M12 18h.01" /></symbol>
25
+ <symbol id="i-braces" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" />
26
+ <path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" /></symbol>
27
+ <symbol id="i-container" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z" />
28
+ <path d="M10 21.9V14L2.1 9.1" />
29
+ <path d="m10 14 11.9-6.9" />
30
+ <path d="M14 19.8v-8.1" />
31
+ <path d="M18 17.5V9.4" /></symbol>
32
+ <symbol id="i-shield-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
33
+ <path d="m9 12 2 2 4-4" /></symbol>
34
+ <symbol id="i-file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
35
+ <path d="M14 2v4a2 2 0 0 0 2 2h4" />
36
+ <path d="M10 9H8" />
37
+ <path d="M16 13H8" />
38
+ <path d="M16 17H8" /></symbol>
39
+ <symbol id="i-terminal" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5" />
40
+ <line x1="12" x2="20" y1="19" y2="19" /></symbol>
41
+ <symbol id="i-brain" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
42
+ <path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
43
+ <path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
44
+ <path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
45
+ <path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
46
+ <path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
47
+ <path d="M19.938 10.5a4 4 0 0 1 .585.396" />
48
+ <path d="M6 18a4 4 0 0 1-1.967-.516" />
49
+ <path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
50
+ <symbol id="i-git-branch" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="6" x2="6" y1="3" y2="15" />
51
+ <circle cx="18" cy="6" r="3" />
52
+ <circle cx="6" cy="18" r="3" />
53
+ <path d="M18 9a9 9 0 0 1-9 9" /></symbol>
54
+ <symbol id="i-database" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3" />
55
+ <path d="M3 5V19A9 3 0 0 0 21 19V5" />
56
+ <path d="M3 12A9 3 0 0 0 21 12" /></symbol>
57
+ <symbol id="i-zap" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" /></symbol>
58
+ <symbol id="i-scan-search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2" />
59
+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />
60
+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />
61
+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />
62
+ <circle cx="12" cy="12" r="3" />
63
+ <path d="m16 16-1.9-1.9" /></symbol>
64
+ <symbol id="i-bug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88" />
65
+ <path d="M14.12 3.88 16 2" />
66
+ <path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
67
+ <path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
68
+ <path d="M12 20v-9" />
69
+ <path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
70
+ <path d="M6 13H2" />
71
+ <path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
72
+ <path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
73
+ <path d="M22 13h-4" />
74
+ <path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
75
+ <symbol id="i-repeat" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m17 2 4 4-4 4" />
76
+ <path d="M3 11v-1a4 4 0 0 1 4-4h14" />
77
+ <path d="m7 22-4-4 4-4" />
78
+ <path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
79
+ <symbol id="i-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" />
80
+ <polyline points="8 6 2 12 8 18" /></symbol>
81
+ <symbol id="i-lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
82
+ <path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
83
+ <symbol id="i-plug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5" />
84
+ <path d="M9 8V2" />
85
+ <path d="M15 8V2" />
86
+ <path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
87
+ <symbol id="i-layers" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
88
+ <path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
89
+ <path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
90
+ <symbol id="i-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6" /></symbol>
91
+ <symbol id="i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
92
+ <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
93
+ <symbol id="i-play" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3" /></symbol>
94
+ <symbol id="i-maximize" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9" /><polyline points="9 21 3 21 3 15" /><line x1="21" x2="14" y1="3" y2="10" /><line x1="3" x2="10" y1="21" y2="14" /></symbol>
95
+ <symbol id="i-x" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
96
+ <symbol id="i-mail" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2" /><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" /></symbol>
97
+ <symbol id="i-message-square" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></symbol>
98
+ </svg>
99
+
100
+ <a class="skip" href="#main">Skip to content</a>
101
+ <header class="nav" id="navigation">
102
+ <div class="nav__bar">
103
+ <a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="" width="160" height="76"></picture><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
104
+ <nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
105
+ <div class="nav__end">
106
+ <button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
107
+ <button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
108
+ </div>
109
+ </div>
110
+ <div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
111
+ </header>
112
+ <div class="container docs-layout">
113
+ <nav class="docs-side" aria-label="Docs">
114
+ <a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
115
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
116
+ </nav>
117
+ <main id="main" class="docs-main guide chapter-page">
118
+ <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
119
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-test-apps">Test environments and their apps</a></li><li><a href="#doc-how_to_use-environments-and-apps">Environments and apps</a></li><li><a href="#cap-generated-code">What ForgeQE wrote</a></li><li><a href="#doc-how_to_use-generated-code">Generated code</a></li><li><a href="#cap-forgeqe-commands">Every forgeqe command from the shell</a></li><li><a href="#doc-how_to_use-15-commands-cheat-sheet">Commands cheat sheet</a></li><li><a href="#doc-how_to_use-guardrails">Guardrails</a></li><li><a href="#doc-how_to_use-your-prompts-skills-and-product-knowledge">Your prompts, skills, and product knowledge</a></li><li><a href="#cap-product-knowledge">Product knowledge from the product's repositories</a></li><li><a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a></li><li><a href="#cap-knowledge-agent">Librarian: what ForgeQE understood, and your corrections</a></li><li><a href="#doc-how_to_use-librarian">Librarian</a></li><li><a href="#cap-document-search">Search the project's documents, without vectors</a></li><li><a href="#doc-how_to_use-searching-your-documents-without-vectors">Searching your documents, without vectors</a></li><li><a href="#cap-web-search">Search the web</a></li><li><a href="#doc-how_to_use-searching-the-web">Searching the web</a></li><li><a href="#cap-setup-help">Setup, skills, and documentation</a></li><li><a href="#doc-how_to_use-11-skills">Skills</a></li><li><a href="#doc-how_to_use-model-routing">Model routing</a></li><li><a href="#doc-readme-privacy">Privacy</a></li><li><a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">Model routing: the right configured model for each task</a></li><li><a href="#doc-docs-model_routing-turn-it-on">Turn it on</a></li><li><a href="#doc-docs-model_routing-the-areas-of-work">The areas of work</a></li><li><a href="#doc-docs-model_routing-a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#doc-docs-model_routing-how-a-model-is-picked">How a model is picked</a></li><li><a href="#doc-docs-model_routing-how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#doc-docs-model_routing-limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#doc-docs-model_routing-what-routing-cost-and-what-it-saved">What routing cost, and what it saved</a></li><li><a href="#doc-docs-model_routing-what-it-does-not-do">What it does not do</a></li></ul></nav></details></div>
120
+ <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-healer"/></svg>Setup and configuration</h1>
121
+ <p class="guide-lead">Configuration, skills, and help</p>
122
+ <article class="spec feat" id="cap-test-apps">
123
+ <div class="hd"><span class="mono">Setup</span><h3>Test environments and their apps</h3></div>
124
+ <p class="ds">Knows the test environments in env.yaml (QA, UAT, …) and each one's apps: web apps and APIs by URL, Windows desktop apps, and mobile apps, with what each is for. Every agent works from the active one; switches environment on request, picks the apps a scenario needs, and carries values such as an order number from one app to the next.</p>
125
+ <div class="facts">
126
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Place an order in the shop, then check its invoice in Billing, in UAT</li><li>Which apps can you test in QA?</li><li>From now on, use the UAT environment</li></ul></div>
127
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>env.yaml with the environments and apps (forgeqe init writes one)</span></li></ul></div>
128
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>test_apps</code> <code>use_environment</code></p></div>
129
+ </div>
130
+ <div class="detail"><span class="mono">In detail</span>
131
+ <section class="doc" id="doc-how_to_use-environments-and-apps">
132
+ <h4>Environments and apps</h4>
133
+ <div class="prose"><p><code>env.yaml</code> (written by <code>forgeqe init</code>, named in forgeqe.yaml <code>environments.file</code>) lists your test environments and the
134
+ apps in each: web apps by URL, APIs by base URL, Windows desktop apps by <code>.exe</code>, and mobile apps by package id, each
135
+ with a short description of what it is for. Plain values go under <code>variables</code>; secrets never do, only the names of the
136
+ environment variables that hold them, under <code>secrets</code>.</p>
137
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">default: qa
138
+ </span></span><span class="ln"><span class="cmd">environments:
139
+ </span></span><span class="ln"><span class="cmd"> qa:
140
+ </span></span><span class="ln"><span class="cmd"> start_app: shop
141
+ </span></span><span class="ln"><span class="cmd"> apps:
142
+ </span></span><span class="ln"><span class="cmd"> shop: { kind: web, url: &quot;https://qa.shop.example.com&quot;, description: Customer web shop where orders are placed }
143
+ </span></span><span class="ln"><span class="cmd"> orders: { kind: api, url: &quot;https://qa.api.example.com/v1&quot;, description: Orders REST API }
144
+ </span></span><span class="ln"><span class="cmd"> billing: { kind: desktop, path: 'C:\Program Files\Contoso\Billing\Billing.exe', args: [&quot;--server&quot;, &quot;qa-db01&quot;], description: Back-office invoicing }
145
+ </span></span><span class="ln"><span class="cmd"> variables: { company: Contoso QA }
146
+ </span></span><span class="ln"><span class="cmd"> secrets: [BILLING_PASSWORD_QA]
147
+ </span></span><span class="ln"><span class="cmd"> uat:
148
+ </span></span><span class="ln"><span class="cmd"> apps: { ... }
149
+ </span></span></code></pre></div>
150
+ <p><strong>A value kept in <code>.env</code>.</strong> A variable can take its value from an environment variable (<code>.env</code> or the shell) by
151
+ naming it: <code>TestPassword: password</code> (a password-, secret-, token-, key- or credential-like name whose value is a
152
+ variable's name), or <code>${NAME}</code> / <code>env:NAME</code> under any name. Such a variable is a secret: the browser agent types it as
153
+ <code>&lt;secret&gt;TestPassword&lt;/secret&gt;</code>, filled with that variable's value only on the environment's own sites; a test case's
154
+ <code>{{var.TestPassword}}</code> becomes that placeholder; tests read it from the variable itself (never <code>FORGEQE_VAR_*</code>); and
155
+ its value is never shown to a model or written into a report. When the variable is not set, <code>forgeqe apps</code> and the
156
+ agent say so instead of the word written in the file being typed.</p>
157
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> .env
158
+ </span></span><span class="ln"><span class="cmd">password=test@123
159
+ </span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> env.yaml
160
+ </span></span><span class="ln"><span class="cmd">environments:
161
+ </span></span><span class="ln"><span class="cmd"> QA:
162
+ </span></span><span class="ln"><span class="cmd"> variables:
163
+ </span></span><span class="ln ln--pair"><span class="cmd"> TestPassword: password</span><span class="pad"> </span><span class="cm"><span class="h">#</span> typed as test@123, never as &quot;password&quot;
164
+ </span></span></code></pre></div>
165
+ <p>Your test cases stay the same in every environment; only where they run changes. The environment supplies the URLs,
166
+ executables, accounts and values, and the same test, workflow or scenario runs against QA or UAT.</p>
167
+ <p><strong>Any layout works.</strong> The layout above is ForgeQE's own, but an <code>env.yaml</code> your team already keeps is read as it is:</p>
168
+ <ul>
169
+ <li>environments under <code>environments:</code> / <code>envs:</code>, as a list with a <code>name</code> each, or as top-level keys (<code>qa:</code>, <code>uat:</code>);
170
+ or one file per environment with <code>environments.dir</code> in forgeqe.yaml</li>
171
+ <li>a <code>common:</code> / <code>defaults:</code> / <code>shared:</code> block merged into each environment</li>
172
+ <li>any <code>http(s)</code> URL becomes a web app (an API when its key or path says api); an absolute <code>.exe</code> becomes a desktop app
173
+ (with a sibling <code>args</code>); other values become variables</li>
174
+ <li>secrets: keys like <code>password</code>, <code>token</code> or <code>api_key</code> are never shown to a model. A reference (<code>${BILLING_PW}</code>,
175
+ <code>env:BILLING_PW</code>, <code>%BILLING_PW%</code>) is recorded as a secret name; a literal value is replaced with <code>&lt;redacted&gt;</code></li>
176
+ </ul>
177
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">common: { company: Contoso }
178
+ </span></span><span class="ln"><span class="cmd">qa:
179
+ </span></span><span class="ln"><span class="cmd"> url: https://qa.shop.example.com
180
+ </span></span><span class="ln"><span class="cmd"> orders_api: https://qa.api.example.com/v1
181
+ </span></span><span class="ln"><span class="cmd"> billing_exe: 'C:\Program Files\Contoso\Billing\Billing.exe'
182
+ </span></span><span class="ln"><span class="cmd"> db_password: ${BILLING_DB_PW_QA}
183
+ </span></span><span class="ln"><span class="cmd">uat:
184
+ </span></span><span class="ln"><span class="cmd"> url: https://uat.shop.example.com
185
+ </span></span></code></pre></div>
186
+ <p>ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it (&quot;log in
187
+ as the <code>admin_user</code> of UAT&quot;).</p>
188
+ <p><strong>Link, import or paste the team's file.</strong> An environment can be read from a YAML file the team keeps elsewhere in the
189
+ repository, as it is now each run (<code>file:</code>, with this project's <code>description</code> and <code>data</code> added), or converted once
190
+ into ForgeQE's layout:</p>
191
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">environments:
192
+ </span></span><span class="ln"><span class="cmd"> qa:
193
+ </span></span><span class="ln ln--pair"><span class="cmd"> file: config/qa-portal.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> linked: read every run, any layout; a file of several picks qa from it
194
+ </span></span></code></pre></div>
195
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe env import config/uat.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> shows it in ForgeQE's layout
196
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe env import config/uat.yaml --write</span><span class="pad"> </span><span class="cm"><span class="h">#</span> adds it (--name NAME, --replace to overwrite one already there)
197
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe env link qa config/qa-portal.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> links it
198
+ </span></span></code></pre></div>
199
+ <p>In the shell, <code>/env import config/uat.yaml</code> shows the conversion and <code>/env import config/uat.yaml --write</code> adds it. In
200
+ the web app, Settings › Environments › Add or Edit has <strong>Paste</strong>, <strong>Import a file</strong> and <strong>Link a project file</strong>. A
201
+ secret value written in the file is never copied: it is listed so you can move it to an environment variable.</p>
202
+ <p><strong>Test data per environment.</strong> The same test often needs other rows in each environment: QA's customers are not UAT's.
203
+ List the files under <code>data:</code> (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder);
204
+ the tests ForgeQE runs read each one's absolute path from <code>FORGEQE_DATA_&lt;NAME&gt;</code>, and the agents are told to read it
205
+ from there, never from a fixed path.</p>
206
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">environments:
207
+ </span></span><span class="ln"><span class="cmd"> qa:
208
+ </span></span><span class="ln"><span class="cmd"> data:
209
+ </span></span><span class="ln ln--pair"><span class="cmd"> customers: test-data/qa/customers.csv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> FORGEQE_DATA_CUSTOMERS
210
+ </span></span><span class="ln ln--pair"><span class="cmd"> orders: test-data/qa/orders.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> FORGEQE_DATA_ORDERS
211
+ </span></span><span class="ln"><span class="cmd"> uat:
212
+ </span></span><span class="ln"><span class="cmd"> data:
213
+ </span></span><span class="ln"><span class="cmd"> customers: test-data/uat/customers.csv
214
+ </span></span></code></pre></div>
215
+ <p><code>forgeqe apps</code> and <code>/env</code> list each environment's data files, and mark one that is not there yet.</p>
216
+ <p><strong>Cloud accounts per environment.</strong> QA's resources are in one Azure subscription, AWS account or Google Cloud project,
217
+ UAT's in another. Name them under <code>cloud:</code>, so the agents look in the right account and tests read it instead of a fixed
218
+ id:</p>
219
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">environments:
220
+ </span></span><span class="ln"><span class="cmd"> qa:
221
+ </span></span><span class="ln"><span class="cmd"> cloud:
222
+ </span></span><span class="ln"><span class="cmd"> azure: { subscription: 00000000-0000-0000-0000-000000000000, tenant: 00000000-0000-0000-0000-000000000000, resource_group: rg-shop-qa }
223
+ </span></span><span class="ln ln--pair"><span class="cmd"> aws: { account: &quot;123456789012&quot;, region: eu-west-1, profile: shop-qa }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the account in quotes: YAML drops a leading 0
224
+ </span></span><span class="ln"><span class="cmd"> gcp: { project: shop-qa-123, region: europe-west1 }
225
+ </span></span></code></pre></div>
226
+ <p>Each setting is an identifier in its own shape (a GUID, a 12-digit account, a region, a profile's or project's name), and
227
+ nothing else is read: a key like <code>client_secret</code> or <code>access_key</code> stops the file loading. ForgeQE signs in to no cloud
228
+ from env.yaml. The SDKs use their own default credential chain (<code>az login</code>, a profile or role, Application Default
229
+ Credentials), and ForgeQE leaves <code>AZURE_*</code>, <code>AWS_*</code> and <code>GOOGLE_*</code> as your shell has them. Tests read
230
+ <code>FORGEQE_CLOUD_AZURE_SUBSCRIPTION_ID</code>, <code>_AZURE_TENANT_ID</code>, <code>_AZURE_RESOURCE_GROUP</code>, <code>FORGEQE_CLOUD_AWS_ACCOUNT_ID</code>,
231
+ <code>_AWS_REGION</code>, <code>_AWS_PROFILE</code>, <code>FORGEQE_CLOUD_GCP_PROJECT</code> and <code>_GCP_REGION</code>. A test environment that names the same
232
+ subscription, account or project as one named like production (<code>prod</code>, <code>live</code>) is reported, since a change made while
233
+ testing it lands in production's. <code>forgeqe apps</code> lists the active environment's accounts.</p>
234
+ <p>Pick the environment with <code>--env uat</code> on any command (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>monitor</code>, <code>mcp</code>, …) or
235
+ <code>FORGEQE_ENV=uat</code>; otherwise <code>default</code> is used. In the shell, <code>/env</code> lists them and <code>/env uat</code> switches; asked in plain
236
+ language (&quot;from now on, use UAT&quot;), ForgeQE's agent switches with <code>use_environment</code>, and any single request can name an
237
+ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an <code>env</code> for that call only. <code>forgeqe apps</code> lists the environments and the active one's apps.</p>
238
+ <p>What each agent gets from the active environment:</p>
239
+ <div class="tbl tbl--cols-2"><table>
240
+ <thead>
241
+ <tr><th>Agent</th><th>What it uses</th></tr>
242
+ </thead>
243
+ <tbody>
244
+ <tr><td data-label="Agent">ForgeQE's agent</td><td data-label="What it uses">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>
245
+ <tr><td data-label="Agent">WebPilot</td><td data-label="What it uses">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>
246
+ <tr><td data-label="Agent">API tests</td><td data-label="What it uses">Call each API's own address: the app of the environment whose URL the API was made from (so it follows the environment picked), else the API's own base URL, never simply <code>api_app</code>'s when that is another API; or, on the workbench, another web or API app a call or the API names as <code>{{app.NAME}}</code>. An API with no usable address on an environment says why and sends nothing</td></tr>
247
+ <tr><td data-label="Agent">DeskPilot</td><td data-label="What it uses">Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
248
+ <tr><td data-label="Agent">Quill, the healer, the reviewer</td><td data-label="What it uses">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>
249
+ <tr><td data-label="Agent">Tests ForgeQE runs, pack pipelines</td><td data-label="What it uses"><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>
250
+ <tr><td data-label="Agent">Reports</td><td data-label="What it uses">Every run's report names the test environment</td></tr>
251
+ <tr><td data-label="Agent">Test cases (<code>run_test_cases</code>, <code>forgeqe suite</code>)</td><td data-label="What it uses"><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>
252
+ </tbody>
253
+ </table></div>
254
+ <p>A test case can name the active environment's values, so one case runs in every environment:</p>
255
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">- title: Book an appointment for {{var.employer_name}}
256
+ </span></span><span class="ln"><span class="cmd"> steps:
257
+ </span></span><span class="ln"><span class="cmd"> - action: Open {{app.CorporatePortal}} and sign in
258
+ </span></span><span class="ln"><span class="cmd"> expected: The dashboard shows {{var.employer_name}}
259
+ </span></span></code></pre></div>
260
+ <p><code>{{var.NAME}}</code> takes a value of <code>variables:</code> and <code>{{app.NAME}}</code> (or <code>{{app.NAME.url}}</code>) a web or API app's URL, the name
261
+ written any way (&quot;Corporate Portal&quot; for <code>CorporatePortal</code>). A name the environment does not have, a desktop app, or a
262
+ secret's name is left as written and listed in the run's log: secrets are never put into a case.</p>
263
+ <p>Before a browser run or a suite starts, ForgeQE checks what the request and its test cases name against env.yaml and
264
+ forgeqe.yaml: <code>{{var.…}}</code> and <code>{{app.…}}</code>, test users named like <code>withdocs_user</code>, saved logins (their variables set, and
265
+ their <code>domains</code> covering where the run opens) and <code>&lt;secret&gt;…&lt;/secret&gt;</code> placeholders. Anything missing is listed, with its
266
+ fix, before the browser opens: stop and give the values (credentials become a login for the session, never part of a
267
+ goal), or run anyway. With nobody to ask, nothing runs until the agent has asked you.</p>
268
+ <p>Edit env.yaml or forgeqe.yaml during a chat (the web app's or the terminal's) and the next message reads them again, with
269
+ the conversation kept; a file that no longer loads keeps the chat on what it read before, and says why.</p>
270
+ <p>There is no scenario file to write: ask in plain language (&quot;place an order in the shop, then check its invoice in
271
+ Billing, in UAT&quot;) and ForgeQE's agent picks the apps from their descriptions, shows the plan, runs each step with the
272
+ right engine, and carries values from one app to the next.</p>
273
+ </div>
274
+ </section>
275
+ </div>
276
+ </article>
277
+ <article class="spec feat" id="cap-generated-code">
278
+ <div class="hd"><span class="mono">Setup</span><h3>What ForgeQE wrote</h3></div>
279
+ <p class="ds">Says how much of the code ForgeQE wrote is still in the repository, and gives the trailer and footer that mark a commit message or pull request description covering code it wrote. Works with any repository, whatever system the team uses.</p>
280
+ <div class="facts">
281
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>How much of the code ForgeQE wrote is still there?</li><li>Write the commit message for these tests</li></ul></div>
282
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
283
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>generated_attribution</code></p></div>
284
+ </div>
285
+ <div class="detail"><span class="mono">In detail</span>
286
+ <section class="doc" id="doc-how_to_use-generated-code">
287
+ <h4>Generated code</h4>
288
+ <div class="prose"><p><strong>Generated code.</strong> What ForgeQE writes is marked, so the team can see it and measure it. A file ForgeQE created starts with one line in that language's comment, such as <code>// Generated with ForgeQE · fq:k3x7m2qa4bdi · run 20261019-162847</code>; the <code>fq:</code> id is a hash of the file's contents without that line, so it shows whether the file was changed since (<code>code.header: false</code> leaves the line out; a JSON file never gets one). Files it only edited get no header. Every file it created or edited is recorded per run in <code>.forgeqe/generated.jsonl</code> (commit it with the code): the lines it added, as short hashes, never their text. <code>forgeqe generated</code> (or <code>/generated</code> in the shell, <code>--json</code> for a pipeline) says how many lines ForgeQE wrote, how many are still in the code, its share of the files it touched, and which created files are as it wrote them. Commit messages ForgeQE's agent writes end with a <code>Generated-by: ForgeQE (fq:…)</code> trailer, and its pull request descriptions with a line naming the runs' <code>fq:</code> ids and how much they wrote. The ids are plain hashes anyone can recompute: they show what ForgeQE wrote, not who owns the code.</p>
289
+ </div>
290
+ </section>
291
+ </div>
292
+ </article>
293
+ <article class="spec feat" id="cap-forgeqe-commands">
294
+ <div class="hd"><span class="mono">Setup</span><h3>Every forgeqe command from the shell</h3></div>
295
+ <p class="ds">Runs the forgeqe commands no other tool covers when the user asks in words: the context budget, guardrails, prompts (show, diff, check, reset), the domain eval, skills on or off, session logs, saved API sets and packs, pack pipelines, the BI site, a test notification, desktop and mobile doctor and validate, and updating ForgeQE. Reading commands run at once; the others are shown and asked first.</p>
296
+ <div class="facts">
297
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Show me the context budget</li><li>Add a guardrail: never delete test data in prod</li><li>Diff the brain prompt against ForgeQE's</li><li>Is there a new version of ForgeQE?</li><li>Run the mobile doctor</li><li>Build the BI site</li></ul></div>
298
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
299
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_command</code></p></div>
300
+ </div>
301
+ <div class="detail"><span class="mono">In detail</span>
302
+ <section class="doc" id="doc-how_to_use-15-commands-cheat-sheet">
303
+ <h4>Commands cheat sheet</h4>
304
+ <div class="prose"><p>Every command below also works from the shell in plain words (&quot;show the context budget&quot;, &quot;diff the brain prompt&quot;,
305
+ &quot;upload builds/app.apk to TestMu for the courier app&quot;). ForgeQE's agent uses the tool made for it, or
306
+ <code>forgeqe_command</code> for the commands no other tool covers. A command that only reads runs at once. One that changes
307
+ files, installs, costs model calls, or sends anything out shows you the exact command and runs only when you agree.
308
+ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeqe bi export</code> and <code>forgeqe logs bundle</code> are <code>/report export</code> and
309
+ <code>/logs</code> there.</p>
310
+ </div>
311
+ <section class="doc sub" id="doc-how_to_use-setup"><h5>Setup</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
312
+ <thead>
313
+ <tr><th>Command</th><th>What it does</th></tr>
314
+ </thead>
315
+ <tbody>
316
+ <tr><td data-label="Command"><code>forgeqe init [--dir DIR] [--global] [--force] [--profile NAME]</code></td><td data-label="What it does">Write <code>forgeqe.yaml</code>, <code>llms.json</code>, <code>env.yaml</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
317
+ <tr><td data-label="Command"><code>forgeqe setup [--force]</code></td><td data-label="What it does">Download the agent runtime and the engine now, and Appium when mobile apps run on this computer (<code>--force</code> rebuilds the engine)</td></tr>
318
+ <tr><td data-label="Command"><code>forgeqe doctor</code></td><td data-label="What it does">Whether this computer and the network (proxy, inspected HTTPS, firewall) let ForgeQE reach what it needs</td></tr>
319
+ <tr><td data-label="Command"><code>forgeqe doctor --packages</code></td><td data-label="What it does">Every package ForgeQE installs on this computer, and which are missing or out of date</td></tr>
320
+ <tr><td data-label="Command"><code>forgeqe doctor browser [--headless]</code></td><td data-label="What it does">Start the local browser each way ForgeQE can, and write a report of what stops it</td></tr>
321
+ <tr><td data-label="Command"><code>forgeqe models</code></td><td data-label="What it does">List the profiles in <code>llms.json</code> and the active one</td></tr>
322
+ <tr><td data-label="Command"><code>forgeqe models --routes [--profile-models]</code></td><td data-label="What it does">The model each area of work gets (<code>llm.routing</code>) and why; <code>--profile-models</code> checks and rates the models again (see <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>)</td></tr>
323
+ <tr><td data-label="Command"><code>forgeqe features</code></td><td data-label="What it does">What ForgeQE can do, and what each capability still needs in this setup (works without a model)</td></tr>
324
+ <tr><td data-label="Command"><code>forgeqe docs [--guide|--open] [--copy DIR]</code></td><td data-label="What it does">The bundled docs; <code>--guide</code> opens the docs pages (as on forgeqe.github.io/docs/, offline), <code>--open</code> the architecture page</td></tr>
325
+ <tr><td data-label="Command"><code>forgeqe mcp list</code></td><td data-label="What it does">The MCP servers ForgeQE's agent gets from your settings</td></tr>
326
+ <tr><td data-label="Command"><code>forgeqe models --copilot [--add MODEL [--as NAME] [--engine-model MODEL] [--default]]</code></td><td data-label="What it does">Your Copilot seat's models and their premium requests; <code>--add</code> keeps one as a profile (see <a href="../get-started/index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>)</td></tr>
327
+ <tr><td data-label="Command"><code>forgeqe web [--port N] [--no-open]</code></td><td data-label="What it does">The web app on 127.0.0.1 (see <a href="../using/index.html#doc-how_to_use-the-web-app">The web app</a>; <code>--url</code> and <code>--public-url</code> are in docs/WEB_APP.md)</td></tr>
328
+ <tr><td data-label="Command"><code>forgeqe context</code></td><td data-label="What it does">What each agent loads on every model call, against its budget (exit 1 over budget)</td></tr>
329
+ <tr><td data-label="Command"><code>forgeqe guardrails [add &quot;rule&quot;]</code></td><td data-label="What it does">The team's rules every agent follows, or add one (see <a href="#doc-how_to_use-guardrails">Guardrails</a>)</td></tr>
330
+ <tr><td data-label="Command"><code>forgeqe prompts [list] | show|diff|reset &lt;name&gt; | check [name] | eval</code></td><td data-label="What it does">Every agent prompt and where it comes from; compare, reset, check, evaluate</td></tr>
331
+ <tr><td data-label="Command"><code>forgeqe apps [--env NAME]</code>, <code>forgeqe env import &lt;file.yaml&gt; [--write]</code>, <code>forgeqe env link &lt;name&gt; &lt;file.yaml&gt;</code></td><td data-label="What it does">The test environments in env.yaml and their apps; an environment from the team's own YAML (see <a href="#doc-how_to_use-environments-and-apps">Environments and apps</a>)</td></tr>
332
+ <tr><td data-label="Command"><code>forgeqe knowledge [build|status|search|node|impact]</code></td><td data-label="What it does">The product knowledge graph (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
333
+ <tr><td data-label="Command"><code>forgeqe graph [status|setup [--yes]|sync|search &quot;&lt;words&gt;&quot;|stop|reset]</code></td><td data-label="What it does">ForgeQE's Neo4j for the product graph and BASAL's scenario graphs (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
334
+ <tr><td data-label="Command"><code>forgeqe auth login [system|NAME] [--no-browser]</code></td><td data-label="What it does">Sign in to Azure DevOps, GitHub, GitHub Copilot (<code>copilot</code>), Jira, Confluence, TestRail, Zephyr, qTest, Xray, BrowserStack, TestMu AI, GitLab, Postman, Sentry, Azure or Dataverse in the browser, or save one secret, in the system's credential store</td></tr>
335
+ <tr><td data-label="Command"><code>forgeqe auth [status]</code>, <code>forgeqe auth logout &lt;system&gt;</code></td><td data-label="What it does">What is signed in; forget a sign-in</td></tr>
336
+ </tbody>
337
+ </table></div>
338
+ </div></section>
339
+ <section class="doc sub" id="doc-how_to_use-run"><h5>Run</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
340
+ <thead>
341
+ <tr><th>Command</th><th>What it does</th></tr>
342
+ </thead>
343
+ <tbody>
344
+ <tr><td data-label="Command"><code>forgeqe start [--repo DIR] [--headed]</code></td><td data-label="What it does">The shell</td></tr>
345
+ <tr><td data-label="Command"><code>forgeqe run &quot;&lt;request&gt;&quot; [--plain]</code></td><td data-label="What it does">One request without the shell</td></tr>
346
+ <tr><td data-label="Command"><code>forgeqe run --direct &quot;&lt;goal&gt;&quot; [--skill NAME]</code></td><td data-label="What it does">One browser goal, no agent</td></tr>
347
+ <tr><td data-label="Command"><code>forgeqe chat --jsonl [--carry-over FILE]</code></td><td data-label="What it does">One live agent for a program, in JSON lines (see <a href="../using/index.html#doc-how_to_use-a-live-agent-for-programs-forgeqe-chat---jsonl">A live agent for programs</a>)</td></tr>
348
+ <tr><td data-label="Command"><code>forgeqe suite &lt;source...&gt; [--parallel N] [--skill NAME]</code></td><td data-label="What it does">Run test cases the same way every time (pipelines)</td></tr>
349
+ <tr><td data-label="Command"><code>forgeqe cases &lt;source...&gt;</code></td><td data-label="What it does">List the cases a source gives, without running them</td></tr>
350
+ <tr><td data-label="Command"><code>forgeqe bi [build] [--from FILE|DIR]... [--static|--evidence]</code></td><td data-label="What it does">The team report of every run here and the shared bundles (see <a href="../area-release/index.html#doc-how_to_use-team-report">Team report</a>)</td></tr>
351
+ <tr><td data-label="Command"><code>forgeqe bi init|sync</code></td><td data-label="What it does">Scaffold the Evidence project; refresh its datasets and pages without building</td></tr>
352
+ <tr><td data-label="Command"><code>forgeqe bi export [--out FILE|DIR]</code></td><td data-label="What it does">This machine's runs and readiness reports in one file to share</td></tr>
353
+ <tr><td data-label="Command"><code>forgeqe refine &quot;&lt;request&gt;&quot; [--json]</code></td><td data-label="What it does">The request made precise against what ForgeQE knows here; runs nothing</td></tr>
354
+ <tr><td data-label="Command"><code>forgeqe agent list | new | try | approve | run | approvals …</code></td><td data-label="What it does">The team's custom agents (see <a href="../area-operations/index.html#doc-how_to_use-custom-agents">Custom agents</a>)</td></tr>
355
+ <tr><td data-label="Command"><code>forgeqe jobs add &lt;name&gt; [--every 15m | --cron &quot;…&quot;] [--now] -- &lt;command...&gt;</code>, <code>forgeqe jobs [list|status|logs|run|stop|remove] &lt;name&gt;</code></td><td data-label="What it does">Commands on a schedule or now, in the jobs service</td></tr>
356
+ <tr><td data-label="Command"><code>forgeqe pipeline watch --github owner/repo --workflow ci.yml | --ado-project NAME --pipeline ID</code></td><td data-label="What it does">The latest run of a CI pipeline; exit 1 while it is failed</td></tr>
357
+ <tr><td data-label="Command"><code>forgeqe investigate &lt;run folder&gt;</code></td><td data-label="What it does">Heal a job run's handed-over failures, each on a local branch</td></tr>
358
+ <tr><td data-label="Command"><code>forgeqe evidence [record|runs|show|check|contract|…]</code></td><td data-label="What it does">An AI agent's runs as evidence</td></tr>
359
+ </tbody>
360
+ </table></div>
361
+ </div></section>
362
+ <section class="doc sub" id="doc-how_to_use-tests"><h5>Tests</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
363
+ <thead>
364
+ <tr><th>Command</th><th>What it does</th></tr>
365
+ </thead>
366
+ <tbody>
367
+ <tr><td data-label="Command"><code>forgeqe code [run-dir] --repo DIR</code></td><td data-label="What it does">Quill writes a test for a run (default: the latest)</td></tr>
368
+ <tr><td data-label="Command"><code>forgeqe heal [&quot;&lt;test command&gt;&quot;] --repo DIR</code></td><td data-label="What it does">Fix tests the app has outgrown, or report app bugs</td></tr>
369
+ <tr><td data-label="Command"><code>forgeqe visual [run] | approve [run] [--page p]</code></td><td data-label="What it does">Each page against its approved screenshot; approve an intended change as the new baseline</td></tr>
370
+ <tr><td data-label="Command"><code>forgeqe quality [run] | trends [page]</code></td><td data-label="What it does">A run's WCAG rules and Core Web Vitals against the budgets; per page over time</td></tr>
371
+ <tr><td data-label="Command"><code>forgeqe explore &lt;story&gt; [--url URL] [--roles a,b]</code></td><td data-label="What it does">Exploratory testing of a story: charters beyond the scripted cases, confirmed defects, proposed cases</td></tr>
372
+ <tr><td data-label="Command"><code>forgeqe record [APP | --url URL] [--case REF] [--name TEXT] [--repo DIR]</code></td><td data-label="What it does">Do a web test's steps yourself; ForgeQE records them and Quill writes the test (see <a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
373
+ <tr><td data-label="Command"><code>forgeqe desktop explore|record|replay|setup|apps|doctor|validate …</code></td><td data-label="What it does">Windows apps (see <a href="../area-desktop/index.html#doc-how_to_use-desktop-apps-windows">Desktop apps</a>)</td></tr>
374
+ <tr><td data-label="Command"><code>forgeqe mobile explore|replay|maestro|upload|setup|apps|doctor …</code></td><td data-label="What it does">Android and iOS apps (see <a href="../area-mobile/index.html#doc-how_to_use-mobile-apps-android-ios">Mobile apps</a>)</td></tr>
375
+ <tr><td data-label="Command"><code>forgeqe migrate plan --to &lt;target&gt; [--from DIR] | confirm &lt;plan&gt; | run &lt;plan&gt; | show | list | targets</code></td><td data-label="What it does">Move a test suite to another framework (see <a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite">Migrating a test suite</a>)</td></tr>
376
+ <tr><td data-label="Command"><code>forgeqe tosca inspect &lt;file.tsu&gt; | plan &lt;file.tsu&gt; --to &lt;target&gt; | confirm | run | verify | fix …</code></td><td data-label="What it does">Convert Tosca test cases (see <a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests">Converting Tosca tests</a>)</td></tr>
377
+ <tr><td data-label="Command"><code>forgeqe pack build|run|triage|heal|list|show …</code>, <code>forgeqe pack pipeline init [--github] [--azure-devops]</code></td><td data-label="What it does">Regression packs for a release (see <a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release">Regression packs for a release</a>)</td></tr>
378
+ <tr><td data-label="Command"><code>forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]</code></td><td data-label="What it does">The tests a pull request can break; <code>--run</code> makes it a CI gate (see <a href="../area-pull-requests/index.html#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a>)</td></tr>
379
+ <tr><td data-label="Command"><code>forgeqe impact &lt;repo&gt; &lt;base&gt; &lt;head&gt; | &lt;repo&gt; --pr LINK [--gate] [--post] [--json] [--quick]</code></td><td data-label="What it does">What a change in a product repository reaches, and whether it is ready; <code>--gate</code> exits 1 when it is blocked</td></tr>
380
+ <tr><td data-label="Command"><code>forgeqe report &lt;file|folder&gt;... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td data-label="What it does">report.html from JUnit XML or TRX run outside ForgeQE (see <a href="../area-automated-tests/index.html#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
381
+ <tr><td data-label="Command"><code>forgeqe a11y &quot;&lt;goal&gt;&quot; --persona a,b [--url URL]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
382
+ <tr><td data-label="Command"><code>forgeqe persona [list] | show | create | export | import</code></td><td data-label="What it does">Business personas (see <a href="../area-test-cases/index.html#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
383
+ <tr><td data-label="Command"><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run &lt;pack&gt; &lt;flag=v1,v2&gt; --env NAME</code></td><td data-label="What it does">A regression pack once per feature-flag combination (see <a href="../area-release/index.html#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
384
+ <tr><td data-label="Command"><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td data-label="What it does">Defect trends, and where a change is likely to cause defects</td></tr>
385
+ <tr><td data-label="Command"><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td data-label="What it does">Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
386
+ <tr><td data-label="Command"><code>forgeqe testmgmt sync | schedule [off|hourly|daily HH:MM]</code></td><td data-label="What it does">Read the test plans of Test management now; set when they are read again (see <a href="../area-automated-tests/index.html#doc-how_to_use-test-management">Test management</a>)</td></tr>
387
+ <tr><td data-label="Command"><code>forgeqe basal [list | new &quot;&lt;question&gt;&quot; … | show &lt;id&gt; | approve &lt;id&gt; | act &lt;id&gt; …]</code></td><td data-label="What it does">BASAL business tests (see <a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing">BASAL</a>)</td></tr>
388
+ <tr><td data-label="Command"><code>forgeqe api contracts --spec &lt;link|file&gt;</code></td><td data-label="What it does">API contracts from OpenAPI/Swagger, WSDL, GraphQL, .proto, or grpc://</td></tr>
389
+ <tr><td data-label="Command"><code>forgeqe api contracts --run [RUN]</code></td><td data-label="What it does">API contracts from the calls a browser run saw the app make</td></tr>
390
+ <tr><td data-label="Command"><code>forgeqe api run [SET] [--base-url URL]</code></td><td data-label="What it does">Run contracts against the API, no browser; exit 1 on a failure</td></tr>
391
+ <tr><td data-label="Command"><code>forgeqe api tests [SET] --repo DIR</code></td><td data-label="What it does">Quill writes contracts as API tests in the repo</td></tr>
392
+ <tr><td data-label="Command"><code>forgeqe api scenarios --run | --spec &lt;link&gt; | --cases &lt;refs&gt; | --text &quot;...&quot;</code></td><td data-label="What it does">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>
393
+ <tr><td data-label="Command"><code>forgeqe api run-scenarios [SET] [--allow-writes]</code></td><td data-label="What it does">Run them against the API; exit 1 on a failure</td></tr>
394
+ <tr><td data-label="Command"><code>forgeqe api tests --scenarios --repo DIR</code></td><td data-label="What it does">Scenario tests on the repo's existing API helpers</td></tr>
395
+ <tr><td data-label="Command"><code>forgeqe generated [--repo DIR] [--json]</code></td><td data-label="What it does">How much of the code ForgeQE wrote, and how much is still there</td></tr>
396
+ <tr><td data-label="Command"><code>forgeqe eval domain [--only id,id] [--repeat N] [--min 0.8]</code></td><td data-label="What it does">Whether the agent applies domain and regulatory knowledge, with the domain declared and without; <code>--min</code> makes it a CI gate (see <a href="../area-test-cases/index.html#doc-how_to_use-16-domain-and-regulations">Domain and regulations</a>)</td></tr>
397
+ </tbody>
398
+ </table></div>
399
+ </div></section>
400
+ <section class="doc sub" id="doc-how_to_use-data"><h5>Data</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
401
+ <thead>
402
+ <tr><th>Command</th><th>What it does</th></tr>
403
+ </thead>
404
+ <tbody>
405
+ <tr><td data-label="Command"><code>forgeqe db [list]</code>, <code>forgeqe db test|tables|refresh|batches|examples [name] [words]</code></td><td data-label="What it does">The databases set up here; connect to one, its tables, read its schema again, test data batches, remembered queries (see <a href="../area-data/index.html#doc-how_to_use-databases">Databases</a>)</td></tr>
406
+ <tr><td data-label="Command"><code>forgeqe db query &lt;name&gt; &quot;&lt;sql&gt;&quot; [--dry-run] [--max-rows N] [--json]</code></td><td data-label="What it does">One checked read; writes go through the agent</td></tr>
407
+ <tr><td data-label="Command"><code>forgeqe db ask &quot;&lt;question&gt;&quot; [--db NAME] [--run] [--save FILE.sql]</code></td><td data-label="What it does">ForgeQE's agent writes the SQL; prints only the SQL</td></tr>
408
+ <tr><td data-label="Command"><code>forgeqe data gen &lt;spec.yaml&gt; [--db NAME] [--format csv|json|sql] [--out DIR] [--insert --yes] [--seed N]</code></td><td data-label="What it does">Test data from a spec (see <a href="../area-data/index.html#doc-how_to_use-test-data">Test data</a>)</td></tr>
409
+ <tr><td data-label="Command"><code>forgeqe data batches [--db NAME]</code>, <code>forgeqe data clean &lt;batch&gt; [--db NAME] --yes</code></td><td data-label="What it does">The batches inserted; remove one</td></tr>
410
+ <tr><td data-label="Command"><code>forgeqe flows [list]|map|impact &lt;db.table[.column]&gt;</code></td><td data-label="What it does">The data flows in <code>flows.yaml</code>, what feeds what, everything downstream (see <a href="../area-data/index.html#doc-how_to_use-data-flows">Data flows</a>)</td></tr>
411
+ <tr><td data-label="Command"><code>forgeqe flows check [name ...] [--junit FILE] [--post-ado]</code></td><td data-label="What it does">Check each hop: arrived, complete, correct, on time</td></tr>
412
+ <tr><td data-label="Command"><code>forgeqe flows trace &lt;db.table|flow,flow&gt; &lt;key&gt; [--wait SECONDS]</code></td><td data-label="What it does">Follow one record hop by hop</td></tr>
413
+ <tr><td data-label="Command"><code>forgeqe data request &quot;&lt;need&gt;&quot; [--db NAME] [--kind existing|new|auto]</code>, <code>forgeqe data fetch &lt;name&gt;</code>, <code>forgeqe data requests</code>, <code>forgeqe data log</code></td><td data-label="What it does">Ask Miner for test data; a kept request's data again, no model</td></tr>
414
+ <tr><td data-label="Command"><code>forgeqe data ask &quot;&lt;question&gt;&quot; --as query|checks|script</code>, <code>forgeqe data checks &lt;name&gt;</code></td><td data-label="What it does">A question as a query, data checks or a database test script; kept checks run again</td></tr>
415
+ </tbody>
416
+ </table></div>
417
+ </div></section>
418
+ <section class="doc sub" id="doc-how_to_use-memory-logins-monitoring"><h5>Memory, logins, monitoring</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
419
+ <thead>
420
+ <tr><th>Command</th><th>What it does</th></tr>
421
+ </thead>
422
+ <tbody>
423
+ <tr><td data-label="Command"><code>forgeqe memory [show &lt;host&gt;] [flows]</code></td><td data-label="What it does">What page memory knows</td></tr>
424
+ <tr><td data-label="Command"><code>forgeqe memory clear [host|app] --yes</code></td><td data-label="What it does">Forget a host, an app, or everything</td></tr>
425
+ <tr><td data-label="Command"><code>forgeqe memory stats [--json]</code></td><td data-label="What it does">How often memory stood in for the model, per area</td></tr>
426
+ <tr><td data-label="Command"><code>forgeqe login &lt;name&gt;</code> / <code>forgeqe logins</code></td><td data-label="What it does">Sign in by hand once; list or clear saved sessions</td></tr>
427
+ <tr><td data-label="Command"><code>forgeqe login code &lt;name&gt; [--since TIME]</code></td><td data-label="What it does">The one-time code the login's site sent; only the code is printed</td></tr>
428
+ <tr><td data-label="Command"><code>forgeqe services [status|up|down|logs] [name ...]</code></td><td data-label="What it does">The services forgeqe.yaml declares, in Docker or Podman (see <a href="../area-operations/index.html#doc-how_to_use-containers-and-mock-services">Containers and mock services</a>)</td></tr>
429
+ <tr><td data-label="Command"><code>forgeqe monitor [--once] [--test-alerts]</code></td><td data-label="What it does">Checks on a schedule, with Teams and email alerts</td></tr>
430
+ <tr><td data-label="Command"><code>forgeqe notify test [channel]</code></td><td data-label="What it does">Send a test card to the notification channels (see <a href="../area-operations/index.html#doc-how_to_use-17-notifications">Notifications</a>)</td></tr>
431
+ <tr><td data-label="Command"><code>forgeqe mcp [--repo DIR]</code></td><td data-label="What it does">ForgeQE's tools as an MCP server for other agents</td></tr>
432
+ <tr><td data-label="Command"><code>forgeqe skills [show|new|check|enable|disable]</code></td><td data-label="What it does">The skills each agent can use; start, validate, or turn one off</td></tr>
433
+ <tr><td data-label="Command"><code>forgeqe logs [bundle] [--shots]</code></td><td data-label="What it does">Recent session logs; one archive of the newest to share</td></tr>
434
+ <tr><td data-label="Command"><code>forgeqe update [version] [--check]</code></td><td data-label="What it does">Update every forgeqe on PATH, waiting while the registries catch up</td></tr>
435
+ </tbody>
436
+ </table></div>
437
+ </div></section>
438
+ <section class="doc sub" id="doc-how_to_use-in-the-shell-1"><h5>In the shell</h5><div class="prose"><div class="tbl tbl--cols-2"><table>
439
+ <thead>
440
+ <tr><th>Input</th><th>Action</th></tr>
441
+ </thead>
442
+ <tbody>
443
+ <tr><td data-label="Input">A request, then Enter</td><td data-label="Action">ForgeQE's agent works it out</td></tr>
444
+ <tr><td data-label="Input"><code>/stop</code> or Esc</td><td data-label="Action">Stop what is running</td></tr>
445
+ <tr><td data-label="Input"><code>/rerun [last|run]</code></td><td data-label="Action">Run a passed run again as recorded, without ForgeQE's agent</td></tr>
446
+ <tr><td data-label="Input"><code>/headed on|off</code></td><td data-label="Action">Show the browser window</td></tr>
447
+ <tr><td data-label="Input"><code>/theme light|dark|auto</code></td><td data-label="Action">Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td></tr>
448
+ <tr><td data-label="Input"><code>/details [on|off]</code></td><td data-label="Action">Show everything the agents do while they work: the browser agent's reasoning, page memory, engine logs, every file the coding agent reads (off by default: step results, files written, test results, problems). <code>--verbose</code> or <code>FORGEQE_VERBOSE=1</code> starts with it on, for <code>start</code>, <code>run</code>, <code>suite</code>, <code>code</code>, and <code>heal</code> too</td></tr>
449
+ <tr><td data-label="Input"><code>/model</code>, or click the model ▾ in the status line</td><td data-label="Action">Pick the model from the profiles in <code>llms.json</code></td></tr>
450
+ <tr><td data-label="Input"><code>/profile &lt;name&gt;</code> or Tab</td><td data-label="Action">Switch the model profile</td></tr>
451
+ <tr><td data-label="Input"><code>/env [name]</code></td><td data-label="Action">The test environments in <code>env.yaml</code>, or switch to one</td></tr>
452
+ <tr><td data-label="Input"><code>/logs [shots]</code></td><td data-label="Action">Save this session's log and runs in one archive to share</td></tr>
453
+ <tr><td data-label="Input"><code>/features</code></td><td data-label="Action">What ForgeQE can do here: ✓ ready, ◐ works with some parts to set up, ○ needs setup, with the fix (works without a model)</td></tr>
454
+ <tr><td data-label="Input"><code>/init</code></td><td data-label="Action">Set ForgeQE up in this folder, as <code>forgeqe init</code> does: <code>forgeqe.yaml</code>, <code>llms.json</code>, and editable prompts, skills, and knowledge; the session reads them at once</td></tr>
455
+ <tr><td data-label="Input"><code>/skills [name]</code></td><td data-label="Action">The skills each agent can use, or one skill's instructions</td></tr>
456
+ <tr><td data-label="Input"><code>/generated</code></td><td data-label="Action">How much of this repository's code ForgeQE wrote, and how much is still there</td></tr>
457
+ <tr><td data-label="Input"><code>/db [test|tables|refresh|batches|examples|add] [name]</code></td><td data-label="Action">The databases set up here; <code>/db add</code> sets one up with the agent</td></tr>
458
+ <tr><td data-label="Input"><code>/report</code>, <code>/report export</code>, <code>/report &lt;ask&gt;</code></td><td data-label="Action">The team report; your bundle to share; ask the agent for a report</td></tr>
459
+ <tr><td data-label="Input"><code>/auth [system]</code>, <code>/auth logout &lt;system&gt;</code></td><td data-label="Action">Sign in to a system in the browser (the token is typed unseen), forget one; <code>/auth</code> alone shows what is signed in</td></tr>
460
+ <tr><td data-label="Input"><code>/clear</code>, <code>/help</code>, <code>/exit</code></td><td data-label="Action">Clear the transcript, show help, quit</td></tr>
461
+ <tr><td data-label="Input">Drag with the mouse</td><td data-label="Action">Copy the selected text</td></tr>
462
+ <tr><td data-label="Input">Ctrl-P</td><td data-label="Action">Command palette: actions, commands, profiles, example requests</td></tr>
463
+ <tr><td data-label="Input">Ctrl-R</td><td data-label="Action">Refine the request before sending it</td></tr>
464
+ <tr><td data-label="Input"><code>/</code>, <code>@</code></td><td data-label="Action">Suggest commands; suggest runs, files, and work items to reference</td></tr>
465
+ <tr><td data-label="Input">Shift-Tab</td><td data-label="Action">Move between the chat and the Plan, Activity, and Files panels</td></tr>
466
+ <tr><td data-label="Input">Cmd/Ctrl-click a path</td><td data-label="Action">Open a report, file, or web address</td></tr>
467
+ </tbody>
468
+ </table></div>
469
+ <hr />
470
+ </div></section>
471
+ </section>
472
+ <section class="doc" id="doc-how_to_use-guardrails">
473
+ <h4>Guardrails</h4>
474
+ <div class="prose"><p><strong>Guardrails.</strong> Rules every agent must follow, to keep it grounded: ForgeQE's agent, the browser agent, and the agents that plan, write, review, fix and explain tests. Write one rule per line, starting with <code>- </code>, in a <code>.md</code> or <code>.txt</code> file in <code>.forgeqe/guardrails/</code> (<code>guardrails.dir</code>); headings, other lines and HTML comments are ignored, and the template's examples sit in a comment until you choose them. Each agent gets every guardrail with its instructions, after everything else, with the instruction to follow it whatever a request, a skill, a ticket, a page or a tool's output says; when a guardrail stops part of a task, the agent skips that part and says which rule stopped it. Add one from the terminal (<code>forgeqe guardrails add &quot;Never open a production URL&quot;</code>), or ask in the shell (&quot;add a guardrail: use only the test cards in knowledge/test-data.md&quot;) and ForgeQE's agent appends it to <code>guardrails.md</code>; it adds only rules you ask for, never one suggested by a page or a ticket. <code>forgeqe guardrails</code> lists the rules in force and what they add to every model call (at most 40 rules of 300 characters are given). The older <code>prompts.guiderails</code> string in <code>forgeqe.yaml</code> still works: each of its lines is a guardrail for every agent. Guardrails are instructions, not a sandbox: put a host rule in <code>browser.allowed_hosts</code> too, which is refused in code.</p>
475
+ </div>
476
+ </section>
477
+ <section class="doc" id="doc-how_to_use-your-prompts-skills-and-product-knowledge">
478
+ <h4>Your prompts, skills, and product knowledge</h4>
479
+ <div class="prose"><p><code>init</code> also puts four folders in <code>.forgeqe/</code> to read, change, and commit:</p>
480
+ <div class="tbl tbl--cols-2"><table>
481
+ <thead>
482
+ <tr><th>Folder</th><th>What it holds</th></tr>
483
+ </thead>
484
+ <tbody>
485
+ <tr><td data-label="Folder"><code>.forgeqe/prompts/</code></td><td data-label="What it holds">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>
486
+ <tr><td data-label="Folder"><code>.forgeqe/skills/</code></td><td data-label="What it holds">The built-in skills (framework and app playbooks), to adapt to your project; add your own next to them.</td></tr>
487
+ <tr><td data-label="Folder"><code>.forgeqe/knowledge/</code></td><td data-label="What it holds">Product knowledge templates: the product and its flows, roles, glossary, business rules, test data, environments.</td></tr>
488
+ <tr><td data-label="Folder"><code>.forgeqe/guardrails/</code></td><td data-label="What it holds">Your guardrails: rules every agent must follow, one <code>- rule</code> line each (see <a href="#doc-how_to_use-guardrails">Guardrails</a>).</td></tr>
489
+ </tbody>
490
+ </table></div>
491
+ <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>
492
+ <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>
493
+ <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>
494
+ <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 class="lines"><code><span class="ln"><span class="cmd">---
495
+ </span></span><span class="ln"><span class="cmd">name: tag-work-items
496
+ </span></span><span class="ln"><span class="cmd">description: &quot;Tests carry the work item they cover&quot;
497
+ </span></span><span class="ln"><span class="cmd">for: test-agent, browser-extra
498
+ </span></span><span class="ln"><span class="cmd">---
499
+ </span></span><span class="ln"><span class="cmd">Tag every test with the Azure DevOps work item it covers.
500
+ </span></span><span class="ln"><span class="cmd">If the request names no work item, ask for it.
501
+ </span></span></code></pre></div>
502
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe prompts</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every prompt, what it is for, and where it comes from
503
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts show test-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the prompt as the agent gets it (includes expanded; --raw for the file)
504
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts diff test-rules</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how your copy differs from ForgeQE's
505
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts reset test-rules</span><span class="pad"> </span><span class="cm"><span class="h">#</span> back to ForgeQE's (yours is kept as test-rules.md.bak)
506
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts check</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each prompt against the prompting standard for its kind (exits 1 when one falls short)
507
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts check brain</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what to fix in one prompt: sections, rules, examples, contract, sentences
508
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts eval</span><span class="pad"> </span><span class="cm"><span class="h">#</span> run the evaluation cases with the live model; pass rates against the last run
509
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts eval refine --runs 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one prompt, three runs of each case
510
+ </span></span></code></pre></div>
511
+ <p><strong>The prompting standard.</strong> Every prompt follows one standard, and each technique is used where it fits the kind of prompt (<code>kind:</code> in its header):</p>
512
+ <div class="tbl tbl--cols-5"><table>
513
+ <thead>
514
+ <tr><th>Kind</th><th>Prompts</th><th>Structure</th><th>Few-shot examples</th><th>Execution contract</th></tr>
515
+ </thead>
516
+ <tbody>
517
+ <tr><td data-label="Kind">agent: works with tools over many steps</td><td data-label="Prompts">brain, test-agent, heal, api-tests, pr-review, find-tests</td><td data-label="Structure">Role, Objective, Execution contract, Rules, Output</td><td data-label="Few-shot examples">where routing or reply format varies</td><td data-label="Execution contract">Preconditions, Tools, Procedure, Stop when, On failure, Evidence</td></tr>
518
+ <tr><td data-label="Kind">structured: one answer in a fixed shape</td><td data-label="Prompts">refine, api-scenarios, explore-charters, eval-judge, test-reviewer, browser-skill-select</td><td data-label="Structure">Role, Objective, Inputs, Rules, Output, Examples</td><td data-label="Few-shot examples">two or more worked examples</td><td data-label="Execution contract">–</td></tr>
519
+ <tr><td data-label="Kind">fragment: rules included in other prompts</td><td data-label="Prompts">test-rules, domain-rule, skill-rule, conventions, the browser agent's rules</td><td data-label="Structure">rules only</td><td data-label="Few-shot examples">–</td><td data-label="Execution contract">–</td></tr>
520
+ </tbody>
521
+ </table></div>
522
+ <ul>
523
+ <li><strong>ASD-STE100</strong> Simplified Technical English everywhere, so each agent reads one clear instruction at a time: an instruction has 20 words or fewer and a description 25 or fewer, one instruction per sentence, the active voice, and approved words (&quot;make sure&quot;, not &quot;ensure&quot;). At least 80% of sentences. The check covers the rules that can be measured in text and a list of common words the standard does not approve; the standard's full dictionary is licensed and not included.</li>
524
+ <li><strong>RFC 2119</strong> key words state the strength of every rule: <strong>MUST</strong> / <strong>MUST NOT</strong> are absolute, <strong>SHOULD</strong> / <strong>SHOULD NOT</strong> are strong defaults the agent may break only for a reason it states, <strong>MAY</strong> is a free choice, and a numbered procedure step is a MUST. A lower-case &quot;must&quot; or &quot;should&quot; is flagged as ambiguous. <code>conventions.md</code> says this at the top of every agent and structured prompt, and the browser engine adds it to the browser agent's instructions.</li>
525
+ <li><strong>Structured prompting and few-shot examples</strong> make the output predictable: the same sections in the same order, and worked examples where the shape of the answer matters.</li>
526
+ <li><strong>Execution contracts</strong> tell a tool-using agent what must be true before it starts, which tools it uses and in what order (for systems: MCP tools, then <code>query_api</code>, then the browser), its procedure, when it stops, what it does when something fails, and what evidence its answer gives.</li>
527
+ <li><strong>Evaluation-driven prompting</strong> measures reliability: <code>forgeqe prompts eval</code> runs cases (an input and checks decided by code: a field matches or is empty, a tool was or was not used, the text keeps ASD-STE100) and compares each pass rate with the last run. ForgeQE's cases cover brain, refine, and explore-charters; add your own as <code>.forgeqe/evals/prompts/&lt;prompt&gt;/&lt;case&gt;.yaml</code> (the same id replaces ForgeQE's). Results are kept in <code>&lt;reports&gt;/evals/prompts/</code>.</li>
528
+ </ul>
529
+ <p><code>forgeqe prompts check</code> applies the standard to each prompt in use, ForgeQE's or your edited copy; ForgeQE's own meet it in its tests. Write your edits the same way, and run <code>forgeqe prompts eval</code> before and after a change.</p>
530
+ <p><strong>Product knowledge.</strong> Fill in the templates (or add your own <code>.md</code> and <code>.txt</code> files, in folders if you like), one topic per <code>##</code> heading. ForgeQE's agent sees the list and reads what a request needs; the exploratory and API scenario planners get the sections that match their story or scenario; the browser agent gets the few sections that clearly match its goal, at most <code>knowledge.browser_max_chars</code> (1500 by default; 0 turns it off). Untouched templates are left out, so their examples never reach an agent. Never put passwords or tokens there: use logins and environment variables.</p>
531
+ </div>
532
+ </section>
533
+ </div>
534
+ </article>
535
+ <article class="spec feat" id="cap-product-knowledge">
536
+ <div class="hd"><span class="mono">Setup</span><h3>Product knowledge from the product's repositories</h3></div>
537
+ <p class="ds">Reads every repository of the product, and its documents and links (folders, docs sites, API descriptions, Confluence, and the pages ForgeQE remembers of the apps), into one knowledge graph: its services, HTTP endpoints, database tables, classes, files, documents, and tests, and how they connect, across repositories (the web app's call to the API endpoint it reaches, the code that reads or writes a table). The configured model (a GitHub Copilot seat or any llms.json profile) then writes what each part does and the product's business domains, flows, rules, glossary and roles, as a graph and as pages. Agents search it by requirement, follow a flow step by step to its code, and see what a change reaches and which tests cover it.</p>
538
+ <div class="facts">
539
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>How does the product cancel an order? Show the endpoints and tables involved</li><li>What does a change to OrderService reach, and which tests cover it?</li><li>Which repository serves POST /api/orders?</li><li>Build the product knowledge graph</li><li>Walk me through the checkout flow, step by step</li></ul></div>
540
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The product's repositories: product.repos in forgeqe.yaml, a name and the path of a local clone each</span></li></ul></div>
541
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Reads local clones of the repositories named in product.repos; it does not clone or pull them</li><li>A docs site is read from its link in product.docs and the pages it links to on the same site only; pages that need a browser to draw are not read</li><li>Endpoints, calls and tables come from the code's patterns (Express, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, SQL); a route built at run time is not seen</li><li>The model reads at most product.max_model_files changed files a build (400 by default); the rest wait for the next build</li><li>Domains, flows and rules are what the model finds in the code and documents: a hypothesis to check, not a specification</li></ul></div>
542
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>product_knowledge</code></p></div>
543
+ </div>
544
+ <div class="detail"><span class="mono">In detail</span>
545
+ <section class="doc" id="doc-how_to_use-product-knowledge-graph">
546
+ <h4>Product knowledge graph</h4>
547
+ <div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover it.</p>
548
+ <p>The quickest way is <strong>Settings › Product knowledge</strong> in <code>forgeqe web</code>, five steps in order:</p>
549
+ <ol>
550
+ <li><strong>Repositories.</strong> Add an account on GitHub, Azure DevOps, GitLab or Bitbucket (Cloud or Data Center), sign in in the browser or with a personal access token, then pick its repositories. In the browser, GitHub signs in with the GitHub CLI, Azure DevOps with Microsoft through the Azure CLI, and GitLab and Bitbucket with Git Credential Manager; ForgeQE fetches the repositories with the same sign-in. A local clone or a link can still be added by hand.</li>
551
+ <li><strong>Search service.</strong> Where your requirements are searched (a RAG index): a service at an address, a tool of one of your MCP servers, or a local command. Try a search on the page (a command runs only on a real search).</li>
552
+ <li><strong>Documents.</strong> Add Markdown files (kept in <code>.forgeqe/documents</code>), or name folders, links, Confluence spaces and web apps.</li>
553
+ <li><strong>The product and its knowledge.</strong> Its industry and regulations, where the built knowledge is kept, and the team's shared knowledge pack.</li>
554
+ <li><strong>Advanced.</strong> What the build leaves out and how much the model reads.</li>
555
+ </ol>
556
+ <p>The same settings in <code>forgeqe.yaml</code>: name the repositories, each a local clone (<code>path</code>, relative to the file) or its link (<code>git</code>):</p>
557
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">product:
558
+ </span></span><span class="ln"><span class="cmd"> name: Shop
559
+ </span></span><span class="ln"><span class="cmd"> repos:
560
+ </span></span><span class="ln"><span class="cmd"> web: { path: ../shop-web }
561
+ </span></span><span class="ln"><span class="cmd"> orders: { git: https://dev.azure.com/acme/Shop/_git/orders, branch: main, token_env: ADO_PAT }
562
+ </span></span><span class="ln"><span class="cmd"> crm: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, token_env: BITBUCKET_TOKEN }
563
+ </span></span><span class="ln ln--pair"><span class="cmd"> mobile: { git: git@github.com:acme/shop-app.git }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ssh signs in with your ssh keys
564
+ </span></span><span class="ln"><span class="cmd"> exclude: [&quot;**/generated/**&quot;]
565
+ </span></span><span class="ln ln--pair"><span class="cmd"> model: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false: structure only, nothing goes to a model
566
+ </span></span><span class="ln ln--pair"><span class="cmd"> max_model_files: 400</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most changed files the model reads in one build
567
+ </span></span><span class="ln ln--pair"><span class="cmd"> docs:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> documents and links, by name: one of path, url, confluence, or app each
568
+ </span></span><span class="ln"><span class="cmd"> handbook: { path: ../shop-docs }
569
+ </span></span><span class="ln"><span class="cmd"> help: { url: https://help.shop.example/, depth: 1, max_pages: 100 }
570
+ </span></span><span class="ln"><span class="cmd"> api: { url: https://api.shop.example/openapi.json }
571
+ </span></span><span class="ln"><span class="cmd"> wiki: { confluence: SHOP }
572
+ </span></span><span class="ln"><span class="cmd"> shop: { app: shop-web }
573
+ </span></span></code></pre></div>
574
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read every repository (again: only files changed since the last build), then the model
575
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build --yes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> without asking first (pipelines); --no-model: structure only
576
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build --repo api</span><span class="pad"> </span><span class="cm"><span class="h">#</span> just one repository or source; the others keep their last reading
577
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge status</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what the graph holds, and when each repository was read (its link and commit)
578
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pipeline init</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the pipeline that builds the knowledge every night and shares it (see below)
579
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pull</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the team's knowledge (product.shared), without cloning any repository
580
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge systems --propose</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the model proposes the systems; accept, rename or reject each (also on the page)
581
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge landscape</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the product's systems and how they talk (REST, routes, events, shared data, SDK)
582
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge history</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each build: the commits it read, and the endpoints, screens, tables, rules that came and went
583
+ </span></span><span class="ln"><span class="cmd">forgeqe knowledge search &quot;cancel an order&quot;
584
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge impact Services/OrderService.cs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what a change reaches: code across repositories, business flows, tests
585
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge path web/src/pages/Checkout.tsx api:table:orders</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how one part reaches another, each step with its line
586
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge flow &quot;cancel an order&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a business flow, step by step, with the code of each step
587
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge gaps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what the build could not settle: calls no route or several fit, other hosts, unknown tables
588
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge check</span><span class="pad"> </span><span class="cm"><span class="h">#</span> find each quoted line again in its file: what moved, what is gone
589
+ </span></span><span class="ln"><span class="cmd">forgeqe knowledge ask &quot;Can a customer cancel an order that has shipped?&quot;
590
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge findings &quot;cancel&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what earlier questions found; stale ones marked
591
+ </span></span></code></pre></div>
592
+ <p><strong>Repositories from their links.</strong> You do not need every repository cloned. A repository given by <code>git</code> is fetched by
593
+ ForgeQE itself into its own cache (under <code>~/.forgeqe/cache/product-repos</code>), never into your workspace: the branch's
594
+ latest commit only, and only the files the graph reads (no images, archives, binaries, <code>node_modules</code> or <code>vendor</code>).
595
+ Each build first asks the server for the branch's commit and fetches only when it moved; then only the files that
596
+ changed are read again. It works with GitHub and GitHub Enterprise, Azure DevOps (Services and Server), GitLab,
597
+ Bitbucket Cloud and Bitbucket Server / Data Center, and any git server, over https or ssh.</p>
598
+ <ul>
599
+ <li><strong>Signing in:</strong> <code>token_env</code> names the variable that holds a token (or save it with <code>forgeqe auth login ADO_PAT</code>): a
600
+ personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a project or personal token for
601
+ GitLab, an HTTP access token for Bitbucket Server, a repository access token for Bitbucket Cloud (or an app password
602
+ with <code>user:</code>). It is sent to that host only, as a header, never in the link or a file. Without <code>token_env</code>, git signs in
603
+ as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.</li>
604
+ <li><strong>Pinned to a commit:</strong> <code>forgeqe knowledge status</code> shows each repository's link, branch and commit, and on the Product
605
+ page a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
606
+ built from.</li>
607
+ <li><strong>When a server cannot be reached,</strong> the build reads the last fetched commit and says so; a repository never fetched
608
+ keeps its graph from the last build. Neither stops the other repositories.</li>
609
+ <li><strong>What changed:</strong> every build is kept in <code>graph/history.jsonl</code>; <code>forgeqe knowledge history</code> lists the commits each
610
+ build read and what came and went.</li>
611
+ <li><strong>Safety:</strong> git runs with an argument array; repository hooks, submodules, LFS downloads and symbolic links are off;
612
+ only https and ssh links are taken (never <code>ext::</code>, <code>file://</code> or a local path), and none with a password or <code>..</code> in it.</li>
613
+ </ul>
614
+ <p><strong>What the runs did, against the code.</strong> Every build also reads the API calls ForgeQE's last 50 runs recorded
615
+ (<code>network.json</code> in the reports folder: method, host, path and status; never a body, header or query value, and a path
616
+ segment that is an email address or a long token is masked). A call whose route a repository declares marks that
617
+ endpoint, the front end's call of it, and the screen the run was on as seen in a run, with the call as evidence. A call
618
+ near a declared route but not it (one segment differs, or one more such as <code>/v2</code>) is listed as differing from the code;
619
+ a call no repository declares, as shown only by the runs.</p>
620
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge runtime</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what differs from the code, what only the runs show, endpoints no run reached
621
+ </span></span></code></pre></div>
622
+ <p><strong>Sharing the knowledge with the team.</strong> One machine builds the knowledge; everyone else pulls it, with no clone of
623
+ any repository. Run once, in the repository that holds <code>forgeqe.yaml</code>:</p>
624
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pipeline init</span><span class="pad"> </span><span class="cm"><span class="h">#</span> writes .github/workflows/forgeqe-knowledge.yml and pipelines/forgeqe-knowledge.yml
625
+ </span></span></code></pre></div>
626
+ <p>Commit the file for your CI (and <code>forgeqe.yaml</code>, <code>llms.json</code>), add the secrets it names (each repository's <code>token_env</code>,
627
+ each document link's, and the model's key), and run it once. Every night, and when you start it, the pipeline:</p>
628
+ <ol>
629
+ <li>installs ForgeQE at this exact version;</li>
630
+ <li>starts from the last pack, so only what changed is read again and the history goes on;</li>
631
+ <li>runs <code>forgeqe knowledge build --yes</code> (with the model, unless you untick it);</li>
632
+ <li>exports the pack (<code>forgeqe knowledge export</code>), keeps it as the run's artifact, and publishes it as the one file of
633
+ the <code>forgeqe-knowledge</code> branch.</li>
634
+ </ol>
635
+ <p>Repositories given by <code>path</code> (a local clone) are not read by the pipeline: give them <code>git:</code>. In Azure DevOps the build
636
+ service needs Contribute on the repository to publish the branch.</p>
637
+ <p>Everyone else points <code>product.shared</code> at it and pulls (or Settings, Evidence, The team's knowledge):</p>
638
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">product:
639
+ </span></span><span class="ln"><span class="cmd"> shared: { git: https://dev.azure.com/acme/Shop/_git/qa, branch: forgeqe-knowledge, file: shop.knowledge.forgeqe, token_env: ADO_PAT }
640
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> or { url: https://files.acme.local/shop.knowledge.forgeqe, token_env: FILES_TOKEN }, or { path: //share/qa/shop.knowledge.forgeqe }
641
+ </span></span></code></pre></div>
642
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pull</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the newest pack: the same graph, Landscape, views, history and findings
643
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge import shop.knowledge.forgeqe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or a pack you were given (a file or an https link)
644
+ </span></span></code></pre></div>
645
+ <p><code>forgeqe knowledge status</code> and the Product page say &quot;From the team's build of …&quot; with the commits it read; a build of
646
+ your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is checked before
647
+ anything is written: only the knowledge folder's own files, each matching its checksum, within a size limit. It holds
648
+ quotes of the code: share it only with people who may read those repositories. Without the repositories, <code>forgeqe knowledge ask</code> answers from the graph and documents but cannot open the code itself.</p>
649
+ <p><strong>The Landscape.</strong> The Engineering view opens on the product's systems: CRM, Digital, Mobile, Payments, the outside
650
+ services it uses, and how they talk to each other, each link summed up by kind (REST calls, gateway routes, events on a
651
+ topic or queue, shared data, an outside SDK), with how often, how it is known, and examples you can trace to the code.
652
+ Give each repository its system in <code>forgeqe.yaml</code> (or Settings, Evidence, Repositories):</p>
653
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">product:
654
+ </span></span><span class="ln"><span class="cmd"> repos:
655
+ </span></span><span class="ln"><span class="cmd"> crm-core: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, system: CRM }
656
+ </span></span><span class="ln"><span class="cmd"> crm-api: { git: https://bitbucket.acme.local/scm/crm/crm-api.git, system: CRM }
657
+ </span></span><span class="ln"><span class="cmd"> shop-web: { path: ../shop-web, system: Digital }
658
+ </span></span></code></pre></div>
659
+ <p>Or let the model propose them: <code>forgeqe knowledge systems --propose</code> (asked first, like every use of the model; a
660
+ build where the model reads the product also proposes one for each new repository). It reads what the graph knows of
661
+ each repository (what it says it is, its frameworks, endpoints, screens, tables, the outside services it uses, the
662
+ repositories it calls) and the product's documents, and names the systems in the business's words, each with why. On
663
+ the Landscape, under <em>Systems proposed by the model</em>, accept each, rename it, or reject it (<code>forgeqe knowledge systems --accept orders-api</code>, <code>--accept payments --as Payments</code>, <code>--reject deploy</code>, <code>--undo deploy</code>). A system set in
664
+ <code>forgeqe.yaml</code> always wins, then a person's decision, then the model's proposal; the proposal and the decisions travel
665
+ in the team's pack. A repository with none of these is grouped with those that share the first word of its name
666
+ (<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
667
+ system. <code>forgeqe knowledge landscape</code> prints the same, and the agents ask it through the knowledge tool.</p>
668
+ <p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar: Knowledge › Product understanding) that draws the graph as the Engineering
669
+ view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
670
+ data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
671
+ wide as the page and as tall as the window. A green wire is a call a run saw, a dotted amber one a run made differently,
672
+ a dashed one goes to an outside system, and a grey one is read in the code or configuration. Hover over or tab to a part
673
+ to trace what it sends and receives; the How they talk tab draws every link as a relationship graph (the Personas tab's: each part coloured by its band, each line named by what it does, a part or link picked showing how it is known) and then lists them in words. These graphs are laid out in order, not by forces, so the same product always comes out the same: the product and How they talk as an architecture diagram that fills its panel: a full-width tier per band from top to bottom (front ends, gateways, services, data and messages, platform), test suites in a column at the left and outside systems at the right, each tier's parts spread evenly across it (onto more lines when crowded) and ordered so lines cross as little as they can; folders and clusters as round areas in centred rows, sibling folders side by side, each area's files packed from its middle out, the most linked in the middle and named (zoom in, point at or select a file for the others). The Code map's Graph view, at All repositories, draws the product: each repository (coloured by its band on the services map, sized by its files), the data stores and outside systems they share, and a line for each kind of connection with how many (calls, events and shared data from the services map; imports and calls in code that crosses repositories). Select a repository for what it holds (files, tests, lines, languages, main folders) and what it talks to and is used by, then open it; inside it, click a folder's name in the graph (or pick it in Folder) to open that folder, and go back by the path above the graph (All repositories › repository › folder). The side panel lists the repositories at All repositories, and inside one says what it holds and what it connects to, each other repository a link. Inside a repository, Graph's Arrange by draws it as an architecture diagram by default (Layers: a tier for each layer, front end, API and routes, services and domain, data access and other code, from top to bottom, tests at the left and shared code and config at the right; each file's layer is worked out from its folders, name and kind, a guess from names only) or as its folders (Folders). The Graph and Cluster views draw files the same way, coloured and placed by folder, repository or cluster (in Graph, each folder or repository in its named outline), a selected file's links lit and the files a change to it reaches ringed in orange; a part's evidence panel draws what the part is linked to; and the Impact page's map draws the change the same way, arranged by steps from the change by default (an architecture diagram of the change: a tier for the changed files at the top, then each step away, the files it does not reach as small dots at the bottom, tests that reach it at the left and files in other repositories at the right) or by folders (Arrange by), each file in its colour by impact, steps from the change or how often it changes (the legend in the graph, with counts), each folder in its named outline (in the Internal view in the colour of its file nearest the change; another repository's in blue), a selected or pointed-at file lighting its chain back to the change. The keys are the Personas graph's. Select a service to see it from the inside: its endpoints with the authentication
674
+ they need, who calls them and what a change to one reaches; what it calls, reads, writes, publishes and uses. Each part
675
+ opens its evidence (the file and line, or the run's call), and each open question has Investigate, which asks
676
+ ForgeQE's agent in a chat.</p>
677
+ <p>Its second view, <strong>Product</strong>, is the product as the business sees it, in its own words: what the product does (each
678
+ capability with the actions people take, such as &quot;View an order&quot; and &quot;Cancel an order&quot;, what it keeps and who it shares
679
+ with), journeys as a storyboard of steps (the ones ForgeQE's runs walked, and the ones the model named) with what each
680
+ step causes (&quot;Saves the order&quot;, &quot;Announces “order cancelled”&quot;) and when it is not allowed, business rules as sentences
681
+ (&quot;Cancel an order is refused when: Order has shipped&quot;), each record's life (placed → cancelled, with the states rules
682
+ check), the glossary, and the last result of your team questions (<code>forgeqe knowledge eval</code>). Before the model has read
683
+ the product these words come from the code: the action from each request, the rule from the message the product
684
+ answers with, the life from the states the code sets and checks; after, the model's names and sentences, each citing
685
+ what shows it. <strong>Show how it is built</strong> adds the requests, files, the capability map and the sequence of calls under
686
+ each. Mark a rule, journey, capability or term <strong>Right</strong> or <strong>Wrong</strong>, with what is right instead: it is kept in
687
+ <code>graph/feedback.json</code> and from the next build the agents read it as a person's word, ahead of the model's.</p>
688
+ <p><strong>Asking the product a question.</strong> <code>forgeqe knowledge ask</code> hands one question to an investigator: an agent on the
689
+ analysis model (llm.routing) that searches the graph, reads the code and document folders it needs, follows the
690
+ question across repositories, and asks again until it can answer. Its answer is a set of findings, each quoting the
691
+ lines it rests on. ForgeQE finds every quoted line again in its file before it keeps a finding: one whose quote is not
692
+ there is shown as not kept. What it cannot settle it says is unknown, with what would settle it. Findings are kept in
693
+ <code>graph/findings.json</code>; the next question starts from them, <code>node</code> shows them, and a build marks a finding stale when a
694
+ line it quotes is gone. The investigator reads only through ForgeQE's tools: only the repositories and document
695
+ folders in <code>forgeqe.yaml</code>, never a hidden or credential file, no shell and no web. When only a run can settle a fact,
696
+ it may ask to run one goal in the browser; you are asked first, with the goal and what it settles, and can say no
697
+ (evaluations never run one). <code>product.max_investigation_steps</code>
698
+ (default 40) caps its tool calls. ForgeQE's agent asks the same way (<code>product_knowledge</code>, op <code>ask</code>).</p>
699
+ <p>Besides code, the investigator reads the text of documents from links and Confluence (a build keeps it in
700
+ <code>graph/texts/</code>, secrets removed) and the API calls ForgeQE's own runs recorded (method, host, path and status; never a
701
+ body, header or query value). A quote from a page or a run is checked the same way as one from code, and the finding
702
+ says where it came from.</p>
703
+ <p><strong>Checking the answers.</strong> Write questions whose answers your team knows, with the words a right answer says and the
704
+ files it should quote, and score them:</p>
705
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge eval questions.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each question on its own; pass, fail and why, kept in graph/evals/
706
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge eval --sample</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the sample product that ships with ForgeQE: 15 questions
707
+ </span></span></code></pre></div>
708
+ <p><code>evals/knowledge/shop/questions.yaml</code> shows the format. A question passes when the answer says each group of words
709
+ and a kept finding quotes one of the files named; a question the product cannot answer passes only when the answer
710
+ says it is unknown. Run it after you change the model or the setup, and compare.</p>
711
+ <p><strong>How each part is known.</strong> Every node and link says what it rests on: the file and line it was read from, with the
712
+ line itself, and whether it was read as written (a route, a table), worked out (a call matched to a route, an import,
713
+ anything the model wrote), or not known. A call is never shown as seen until a run sees it. What a build could not
714
+ settle is listed, not guessed: <code>forgeqe knowledge gaps</code>, and <code>status</code> says how much of the product is covered. Quotes
715
+ keep no URL query and no secret-looking value.</p>
716
+ <p><strong>What it reads.</strong> Each repository's files as git tracks them, less <code>.gitignore</code>, a <code>.forgeqeignore</code> in the repository (one pattern a line), and <code>product.exclude</code>. Hidden files and folders, files named like credentials (<code>appsettings.*.json</code>, <code>*.pfx</code>, <code>secrets.*</code>, <code>*.tfvars</code> …), binaries, and links that lead out of the repository are never read. From the code it takes the files, classes, functions, and tests (TypeScript, JavaScript, C#, Java, Python); the HTTP endpoints of Express, Fastify, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, Go (net/http, Gin, Echo, chi), Ruby on Rails (<code>config/routes.rb</code>), Laravel, Rust (axum, actix), and servers that route by hand (<code>url.pathname === &quot;/api/x&quot;</code>); the HTTP calls each file makes, in those languages too; and the tables SQL and migrations define, read and write. No model is used.</p>
717
+ <p><strong>How it is deployed and wired.</strong> From configuration files the build also reads, without a model:</p>
718
+ <div class="tbl tbl--cols-2"><table>
719
+ <thead>
720
+ <tr><th>File</th><th>What it gives</th></tr>
721
+ </thead>
722
+ <tbody>
723
+ <tr><td data-label="File"><code>docker-compose*.yml</code>, <code>compose*.yml</code></td><td data-label="What it gives">each service, the repository it is built from (<code>build: ../payments</code>), its ports, and the addresses in its environment</td></tr>
724
+ <tr><td data-label="File">Kubernetes manifests (<code>k8s/</code>, <code>deploy/</code>, <code>manifests/</code> …)</td><td data-label="What it gives">Deployments and their image and addresses, Ingress routes, ConfigMap addresses</td></tr>
725
+ <tr><td data-label="File"><code>kong.yml</code>, nginx <code>*.conf</code></td><td data-label="What it gives">gateway routes to the services behind them, and the authentication plugins on them</td></tr>
726
+ <tr><td data-label="File"><code>appsettings.json</code>, <code>application*.yml</code>, <code>application*.properties</code></td><td data-label="What it gives">base URLs the service is given, and topic and queue names (<code>topics.cancelled: order.cancelled</code>)</td></tr>
727
+ <tr><td data-label="File">Terraform <code>*.tf</code></td><td data-label="What it gives">cloud resources by kind (queues, topics, databases, tables, buckets, functions, container services, API gateway routes, caches, DNS), each with its name in the cloud; a queue or topic is tied to the code that uses it, a function or service to the repository its code or image comes from, a route to the endpoint it serves</td></tr>
728
+ </tbody>
729
+ </table></div>
730
+ <p>Only addresses and topic names are kept, an address without its user name, password or query; no other value of a
731
+ setting is ever read into the graph. From Terraform only a few attributes written as plain strings are read (a name, an
732
+ engine, a route, an image, the code's path); <code>*.tfvars</code> and state files are never read. A call whose URL starts with a variable (<code>${PAYMENTS_URL}/refunds</code>) then reaches the service that address names,
733
+ with both lines as evidence. From the code it reads the topics and queues each file publishes to and consumes (Kafka,
734
+ RabbitMQ, Azure Service Bus, SQS and SNS: a name written in the code or in a constant of the file; a name read from a
735
+ setting is looked up in the repository's settings files and its deployed service's environment, and one nothing here
736
+ sets is an open question), the outside services it uses (Stripe, SendGrid,
737
+ Twilio, Auth0, AWS and others, by SDK or API host), and the authentication a route requires (<code>[Authorize]</code>,
738
+ <code>@PreAuthorize</code>, <code>Depends(get_current_user)</code>, <code>requireAuth</code> …). A topic that is published but consumed by no repository
739
+ here, and a gateway route to no known service, are open questions in <code>forgeqe knowledge gaps</code>.</p>
740
+ <p><strong>Documents and links.</strong> <code>product.docs</code> adds what is written about the product, each source by name:</p>
741
+ <div class="tbl tbl--cols-2"><table>
742
+ <thead>
743
+ <tr><th>Source</th><th>What it gives</th></tr>
744
+ </thead>
745
+ <tbody>
746
+ <tr><td data-label="Source"><code>path:</code> a folder</td><td data-label="What it gives">A document per Markdown, text, or HTML file; an <code>openapi</code>/<code>swagger</code> file in it gives its endpoints</td></tr>
747
+ <tr><td data-label="Source"><code>url:</code> a docs site or help centre</td><td data-label="What it gives">The page and the pages it links to, <code>depth</code> links deep and <code>max_pages</code> at most, as text</td></tr>
748
+ <tr><td data-label="Source"><code>url:</code> an OpenAPI, Swagger, WSDL, or GraphQL description</td><td data-label="What it gives">Its endpoints, read with ForgeQE's API readers, each joined to the code endpoint with its method and route</td></tr>
749
+ <tr><td data-label="Source"><code>confluence:</code> a space key, or a page's link</td><td data-label="What it gives">The space's pages, or the page and the pages under it, with the existing Confluence sign-in (25 at most)</td></tr>
750
+ <tr><td data-label="Source"><code>app:</code> a web app of <code>env.yaml</code></td><td data-label="What it gives">The pages ForgeQE's runs and <code>forgeqe explore</code> remember of it, with their buttons, links and fields, each joined to the front-end screen whose route it fits</td></tr>
751
+ </tbody>
752
+ </table></div>
753
+ <p>A document is joined to the endpoints, tables, and classes it names, so <code>impact</code> and <code>node</code> show what is written about a part, and the model reads the documents with the code. A link in the settings may be on your company network; what a page links to, and where it redirects, is followed only on that same site, so a page cannot send ForgeQE elsewhere. Only <code>http</code> and <code>https</code> links are read, never one with a user name or password in it (a token goes in <code>token_env</code>, sent as a bearer token to that site only); <code>robots.txt</code> is honoured; a page is read up to 2 MB and 20 seconds, only if it is text; and a page that did not change since the last build (its ETag or Last-Modified) is not read again. The front end's screens come from the code: Next.js pages, and the routes of React Router, Angular, and Vue Router.</p>
754
+ <p><strong>What the model adds.</strong> After the structure, the model reads what changed: each file (what it does for the product), each repository (what it does, its layers), and then the whole product: an overview, the business domains with their rules and entities, the business flows step by step, a glossary, and the roles. Every flow step and domain is tied to the endpoints, files and tables that do it; a reference the model makes up is dropped. It runs on the model model routing gives the analysis area (<code>llm.routing</code>), or the active profile: a GitHub Copilot seat (<code>provider: github_copilot</code>, no token cost) or any other <code>llms.json</code> profile. It has no tools: all it reads is in its requests, and the code it is sent has secrets replaced first. Before anything is sent, ForgeQE says how many files and requests, and the cost at <code>llms.json</code>'s price, and asks; <code>--yes</code> skips the question, and without a terminal nothing is sent unless <code>--yes</code> is given. What the model wrote is kept in <code>graph/understanding.json</code> by the content it read, so a rebuild sends only new and changed files, and teammates who pull the folder do not pay again. Its prompt is <code>.forgeqe/prompts/product-knowledge.md</code>.</p>
755
+ <p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own notes; ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
756
+ <p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to the tests that import it.</p>
757
+ <p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/&lt;name&gt;.json</code> (one per repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of <a href="https://github.com/Egonex-AI/Understand-Anything" class="ext" rel="noopener">Understand-Anything</a>, so that project's dashboard can show it. Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
758
+ <p><strong>The graph store (Neo4j).</strong> ForgeQE can also keep the product graph in a Neo4j of its own, with BASAL's scenario graphs, so they are searched by meaning as well as by words. <code>forgeqe graph setup</code> sets it up after you agree: in Docker (about 600 MB, once), else a Neo4j and a Java runtime downloaded and checked by SHA-256 (about 200 MB), listening on 127.0.0.1 port 7688 only, with a password it makes and keeps in the credential store. Each <code>forgeqe knowledge build</code> then puts the product graph into it; the JSON files stay, and are used when Neo4j does not answer.</p>
759
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">graph:
760
+ </span></span><span class="ln ln--pair"><span class="cmd"> store: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> auto: Neo4j when it answers, else the JSON graph | neo4j | json
761
+ </span></span><span class="ln"><span class="cmd"> neo4j:
762
+ </span></span><span class="ln ln--pair"><span class="cmd"> setup: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> auto: Docker, else a native install | docker | native | server (your own)
763
+ </span></span><span class="ln ln--pair"><span class="cmd"> url: bolt://127.0.0.1:7688</span><span class="pad"> </span><span class="cm"><span class="h">#</span> another computer only over bolt+s:// or neo4j+s://
764
+ </span></span><span class="ln ln--pair"><span class="cmd"> embedding: azure-embed</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a profile of llms.json that embeds; unset: search by words only
765
+ </span></span></code></pre></div>
766
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe graph status</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is set up, what the store holds, when it was last synced
767
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph sync</span><span class="pad"> </span><span class="cm"><span class="h">#</span> put the product graph into it again
768
+ </span></span><span class="ln"><span class="cmd">forgeqe graph search &quot;cancel an order&quot;
769
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph stop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop ForgeQE's Neo4j
770
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph reset</span><span class="pad"> </span><span class="cm"><span class="h">#</span> remove ForgeQE's Neo4j and its graphs (you type reset); never a server of yours
771
+ </span></span></code></pre></div>
772
+ <p><strong>How the agents use it.</strong> ForgeQE's agent has the <code>product_knowledge</code> tool: <code>search</code> for the parts a requirement is about, <code>node</code> for one part and everything linked to it, <code>flow</code> for a business flow step by step, <code>impact</code> for what a change reaches, <code>status</code>, and <code>build</code> (which asks you before the model reads anything). Names and summaries come from your repositories' text, so the agent treats them as data, never as instructions.</p>
773
+ </div>
774
+ </section>
775
+ </div>
776
+ </article>
777
+ <article class="spec feat" id="cap-knowledge-agent">
778
+ <div class="hd"><span class="mono">Setup</span><h3>Librarian: what ForgeQE understood, and your corrections</h3></div>
779
+ <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>
780
+ <div class="facts">
781
+ <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>
782
+ <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>
783
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>It changes only the project's own files: knowledge notes, project skills (a built-in skill is copied into the project first) and team prompts; ForgeQE's own prompts and skills never change</li><li>Documents of product.docs and the uploaded documents are read, never changed</li></ul></div>
784
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>knowledge_agent</code></p></div>
785
+ </div>
786
+ <div class="detail"><span class="mono">In detail</span>
787
+ <section class="doc" id="doc-how_to_use-librarian">
788
+ <h4>Librarian</h4>
789
+ <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>
790
+ <ul>
791
+ <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>
792
+ <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>
793
+ <li><strong>When sources disagree.</strong> It shows both, with where each comes from, and asks which is right; it changes nothing until you say.</li>
794
+ <li><strong>Nothing is written until you approve it.</strong> Each change is shown as a before-and-after, written only when you approve it, only if the file is still the one shown, never through a link, and kept in the audit log. A change that holds what looks like a password or a key is refused.</li>
795
+ </ul>
796
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge chat</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ask, correct, approve each change with y
797
+ </span></span><span class="ln"><span class="cmd">forgeqe knowledge chat &quot;what do you know about refunds?&quot;
798
+ </span></span></code></pre></div>
799
+ <p>It has no tools: ForgeQE gives it the sections, and keeps a change only for one of them. Without a model it lists what ForgeQE has about your words.</p>
800
+ </div>
801
+ </section>
802
+ </div>
803
+ </article>
804
+ <article class="spec feat" id="cap-document-search">
805
+ <div class="hd"><span class="mono">Setup</span><h3>Search the project's documents, without vectors</h3></div>
806
+ <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>
807
+ <div class="facts">
808
+ <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>
809
+ <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>
810
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>PDF, Word and Excel files are read only by forgeqe knowledge docs index; a scanned page with no text is not read</li><li>Without a model, only the keywords rank the sections: a question in other words than the document may miss</li></ul></div>
811
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>search_documents</code></p></div>
812
+ </div>
813
+ <div class="detail"><span class="mono">In detail</span>
814
+ <section class="doc" id="doc-how_to_use-searching-your-documents-without-vectors">
815
+ <h4>Searching your documents, without vectors</h4>
816
+ <div class="prose"><p>ForgeQE searches your project's own documents with no vector database, no embedding model and nothing to run beside it, the way <a href="https://github.com/VectifyAI/PageIndex" class="ext" rel="noopener">PageIndex</a> reads a long document: by its structure, not by chunks of a fixed size.</p>
817
+ <ol>
818
+ <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>
819
+ <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>
820
+ <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>
821
+ </ol>
822
+ <p><strong>What it saves.</strong> Agents get sections, not whole files:</p>
823
+ <ul>
824
+ <li>
825
+ <p><strong>Skills.</strong> A browser skill longer than its share of <code>skills.browser_max_chars</code> is cut down to its introduction, the sections the goal needs, and a list of its other headings (before, it was left out whole). On ForgeQE's own skills that is 55–80% fewer characters. ForgeQE's agent finds a section of any skill or its references with <code>search_documents</code> and <code>in: skills</code>.</p>
826
+ </li>
827
+ <li>
828
+ <p><strong>Knowledge.</strong> The notes in <code>.forgeqe/knowledge</code> are split at every heading level, so the planners and the browser agent get only the matching sections, even of a long file. ForgeQE's agent searches them before it reads a whole file.</p>
829
+ </li>
830
+ <li>
831
+ <p><strong>Chat history.</strong> When a conversation continues in a new agent session (a web chat reopened, the profile switched, the settings changed), a long one is no longer sent as its last 20 turns whole: the last four turns and the earlier turns about the new message go in full, and every other turn as one line (what was asked → how the reply began), so nothing is dropped without a trace and a long chat costs a few thousand tokens. A short one is sent whole, as before. The agent runtime still summarises the live session itself when it nears the model's window.</p>
832
+ </li>
833
+ <li>
834
+ <p><strong>Earlier chats.</strong> The web app's kept chats (<code>.forgeqe/chats</code>) and the terminal shell's (<code>.forgeqe/terminal-chats</code>, one file per <code>forgeqe start</code> session) are indexed a turn each: <code>search_documents</code> with <code>in: chats</code> (or <code>forgeqe knowledge docs search &quot;...&quot; --in chats</code>) finds what was asked and decided before. What a chat says is what was said then, not what is true now. A terminal chat is kept like a web chat: ForgeQE's secrets and remembered passwords taken out, mode 0600, git-ignored, the newest 500.</p>
835
+ </li>
836
+ </ul>
837
+ <p><strong>What is cached, so it costs less the second time.</strong></p>
838
+ <ul>
839
+ <li>The index: a document is read and split again only when it changes.</li>
840
+ <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>
841
+ <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>
842
+ </ul>
843
+ <p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings › Product knowledge (<code>.forgeqe/documents</code>), every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project. Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files are read by Graphify's converters when you run <code>forgeqe knowledge docs index</code>, and their text is kept for later searches. A folder is listed like a product's documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is one JSON file in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
844
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs index</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read the documents, PDF, Word and Excel included
845
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs search &quot;refund limits&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> passages with their file, line and headings
846
+ </span></span><span class="ln"><span class="cmd">forgeqe knowledge docs search &quot;refund limits&quot; --no-model --limit 3 --json
847
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs search &quot;scenario outline&quot; --in skills</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a section of a skill, not the whole skill
848
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs outline specs/payments.md</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the tree of one document
849
+ </span></span></code></pre></div>
850
+ <p>ForgeQE's agent searches them with <code>search_documents</code> (&quot;what does the spec say about refunds?&quot;). To give the passages to the test case check, story test cases and exploratory charters too, make it the <code>rag:</code> search:</p>
851
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">rag:
852
+ </span></span><span class="ln"><span class="cmd"> documents:
853
+ </span></span><span class="ln ln--pair"><span class="cmd"> folders: [docs/requirements]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> beside the knowledge folder, the uploaded documents and product.docs
854
+ </span></span><span class="ln ln--pair"><span class="cmd"> reasoning: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> true: Skimmer picks sections (one model call per search)
855
+ </span></span><span class="ln"><span class="cmd"> top_k: 5
856
+ </span></span></code></pre></div>
857
+ <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>
858
+ </div>
859
+ </section>
860
+ </div>
861
+ </article>
862
+ <article class="spec feat" id="cap-web-search">
863
+ <div class="hd"><span class="mono">Setup</span><h3>Search the web</h3></div>
864
+ <p class="ds">Finds what the public web says about a question: the titles, links and snippets of the top results, shown in the chat as a card, without opening a browser or any page. The results are read as data, and the answer says which site each fact came from. The query goes to DuckDuckGo; nothing else leaves the computer.</p>
865
+ <div class="facts">
866
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Search the web for the latest Playwright release</li><li>Search online for what WCAG 2.2 says about focus</li><li>Look up Cypress component testing online</li></ul></div>
867
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
868
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Titles, links and snippets only: it opens no page, so a detail not in a snippet needs the page opened from its link</li><li>One public search service (DuckDuckGo): it may refuse or slow down when asked too often</li></ul></div>
869
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>web_search</code></p></div>
870
+ </div>
871
+ <div class="detail"><span class="mono">In detail</span>
872
+ <section class="doc" id="doc-how_to_use-searching-the-web">
873
+ <h4>Searching the web</h4>
874
+ <div class="prose"><p>ForgeQE's agent can look something up on the public web: &quot;search the web for the latest Playwright release&quot;, typed or
875
+ said aloud. It sends the words to DuckDuckGo and shows the top results in the chat (title, link and a short snippet),
876
+ then answers from them and says which site each fact came from. It opens no browser and no page: a detail that is not in
877
+ a snippet needs the page opened from its link. Nothing but the words of the search leaves your computer, and what comes
878
+ back is read as information, never as instructions.</p>
879
+ <p><strong>Reading a web page.</strong> When the agent needs a page's own text, ForgeQE decides in code whether it may read it: only an
880
+ http(s) address on the public internet, with no user name or password in it. A link you typed in the chat is read
881
+ without asking. For any other address you see it whole and choose <strong>Allow this once</strong> or <strong>Don't allow</strong>; with nobody
882
+ to ask, it is not read. An address on this computer or your company network is refused, also when you typed it: the
883
+ agent uses that system's tool or a browser run instead. Behind a company proxy, a name this computer cannot look up is
884
+ left to the proxy.</p>
885
+ </div>
886
+ </section>
887
+ </div>
888
+ </article>
889
+ <article class="spec feat" id="cap-setup-help">
890
+ <div class="hd"><span class="mono">Setup</span><h3>Setup, skills, and documentation</h3></div>
891
+ <p class="ds">Shows the model profiles and MCP servers, installs or repairs the browser engine, creates a forgeqe.yaml, manages skills, and answers any question about ForgeQE from its documentation, this list, and its own code (the prompts, skills, and source it runs).</p>
892
+ <div class="facts">
893
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>What can you do?</li><li>Which model am I using?</li><li>How do I set up email alerts?</li><li>Show me the icons of all agents</li><li>Which version of ForgeQE is this?</li></ul></div>
894
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
895
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_setup</code> <code>capabilities</code> <code>playbook</code> <code>use_capabilities</code> <code>app_action</code> <code>ui_change</code> <code>read_screen</code> <code>page_act</code> <code>hold_on</code></p></div>
896
+ </div>
897
+ <div class="detail"><span class="mono">In detail</span>
898
+ <p class="see">See <a href="../get-started/index.html#doc-how_to_use-2-scaffold-config">2. Scaffold config</a>.</p>
899
+ <section class="doc" id="doc-how_to_use-11-skills">
900
+ <h4>Skills</h4>
901
+ <div class="prose"><p>A skill is a folder with a <code>SKILL.md</code>: instructions that teach ForgeQE's agents something a prompt can't know, like your repo's test conventions, a framework, or how to drive an app such as Dynamics 365. The format is the Agent Skills one (Claude Code and others use it), with one ForgeQE field, <code>agents</code>:</p>
902
+ <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 class="lines"><code><span class="ln"><span class="cmd">---
903
+ </span></span><span class="ln"><span class="cmd">name: contoso-erp
904
+ </span></span><span class="ln"><span class="cmd">description: &quot;Use when the site is the Contoso ERP (erp.contoso.com): the order grid, the customer lookup, and saving orders.&quot;
905
+ </span></span><span class="ln"><span class="cmd">agents: [browser]
906
+ </span></span><span class="ln"><span class="cmd">---
907
+ </span></span><span class="ln ln--gap">
908
+ </span><span class="ln"><span class="cmd">- The customer lookup opens a list after three letters; click the row whose name matches exactly.
909
+ </span></span><span class="ln"><span class="cmd">- Save with the floppy icon in the toolbar; wait until &quot;Saved&quot; shows in the status bar.
910
+ </span></span></code></pre></div>
911
+ <p><code>name</code> is lowercase words joined by hyphens, the same as the folder. Agents choose skills by <code>description</code> alone, so name the concrete signs it applies (a framework, a config file, a host, a product). Quote it when it contains <code>: </code>.</p>
912
+ <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>
913
+ <p><strong>How skills are used.</strong></p>
914
+ <ul>
915
+ <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>
916
+ <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>
917
+ <li><code>run.json</code>, the <code>run.done</code> log line and the report list the skills a run used.</li>
918
+ </ul>
919
+ <p><strong>Where skills come from</strong>, lowest to highest precedence; a later source replaces a skill of the same name:</p>
920
+ <div class="tbl tbl--cols-2"><table>
921
+ <thead>
922
+ <tr><th>Source</th><th>Folder</th></tr>
923
+ </thead>
924
+ <tbody>
925
+ <tr><td data-label="Source">Built-in</td><td data-label="Folder">the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>web-guidance</code> (ForgeQE's agent and Quill: web platform guides from Modern Web Guidance, pinned, as advisory checks for forms, dialogs, accessibility, passkeys and speed), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
926
+ <tr><td data-label="Source">Global, only with <code>skills.external: true</code></td><td data-label="Folder"><code>~/.claude/skills</code>, <code>~/.agents/skills</code>, and the repo's <code>.claude/skills</code> and <code>.agents/skills</code></td></tr>
927
+ <tr><td data-label="Source">User</td><td data-label="Folder"><code>~/.forgeqe/skills</code> (or <code>$FORGEQE_HOME/skills</code>)</td></tr>
928
+ <tr><td data-label="Source">Project</td><td data-label="Folder"><code>.forgeqe/skills</code> next to <code>forgeqe.yaml</code>, and the repo's own <code>.forgeqe/skills</code></td></tr>
929
+ <tr><td data-label="Source">Extra</td><td data-label="Folder">each folder in <code>skills.dirs</code></td></tr>
930
+ </tbody>
931
+ </table></div>
932
+ <p>Commit <code>.forgeqe/skills</code> so the team and CI share it. ForgeQE only ignores <code>.forgeqe/reports/</code>; if your <code>.gitignore</code> has <code>.forgeqe/</code>, replace it with <code>.forgeqe/*</code> and <code>!.forgeqe/skills/</code> (<code>forgeqe skills new</code> warns when git would ignore the new skill). To change a built-in skill, make a project skill with the same name.</p>
933
+ <p>Skills from anywhere else stay out: the agent runtime's own discovery (<code>~/.claude/skills</code>, a repo's <code>.opencode/skills</code>, its built-in skills) is off, and each agent may load only the skills ForgeQE's registry gives it. Skill text is trusted like the repo's own files, so global skills are opt-in.</p>
934
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">skills:
935
+ </span></span><span class="ln ln--pair"><span class="cmd"> enabled: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false (or skills: false) turns skills off
936
+ </span></span><span class="ln ln--pair"><span class="cmd"> dirs: [../shared-skills]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> more folders, read last
937
+ </span></span><span class="ln ln--pair"><span class="cmd"> disable: [dynamics-365]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> leave these out
938
+ </span></span><span class="ln ln--pair"><span class="cmd"> external: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> true: also the global folders above
939
+ </span></span><span class="ln ln--pair"><span class="cmd"> browser_max_chars: 6000</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most skill text added to one browser run
940
+ </span></span></code></pre></div>
941
+ <p><strong>Commands.</strong></p>
942
+ <div class="tbl tbl--cols-2"><table>
943
+ <thead>
944
+ <tr><th>Command</th><th>What it does</th></tr>
945
+ </thead>
946
+ <tbody>
947
+ <tr><td data-label="Command"><code>forgeqe skills</code></td><td data-label="What it does">The skills each agent can use, where each comes from (and what it replaces), disabled skills, problems, and the folders read</td></tr>
948
+ <tr><td data-label="Command"><code>forgeqe skills show &lt;name&gt;</code></td><td data-label="What it does">One skill's instructions</td></tr>
949
+ <tr><td data-label="Command"><code>forgeqe skills new &lt;name&gt; --description &quot;Use when …&quot; [--agent browser] [--user]</code></td><td data-label="What it does">Start a skill in <code>.forgeqe/skills</code> (<code>--user</code>: <code>~/.forgeqe/skills</code>)</td></tr>
950
+ <tr><td data-label="Command"><code>forgeqe skills check</code></td><td data-label="What it does">Validate every skill; exit 1 when one has a problem</td></tr>
951
+ <tr><td data-label="Command"><code>forgeqe skills enable|disable &lt;name&gt;</code></td><td data-label="What it does">Edit <code>skills.disable</code> in <code>forgeqe.yaml</code>, keeping its comments</td></tr>
952
+ <tr><td data-label="Command"><code>/skills [name]</code></td><td data-label="What it does">The same list, or one skill, in the shell</td></tr>
953
+ </tbody>
954
+ </table></div>
955
+ <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>
956
+ </div>
957
+ </section>
958
+ <section class="doc" id="doc-how_to_use-model-routing">
959
+ <h4>Model routing</h4>
960
+ <div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, <code>llm.routes</code> limits or pins the profiles an area may use, and <code>llm.agents</code> gives one agent its own default model (ahead of the router and <code>code.model</code>; only <code>--profile</code> overrides it). ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
961
+ <p>List profiles, and the model each area gets:</p>
962
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models
963
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe models --routes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the pick per area, and why
964
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe models --routes --profile-models</span><span class="pad"> </span><span class="cm"><span class="h">#</span> check and rate the models again
965
+ </span></span></code></pre></div>
966
+ </div>
967
+ </section>
968
+ <section class="doc" id="doc-readme-privacy">
969
+ <h4>Privacy</h4>
970
+ <div class="prose"><p>ForgeQE sends no telemetry and turns it off in everything it starts:</p>
971
+ <ul>
972
+ <li>The engine: PostHog telemetry, cloud sync, and the price-list download are off, and the blank-tab logo its library loads from a CDN is replaced by ForgeQE's start page, which loads nothing.</li>
973
+ <li>The agent runtime: auto-update, session sharing, OpenTelemetry spans, and the model catalogue download are off; it uses its bundled model list.</li>
974
+ <li>GitHub Copilot: the Copilot SDK's session telemetry, on by default for a signed-in user, is off on every session.</li>
975
+ <li>The repo's test command: <code>DO_NOT_TRACK=1</code>, plus the opt-outs for Next.js, Nuxt, Astro, Gatsby, Storybook, Turborepo, Angular, .NET, and Cypress.</li>
976
+ </ul>
977
+ <p><code>OTEL_EXPORTER_OTLP_*</code> variables are removed from those processes, and your environment cannot turn any of this back on. The traffic is to your model endpoint and the sites the agent visits. Besides that, ForgeQE downloads only public files: the model price lists from models.dev and LiteLLM, once a day (<code>FORGEQE_PRICES=off</code> stops them); the agent runtime from its GitHub releases, when it is not installed; and the engine's ad-block and cookie-banner extensions from the Chrome Web Store, once. Nothing about your runs is sent.</p>
978
+ </div>
979
+ </section>
980
+ <section class="doc" id="doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">
981
+ <h4>Model routing: the right configured model for each task</h4>
982
+ <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
983
+ plans the work and leads the chat, then hands the tasks to the agents, each on the model that suits it: a strong model
984
+ writes code and finds root causes, a cheaper one that is good enough reviews. A model that takes screenshots
985
+ drives the browser, and a model with a large window reads a large pull request. You do not need to know what each
986
+ model can do: ForgeQE finds out.</p>
987
+ </div>
988
+ </section>
989
+ <section class="doc" id="doc-docs-model_routing-turn-it-on">
990
+ <h4>Turn it on</h4>
991
+ <div class="prose"><p>In <code>forgeqe.yaml</code>:</p>
992
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">llm:
993
+ </span></span><span class="ln"><span class="cmd"> models_file: ./llms.json
994
+ </span></span><span class="ln ln--pair"><span class="cmd"> routing: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off (the default for existing projects) | shadow | auto
995
+ </span></span><span class="ln ln--pair"><span class="cmd"> strategy: balanced</span><span class="pad"> </span><span class="cm"><span class="h">#</span> balanced (the default) | capability | cost
996
+ </span></span></code></pre></div>
997
+ <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
998
+ (<code>model.route</code>) but changes nothing, so you can see what the router would do before you let it. Shadow still runs the
999
+ live checks and the rating call described below.</p>
1000
+ <p>Whatever <code>routing</code> says, the model an area gets must work: its key or sign-in is set and it passed a live call
1001
+ (one per model, kept for a day in <code>.forgeqe/model-checks.json</code> once it passes; a failed one is never kept, and a failed
1002
+ check in <code>model-profile.json</code> is checked again). When it does not, the next model that works is used, a GitHub Copilot
1003
+ profile first, and ForgeQE says why and how to fix the first. When none works, the error lists each model with the fix.
1004
+ Only <code>--profile</code> skips this. With <code>auto</code>, a GitHub Copilot seat counts as costing nothing more per call, so it is picked
1005
+ whenever it is rated good enough.</p>
1006
+ <p>See the picks, and every model's check with its fix:</p>
1007
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models --routes
1008
+ </span></span></code></pre></div>
1009
+ </div>
1010
+ </section>
1011
+ <section class="doc" id="doc-docs-model_routing-the-areas-of-work">
1012
+ <h4>The areas of work</h4>
1013
+ <div class="prose"><div class="tbl tbl--cols-3"><table>
1014
+ <thead>
1015
+ <tr><th>Area</th><th>What runs in it</th><th>Needs</th></tr>
1016
+ </thead>
1017
+ <tbody>
1018
+ <tr><td data-label="Area"><code>agent</code></td><td data-label="What runs in it">ForgeQE's agent: the shell, <code>forgeqe run</code>, <code>forgeqe mcp</code> (plans and hands out work: <strong>lead</strong>)</td><td data-label="Needs">tool calls; rated 4+</td></tr>
1019
+ <tr><td data-label="Area"><code>browser</code></td><td data-label="What runs in it">Browser, desktop and mobile runs, from screenshots</td><td data-label="Needs">images; rated 4+</td></tr>
1020
+ <tr><td data-label="Area"><code>coding</code></td><td data-label="What runs in it">Quill writing and healing tests, API tests</td><td data-label="Needs">tool calls; rated 5</td></tr>
1021
+ <tr><td data-label="Area"><code>review</code></td><td data-label="What runs in it">Test reviewer, pull-request review, evaluation judge</td><td data-label="Needs">tool calls; rated 3+</td></tr>
1022
+ <tr><td data-label="Area"><code>analysis</code></td><td data-label="What runs in it">Root cause of defects</td><td data-label="Needs">tool calls; rated 5</td></tr>
1023
+ <tr><td data-label="Area"><code>planning</code></td><td data-label="What runs in it">Refine, finding tests, API scenarios, exploratory charters (<strong>lead</strong>)</td><td data-label="Needs">tool calls; rated 3+</td></tr>
1024
+ </tbody>
1025
+ </table></div>
1026
+ </div>
1027
+ </section>
1028
+ <section class="doc" id="doc-docs-model_routing-a-default-model-for-each-agent">
1029
+ <h4>A default model for each agent</h4>
1030
+ <div class="prose"><p>To give one agent its own model whatever <code>routing</code> says, name an <code>llms.json</code> profile for it under <code>llm.agents</code>
1031
+ (Settings → Routing → Areas of work, under each area, does the same):</p>
1032
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">llm:
1033
+ </span></span><span class="ln"><span class="cmd"> agents:
1034
+ </span></span><span class="ln ln--pair"><span class="cmd"> forgeqe: azure-gpt4o</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Atlas
1035
+ </span></span><span class="ln ln--pair"><span class="cmd"> engine: azure-gpt4o</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the browser agent: pick a model that takes images
1036
+ </span></span><span class="ln ln--pair"><span class="cmd"> forgeqe-test: claude-opus</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the coding agent
1037
+ </span></span><span class="ln ln--pair"><span class="cmd"> forgeqe-review: azure-mini</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its reviewer
1038
+ </span></span></code></pre></div>
1039
+ <p>An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
1040
+ <code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
1041
+ <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code>,
1042
+ <code>forgeqe-agent-builder</code> and <code>forgeqe-bug-report</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
1043
+ in <code>llms.json</code> is an error when ForgeQE loads <code>forgeqe.yaml</code>. The model must still work: with <code>fallback</code> on, one that
1044
+ fails its check is replaced as for any area. <code>--profile</code> still names the model for everything.</p>
1045
+ </div>
1046
+ </section>
1047
+ <section class="doc" id="doc-docs-model_routing-how-a-model-is-picked">
1048
+ <h4>How a model is picked</h4>
1049
+ <div class="prose"><ol>
1050
+ <li>
1051
+ <p><strong>Your choices win.</strong> <code>--profile</code> (or <code>WP_LLM_PROFILE</code>) comes first. Then an agent's own model in <code>llm.agents</code>
1052
+ (below), which also comes ahead of <code>code.model</code> and <code>code.review_profile</code> for that agent. <code>code.model</code> keeps the router out. A profile pinned in
1053
+ <code>llm.routes</code> is used for its area. <code>code.review_profile</code> still sets the reviewer.</p>
1054
+ </li>
1055
+ <li>
1056
+ <p><strong>Facts rule models out.</strong> The router never picks a model that:</p>
1057
+ <ul>
1058
+ <li>has no key, or failed its live check;</li>
1059
+ <li>takes no images, for browser work;</li>
1060
+ <li>takes no tool calls, for agent work;</li>
1061
+ <li>has a window too small for the prompt (a large pull-request diff, for example).</li>
1062
+ </ul>
1063
+ <p>The facts come from <code>llms.json</code>, a live check, and the public model lists (models.dev and LiteLLM) that ForgeQE
1064
+ already downloads for prices. A fact that nobody knows never rules a model out.</p>
1065
+ </li>
1066
+ <li>
1067
+ <p><strong>Ratings and the strategy pick among the rest.</strong> Only models rated at the area's bar are considered. Writing code
1068
+ and finding root causes ask for 5, because a weaker model there costs more in failed attempts than it saves. Among
1069
+ them, <code>llm.strategy</code> picks:</p>
1070
+ <div class="tbl tbl--cols-3"><table>
1071
+ <thead>
1072
+ <tr><th>Strategy</th><th>Lead areas (<code>agent</code>, <code>planning</code>)</th><th>The other areas</th></tr>
1073
+ </thead>
1074
+ <tbody>
1075
+ <tr><td data-label="Strategy"><code>balanced</code> (the default)</td><td data-label="Lead areas (agent, planning)">the most capable model; the cheapest only among equally rated ones</td><td data-label="The other areas">the best value: a higher rating is worth paying for, up to 4× the price per rating point</td></tr>
1076
+ <tr><td data-label="Strategy"><code>capability</code></td><td data-label="Lead areas (agent, planning)">the most capable model</td><td data-label="The other areas">the most capable model</td></tr>
1077
+ <tr><td data-label="Strategy"><code>cost</code></td><td data-label="Lead areas (agent, planning)">the cheapest model rated at the bar</td><td data-label="The other areas">the cheapest model rated at the bar</td></tr>
1078
+ </tbody>
1079
+ </table></div>
1080
+ <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
1081
+ the extra capability costs little more. For example, for review (bar 3) a model rated 5 at 3× the price of one rated
1082
+ 4 is picked; at 8× the price, the one rated 4 is. A GitHub Copilot seat counts only its premium requests per call as
1083
+ price. If no model reaches the bar, the best-rated one is picked. With no ratings yet, the active profile is kept
1084
+ unless a fact rules it out. To keep a fast model for one agent, give it its own model under <code>llm.agents</code>.</p>
1085
+ </li>
1086
+ <li>
1087
+ <p><strong>A failed answer escalates once.</strong> When a root-cause analysis finds nothing, or finds a cause with low confidence
1088
+ although it could read the product's code, it runs again on a stronger model: one rated higher for the area, or rated
1089
+ the same and priced higher. Both runs are counted in its cost.</p>
1090
+ </li>
1091
+ </ol>
1092
+ <p>The same configuration and task always give the same model. A pick changes only when the models, the ratings or the
1093
+ size of the prompt change. Each pick is shown once (&quot;Model for planning: mini (…)&quot;) and is written to the session log.</p>
1094
+ </div>
1095
+ </section>
1096
+ <section class="doc" id="doc-docs-model_routing-how-forgeqe-learns-the-models">
1097
+ <h4>How ForgeQE learns the models</h4>
1098
+ <div class="prose"><p>The first routed call in a project with two or more usable profiles does this once:</p>
1099
+ <ol>
1100
+ <li><strong>A live check of each model</strong> (<code>python -m forgeqe_engine probe</code>): one short structured answer and one image.
1101
+ This finds a deployment that does not exist, a wrong key, and whether the model really takes images. It also
1102
+ measures how fast the model answers.</li>
1103
+ <li><strong>One rating call.</strong> The active profile's model receives the facts of every model, never a key, an endpoint or an
1104
+ account. It rates each model 1–5 for each area and gives it a tier (fast, balanced or strong).</li>
1105
+ </ol>
1106
+ <p>The result is kept in <code>.forgeqe/model-profile.json</code> next to <code>forgeqe.yaml</code>. ForgeQE uses it until the profiles in
1107
+ <code>llms.json</code> change (provider, model, deployment or endpoint). You can edit the ratings. ForgeQE keeps your edits while
1108
+ the profiles stay the same. It checks the file every time it reads it: names that are not profiles and unknown areas
1109
+ are dropped, and ratings are rounded to whole numbers from 1 to 5.</p>
1110
+ <p>The live checks reach every profile in <code>llms.json</code> that has a key, whatever <code>llm.routes</code> pins. A pin keeps your runs'
1111
+ data on one deployment; the checks carry nothing from your runs. To send nothing to the other profiles at all, use
1112
+ <code>routing: off</code>, keep one profile with a key, or pass <code>--profile</code>.</p>
1113
+ <p>To check and rate again (for example, after a deployment changed its model):</p>
1114
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models --routes --profile-models
1115
+ </span></span></code></pre></div>
1116
+ </div>
1117
+ </section>
1118
+ <section class="doc" id="doc-docs-model_routing-limit-what-an-area-may-use">
1119
+ <h4>Limit what an area may use</h4>
1120
+ <div class="prose"><div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">llm:
1121
+ </span></span><span class="ln"><span class="cmd"> routing: auto
1122
+ </span></span><span class="ln"><span class="cmd"> routes:
1123
+ </span></span><span class="ln ln--pair"><span class="cmd"> browser: [gpt4o, gpt54]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> only these two, the router picks between them
1124
+ </span></span><span class="ln ln--pair"><span class="cmd"> coding: gpt54</span><span class="pad"> </span><span class="cm"><span class="h">#</span> pinned
1125
+ </span></span><span class="ln ln--pair"><span class="cmd"> planning: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> any configured model (the default)
1126
+ </span></span></code></pre></div>
1127
+ <p>A name in <code>routes</code> must be a profile in <code>llms.json</code>, and an area must be one of the six above. Anything else stops
1128
+ ForgeQE at start with a message that names it.</p>
1129
+ </div>
1130
+ </section>
1131
+ <section class="doc" id="doc-docs-model_routing-what-routing-cost-and-what-it-saved">
1132
+ <h4>What routing cost, and what it saved</h4>
1133
+ <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
1134
+ <code>llm.agents</code> pin, a substitution after a model failed its check, the active profile kept because nothing else passed,
1135
+ or an escalation. It goes in the usage ledger beside the tokens, so the question &quot;which model wrote the tests, and
1136
+ what did that cost&quot; is answered from the calls themselves and not from the logs.</p>
1137
+ <p>Where to see it:</p>
1138
+ <ul>
1139
+ <li><strong>Cost › By area of work</strong> — what each area spent.</li>
1140
+ <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>
1141
+ <li><strong>Cost › What routing cost</strong> — each area against running everything on <code>llm.active</code>, which is what <code>routing: off</code>
1142
+ does. Both sides are priced at today's prices, so the difference is the models' and not a price that moved since.</li>
1143
+ <li><code>forgeqe models --routes</code> still shows the picks themselves.</li>
1144
+ </ul>
1145
+ <p>Two things to read carefully:</p>
1146
+ <ul>
1147
+ <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
1148
+ dearest one configured. Measured against a cheap active profile, those areas show as costing <em>more</em>, and the total
1149
+ can be negative. That is routing working, not a fault: the cheaper model there costs more in failed attempts than
1150
+ it saves.</li>
1151
+ <li><strong>It is price arithmetic only.</strong> Nothing in it checked that the cheaper model would have reached the same answer,
1152
+ written a test that passed, or found the same root cause. A saving is what the tokens would have cost at another
1153
+ price, nothing more.</li>
1154
+ </ul>
1155
+ <p>Calls that cannot be compared are counted and named rather than folded in: a model with no known price, an active
1156
+ profile with no known price, or a price in another currency, which there is no rate to convert with. Calls recorded
1157
+ before ForgeQE kept the area, and any the router never touched, are their own <strong>Not attributed</strong> row.</p>
1158
+ </div>
1159
+ </section>
1160
+ <section class="doc" id="doc-docs-model_routing-what-it-does-not-do">
1161
+ <h4>What it does not do</h4>
1162
+ <div class="prose"><ul>
1163
+ <li>The lead model does not choose the workers' models itself: each agent's model is picked by code, from the ratings
1164
+ and the strategy, so the same configuration always gives the same models.</li>
1165
+ <li>ForgeQE's agent picks its model when its session starts and keeps it for the whole conversation. Changing the model
1166
+ mid-conversation would drop the prompt cache and make every later turn cost more. The agent hands heavy work to the
1167
+ other agents, and those are routed.</li>
1168
+ <li>A rating is one model's judgement. It is kept in a file that you can read and correct.</li>
1169
+ <li>It does not judge whether a cheaper model was good enough. The saving it reports is a price difference; whether the
1170
+ model that answered was the right one is what a test's result, a review and a root cause tell you.</li>
1171
+ </ul>
1172
+ </div>
1173
+ </section>
1174
+ </div>
1175
+ </article>
1176
+
1177
+ <nav class="pager" aria-label="Previous and next">
1178
+ <a class="prev" href="../area-mobile/index.html"><small>Previous</small><span>Mobile apps</span></a>
1179
+ <a class="next" href="../area-operations/index.html"><small>Next</small><span>Operations and monitoring</span></a>
1180
+ </nav>
1181
+ </main>
1182
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-test-apps">Test environments and their apps</a></li><li><a href="#doc-how_to_use-environments-and-apps">Environments and apps</a></li><li><a href="#cap-generated-code">What ForgeQE wrote</a></li><li><a href="#doc-how_to_use-generated-code">Generated code</a></li><li><a href="#cap-forgeqe-commands">Every forgeqe command from the shell</a></li><li><a href="#doc-how_to_use-15-commands-cheat-sheet">Commands cheat sheet</a></li><li><a href="#doc-how_to_use-guardrails">Guardrails</a></li><li><a href="#doc-how_to_use-your-prompts-skills-and-product-knowledge">Your prompts, skills, and product knowledge</a></li><li><a href="#cap-product-knowledge">Product knowledge from the product's repositories</a></li><li><a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a></li><li><a href="#cap-knowledge-agent">Librarian: what ForgeQE understood, and your corrections</a></li><li><a href="#doc-how_to_use-librarian">Librarian</a></li><li><a href="#cap-document-search">Search the project's documents, without vectors</a></li><li><a href="#doc-how_to_use-searching-your-documents-without-vectors">Searching your documents, without vectors</a></li><li><a href="#cap-web-search">Search the web</a></li><li><a href="#doc-how_to_use-searching-the-web">Searching the web</a></li><li><a href="#cap-setup-help">Setup, skills, and documentation</a></li><li><a href="#doc-how_to_use-11-skills">Skills</a></li><li><a href="#doc-how_to_use-model-routing">Model routing</a></li><li><a href="#doc-readme-privacy">Privacy</a></li><li><a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">Model routing: the right configured model for each task</a></li><li><a href="#doc-docs-model_routing-turn-it-on">Turn it on</a></li><li><a href="#doc-docs-model_routing-the-areas-of-work">The areas of work</a></li><li><a href="#doc-docs-model_routing-a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#doc-docs-model_routing-how-a-model-is-picked">How a model is picked</a></li><li><a href="#doc-docs-model_routing-how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#doc-docs-model_routing-limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#doc-docs-model_routing-what-routing-cost-and-what-it-saved">What routing cost, and what it saved</a></li><li><a href="#doc-docs-model_routing-what-it-does-not-do">What it does not do</a></li></ul></aside>
1183
+ </div>
1184
+ <footer class="foot">
1185
+ <div class="container foot__row">
1186
+ <a class="foot__brand" href="https://forgeqe.github.io/"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="ForgeQE" width="160" height="76"></picture><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
1187
+ <nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="../../security/index.html">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
1188
+ </div>
1189
+ <p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
1190
+ </footer>
1191
+ </body>
1192
+ </html>