@capagents/forgeqe 2.6.3 → 2.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (557) hide show
  1. package/HOW_TO_USE.md +445 -30
  2. package/README.md +12 -2
  3. package/browserstack.example.yaml +9 -0
  4. package/dist/docs-site/docs/architecture/index.html +4 -2
  5. package/dist/docs-site/docs/guardrails/index.html +20 -4
  6. package/dist/docs-site/docs/index.html +398 -14
  7. package/dist/docs-site/docs/mobile/index.html +55 -1
  8. package/dist/docs-site/docs/model-routing/index.html +19 -2
  9. package/dist/docs-site/docs/search.js +1 -1
  10. package/dist/docs-site/docs/web-app/index.html +7 -0
  11. package/dist/forgeqe.js +2189 -1287
  12. package/dist/web/assets/Agent-DnSnk8A8.js +4 -0
  13. package/dist/web/assets/ApiTests-r6c8xggS.js +10 -0
  14. package/dist/web/assets/Chat-MqHZCQeC.js +3 -0
  15. package/dist/web/assets/Data-zWPzpJpS.js +3 -0
  16. package/dist/web/assets/Evidence-LEqF3nUt.js +1 -0
  17. package/dist/web/assets/Features-Bgo9qp1-.js +1 -0
  18. package/dist/web/assets/Jobs-Bcwb8HMh.js +5 -0
  19. package/dist/web/assets/KindPage-lAkUjTIP.js +6 -0
  20. package/dist/web/assets/Migration-BjGJA-Bs.js +2 -0
  21. package/dist/web/assets/Product-FEoKmnjo.js +1 -0
  22. package/dist/web/assets/Quality-DCZXDZOe.js +1 -0
  23. package/dist/web/assets/Record-B2wCMjZD.js +2 -0
  24. package/dist/web/assets/Regression-D01mVc1q.js +5 -0
  25. package/dist/web/assets/Reports-DccvSnM0.js +2 -0
  26. package/dist/web/assets/Response-1L54PHOc.js +4 -0
  27. package/dist/web/assets/Runs-CxBqtEcI.js +2 -0
  28. package/dist/web/assets/Shell--wVGpLnJ.js +3 -0
  29. package/dist/web/assets/TestCases-Cnoe8tSS.js +1 -0
  30. package/dist/web/assets/TestData-BeYAygIt.js +2 -0
  31. package/dist/web/assets/WhatsNew-CI0LQ45V.js +1 -0
  32. package/dist/web/assets/{arrow-down-BWCXlJU0.js → arrow-down-DSu4Dagx.js} +1 -1
  33. package/dist/web/assets/{arrow-right-CdxkQBV7.js → arrow-right-Ts-WXM9E.js} +1 -1
  34. package/dist/web/assets/circle-DCKdGe8K.js +1 -0
  35. package/dist/web/assets/{circle-dashed-DlOiCbWD.js → circle-dashed-DrntJOQb.js} +1 -1
  36. package/dist/web/assets/circle-dot-DnHcdiDL.js +1 -0
  37. package/dist/web/assets/dataParts-3r2pCk9l.js +3 -0
  38. package/dist/web/assets/index-CUL4L1Mc.js +43 -0
  39. package/dist/web/assets/index-DchZ3sW9.css +2 -0
  40. package/dist/web/assets/{keyboard-wpCM6HMa.js → keyboard-DasQ_iKX.js} +1 -1
  41. package/dist/web/assets/pencil-DGS0VPko.js +1 -0
  42. package/dist/web/assets/productParts-CZORYXa1.js +1 -0
  43. package/dist/web/assets/qualityParts-BL7Mmsao.js +1 -0
  44. package/dist/web/assets/thread-BuTNjR0M.js +5 -0
  45. package/dist/web/assets/{upload-CwExsxOd.js → upload-Dp3RevwG.js} +1 -1
  46. package/dist/web/assets/{usePageChat-CzWbP_sa.js → usePageChat-iWpW3cZo.js} +1 -1
  47. package/dist/web/index.html +3 -3
  48. package/docs/ARCHITECTURE.md +4 -2
  49. package/docs/EVIDENCE.md +913 -0
  50. package/docs/MOBILE.md +62 -0
  51. package/docs/MODEL_ROUTING.md +23 -1
  52. package/docs/PRODUCT_KNOWLEDGE.md +204 -0
  53. package/docs/PRODUCT_VIEWS.md +301 -0
  54. package/docs/WEB_APP.md +7 -0
  55. package/docs/user-guide.html +398 -14
  56. package/evals/evidence/behaviour/b4-amount-text/case.json +12 -0
  57. package/evals/evidence/behaviour/b4-amount-text/contract.yaml +15 -0
  58. package/evals/evidence/behaviour/b4-amount-text/source.json +130 -0
  59. package/evals/evidence/behaviour/b4-extra-field/case.json +12 -0
  60. package/evals/evidence/behaviour/b4-extra-field/contract.yaml +15 -0
  61. package/evals/evidence/behaviour/b4-extra-field/source.json +131 -0
  62. package/evals/evidence/behaviour/b4-files-good/case.json +10 -0
  63. package/evals/evidence/behaviour/b4-files-good/contract.yaml +7 -0
  64. package/evals/evidence/behaviour/b4-files-good/source.json +99 -0
  65. package/evals/evidence/behaviour/b4-files-lockfile/case.json +12 -0
  66. package/evals/evidence/behaviour/b4-files-lockfile/contract.yaml +7 -0
  67. package/evals/evidence/behaviour/b4-files-lockfile/source.json +71 -0
  68. package/evals/evidence/behaviour/b4-files-outside/case.json +12 -0
  69. package/evals/evidence/behaviour/b4-files-outside/contract.yaml +7 -0
  70. package/evals/evidence/behaviour/b4-files-outside/source.json +71 -0
  71. package/evals/evidence/behaviour/b4-files-workflow/case.json +12 -0
  72. package/evals/evidence/behaviour/b4-files-workflow/contract.yaml +7 -0
  73. package/evals/evidence/behaviour/b4-files-workflow/source.json +99 -0
  74. package/evals/evidence/behaviour/b4-inputs-good/case.json +10 -0
  75. package/evals/evidence/behaviour/b4-inputs-good/contract.yaml +15 -0
  76. package/evals/evidence/behaviour/b4-inputs-good/source.json +131 -0
  77. package/evals/evidence/behaviour/b4-missing-claim/case.json +12 -0
  78. package/evals/evidence/behaviour/b4-missing-claim/contract.yaml +15 -0
  79. package/evals/evidence/behaviour/b4-missing-claim/source.json +129 -0
  80. package/evals/evidence/behaviour/b4-over-maximum/case.json +12 -0
  81. package/evals/evidence/behaviour/b4-over-maximum/contract.yaml +15 -0
  82. package/evals/evidence/behaviour/b4-over-maximum/source.json +130 -0
  83. package/evals/evidence/behaviour/b4-wrong-currency/case.json +12 -0
  84. package/evals/evidence/behaviour/b4-wrong-currency/contract.yaml +15 -0
  85. package/evals/evidence/behaviour/b4-wrong-currency/source.json +131 -0
  86. package/evals/evidence/behaviour/claims-big/case.json +12 -0
  87. package/evals/evidence/behaviour/claims-big/contract.yaml +40 -0
  88. package/evals/evidence/behaviour/claims-big/source.json +160 -0
  89. package/evals/evidence/behaviour/claims-deny-unread/case.json +12 -0
  90. package/evals/evidence/behaviour/claims-deny-unread/contract.yaml +40 -0
  91. package/evals/evidence/behaviour/claims-deny-unread/source.json +62 -0
  92. package/evals/evidence/behaviour/claims-false-claim/case.json +12 -0
  93. package/evals/evidence/behaviour/claims-false-claim/contract.yaml +40 -0
  94. package/evals/evidence/behaviour/claims-false-claim/source.json +206 -0
  95. package/evals/evidence/behaviour/claims-forbidden/case.json +13 -0
  96. package/evals/evidence/behaviour/claims-forbidden/contract.yaml +40 -0
  97. package/evals/evidence/behaviour/claims-forbidden/source.json +181 -0
  98. package/evals/evidence/behaviour/claims-good/case.json +10 -0
  99. package/evals/evidence/behaviour/claims-good/contract.yaml +40 -0
  100. package/evals/evidence/behaviour/claims-good/source.json +160 -0
  101. package/evals/evidence/behaviour/claims-langfuse-content/case.json +12 -0
  102. package/evals/evidence/behaviour/claims-langfuse-content/contract.yaml +40 -0
  103. package/evals/evidence/behaviour/claims-langfuse-fingerprints/case.json +17 -0
  104. package/evals/evidence/behaviour/claims-langfuse-fingerprints/contract.yaml +40 -0
  105. package/evals/evidence/behaviour/claims-loop/case.json +12 -0
  106. package/evals/evidence/behaviour/claims-loop/contract.yaml +40 -0
  107. package/evals/evidence/behaviour/claims-loop/source.json +168 -0
  108. package/evals/evidence/behaviour/claims-negated/case.json +10 -0
  109. package/evals/evidence/behaviour/claims-negated/contract.yaml +40 -0
  110. package/evals/evidence/behaviour/claims-negated/source.json +206 -0
  111. package/evals/evidence/behaviour/claims-paged/case.json +10 -0
  112. package/evals/evidence/behaviour/claims-paged/contract.yaml +40 -0
  113. package/evals/evidence/behaviour/claims-paged/source.json +164 -0
  114. package/evals/evidence/behaviour/claims-policy-late/case.json +12 -0
  115. package/evals/evidence/behaviour/claims-policy-late/contract.yaml +40 -0
  116. package/evals/evidence/behaviour/claims-policy-late/source.json +138 -0
  117. package/evals/evidence/behaviour/claims-skipped-policy/case.json +13 -0
  118. package/evals/evidence/behaviour/claims-skipped-policy/contract.yaml +40 -0
  119. package/evals/evidence/behaviour/claims-skipped-policy/source.json +84 -0
  120. package/evals/evidence/behaviour/claims-sub-forbidden/case.json +12 -0
  121. package/evals/evidence/behaviour/claims-sub-forbidden/contract.yaml +40 -0
  122. package/evals/evidence/behaviour/claims-sub-forbidden/source.json +116 -0
  123. package/evals/evidence/behaviour/claims-two-approvals/case.json +12 -0
  124. package/evals/evidence/behaviour/claims-two-approvals/contract.yaml +40 -0
  125. package/evals/evidence/behaviour/claims-two-approvals/source.json +151 -0
  126. package/evals/evidence/behaviour/claims-wrong-agent/case.json +12 -0
  127. package/evals/evidence/behaviour/claims-wrong-agent/contract.yaml +40 -0
  128. package/evals/evidence/behaviour/claims-wrong-agent/source.json +124 -0
  129. package/evals/evidence/behaviour/coder-good/case.json +10 -0
  130. package/evals/evidence/behaviour/coder-good/contract.yaml +16 -0
  131. package/evals/evidence/behaviour/coder-good/source.json +155 -0
  132. package/evals/evidence/behaviour/coder-honest-fail/case.json +10 -0
  133. package/evals/evidence/behaviour/coder-honest-fail/contract.yaml +16 -0
  134. package/evals/evidence/behaviour/coder-honest-fail/source.json +131 -0
  135. package/evals/evidence/behaviour/coder-no-tests/case.json +13 -0
  136. package/evals/evidence/behaviour/coder-no-tests/contract.yaml +16 -0
  137. package/evals/evidence/behaviour/coder-no-tests/source.json +127 -0
  138. package/evals/evidence/behaviour/coder-tests-lie/case.json +14 -0
  139. package/evals/evidence/behaviour/coder-tests-lie/contract.yaml +16 -0
  140. package/evals/evidence/behaviour/coder-tests-lie/source.json +187 -0
  141. package/evals/evidence/behaviour/e3-decided-before-policy/case.json +12 -0
  142. package/evals/evidence/behaviour/e3-decided-before-policy/contract.yaml +17 -0
  143. package/evals/evidence/behaviour/e3-decided-before-policy/source.json +175 -0
  144. package/evals/evidence/behaviour/e3-fact-from-nowhere/case.json +12 -0
  145. package/evals/evidence/behaviour/e3-fact-from-nowhere/contract.yaml +17 -0
  146. package/evals/evidence/behaviour/e3-fact-from-nowhere/source.json +175 -0
  147. package/evals/evidence/behaviour/e3-fingerprints/case.json +16 -0
  148. package/evals/evidence/behaviour/e3-fingerprints/contract.yaml +17 -0
  149. package/evals/evidence/behaviour/e3-fingerprints/source.json +175 -0
  150. package/evals/evidence/behaviour/e3-forbidden-data/case.json +12 -0
  151. package/evals/evidence/behaviour/e3-forbidden-data/contract.yaml +17 -0
  152. package/evals/evidence/behaviour/e3-forbidden-data/source.json +220 -0
  153. package/evals/evidence/behaviour/e3-good/case.json +10 -0
  154. package/evals/evidence/behaviour/e3-good/contract.yaml +17 -0
  155. package/evals/evidence/behaviour/e3-good/source.json +175 -0
  156. package/evals/evidence/behaviour/e3-injection-followed/case.json +12 -0
  157. package/evals/evidence/behaviour/e3-injection-followed/contract.yaml +17 -0
  158. package/evals/evidence/behaviour/e3-injection-followed/source.json +175 -0
  159. package/evals/evidence/behaviour/e3-injection-ignored/case.json +10 -0
  160. package/evals/evidence/behaviour/e3-injection-ignored/contract.yaml +17 -0
  161. package/evals/evidence/behaviour/e3-injection-ignored/source.json +175 -0
  162. package/evals/evidence/behaviour/e3-injection-names-tool/case.json +13 -0
  163. package/evals/evidence/behaviour/e3-injection-names-tool/contract.yaml +17 -0
  164. package/evals/evidence/behaviour/e3-injection-names-tool/source.json +107 -0
  165. package/evals/evidence/behaviour/e3-personal/case.json +12 -0
  166. package/evals/evidence/behaviour/e3-personal/contract.yaml +17 -0
  167. package/evals/evidence/behaviour/e3-personal/source.json +175 -0
  168. package/evals/evidence/behaviour/e3-reason-before-reading/case.json +13 -0
  169. package/evals/evidence/behaviour/e3-reason-before-reading/contract.yaml +17 -0
  170. package/evals/evidence/behaviour/e3-reason-before-reading/source.json +153 -0
  171. package/evals/evidence/behaviour/e3-reason-no-input/case.json +12 -0
  172. package/evals/evidence/behaviour/e3-reason-no-input/contract.yaml +17 -0
  173. package/evals/evidence/behaviour/e3-reason-no-input/source.json +107 -0
  174. package/evals/evidence/behaviour/e3-unlisted-data/case.json +12 -0
  175. package/evals/evidence/behaviour/e3-unlisted-data/contract.yaml +17 -0
  176. package/evals/evidence/behaviour/e3-unlisted-data/source.json +220 -0
  177. package/evals/evidence/behaviour/e7-good/case.json +10 -0
  178. package/evals/evidence/behaviour/e7-good/contract.yaml +14 -0
  179. package/evals/evidence/behaviour/e7-good/source.json +175 -0
  180. package/evals/evidence/behaviour/e7-negated-decision/case.json +13 -0
  181. package/evals/evidence/behaviour/e7-negated-decision/contract.yaml +14 -0
  182. package/evals/evidence/behaviour/e7-negated-decision/source.json +175 -0
  183. package/evals/evidence/behaviour/e7-negated-promise/case.json +10 -0
  184. package/evals/evidence/behaviour/e7-negated-promise/contract.yaml +14 -0
  185. package/evals/evidence/behaviour/e7-negated-promise/source.json +175 -0
  186. package/evals/evidence/behaviour/e7-no-decision/case.json +12 -0
  187. package/evals/evidence/behaviour/e7-no-decision/contract.yaml +14 -0
  188. package/evals/evidence/behaviour/e7-no-decision/source.json +175 -0
  189. package/evals/evidence/behaviour/e7-promise/case.json +12 -0
  190. package/evals/evidence/behaviour/e7-promise/contract.yaml +14 -0
  191. package/evals/evidence/behaviour/e7-promise/source.json +175 -0
  192. package/evals/evidence/behaviour/e7-too-long/case.json +12 -0
  193. package/evals/evidence/behaviour/e7-too-long/contract.yaml +14 -0
  194. package/evals/evidence/behaviour/e7-too-long/source.json +175 -0
  195. package/evals/evidence/behaviour/e7-too-short/case.json +13 -0
  196. package/evals/evidence/behaviour/e7-too-short/contract.yaml +14 -0
  197. package/evals/evidence/behaviour/e7-too-short/source.json +175 -0
  198. package/evals/evidence/behaviour/support-langgraph/case.json +14 -0
  199. package/evals/evidence/behaviour/support-langgraph/contract.yaml +21 -0
  200. package/evals/evidence/domain/acceptance/delete-without-sign-in/case.json +14 -0
  201. package/evals/evidence/domain/acceptance/history-signed-in/case.json +14 -0
  202. package/evals/evidence/domain/acceptance/message-reworded/case.json +15 -0
  203. package/evals/evidence/domain/acceptance/shipped-rule-removed/case.json +15 -0
  204. package/evals/evidence/domain/acceptance/status-dropped/case.json +14 -0
  205. package/evals/evidence/domain/base/docs/glossary.md +5 -0
  206. package/evals/evidence/domain/base/docs/refunds.md +5 -0
  207. package/evals/evidence/domain/base/forgeqe.yaml +13 -0
  208. package/evals/evidence/domain/base/orders-api/db/001_orders.sql +8 -0
  209. package/evals/evidence/domain/base/orders-api/package.json +1 -0
  210. package/evals/evidence/domain/base/orders-api/src/auth.ts +7 -0
  211. package/evals/evidence/domain/base/orders-api/src/clients/payments.ts +8 -0
  212. package/evals/evidence/domain/base/orders-api/src/routes/admin.ts +10 -0
  213. package/evals/evidence/domain/base/orders-api/src/routes/orders.ts +25 -0
  214. package/evals/evidence/domain/base/orders-api/src/workflow.ts +6 -0
  215. package/evals/evidence/domain/base/orders-api/test/orders.test.ts +8 -0
  216. package/evals/evidence/domain/base/payments/app/main.py +16 -0
  217. package/evals/evidence/domain/base/payments/migrations/001_payments.sql +2 -0
  218. package/evals/evidence/domain/base/payments/requirements.txt +2 -0
  219. package/evals/evidence/domain/base/web/package.json +1 -0
  220. package/evals/evidence/domain/base/web/src/App.tsx +10 -0
  221. package/evals/evidence/domain/base/web/src/api/orders.ts +14 -0
  222. package/evals/evidence/domain/base/web/src/pages/OrderPage.tsx +18 -0
  223. package/evals/evidence/domain/cases/bad-auth-removed/after/src/routes/orders.ts +25 -0
  224. package/evals/evidence/domain/cases/bad-auth-removed/case.json +14 -0
  225. package/evals/evidence/domain/cases/bad-endpoint-renamed/after/src/routes/orders.ts +25 -0
  226. package/evals/evidence/domain/cases/bad-endpoint-renamed/case.json +14 -0
  227. package/evals/evidence/domain/cases/bad-field-removed/after/src/routes/orders.ts +25 -0
  228. package/evals/evidence/domain/cases/bad-field-removed/case.json +14 -0
  229. package/evals/evidence/domain/cases/bad-foreign-table/after/app/main.py +17 -0
  230. package/evals/evidence/domain/cases/bad-foreign-table/case.json +15 -0
  231. package/evals/evidence/domain/cases/bad-no-auth/after/src/routes/orders.ts +30 -0
  232. package/evals/evidence/domain/cases/bad-no-auth/case.json +14 -0
  233. package/evals/evidence/domain/cases/bad-rule-changed/after/src/routes/orders.ts +25 -0
  234. package/evals/evidence/domain/cases/bad-rule-changed/case.json +14 -0
  235. package/evals/evidence/domain/cases/bad-rule-removed/after/src/routes/orders.ts +24 -0
  236. package/evals/evidence/domain/cases/bad-rule-removed/case.json +14 -0
  237. package/evals/evidence/domain/cases/bad-state-set-directly/after/src/routes/admin.ts +15 -0
  238. package/evals/evidence/domain/cases/bad-state-set-directly/case.json +15 -0
  239. package/evals/evidence/domain/cases/bad-untested-change/after/src/routes/admin.ts +10 -0
  240. package/evals/evidence/domain/cases/bad-untested-change/case.json +14 -0
  241. package/evals/evidence/domain/cases/good-field-added/after/src/routes/orders.ts +25 -0
  242. package/evals/evidence/domain/cases/good-field-added/case.json +12 -0
  243. package/evals/evidence/domain/cases/good-message/after/src/routes/orders.ts +25 -0
  244. package/evals/evidence/domain/cases/good-message/case.json +12 -0
  245. package/evals/evidence/domain/cases/good-new-endpoint/after/src/routes/orders.ts +29 -0
  246. package/evals/evidence/domain/cases/good-new-endpoint/case.json +12 -0
  247. package/evals/evidence/domain/cases/good-new-file/after/src/routes/reports.ts +9 -0
  248. package/evals/evidence/domain/cases/good-new-file/after/test/reports.test.ts +4 -0
  249. package/evals/evidence/domain/cases/good-new-file/case.json +15 -0
  250. package/evals/evidence/domain/cases/good-test-added/after/src/routes/admin.ts +10 -0
  251. package/evals/evidence/domain/cases/good-test-added/after/test/admin.test.ts +4 -0
  252. package/evals/evidence/domain/cases/good-test-added/case.json +15 -0
  253. package/evals/evidence/domain/cases/payments-new-endpoint/after/app/main.py +21 -0
  254. package/evals/evidence/domain/cases/payments-new-endpoint/case.json +14 -0
  255. package/evals/evidence/harness/claims-bot/agent.ts +74 -0
  256. package/evals/evidence/harness/shop-coder/agent.ts +33 -0
  257. package/evals/evidence/learn/failed-tool-proven/case.json +20 -0
  258. package/evals/evidence/learn/failed-tool-proven/contract.yaml +40 -0
  259. package/evals/evidence/learn/failed-tool-proven/runs/original.json +161 -0
  260. package/evals/evidence/learn/failed-tool-proven/runs/replay-0-0.json +160 -0
  261. package/evals/evidence/learn/failed-tool-proven/runs/replay-0-1.json +160 -0
  262. package/evals/evidence/learn/failed-tool-proven/runs/replay-0-2.json +160 -0
  263. package/evals/evidence/learn/injection-change-not-made/case.json +20 -0
  264. package/evals/evidence/learn/injection-change-not-made/contract.yaml +17 -0
  265. package/evals/evidence/learn/injection-change-not-made/runs/original.json +175 -0
  266. package/evals/evidence/learn/injection-change-not-made/runs/replay-0-0.json +175 -0
  267. package/evals/evidence/learn/injection-change-not-made/runs/replay-0-1.json +175 -0
  268. package/evals/evidence/learn/injection-change-not-made/runs/replay-0-2.json +175 -0
  269. package/evals/evidence/learn/injection-data-proven/case.json +20 -0
  270. package/evals/evidence/learn/injection-data-proven/contract.yaml +17 -0
  271. package/evals/evidence/learn/injection-data-proven/runs/original.json +175 -0
  272. package/evals/evidence/learn/injection-data-proven/runs/replay-0-0.json +175 -0
  273. package/evals/evidence/learn/injection-data-proven/runs/replay-0-1.json +175 -0
  274. package/evals/evidence/learn/injection-data-proven/runs/replay-0-2.json +175 -0
  275. package/evals/evidence/learn/injection-instruction-refuted/case.json +20 -0
  276. package/evals/evidence/learn/injection-instruction-refuted/contract.yaml +17 -0
  277. package/evals/evidence/learn/injection-instruction-refuted/runs/original.json +175 -0
  278. package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-0.json +175 -0
  279. package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-1.json +175 -0
  280. package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-2.json +175 -0
  281. package/evals/evidence/learn/injection-one-replay/case.json +18 -0
  282. package/evals/evidence/learn/injection-one-replay/contract.yaml +17 -0
  283. package/evals/evidence/learn/injection-one-replay/runs/original.json +175 -0
  284. package/evals/evidence/learn/injection-one-replay/runs/replay-0-0.json +175 -0
  285. package/evals/evidence/learn/skipped-step-proven/case.json +28 -0
  286. package/evals/evidence/learn/skipped-step-proven/contract.yaml +40 -0
  287. package/evals/evidence/learn/skipped-step-proven/runs/original.json +84 -0
  288. package/evals/evidence/learn/skipped-step-proven/runs/replay-0-0.json +160 -0
  289. package/evals/evidence/learn/skipped-step-proven/runs/replay-0-1.json +160 -0
  290. package/evals/evidence/learn/skipped-step-proven/runs/replay-0-2.json +160 -0
  291. package/evals/evidence/learn/skipped-step-proven/runs/replay-1-0.json +160 -0
  292. package/evals/evidence/learn/skipped-step-proven/runs/replay-1-1.json +160 -0
  293. package/evals/evidence/learn/skipped-step-proven/runs/replay-1-2.json +160 -0
  294. package/evals/evidence/learn/skipped-step-side-effects/case.json +20 -0
  295. package/evals/evidence/learn/skipped-step-side-effects/contract.yaml +40 -0
  296. package/evals/evidence/learn/skipped-step-side-effects/runs/original.json +84 -0
  297. package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-0.json +160 -0
  298. package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-1.json +181 -0
  299. package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-2.json +160 -0
  300. package/evals/evidence/monitor/check-dropped/baseline/0.json +205 -0
  301. package/evals/evidence/monitor/check-dropped/baseline/1.json +205 -0
  302. package/evals/evidence/monitor/check-dropped/baseline/2.json +205 -0
  303. package/evals/evidence/monitor/check-dropped/baseline/3.json +205 -0
  304. package/evals/evidence/monitor/check-dropped/baseline/4.json +205 -0
  305. package/evals/evidence/monitor/check-dropped/baseline/5.json +205 -0
  306. package/evals/evidence/monitor/check-dropped/case.json +8 -0
  307. package/evals/evidence/monitor/check-dropped/contract.yaml +40 -0
  308. package/evals/evidence/monitor/check-dropped/since/0.json +84 -0
  309. package/evals/evidence/monitor/check-dropped/since/1.json +84 -0
  310. package/evals/evidence/monitor/check-dropped/since/2.json +84 -0
  311. package/evals/evidence/monitor/check-dropped/since/3.json +84 -0
  312. package/evals/evidence/monitor/check-dropped/since/4.json +84 -0
  313. package/evals/evidence/monitor/knowledge-changed/baseline/0.json +205 -0
  314. package/evals/evidence/monitor/knowledge-changed/baseline/1.json +205 -0
  315. package/evals/evidence/monitor/knowledge-changed/baseline/2.json +205 -0
  316. package/evals/evidence/monitor/knowledge-changed/baseline/3.json +205 -0
  317. package/evals/evidence/monitor/knowledge-changed/baseline/4.json +205 -0
  318. package/evals/evidence/monitor/knowledge-changed/baseline/5.json +205 -0
  319. package/evals/evidence/monitor/knowledge-changed/case.json +8 -0
  320. package/evals/evidence/monitor/knowledge-changed/contract.yaml +40 -0
  321. package/evals/evidence/monitor/knowledge-changed/since/0.json +205 -0
  322. package/evals/evidence/monitor/knowledge-changed/since/1.json +205 -0
  323. package/evals/evidence/monitor/model-changed/baseline/0.json +205 -0
  324. package/evals/evidence/monitor/model-changed/baseline/1.json +205 -0
  325. package/evals/evidence/monitor/model-changed/baseline/2.json +205 -0
  326. package/evals/evidence/monitor/model-changed/baseline/3.json +205 -0
  327. package/evals/evidence/monitor/model-changed/baseline/4.json +205 -0
  328. package/evals/evidence/monitor/model-changed/baseline/5.json +205 -0
  329. package/evals/evidence/monitor/model-changed/case.json +8 -0
  330. package/evals/evidence/monitor/model-changed/contract.yaml +40 -0
  331. package/evals/evidence/monitor/model-changed/since/0.json +205 -0
  332. package/evals/evidence/monitor/model-changed/since/1.json +205 -0
  333. package/evals/evidence/monitor/model-changed/since/2.json +205 -0
  334. package/evals/evidence/monitor/new-tool/baseline/0.json +205 -0
  335. package/evals/evidence/monitor/new-tool/baseline/1.json +205 -0
  336. package/evals/evidence/monitor/new-tool/baseline/2.json +205 -0
  337. package/evals/evidence/monitor/new-tool/baseline/3.json +205 -0
  338. package/evals/evidence/monitor/new-tool/baseline/4.json +205 -0
  339. package/evals/evidence/monitor/new-tool/baseline/5.json +205 -0
  340. package/evals/evidence/monitor/new-tool/case.json +8 -0
  341. package/evals/evidence/monitor/new-tool/contract.yaml +40 -0
  342. package/evals/evidence/monitor/new-tool/since/0.json +250 -0
  343. package/evals/evidence/monitor/new-tool/since/1.json +250 -0
  344. package/evals/evidence/monitor/no-drift/baseline/0.json +205 -0
  345. package/evals/evidence/monitor/no-drift/baseline/1.json +205 -0
  346. package/evals/evidence/monitor/no-drift/baseline/2.json +205 -0
  347. package/evals/evidence/monitor/no-drift/baseline/3.json +205 -0
  348. package/evals/evidence/monitor/no-drift/baseline/4.json +205 -0
  349. package/evals/evidence/monitor/no-drift/baseline/5.json +205 -0
  350. package/evals/evidence/monitor/no-drift/case.json +6 -0
  351. package/evals/evidence/monitor/no-drift/contract.yaml +40 -0
  352. package/evals/evidence/monitor/no-drift/since/0.json +205 -0
  353. package/evals/evidence/monitor/no-drift/since/1.json +205 -0
  354. package/evals/evidence/monitor/no-drift/since/2.json +205 -0
  355. package/evals/evidence/monitor/no-drift/since/3.json +205 -0
  356. package/evals/evidence/monitor/no-drift/since/4.json +205 -0
  357. package/evals/evidence/monitor/no-drift/since/5.json +205 -0
  358. package/evals/evidence/records/forgeqe-interrupted/case.json +22 -0
  359. package/evals/evidence/records/forgeqe-interrupted/source.jsonl +4 -0
  360. package/evals/evidence/records/forgeqe-policy/case.json +44 -0
  361. package/evals/evidence/records/forgeqe-policy/source.jsonl +7 -0
  362. package/evals/evidence/records/forgeqe-test-writing/case.json +73 -0
  363. package/evals/evidence/records/forgeqe-test-writing/source.jsonl +16 -0
  364. package/evals/evidence/records/jsonlog-claims/case.json +76 -0
  365. package/evals/evidence/records/jsonlog-claims/mapping.yaml +26 -0
  366. package/evals/evidence/records/jsonlog-claims/source.jsonl +10 -0
  367. package/evals/evidence/records/jsonlog-hostile/case.json +20 -0
  368. package/evals/evidence/records/jsonlog-hostile/mapping.yaml +8 -0
  369. package/evals/evidence/records/jsonlog-hostile/source.jsonl +7 -0
  370. package/evals/evidence/records/jsonlog-inherited-names/case.json +24 -0
  371. package/evals/evidence/records/jsonlog-inherited-names/mapping.yaml +10 -0
  372. package/evals/evidence/records/jsonlog-inherited-names/source.jsonl +5 -0
  373. package/evals/evidence/records/jsonlog-langchain-style/case.json +30 -0
  374. package/evals/evidence/records/jsonlog-langchain-style/mapping.yaml +18 -0
  375. package/evals/evidence/records/jsonlog-langchain-style/source.jsonl +8 -0
  376. package/evals/evidence/records/langfuse-claims/case.json +81 -0
  377. package/evals/evidence/records/langfuse-claims/source.json +233 -0
  378. package/evals/evidence/records/langfuse-hostile/case.json +34 -0
  379. package/evals/evidence/records/langfuse-hostile/source.json +93 -0
  380. package/evals/evidence/records/langfuse-observations/case.json +69 -0
  381. package/evals/evidence/records/langfuse-observations/source.json +164 -0
  382. package/evals/evidence/records/langsmith-hostile/case.json +39 -0
  383. package/evals/evidence/records/langsmith-hostile/source.json +7 -0
  384. package/evals/evidence/records/langsmith-langgraph/case.json +72 -0
  385. package/evals/evidence/records/langsmith-langgraph/source.json +608 -0
  386. package/evals/evidence/records/langsmith-nested/case.json +53 -0
  387. package/evals/evidence/records/langsmith-nested/source.json +157 -0
  388. package/evals/evidence/records/otlp-claims/case.json +53 -0
  389. package/evals/evidence/records/otlp-claims/source.json +196 -0
  390. package/evals/evidence/records/otlp-hostile/case.json +20 -0
  391. package/evals/evidence/records/otlp-hostile/source.json +127 -0
  392. package/evals/evidence/records/otlp-nested-agents/case.json +22 -0
  393. package/evals/evidence/records/otlp-nested-agents/source.json +181 -0
  394. package/evals/evidence/records/otlp-support-old-events/case.json +29 -0
  395. package/evals/evidence/records/otlp-support-old-events/source.json +93 -0
  396. package/evals/evidence/release/better/case.json +9 -0
  397. package/evals/evidence/release/better/contract.yaml +40 -0
  398. package/evals/evidence/release/better/runs/00.json +162 -0
  399. package/evals/evidence/release/better/runs/01.json +162 -0
  400. package/evals/evidence/release/better/runs/02.json +161 -0
  401. package/evals/evidence/release/better/runs/03.json +85 -0
  402. package/evals/evidence/release/better/runs/04.json +162 -0
  403. package/evals/evidence/release/better/runs/05.json +162 -0
  404. package/evals/evidence/release/better/runs/06.json +162 -0
  405. package/evals/evidence/release/better/runs/07.json +162 -0
  406. package/evals/evidence/release/better/runs/08.json +85 -0
  407. package/evals/evidence/release/better/runs/09.json +162 -0
  408. package/evals/evidence/release/better/suite.yaml +23 -0
  409. package/evals/evidence/release/flaky/case.json +11 -0
  410. package/evals/evidence/release/flaky/contract.yaml +40 -0
  411. package/evals/evidence/release/flaky/runs/00.json +162 -0
  412. package/evals/evidence/release/flaky/runs/01.json +86 -0
  413. package/evals/evidence/release/flaky/runs/02.json +162 -0
  414. package/evals/evidence/release/flaky/runs/03.json +161 -0
  415. package/evals/evidence/release/flaky/runs/04.json +85 -0
  416. package/evals/evidence/release/flaky/runs/05.json +162 -0
  417. package/evals/evidence/release/flaky/runs/06.json +162 -0
  418. package/evals/evidence/release/flaky/runs/07.json +162 -0
  419. package/evals/evidence/release/flaky/runs/08.json +161 -0
  420. package/evals/evidence/release/flaky/runs/09.json +85 -0
  421. package/evals/evidence/release/flaky/runs/10.json +162 -0
  422. package/evals/evidence/release/flaky/suite.yaml +23 -0
  423. package/evals/evidence/release/injection-followed/case.json +13 -0
  424. package/evals/evidence/release/injection-followed/contract.yaml +40 -0
  425. package/evals/evidence/release/injection-followed/runs/00.json +162 -0
  426. package/evals/evidence/release/injection-followed/runs/01.json +162 -0
  427. package/evals/evidence/release/injection-followed/runs/02.json +161 -0
  428. package/evals/evidence/release/injection-followed/runs/03.json +85 -0
  429. package/evals/evidence/release/injection-followed/runs/04.json +162 -0
  430. package/evals/evidence/release/injection-followed/runs/05.json +162 -0
  431. package/evals/evidence/release/injection-followed/runs/06.json +162 -0
  432. package/evals/evidence/release/injection-followed/runs/07.json +161 -0
  433. package/evals/evidence/release/injection-followed/runs/08.json +85 -0
  434. package/evals/evidence/release/injection-followed/runs/09.json +162 -0
  435. package/evals/evidence/release/injection-followed/suite.yaml +23 -0
  436. package/evals/evidence/release/misuse-failed/case.json +11 -0
  437. package/evals/evidence/release/misuse-failed/contract.yaml +40 -0
  438. package/evals/evidence/release/misuse-failed/runs/00.json +162 -0
  439. package/evals/evidence/release/misuse-failed/runs/01.json +162 -0
  440. package/evals/evidence/release/misuse-failed/runs/02.json +161 -0
  441. package/evals/evidence/release/misuse-failed/runs/03.json +85 -0
  442. package/evals/evidence/release/misuse-failed/runs/04.json +162 -0
  443. package/evals/evidence/release/misuse-failed/runs/05.json +162 -0
  444. package/evals/evidence/release/misuse-failed/runs/06.json +162 -0
  445. package/evals/evidence/release/misuse-failed/runs/07.json +161 -0
  446. package/evals/evidence/release/misuse-failed/runs/08.json +85 -0
  447. package/evals/evidence/release/misuse-failed/runs/09.json +162 -0
  448. package/evals/evidence/release/misuse-failed/suite.yaml +23 -0
  449. package/evals/evidence/release/no-live/case.json +9 -0
  450. package/evals/evidence/release/no-live/contract.yaml +40 -0
  451. package/evals/evidence/release/no-live/runs/00.json +162 -0
  452. package/evals/evidence/release/no-live/runs/01.json +162 -0
  453. package/evals/evidence/release/no-live/runs/02.json +161 -0
  454. package/evals/evidence/release/no-live/runs/03.json +85 -0
  455. package/evals/evidence/release/no-live/runs/04.json +162 -0
  456. package/evals/evidence/release/no-live/suite.yaml +23 -0
  457. package/evals/evidence/release/not-run/case.json +11 -0
  458. package/evals/evidence/release/not-run/contract.yaml +40 -0
  459. package/evals/evidence/release/not-run/runs/00.json +162 -0
  460. package/evals/evidence/release/not-run/runs/01.json +161 -0
  461. package/evals/evidence/release/not-run/runs/02.json +85 -0
  462. package/evals/evidence/release/not-run/runs/03.json +162 -0
  463. package/evals/evidence/release/not-run/runs/04.json +162 -0
  464. package/evals/evidence/release/not-run/runs/05.json +162 -0
  465. package/evals/evidence/release/not-run/runs/06.json +161 -0
  466. package/evals/evidence/release/not-run/runs/07.json +85 -0
  467. package/evals/evidence/release/not-run/runs/08.json +162 -0
  468. package/evals/evidence/release/not-run/suite.yaml +23 -0
  469. package/evals/evidence/release/ready/case.json +9 -0
  470. package/evals/evidence/release/ready/contract.yaml +40 -0
  471. package/evals/evidence/release/ready/runs/00.json +162 -0
  472. package/evals/evidence/release/ready/runs/01.json +162 -0
  473. package/evals/evidence/release/ready/runs/02.json +161 -0
  474. package/evals/evidence/release/ready/runs/03.json +85 -0
  475. package/evals/evidence/release/ready/runs/04.json +162 -0
  476. package/evals/evidence/release/ready/runs/05.json +162 -0
  477. package/evals/evidence/release/ready/runs/06.json +162 -0
  478. package/evals/evidence/release/ready/runs/07.json +161 -0
  479. package/evals/evidence/release/ready/runs/08.json +85 -0
  480. package/evals/evidence/release/ready/runs/09.json +162 -0
  481. package/evals/evidence/release/ready/suite.yaml +23 -0
  482. package/evals/evidence/release/worse/case.json +11 -0
  483. package/evals/evidence/release/worse/contract.yaml +40 -0
  484. package/evals/evidence/release/worse/runs/00.json +86 -0
  485. package/evals/evidence/release/worse/runs/01.json +162 -0
  486. package/evals/evidence/release/worse/runs/02.json +161 -0
  487. package/evals/evidence/release/worse/runs/03.json +85 -0
  488. package/evals/evidence/release/worse/runs/04.json +162 -0
  489. package/evals/evidence/release/worse/runs/05.json +162 -0
  490. package/evals/evidence/release/worse/runs/06.json +162 -0
  491. package/evals/evidence/release/worse/runs/07.json +161 -0
  492. package/evals/evidence/release/worse/runs/08.json +85 -0
  493. package/evals/evidence/release/worse/runs/09.json +162 -0
  494. package/evals/evidence/release/worse/suite.yaml +23 -0
  495. package/evals/knowledge/shop/deploy/docker-compose.yml +22 -0
  496. package/evals/knowledge/shop/deploy/infra/main.tf +16 -0
  497. package/evals/knowledge/shop/deploy/nginx.conf +9 -0
  498. package/evals/knowledge/shop/docs/glossary.md +5 -0
  499. package/evals/knowledge/shop/docs/refunds.md +5 -0
  500. package/evals/knowledge/shop/forgeqe.yaml +15 -0
  501. package/evals/knowledge/shop/orders-api/db/001_orders.sql +8 -0
  502. package/evals/knowledge/shop/orders-api/package.json +1 -0
  503. package/evals/knowledge/shop/orders-api/src/clients/payments.ts +8 -0
  504. package/evals/knowledge/shop/orders-api/src/routes/orders.ts +23 -0
  505. package/evals/knowledge/shop/payments/app/main.py +16 -0
  506. package/evals/knowledge/shop/payments/migrations/001_payments.sql +2 -0
  507. package/evals/knowledge/shop/payments/requirements.txt +2 -0
  508. package/evals/knowledge/shop/questions.yaml +90 -0
  509. package/evals/knowledge/shop/runs/20261027-101500-cancel-order/network.json +5 -0
  510. package/evals/knowledge/shop/runs/20261027-101500-cancel-order/run.json +1 -0
  511. package/evals/knowledge/shop/runs/20261029-143000-cancel-again/network.json +6 -0
  512. package/evals/knowledge/shop/runs/20261029-143000-cancel-again/run.json +1 -0
  513. package/evals/knowledge/shop/web/package.json +1 -0
  514. package/evals/knowledge/shop/web/src/App.tsx +10 -0
  515. package/evals/knowledge/shop/web/src/api/orders.ts +14 -0
  516. package/evals/knowledge/shop/web/src/pages/OrderPage.tsx +7 -0
  517. package/evals/prompts/brain/route-link-cases.yaml +12 -0
  518. package/evals/prompts/brain/route-link-no-requirements.yaml +12 -0
  519. package/forgeqe.example.yaml +115 -15
  520. package/guardrails/README.md +14 -1
  521. package/package.json +1 -1
  522. package/prompts/README.md +1 -0
  523. package/prompts/brain.md +46 -7
  524. package/prompts/evidence-acceptance.md +45 -0
  525. package/prompts/evidence-content.md +56 -0
  526. package/prompts/evidence-scenarios.md +50 -0
  527. package/prompts/product-investigate.md +70 -0
  528. package/prompts/product-knowledge.md +74 -0
  529. package/py/forgeqe_engine/browser.py +78 -0
  530. package/py/forgeqe_engine/service.py +24 -0
  531. package/py/forgeqe_mobile/hyperexecute.py +6 -1
  532. package/testmu.example.yaml +16 -0
  533. package/dist/web/assets/Agent-yd1DyMzR.js +0 -4
  534. package/dist/web/assets/ApiTests-BwOGta9J.js +0 -10
  535. package/dist/web/assets/Chat-P8GH_6gl.js +0 -3
  536. package/dist/web/assets/Data-D2iCqk3t.js +0 -3
  537. package/dist/web/assets/Features-Bu38clxs.js +0 -1
  538. package/dist/web/assets/Jobs-DymuaGeN.js +0 -5
  539. package/dist/web/assets/KindPage-zl6TBkEl.js +0 -6
  540. package/dist/web/assets/Migration-Cg_FUqS_.js +0 -2
  541. package/dist/web/assets/Quality-D3bSHP_B.js +0 -1
  542. package/dist/web/assets/Record-DkCLJos6.js +0 -2
  543. package/dist/web/assets/Regression-B2qMKjAE.js +0 -5
  544. package/dist/web/assets/Reports-D_G9yfDa.js +0 -2
  545. package/dist/web/assets/Response-BnPAefP-.js +0 -4
  546. package/dist/web/assets/Runs-DsDj9-LT.js +0 -2
  547. package/dist/web/assets/Shell-DlZHZN0d.js +0 -3
  548. package/dist/web/assets/TestData-qI1R5Q9v.js +0 -2
  549. package/dist/web/assets/WhatsNew-CoCHqSDm.js +0 -1
  550. package/dist/web/assets/bot-D8486kSA.js +0 -1
  551. package/dist/web/assets/chevron-up-CQz_ZmIK.js +0 -1
  552. package/dist/web/assets/circle-BqXBUsQS.js +0 -1
  553. package/dist/web/assets/dataParts-bwNleJYd.js +0 -3
  554. package/dist/web/assets/index-Bh4NBbEU.js +0 -37
  555. package/dist/web/assets/index-DkgUrjyL.css +0 -2
  556. package/dist/web/assets/qualityParts-iy-mouSI.js +0 -1
  557. package/dist/web/assets/thread-BfW2V-2U.js +0 -5
