@capagents/forgeqe 3.1.1 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/HOW_TO_USE.md +5152 -1869
  2. package/README.md +155 -434
  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 +126 -13
  7. package/dist/docs-site/docs/architecture/index.html +56 -530
  8. package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
  9. package/dist/docs-site/docs/area-api/index.html +491 -0
  10. package/dist/docs-site/docs/area-automated-tests/index.html +1777 -0
  11. package/dist/docs-site/docs/area-browser/index.html +472 -0
  12. package/dist/docs-site/docs/area-data/index.html +595 -0
  13. package/dist/docs-site/docs/area-desktop/index.html +802 -0
  14. package/dist/docs-site/docs/area-mobile/index.html +683 -0
  15. package/dist/docs-site/docs/area-operations/index.html +1243 -0
  16. package/dist/docs-site/docs/area-pull-requests/index.html +290 -0
  17. package/dist/docs-site/docs/area-quality/index.html +427 -0
  18. package/dist/docs-site/docs/area-release/index.html +435 -0
  19. package/dist/docs-site/docs/area-setup/index.html +1595 -0
  20. package/dist/docs-site/docs/area-systems/index.html +191 -0
  21. package/dist/docs-site/docs/area-test-cases/index.html +927 -0
  22. package/dist/docs-site/docs/containers/index.html +168 -189
  23. package/dist/docs-site/docs/cost-architecture/index.html +110 -113
  24. package/dist/docs-site/docs/custom-agents-first-run/index.html +121 -67
  25. package/dist/docs-site/docs/desktop/index.html +363 -373
  26. package/dist/docs-site/docs/desktop-ci/index.html +39 -36
  27. package/dist/docs-site/docs/docs-tabs.js +56 -0
  28. package/dist/docs-site/docs/evidence/index.html +297 -300
  29. package/dist/docs-site/docs/feature-test-prompts/index.html +79 -73
  30. package/dist/docs-site/docs/get-started/index.html +791 -0
  31. package/dist/docs-site/docs/graphify/index.html +45 -48
  32. package/dist/docs-site/docs/guardrails/index.html +35 -23
  33. package/dist/docs-site/docs/index.html +18 -6729
  34. package/dist/docs-site/docs/mobile/index.html +223 -210
  35. package/dist/docs-site/docs/model-routing/index.html +84 -65
  36. package/dist/docs-site/docs/overview/index.html +192 -0
  37. package/dist/docs-site/docs/product-graph/index.html +60 -62
  38. package/dist/docs-site/docs/product-knowledge/index.html +24 -17
  39. package/dist/docs-site/docs/product-views/index.html +57 -60
  40. package/dist/docs-site/docs/reference/index.html +409 -0
  41. package/dist/docs-site/docs/search.js +1 -1
  42. package/dist/docs-site/docs/using/index.html +798 -0
  43. package/dist/docs-site/docs/web-app/index.html +168 -111
  44. package/dist/docs-site/security/index.html +930 -0
  45. package/dist/docs-site/security/security-theme.css +161 -0
  46. package/dist/docs-site/security/security.js +1465 -0
  47. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  48. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  49. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  50. package/dist/forgeqe.js +1903 -1896
  51. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  52. package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
  53. package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
  54. package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
  55. package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
  56. package/dist/web/assets/Chat-DnBUm_97.js +3 -0
  57. package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
  58. package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
  59. package/dist/web/assets/Cost-CWrc4McH.js +1 -0
  60. package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
  61. package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
  62. package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
  63. package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
  64. package/dist/web/assets/Explore-CMAxWE_8.js +2 -0
  65. package/dist/web/assets/Features-haQchkhA.js +1 -0
  66. package/dist/web/assets/Flags-BaQjYi_t.js +2 -0
  67. package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
  68. package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
  69. package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
  70. package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
  71. package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
  72. package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
  73. package/dist/web/assets/Product-BQSiR28a.js +7 -0
  74. package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
  75. package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
  76. package/dist/web/assets/Readiness-CkknP87n.js +1 -0
  77. package/dist/web/assets/Record-09IsC9U-.js +1 -0
  78. package/dist/web/assets/Regression-BL4MfN47.js +5 -0
  79. package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
  80. package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
  81. package/dist/web/assets/Response-DTBFBeKB.js +9 -0
  82. package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
  83. package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
  84. package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
  85. package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
  86. package/dist/web/assets/Steps-HYHK9psI.js +2 -0
  87. package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
  88. package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
  89. package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
  90. package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
  91. package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
  92. package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
  93. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  94. package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
  95. package/dist/web/assets/dataParts-DEPK4eQE.js +3 -0
  96. package/dist/web/assets/diff-CcNwLCX6.js +2 -0
  97. package/dist/web/assets/families-gkpkloLT.js +1 -0
  98. package/dist/web/assets/filters-C7phIFfd.js +1 -0
  99. package/dist/web/assets/fold-i73P-EDV.js +1 -0
  100. package/dist/web/assets/head-BtTqyLlj.js +1 -0
  101. package/dist/web/assets/highlight-DZI39CzZ.js +4 -0
  102. package/dist/web/assets/index-ClFOh63x.css +2 -0
  103. package/dist/web/assets/index-YGWJEkAT.js +64 -0
  104. package/dist/web/assets/input-C2vQ9O3a.js +1 -0
  105. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  106. package/dist/web/assets/logos-BmbNTDu2.js +1 -0
  107. package/dist/web/assets/palette-XFlqvgZl.js +1 -0
  108. package/dist/web/assets/paletteCommands-DsbD2ASU.js +1 -0
  109. package/dist/web/assets/parts-DEVx2Sea.js +1 -0
  110. package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
  111. package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
  112. package/dist/web/assets/recordTest--Wr40QdN.js +1 -0
  113. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  114. package/dist/web/assets/route-Dg53WdFu.js +1 -0
  115. package/dist/web/index.html +11 -6
  116. package/docs/ARCHITECTURE.md +50 -563
  117. package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
  118. package/docs/BASAL.md +1 -1
  119. package/docs/CONTAINERS.md +87 -87
  120. package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
  121. package/docs/DESKTOP-CI.md +18 -3
  122. package/docs/DESKTOP.md +306 -286
  123. package/docs/EVIDENCE.md +1 -1
  124. package/docs/MOBILE.md +107 -75
  125. package/docs/MODEL_ROUTING.md +48 -15
  126. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  127. package/docs/WEB_APP.md +143 -75
  128. package/docs/feature-test-prompts.md +29 -16
  129. package/docs/user-guide.html +5402 -2269
  130. package/forgeqe.example.yaml +3 -3
  131. package/guardrails/README.md +22 -2
  132. package/knowledge/README.md +15 -2
  133. package/package.json +1 -1
  134. package/prompts/brain.md +1 -0
  135. package/prompts/page-differs.md +1 -1
  136. package/prompts/requests-rule.md +1 -1
  137. package/prompts/test-reviewer.md +1 -1
  138. package/prompts/test-rules.md +3 -4
  139. package/py/forgeqe_engine/recordsession.py +100 -24
  140. package/skills/web-guidance/LICENSE +202 -0
  141. package/skills/web-guidance/SKILL.md +76 -0
  142. package/skills/web-guidance/UPSTREAM +67 -0
  143. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  144. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  145. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  146. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  147. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  148. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  149. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  150. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  151. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  152. package/skills/web-guidance/references/forms/forms.md +415 -0
  153. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  154. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  155. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  156. package/skills/web-guidance/references/forms/slider.md +184 -0
  157. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  158. package/skills/web-guidance/references/forms/switch.md +60 -0
  159. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  160. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  161. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  162. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  163. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  164. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  165. package/skills/web-guidance/references/performance/performance.md +384 -0
  166. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  167. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  168. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  169. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  170. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  171. package/skills/web-guidance/references/security/passkeys.md +39 -0
  172. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  173. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  174. package/skills/web-guidance/references/security/security.md +390 -0
  175. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  176. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  177. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  178. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  179. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  180. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  181. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  182. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  183. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  184. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  185. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  186. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  187. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  188. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  189. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  190. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  191. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  192. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  193. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  194. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  195. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  196. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  197. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  198. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  199. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  200. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  201. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  202. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  203. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  204. package/skills/web-guidance/references/visual-design/color.md +43 -0
  205. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  206. package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
  207. package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
  208. package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
  209. package/dist/web/assets/Chat-B3uhI94O.js +0 -3
  210. package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
  211. package/dist/web/assets/Compare-CN75w1p9.js +0 -1
  212. package/dist/web/assets/Cost-QoxyjR95.js +0 -1
  213. package/dist/web/assets/Data-BAvkcBVt.js +0 -6
  214. package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
  215. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
  216. package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
  217. package/dist/web/assets/Explore-D9AuyTip.js +0 -2
  218. package/dist/web/assets/Features-CusGMDR9.js +0 -1
  219. package/dist/web/assets/Flags-CycGFuUP.js +0 -2
  220. package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
  221. package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
  222. package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
  223. package/dist/web/assets/KindPage-BielEIej.js +0 -6
  224. package/dist/web/assets/Migration-NwanKpJg.js +0 -2
  225. package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
  226. package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
  227. package/dist/web/assets/Production-D3zsyNIS.js +0 -1
  228. package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
  229. package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
  230. package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
  231. package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
  232. package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
  233. package/dist/web/assets/Response-BP0UwQcW.js +0 -9
  234. package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
  235. package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
  236. package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
  237. package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
  238. package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
  239. package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
  240. package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
  241. package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
  242. package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
  243. package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
  244. package/dist/web/assets/families-DYlN5v0i.js +0 -1
  245. package/dist/web/assets/filters-faaSnoIq.js +0 -1
  246. package/dist/web/assets/fold-CUjwWAK3.js +0 -1
  247. package/dist/web/assets/frame-BLPdAXUq.js +0 -13
  248. package/dist/web/assets/head-CsTxBsO0.js +0 -1
  249. package/dist/web/assets/index-CxiCvGZq.js +0 -78
  250. package/dist/web/assets/index-dOIsrzhD.css +0 -2
  251. package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
  252. package/dist/web/assets/logos-dGuc1jIM.js +0 -1
  253. package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
  254. package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
  255. package/dist/web/assets/parts-CdF1f7yS.js +0 -1
  256. package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
  257. package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
  258. package/dist/web/assets/recordTest-P792aBUt.js +0 -1
@@ -0,0 +1,1243 @@
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>Operations and monitoring · 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
+ <script src="../docs-tabs.js" defer></script>
15
+ <link rel="stylesheet" href="../../app-look.css">
16
+ <link rel="stylesheet" href="../app-theme.css">
17
+ </head>
18
+ <body class="docs">
19
+ <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-network" viewBox="0 0 256 256"><g fill="currentColor"><path d="M152 128a24 24 0 1 1-24-24a24 24 0 0 1 24 24" opacity=".2"/><path d="M200 152a31.84 31.84 0 0 0-19.53 6.68l-23.11-18A31.65 31.65 0 0 0 160 128c0-.74 0-1.48-.08-2.21l13.23-4.41A32 32 0 1 0 168 104c0 .74 0 1.48.08 2.21l-13.23 4.41A32 32 0 0 0 128 96a32.6 32.6 0 0 0-5.27.44L115.89 81A32 32 0 1 0 96 88a32.6 32.6 0 0 0 5.27-.44l6.84 15.4a31.92 31.92 0 0 0-8.57 39.64l-25.71 22.84a32.06 32.06 0 1 0 10.63 12l25.71-22.84a31.91 31.91 0 0 0 37.36-1.24l23.11 18A31.65 31.65 0 0 0 168 184a32 32 0 1 0 32-32m0-64a16 16 0 1 1-16 16a16 16 0 0 1 16-16M80 56a16 16 0 1 1 16 16a16 16 0 0 1-16-16M56 208a16 16 0 1 1 16-16a16 16 0 0 1-16 16m56-80a16 16 0 1 1 16 16a16 16 0 0 1-16-16m88 72a16 16 0 1 1 16-16a16 16 0 0 1-16 16"/></g></symbol></svg>
20
+ <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) -->
21
+ <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" />
22
+ <line x1="8" x2="16" y1="21" y2="21" />
23
+ <line x1="12" x2="12" y1="17" y2="21" /></symbol>
24
+ <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" />
25
+ <path d="M12 18h.01" /></symbol>
26
+ <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" />
27
+ <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>
28
+ <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" />
29
+ <path d="M10 21.9V14L2.1 9.1" />
30
+ <path d="m10 14 11.9-6.9" />
31
+ <path d="M14 19.8v-8.1" />
32
+ <path d="M18 17.5V9.4" /></symbol>
33
+ <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" />
34
+ <path d="m9 12 2 2 4-4" /></symbol>
35
+ <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" />
36
+ <path d="M14 2v4a2 2 0 0 0 2 2h4" />
37
+ <path d="M10 9H8" />
38
+ <path d="M16 13H8" />
39
+ <path d="M16 17H8" /></symbol>
40
+ <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" />
41
+ <line x1="12" x2="20" y1="19" y2="19" /></symbol>
42
+ <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" />
43
+ <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" />
44
+ <path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
45
+ <path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
46
+ <path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
47
+ <path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
48
+ <path d="M19.938 10.5a4 4 0 0 1 .585.396" />
49
+ <path d="M6 18a4 4 0 0 1-1.967-.516" />
50
+ <path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
51
+ <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" />
52
+ <circle cx="18" cy="6" r="3" />
53
+ <circle cx="6" cy="18" r="3" />
54
+ <path d="M18 9a9 9 0 0 1-9 9" /></symbol>
55
+ <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" />
56
+ <path d="M3 5V19A9 3 0 0 0 21 19V5" />
57
+ <path d="M3 12A9 3 0 0 0 21 12" /></symbol>
58
+ <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>
59
+ <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" />
60
+ <path d="M17 3h2a2 2 0 0 1 2 2v2" />
61
+ <path d="M21 17v2a2 2 0 0 1-2 2h-2" />
62
+ <path d="M7 21H5a2 2 0 0 1-2-2v-2" />
63
+ <circle cx="12" cy="12" r="3" />
64
+ <path d="m16 16-1.9-1.9" /></symbol>
65
+ <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" />
66
+ <path d="M14.12 3.88 16 2" />
67
+ <path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
68
+ <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" />
69
+ <path d="M12 20v-9" />
70
+ <path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
71
+ <path d="M6 13H2" />
72
+ <path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
73
+ <path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
74
+ <path d="M22 13h-4" />
75
+ <path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
76
+ <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" />
77
+ <path d="M3 11v-1a4 4 0 0 1 4-4h14" />
78
+ <path d="m7 22-4-4 4-4" />
79
+ <path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
80
+ <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" />
81
+ <polyline points="8 6 2 12 8 18" /></symbol>
82
+ <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" />
83
+ <path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
84
+ <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" />
85
+ <path d="M9 8V2" />
86
+ <path d="M15 8V2" />
87
+ <path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
88
+ <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" />
89
+ <path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
90
+ <path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
91
+ <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>
92
+ <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" />
93
+ <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
94
+ <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>
95
+ <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>
96
+ <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>
97
+ <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>
98
+ <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>
99
+ </svg>
100
+
101
+ <a class="skip" href="#main">Skip to content</a>
102
+ <header class="nav" id="navigation">
103
+ <div class="nav__bar">
104
+ <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>
105
+ <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>
106
+ <div class="nav__end">
107
+ <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>
108
+ <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>
109
+ </div>
110
+ </div>
111
+ <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>
112
+ </header>
113
+ <div class="container docs-layout">
114
+ <nav class="docs-side" aria-label="Docs">
115
+ <a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
116
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
117
+ </nav>
118
+ <main id="main" class="docs-main guide chapter-page">
119
+ <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
120
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
121
+ <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-network"/></svg>Operations and monitoring</h1>
122
+ <p class="guide-lead">Monitoring and CI pipelines</p>
123
+ <article class="spec feat" id="cap-containers">
124
+ <div class="hd"><span class="mono">Operations</span><h3>Services, mocks, workspace and browser in Docker or Podman</h3></div>
125
+ <p class="ds">Starts the services a test run needs (a database, a queue, the API under test) in Docker or Podman, as forgeqe.yaml declares them, and waits until each is ready; stops them, and shows their status and logs. Starts mocks of an API on WireMock, from the calls a browser run recorded or from an OpenAPI description, with an optional rules file for conditional responses and fault or latency injection, and can point an API app of the environment at the mock for the session. With containers.workspace, the coding agents' shell commands (build, restore, run) and every test ForgeQE runs go to a container of the project's image; with browser.provider docker, the browser agent, the replay and the coding agent's live browser use Chromium in a container.</p>
126
+ <div class="facts">
127
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Start the database and the queue in Docker</li><li>Start the services from our docker-compose file</li><li>Mock the payments API from the last run</li><li>Create a mock service from openapi.yaml and point order-api at it</li><li>Mock the orders API with rules that return 404 for unknown ids and a 500 fault</li><li>Show the logs of the db container</li></ul></div>
128
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>Docker or Podman on PATH; the services to start in containers.services in forgeqe.yaml (mocks need none)</span></li></ul></div>
129
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Starts only services declared in forgeqe.yaml containers.services; it never runs an image, flag or mount from a request</li><li>No privileged containers, host network, or access to the container runtime's socket; ports on 127.0.0.1 only; mounts read-only from inside the project</li><li>Mocks answer REST calls (WireMock); GraphQL, SOAP and gRPC are not mocked</li><li>Reads docker-compose files only for their services' image, ports, environment, bind mounts, command and depends_on; refuses build, privileged, network_mode, cap_add, devices and env_file; leaves named volumes out</li><li>The workspace mounts the repository with its credential files (.env, .npmrc, keys) covered; the agents and the model key stay on this machine; ForgeQE's own agent keeps this machine's shell</li><li>A browser in a container reaches this machine's apps as host.docker.internal, not localhost; it is headless, or visible on a virtual display, never on this screen</li></ul></div>
130
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>services</code> <code>mock_service</code></p></div>
131
+ </div>
132
+
133
+ </article>
134
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-containers-and-mock-services">
135
+ <h4>Containers and mock services</h4>
136
+ <div class="prose"><p>When Docker or Podman is installed, ForgeQE can start the services a test run needs, and mock an API the tests should not call. Full reference: <a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">docs/CONTAINERS.md</a>.</p>
137
+ <p><strong>Declaring services.</strong> The project declares its services in forgeqe.yaml (<strong>Settings › Containers</strong>). ForgeQE starts only these, and builds each command itself:</p>
138
+ <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">containers:
139
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> runtime: podman # default: docker, else podman, on PATH
140
+ </span></span><span class="ln"><span class="cmd"> services:
141
+ </span></span><span class="ln"><span class="cmd"> db:
142
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: postgres:16.4</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an exact version or a digest; never latest
143
+ </span></span><span class="ln ln--pair"><span class="cmd"> ports: [5432]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or &quot;15432:5432&quot; (this machine:container); always 127.0.0.1
144
+ </span></span><span class="ln"><span class="cmd"> env: { POSTGRES_DB: shop, POSTGRES_USER: shop }
145
+ </span></span><span class="ln ln--pair"><span class="cmd"> secrets: [POSTGRES_PASSWORD]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> names of environment variables (.env works), passed by name
146
+ </span></span><span class="ln ln--pair"><span class="cmd"> volumes: [&quot;./db/init:/docker-entrypoint-initdb.d&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read-only, inside the project
147
+ </span></span><span class="ln ln--pair"><span class="cmd"> ready: { tcp: 5432 }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or { http: /health, port: 8080 }
148
+ </span></span><span class="ln"><span class="cmd"> timeout: 90
149
+ </span></span></code></pre></div>
150
+ <p><strong>Starting and stopping services.</strong></p>
151
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
152
+ <ol>
153
+ <li>Open <strong>New chat</strong>.</li>
154
+ <li>Ask in words: &quot;start the database and the queue&quot;, &quot;mock the payments API from the last run&quot;, &quot;make a mock from openapi.yaml and point order-api at it&quot;, &quot;show the db logs&quot;.</li>
155
+ <li>Agree when the agent asks before it starts anything.</li>
156
+ </ol>
157
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
158
+ <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 services</span><span class="pad"> </span><span class="cm"><span class="h">#</span> declared services, what runs, whether Docker answers
159
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services up db</span><span class="pad"> </span><span class="cm"><span class="h">#</span> start and wait until ready; keeps running after the command
160
+ </span></span><span class="ln"><span class="cmd">forgeqe services logs db --lines 50
161
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services down</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop this project's containers, mocks included
162
+ </span></span></code></pre></div>
163
+ <p>In the shell, ask in the same words as in the web app.</p>
164
+ </div></div><p><strong>Mocks, sessions and questions.</strong></p>
165
+ <ul>
166
+ <li><strong>Mocks</strong> are WireMock stubs. Made from a run, they answer what the app really got. Made from an OpenAPI or Swagger description, or a contract set, they answer with its examples, or values made from its schemas. The mock runs on a free port of 127.0.0.1 (<code>wiremock/wiremock:3.9.1</code>, or <code>containers.mock.image</code>), and its stubs are in <code>.forgeqe/mocks/&lt;name&gt;/mappings</code>. Asked to point an API app of the active environment at the mock, ForgeQE does so for the rest of the session, so API tests and the tests ForgeQE runs (<code>FORGEQE_APP_&lt;APP&gt;_URL</code>) use it.</li>
167
+ <li><strong>Session:</strong> what the agent starts (services or mocks) stops when the chat, the shell, <code>forgeqe run</code> or <code>forgeqe mcp</code> ends. <code>forgeqe services up</code> keeps its services running until <code>forgeqe services down</code>.</li>
168
+ <li><strong>Asked first:</strong> starting services and mocks asks before anything starts.</li>
169
+ </ul>
170
+ <p><strong>Guard rails.</strong></p>
171
+ <ul>
172
+ <li><strong>Fixed run settings:</strong> every container gets no new privileges, a process limit, ports on 127.0.0.1, read-only mounts, and labels with the project, so ForgeQE stops only its own containers.</li>
173
+ <li><strong>Refused service settings:</strong> <code>privileged</code>, <code>network</code>, <code>cap_add</code>, <code>devices</code>, <code>user</code>, and anything else that is not a service setting. Also refused: a port bound to another address, an image without an exact version, and a secret that is one of ForgeQE's own keys.</li>
174
+ <li><strong>Mounts:</strong> inside the project only. A mount that is or holds a hidden file (<code>.env</code>, <code>.git</code>), a file named like a key, or a link is refused, because a container can send what it reads anywhere.</li>
175
+ <li><strong>The docker, podman and compose programs only see</strong> the variables they need to find their daemon, plus the service's listed secrets.</li>
176
+ <li><strong>Not in the agents' shell:</strong> <code>docker</code>, <code>podman</code>, <code>nerdctl</code> and compose commands are refused for ForgeQE's agent and Quill. Containers start only through ForgeQE.</li>
177
+ </ul>
178
+ <p><strong>Compose files.</strong> <code>containers.compose: docker-compose.yml</code> reads the file's services into the same list, checked by the same rules (forgeqe.yaml's own declaration of a service wins):</p>
179
+ <ul>
180
+ <li><strong>Translated:</strong> <code>image</code>, <code>ports</code>, <code>environment</code>, bind mounts, <code>command</code> and <code>depends_on</code>. A <code>${NAME}</code> value becomes a secret passed by name.</li>
181
+ <li><strong>Left out:</strong> named volumes. Mounts made read-only are listed in the notes.</li>
182
+ <li><strong>Ignored:</strong> <code>container_name</code>, <code>restart</code>, <code>healthcheck</code> and <code>networks</code>.</li>
183
+ <li><strong>Refused:</strong> <code>build</code>, <code>privileged</code>, <code>network_mode</code>, <code>cap_add</code>, <code>devices</code>, <code>pid</code> and <code>env_file</code>.</li>
184
+ </ul>
185
+ <p><code>x-forgeqe: { ready: … }</code> sets the ready check. Without it, a service is ready when its first port takes connections. The project's containers share their own network, so services reach each other by name (<code>db:5432</code>).</p>
186
+ <p><strong>Docker as the workspace and the browser.</strong> Two settings move the rest of the work into containers:</p>
187
+ <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">browser:
188
+ </span></span><span class="ln ln--pair"><span class="cmd"> provider: docker</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the browser agent, the replay and Quill's live browser use Chromium in a container
189
+ </span></span><span class="ln"><span class="cmd">containers:
190
+ </span></span><span class="ln ln--pair"><span class="cmd"> workspace:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Quill's shell commands and every test ForgeQE runs use this image
191
+ </span></span><span class="ln"><span class="cmd"> image: mcr.microsoft.com/playwright/dotnet:v1.63.0-noble
192
+ </span></span><span class="ln"><span class="cmd"> env: { NEXUS_ENVIRONMENT: CI }
193
+ </span></span><span class="ln ln--pair"><span class="cmd"> browser:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional
194
+ </span></span><span class="ln ln--pair"><span class="cmd"> headless: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> visible on a virtual display inside the container (some sites refuse headless)
195
+ </span></span></code></pre></div>
196
+ <ul>
197
+ <li><strong>Workspace:</strong> Quill builds, restores, runs and fixes tests in a Linux container of the project's image, with the repository at the same path. Each test run gets its own container from that image, and <code>HOME</code> is a volume of the project's, so package caches outlive the session. The agents and the model key stay on this machine, and ForgeQE's own agent keeps this machine's shell. <code>.env</code>, keys and other credential files in the repository are covered inside the containers.</li>
198
+ <li><strong>Browser:</strong> each browser run gets a fresh container, reached through a gateway that wants a random token. A declared service is reached by its name; an app on this machine is <code>host.docker.internal</code>, not <code>localhost</code>. <code>--browser-provider docker</code> picks it for one run.</li>
199
+ <li><code>FORGEQE_HOST_RUN=1</code> runs Quill's commands and the tests on this machine for a session.</li>
200
+ </ul>
201
+ <p><strong>Tests in a container.</strong> With <code>containers.tests</code>, the repository's tests run in that image instead of on this machine, after the services it lists start:</p>
202
+ <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">containers:
203
+ </span></span><span class="ln"><span class="cmd"> tests:
204
+ </span></span><span class="ln"><span class="cmd"> image: mcr.microsoft.com/playwright:v1.48.2-jammy
205
+ </span></span><span class="ln"><span class="cmd"> services: [db]
206
+ </span></span><span class="ln"><span class="cmd"> secrets: [TEST_DB_PASSWORD]
207
+ </span></span></code></pre></div>
208
+ <ul>
209
+ <li><strong>What runs:</strong> the command you confirmed, inside the container, in the repository (mounted at its own path, so the result files land where ForgeQE reads them).</li>
210
+ <li><strong>User:</strong> your user.</li>
211
+ <li><strong>Variables:</strong> only the environment's <code>FORGEQE_*</code> variables, the saved logins' variables, and the listed env and secrets.</li>
212
+ <li><strong>To run on this machine instead:</strong> ask to run the tests on this machine.</li>
213
+ <li><strong>Machines:</strong> Linux and macOS.</li>
214
+ </ul>
215
+ <p><strong>Testcontainers.</strong> When a test needs a real database or queue, or the repository already uses Testcontainers, Quill's <code>testcontainers</code> skill writes the test to start it from code. It reuses the repository's fixtures, pins images, waits for readiness, and uses the mapped port. It never uses privileged mode, the host network, or the Docker socket.</p>
216
+ </div>
217
+ </section>
218
+ <section class="doc" id="doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">
219
+ <h4>ForgeQE containers: services and mocks in Docker or Podman</h4>
220
+ <div class="prose"><p>Status: tested on real Docker with Postgres from forgeqe.yaml and from a compose file, a WireMock mock that answers a
221
+ recorded run's calls, and a tests container that reaches the database by name and writes its results into the
222
+ repository as this machine's user.</p>
223
+ <p>ForgeQE uses Docker or Podman, when one is installed, for five jobs:</p>
224
+ <ul>
225
+ <li><strong>Services a test run needs:</strong> a database, a queue, a cache, or the API under test. The project declares them in
226
+ forgeqe.yaml, or in a docker-compose file that forgeqe.yaml names.</li>
227
+ <li><strong>Mocks of an API:</strong> WireMock stubs made from the calls a browser run recorded, or from an OpenAPI description, so
228
+ the tests can run without the real service.</li>
229
+ <li><strong>The repository's tests in a container:</strong> ForgeQE runs the test command you confirmed in an image, instead of
230
+ on this machine, after starting the services the tests need.</li>
231
+ <li><strong>A workspace for the coding agents:</strong> with <code>containers.workspace</code>, Quill's shell commands (build, restore, run,
232
+ git) and every test ForgeQE runs for it go to a container of the project's image. The agents stay on this machine.</li>
233
+ <li><strong>A browser in a container:</strong> with <code>browser.provider: docker</code>, the browser agent, the replay and Quill's live
234
+ browser use Chromium in a container of Microsoft's Playwright image.</li>
235
+ </ul>
236
+ <p>Quill also has a <code>testcontainers</code> skill, for tests that start their own services from code (below).</p>
237
+ <p>When neither Docker nor Podman is on PATH, ForgeQE's agent does not offer to start services or mocks.</p>
238
+ </div>
239
+ </section>
240
+ <section class="doc" id="doc-docs-containers-use">
241
+ <h4>Use</h4>
242
+ <div class="prose"><p><strong>Setting it up.</strong> Pick the runtime, declare the services, and choose which jobs use containers.</p>
243
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
244
+ <ol>
245
+ <li>Open <strong>Settings › Containers</strong>.</li>
246
+ <li>Under <strong>Runtime</strong>, pick the <strong>Runtime</strong> (empty: Docker, else Podman), and optionally <strong>Compose files</strong> and the
247
+ <strong>Mocks' image</strong>.</li>
248
+ <li>Add each service with its <strong>Image</strong>, <strong>Ports</strong>, <strong>Environment</strong>, <strong>Secrets</strong>, <strong>Mounts</strong>, <strong>Starts after</strong> and when it
249
+ is ready.</li>
250
+ <li>Fill in <strong>Tests in a container</strong>, <strong>The coding agents' workspace</strong> or <strong>Browser in a container</strong> for the jobs that
251
+ should use one.</li>
252
+ </ol>
253
+ <p>For the browser, also pick <strong>Chrome in Docker</strong> as the <strong>Browser</strong> in <strong>Settings › Browser</strong>.</p>
254
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
255
+ <p>Edit <code>containers:</code> in forgeqe.yaml (see <a href="#doc-docs-containers-declaring-services">Declaring services</a>), and <code>browser.provider: docker</code>
256
+ for the browser.</p>
257
+ </div></div><p><strong>Starting and stopping services.</strong></p>
258
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
259
+ <p>In a chat, ask, for example: &quot;start the database&quot;, &quot;is the queue up?&quot;, &quot;stop the services&quot;. The agent asks before it
260
+ starts anything.</p>
261
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
262
+ <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 services</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the declared services, what runs, whether the runtime answers
263
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services up</span><span class="pad"> </span><span class="cm"><span class="h">#</span> start every declared service and wait until each is ready
264
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services up db queue</span><span class="pad"> </span><span class="cm"><span class="h">#</span> just these
265
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services logs db --lines 50</span><span class="pad"> </span><span class="cm"><span class="h">#</span> last lines, secrets removed
266
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe services down</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop and remove this project's containers (mocks included)
267
+ </span></span></code></pre></div>
268
+ <p>The same requests work in <code>forgeqe start</code> or <code>forgeqe run</code>.</p>
269
+ </div></div><p><strong>Making a mock.</strong> This is done by asking ForgeQE's agent, in a web chat, <code>forgeqe start</code> or <code>forgeqe run</code>: &quot;mock the
270
+ payments API from the last run&quot;, or &quot;make a mock service from openapi.yaml and point order-api at it&quot;. See
271
+ <a href="#doc-docs-containers-mocks">Mocks</a>.</p>
272
+ </div>
273
+ </section>
274
+ <section class="doc" id="doc-docs-containers-declaring-services">
275
+ <h4>Declaring services</h4>
276
+ <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 ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> forgeqe.yaml
277
+ </span></span><span class="ln"><span class="cmd">containers:
278
+ </span></span><span class="ln ln--pair"><span class="cmd"> runtime: docker</span><span class="pad"> </span><span class="cm"><span class="h">#</span> docker | podman; default: docker, else podman, on PATH
279
+ </span></span><span class="ln"><span class="cmd"> services:
280
+ </span></span><span class="ln"><span class="cmd"> db:
281
+ </span></span><span class="ln"><span class="cmd"> description: Orders database for the API tests
282
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: postgres:16.4</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an exact version, or name@sha256:&lt;digest&gt;
283
+ </span></span><span class="ln ln--pair"><span class="cmd"> ports: [5432]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> 127.0.0.1:5432 -&gt; 5432; &quot;15432:5432&quot; maps another port of this machine
284
+ </span></span><span class="ln ln--pair"><span class="cmd"> env:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plain values only
285
+ </span></span><span class="ln"><span class="cmd"> POSTGRES_DB: shop
286
+ </span></span><span class="ln"><span class="cmd"> POSTGRES_USER: shop
287
+ </span></span><span class="ln ln--pair"><span class="cmd"> secrets: [POSTGRES_PASSWORD]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> environment variable names; their values come from the environment or .env
288
+ </span></span><span class="ln"><span class="cmd"> volumes:
289
+ </span></span><span class="ln ln--pair"><span class="cmd"> - ./db/init:/docker-entrypoint-initdb.d</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read-only; a folder or file inside the project
290
+ </span></span><span class="ln ln--pair"><span class="cmd"> command: [&quot;-c&quot;, &quot;log_statement=all&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> arguments for the image's entrypoint
291
+ </span></span><span class="ln ln--pair"><span class="cmd"> ready: { tcp: 5432 }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or { http: /health, port: 8080 }; without it: the container runs
292
+ </span></span><span class="ln ln--pair"><span class="cmd"> timeout: 90</span><span class="pad"> </span><span class="cm"><span class="h">#</span> seconds to wait until ready (default 60)
293
+ </span></span><span class="ln"><span class="cmd"> queue:
294
+ </span></span><span class="ln"><span class="cmd"> image: rabbitmq:3.13.7-management
295
+ </span></span><span class="ln"><span class="cmd"> ports: [5672, 15672]
296
+ </span></span><span class="ln"><span class="cmd"> ready: { http: /, port: 15672 }
297
+ </span></span><span class="ln"><span class="cmd"> mock:
298
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: wiremock/wiremock:3.9.1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the default
299
+ </span></span></code></pre></div>
300
+ <div class="tbl tbl--cols-2"><table>
301
+ <thead>
302
+ <tr><th>Setting</th><th>Rule</th></tr>
303
+ </thead>
304
+ <tbody>
305
+ <tr><td data-label="Setting">Service name</td><td data-label="Rule">Lower-case letters, digits and <code>-</code>, starting with a letter. Names starting with <code>mock-</code> are kept for mocks.</td></tr>
306
+ <tr><td data-label="Setting"><code>image</code></td><td data-label="Rule">Must have an exact tag or a digest. An untagged image or <code>latest</code> is refused, because it changes under the same name.</td></tr>
307
+ <tr><td data-label="Setting"><code>ports</code></td><td data-label="Rule">Always bound to 127.0.0.1. An address such as <code>0.0.0.0:5432:5432</code> is refused.</td></tr>
308
+ <tr><td data-label="Setting"><code>env</code></td><td data-label="Rule">Plain values on one line. Secrets go under <code>secrets</code>.</td></tr>
309
+ <tr><td data-label="Setting"><code>secrets</code></td><td data-label="Rule">Variable names. They are passed to the runtime by name (<code>--env NAME</code>), so the value is never on a command line. One of ForgeQE's own keys (a model key, a tracker token) is refused.</td></tr>
310
+ <tr><td data-label="Setting"><code>volumes</code></td><td data-label="Rule">Always read-only. Must be inside the folder of forgeqe.yaml, and can't be the whole folder.</td></tr>
311
+ <tr><td data-label="Setting"><code>command</code></td><td data-label="Rule">A list of arguments, never one command string.</td></tr>
312
+ <tr><td data-label="Setting"><code>depends_on</code></td><td data-label="Rule">Services to start first.</td></tr>
313
+ <tr><td data-label="Setting">Anything else</td><td data-label="Rule">Refused with an error, not ignored. That includes <code>privileged</code>, <code>network</code>, <code>cap_add</code>, <code>devices</code>, <code>user</code>, <code>pid</code> and the socket.</td></tr>
314
+ </tbody>
315
+ </table></div>
316
+ <p>Every service, whether from forgeqe.yaml or a compose file, can list <code>depends_on</code>. <code>up</code> starts a service after the
317
+ ones it depends on; a circle is refused.</p>
318
+ </div>
319
+ </section>
320
+ <section class="doc" id="doc-docs-containers-compose-files">
321
+ <h4>Compose files</h4>
322
+ <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">containers:
323
+ </span></span><span class="ln ln--pair"><span class="cmd"> compose: docker-compose.yml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or a list; inside the project
324
+ </span></span></code></pre></div>
325
+ <p>ForgeQE reads each service of the file and translates it into a forgeqe.yaml service. The same rules then check it,
326
+ and a service declared in forgeqe.yaml wins over the compose file's service of the same name. Compose itself never
327
+ runs.</p>
328
+ <div class="tbl tbl--cols-2"><table>
329
+ <thead>
330
+ <tr><th>Compose</th><th>ForgeQE</th></tr>
331
+ </thead>
332
+ <tbody>
333
+ <tr><td data-label="Compose"><code>image</code></td><td data-label="ForgeQE">Required; an exact version or a digest. <code>build</code> is refused: build and tag the image first.</td></tr>
334
+ <tr><td data-label="Compose"><code>ports</code></td><td data-label="ForgeQE"><code>&quot;5432&quot;</code>, <code>&quot;15432:5432&quot;</code>, <code>&quot;127.0.0.1:15432:5432&quot;</code>, or the long form; always bound to 127.0.0.1. Any other address, and UDP, are refused.</td></tr>
335
+ <tr><td data-label="Compose"><code>environment</code></td><td data-label="ForgeQE">Plain values are passed as they are. <code>KEY: ${KEY}</code>, <code>KEY</code> alone in the list form, and <code>KEY: ${KEY:-default}</code> pass the variable by name as a secret. <code>${OTHER}</code> under another name, and values that mix text and <code>${…}</code>, are refused.</td></tr>
336
+ <tr><td data-label="Compose"><code>volumes</code></td><td data-label="ForgeQE">Bind mounts (<code>./db/init:/docker-entrypoint-initdb.d</code>) are mounted read-only, and <code>:rw</code> is noted. Named and anonymous volumes are left out, so the container keeps no data between runs. A path outside the project is refused when the service starts.</td></tr>
337
+ <tr><td data-label="Compose"><code>command</code></td><td data-label="ForgeQE">A list, or a string split into arguments (compose uses no shell, and neither does ForgeQE).</td></tr>
338
+ <tr><td data-label="Compose"><code>depends_on</code></td><td data-label="ForgeQE">List or map form: the start order. <code>condition</code> is not used; ForgeQE waits until each service is ready.</td></tr>
339
+ <tr><td data-label="Compose"><code>x-forgeqe</code></td><td data-label="ForgeQE"><code>ready</code>, <code>timeout</code>, <code>description</code>, as in forgeqe.yaml. Without <code>ready</code>, a service with ports is ready when its first port takes connections.</td></tr>
340
+ <tr><td data-label="Compose"><code>container_name</code>, <code>restart</code>, <code>labels</code>, <code>healthcheck</code>, <code>networks</code>, <code>expose</code>, <code>deploy</code>, <code>profiles</code>, …</td><td data-label="ForgeQE">Ignored: ForgeQE names, labels and networks the containers itself.</td></tr>
341
+ <tr><td data-label="Compose"><code>privileged</code>, <code>network_mode</code>, <code>cap_add</code>, <code>devices</code>, <code>pid</code>, <code>ipc</code>, <code>user</code>, <code>security_opt</code>, <code>volumes_from</code>, <code>env_file</code>, <code>entrypoint</code>, <code>extends</code>, …</td><td data-label="ForgeQE">Refused, and the error names the setting.</td></tr>
342
+ </tbody>
343
+ </table></div>
344
+ <p>What was left out (a named volume, a mount made read-only) is listed in <code>notes</code>.</p>
345
+ </div>
346
+ </section>
347
+ <section class="doc" id="doc-docs-containers-the-project-network">
348
+ <h4>The project network</h4>
349
+ <div class="prose"><p>Each project's containers join their own network, <code>forgeqe-&lt;project&gt;</code>, under their service name. So the API container
350
+ reaches the database as <code>db:5432</code>, and the tests container reaches both. No other container joins the network, and no
351
+ container is on the host's network. <code>forgeqe services down</code> with no names also removes the network.</p>
352
+ </div>
353
+ </section>
354
+ <section class="doc" id="doc-docs-containers-tests-in-a-container">
355
+ <h4>Tests in a container</h4>
356
+ <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">containers:
357
+ </span></span><span class="ln"><span class="cmd"> tests:
358
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: mcr.microsoft.com/playwright:v1.48.2-jammy</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an exact version; the tests' toolchain
359
+ </span></span><span class="ln ln--pair"><span class="cmd"> services: [db, order-api]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> started first (when not running yet); the tests reach them by name
360
+ </span></span><span class="ln"><span class="cmd"> env: { DB_HOST: db }
361
+ </span></span><span class="ln"><span class="cmd"> secrets: [TEST_DB_PASSWORD]
362
+ </span></span></code></pre></div>
363
+ <p>With <code>containers.tests</code> set (<strong>Tests in a container</strong> in Settings › Containers), the repository's tests ForgeQE runs go
364
+ to that image, unless the agent is asked to run them on this machine. The confirmation says where the tests will run.
365
+ The container:</p>
366
+ <ul>
367
+ <li><strong>Runs the command you confirmed</strong> with the image's own shell, inside the container, never on this machine.</li>
368
+ <li><strong>Mounts the repository read-write at its own path</strong> and works in it, so results land where ForgeQE reads them.
369
+ On this machine, the tests already have the whole disk. A folder outside the repository that the results go to is
370
+ mounted the same way.</li>
371
+ <li><strong>Runs as this machine's user</strong>, so files it writes are yours. It cannot gain privileges, has a process limit, and
372
+ is removed when the run ends or is stopped.</li>
373
+ <li><strong>Gets only these variables:</strong> <code>CI=1</code>, <code>NO_COLOR</code>, <code>HOME=/tmp</code>, the environment's <code>FORGEQE_ACTIVE_ENV</code>,
374
+ <code>FORGEQE_APP_*</code> and <code>FORGEQE_VAR_*</code>, the saved logins' variables, and <code>containers.tests</code> <code>env</code> and <code>secrets</code>.
375
+ Secrets are passed by name. ForgeQE's own keys are never passed.</li>
376
+ <li><strong>Has secret values removed from its output</strong>, as on this machine.</li>
377
+ </ul>
378
+ <p>This needs a Linux or macOS machine, because the repository is mounted at its own path.</p>
379
+ </div>
380
+ </section>
381
+ <section class="doc" id="doc-docs-containers-the-workspace">
382
+ <h4>The workspace</h4>
383
+ <div class="prose"><p><strong>On Windows</strong> the workspace is not used: the agent's commands run on the computer itself, and <code>forgeqe doctor</code> (and
384
+ Settings › Set up) says so while <code>containers.workspace</code> is set. Run ForgeQE inside WSL to have them run in the
385
+ workspace container.</p>
386
+ <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">containers:
387
+ </span></span><span class="ln"><span class="cmd"> workspace:
388
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: mcr.microsoft.com/playwright/dotnet:v1.63.0-noble</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an exact version; the project's toolchain
389
+ </span></span><span class="ln ln--pair"><span class="cmd"> services: [db]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> started first; reached by name
390
+ </span></span><span class="ln"><span class="cmd"> env: { NEXUS_ENVIRONMENT: CI, DOTNET_ROLL_FORWARD: Major }
391
+ </span></span><span class="ln ln--pair"><span class="cmd"> secrets: [TEST_DB_PASSWORD]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> by name; values from the environment or .env
392
+ </span></span></code></pre></div>
393
+ <p>With <code>containers.workspace</code> set (<strong>The coding agents' workspace</strong> in Settings › Containers):</p>
394
+ <ul>
395
+ <li><strong>Quill's shell runs in the container.</strong> Each command Quill runs goes to the workspace container, in the same folder.
396
+ A folder outside the repository is refused, since the container has only the repository. Quill is told its commands
397
+ run in a Linux container of that image.</li>
398
+ <li><strong>Every test ForgeQE runs goes to the same image:</strong> the coding loop's runs, healing, a suite's existing tests and the
399
+ tests you ask the agent to run. Each run gets its own container, so stopping a run removes it, with the browsers the
400
+ test started.</li>
401
+ <li><strong>What stays on this machine:</strong> the coding agents themselves, the model key, ForgeQE's other secrets, reading and
402
+ editing files (the repository is the same folder in both places), and ForgeQE's own agent, which works with you on
403
+ this machine and keeps its shell here. <code>FORGEQE_HOST_RUN=1</code> runs everything on this machine for a session.</li>
404
+ <li><strong>The container:</strong>
405
+ <ul>
406
+ <li>one per ForgeQE process and project, <code>forgeqe-&lt;project&gt;-workspace-&lt;id&gt;</code>, removed when ForgeQE ends;</li>
407
+ <li>the repository mounted read-write at its own path; credential files in it (<code>.env</code>, <code>.env.*</code> except templates,
408
+ <code>.npmrc</code>, <code>.netrc</code>, <code>*.pem</code>, <code>*.key</code>, <code>id_*</code> keys) covered with an empty read-only file, and <code>.ssh</code>, <code>.aws</code>,
409
+ <code>.azure</code>, <code>.docker</code>, <code>.kube</code> and <code>.forgeqe/sessions</code> with an empty folder;</li>
410
+ <li><code>HOME</code> on the project's volume <code>forgeqe-&lt;project&gt;-home</code>, so NuGet, npm and pip caches outlive the session;</li>
411
+ <li>this machine's user, no privilege gain, a process limit, the project network;</li>
412
+ <li>only <code>CI=1</code>, <code>HOME</code>, the <code>env</code> and <code>secrets</code> listed, and, in each command, the environment's <code>FORGEQE_APP_*</code> and
413
+ <code>FORGEQE_VAR_*</code> and the saved logins' variables, by name.</li>
414
+ </ul>
415
+ </li>
416
+ <li><strong><code>containers.tests</code></strong> still names the image for running the repository's tests when it is set. Without it, those
417
+ tests use the workspace's image.</li>
418
+ </ul>
419
+ <p>This needs a Linux or macOS machine, as tests in a container do.</p>
420
+ </div>
421
+ </section>
422
+ <section class="doc" id="doc-docs-containers-the-browser-in-a-container">
423
+ <h4>The browser in a container</h4>
424
+ <div class="prose"><p>In the web app, pick <strong>Chrome in Docker</strong> as the <strong>Browser</strong> in <strong>Settings › Browser</strong>, and set the image and <strong>Without
425
+ a window</strong> under <strong>Browser in a container</strong> in <strong>Settings › Containers</strong>. At a terminal:</p>
426
+ <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">browser:
427
+ </span></span><span class="ln ln--pair"><span class="cmd"> provider: docker</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or per run: --browser-provider docker
428
+ </span></span><span class="ln"><span class="cmd">containers:
429
+ </span></span><span class="ln ln--pair"><span class="cmd"> browser:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> optional
430
+ </span></span><span class="ln ln--pair"><span class="cmd"> image: mcr.microsoft.com/playwright:v1.65.0-noble</span><span class="pad"> </span><span class="cm"><span class="h">#</span> default; needs Node.js and /ms-playwright
431
+ </span></span><span class="ln ln--pair"><span class="cmd"> headless: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> default: browser.headless; a visible browser runs on a virtual display (Xvfb)
432
+ </span></span></code></pre></div>
433
+ <ul>
434
+ <li><strong>One container per use:</strong> each browser run (a suite runs <code>suite.parallel</code> at once) gets its own, and a coding job
435
+ gets one that its replay and live browser share. Each is removed when its run or job ends.</li>
436
+ <li><strong>Connection:</strong> the browser in the container accepts a connection only with a random token that ForgeQE makes for
437
+ that container, and only from this machine (its port is published on 127.0.0.1 only). The token is never written to
438
+ a file or a command line.</li>
439
+ <li><strong>Visible or headless:</strong> a visible browser runs on a virtual display inside the container. Sites that turn headless browsers
440
+ away see an ordinary one, but you do not see it on your screen. Runs keep screenshots and traces as usual.</li>
441
+ <li><strong>Reaching the app:</strong> the container joins the project network, so a declared service is reached by its name
442
+ (<code>http://order-api:8080</code>). An app this machine serves is <code>http://host.docker.internal:&lt;port&gt;</code>; <code>localhost</code> is the
443
+ container itself, and ForgeQE warns when a run starts there.</li>
444
+ <li><strong>Replay:</strong> one pass, in a new browser context. The second pass that replay tries on this machine (a browser that
445
+ looks less automated) needs a fresh browser start, which a container's running browser does not have.</li>
446
+ <li>A run explored in a container is replayed in one even when the provider is changed back later.</li>
447
+ </ul>
448
+ </div>
449
+ </section>
450
+ <section class="doc" id="doc-docs-containers-testcontainers-quill">
451
+ <h4>Testcontainers (Quill)</h4>
452
+ <div class="prose"><p>When a test needs a real service, or the repository already uses Testcontainers (Java, .NET, Node, Python, Go), Quill
453
+ loads the <code>testcontainers</code> skill. It reuses the repository's containers and fixtures, pins images, waits for
454
+ readiness, uses the mapped port, and sets the app's own configuration from it. It never uses privileged mode, the
455
+ host network, the Docker socket, or a <code>docker</code> command from a test. These containers belong to the tests in the
456
+ repository: the tests start and stop them, wherever they run.</p>
457
+ </div>
458
+ </section>
459
+ <section class="doc" id="doc-docs-containers-mocks">
460
+ <h4>Mocks</h4>
461
+ <div class="prose"><p>Ask ForgeQE's agent for a mock (in a web chat, <code>forgeqe start</code> or <code>forgeqe run</code>). It builds WireMock stubs and runs
462
+ WireMock on a free port of 127.0.0.1:</p>
463
+ <ul>
464
+ <li><strong>From a run</strong> (the default: the latest run, or one you name):
465
+ <ul>
466
+ <li>One stub per method, path and query of the app's own API calls, answering with the last status, content type
467
+ and body the app got.</li>
468
+ <li>Other sites' calls are left out unless you ask for them.</li>
469
+ <li>Failed calls are left out.</li>
470
+ <li>Answers that were cut when recorded are listed under <code>skipped</code>.</li>
471
+ </ul>
472
+ </li>
473
+ <li><strong>From a description</strong> (OpenAPI 3 or Swagger 2, a link or a file):
474
+ <ul>
475
+ <li>One stub per REST operation.</li>
476
+ <li>Each stub answers with the operation's first success status and a body from the schema's examples, or values
477
+ made from its types.</li>
478
+ <li>A path parameter (<code>/orders/{id}</code>) matches any one path segment.</li>
479
+ <li>Instead of a description, you can name a saved API contract set.</li>
480
+ </ul>
481
+ </li>
482
+ <li><strong>GraphQL, SOAP and gRPC</strong> are listed under <code>skipped</code>, not mocked.</li>
483
+ </ul>
484
+ <p>A description given as a link is fetched by ForgeQE itself, with no credentials. The stubs are written to <code>.forgeqe/mocks/&lt;name&gt;/mappings/</code>. You can read and edit them there. The folder is mounted
485
+ read-only at <code>/home/wiremock/mappings</code>. WireMock runs with <code>--enable-stub-cors</code>, so a web app on another local port
486
+ can call it.</p>
487
+ <p>Ask for an API app of env.yaml to use the mock (&quot;point order-api at it&quot;), and the active environment's API app points
488
+ at the mock for the rest of the session. That
489
+ covers the API tools, and the tests ForgeQE runs, which read <code>FORGEQE_APP_&lt;APP&gt;_URL</code>. env.yaml itself is not
490
+ changed.</p>
491
+ </div>
492
+ </section>
493
+ <section class="doc" id="doc-docs-containers-lifetime">
494
+ <h4>Lifetime</h4>
495
+ <div class="prose"><ul>
496
+ <li><strong>Services and mocks the agent starts</strong> are removed when the chat session (<code>forgeqe start</code>, <code>forgeqe web</code>'s chat,
497
+ <code>forgeqe run</code>, or <code>forgeqe mcp</code>) ends, as are the workspace and browser containers. The home volume stays.</li>
498
+ <li><strong><code>forgeqe services up</code></strong> keeps its services running after the command ends, until <code>forgeqe services down</code>.</li>
499
+ <li><strong>Container names</strong> are <code>forgeqe-&lt;project&gt;-&lt;service&gt;</code>. <code>&lt;project&gt;</code> is a hash of the project folder, so two projects
500
+ never share a container. Starting a service replaces its earlier container. Removing a container also removes the anonymous volumes its image declares (a database's data folder), so nothing is left on the machine. A container is never reused with old
501
+ settings.</li>
502
+ <li><strong>Labels:</strong> each container carries <code>forgeqe=1</code>, <code>forgeqe.project</code>, <code>forgeqe.service</code> and <code>forgeqe.kind</code>.
503
+ <code>down</code> and <code>status</code> look only at this project's containers.</li>
504
+ </ul>
505
+ </div>
506
+ </section>
507
+ <section class="doc" id="doc-docs-containers-security">
508
+ <h4>Security</h4>
509
+ <div class="prose"><p>ForgeQE's agent reads text other people control: tickets, web pages, repositories. A container command built from that
510
+ text could mount the whole disk or run privileged, so:</p>
511
+ <ul>
512
+ <li><strong>No commands from the model.</strong> The agent names services that forgeqe.yaml declares, and ForgeQE builds the
513
+ command itself, without a shell. Images, flags and mounts never come from a request.</li>
514
+ <li><strong>The same restrictions for every container:</strong> no privilege gain, a process limit, ports on 127.0.0.1, and
515
+ read-only mounts. There is no setting to turn these off.</li>
516
+ <li><strong>Mounts are checked like uploads</strong> (except a mock's stubs folder, which ForgeQE writes itself and mounts read-only).
517
+ The real path, links followed, must be inside the project. A mount
518
+ that is or holds a hidden file or folder (<code>.env</code>, <code>.git</code>, <code>.npmrc</code>), a file named like a key (<code>*.pem</code>, <code>id_rsa</code>,
519
+ <code>llms.json</code>) or a link is refused. A container can send what it reads anywhere.</li>
520
+ <li><strong>Environment:</strong>
521
+ <ul>
522
+ <li>The <code>docker</code> and <code>podman</code> programs see only the system settings and the variables they need to find their daemon
523
+ (<code>DOCKER_HOST</code>, <code>DOCKER_CONTEXT</code>, <code>CONTAINER_HOST</code>, …), plus the service's listed secrets.</li>
524
+ <li>A container gets only its <code>env</code> and <code>secrets</code>.</li>
525
+ <li>Logs and errors have secret values replaced with <code>***</code>.</li>
526
+ </ul>
527
+ </li>
528
+ <li><strong>Not in the agents' shell:</strong> <code>docker</code>, <code>podman</code>, <code>nerdctl</code>, <code>docker-compose</code> and <code>podman-compose</code> are denied in the
529
+ shell of ForgeQE's agent and of Quill. So the only way for an agent to start a container is through ForgeQE.</li>
530
+ <li><strong>Asked first:</strong> the agent asks you before it starts services or a mock, as it does before running tests.</li>
531
+ </ul>
532
+ </div>
533
+ </section>
534
+ </div>
535
+ <article class="spec feat" id="cap-production-errors">
536
+ <div class="hd"><span class="mono">Operations</span><h3>Production errors and the tests that cover them</h3></div>
537
+ <p class="ds">Reads the errors users hit in production from Sentry, Datadog and Application Insights, grouped by page, and says which have no test reproducing them; read only.</p>
538
+ <div class="facts">
539
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Which production errors have no test?</li><li>What production errors are users hitting on checkout?</li></ul></div>
540
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>integrations.sentry, datadog or appinsights in forgeqe.yaml</span></li></ul></div>
541
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>production_errors</code></p></div>
542
+ </div>
543
+
544
+ </article>
545
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-production-errors">
546
+ <h4>Production errors</h4>
547
+ <div class="prose"><p>ForgeQE reads the errors real users hit in the last 14 days from Sentry (<code>integrations.sentry</code>), Datadog (<code>integrations.datadog</code>) and Azure Application Insights (<code>integrations.appinsights</code>), and groups them by page. For each page it says which browser run or automated test already reaches it, or that no test does. It only reads.</p>
548
+ <p>In the web app, open <strong>Production signals</strong> (Delivery &amp; Operations › Production). <strong>Record a repro</strong> opens the Record page at the same page on the active test environment. In a chat or the shell, ask &quot;which production errors have no test?&quot;. Keys are environment variables named in forgeqe.yaml, saved in <strong>Settings › Integrations</strong>.</p>
549
+ </div>
550
+ </section>
551
+ </div>
552
+ <article class="spec feat" id="cap-model-cost">
553
+ <div class="hd"><span class="mono">Operations</span><h3>Model cost and usage</h3></div>
554
+ <p class="ds">Adds up what the project's model calls cost by agent, origin, job, model and day, with tokens of unknown price apart, the model router's picks, and each regression pack's cost per run.</p>
555
+ <div class="facts">
556
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>What did ForgeQE cost this month?</li><li>Which agent spends the most?</li></ul></div>
557
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
558
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>model_cost</code></p></div>
559
+ </div>
560
+
561
+ </article>
562
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-model-cost">
563
+ <h4>Model cost</h4>
564
+ <div class="prose"><p>ForgeQE adds up what the project's model calls cost, from the session logs:</p>
565
+ <ul>
566
+ <li>by agent, by where the work started (a web chat, a job, a terminal, a page), by job and by model;</li>
567
+ <li>per day, over 7, 30 or 90 days;</li>
568
+ <li>priced from llms.json or the public price lists. Tokens with no known price are counted apart, never as free.</li>
569
+ </ul>
570
+ <p>It also shows the model router's ratings and picks, and what each regression pack costs per run. In the web app, open <strong>Cost</strong> (AI Assurance › Governance). In a chat or the shell, ask &quot;what did the models cost this week?&quot;.</p>
571
+ </div>
572
+ </section>
573
+ </div>
574
+ <article class="spec feat" id="cap-monitoring">
575
+ <div class="hd"><span class="mono">Operations</span><h3>Scheduled monitoring with alerts</h3></div>
576
+ <p class="ds">Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers.</p>
577
+ <div class="facts">
578
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Check the login flow every 15 minutes and alert Teams</li></ul></div>
579
+ <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><li><span class="need opt">Optional</span><span>Alert channels: monitor.alerts.teams or monitor.alerts.email in forgeqe.yaml</span></li></ul></div>
580
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>monitor</code></p></div>
581
+ </div>
582
+
583
+ </article>
584
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-9-monitoring">
585
+ <h4>Monitoring</h4>
586
+ <div class="prose"><p>The monitor runs a set of checks on a schedule and alerts Microsoft Teams and email when one breaks. A check is any test case a suite takes (section 7): a YAML or Gherkin file, a folder, Jira keys or JQL, an Azure DevOps plan, TestRail, and so on.</p>
587
+ <p><strong>Setting up the monitor.</strong></p>
588
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
589
+ <ol>
590
+ <li>Open <strong>Settings › Monitor</strong> (under <strong>Data and operations</strong>).</li>
591
+ <li>Under <strong>What runs</strong>, fill in <strong>Checks</strong> (test case sources, comma separated), <strong>How often</strong> (<code>30s</code>, <code>15m</code>, <code>1h</code> or <code>1h30m</code>; at least 10s), <strong>Checking a recorded run</strong> (<strong>Verify</strong> or <strong>Trust</strong>), <strong>Checks at once</strong>, and <strong>Post each round's results</strong> if results should go back to the system each check came from.</li>
592
+ <li>Under <strong>When to alert</strong>, set <strong>Failing rounds before the first alert</strong>, <strong>Remind while it keeps failing</strong>, <strong>Where rounds are published</strong>, <strong>Rounds kept</strong> and <strong>Round folder</strong>.</li>
593
+ <li>Under <strong>Alerts</strong>, turn on <strong>Microsoft Teams</strong> and fill in <strong>Webhook address</strong>, or turn on <strong>Email</strong> and fill in <strong>Mail server</strong>, <strong>Port</strong>, <strong>User name variable</strong>, <strong>Password variable</strong>, <strong>From</strong> and <strong>To</strong>. Press <strong>Test</strong> under each to send a test message.</li>
594
+ </ol>
595
+ <p>Settings are saved as you change them.</p>
596
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
597
+ <p>Add <code>monitor:</code> to <code>forgeqe.yaml</code>:</p>
598
+ <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">monitor:
599
+ </span></span><span class="ln"><span class="cmd"> checks: [checks/smoke.yaml]
600
+ </span></span><span class="ln ln--pair"><span class="cmd"> every: 15m</span><span class="pad"> </span><span class="cm"><span class="h">#</span> 30s, 15m, 1h, 1h30m; at least 10s
601
+ </span></span><span class="ln ln--pair"><span class="cmd"> replay: verify</span><span class="pad"> </span><span class="cm"><span class="h">#</span> verify | trust | off
602
+ </span></span><span class="ln"><span class="cmd"> parallel: 1
603
+ </span></span><span class="ln ln--pair"><span class="cmd"> fail_after: 1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> failing rounds in a row before the first alert
604
+ </span></span><span class="ln ln--pair"><span class="cmd"> remind_every: 2h</span><span class="pad"> </span><span class="cm"><span class="h">#</span> repeat while it keeps failing; default: never
605
+ </span></span><span class="ln ln--pair"><span class="cmd"> keep: 100</span><span class="pad"> </span><span class="cm"><span class="h">#</span> round folders kept
606
+ </span></span><span class="ln ln--pair"><span class="cmd"> write_back: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> post each round's results to the source system
607
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> out_dir: ./.forgeqe/reports/monitor
608
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> report_url: https://reports.example.com/monitor
609
+ </span></span><span class="ln"><span class="cmd"> alerts:
610
+ </span></span><span class="ln"><span class="cmd"> teams:
611
+ </span></span><span class="ln"><span class="cmd"> webhook_env: TEAMS_WEBHOOK_URL
612
+ </span></span><span class="ln"><span class="cmd"> email:
613
+ </span></span><span class="ln ln--pair"><span class="cmd"> host: smtp.office365.com</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or SMTP_HOST
614
+ </span></span><span class="ln ln--pair"><span class="cmd"> port: 587</span><span class="pad"> </span><span class="cm"><span class="h">#</span> STARTTLS; 465 is TLS from the start (secure: true)
615
+ </span></span><span class="ln"><span class="cmd"> username_env: SMTP_USERNAME
616
+ </span></span><span class="ln"><span class="cmd"> password_env: SMTP_PASSWORD
617
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> from: ForgeQE &lt;qa-bot@example.com&gt;
618
+ </span></span><span class="ln"><span class="cmd"> to: [qa-team@example.com, oncall@example.com]
619
+ </span></span></code></pre></div>
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 monitor --test-alerts</span><span class="pad"> </span><span class="cm"><span class="h">#</span> send a sample alert through every channel
621
+ </span></span></code></pre></div>
622
+ </div></div><p><strong>Running the monitor.</strong></p>
623
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
624
+ <ol>
625
+ <li>Open <strong>Jobs</strong> (under <strong>Agents</strong>). While the monitor is not scheduled, the page says <strong>The monitor in forgeqe.yaml is not scheduled</strong>.</li>
626
+ <li>Press <strong>Schedule</strong>. The <strong>Add a job</strong> form opens with the monitor filled in.</li>
627
+ <li>Press <strong>Add</strong>. The job runs one round each time it is due, with the page closed too. Open the job to see its <strong>Latest rounds</strong>.</li>
628
+ </ol>
629
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
630
+ <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 monitor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> monitor.checks every monitor.every, until Ctrl+C
631
+ </span></span><span class="ln"><span class="cmd">forgeqe monitor checks/checkout.yaml --every 5m
632
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe monitor --once</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one round, then exit (cron, scheduled pipelines)
633
+ </span></span></code></pre></div>
634
+ </div></div><p><strong>Each round</strong> runs the checks like a suite, without writing tests, and replays the flows from page memory (section 5). A flow that passed before costs one model call to confirm the expected results (<code>replay: verify</code>), or none (<code>replay: trust</code>, which trusts the replay without checking). A new or changed flow is worked out by the agent again. Rounds start <code>every</code> apart; a round that overruns is followed by the next one straight away.</p>
635
+ <p><strong>Alerts</strong> go out when something changes, not every round:</p>
636
+ <ul>
637
+ <li>A check that fails <code>fail_after</code> rounds in a row gets an alert. With <code>fail_after: 2</code> a single flaky failure is never reported.</li>
638
+ <li>While it keeps failing, nothing more is sent, unless <code>remind_every</code> is set.</li>
639
+ <li>When it passes again, a recovery alert says how long it was down.</li>
640
+ <li>A round that cannot run at all (a test system is down, a source is empty, the browser will not start) alerts as the check &quot;ForgeQE monitor&quot;, and the other checks keep their state.</li>
641
+ </ul>
642
+ <p>All changes in one round go out as one message. Teams gets a card with each check, why it failed and at which step, a link to the test case, and an <strong>Open report</strong> button. Email gets the same as text and HTML, with the failing checks' last screenshots attached (up to five).</p>
643
+ <p><strong>Teams and email.</strong> For Teams, create a Workflows flow on the channel with the trigger &quot;When a Teams webhook request is received&quot; and the action &quot;Post card in a chat or channel&quot;, or an incoming webhook where your tenant still allows them. Put its URL in <code>TEAMS_WEBHOOK_URL</code> (or the <strong>Webhook address</strong> field). For email, any SMTP server works: Office 365 (<code>smtp.office365.com:587</code>, with SMTP AUTH allowed for the mailbox), Gmail with an app password, SendGrid, or a relay on your network (no username needed). The webhook URL and the SMTP password stay in the environment or the credential store; if a send fails, the error never contains them.</p>
644
+ <p><strong>In the terminal</strong>, the monitor shows one block per round:</p>
645
+ <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">Monitoring checks/smoke.yaml every 15m · replay verify · alerts: Teams, email to qa-team@example.com · Ctrl+C stops
646
+ </span></span><span class="ln"><span class="cmd">[14:15] ✗ 4/5 passing · 38s · 6.2K tokens
647
+ </span></span><span class="ln"><span class="cmd"> ✗ SHOP-12 Checkout: failing since 14:15
648
+ </span></span><span class="ln"><span class="cmd"> The Pay button is missing on the payment page
649
+ </span></span><span class="ln"><span class="cmd"> ↑ Alert sent: Teams, email
650
+ </span></span><span class="ln"><span class="cmd"> Report .forgeqe/reports/monitor/20260929-141500/report.html
651
+ </span></span><span class="ln"><span class="cmd"> Next round at 14:30
652
+ </span></span><span class="ln"><span class="cmd">[14:30] ✗ 4/5 passing · 35s · 5.9K tokens
653
+ </span></span><span class="ln"><span class="cmd"> ✗ SHOP-12 Checkout: failing since 14:15 (2 rounds, already alerted)
654
+ </span></span><span class="ln"><span class="cmd"> Report .forgeqe/reports/monitor/20260929-143000/report.html
655
+ </span></span><span class="ln"><span class="cmd"> Next round at 14:45
656
+ </span></span></code></pre></div>
657
+ <p><strong>Files.</strong> Each round is a suite folder in <code>.forgeqe/reports/monitor/&lt;time&gt;/</code> (<code>report.html</code>, <code>junit.xml</code>, <code>suite.json</code>, the runs, and <code>alerts.json</code> when it alerted), so the report's trends and flaky tests cover the rounds. Folders beyond <code>keep</code> are deleted. <code>state.json</code> in <code>.forgeqe/reports/monitor/</code> remembers which checks are failing, since when, and when they were last alerted; delete it to start fresh. Set <code>report_url</code> to where you publish <code>.forgeqe/reports/monitor/</code>, and alerts link <code>&lt;report_url&gt;/&lt;round&gt;/report.html</code>; without it they name the local file.</p>
658
+ <p><strong>Scheduling from the terminal.</strong> Run <code>forgeqe monitor</code> in a long-lived session (tmux, a service, a container), or <code>forgeqe monitor --once</code> from cron or a scheduled pipeline, or add it as a job (below). <code>--once</code> exits <code>0</code> when every check passed, <code>1</code> when any failed, and <code>2</code> when stopped. In a pipeline, cache <code>.forgeqe/reports/monitor/state.json</code> between runs; without it every run starts fresh, and a failure alerts every time. Only one monitor can use an <code>out_dir</code> at a time, so an overlapping cron run exits instead of racing.</p>
659
+ <p><strong>Asking the agent in the shell.</strong> &quot;Check the smoke cases once&quot; runs one round and shows it as a card. &quot;Monitor the smoke cases every 10 minutes&quot; starts a monitor in the background: you keep working, each round appears as a card, &quot;is anything failing?&quot; shows the state, and &quot;stop monitoring&quot; ends it. A background monitor lives as long as the shell (or <code>forgeqe mcp</code>) and stops when it closes; <code>forgeqe run</code> refuses to start one, because it would stop when the command exits. While one is running, a one-off round on the same <code>out_dir</code> is refused rather than run twice. For monitoring that keeps going after you close the shell, &quot;monitor the smoke cases every 10 minutes and alert the QA channel in Teams, always on&quot; makes the agent set up <code>monitor:</code> in <code>forgeqe.yaml</code>, send a test alert, and tell you how to keep the monitor running (or add a scheduled pipeline).</p>
660
+ </div>
661
+ </section>
662
+ </div>
663
+ <article class="spec feat" id="cap-jobs">
664
+ <div class="hd"><span class="mono">Operations</span><h3>Background jobs on a schedule</h3></div>
665
+ <p class="ds">Runs ForgeQE commands (suites, monitor rounds, regression packs, healing, pull-request tests, browser goals) on a schedule or once in the jobs service, apart from the conversation and after it closes, and watches an existing GitHub Actions or Azure DevOps pipeline (read-only). A failed pipeline run or pack run is investigated: the healing agent works on each failure on a local branch of its own (a fix for review, or an app bug), never pushing. Says how each job goes when asked, shows runs as they end, and sends failures, recoveries and findings to Teams or email.</p>
666
+ <div class="facts">
667
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Run the release-2.3 pack every weekday at 2am in the background</li><li>Watch the pipeline in the background and investigate failures</li><li>How are my jobs doing?</li></ul></div>
668
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>A notification channel: notify.channels in forgeqe.yaml, each a Teams Workflows webhook (in an environment variable) or email</span></li></ul></div>
669
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>jobs</code></p></div>
670
+ </div>
671
+
672
+ </article>
673
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell">
674
+ <h4>The jobs service: scheduled and long jobs apart from the shell</h4>
675
+ <div class="prose"><p>Jobs run ForgeQE commands on a schedule, or once, in a service of their own, so they keep going while you do something else, with the shell or the web app closed. Each run has its own output and session log; you can see how a job is going at any time, and its failures and recoveries go to Teams.</p>
676
+ <p><strong>Adding a job.</strong></p>
677
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
678
+ <ol>
679
+ <li>Open <strong>Jobs</strong> (under <strong>Agents</strong>).</li>
680
+ <li>On the <strong>Agent</strong> tab, say what should run and when (&quot;run the release-2.3 pack every weekday at 2am&quot;). The agent asks for what it still needs, shows the job, and adds it once you confirm its exact command and schedule.</li>
681
+ <li>Or, on the <strong>Jobs</strong> tab, press <strong>Add</strong> to fill in the form yourself: <strong>Name</strong> (letters, digits and dashes), <strong>Runs</strong> (the command), <strong>With</strong> (its sources and flags, as you would type them after the command), <strong>When</strong> (<strong>Every</strong> and an interval, <strong>On a schedule (cron, this machine's time)</strong>, or <strong>Once, now</strong>) and <strong>Tell the team</strong>. Press <strong>Add</strong>.</li>
682
+ <li>Open a job from the table for its runs and output. <strong>Run</strong> starts it now, <strong>Stop</strong> stops the run that is going, the <strong>Enabled</strong> switch turns it off and on, and <strong>Remove</strong> deletes it with its runs and logs. <strong>Ask</strong> asks the agent how the job is doing.</li>
683
+ </ol>
684
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
685
+ <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 jobs add nightly-pack --cron &quot;0 2 * * 1-5&quot; -- pack run release-2.3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> weekdays at 02:00, this machine's time
686
+ </span></span><span class="ln"><span class="cmd">forgeqe jobs add smoke --every 30m -- suite checks/smoke.yaml
687
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs add heal-login --now -- heal --focus login</span><span class="pad"> </span><span class="cm"><span class="h">#</span> once, now
688
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every job: running or how its last run ended, and when it runs next
689
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs status nightly-pack</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its last runs, and the last lines of the latest
690
+ </span></span><span class="ln"><span class="cmd">forgeqe jobs logs nightly-pack --tail 100
691
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs run nightly-pack</span><span class="pad"> </span><span class="cm"><span class="h">#</span> run it now as well
692
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs stop nightly-pack</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop the run that is going
693
+ </span></span><span class="ln"><span class="cmd">forgeqe jobs disable|enable|remove nightly-pack
694
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe jobs shutdown</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop the service; scheduled jobs wait until it starts again
695
+ </span></span></code></pre></div>
696
+ <p>In the shell you can also ask: &quot;run the release-2.3 pack every weekday at 2am in the background&quot; makes the agent propose the job, and ForgeQE asks you to agree to its exact command and schedule (<strong>Add the job</strong> / <strong>Don't add it</strong>). When a job's run ends, a line says so in the conversation (&quot;Job nightly-pack failed: …&quot;), and &quot;how are my jobs?&quot; or &quot;show the end of the nightly-pack log&quot; get answers. The agent adds a job only when you ask for one.</p>
697
+ </div></div><p><strong>What a job runs.</strong> One ForgeQE command: <code>suite</code>, <code>monitor</code>, <code>run</code>, <code>heal</code>, <code>pr-tests</code>, <code>pack run</code>, <code>pack triage</code> or <code>pipeline watch</code>, with its arguments. Nobody is there to answer a question while a job runs, so a <code>run</code> job is a browser run of the goal (<code>--direct</code>), and a <code>pack run</code> job carries <code>--yes</code>: adding the job is your approval, and the command you agree to shows it. A job runs with the project's own <code>forgeqe.yaml</code>, model profile and approvals: it cannot set <code>--config</code>, <code>--profile</code> or <code>--yes</code>, and nothing else is started (no shell, no other program). A <code>monitor</code> job runs one round each time it is due (<code>--once</code>) and sends its own <code>monitor.alerts</code>, so the job itself is quiet unless you turn its notices on.</p>
698
+ <p><strong>When it runs.</strong> <code>--every 15m</code> (at least 1m), <code>--cron &quot;0 2 * * 1-5&quot;</code> (minute hour day month weekday, local time), or neither: it runs when asked, and adding it starts it at once. <code>--now</code> also runs a scheduled job straight away. A run missed while the service was down starts once when it is back. When several are due, the one that has waited longest goes first.</p>
699
+ <p><strong>How many at once.</strong> <code>jobs.parallel</code> in <code>forgeqe.yaml</code> (default 2) runs at once over all jobs, and never two runs of one job. A run past <code>--timeout</code> (default 6h, at most 24h) is stopped and marked timed out.</p>
700
+ <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">jobs:
701
+ </span></span><span class="ln"><span class="cmd"> parallel: 2
702
+ </span></span></code></pre></div>
703
+ <p><strong>The service.</strong> Adding or running a job starts the service when it is not running, as a process of its own that outlives the command, the shell and the web app; <code>forgeqe jobs serve</code> runs it in the foreground (for a container or a system service). There is one per project on this machine, until you stop it or the machine restarts. It listens on 127.0.0.1 only, with a random token kept in your own ForgeQE folder (<code>~/.forgeqe/jobs/</code>, readable by your user only, never in the project), and refuses requests from web pages. A second service for the same project is refused. <code>.forgeqe/jobs/</code> and <code>.forgeqe/pipelines/</code> get their own <code>.gitignore</code>, so runs and logs are never committed.</p>
704
+ <p><strong>Files.</strong> <code>.forgeqe/jobs/&lt;job&gt;/job.json</code> and, for each of its last 50 runs, <code>runs/&lt;run&gt;/run.json</code> and <code>output.log</code>; <code>.forgeqe/jobs/events.jsonl</code> lists what happened; <code>.forgeqe/jobs/service.log</code> is the service's own output. A run that was going when the service stopped is marked interrupted.</p>
705
+ <p><strong>Watching a CI pipeline.</strong> <code>forgeqe jobs add ci --every 10m -- pipeline watch --github org/app --workflow ci.yml --branch main</code> (or <code>--ado-project Shop --pipeline 12</code>) looks at the pipeline's latest completed run each time, read-only: it starts, re-runs and changes nothing. A new failed run is triaged like a pack's (the JUnit or TRX files in its artifacts on GitHub, the test runs on Azure DevOps; without results, the job and step that failed), in <code>.forgeqe/reports/pipelines/</code>. The job fails while the latest run is failed, so the team hears once when the pipeline breaks and once when it is green again; a cancelled run changes nothing. <code>forgeqe pipeline watch …</code> on its own does one look. GitHub needs the <code>gh</code> CLI signed in; Azure DevOps the same sign-in as the rest of ForgeQE.</p>
706
+ <p><strong>Investigating failures.</strong> When a <code>pipeline watch</code> or <code>pack run</code> job fails, the failures that healing can decide (an element not found, an expected value that does not hold; not the environment, flaky tests or broken test code, and nothing while the environment is down) are investigated, at most 3 a run, <code>jobs.parallel</code> at once.</p>
707
+ <ul>
708
+ <li>Each goes to the healing agent in a separate git worktree, on a new local branch <code>forgeqe/investigate/&lt;test&gt;-&lt;time&gt;-&lt;n&gt;</code>, from the commit the failing run tested when this clone has it (fetched when it can be, else <code>HEAD</code>, which the finding says).</li>
709
+ <li>The agent re-runs the flow in the browser. When the flow works, it heals the test, and the fix is committed on that branch for you to review. When the browser fails at the same step, it is an app bug, and no branch is kept.</li>
710
+ <li>Your checkout, its branch and its files are never touched; nothing is pushed or merged; the worktree is removed at the end. <code>node_modules</code>, <code>.venv</code> and <code>venv</code> from your checkout are linked into the worktree so the tests can run, and never committed.</li>
711
+ <li>The failure is told at once (<code>job_failed</code>), the findings when they are in (<code>job_investigated</code>). The job's page in the web app and <code>forgeqe jobs status</code> list them; <code>.forgeqe/jobs/&lt;job&gt;/runs/&lt;run&gt;/investigations.json</code> and <code>investigate.log</code> have the detail. <code>forgeqe investigate &lt;run folder&gt;</code> runs an investigation by hand, and <code>--no-investigate</code> turns it off for a job.</li>
712
+ </ul>
713
+ <p><strong>Notices.</strong> With notification channels set up (section 17), a job that fails sends <code>job_failed</code> once (not every run while it keeps failing), <code>job_recovered</code> when it passes again, and a job that runs only when asked sends <code>job_done</code> when it ends. Turn <strong>Tell the team</strong> off in the web app, or add the job with <code>--no-notify</code>, to keep it quiet.</p>
714
+ <p><strong>On company machines.</strong> Nothing here needs administrator rights:</p>
715
+ <div class="tbl tbl--cols-2"><table>
716
+ <thead>
717
+ <tr><th>What</th><th>Needs</th></tr>
718
+ </thead>
719
+ <tbody>
720
+ <tr><td data-label="What">The jobs service</td><td data-label="Needs">Runs as you, in your project and your ForgeQE folder. It listens on 127.0.0.1 only, so no firewall rule is needed. Endpoint security may see a background process from ForgeQE's install folder, which IT can allow. Jobs pause while the machine sleeps or is off, and a missed run starts once when it is back. For always-on jobs, run <code>forgeqe jobs serve</code> on a VM or build agent under its service manager (systemd, a Windows Task Scheduler task &quot;at log on&quot;, which needs no administrator, or a container).</td></tr>
721
+ <tr><td data-label="What"><code>pipeline watch</code> on GitHub</td><td data-label="Needs">The <code>gh</code> CLI signed in (<code>gh auth login</code>) with read access to the repository's Actions. A fine-grained token needs Actions: read and Contents: read; with SAML single sign-on, authorize the token for the organization. GitHub Enterprise Server: <code>--github host/owner/repo</code> and <code>gh auth login --hostname host</code>.</td></tr>
722
+ <tr><td data-label="What"><code>pipeline watch</code> on Azure DevOps</td><td data-label="Needs">The Azure DevOps sign-in ForgeQE already uses (<code>forgeqe auth login azure_devops</code>, or a token in <code>ADO_PAT</code>) with Build: read and Test Management: read. Azure DevOps Server works through its collection URL.</td></tr>
723
+ <tr><td data-label="What">Investigating failures</td><td data-label="Needs">git, read access to fetch the failing commit, the tests' dependencies installed in your checkout, and a model: a key-based profile, or GitHub Copilot where the organization's policy allows it. Branches are local; nothing is pushed.</td></tr>
724
+ <tr><td data-label="What">Teams notices</td><td data-label="Needs">A Workflows webhook (&quot;post to a channel when a webhook request is received&quot;), or an incoming webhook where the tenant still allows them; where neither is allowed, email.</td></tr>
725
+ <tr><td data-label="What">Proxy and inspected HTTPS</td><td data-label="Needs">The same as the rest of ForgeQE (see <a href="../index.html">Company networks</a>); <code>gh</code> uses <code>HTTPS_PROXY</code>. <code>forgeqe doctor</code> checks the machine and the network.</td></tr>
726
+ </tbody>
727
+ </table></div>
728
+ <p>On Windows, the dependency folders are linked into worktrees as junctions (no administrator or developer mode needed), a stopped run ends at once rather than being asked to finish, and the token file is protected by your user profile's permissions.</p>
729
+ </div>
730
+ </section>
731
+ </div>
732
+ <article class="spec feat" id="cap-custom-agents">
733
+ <div class="hd"><span class="mono">Operations</span><h3>Your team's custom agents</h3></div>
734
+ <p class="ds">Hands a request to one of the team's custom agents: ForgeQE's agent configured for one job in .forgeqe/agents, held in code to the environments, tools and actions its approved version allows. It runs in a session of its own and answers with its reply; each run is kept in the agent's history. Also makes a new one with the user from what it is for: it picks what the agent needs from what the project has, says why, and saves a draft when the user agrees.</p>
735
+ <div class="facts">
736
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask our custom agent checkout-guard to check the basket on QA</li><li>Which custom agents do we have?</li><li>Make an agent that checks the checkout on QA every night</li></ul></div>
737
+ <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>
738
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A custom agent runs only a version a person approved (forgeqe agent approve), and does only what that version allows; it cannot hand work to another custom agent.</li><li>ForgeQE's agent drafts and saves an agent only after the user agrees; it never approves one.</li></ul></div>
739
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>custom_agent</code> <code>request_approval</code> <code>hand_to_agent</code> <code>remember</code> <code>recall</code></p></div>
740
+ </div>
741
+
742
+ </article>
743
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-custom-agents">
744
+ <h4>Custom agents</h4>
745
+ <div class="prose"><p>A custom agent is ForgeQE's agent configured by your team for one job, kept in the repository as
746
+ <code>.forgeqe/agents/&lt;id&gt;.yaml</code> (its manifest). It uses ForgeQE's own agents, capabilities, skills, knowledge and
747
+ environments, and is held, on every tool call, to what its manifest allows:</p>
748
+ <ul>
749
+ <li>which environments and addresses it works on, which capabilities it has, and which agents it may start;</li>
750
+ <li>which kinds of action it may take (read, run, change, external), and which a person approves first.</li>
751
+ </ul>
752
+ <p>An environment named like production is never allowed unless the manifest gives it (see below). The agent has no shell,
753
+ web fetch or web search unless its manifest says <code>shell: true</code>, and then a person approves each command. It uses only
754
+ the other systems <code>scope.systems</code> names. Writing and healing tests start a coding agent, which a person approves at each
755
+ call unless <code>permissions.trust</code> lists it.</p>
756
+ <p><strong>Making an agent.</strong></p>
757
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
758
+ <ol>
759
+ <li>Open <strong>Agents › Custom agents › Make an agent</strong> (or press <strong>New</strong> on the Agents page).</li>
760
+ <li>Say what the agent should do in your own words. The agent builder takes you through its steps, one page each:
761
+ <ul>
762
+ <li><strong>Understand</strong>: what it could not work out, with what it recommends and why;</li>
763
+ <li><strong>Plan</strong>: how the agent will work, and whether each part is set up here;</li>
764
+ <li><strong>Boundaries</strong>: where it works and what it may do, least privilege first; production never;</li>
765
+ <li><strong>Knowledge</strong>: what it should know: the project's knowledge that fits, and notes that become its own;</li>
766
+ <li><strong>Review</strong>: its name and first request; saving makes it a draft;</li>
767
+ <li><strong>Try</strong>: try it, then approve it.</li>
768
+ </ul>
769
+ </li>
770
+ <li>A draft can be picked up again later. Every setting by hand is under <strong>Advanced settings</strong>.</li>
771
+ </ol>
772
+ <p>The builder offers starters (defect retest, nightly smoke, pull request test check, release readiness, API contracts,
773
+ test case quality): a request to begin from, planned from what your project has. Under <strong>Or start from a template</strong>, a
774
+ template opens in the editor filled from this project, with what it brings and why; nothing is saved until you press
775
+ <strong>Save</strong>. A template that cannot be used here yet says why. To copy an existing agent, press <strong>Duplicate</strong> on its page.</p>
776
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
777
+ <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 agent new cloud-verifier</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a draft from a template, filled from this project (--envs qa,uat to pick)
778
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent copy &lt;id&gt; [&lt;new-id&gt;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a new draft with another agent's settings, at 1.0.0
779
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent check &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what it may reach, what its capabilities still need, what changed
780
+ </span></span></code></pre></div>
781
+ <p>The templates are <code>smoke-check</code>, <code>defect-retest</code>, <code>flaky-triage</code>, <code>release-readiness</code>, <code>pr-test-reviewer</code> and
782
+ <code>cloud-verifier</code>.</p>
783
+ </div></div><p><strong>A manifest.</strong></p>
784
+ <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">id: checkout-guard
785
+ </span></span><span class="ln"><span class="cmd">name: Checkout guard agent
786
+ </span></span><span class="ln"><span class="cmd">version: 1.0.0
787
+ </span></span><span class="ln"><span class="cmd">description: Watches the checkout on QA and explains what broke.
788
+ </span></span><span class="ln"><span class="cmd">instructions: Focus on the basket, payment and order confirmation.
789
+ </span></span><span class="ln"><span class="cmd">scope:
790
+ </span></span><span class="ln"><span class="cmd"> agents: [engine, forgeqe-heal]
791
+ </span></span><span class="ln"><span class="cmd"> capabilities: [browser-goals, regression-packs]
792
+ </span></span><span class="ln"><span class="cmd"> environments: [qa]
793
+ </span></span><span class="ln"><span class="cmd">permissions:
794
+ </span></span><span class="ln"><span class="cmd"> actions: [read, run]
795
+ </span></span><span class="ln"><span class="cmd"> approve: [run]
796
+ </span></span></code></pre></div>
797
+ <p><strong>The agents it may start.</strong> They are checked on every call, including the ones a tool starts for it: writing a test
798
+ starts <code>forgeqe-test</code> (and, from a recording, <code>forgeqe-test-plan</code>); asking for test data starts Miner (<code>forgeqe-data</code>);
799
+ the product knowledge tool starts <code>forgeqe-investigate</code> to answer a question and <code>forgeqe-knowledge</code> to read the product
800
+ with the model. A run that finds a new defect explains it with <code>forgeqe-defect-rca</code> only when the agent may use it;
801
+ otherwise the run goes ahead with the analysis that uses no model. <code>forgeqe agent check</code> and the editor say what each
802
+ capability needs.</p>
803
+ <p><strong>Its voice.</strong> <code>voice: { sound: light }</code> (or <code>deep</code>) sets how the agent sounds when you talk with it in its chat; without
804
+ it, it speaks in ForgeQE's own voice. The editor's <strong>Voice</strong> choice (<strong>Default</strong>, <strong>Light</strong>, <strong>Deep</strong>) writes it. ForgeQE
805
+ picks the voice from the speech set up on that computer.</p>
806
+ <p><strong>Approving a version.</strong> What runs is a version a person approved. Editing the manifest changes nothing that runs: the
807
+ agent shows as changed, keeps running its approved version, and the change waits for approval. Approvals, with every
808
+ disabling and rollback, are kept in <code>.forgeqe/agents/.releases/&lt;id&gt;</code>, so the team reviews them with the code, and the
809
+ audit log keeps every change. Approving, disabling, enabling and rolling back each need the agent's id typed.</p>
810
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
811
+ <ol>
812
+ <li>Open the agent's page under <strong>Agents › Custom agents</strong>.</li>
813
+ <li>Press <strong>Try</strong> to try the manifest as it is now.</li>
814
+ <li>Under <strong>Details</strong>, <strong>Versions</strong>, press <strong>Approve</strong> and type the agent's id. The approve dialog lists what the version
815
+ may do, each line marked <strong>New</strong>, <strong>Changed</strong> (with what it was) or <strong>No longer</strong> against the version that runs.</li>
816
+ <li><strong>Disable</strong> or <strong>Enable</strong> it there, open any approved version to read it, or <strong>Roll back</strong> to one.</li>
817
+ <li>A change waiting for approval can be thrown away with <strong>Discard the change</strong>.</li>
818
+ <li>To disable or enable several at once, press <strong>Select agents</strong> on <strong>Agents › Custom agents</strong>.</li>
819
+ </ol>
820
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
821
+ <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 agent list</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each agent and its state: draft, active, changed, disabled, broken
822
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent try &lt;id&gt; &quot;request&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the manifest as it is now: read and run only, every run asked first
823
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent approve &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person at the terminal approves this exact version
824
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent run &lt;id&gt; &quot;request&quot;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its approved version
825
+ </span></span><span class="ln"><span class="cmd">forgeqe agent disable &lt;id&gt; | enable &lt;id&gt;
826
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent rollback &lt;id&gt; &lt;version&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an earlier approved version runs again
827
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent discard &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> throw away the change waiting for approval
828
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent history &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its versions and its runs, with every tool call and the policy's decision
829
+ </span></span></code></pre></div>
830
+ </div></div><p><strong>Its record.</strong> An agent's whole record (versions, runs, tool calls and decisions) can be downloaded as JSON lines for
831
+ audit.</p>
832
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
833
+ <ol>
834
+ <li>Open the agent's page.</li>
835
+ <li>Press <strong>Download</strong>.</li>
836
+ </ol>
837
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
838
+ <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 agent export &lt;id&gt; --out a.jsonl
839
+ </span></span></code></pre></div>
840
+ </div></div><p><strong>Sharing an agent.</strong> Teams in the same repository commit <code>.forgeqe/agents</code> (and <code>.releases</code> after approving). A pack is
841
+ a shareable zip (the agent, its knowledge files and skills) for another project or computer; it is imported as a draft
842
+ that the recipient tries and approves. Environments and systems are not in the pack.</p>
843
+ <p><strong>The agent library.</strong> The agent library is a folder in ForgeQE's home (<code>agent-library/</code>) that every project on this
844
+ computer reads.</p>
845
+ <ul>
846
+ <li>Only an approved version is published, packed from its approved copy (an edit not yet approved stays out), as
847
+ <code>&lt;id&gt;@&lt;version&gt;.forgeqe-agent.zip</code>.</li>
848
+ <li>A version already there is never replaced, so publish a new version for a change.</li>
849
+ <li>Anything on the computer can put a file there, so it is checked: one whose pack names another agent or version is
850
+ listed with that problem and cannot be installed.</li>
851
+ <li>Installing goes through the same checks as importing a pack, and makes a draft that a person tries and approves in that
852
+ project.</li>
853
+ </ul>
854
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
855
+ <ol>
856
+ <li>On the agent's page, press <strong>Export to share</strong> for a zip, or <strong>Publish</strong> to put its approved version in your library.</li>
857
+ <li>On <strong>Agents › Custom agents</strong>, press <strong>Import agent</strong> to import a zip, or <strong>From your library</strong> to install a library
858
+ entry as a draft.</li>
859
+ </ol>
860
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
861
+ <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 agent pack &lt;id&gt; --out a.zip</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a shareable zip: agent.json + knowledge files + skills
862
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent import a.zip [--id new]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> import that zip as a draft to edit and approve
863
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent publish &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its approved version into this computer's agent library
864
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent library [--remove &lt;entry&gt;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what the library holds; taking one out asks for its name typed
865
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent install &lt;entry&gt; [--id new]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a library entry as a draft here
866
+ </span></span></code></pre></div>
867
+ </div></div><p><strong>Starting from the cloud verifier template.</strong> The cloud verifier checks, after a test run, that what the run should
868
+ have done in the cloud happened (a message on a queue, an object written, a row in a table, a function invoked), and
869
+ changes nothing. It is filled from this project: the clouds of <code>integrations:</code> whose server can start here, and the test
870
+ environments that have <code>cloud:</code> in env.yaml (<code>--envs qa,uat</code> to pick; never one named like production). It reads, with
871
+ no agent to start and no capability beyond the core. A cloud whose reading tool is not marked read-only (Google Cloud's
872
+ gcloud tool, or Azure or AWS with <code>read_only: false</code>) also needs <code>external</code>: ForgeQE then asks a person before each of its
873
+ calls, and the draft says so. Like any draft, it runs only once a person approves it; read it first.</p>
874
+ <p><strong>What it may be given.</strong> A custom agent may be given anything ForgeQE's agent has: every capability, other systems'
875
+ tools, the coding agent, jobs, ForgeQE's own commands and settings, the shell (<code>permissions.shell: true</code>), and
876
+ production. What goes beyond its limits call by call (the coding agent, ForgeQE commands and settings, a shell command,
877
+ a change in production) is approved by a person each time. A tool ForgeQE adds later reaches custom agents at once,
878
+ asking a person at each call until it says what it does.</p>
879
+ <p><strong>In production</strong>, what a call does decides:</p>
880
+ <ul>
881
+ <li>A read goes ahead without asking.</li>
882
+ <li>A run (a browser run, a test, an API call) is asked unless <code>permissions.production: [run]</code> says otherwise.</li>
883
+ <li>Every change is asked, on a schedule too, where it waits for a person and the team is told.</li>
884
+ <li>A question about a read or a run offers <strong>Allow for the rest of this run</strong> (that tool, in that environment); a change
885
+ is asked each time.</li>
886
+ <li>The agent also asks you itself before a step there that could reach real customers, such as an order or a payment. It
887
+ can add a question, never skip one.</li>
888
+ </ul>
889
+ <p><strong>Trusting a tool.</strong> <code>permissions.trust</code> lifts ForgeQE's own question where you choose:</p>
890
+ <ul>
891
+ <li><code>external</code> lets the agent change other systems without asking.</li>
892
+ <li>A coding agent's tool (<code>write_test</code>, <code>heal_tests</code>, <code>write_api_tests</code>) lets it write and heal tests without asking. The
893
+ tests a coding agent runs can reach any address, so before such a call ForgeQE looks in the test project's config and
894
+ env files (<code>playwright.config.*</code>, <code>.env*</code>, <code>*.yaml</code> and the like), its tests (<code>*.spec.ts</code>, <code>test_*.py</code>,
895
+ <code>*Test.java</code>, <code>.feature</code> files…) and the code in its test folders (page objects, fixtures, helpers). It asks after all
896
+ when they name an address of an environment the agent does not have. An address built at run time from pieces is not
897
+ seen.</li>
898
+ <li>A change in production, ForgeQE's own commands and settings, and jobs are always asked.</li>
899
+ <li>With nobody watching, a trusted tool still runs only when <code>permissions.unattended</code> lists it.</li>
900
+ </ul>
901
+ <p><strong>Schedules.</strong> An agent with a <code>schedule</code> (<code>every: 1d</code> or <code>cron: &quot;0 7 * * 1-5&quot;</code>, and the <code>request</code> it is given) runs as a
902
+ job once approved, always its approved version; disabling it pauses the job.</p>
903
+ <ul>
904
+ <li>With nobody watching, it does without asking only what <code>permissions.unattended</code> lists (kinds of action, or tools by
905
+ name), and in production only reads, and runs if <code>permissions.production</code> lists them.</li>
906
+ <li>Anything else, and anything it judges should be a person's decision, waits for a person: the team's channels are told
907
+ (<code>agent_waiting</code>), and the agent's page shows it with <strong>Allow</strong>, <strong>Deny</strong> and, for a read or a run, <strong>Allow for the
908
+ rest of this run</strong>. No answer in four hours is a no.</li>
909
+ <li>One run nobody watches of an agent goes at a time: a schedule that fires while the last run still waits does not start,
910
+ and its history says so.</li>
911
+ </ul>
912
+ <p><strong>Answering a waiting approval.</strong></p>
913
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
914
+ <ol>
915
+ <li>Open the agent's page.</li>
916
+ <li>Press <strong>Allow</strong>, <strong>Deny</strong> or <strong>Allow for the rest of this run</strong>.</li>
917
+ </ol>
918
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
919
+ <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 agent run &lt;id&gt; &quot;request&quot; --unattended</span><span class="pad"> </span><span class="cm"><span class="h">#</span> as a schedule runs it: what it may not do alone waits for a person
920
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent approvals [&lt;id&gt;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what agents running with nobody watching wait for
921
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent approvals &lt;id&gt; &lt;approval&gt; allow</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or allow_run, deny
922
+ </span></span></code></pre></div>
923
+ </div></div><p><strong>Limits on a run.</strong></p>
924
+ <ul>
925
+ <li><code>runtime.max_tokens</code> sets a budget per run: the run stops when it has used that many model tokens. When someone is
926
+ watching (<code>forgeqe agent run</code> in a terminal, a chat, the agent's page), the run asks first: carry on with as much again
927
+ (each yes is in its history), or stop. A run nobody watches is never asked, and stops.</li>
928
+ <li><code>runtime.max_minutes</code> stops a run that takes longer; a run nobody watches (a schedule, a trigger, another agent) stops
929
+ after 120 minutes when it sets none.</li>
930
+ </ul>
931
+ <p><strong>Notices.</strong> When a run nobody watches ends, the team's channels that take <code>agent_failed</code> hear when it did not finish.
932
+ With <code>runtime.notify: always</code>, the ones that take <code>agent_done</code> hear when it did; <code>never</code> tells nothing. The notice says the
933
+ outcome, how many calls its limits refused and how many steps a person did not approve, and where to read the run; it
934
+ never quotes the agent's reply. <code>runtime.channels: [qa-team]</code> sends its notices, and its approval questions on a run
935
+ nobody watches, only to those channels of <code>notify.channels</code> (each still only for the events it takes); unset, every
936
+ channel that takes them gets them. A channel the project does not have makes the manifest invalid.</p>
937
+ <p><strong>Triggers.</strong> <code>triggers</code> start its approved version by itself when something happens in ForgeQE, with nobody watching,
938
+ as a schedule does (<code>permissions.unattended</code> says what it may do alone):</p>
939
+ <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">triggers:
940
+ </span></span><span class="ln"><span class="cmd"> - { on: suite_failed, request: &quot;Explain why the last suite failed, from its runs&quot; }
941
+ </span></span><span class="ln"><span class="cmd"> - { on: job_failed, job: nightly-pack, request: &quot;Find out why the nightly pack failed&quot; }
942
+ </span></span></code></pre></div>
943
+ <ul>
944
+ <li>The events are <code>suite_failed</code>, <code>suite_passed</code>, <code>job_failed</code> and <code>job_recovered</code> (when a job's result changes, whether
945
+ or not the job sends notices; <code>job</code> narrows it to one job), and <code>eval_failed</code>.</li>
946
+ <li>Each starts a one-off job, <code>agent-&lt;id&gt;-on-&lt;event&gt;</code>, replaced each time; one still running is not started again.</li>
947
+ <li>The request is the trigger's words and ForgeQE's own facts (the event, a job's name, the time), never text from the
948
+ suite or its runs: the agent finds the runs itself.</li>
949
+ <li>A custom agent's own jobs never start anything, so agents cannot start each other in a loop.</li>
950
+ </ul>
951
+ <p><strong>Outside triggers.</strong> A pull request or a push on GitHub or Azure DevOps can start an agent too:</p>
952
+ <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">triggers:
953
+ </span></span><span class="ln"><span class="cmd"> - { on: pr_opened, source: github, repo: acme/shop, branch: main, request: &quot;Review the tests this pull request changes&quot; }
954
+ </span></span><span class="ln"><span class="cmd"> - { on: pr_updated, source: github, repo: acme/shop, request: &quot;Review the tests again&quot; }
955
+ </span></span><span class="ln"><span class="cmd"> - { on: push, source: azure_devops, repo: Shop Team/web, branch: release, request: &quot;Check what the push changed&quot; }
956
+ </span></span></code></pre></div>
957
+ <ul>
958
+ <li><code>pr_opened</code> covers opened, reopened and ready for review; <code>pr_updated</code> new commits; <code>push</code> a branch pushed to (never a
959
+ tag or a deleted branch).</li>
960
+ <li><code>repo</code> is <code>owner/name</code> on GitHub and <code>project/repository</code> on Azure DevOps; <code>branch</code>, if given, is the pull request's
961
+ target or the branch pushed to.</li>
962
+ <li>Like the other triggers, it runs the approved version with nobody watching, as the one-off job
963
+ <code>agent-&lt;id&gt;-on-&lt;event&gt;</code>, and one still running is not started again.</li>
964
+ </ul>
965
+ <p><strong>Receiving the host's webhooks.</strong> <code>forgeqe web</code> takes the deliveries at <code>POST /hooks/github</code> and
966
+ <code>POST /hooks/azure-devops</code>, and only once a webhook secret is saved: in <strong>Settings › Secrets</strong>, add
967
+ <code>FORGEQE_WEBHOOK_SECRET</code> (kept in the credential store, hidden from every program ForgeQE starts).</p>
968
+ <ul>
969
+ <li>On GitHub, make a webhook for <strong>Pull requests</strong> and <strong>Pushes</strong>, content type JSON, with that secret: each delivery is
970
+ signed and checked.</li>
971
+ <li>On Azure DevOps, make <strong>Web Hooks</strong> service hooks for <em>Pull request created</em>, <em>Pull request updated</em> and <em>Code pushed</em>,
972
+ with basic authentication whose password is the secret (its hooks cannot sign).</li>
973
+ <li>A delivery not signed with the secret, one sent from a browser, a body over 1 MB, a delivery id already taken, and more
974
+ than 30 deliveries a minute are refused.</li>
975
+ </ul>
976
+ <p><code>forgeqe web</code> still listens on 127.0.0.1 only and checks the Host it is asked for. The host reaches it through hosted
977
+ mode (<code>forgeqe web --public-url https://forgeqe.example.com</code>, behind your TLS proxy) or a tunnel you run that forwards
978
+ to it with the Host rewritten to <code>127.0.0.1</code>. Nothing of the pull request's text reaches the agent: its request is the
979
+ trigger's words plus the pull request's number, the repository and the branches, and the agent is told to read the pull
980
+ request itself, as the author's words and never instructions.</p>
981
+ <p><strong>Handing work to another custom agent.</strong> <code>scope.custom_agents</code> (the editor's <strong>Custom agents it may hand work to</strong>)
982
+ lists your team's other custom agents it may hand a request to.</p>
983
+ <ul>
984
+ <li>The other agent runs its approved version, within its own limits and the caller's: it works only in environments both
985
+ have, may do only what both may, asks a person for whatever either asks, and never uses a tool either denies.</li>
986
+ <li>An agent already working on the request is never handed it again, and a chain goes no deeper than the caller's
987
+ <code>max_delegation_depth</code> (at most 3; it needs at least 1).</li>
988
+ <li>With nobody watching the caller, nobody watches the callee.</li>
989
+ <li>Its run is kept in its own history as handed on by the caller, and its reply comes back as data.</li>
990
+ </ul>
991
+ <p>Only Atlas asks custom agents for work on your behalf, as it does its own agents. Each run is kept in
992
+ <code>.forgeqe/agent-runs/&lt;id&gt;</code>.</p>
993
+ <p><strong>What the version knows.</strong> Approving pins what the version knows as well as its manifest: a fingerprint of each
994
+ knowledge file and skill it names (every file of the skill's folder) and of its model profile in <code>llms.json</code> (the fields
995
+ that change how it answers, never a key).</p>
996
+ <ul>
997
+ <li>If one of them changes afterwards, the agent is <strong>Knowledge changed</strong>: it does not run, for anyone or anything, until a
998
+ person reads what changed (its page, <code>forgeqe agent check</code>) and approves it again, which pins it anew.</li>
999
+ <li>A run nobody watches that cannot start for this tells the team (<code>agent_failed</code>).</li>
1000
+ <li>Rolling back pins what the chosen version knows now.</li>
1001
+ <li>An agent approved before this was kept runs, with a warning to approve it again.</li>
1002
+ </ul>
1003
+ <p><strong>Checks before approving.</strong> <code>checks</code> are requests to try a version on before it is approved, each graded by code from
1004
+ the run, never by a model:</p>
1005
+ <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">checks:
1006
+ </span></span><span class="ln"><span class="cmd"> - name: basket-total
1007
+ </span></span><span class="ln"><span class="cmd"> request: Check the basket total on qa
1008
+ </span></span><span class="ln"><span class="cmd"> expect: { says: [total], never_says: [error], uses: [browser_run], never_uses: [run_sql] }
1009
+ </span></span><span class="ln"><span class="cmd"> - name: refuses-production
1010
+ </span></span><span class="ln"><span class="cmd"> request: Place an order on production
1011
+ </span></span><span class="ln"><span class="cmd"> expect: { outcome: needs_input }
1012
+ </span></span></code></pre></div>
1013
+ <ul>
1014
+ <li><code>outcome</code> is how the run ended (<code>done</code> by default, <code>needs_input</code> or <code>failed</code>).</li>
1015
+ <li><code>says</code> and <code>never_says</code> are words its reply holds or not, matched as written (case aside, never as a pattern).</li>
1016
+ <li><code>uses</code> are tools it called and was allowed; <code>never_uses</code> tools it never called at all.</li>
1017
+ </ul>
1018
+ <p>The checks run on the manifest as it is (read and run only, each run asked), and the results are kept for that exact
1019
+ version. A version whose checks have not all passed is approved only with <code>--skip-checks</code>, or the approve dialog's
1020
+ <strong>Approve it without them</strong>, and its history says so.</p>
1021
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
1022
+ <ol>
1023
+ <li>On the agent's page, open <strong>Details</strong>, <strong>Checks</strong> for each check's last result, with why it failed.</li>
1024
+ <li>Press <strong>Run checks</strong>, and answer each run's question on the page.</li>
1025
+ </ol>
1026
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
1027
+ <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 agent test &lt;id&gt;
1028
+ </span></span></code></pre></div>
1029
+ </div></div><p><strong>Memory between runs.</strong> <code>memory: { notes: 50 }</code> (or <code>memory: true</code>, 50 notes; at most 200) lets an agent remember between
1030
+ runs. It can keep one short fact at a time (one line, at most 300 characters) and read its notes back, as data.</p>
1031
+ <ul>
1032
+ <li>A note is the model's own text, so it is kept with saved logins' values and key shapes hidden, and one that reads as
1033
+ instructions to an agent is refused.</li>
1034
+ <li>Past the limit, the oldest go. A helper the agent starts has no memory, and <code>deny: [remember]</code> takes the tool away.</li>
1035
+ <li>The notes are kept beside its runs (<code>memory.json</code>, readable only by you). Deleting the agent removes its notes with its
1036
+ runs.</li>
1037
+ </ul>
1038
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
1039
+ <ol>
1040
+ <li>On the agent's page, open <strong>Details</strong>, <strong>Memory</strong>.</li>
1041
+ <li>Forget one note, or <strong>Forget all</strong> with the agent's id typed. Each is audited.</li>
1042
+ </ol>
1043
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
1044
+ <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 agent memory &lt;id&gt;</span><span class="pad"> </span><span class="cm"><span class="h">#</span> list the notes
1045
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe agent memory &lt;id&gt; --forget-all</span><span class="pad"> </span><span class="cm"><span class="h">#</span> forget them all
1046
+ </span></span></code></pre></div>
1047
+ </div></div><p><strong>More than one approver.</strong> <code>approval: { people: 2, owners: [Ann Lee, Bo Chen] }</code> asks for more than one person.</p>
1048
+ <ul>
1049
+ <li>Each approval before the last is kept in its history as <strong>Signed</strong> and changes nothing that runs. Once that many
1050
+ different people have approved the exact manifest, it runs (the approval's note names the others).</li>
1051
+ <li>The same person twice, from the terminal or the page, is refused, and with <code>owners</code> only those people approve.</li>
1052
+ <li>A change is approved under the stricter of its own rule and the running version's, so it cannot lower the bar it is
1053
+ approved under.</li>
1054
+ <li>ForgeQE knows a person by git's <code>user.name</code> (else <code>user.email</code>) on their computer: this is an agreement the history
1055
+ keeps and the team reviews in the committed release file, not a sign-in.</li>
1056
+ <li>Disabling, enabling and rolling back to an approved version still take one person.</li>
1057
+ </ul>
1058
+ <p><strong>A result code can read.</strong> <code>output</code> gives its reply a result that code reads, not a model:</p>
1059
+ <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">output:
1060
+ </span></span><span class="ln ln--pair"><span class="cmd"> verdicts: [passed, failed, blocked]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how a run came out
1061
+ </span></span><span class="ln ln--pair"><span class="cmd"> fail_on: [failed, blocked]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> verdicts that count as a failure
1062
+ </span></span><span class="ln"><span class="cmd"> fields:
1063
+ </span></span><span class="ln ln--pair"><span class="cmd"> - { name: defects, kind: number }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> number, text (one line) or yes_no
1064
+ </span></span></code></pre></div>
1065
+ <p>The agent is told to end each reply with one line, <code>RESULT {&quot;verdict&quot;: &quot;passed&quot;, &quot;fields&quot;: {&quot;defects&quot;: 0}}</code>. ForgeQE
1066
+ reads the last such line: a verdict only of its list, a field only one it names and of its kind (text clipped to 200
1067
+ characters), and says what it left out.</p>
1068
+ <ul>
1069
+ <li>The run keeps the result: its page shows it under <strong>Its result</strong>, and <code>forgeqe agent history</code> shows the verdict.</li>
1070
+ <li>A check can expect one (<code>expect: { verdict: passed }</code>), and another agent or Atlas gets it beside the reply.</li>
1071
+ <li><code>forgeqe agent run</code> prints it and exits 1 on a verdict of <code>fail_on</code>, or on none where verdicts are named.</li>
1072
+ <li>A run nobody watches tells the team such a verdict as a failure (<code>agent_failed</code>), naming the verdict and never quoting
1073
+ a field.</li>
1074
+ </ul>
1075
+ <p><strong>Its model and denied tools.</strong> <code>runtime.model</code> runs the agent on a profile of <code>llms.json</code> by its name (the editor's
1076
+ <strong>Model</strong>), in place of the one ForgeQE's agent would use. A name <code>llms.json</code> does not have is refused, and with
1077
+ <code>code.model</code> set, that model answers instead, which the run says. <code>permissions.deny</code> lists tools it never uses even
1078
+ though its capabilities have them (the editor lists each picked capability's tools), or a system's tools by name or as
1079
+ <code>&lt;system&gt;_*</code>. They are not offered, and every call of them is refused, for helpers it hands work to too. It only takes
1080
+ away, and the agent's own approval question cannot be denied.</p>
1081
+ <p><strong>Inputs.</strong> <code>inputs</code> are what its starters and its schedule's request leave open, written in them as <code>{name}</code>: <code>text</code>
1082
+ (one line), <code>environment</code> (one of its environments) or <code>choice</code> (one of its <code>options</code>):</p>
1083
+ <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">inputs:
1084
+ </span></span><span class="ln"><span class="cmd"> - { name: env, label: Environment, kind: environment }
1085
+ </span></span><span class="ln"><span class="cmd"> - { name: build, label: Build, kind: text }
1086
+ </span></span><span class="ln"><span class="cmd">starters: [{ label: Check a build, text: &quot;Check build {build} on {env}&quot; }]
1087
+ </span></span><span class="ln"><span class="cmd">schedule: { every: 1d, request: &quot;Run the checkout pack on {env}&quot;, with: { env: qa } }
1088
+ </span></span></code></pre></div>
1089
+ <p>A starter that names inputs asks for their values on the agent's page and fills the message, which you read before
1090
+ sending. A schedule's values (<code>with</code>) are checked when the manifest is read, and its job gets the finished request. A
1091
+ value is only ever words of the request: one line, at most 200 characters, never starting with a dash.</p>
1092
+ <p><strong>Other systems' tools.</strong> Tools of Azure DevOps, Jira, GitHub and other systems come through ForgeQE with their names as
1093
+ <code>&lt;system&gt;_&lt;tool&gt;</code> (a dot in a name becomes <code>_</code>; a name too long, or not a plain name, is left out). A tool counts as
1094
+ read-only only when its server marks it read-only and not also destructive. A refused sign-in says to check the
1095
+ credential its settings name.</p>
1096
+ <p><strong>Before your team relies on custom agents,</strong> run <a href="../custom-agents-first-run/index.html">the first real run</a> once: building
1097
+ one with the model, trying, approving, Atlas, another system, a schedule, production, turning off, and the record, each
1098
+ with what you should see.</p>
1099
+ <p><strong>Turning custom agents off.</strong> With custom agents off, none runs, from the terminal, the web app, Atlas or a schedule;
1100
+ ForgeQE's agent cannot reach them, and the builder is closed. Their files, approvals and history are kept, so turning
1101
+ them back on restores everything as it was.</p>
1102
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
1103
+ <ol>
1104
+ <li>Open <strong>Settings › Agents</strong>.</li>
1105
+ <li>Under <strong>Custom agents</strong>, turn off <strong>Custom agents on</strong>.</li>
1106
+ </ol>
1107
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
1108
+ <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--pair"><span class="cmd">custom_agents: { enabled: false }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> in forgeqe.yaml
1109
+ </span></span></code></pre></div>
1110
+ </div></div></div>
1111
+ </section>
1112
+ </div>
1113
+ <article class="spec feat" id="cap-notifications">
1114
+ <div class="hd"><span class="mono">Operations</span><h3>Teams and email notifications</h3></div>
1115
+ <p class="ds">Tells the team in Microsoft Teams channels or by email when a suite fails or passes, when a release readiness verdict is in, and when the domain evaluation falls below its gate, with the failing cases, their bugs, and links to the report and the CI build. Each channel picks its events; the agent also posts a summary to a channel when asked.</p>
1116
+ <div class="facts">
1117
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Post the results to the QA channel</li><li>Tell the release channel the verdict is NO-GO</li></ul></div>
1118
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A notification channel: notify.channels in forgeqe.yaml, each a Teams Workflows webhook (in an environment variable) or email</span></li></ul></div>
1119
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Automatic notifications come from runs nobody is watching (forgeqe suite, forgeqe run, pipelines, the MCP server), not from the interactive shell, where the agent posts only when asked.</li></ul></div>
1120
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>notify</code></p></div>
1121
+ </div>
1122
+
1123
+ </article>
1124
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-17-notifications">
1125
+ <h4>Notifications</h4>
1126
+ <div class="prose"><p>ForgeQE tells the team in Microsoft Teams channels, or by email, when something they should know happens. Each channel picks its events.</p>
1127
+ <p><strong>Adding a channel.</strong></p>
1128
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
1129
+ <ol>
1130
+ <li>Open <strong>Settings › Notifications</strong> (under <strong>Connections</strong>).</li>
1131
+ <li>Press <strong>Add</strong> and pick <strong>Microsoft Teams</strong> or <strong>Email</strong>.</li>
1132
+ <li>Fill in <strong>Name</strong> (a short name such as <code>qa</code> or <code>release</code>), then <strong>Webhook variable</strong> for Teams, or the mail server fields for email.</li>
1133
+ <li>Under <strong>Tell it when</strong>, tick the events the channel gets.</li>
1134
+ <li>Press <strong>Test</strong> to send a test message, then <strong>Connect</strong>.</li>
1135
+ <li>Fill in <strong>Where reports are published</strong> under <strong>Links in alerts</strong>, so cards link to each report.</li>
1136
+ <li>To check every channel later, use <strong>Send a test</strong>: pick a channel or <strong>Every channel</strong> and press <strong>Test</strong>.</li>
1137
+ </ol>
1138
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
1139
+ <p>Add <code>notify:</code> to <code>forgeqe.yaml</code>:</p>
1140
+ <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">notify:
1141
+ </span></span><span class="ln ln--pair"><span class="cmd"> report_url: https://reports.example.com/forgeqe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> where .forgeqe/reports is published, so cards link to each report
1142
+ </span></span><span class="ln"><span class="cmd"> channels:
1143
+ </span></span><span class="ln"><span class="cmd"> qa:
1144
+ </span></span><span class="ln"><span class="cmd"> teams: { webhook_env: TEAMS_WEBHOOK_URL }
1145
+ </span></span><span class="ln"><span class="cmd"> on: [suite_failed, eval_failed]
1146
+ </span></span><span class="ln"><span class="cmd"> release:
1147
+ </span></span><span class="ln"><span class="cmd"> teams: { webhook_env: TEAMS_RELEASE_WEBHOOK }
1148
+ </span></span><span class="ln"><span class="cmd"> on: [release]
1149
+ </span></span><span class="ln"><span class="cmd"> leads:
1150
+ </span></span><span class="ln"><span class="cmd"> email: { host: smtp.office365.com, port: 587, username_env: SMTP_USERNAME, password_env: SMTP_PASSWORD, to: [qa-leads@example.com] }
1151
+ </span></span><span class="ln"><span class="cmd"> on: [suite_failed, release]
1152
+ </span></span></code></pre></div>
1153
+ <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 notify test [channel]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> send a test card to check it arrives
1154
+ </span></span></code></pre></div>
1155
+ </div></div><p><strong>Events.</strong></p>
1156
+ <div class="tbl tbl--cols-4"><table>
1157
+ <thead>
1158
+ <tr><th>Event</th><th>In the web app</th><th>When</th><th>The card shows</th></tr>
1159
+ </thead>
1160
+ <tbody>
1161
+ <tr><td data-label="Event"><code>suite_failed</code></td><td data-label="In the web app">A suite failed</td><td data-label="When">A suite ends with a case that did not pass, or a test that did not</td><td data-label="The card shows">Each failing case (up to 10) with its kind of failure, the test case and bug links, tests written, and the report and build</td></tr>
1162
+ <tr><td data-label="Event"><code>suite_passed</code></td><td data-label="In the web app">A suite passed</td><td data-label="When">Every case passed</td><td data-label="The card shows">The count, how long it took, where it ran</td></tr>
1163
+ <tr><td data-label="Event"><code>release</code></td><td data-label="In the web app">Release verdict</td><td data-label="When">A release readiness verdict</td><td data-label="The card shows">GO, GO WITH RISKS, or NO-GO, the counts, every blocker and risk, and the wiki page when published</td></tr>
1164
+ <tr><td data-label="Event"><code>eval_failed</code></td><td data-label="In the web app">An eval failed</td><td data-label="When"><code>forgeqe eval domain --min</code> falls below its gate</td><td data-label="The card shows">Coverage for each variant and invented ids</td></tr>
1165
+ <tr><td data-label="Event"><code>job_failed</code></td><td data-label="In the web app">A schedule failed</td><td data-label="When">A job fails or runs out of time, after passing or for the first time (not again while it keeps failing)</td><td data-label="The card shows">The job, its command and schedule, how long it ran, its last lines of output, and where its output is</td></tr>
1166
+ <tr><td data-label="Event"><code>job_recovered</code></td><td data-label="In the web app">A schedule recovered</td><td data-label="When">A job passes again after failing</td><td data-label="The card shows">The same, for the run that passed</td></tr>
1167
+ <tr><td data-label="Event"><code>job_done</code></td><td data-label="In the web app">A schedule finished</td><td data-label="When">A job that runs only when asked ends</td><td data-label="The card shows">The same, whether it passed or failed</td></tr>
1168
+ <tr><td data-label="Event"><code>job_investigated</code></td><td data-label="In the web app">A failure was investigated</td><td data-label="When">The investigation of a job's failed run is done</td><td data-label="The card shows">Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons</td></tr>
1169
+ <tr><td data-label="Event"><code>agent_waiting</code></td><td data-label="In the web app">A custom agent waits for a person's approval</td><td data-label="When">A custom agent running with nobody watching waits for a person's approval</td><td data-label="The card shows">What it wants to do and why, until when it waits, and how to answer</td></tr>
1170
+ <tr><td data-label="Event"><code>agent_failed</code></td><td data-label="In the web app">A custom agent's run with nobody watching did not finish</td><td data-label="When">A custom agent's run with nobody watching does not finish (unless its <code>runtime.notify</code> is <code>never</code>)</td><td data-label="The card shows">The outcome, counts of refused calls and declined approvals, and where to read the run</td></tr>
1171
+ <tr><td data-label="Event"><code>agent_done</code></td><td data-label="In the web app">A custom agent's run with nobody watching finished</td><td data-label="When">A custom agent's run with nobody watching finishes, when its <code>runtime.notify</code> is <code>always</code></td><td data-label="The card shows">The same</td></tr>
1172
+ <tr><td data-label="Event"><code>evidence_drift</code></td><td data-label="In the web app">An agent under test drifted from its baseline (Evidence)</td><td data-label="When"><code>forgeqe evidence drift --notify</code> finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports</td><td data-label="The card shows">Each alert, with the runs it rests on (only channels that list it get it)</td></tr>
1173
+ <tr><td data-label="Event"><code>sign_in_waiting</code></td><td data-label="In the web app">A run waits for a person to approve a sign-in (a push to a phone)</td><td data-label="When">A run waits for someone to approve a sign-in on their phone</td><td data-label="The card shows">The login and how long the run waits (only channels that list it get it)</td></tr>
1174
+ </tbody>
1175
+ </table></div>
1176
+ <p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, <code>agent_waiting</code> and <code>agent_failed</code>. A channel added in the web app starts with <strong>A suite failed</strong> and <strong>A schedule failed</strong> ticked. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own alerts (section 9), with the same cards.</p>
1177
+ <p><strong>When events are sent.</strong> Events are sent from runs nobody is watching: <code>forgeqe suite</code> in a pipeline or on a schedule, jobs, <code>forgeqe run</code>, and the MCP server. In a chat or the shell, where people try things out, nothing is sent on its own; ask instead (&quot;post the results to the QA channel&quot;, &quot;tell the release channel the verdict&quot;), and ForgeQE's agent posts a card.</p>
1178
+ <p><strong>Links.</strong> With <code>report_url</code> (<strong>Where reports are published</strong>), cards open the report where the reports folder is published. In Azure Pipelines and GitHub Actions they also open the build, where the report is an artifact. Without either, the card names the report's path.</p>
1179
+ <p><strong>Setting up a Teams channel.</strong></p>
1180
+ <ol>
1181
+ <li>In the channel, open <strong>Workflows</strong> and choose <strong>Post to a channel when a webhook request is received</strong>, then copy the URL it gives you. Microsoft is retiring the older Office 365 &quot;Incoming Webhook&quot; connectors; Workflows webhooks take the same cards.</li>
1182
+ <li>The URL is the secret (anyone with it can post): keep it in the environment, the system's credential store (the web app's <strong>Webhook variable</strong> field, or <code>forgeqe auth login TEAMS_WEBHOOK_URL</code>), or a pipeline secret, never in <code>forgeqe.yaml</code>.</li>
1183
+ <li>Create the workflow with a shared or service account: a workflow belongs to whoever made it and stops when they leave. Your tenant must allow the Workflows app.</li>
1184
+ <li>Send a test card (<strong>Send a test</strong> in the web app, or <code>forgeqe notify test [channel]</code>) to check it arrives.</li>
1185
+ </ol>
1186
+ </div>
1187
+ </section>
1188
+ </div>
1189
+ <article class="spec feat" id="cap-pipelines">
1190
+ <div class="hd"><span class="mono">Operations</span><h3>CI pipelines</h3></div>
1191
+ <p class="ds">Writes a GitHub Actions or Azure Pipelines workflow that runs ForgeQE, stores the secrets it needs, pushes a branch, and makes the pipeline green.</p>
1192
+ <div class="facts">
1193
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</li></ul></div>
1194
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>git on PATH</span></li><li><span class="need req">Required</span><span>gh on PATH, for GitHub Actions; or az on PATH, for Azure Pipelines</span></li></ul></div>
1195
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>push_branch</code> <code>set_ci_secret</code></p></div>
1196
+ </div>
1197
+
1198
+ </article>
1199
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-8-pipelines">
1200
+ <h4>Pipelines</h4>
1201
+ <div class="prose"><p>ForgeQE's agent writes, runs and fixes GitHub Actions and Azure Pipelines. Ask for the pipeline you want in plain words.</p>
1202
+ <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
1203
+ <ol>
1204
+ <li>Check that <strong>Settings › Code</strong> points at the repository the pipeline belongs to.</li>
1205
+ <li>Open <strong>New chat</strong>.</li>
1206
+ <li>Type the request, for example &quot;Add a GitHub Actions workflow that runs the smoke cases in cases.yaml on every pull request&quot;, and send it.</li>
1207
+ </ol>
1208
+ </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
1209
+ <p>Run it in the repository, or pass <code>--repo</code>:</p>
1210
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe run &quot;Add a GitHub Actions workflow that runs the smoke cases in cases.yaml on every pull request&quot;
1211
+ </span></span><span class="ln"><span class="cmd">forgeqe run &quot;Set up an Azure DevOps pipeline that runs test plan 12 every night and posts results back&quot;
1212
+ </span></span><span class="ln"><span class="cmd">forgeqe run &quot;The ForgeQE workflow is failing, fix it&quot;
1213
+ </span></span></code></pre></div>
1214
+ </div></div><p><strong>What the agent does.</strong></p>
1215
+ <ol>
1216
+ <li>It works out the platform from the git remote (github.com, or dev.azure.com / visualstudio.com) and reads the repository's existing CI, so it can add a job to it or write a new file.</li>
1217
+ <li>It writes the pipeline so it installs ForgeQE and <code>forgeqe setup</code>), runs <code>forgeqe suite &lt;source...&gt; --no-code --plain --out &lt;dir&gt;</code>, and publishes <code>junit.xml</code> and the report folder. On GitHub the suite adds a results table to the job summary.</li>
1218
+ <li>It validates the file (with actionlint when it is installed, otherwise by reading the YAML) and commits it.</li>
1219
+ <li>It pushes to a new branch named <code>forgeqe/ci-&lt;topic&gt;</code>. It never pushes to the default branch, <code>main</code> or <code>master</code>, and never forces a push. Merging stays with you.</li>
1220
+ <li>It stores the keys the pipeline needs as pipeline secrets: the model's key from <code>llms.json</code>, and <code>ADO_PAT</code>, <code>JIRA_EMAIL</code> and <code>JIRA_API_TOKEN</code>, or <code>XRAY_CLIENT_ID</code> and <code>XRAY_CLIENT_SECRET</code>. The agent only names the variable; ForgeQE passes the value from its own environment and never shows it. A variable that is not set in ForgeQE's environment is reported, not guessed.</li>
1221
+ <li>It starts the run, watches it, reads the logs of failed steps, fixes the pipeline (or the code), pushes again, and repeats until the run passes or <code>code.max_attempts</code> runs have failed. It reports the run link and the result.</li>
1222
+ </ol>
1223
+ <p><strong>What it needs.</strong> The GitHub CLI (<code>gh</code>) signed in for GitHub, or the Azure CLI (<code>az</code>) with the <code>azure-devops</code> extension signed in for Azure DevOps. Without them the agent still writes, validates and commits the pipeline, then tells you the commands to run. Set <code>llm.active</code> to a live profile in the committed <code>forgeqe.yaml</code>. With a <code>github_copilot</code> profile, the pipeline needs a GitHub token for Copilot in <code>COPILOT_GITHUB_TOKEN</code> (see <a href="../get-started/index.html#doc-how_to_use-github-copilot-seats-as-the-model">In pipelines</a>).</p>
1224
+ </div>
1225
+ </section>
1226
+ </div>
1227
+
1228
+ <nav class="pager" aria-label="Previous and next">
1229
+ <a class="prev" href="../area-setup/index.html"><small>Previous</small><span>Setup and configuration</span></a>
1230
+ <a class="next" href="../area-data/index.html"><small>Next</small><span>Test data and databases</span></a>
1231
+ </nav>
1232
+ </main>
1233
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
1234
+ </div>
1235
+ <footer class="foot">
1236
+ <div class="container foot__row">
1237
+ <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>
1238
+ <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>
1239
+ </div>
1240
+ <p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
1241
+ </footer>
1242
+ </body>
1243
+ </html>