@@ -152,7 +152,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
152
152
  <h3 class="band-title">Every feature</h3>
153
153
  <div class="area"><a href="#area-browser" class="area-name"><span class="mono">Browser</span></a><ul class="tiles"><li><a href="#cap-browser-goals" class="tile"><b>Run any goal in a real browser</b><span>Go to booking.com and search hotels in Mumbai for next weekend</span></a></li><li><a href="#cap-logins" class="tile"><b>Saved logins for the application under test</b><span>Sign in to the admin site and keep the session</span></a></li><li><a href="#cap-record-web" class="tile"><b>Record a web test by hand</b><span>I'll show you the checkout steps in the shop: record them</span></a></li></ul></div>
154
154
  <div class="area"><a href="#area-test-cases" class="area-name"><span class="mono">Test cases</span></a><ul class="tiles"><li><a href="#cap-run-test-cases" class="tile"><b>Run manual test cases in browsers</b><span>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</span></a></li><li><a href="#cap-test-case-quality" class="tile"><b>Check and improve test cases</b><span>Are the cases in test plan 12 good enough to run?</span></a></li><li><a href="#cap-write-test-cases" class="tile"><b>Write test cases from a story</b><span>Write test cases for story 1234 and save them</span></a></li><li><a href="#cap-domain-compliance" class="tile"><b>Domain and regulatory test design</b><span>Write test cases for story 1234, covering our DORA and PSD2 obligations</span></a></li><li><a href="#cap-exploratory-testing" class="tile"><b>Exploratory testing of a story</b><span>Explore story 1234 and find bugs</span></a></li></ul></div>
155
- <div class="area"><a href="#area-setup" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
155
+ <div class="area"><a href="#area-setup" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="#cap-product-knowledge" class="tile"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a href="#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
156
156
  <div class="area"><a href="#area-desktop" class="area-name"><span class="mono">Desktop</span></a><ul class="tiles"><li><a href="#cap-desktop-apps" class="tile"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
157
157
  <div class="area"><a href="#area-mobile" class="area-name"><span class="mono">Mobile</span></a><ul class="tiles"><li><a href="#cap-mobile-apps" class="tile"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
158
158
  <div class="area"><a href="#area-operations" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
@@ -343,6 +343,82 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
343
343
  </tbody>
344
344
  </table></div>
345
345
  </div></section>
346
+ <section class="doc sub" id="doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><h4>Evidence: what an agent did, decided and used</h4><div class="prose"><p>Evidence records what an AI agent did, how, what it decided and the reason it gave, and what data it used, so it can be
347
+ checked rather than taken on its word: ForgeQE's own agents, or any other team's or platform's. It receives an agent's
348
+ OpenTelemetry traces while it runs, and reads OpenTelemetry exports (generative AI conventions), Langfuse and LangSmith
349
+ exports, an agent's own JSON log with a mapping file (which field says what), and ForgeQE's own sessions. A record is
350
+ written once to <code>.forgeqe/evidence/runs/</code>; what the source does not say is listed as a gap, never guessed. What the
351
+ agent took in is kept as a fingerprint unless you ask for its content (<code>--content</code>, with secrets cut out).</p>
352
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe evidence receive # an agent's traces as it runs: prints the OTEL_* settings to give it
353
+ forgeqe evidence record langfuse-trace.json # a Langfuse trace (GET /api/public/traces/&lt;id&gt;) or observations
354
+ forgeqe evidence record langsmith-runs.json # LangSmith runs (list_runs, or read_run with child runs)
355
+ forgeqe evidence record --latest # ForgeQE's own last session (--latest 5 for five)
356
+ forgeqe evidence record trace.json # an OpenTelemetry export: one record per trace
357
+ forgeqe evidence record agent.jsonl --mapping mapping.yaml --content
358
+ forgeqe evidence runs # what is recorded, newest first
359
+ forgeqe evidence show &lt;id&gt; # one run: steps, inputs, decisions, statements, gaps
360
+ forgeqe evidence contract new &quot;claims-agent&quot; # a contract to edit: what was agreed for the agent
361
+ forgeqe evidence contract approve claims-agent # a person types its name; only then can its checks fail a run
362
+ forgeqe evidence check --all # each run against its agent's contract (exit 1 when one fails)
363
+ forgeqe evidence measure # how well each check is measured on labelled runs
364
+ forgeqe evidence findings &lt;id&gt; # the findings as a file the agent reads to fix them
365
+ forgeqe evidence check &lt;id2&gt; --attempt-of &lt;id&gt; # a fix attempt (two at most, then a person takes over)
366
+ forgeqe evidence overrule &lt;id&gt; &lt;finding&gt; --reason &quot;why&quot; # a person overrules one finding (at a terminal)
367
+ forgeqe evidence judge &lt;id&gt; # a model reads the answer: grounded in its inputs, and the owner's rubric
368
+ forgeqe evidence grade &lt;id&gt; R2 misses --reason &quot;why&quot; # a person grades the answer (at a terminal, or on its page)
369
+ forgeqe evidence calibrate claims-agent # how often the rubric's judge agrees with people's grades
370
+ forgeqe evidence dashboard claims-agent # per version: verdicts, checks, what keeps going wrong, by week; each number with its runs
371
+ forgeqe evidence causes &lt;id&gt; # where each open finding may come from: its instructions, a tool, its data
372
+ forgeqe evidence replay-kit &lt;id&gt; H1 # the change to make for a replay, as data for your harness
373
+ forgeqe evidence replay &lt;id&gt; H1 &lt;r1&gt; &lt;r2&gt; &lt;r3&gt; # the replays: proven when the finding is gone in 3 and nothing else broke
374
+ forgeqe evidence learn claims-agent # proposals: guidance from rules broken again and again, fixes from proven causes
375
+ forgeqe evidence decide claims-agent &lt;proposal&gt; approve --reason &quot;why&quot; # a person decides (at a terminal)
376
+ forgeqe evidence guidance claims-agent # what was approved, as Markdown to put into the agent
377
+ forgeqe evidence baseline claims-agent --reason &quot;released 2.2.0&quot; # a person keeps the baseline (at a terminal)
378
+ forgeqe evidence drift --all --notify # the nightly job: what changed since each baseline (exit 1 on an alert)
379
+ forgeqe evidence trust claims-agent assist --reason &quot;why&quot; # grant a level, never above what its evidence supports
380
+ forgeqe evidence audit claims-agent --out claims.audit.json # every decision with its evidence and approver
381
+ forgeqe evidence inventory # every agent evaluated: versions, models, tools, contract, trust, alerts
382
+ forgeqe evidence harness approve claims-agent # a person approves the commands ForgeQE runs the agent with
383
+ forgeqe evidence run-suite claims-agent --version 2.2.0 --live 2.1.0 --repeats 3 # ForgeQE runs both versions on the suite, then the gate
384
+ forgeqe evidence instrument # how an agent's OpenTelemetry sends its runs to ForgeQE
385
+ forgeqe evidence verify approve orders-api # a person approves how a repository is built and tested clean
386
+ forgeqe evidence build-check orders-api --base main --head agent/fix-123 --run &lt;id&gt; # the change built and tested, test by test
387
+ forgeqe evidence trajectory claims-agent storm-roof --version 2.2.0 # each run's path against the scenario's, step by step
388
+ forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # scenario by scenario, with run-to-run noise said
389
+ forgeqe evidence draft claims-agent --from jira:SHOP-12 --defect jira:SHOP-40 # scenarios drafted from acceptance criteria and defects
390
+ forgeqe evidence draft --run &lt;id&gt; # a run that failed, drafted as a scenario by code
391
+ forgeqe evidence draft support-agent --from-product --about shipped,refund # scenarios from the product graph's business rules
392
+ forgeqe evidence drafts accept &lt;draft&gt; --reason &quot;why&quot; # a person adds a draft to the suite (or reject), typing its id
393
+ forgeqe evidence fix &lt;id&gt; H1 # the cause's instruction added to a copy of the agent's prompt, proven by the harness
394
+ forgeqe evidence fix apply &lt;fix&gt; --reason &quot;why&quot; # a person applies a proven fix (typing its id); nothing is committed
395
+ forgeqe evidence demo ~/evidence-demo # a demo project: made-up agents' runs filling every Evidence page, agents being built run by the harness, and reports/ (then forgeqe web there)
396
+ forgeqe evidence ci orders-api --base origin/main --report report.md --sarif out.sarif # the pull request check
397
+ forgeqe evidence ci init github # the pipeline that runs it on every pull request (or azure)
398
+ forgeqe evidence scenarios claims-agent # the scenario suite's requests, to run through a version
399
+ forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # the release gate (exit 1 when held)
400
+ forgeqe evidence product-check orders-api --base main --run &lt;id&gt;
401
+ # an agent's change against the product graph (rules, architecture,
402
+ # dependencies, regression, security), kept beside its run; and against
403
+ # its work items' acceptance criteria (--work-item ado:123,jira:SHOP-12,
404
+ # else the ids its commits name), read by the model, quotes checked
405
+ </code></pre></div>
406
+ <p>A <strong>contract</strong> (<code>.forgeqe/evidence/contracts/&lt;name&gt;.yaml</code>) says what an agent's owner agreed: the steps it must take
407
+ and before what, the tools and agents it may use and never may, its limits, what a person decides, and what its
408
+ statements need behind them (&quot;approved&quot; needs an approval step that worked); and what each decision must have read
409
+ first, the data it may and may never take in (personal data too), that the amounts and ids it states are in its data,
410
+ and what its reasons may cite. Each run is checked against it in two lenses, behaviour (required steps, allowed
411
+ actions, limits, hand-over, statements) and decisions and data (grounded decisions, data allowed, facts from its data,
412
+ stated reasons, and instructions hidden in data, which every run is checked for). A contract's <code>content</code> section says
413
+ what the run's answer must be: rules code checks (its length, phrases it must and must never say), whether every
414
+ sentence rests on what it took in, and a rubric a judge scores; the rubric's misses count only once the judge agrees with
415
+ people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
416
+ once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
417
+ &quot;not known&quot;, never a pass. <span class="xref">docs/EVIDENCE.md</span> has the format.</p>
418
+ <p>In <code>forgeqe web</code> the <strong>Evidence</strong> group has the Overview (each agent), Agent runs (each run as a timeline, with its
419
+ verdict) and Contracts (each contract, and how well each check is measured).
420
+ <span class="xref">docs/EVIDENCE.md</span> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
421
+ </div></section>
346
422
  <section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Scribe, the reviewer, and the browser agent each keep their own conversation with the model. The Context panel shows the working agent's (or the last one to call the model), named on its Agent row, as a share of what it can hold before the agent runtime compacts it. When it compacts, the runtime summarises the conversation so far to make room, Activity says so, and details from early on may be gone. The browser agent never compacts: it keeps its last steps only.</p>
347
423
  <p>ForgeQE takes each model's window from its name (GPT-5: 400K, of which a prompt may take 272K; GPT-4.1: 1M; GPT-4o: 128K; o-series and Claude: 200K; Gemini: 1M; anything else: 200K) and gives it to the agent runtime, which compacts at that window less room for the answer. Where a deployment or server allows less, say so with <code>&quot;context&quot;</code> in the profile in <code>llms.json</code>:</p>
348
424
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre><code>&quot;ollama-llama&quot;: { &quot;provider&quot;: &quot;ollama&quot;, &quot;model&quot;: &quot;llama3.2&quot;, &quot;endpoint&quot;: &quot;http://127.0.0.1:11434/v1&quot;, &quot;context&quot;: 32768 }
@@ -351,11 +427,12 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
351
427
  </div></section>
352
428
  <section class="doc sub" id="doc-how_to_use-signing-in-to-your-tools"><h4>Signing in to your tools</h4><div class="prose"><p>Instead of copying tokens into <code>.env</code>, sign in once and ForgeQE saves the token in your system's credential store: the macOS Keychain, Windows Credential Manager, or the Secret Service keyring on Linux. On a machine without one, such as a headless Linux box, it uses <code>~/.forgeqe/credentials.json</code>, readable only by you.</p>
353
429
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe auth login # pick a system
354
- forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray
430
+ forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray,
431
+ # browserstack, testmu, gitlab, postman, sentry, azure, dataverse
355
432
  forgeqe auth # what is signed in, and how
356
433
  forgeqe auth logout jira
357
434
  </code></pre></div>
358
- <p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed into the prompt box unseen, shown as dots, and never sent to the agent.</p>
435
+ <p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed into the prompt box unseen, shown as dots, and never sent to the agent. In the web app, every system's card in Settings (Integrations, and MCP servers) has the same sign-in under Edit: its questions are answered on the page, a token goes into a password field and never comes back, and the page to open is shown as a link.</p>
359
436
  <div class="tbl"><table>
360
437
  <thead>
361
438
  <tr><th>System</th><th>How you sign in</th></tr>
@@ -364,12 +441,16 @@ forgeqe auth logout jira
364
441
  <tr><td>Azure DevOps</td><td><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>); ForgeQE saves nothing, and the Azure CLI renews the sign-in. Or paste a personal access token: the token page opens with the scopes to tick. Azure DevOps Server (on-premises) uses a personal access token.</td></tr>
365
442
  <tr><td>GitHub</td><td><strong>Sign in with GitHub in the browser</strong> through the GitHub CLI (<code>gh auth login</code>): ForgeQE shows the one-time code and opens the page. Or paste a token. Needs <code>gh</code> installed. <code>forgeqe auth login copilot</code> can use this sign-in for a <code>github_copilot</code> profile.</td></tr>
366
443
  <tr><td>GitHub Copilot</td><td><code>forgeqe auth login copilot</code>: <strong>Sign in with GitHub in the browser</strong> (GitHub's own Copilot sign-in), or paste a fine-grained token with the Copilot Requests permission. ForgeQE checks it with Copilot and lists the models your seat has. For a <code>github_copilot</code> profile; see <a href="index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>.</td></tr>
367
- <tr><td>Jira, Confluence</td><td>Your Atlassian API tokens page opens (Cloud) or your personal access tokens page (Server/Data Center); create one and paste it. Confluence on the same Cloud site as Jira reuses the Jira sign-in.</td></tr>
444
+ <tr><td>Jira, Confluence</td><td>Jira Cloud: <strong>Sign in with Atlassian in the browser</strong>, for Atlassian's Rovo MCP server (Jira and Confluence tools for ForgeQE's agent), or an API token. ForgeQE's own Jira calls (finding and running test cases, posting results) still need the API token. Otherwise your Atlassian API tokens page opens (Cloud) or your personal access tokens page (Server/Data Center); create one and paste it. Confluence on the same Cloud site as Jira reuses the Jira sign-in.</td></tr>
445
+ <tr><td>GitLab, Sentry, Postman, BrowserStack</td><td><strong>Sign in in the browser</strong>, with the system's own sign-in, for its MCP server; or paste a token or key. The browser sign-in is GitLab's (GitLab.com or your own), Sentry's (sentry.io), Postman's (US) and BrowserStack's: self-hosted Sentry and Postman's EU server take a token only. BrowserStack's remote browsers still need the user name and access key.</td></tr>
446
+ <tr><td>Azure</td><td><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>), for Microsoft's Azure MCP server.</td></tr>
447
+ <tr><td>Dataverse</td><td><strong>Sign in with Microsoft in the browser</strong> through the Dataverse CLI (<code>npx @microsoft/dataverse auth create</code>), for the environment <code>integrations.dataverse.url</code> names.</td></tr>
368
448
  <tr><td>TestRail, Zephyr Scale, qTest, Xray Cloud</td><td>The page with your API key opens, or ForgeQE says where to find it; paste it.</td></tr>
369
449
  <tr><td>Anything else</td><td><code>forgeqe auth login OPENAI_API_KEY</code> (any variable name) saves that one secret: a model key, a Teams webhook URL, an SMTP or saved-login password.</td></tr>
370
450
  </tbody>
371
451
  </table></div>
372
- <p>Atlassian's OAuth sign-in needs a client secret, which a command-line tool cannot keep secret, so Jira and Confluence use API tokens: they are what Atlassian recommends for scripts and tools.</p>
452
+ <p><strong>Browser sign-ins of MCP servers.</strong> GitLab, Sentry, Postman, BrowserStack and Atlassian's Rovo server sign ForgeQE in as the MCP authorization spec has it: ForgeQE reads the server's OAuth metadata, registers itself as a public client, opens the system's sign-in page with PKCE, and takes the answer on a one-time listener on <code>127.0.0.1</code>. Every address involved must be https. The tokens are kept in the credential store and renewed before each session; a sign-in is used only with the server it was given for, so changing the GitLab address needs a new sign-in. <code>forgeqe auth logout &lt;system&gt;</code> removes it (the system may still list ForgeQE among your authorized apps until you revoke it there). A token variable, when set, is used instead.</p>
453
+ <p>Atlassian's OAuth sign-in for its REST API needs a client secret, which a command-line tool cannot keep secret, so ForgeQE's own Jira and Confluence calls use API tokens: they are what Atlassian recommends for scripts and tools.</p>
373
454
  <p>Each token is checked against the system before it is saved, and the system is switched on: a saved Jira sign-in sets the site URL too, so <code>sources.jira</code> is not needed in <code>forgeqe.yaml</code>. Saved values go in under the variable names the config already reads (<code>JIRA_API_TOKEN</code>, <code>ADO_PAT</code>, ...). A variable exported in the terminal is used before a saved sign-in, and a saved sign-in before a <code>.env</code> file, so pipelines keep using their secrets. The shell commands the agents run never see the saved secrets.</p>
374
455
  </div></section>
375
456
  <section class="doc sub" id="doc-how_to_use-choosing-the-model-and-the-browser"><h4>Choosing the model and the browser</h4><div class="prose"><p><code>forgeqe.yaml</code> selects the active profile:</p>
@@ -378,6 +459,7 @@ forgeqe auth logout jira
378
459
  active: azure-gpt4o
379
460
  routing: auto # off | shadow | auto: each area of work gets the model it needs
380
461
  # routes: # limit or pin an area: browser: [gpt4o, gpt54], coding: gpt54
462
+ # agents: # an agent's own default model: forgeqe: gpt54, engine: gpt4o, forgeqe-test: gpt54
381
463
 
382
464
  browser:
383
465
  headless: true
@@ -397,7 +479,10 @@ ask). Carry on gives it as many steps, or as long, again; the browser stays open
397
479
  spent waiting does not count. Stop ends it there, keeping everything it did (its steps, screenshots, report and what it
398
480
  recorded, such as an accessibility persona's barriers). No answer in 10 minutes is a stop. A run nobody can be asked
399
481
  about (a schedule, CI, <code>--yes</code>) stops at its limit as before. A run that stops at a limit is not counted as passed.
400
- <code>code.max_tokens</code> asks the same way for the coding agent and the API test writer.</p>
482
+ A run that has made no progress by a <code>max_steps</code> checkpoint (its recent steps all failed) asks the same way before it
483
+ stops, instead of ending there: you may know the page is slow or the form is long. <code>code.max_tokens</code> asks the same way for
484
+ the coding agent and the API test writer. <code>forgeqe suite</code> in a terminal asks too, for each case's browser run and coding job,
485
+ one question at a time when cases run side by side.</p>
401
486
  <p><code>judge</code> is off by default. When it is on, one more model call reads the finished run's steps and screenshots and can fail a run the agent completed, for example when five scores were read off one results page rather than one step per item. That strictness sent runs into loops of re-checking, so turn it on only when you want that second opinion.</p>
402
487
  <p>Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
403
488
  <p>With a visible browser (<code>headless: false</code> or <code>--headed</code>), ForgeQE opens on its own start page, and every page it drives gets a glowing edge and a bar along the bottom showing, in plain words, what the step is for and what the agent is doing (&quot;Step 19 · Check whether the results can be sorted by Fastest · Looking through the page's buttons&quot;). Your mouse and keyboard are locked while the agent thinks and unlocked while it clicks and types, so a stray click can't change the test. None of this appears in the screenshots the model sees or in the report. <code>overlay: false</code> turns it off. <code>forgeqe login &lt;name&gt;</code> shows the same bar without the lock, since you are the one signing in.</p>
@@ -608,7 +693,7 @@ Summary: Show the deployed build in each environment, and why each deployment fa
608
693
  </div></section>
609
694
  <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
610
695
  activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
611
- quality, data, runs, reports and schedules; and every setting as a form, with keys kept in your credential store. It
696
+ quality, data, runs, reports, schedules and agent evidence; and every setting as a form, with keys kept in your credential store. It
612
697
  listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
613
698
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe web # a free port, opened in your browser
614
699
  forgeqe web --port 4711 # a fixed port
@@ -1122,6 +1207,39 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1122
1207
  <section class="doc" id="doc-how_to_use-results-back-in-the-source">
1123
1208
  <h4>Results back in the source</h4>
1124
1209
  <div class="prose"><p>Test cases the agent writes from an Azure DevOps or Jira story are saved there with <code>save_test_cases</code>, linked to the story, and the reply lists them as links; set <code>sources.save_cases: false</code> to keep them in the reply only. Replies in the shell render as markdown (headings, lists, tables, links).</p>
1210
+ <p>A story often changes a feature that already has test cases, linked to an older story. Map where those cases live in <code>forgeqe.yaml</code>, and saving reuses or extends them instead of writing new ones:</p>
1211
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>sources:
1212
+ azure_devops:
1213
+ test_cases: # the story's area path (or a parent of it) = where its cases are
1214
+ Shop\Checkout: plan=12/suite=34 # a suite; plan=12 alone is every suite of the plan (the first 25)
1215
+ &quot;*&quot;: area=Shop\Regression # Test Cases under an area path; * is every other story
1216
+ jira:
1217
+ test_cases: # the story's project key = where its cases are
1218
+ SHOP: label=regression; component=Checkout # also project= and type= (default Test)
1219
+ </code></pre></div>
1220
+ <p>ForgeQE reads that one place itself, at most 300 cases by title and the steps of only the few closest to each new case, so the agent never searches for cases and spends nothing on it. Each case the agent wrote is then: <strong>reuse</strong> when a case there has the same steps; <strong>extends</strong> when a case there has all of its steps in order and this one adds some; <strong>differs</strong> or <strong>similar</strong> as for linked cases; otherwise <strong>created</strong>. Nothing is written to an existing case until you agree. For reuse the agent offers <code>link_test_case</code>, which shows each case with the other stories it tests and asks before linking. For extends it offers <code>update_test_case</code> with only the added steps (<code>insert</code>): the question shows just those steps and where they go, links the case to the story in the same answer, and names the other stories the case tests, since the change applies to them too; when the old steps must stay for those, the agent saves your case as a new one instead. A case is linked only when it is a test case of the story's project (in Jira, or of the project its <code>test_cases</code> names), at most 20 at once. With no <code>test_cases</code>, only the cases linked to the story are compared. Settings › Integrations has the same field for each system.</p>
1221
+ <p>More of managing test cases, each set in <code>forgeqe.yaml</code> (and Settings › Integrations):</p>
1222
+ <ul>
1223
+ <li><strong>Where new cases go.</strong> When <code>test_cases</code> maps a story to a suite (<code>plan=12/suite=34</code>), new Azure DevOps cases are added to that suite, and run from it, so their results are recorded as a test run in the plan rather than as comments. Other systems: <code>save_test_cases</code> writes Xray tests with their steps in Xray (<code>sources.xray.save_steps: true</code>, Cloud and Server/DC), TestRail cases in <code>sources.testrail.section_id</code> with the story in refs, and Zephyr Scale cases (in <code>sources.zephyr.folder_id</code>) linked to the Jira story. qTest is not written to: linking a case to a story there goes through qTest requirements and its Jira integration.</li>
1224
+ <li><strong>Fields on new cases.</strong> <code>new_cases</code> gives every new case a priority, tags or labels, and in Azure DevOps a state: <code>state: Design</code> makes each case wait for a person to mark it Ready. The agent may give a case its own priority and tags.</li>
1225
+ <li><strong>Shared steps and data.</strong> <code>sources.azure_devops.shared_steps</code> lists Shared Steps work items; a new case that has their steps in a row refers to them instead of copying them. A case run with several sets of data gets parameters (<code>@user</code>) and a data table.</li>
1226
+ <li><strong>Cases left behind by a story change.</strong> <code>story_test_cases</code> reads the story's history and marks the linked cases last changed before its title, description or acceptance criteria were (stale), with what changed. The agent offers to update each one the change affects, or to retire one that tests behaviour the story no longer has.</li>
1227
+ <li><strong>Retiring a case.</strong> <code>retire_test_case</code> asks first, then closes it (Azure DevOps <code>retire_state</code>, default Closed) or labels it (Jira <code>retire_label</code>, default obsolete), with the reason. Nothing is deleted, and retired cases are not offered for reuse.</li>
1228
+ <li><strong>Duplicates before saving.</strong> <code>check_test_cases</code> with <code>against</code> (a story) compares the cases with the story's linked cases and its scope: the same steps is a duplicate naming the existing case, more steps or a close title an overlap.</li>
1229
+ <li><strong>Cases with no story.</strong> Cases written from a page, a spec or a file are saved in an Azure DevOps area path or a Jira or Zephyr Scale project you name, compared with that area's or project's scope.</li>
1230
+ <li><strong>The feature's other stories.</strong> <code>sibling_cases: true</code> also compares with the cases of the other stories under the story's feature or epic (the first 30 stories; in Jira, the parent field Jira Cloud uses for epics).</li>
1231
+ <li><strong>Automation on Jira and Xray.</strong> A test that passes for a Jira or Xray case labels it <code>automated</code> and records the test on the issue, as Azure DevOps cases get their Associated Automation; a comment is added only when the test is new.</li>
1232
+ <li><strong>Release readiness in Jira.</strong> <code>release_readiness</code> with <code>system: jira</code> reads a sprint, a fix version, an epic or story keys: each story's tests, which are automated, their last results (ForgeQE's runs, Xray test runs and Zephyr Scale executions, the newest of them), open bugs by priority, and the same verdict.</li>
1233
+ <li><strong>Matching by steps.</strong> Saving keeps an index of the scope's cases in <code>.forgeqe/cases-index/</code> (git-ignored): every case's steps read once, then only those changed since, 40 per save. A case with the same steps is found whatever its title, and a slightly reworded step still counts for extends.</li>
1234
+ <li><strong>Several changes at once.</strong> <code>apply_case_changes</code> links, extends, updates and retires several cases with one question, every change checked and read first.</li>
1235
+ <li><strong>What ForgeQE changed.</strong> Every case it creates, links, updates or retires is logged in <code>.forgeqe/history/case-changes.jsonl</code>; <code>story_test_cases</code> and the readiness report list the changes for their stories.</li>
1236
+ <li><strong>Acceptance criteria traced to cases.</strong> Saved cases carry the criteria they cover (<code>covers</code>), and <code>trace_criteria</code> records which linked cases cover which; <code>story_test_cases</code> lists each criterion with its cases, and readiness names the criteria no traced case covers.</li>
1237
+ <li><strong>Healing and test cases.</strong> When healing fixes a test because the application changed, it names the test cases that test automates (heal.md, Test cases to review), and the agent offers to update their steps.</li>
1238
+ <li><strong>From Requirements Agent.</strong> Requirements Agent writes <code>requirements.json</code> next to its report; <code>requirements_file</code> reads it, and the agent writes a case per requirement, traced by its id (FR-001).</li>
1239
+ <li><strong>qTest, TestRail and Zephyr Scale.</strong> Cases are saved in qTest (<code>module_id</code>, linked to the story's requirement), retired in TestRail (moved to <code>retired_section_id</code>) and Zephyr Scale (status Deprecated), and marked automated (TestRail's <code>automation_field</code>, Zephyr Scale's <code>automated</code> label). Sibling stories on Jira Server are found through Epic Link.</li>
1240
+ <li><strong>Settings checks.</strong> A <code>test_cases</code>, <code>new_cases</code> or retire setting ForgeQE would refuse when saving cases is refused when Settings saves it, with the setting named. In a saved Azure DevOps or Jira connection, <strong>Try</strong> beside each <code>test_cases</code> line says how many cases it finds, with a few of their titles.</li>
1241
+ <li><strong>The Test cases page</strong> (<code>forgeqe web</code>, Test cases): open a story by its system and id to see its linked cases (those older than the story's last change marked), its acceptance criteria with the cases traced to each, what ForgeQE changed, and the changes <code>save_test_cases</code> proposed. Tick the ones to make, review them, and Apply: the server checks every change again and nothing is written before Apply.</li>
1242
+ </ul>
1125
1243
  <p>With <code>sources.write_back: true</code> (the default), results go back after the suite:</p>
1126
1244
  <ul>
1127
1245
  <li><strong>Azure DevOps plan:</strong> a completed test run for the plan with each test point's outcome and the agent's summary as the comment. Cases read by id get a comment on the work item instead.</li>
@@ -1171,7 +1289,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1171
1289
  <div class="facts">
1172
1290
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Are the cases in test plan 12 good enough to run?</li><li>Fix the expected results of case 4512</li></ul></div>
1173
1291
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to rewrite cases in place: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
1174
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>check_test_cases</code> <code>update_test_case</code></p></div>
1292
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>check_test_cases</code> <code>update_test_case</code> <code>retire_test_case</code></p></div>
1175
1293
  </div>
1176
1294
  <div class="detail"><span class="mono">In detail</span>
1177
1295
  <section class="doc" id="doc-how_to_use-checking-test-cases-before-they-run">
@@ -1207,11 +1325,11 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
1207
1325
  </article>
1208
1326
  <article class="spec feat" id="cap-write-test-cases">
1209
1327
  <div class="hd"><span class="mono">Test cases</span><h3>Write test cases from a story</h3></div>
1210
- <p class="ds">Writes test cases from a story's acceptance criteria and saves them in Azure DevOps or Jira, linked to the story. Reads the cases already linked first, so asking again adds only what is missing and updates cases in place instead of duplicating them; plans end-to-end journeys from the existing cases.</p>
1328
+ <p class="ds">Writes test cases from an understanding of the feature, not only a story's acceptance criteria: it reads the feature and epic above the story, their other stories, linked Confluence pages, the RAG service, product knowledge, the app's pages and flows in page memory, and the area's past defects (from earlier runs and the tracker's bugs), then analyses each criterion before it designs cases. Each case names what it covers, and nothing is saved while a criterion has no case or reason. Saves them in Azure DevOps or Jira, linked to the story. Reads the cases already linked first, so asking again adds only what is missing and updates cases in place instead of duplicating them; plans end-to-end journeys from the existing cases.</p>
1211
1329
  <div class="facts">
1212
1330
  <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write test cases for story 1234 and save them</li><li>Build an end-to-end journey from story 1234's cases</li></ul></div>
1213
1331
  <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>Azure DevOps or Jira: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
1214
- <div class="fact"><span class="mono">Tools</span><p class="tools"><code>story_test_cases</code> <code>save_test_cases</code> <code>e2e_journey</code></p></div>
1332
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>story_test_cases</code> <code>save_test_cases</code> <code>link_test_case</code> <code>apply_case_changes</code> <code>trace_criteria</code> <code>requirements_file</code> <code>e2e_journey</code></p></div>
1215
1333
  </div>
1216
1334
  <div class="detail"><span class="mono">In detail</span>
1217
1335
  <p class="see">See <a href="#doc-how_to_use-where-cases-come-from">Where cases come from</a>.</p>
@@ -1643,6 +1761,224 @@ forgeqe prompts eval refine --runs 3 # one prompt, three runs of each case
1643
1761
  </section>
1644
1762
  </div>
1645
1763
  </article>
1764
+ <article class="spec feat" id="cap-product-knowledge">
1765
+ <div class="hd"><span class="mono">Setup</span><h3>Product knowledge from the product's repositories</h3></div>
1766
+ <p class="ds">Reads every repository of the product, and its documents and links (folders, docs sites, API descriptions, Confluence, and the pages ForgeQE remembers of the apps), into one knowledge graph: its services, HTTP endpoints, database tables, classes, files, documents, and tests, and how they connect, across repositories (the web app's call to the API endpoint it reaches, the code that reads or writes a table). The configured model (a GitHub Copilot seat or any llms.json profile) then writes what each part does and the product's business domains, flows, rules, glossary and roles, as a graph and as pages. Agents search it by requirement, follow a flow step by step to its code, and see what a change reaches and which tests cover it.</p>
1767
+ <div class="facts">
1768
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>How does the product cancel an order? Show the endpoints and tables involved</li><li>What does a change to OrderService reach, and which tests cover it?</li><li>Which repository serves POST /api/orders?</li><li>Build the product knowledge graph</li><li>Walk me through the checkout flow, step by step</li></ul></div>
1769
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The product's repositories: product.repos in forgeqe.yaml, a name and the path of a local clone each</span></li></ul></div>
1770
+ <div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Reads local clones of the repositories named in product.repos; it does not clone or pull them</li><li>A docs site is read from its link in product.docs and the pages it links to on the same site only; pages that need a browser to draw are not read</li><li>Endpoints, calls and tables come from the code's patterns (Express, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, SQL); a route built at run time is not seen</li><li>The model reads at most product.max_model_files changed files a build (400 by default); the rest wait for the next build</li><li>Domains, flows and rules are what the model finds in the code and documents: a hypothesis to check, not a specification</li></ul></div>
1771
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>product_knowledge</code></p></div>
1772
+ </div>
1773
+ <div class="detail"><span class="mono">In detail</span>
1774
+ <section class="doc" id="doc-how_to_use-product-knowledge-graph">
1775
+ <h4>Product knowledge graph</h4>
1776
+ <div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover it. Name the repositories in <code>forgeqe.yaml</code>, each a local clone (<code>path</code>, relative to the file) or its link (<code>git</code>):</p>
1777
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>product:
1778
+ name: Shop
1779
+ repos:
1780
+ web: { path: ../shop-web }
1781
+ orders: { git: https://dev.azure.com/acme/Shop/_git/orders, branch: main, token_env: ADO_PAT }
1782
+ crm: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, token_env: BITBUCKET_TOKEN }
1783
+ mobile: { git: git@github.com:acme/shop-app.git } # ssh signs in with your ssh keys
1784
+ exclude: [&quot;**/generated/**&quot;]
1785
+ model: true # false: structure only, nothing goes to a model
1786
+ max_model_files: 400 # most changed files the model reads in one build
1787
+ docs: # documents and links, by name: one of path, url, confluence, or app each
1788
+ handbook: { path: ../shop-docs }
1789
+ help: { url: https://help.shop.example/, depth: 1, max_pages: 100 }
1790
+ api: { url: https://api.shop.example/openapi.json }
1791
+ wiki: { confluence: SHOP }
1792
+ shop: { app: shop-web }
1793
+ </code></pre></div>
1794
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe knowledge build # read every repository (again: only files changed since the last build), then the model
1795
+ forgeqe knowledge build --yes # without asking first (pipelines); --no-model: structure only
1796
+ forgeqe knowledge build --repo api # just one repository or source; the others keep their last reading
1797
+ forgeqe knowledge status # what the graph holds, and when each repository was read (its link and commit)
1798
+ forgeqe knowledge pipeline init # the pipeline that builds the knowledge every night and shares it (see below)
1799
+ forgeqe knowledge pull # the team's knowledge (product.shared), without cloning any repository
1800
+ forgeqe knowledge systems --propose # the model proposes the systems; accept, rename or reject each (also on the page)
1801
+ forgeqe knowledge landscape # the product's systems and how they talk (REST, routes, events, shared data, SDK)
1802
+ forgeqe knowledge history # each build: the commits it read, and the endpoints, screens, tables, rules that came and went
1803
+ forgeqe knowledge search &quot;cancel an order&quot;
1804
+ forgeqe knowledge impact Services/OrderService.cs # what a change reaches: code across repositories, business flows, tests
1805
+ forgeqe knowledge flow &quot;cancel an order&quot; # a business flow, step by step, with the code of each step
1806
+ forgeqe knowledge gaps # what the build could not settle: calls no route or several fit, other hosts, unknown tables
1807
+ forgeqe knowledge check # find each quoted line again in its file: what moved, what is gone
1808
+ forgeqe knowledge ask &quot;Can a customer cancel an order that has shipped?&quot;
1809
+ forgeqe knowledge findings &quot;cancel&quot; # what earlier questions found; stale ones marked
1810
+ </code></pre></div>
1811
+ <p><strong>Repositories from their links.</strong> You do not need every repository cloned. A repository given by <code>git</code> is fetched by
1812
+ ForgeQE itself into its own cache (under <code>~/.forgeqe/cache/product-repos</code>), never into your workspace: the branch's
1813
+ latest commit only, and only the files the graph reads (no images, archives, binaries, <code>node_modules</code> or <code>vendor</code>).
1814
+ Each build first asks the server for the branch's commit and fetches only when it moved; then only the files that
1815
+ changed are read again. It works with GitHub and GitHub Enterprise, Azure DevOps (Services and Server), GitLab,
1816
+ Bitbucket Cloud and Bitbucket Server / Data Center, and any git server, over https or ssh.</p>
1817
+ <ul>
1818
+ <li><strong>Signing in:</strong> <code>token_env</code> names the variable that holds a token (or save it with <code>forgeqe auth login ADO_PAT</code>): a
1819
+ personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a project or personal token for
1820
+ GitLab, an HTTP access token for Bitbucket Server, a repository access token for Bitbucket Cloud (or an app password
1821
+ with <code>user:</code>). It is sent to that host only, as a header, never in the link or a file. Without <code>token_env</code>, git signs in
1822
+ as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.</li>
1823
+ <li><strong>Pinned to a commit:</strong> <code>forgeqe knowledge status</code> shows each repository's link, branch and commit, and on the Product
1824
+ page a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
1825
+ built from.</li>
1826
+ <li><strong>When a server cannot be reached,</strong> the build reads the last fetched commit and says so; a repository never fetched
1827
+ keeps its graph from the last build. Neither stops the other repositories.</li>
1828
+ <li><strong>What changed:</strong> every build is kept in <code>graph/history.jsonl</code>; <code>forgeqe knowledge history</code> lists the commits each
1829
+ build read and what came and went.</li>
1830
+ <li><strong>Safety:</strong> git runs with an argument array; repository hooks, submodules, LFS downloads and symbolic links are off;
1831
+ only https and ssh links are taken (never <code>ext::</code>, <code>file://</code> or a local path), and none with a password or <code>..</code> in it.</li>
1832
+ </ul>
1833
+ <p><strong>What the runs did, against the code.</strong> Every build also reads the API calls ForgeQE's last 50 runs recorded
1834
+ (<code>network.json</code> in the reports folder: method, host, path and status; never a body, header or query value, and a path
1835
+ segment that is an email address or a long token is masked). A call whose route a repository declares marks that
1836
+ endpoint, the front end's call of it, and the screen the run was on as seen in a run, with the call as evidence. A call
1837
+ near a declared route but not it (one segment differs, or one more such as <code>/v2</code>) is listed as differing from the code;
1838
+ a call no repository declares, as shown only by the runs.</p>
1839
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe knowledge runtime # what differs from the code, what only the runs show, endpoints no run reached
1840
+ </code></pre></div>
1841
+ <p><strong>Sharing the knowledge with the team.</strong> One machine builds the knowledge; everyone else pulls it, with no clone of
1842
+ any repository. Run once, in the repository that holds <code>forgeqe.yaml</code>:</p>
1843
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe knowledge pipeline init # writes .github/workflows/forgeqe-knowledge.yml and pipelines/forgeqe-knowledge.yml
1844
+ </code></pre></div>
1845
+ <p>Commit the file for your CI (and <code>forgeqe.yaml</code>, <code>llms.json</code>), add the secrets it names (each repository's <code>token_env</code>,
1846
+ each document link's, and the model's key), and run it once. Every night, and when you start it, the pipeline:</p>
1847
+ <ol>
1848
+ <li>installs ForgeQE at this exact version;</li>
1849
+ <li>starts from the last pack, so only what changed is read again and the history goes on;</li>
1850
+ <li>runs <code>forgeqe knowledge build --yes</code> (with the model, unless you untick it);</li>
1851
+ <li>exports the pack (<code>forgeqe knowledge export</code>), keeps it as the run's artifact, and publishes it as the one file of
1852
+ the <code>forgeqe-knowledge</code> branch.</li>
1853
+ </ol>
1854
+ <p>Repositories given by <code>path</code> (a local clone) are not read by the pipeline: give them <code>git:</code>. In Azure DevOps the build
1855
+ service needs Contribute on the repository to publish the branch.</p>
1856
+ <p>Everyone else points <code>product.shared</code> at it and pulls (or Settings, Agents, The team's knowledge):</p>
1857
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>product:
1858
+ shared: { git: https://dev.azure.com/acme/Shop/_git/qa, branch: forgeqe-knowledge, file: shop.knowledge.forgeqe, token_env: ADO_PAT }
1859
+ # or { url: https://files.acme.local/shop.knowledge.forgeqe, token_env: FILES_TOKEN }, or { path: //share/qa/shop.knowledge.forgeqe }
1860
+ </code></pre></div>
1861
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe knowledge pull # the newest pack: the same graph, Landscape, views, history and findings
1862
+ forgeqe knowledge import shop.knowledge.forgeqe # or a pack you were given (a file or an https link)
1863
+ </code></pre></div>
1864
+ <p><code>forgeqe knowledge status</code> and the Product page say &quot;From the team's build of …&quot; with the commits it read; a build of
1865
+ your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is checked before
1866
+ anything is written: only the knowledge folder's own files, each matching its checksum, within a size limit. It holds
1867
+ quotes of the code: share it only with people who may read those repositories. Without the repositories, <code>forgeqe knowledge ask</code> answers from the graph and documents but cannot open the code itself.</p>
1868
+ <p><strong>The Landscape.</strong> The Engineering view opens on the product's systems: CRM, Digital, Mobile, Payments, the outside
1869
+ services it uses, and how they talk to each other, each link summed up by kind (REST calls, gateway routes, events on a
1870
+ topic or queue, shared data, an outside SDK), with how often, how it is known, and examples you can trace to the code.
1871
+ Give each repository its system in <code>forgeqe.yaml</code> (or Settings, Agents, Repositories):</p>
1872
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>product:
1873
+ repos:
1874
+ crm-core: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, system: CRM }
1875
+ crm-api: { git: https://bitbucket.acme.local/scm/crm/crm-api.git, system: CRM }
1876
+ shop-web: { path: ../shop-web, system: Digital }
1877
+ </code></pre></div>
1878
+ <p>Or let the model propose them: <code>forgeqe knowledge systems --propose</code> (asked first, like every use of the model; a
1879
+ build where the model reads the product also proposes one for each new repository). It reads what the graph knows of
1880
+ each repository (what it says it is, its frameworks, endpoints, screens, tables, the outside services it uses, the
1881
+ repositories it calls) and the product's documents, and names the systems in the business's words, each with why. On
1882
+ the Landscape, under <em>Systems proposed by the model</em>, accept each, rename it, or reject it (<code>forgeqe knowledge systems --accept orders-api</code>, <code>--accept payments --as Payments</code>, <code>--reject deploy</code>, <code>--undo deploy</code>). A system set in
1883
+ <code>forgeqe.yaml</code> always wins, then a person's decision, then the model's proposal; the proposal and the decisions travel
1884
+ in the team's pack. A repository with none of these is grouped with those that share the first word of its name
1885
+ (<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
1886
+ system. <code>forgeqe knowledge landscape</code> prints the same, and the agents ask it through the knowledge tool.</p>
1887
+ <p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar, Context) that draws the graph as the Engineering
1888
+ view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
1889
+ data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
1890
+ wide as the page and as tall as the window. A green wire is a call a run saw, a dotted amber one a run made differently,
1891
+ a dashed one goes to an outside system, and a grey one is read in the code or configuration. Hover over or tab to a part
1892
+ to trace what it sends and receives; the How they talk tab lists every link in words. Select a service to see it from the inside: its endpoints with the authentication
1893
+ they need, who calls them and what a change to one reaches; what it calls, reads, writes, publishes and uses. Each part
1894
+ opens its evidence (the file and line, or the run's call), and each open question has Investigate, which asks
1895
+ ForgeQE's agent in a chat.</p>
1896
+ <p>Its second view, <strong>Product</strong>, is the product as the business sees it, in its own words: what the product does (each
1897
+ capability with the actions people take, such as &quot;View an order&quot; and &quot;Cancel an order&quot;, what it keeps and who it shares
1898
+ with), journeys as a storyboard of steps (the ones ForgeQE's runs walked, and the ones the model named) with what each
1899
+ step causes (&quot;Saves the order&quot;, &quot;Announces “order cancelled”&quot;) and when it is not allowed, business rules as sentences
1900
+ (&quot;Cancel an order is refused when: Order has shipped&quot;), each record's life (placed → cancelled, with the states rules
1901
+ check), the glossary, and the last result of your team questions (<code>forgeqe knowledge eval</code>). Before the model has read
1902
+ the product these words come from the code: the action from each request, the rule from the message the product
1903
+ answers with, the life from the states the code sets and checks; after, the model's names and sentences, each citing
1904
+ what shows it. <strong>Show how it is built</strong> adds the requests, files, the capability map and the sequence of calls under
1905
+ each. Mark a rule, journey, capability or term <strong>Right</strong> or <strong>Wrong</strong>, with what is right instead: it is kept in
1906
+ <code>graph/feedback.json</code> and from the next build the agents read it as a person's word, ahead of the model's.</p>
1907
+ <p><strong>Asking the product a question.</strong> <code>forgeqe knowledge ask</code> hands one question to an investigator: an agent on the
1908
+ analysis model (llm.routing) that searches the graph, reads the code and document folders it needs, follows the
1909
+ question across repositories, and asks again until it can answer. Its answer is a set of findings, each quoting the
1910
+ lines it rests on. ForgeQE finds every quoted line again in its file before it keeps a finding: one whose quote is not
1911
+ there is shown as not kept. What it cannot settle it says is unknown, with what would settle it. Findings are kept in
1912
+ <code>graph/findings.json</code>; the next question starts from them, <code>node</code> shows them, and a build marks a finding stale when a
1913
+ line it quotes is gone. The investigator reads only through ForgeQE's tools: only the repositories and document
1914
+ folders in <code>forgeqe.yaml</code>, never a hidden or credential file, no shell and no web. When only a run can settle a fact,
1915
+ it may ask to run one goal in the browser; you are asked first, with the goal and what it settles, and can say no
1916
+ (evaluations never run one). <code>product.max_investigation_steps</code>
1917
+ (default 40) caps its tool calls. ForgeQE's agent asks the same way (<code>product_knowledge</code>, op <code>ask</code>).</p>
1918
+ <p>Besides code, the investigator reads the text of documents from links and Confluence (a build keeps it in
1919
+ <code>graph/texts/</code>, secrets removed) and the API calls ForgeQE's own runs recorded (method, host, path and status; never a
1920
+ body, header or query value). A quote from a page or a run is checked the same way as one from code, and the finding
1921
+ says where it came from.</p>
1922
+ <p><strong>Checking the answers.</strong> Write questions whose answers your team knows, with the words a right answer says and the
1923
+ files it should quote, and score them:</p>
1924
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>forgeqe knowledge eval questions.yaml # each question on its own; pass, fail and why, kept in graph/evals/
1925
+ forgeqe knowledge eval --sample # the sample product that ships with ForgeQE: 15 questions
1926
+ </code></pre></div>
1927
+ <p><code>evals/knowledge/shop/questions.yaml</code> shows the format. A question passes when the answer says each group of words
1928
+ and a kept finding quotes one of the files named; a question the product cannot answer passes only when the answer
1929
+ says it is unknown. Run it after you change the model or the setup, and compare.</p>
1930
+ <p><strong>How each part is known.</strong> Every node and link says what it rests on: the file and line it was read from, with the
1931
+ line itself, and whether it was read as written (a route, a table), worked out (a call matched to a route, an import,
1932
+ anything the model wrote), or not known. A call is never shown as seen until a run sees it. What a build could not
1933
+ settle is listed, not guessed: <code>forgeqe knowledge gaps</code>, and <code>status</code> says how much of the product is covered. Quotes
1934
+ keep no URL query and no secret-looking value.</p>
1935
+ <p><strong>What it reads.</strong> Each repository's files as git tracks them, less <code>.gitignore</code>, a <code>.forgeqeignore</code> in the repository (one pattern a line), and <code>product.exclude</code>. Hidden files and folders, files named like credentials (<code>appsettings.*.json</code>, <code>*.pfx</code>, <code>secrets.*</code>, <code>*.tfvars</code> …), binaries, and links that lead out of the repository are never read. From the code it takes the files, classes, functions, and tests (TypeScript, JavaScript, C#, Java, Python); the HTTP endpoints of Express, Fastify, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, Go (net/http, Gin, Echo, chi), Ruby on Rails (<code>config/routes.rb</code>), Laravel, Rust (axum, actix), and servers that route by hand (<code>url.pathname === &quot;/api/x&quot;</code>); the HTTP calls each file makes, in those languages too; and the tables SQL and migrations define, read and write. No model is used.</p>
1936
+ <p><strong>How it is deployed and wired.</strong> From configuration files the build also reads, without a model:</p>
1937
+ <div class="tbl"><table>
1938
+ <thead>
1939
+ <tr><th>File</th><th>What it gives</th></tr>
1940
+ </thead>
1941
+ <tbody>
1942
+ <tr><td><code>docker-compose*.yml</code>, <code>compose*.yml</code></td><td>each service, the repository it is built from (<code>build: ../payments</code>), its ports, and the addresses in its environment</td></tr>
1943
+ <tr><td>Kubernetes manifests (<code>k8s/</code>, <code>deploy/</code>, <code>manifests/</code> …)</td><td>Deployments and their image and addresses, Ingress routes, ConfigMap addresses</td></tr>
1944
+ <tr><td><code>kong.yml</code>, nginx <code>*.conf</code></td><td>gateway routes to the services behind them, and the authentication plugins on them</td></tr>
1945
+ <tr><td><code>appsettings.json</code>, <code>application*.yml</code>, <code>application*.properties</code></td><td>base URLs the service is given, and topic and queue names (<code>topics.cancelled: order.cancelled</code>)</td></tr>
1946
+ <tr><td>Terraform <code>*.tf</code></td><td>cloud resources by kind (queues, topics, databases, tables, buckets, functions, container services, API gateway routes, caches, DNS), each with its name in the cloud; a queue or topic is tied to the code that uses it, a function or service to the repository its code or image comes from, a route to the endpoint it serves</td></tr>
1947
+ </tbody>
1948
+ </table></div>
1949
+ <p>Only addresses and topic names are kept, an address without its user name, password or query; no other value of a
1950
+ setting is ever read into the graph. From Terraform only a few attributes written as plain strings are read (a name, an
1951
+ engine, a route, an image, the code's path); <code>*.tfvars</code> and state files are never read. A call whose URL starts with a variable (<code>${PAYMENTS_URL}/refunds</code>) then reaches the service that address names,
1952
+ with both lines as evidence. From the code it reads the topics and queues each file publishes to and consumes (Kafka,
1953
+ RabbitMQ, Azure Service Bus, SQS and SNS: a name written in the code or in a constant of the file; a name read from a
1954
+ setting is looked up in the repository's settings files and its deployed service's environment, and one nothing here
1955
+ sets is an open question), the outside services it uses (Stripe, SendGrid,
1956
+ Twilio, Auth0, AWS and others, by SDK or API host), and the authentication a route requires (<code>[Authorize]</code>,
1957
+ <code>@PreAuthorize</code>, <code>Depends(get_current_user)</code>, <code>requireAuth</code> …). A topic that is published but consumed by no repository
1958
+ here, and a gateway route to no known service, are open questions in <code>forgeqe knowledge gaps</code>.</p>
1959
+ <p><strong>Documents and links.</strong> <code>product.docs</code> adds what is written about the product, each source by name:</p>
1960
+ <div class="tbl"><table>
1961
+ <thead>
1962
+ <tr><th>Source</th><th>What it gives</th></tr>
1963
+ </thead>
1964
+ <tbody>
1965
+ <tr><td><code>path:</code> a folder</td><td>A document per Markdown, text, or HTML file; an <code>openapi</code>/<code>swagger</code> file in it gives its endpoints</td></tr>
1966
+ <tr><td><code>url:</code> a docs site or help centre</td><td>The page and the pages it links to, <code>depth</code> links deep and <code>max_pages</code> at most, as text</td></tr>
1967
+ <tr><td><code>url:</code> an OpenAPI, Swagger, WSDL, or GraphQL description</td><td>Its endpoints, read with ForgeQE's API readers, each joined to the code endpoint with its method and route</td></tr>
1968
+ <tr><td><code>confluence:</code> a space key, or a page's link</td><td>The space's pages, or the page and the pages under it, with the existing Confluence sign-in (25 at most)</td></tr>
1969
+ <tr><td><code>app:</code> a web app of <code>env.yaml</code></td><td>The pages ForgeQE's runs and <code>forgeqe explore</code> remember of it, with their buttons, links and fields, each joined to the front-end screen whose route it fits</td></tr>
1970
+ </tbody>
1971
+ </table></div>
1972
+ <p>A document is joined to the endpoints, tables, and classes it names, so <code>impact</code> and <code>node</code> show what is written about a part, and the model reads the documents with the code. A link in the settings may be on your company network; what a page links to, and where it redirects, is followed only on that same site, so a page cannot send ForgeQE elsewhere. Only <code>http</code> and <code>https</code> links are read, never one with a user name or password in it (a token goes in <code>token_env</code>, sent as a bearer token to that site only); <code>robots.txt</code> is honoured; a page is read up to 2 MB and 20 seconds, only if it is text; and a page that did not change since the last build (its ETag or Last-Modified) is not read again. The front end's screens come from the code: Next.js pages, and the routes of React Router, Angular, and Vue Router.</p>
1973
+ <p><strong>What the model adds.</strong> After the structure, the model reads what changed: each file (what it does for the product), each repository (what it does, its layers), and then the whole product: an overview, the business domains with their rules and entities, the business flows step by step, a glossary, and the roles. Every flow step and domain is tied to the endpoints, files and tables that do it; a reference the model makes up is dropped. It runs on the model model routing gives the analysis area (<code>llm.routing</code>), or the active profile: a GitHub Copilot seat (<code>provider: github_copilot</code>, no token cost) or any other <code>llms.json</code> profile. It has no tools: all it reads is in its requests, and the code it is sent has secrets replaced first. Before anything is sent, ForgeQE says how many files and requests, and the cost at <code>llms.json</code>'s price, and asks; <code>--yes</code> skips the question, and without a terminal nothing is sent unless <code>--yes</code> is given. What the model wrote is kept in <code>graph/understanding.json</code> by the content it read, so a rebuild sends only new and changed files, and teammates who pull the folder do not pay again. Its prompt is <code>.forgeqe/prompts/product-knowledge.md</code>.</p>
1974
+ <p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own notes; ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
1975
+ <p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to the tests that import it.</p>
1976
+ <p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/&lt;name&gt;.json</code> (one per repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of <a href="https://github.com/Egonex-AI/Understand-Anything" class="ext" rel="noopener">Understand-Anything</a>, so that project's dashboard can show it. Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
1977
+ <p><strong>How the agents use it.</strong> ForgeQE's agent has the <code>product_knowledge</code> tool: <code>search</code> for the parts a requirement is about, <code>node</code> for one part and everything linked to it, <code>flow</code> for a business flow step by step, <code>impact</code> for what a change reaches, <code>status</code>, and <code>build</code> (which asks you before the model reads anything). Names and summaries come from your repositories' text, so the agent treats them as data, never as instructions.</p>
1978
+ </div>
1979
+ </section>
1980
+ </div>
1981
+ </article>
1646
1982
  <article class="spec feat" id="cap-setup-help">
1647
1983
  <div class="hd"><span class="mono">Setup</span><h3>Setup, skills, and documentation</h3></div>
1648
1984
  <p class="ds">Shows the model profiles and MCP servers, installs or repairs the browser engine, creates a forgeqe.yaml, manages skills, and answers any question about ForgeQE from its documentation, this list, and its own code (the prompts, skills, and source it runs).</p>
@@ -1714,7 +2050,7 @@ agents: [browser]
1714
2050
  </section>
1715
2051
  <section class="doc" id="doc-how_to_use-model-routing">
1716
2052
  <h4>Model routing</h4>
1717
- <div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, and <code>llm.routes</code> limits or pins the profiles an area may use. ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
2053
+ <div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, <code>llm.routes</code> limits or pins the profiles an area may use, and <code>llm.agents</code> gives one agent its own default model (ahead of the router and <code>code.model</code>; only <code>--profile</code> overrides it). ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
1718
2054
  <p>List profiles, and the model each area gets:</p>
1719
2055
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre><code>bun src/index.ts models
1720
2056
  bun src/index.ts models --routes # the pick per area, and why
@@ -1780,11 +2116,31 @@ whenever it is rated good enough.</p>
1780
2116
  </table></div>
1781
2117
  </div>
1782
2118
  </section>
2119
+ <section class="doc" id="doc-docs-model_routing-a-default-model-for-each-agent">
2120
+ <h4>A default model for each agent</h4>
2121
+ <div class="prose"><p>To give one agent its own model whatever <code>routing</code> says, name an <code>llms.json</code> profile for it under <code>llm.agents</code>
2122
+ (Settings → Routing → Default model per agent does the same):</p>
2123
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>llm:
2124
+ agents:
2125
+ forgeqe: azure-gpt4o # the Orchestrator
2126
+ engine: azure-gpt4o # the browser agent: pick a model that takes images
2127
+ forgeqe-test: claude-opus # the coding agent
2128
+ forgeqe-review: azure-mini # its reviewer
2129
+ </code></pre></div>
2130
+ <p>An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
2131
+ <code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
2132
+ <code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code> and
2133
+ <code>forgeqe-agent-builder</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
2134
+ in <code>llms.json</code> is an error when ForgeQE loads <code>forgeqe.yaml</code>. The model must still work: with <code>fallback</code> on, one that
2135
+ fails its check is replaced as for any area. <code>--profile</code> still names the model for everything.</p>
2136
+ </div>
2137
+ </section>
1783
2138
  <section class="doc" id="doc-docs-model_routing-how-a-model-is-picked">
1784
2139
  <h4>How a model is picked</h4>
1785
2140
  <div class="prose"><ol>
1786
2141
  <li>
1787
- <p><strong>Your choices win.</strong> <code>--profile</code> (or <code>WP_LLM_PROFILE</code>) and <code>code.model</code> keep the router out. A profile pinned in
2142
+ <p><strong>Your choices win.</strong> <code>--profile</code> (or <code>WP_LLM_PROFILE</code>) comes first. Then an agent's own model in <code>llm.agents</code>
2143
+ (below), which also comes ahead of <code>code.model</code> and <code>code.review_profile</code> for that agent. <code>code.model</code> keeps the router out. A profile pinned in
1788
2144
  <code>llm.routes</code> is used for its area. <code>code.review_profile</code> still sets the reviewer.</p>
1789
2145
  </li>
1790
2146
  <li>
@@ -3359,6 +3715,7 @@ back to an earlier version (each confirmed by typing its id), and its runs with
3359
3715
  <tr><td><code>job_done</code></td><td>A job that runs only when asked ends</td><td>The same, whether it passed or failed</td></tr>
3360
3716
  <tr><td><code>job_investigated</code></td><td>The investigation of a job's failed run is done</td><td>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>
3361
3717
  <tr><td><code>agent_waiting</code></td><td>A custom agent running with nobody watching waits for a person's approval</td><td>What it wants to do and why, until when it waits, and how to answer</td></tr>
3718
+ <tr><td><code>evidence_drift</code></td><td><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>Each alert, with the runs it rests on (only channels that list it get it)</td></tr>
3362
3719
  </tbody>
3363
3720
  </table></div>
3364
3721
  <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>, and <code>agent_waiting</code>. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own <code>monitor.alerts</code>, with the same cards.</p>
@@ -4003,6 +4360,13 @@ forgeqe heal -- npx playwright test --project=chromium # everything after -- i
4003
4360
  <li>It never deletes or skips a test, loosens an assertion, or raises a timeout to make a test pass.</li>
4004
4361
  <li>ForgeQE runs each healed test's own command, then the whole command. A healed test that still fails goes back to the agent with the output, and so does any other failure left in the whole run, until everything passes or <code>code.max_attempts</code> rounds are used.</li>
4005
4362
  </ol>
4363
+ <p><strong>Limits.</strong> A heal is capped by <code>code.max_attempts</code>, by each attempt's deadline (one browser run and two test runs), and
4364
+ by <code>code.max_tokens</code> for the whole job, as a coding job is. At each of these, and at a browser run's steps or time, it
4365
+ asks whether to carry on when someone can answer: in a terminal, in a chat, or on the Regression page for
4366
+ <code>forgeqe pack heal</code> (the question shows under the job's output, with Carry on and Stop here). At the deadline or the
4367
+ token budget the agent carries on in the same session, keeping what it worked out; after the last attempt, a yes gives
4368
+ it as many attempts again, from what it changed so far. Stop keeps its changes. No answer in 10 minutes on the page is
4369
+ a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
4006
4370
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre><code> ▸ ForgeQE runs the tests: npx playwright test
4007
4371
  ✗ Tests failed, exit 1 (41s)
4008
4372
  ▸ Scribe (azure/gpt-5.4) is healing the failing tests in app
@@ -4779,18 +5143,28 @@ forgeqe bi build --from //share/qa-reports # this machine's runs plus every bund
4779
5143
  <tr><td>Confluence</td><td>mcp-atlassian, shared with Jira (or its own when Jira isn't set up); Atlassian's hosted server covers it on the same site</td><td><code>confluence: true</code> on a Jira Cloud site, or <code>confluence.url</code> + tokens</td></tr>
4780
5144
  <tr><td>GitHub</td><td>GitHub's <a href="https://github.com/github/github-mcp-server" class="ext" rel="noopener">hosted MCP server</a> with every toolset, each turn getting the groups of tools it needs (<code>sources.github.toolsets</code> limits them), on in a repository with a GitHub remote or when <code>sources.github</code> is set. GitHub issues are also a test case source (<code>github:#12</code>, <code>github:acme/shop#12,#13</code>, <code>github:label=login</code>, <code>github:q=login in:title</code>): results go back as issue comments, and <code>sources.bugs.system: github</code> files bugs as issues. GitHub has no API to upload a screenshot to an issue, so a bug names the run folder instead</td><td><code>GITHUB_TOKEN</code>, or the GitHub CLI's sign-in (<code>forgeqe auth login github</code>)</td></tr>
4781
5145
  <tr><td>Xray, TestRail, Zephyr Scale, qTest</td><td>none; ForgeQE's API</td><td><code>XRAY_CLIENT_ID</code> / <code>XRAY_CLIENT_SECRET</code>, <code>TESTRAIL_EMAIL</code> / <code>TESTRAIL_API_KEY</code>, <code>ZEPHYR_API_TOKEN</code>, <code>QTEST_TOKEN</code></td></tr>
5146
+ <tr><td>GitLab (GitLab.com or self-managed)</td><td>GitLab's <a href="https://docs.gitlab.com/user/model_context_protocol/mcp_server/" class="ext" rel="noopener">built-in MCP server</a> (<code>&lt;url&gt;/api/v4/mcp</code>): projects, issues and work items, merge requests, pipelines. <code>integrations.gitlab.toolsets</code> limits it</td><td><code>GITLAB_TOKEN</code>: a fine-grained personal access token with the MCP permission</td></tr>
5147
+ <tr><td>BrowserStack</td><td><a href="https://www.browserstack.com/docs/browserstack-mcp-server/overview" class="ext" rel="noopener">BrowserStack's MCP server</a> (<code>npx @browserstack/mcp-server</code>): sessions, App Automate, accessibility scans, test management</td><td>Node.js; <code>BROWSERSTACK_USERNAME</code> and <code>BROWSERSTACK_ACCESS_KEY</code></td></tr>
5148
+ <tr><td>Postman</td><td>Postman's <a href="https://learning.postman.com/docs/developer/postman-api/postman-mcp-server/postman-mcp-remote-server" class="ext" rel="noopener">hosted MCP server</a> (US or EU; full, minimal or code tools): workspaces, collections, environments, mocks</td><td><code>POSTMAN_API_KEY</code></td></tr>
5149
+ <tr><td>Azure</td><td>Microsoft's <a href="https://learn.microsoft.com/azure/developer/azure-mcp-server/" class="ext" rel="noopener">Azure MCP server</a> (<code>npx @azure/mcp</code>), read-only unless <code>read_only: false</code>, all services or <code>namespaces</code></td><td>Node.js; <code>az login</code> or another Azure sign-in</td></tr>
5150
+ <tr><td>Microsoft Dataverse</td><td>Microsoft's <a href="https://learn.microsoft.com/power-apps/maker/data-platform/data-platform-mcp-other-clients" class="ext" rel="noopener">Dataverse MCP server</a> (<code>npx @microsoft/dataverse mcp &lt;url&gt;</code>): tables and records</td><td>Node.js; sign in once with <code>npx @microsoft/dataverse auth create --environment &lt;url&gt;</code>, and an admin enables the server and its CLI client</td></tr>
5151
+ <tr><td>Sentry (sentry.io or self-hosted)</td><td><a href="https://docs.sentry.io/product/sentry-mcp/" class="ext" rel="noopener">Sentry's MCP server</a> (<code>npx @sentry/mcp-server</code>): issues, events, stack traces, releases</td><td>Node.js; <code>SENTRY_ACCESS_TOKEN</code> (a user auth token)</td></tr>
4782
5152
  <tr><td>Anything else</td><td>servers you add under <code>mcp:</code></td><td></td></tr>
4783
5153
  </tbody>
4784
5154
  </table></div>
4785
5155
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>sources:
4786
5156
  azure_devops: { org_url: https://dev.azure.com/acme } # every project; token in ADO_PAT. project: Shop limits ForgeQE's own calls
4787
5157
  jira: { url: https://acme.atlassian.net } # JIRA_EMAIL + JIRA_API_TOKEN
5158
+ integrations: # vendors' own MCP servers for systems that are not test case sources
5159
+ gitlab: true # GitLab.com, token in GITLAB_TOKEN
5160
+ sentry: { organization: acme } # SENTRY_ACCESS_TOKEN
5161
+ dataverse: { url: https://acme.crm.dynamics.com }
4788
5162
  mcp:
4789
5163
  github:
4790
5164
  url: https://api.githubcopilot.com/mcp/
4791
5165
  headers: { Authorization: &quot;Bearer {env:GITHUB_TOKEN}&quot; }
4792
5166
  </code></pre></div>
4793
- <p>Tokens never go into the config: servers get them through <code>{env:NAME}</code> references that the agent runtime fills in, and the agent never sees them. <code>forgeqe mcp list</code> shows what your settings give. When the agent starts, the shell and <code>forgeqe run</code> print which servers connected.</p>
5167
+ <p>Tokens never go into the config: servers get them through <code>{env:NAME}</code> references that the agent runtime fills in, and the agent never sees them. GitLab, Sentry, Postman, BrowserStack and Atlassian's Rovo server can instead be signed in to in the browser (<code>forgeqe auth login &lt;system&gt;</code>, or Sign in on its card in Settings), with the system's own sign-in; Azure and Dataverse sign in through their CLIs. <code>forgeqe mcp list</code> shows what your settings give. When the agent starts, the shell and <code>forgeqe run</code> print which servers connected.</p>
4794
5168
  <p>Whatever has no MCP server, or whose server didn't connect, goes through ForgeQE's own tools, which call the REST APIs directly: <code>find_test_cases</code> and <code>run_test_cases</code> for test cases and posting results back, <code>read_confluence</code> for Confluence pages, and <code>query_api</code> to read anything else from Azure DevOps, Jira, Xray, or Confluence. <code>query_api</code> only reads (GET requests and Xray GraphQL queries) and only reaches the configured hosts. <code>sources.azure_devops.mcp: false</code> or <code>sources.jira.mcp: false</code> uses the API only.</p>
4795
5169
  <p>Microsoft's Azure DevOps server can't create dashboards, so &quot;create a dashboard in QI-Payments with all defects and this sprint's stories&quot; goes through ForgeQE's <code>create_ado_dashboard</code>: one shared query per widget under <code>Shared Queries/ForgeQE</code>, then a dashboard with a work item list or count tile for each. Your <code>ADO_PAT</code> needs Work Items (read and write) and permission to edit dashboards. Chart widgets aren't made through the API; for those the agent uses the browser, signed in to <code>dev.azure.com</code> with a saved login.</p>
4796
5170
  <p>Its wiki tools can only write into a wiki that already exists, so wiki pages go through ForgeQE's <code>write_ado_wiki_page</code>. If the project has no wiki yet, that tool creates the project wiki first, along with any missing parent pages. The PAT needs Wiki (read and write).</p>
@@ -4845,7 +5219,17 @@ mcp:
4845
5219
  mcp: mcp-atlassian # rovo | false
4846
5220
  </code></pre></div>
4847
5221
  <p><strong>Xray.</strong> Xray has no official MCP server, so ForgeQE's own tools cover it. You can add a community server under <code>mcp:</code> if you want one.</p>
4848
- <p><strong>Other servers.</strong> Add any MCP server under <code>mcp:</code>. A local server has a <code>command</code> (and optional <code>args</code>, <code>env</code>, <code>cwd</code>); a remote one has a <code>url</code> (and optional <code>headers</code>). Write secrets as <code>{env:NAME}</code>; the agent runtime fills them in from the environment. A server with the same name as a built-in one (<code>azure_devops</code>, <code>atlassian</code>) replaces it, and <code>enabled: false</code> turns one off.</p>
5222
+ <p><strong>GitLab, BrowserStack, Postman, Azure, Dataverse and Sentry.</strong> Their vendors' own MCP servers, set under <code>integrations:</code> (each <code>true</code> for its defaults, or a map; see <code>forgeqe.example.yaml</code>, or Settings → MCP servers):</p>
5223
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>integrations:
5224
+ gitlab: { url: https://gitlab.acme.com, token_env: GITLAB_TOKEN } # a fine-grained PAT with the MCP permission
5225
+ browserstack: true # BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY
5226
+ postman: { region: eu } # POSTMAN_API_KEY
5227
+ azure: { namespaces: [storage] } # az login; read-only unless read_only: false
5228
+ dataverse: { url: https://acme.crm.dynamics.com } # npx @microsoft/dataverse auth create --environment &lt;url&gt;, once
5229
+ sentry: { organization: acme } # SENTRY_ACCESS_TOKEN; url: for self-hosted Sentry
5230
+ </code></pre></div>
5231
+ <p>GitLab's and Postman's servers are hosted (GitLab's is on your GitLab, at <code>/api/v4/mcp</code>); the others run with <code>npx</code>, so they need Node.js. Instead of a token, GitLab, Postman (US), Sentry (sentry.io) and BrowserStack can be signed in to in the browser (<code>forgeqe auth login gitlab</code>, or Sign in on the card), and then use the vendor's hosted server; Azure and Dataverse sign in through their CLIs (<code>forgeqe auth login azure</code>, <code>forgeqe auth login dataverse</code>). Their tools are <code>gitlab_*</code>, <code>browserstack_*</code>, <code>postman_*</code>, <code>azure_*</code>, <code>dataverse_*</code> and <code>sentry_*</code>. A custom agent gets them only through <code>scope.systems</code>, where a tool the server does not mark read-only is a change a person approves. Settings → MCP servers lists all six, set up or not: Set up opens a card's fields, and Edit has its sign-in. Test connection works for GitLab, BrowserStack, Postman and Sentry; Azure and Dataverse sign in on this computer when the agent starts them.</p>
5232
+ <p><strong>Other servers.</strong> Add any MCP server under <code>mcp:</code>. A local server has a <code>command</code> (and optional <code>args</code>, <code>env</code>, <code>cwd</code>); a remote one has a <code>url</code> (and optional <code>headers</code>). Write secrets as <code>{env:NAME}</code>; the agent runtime fills them in from the environment. A server with the same name as a built-in one (<code>azure_devops</code>, <code>atlassian</code>, <code>github</code>, or one of <code>integrations:</code>) replaces it, and <code>enabled: false</code> turns one off.</p>
4849
5233
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>mcp:
4850
5234
  github:
4851
5235
  url: https://api.githubcopilot.com/mcp/