@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
package/README.md CHANGED
@@ -304,7 +304,7 @@ For a case with numbered steps the browser agent reports a verdict for every ste
304
304
 
305
305
  Results go back where the cases came from, with the step verdicts: an Azure DevOps test run for a plan (or a comment on the work item), a Jira comment, an Xray Test Execution with the failure screenshot, a TestRail run (the run the cases came from, or a new one) with step results and the screenshot, a Zephyr Scale test cycle, or qTest test logs. `--no-write-back` or `sources.write_back: false` turns it off.
306
306
 
307
- Test cases the agent writes from an Azure DevOps or Jira story are saved there, linked to the story: Azure DevOps Test Case work items with their steps (Tests / Tested By, in the story's area and iteration), or Jira issues of type Test. The reply lists each case as a link, and saved Azure DevOps cases are run by id so results post back to them. A case already linked to the story under the same title is reused rather than duplicated. `sources.save_cases: false` turns this off; the agent then shows the cases formatted in its reply.
307
+ Test cases the agent writes from an Azure DevOps or Jira story are saved there, linked to the story: Azure DevOps Test Case work items with their steps (Tests / Tested By, in the story's area and iteration), or Jira issues of type Test. The reply lists each case as a link, and saved Azure DevOps cases are run by id so results post back to them. A case already linked to the story under the same title is reused rather than duplicated, and with `test_cases` (under `sources.azure_devops` or `sources.jira`) mapping a story's area path or project to a test plan, suite, area or Jira project, a case there with the same steps is offered for linking (`link_test_case`) instead of written again, and one the new case only adds steps to is offered for update with just those steps; both ask first. `sources.save_cases: false` turns this off; the agent then shows the cases formatted in its reply.
308
308
 
309
309
  ### Accessibility and performance
310
310
 
@@ -393,19 +393,29 @@ ForgeQE's agent connects to each system's MCP server, configured from the same `
393
393
  | Confluence | mcp-atlassian, shared with Jira (or its own when Jira isn't set up); Atlassian's hosted server covers it on the same site | `confluence: true` on a Jira Cloud site, or `confluence.url` + tokens |
394
394
  | GitHub | GitHub's [hosted MCP server](https://github.com/github/github-mcp-server) with every toolset, each turn getting the groups of tools it needs (`sources.github.toolsets` limits them), on in a repository with a GitHub remote or when `sources.github` is set. GitHub issues are also a test case source (`github:#12`, `github:acme/shop#12,#13`, `github:label=login`, `github:q=login in:title`): results go back as issue comments, and `sources.bugs.system: github` files bugs as issues. GitHub has no API to upload a screenshot to an issue, so a bug names the run folder instead | `GITHUB_TOKEN`, or the GitHub CLI's sign-in (`forgeqe auth login github`) |
395
395
  | Xray, TestRail, Zephyr Scale, qTest | none; ForgeQE's API | `XRAY_CLIENT_ID` / `XRAY_CLIENT_SECRET`, `TESTRAIL_EMAIL` / `TESTRAIL_API_KEY`, `ZEPHYR_API_TOKEN`, `QTEST_TOKEN` |
396
+ | GitLab (GitLab.com or self-managed) | GitLab's [built-in MCP server](https://docs.gitlab.com/user/model_context_protocol/mcp_server/) (`<url>/api/v4/mcp`): projects, issues and work items, merge requests, pipelines. `integrations.gitlab.toolsets` limits it | `GITLAB_TOKEN`: a fine-grained personal access token with the MCP permission |
397
+ | BrowserStack | [BrowserStack's MCP server](https://www.browserstack.com/docs/browserstack-mcp-server/overview) (`npx @browserstack/mcp-server`): sessions, App Automate, accessibility scans, test management | Node.js; `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` |
398
+ | Postman | Postman's [hosted MCP server](https://learning.postman.com/docs/developer/postman-api/postman-mcp-server/postman-mcp-remote-server) (US or EU; full, minimal or code tools): workspaces, collections, environments, mocks | `POSTMAN_API_KEY` |
399
+ | Azure | Microsoft's [Azure MCP server](https://learn.microsoft.com/azure/developer/azure-mcp-server/) (`npx @azure/mcp`), read-only unless `read_only: false`, all services or `namespaces` | Node.js; `az login` or another Azure sign-in |
400
+ | Microsoft Dataverse | Microsoft's [Dataverse MCP server](https://learn.microsoft.com/power-apps/maker/data-platform/data-platform-mcp-other-clients) (`npx @microsoft/dataverse mcp <url>`): tables and records | Node.js; sign in once with `npx @microsoft/dataverse auth create --environment <url>`, and an admin enables the server and its CLI client |
401
+ | Sentry (sentry.io or self-hosted) | [Sentry's MCP server](https://docs.sentry.io/product/sentry-mcp/) (`npx @sentry/mcp-server`): issues, events, stack traces, releases | Node.js; `SENTRY_ACCESS_TOKEN` (a user auth token) |
396
402
  | Anything else | servers you add under `mcp:` | |
397
403
 
398
404
  ```yaml
399
405
  sources:
400
406
  azure_devops: { org_url: https://dev.azure.com/acme } # every project; token in ADO_PAT. project: Shop limits ForgeQE's own calls
401
407
  jira: { url: https://acme.atlassian.net } # JIRA_EMAIL + JIRA_API_TOKEN
408
+ integrations: # vendors' own MCP servers for systems that are not test case sources
409
+ gitlab: true # GitLab.com, token in GITLAB_TOKEN
410
+ sentry: { organization: acme } # SENTRY_ACCESS_TOKEN
411
+ dataverse: { url: https://acme.crm.dynamics.com }
402
412
  mcp:
403
413
  github:
404
414
  url: https://api.githubcopilot.com/mcp/
405
415
  headers: { Authorization: "Bearer {env:GITHUB_TOKEN}" }
406
416
  ```
407
417
 
408
- Tokens never go into the config: servers get them through `{env:NAME}` references that the agent runtime fills in, and the agent never sees them. `forgeqe mcp list` shows what your settings give. When the agent starts, the shell and `forgeqe run` print which servers connected.
418
+ Tokens never go into the config: servers get them through `{env:NAME}` 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 (`forgeqe auth login <system>`, or Sign in on its card in Settings), with the system's own sign-in; Azure and Dataverse sign in through their CLIs. `forgeqe mcp list` shows what your settings give. When the agent starts, the shell and `forgeqe run` print which servers connected.
409
419
 
410
420
  Whatever has no MCP server, or whose server didn't connect, goes through ForgeQE's own tools, which call the REST APIs directly: `find_test_cases` and `run_test_cases` for test cases and posting results back, `read_confluence` for Confluence pages, and `query_api` to read anything else from Azure DevOps, Jira, Xray, or Confluence. `query_api` only reads (GET requests and Xray GraphQL queries) and only reaches the configured hosts. `sources.azure_devops.mcp: false` or `sources.jira.mcp: false` uses the API only.
411
421
 
@@ -24,3 +24,12 @@ remote:
24
24
  # browser: edge
25
25
  # os: OS X
26
26
  # os_version: Sequoia
27
+
28
+ # Phones and tablets on BrowserStack (real devices), for `forgeqe mobile` (Settings → Mobile edits this block). ForgeQE
29
+ # builds each one's bstack:options from these; the sign-in is the one under remote: above.
30
+ # mobile:
31
+ # devices:
32
+ # pixel7:
33
+ # platform: android # android | ios
34
+ # model: Google Pixel 7 # as BrowserStack names it: forgeqe mobile devices lists them
35
+ # os_version: "13.0"
@@ -252,12 +252,14 @@
252
252
  <tr><td><code>brain/prompt.ts</code></td><td><code>BRAIN_PROMPT</code>: the tools (every CLI command is one, so the agent uses the tool instead of telling the user to run a command), how to choose a source, find vs run, signing in, writing tests (<code>write_test</code>; small hand edits verified with <code>run_test</code>), the CI pipeline procedure, fixing broken tests (<code>heal_tests</code>), running existing repo tests (<code>find_tests</code> then <code>run_tests</code>, never without the user's confirmation; sprint dates only from <code>sprint</code>), monitoring, ForgeQE's own docs and setup, and the rules (no secret values, push only with <code>push_branch</code>, stay in the working directory). The reply is plain text, so it streams to the shell as it is written (the runtime's <code>message.part.delta</code> events, relayed as <code>stream</code> events); it ends with a hidden line <code>&amp;lt;!--forgeqe {&quot;outcome&quot;: done | failed | needs_input, &quot;next&quot;: […]}--&gt;</code> that <code>splitReply</code> reads and <code>visibleReply</code> holds back while the reply streams</td></tr>
253
253
  <tr><td><code>brain/index.ts</code></td><td><code>openBrain</code> starts the MCP server on 127.0.0.1 with a random token (<code>localToolServer</code>), then an agent runtime session with the prompt, the session notes, the schema, and the server as a remote MCP entry (6 h tool timeout). <code>ask</code> returns the reply and outcome, <code>abort</code> stops the session and every running tool call. <code>brainUnavailable</code> is why it cannot run (no model set up and no <code>code.model</code>, or no agent runtime); callers then run the text as one browser goal. <code>sessionSetup</code> picks the working directory and whether passed runs become tests from <code>--repo</code>, <code>--no-code</code>, and <code>code.repo</code> (default: tests in the current folder)</td></tr>
254
254
  <tr><td><code>mcp/tools.ts</code></td><td><code>TOOLS</code> and <code>environmentNotes</code> (working directory, run and memory folders, configured test case systems, suite defaults, timeouts, the profile, and the names, never values, of keys set in the environment). Each tool reports <code>ToolEvent</code>s (run-start/event/done, suite-start/event/done, info, <code>agent</code> for a nested coding or healing session's events, <code>card</code> for a result panel) to whoever shows them. <code>ToolContext</code> carries <code>session</code> (<code>shell</code>, <code>once</code> for <code>forgeqe run</code>, <code>server</code> for <code>forgeqe mcp</code>), <code>waitForUser</code> and <code>ask</code> when a person can answer, and <code>openSession</code> so tests can script the nested agent runtime sessions</td></tr>
255
- <tr><td><code>cases/save.ts</code></td><td><code>save_test_cases</code>: <code>saveAdoCases</code> creates Test Case work items (<code>adoStepsXml</code> writes <code>Microsoft.VSTS.TCM.Steps</code> the way <code>adoCases</code> reads it) linked to the story with <code>TestedBy-Reverse</code> in its area and iteration; <code>saveJiraCases</code> creates issues (type Test by default) with the steps in the description and an issue link. Both reuse a case already linked to the story under the same title. On unless <code>sources.save_cases: false</code>; <code>environmentNotes</code> tells the agent which</td></tr>
255
+ <tr><td><code>cases/save.ts</code></td><td><code>save_test_cases</code>: <code>saveAdoCases</code> creates Test Case work items (<code>adoStepsXml</code> writes <code>Microsoft.VSTS.TCM.Steps</code> the way <code>adoCases</code> reads it) linked to the story with <code>TestedBy-Reverse</code> in its area and iteration; <code>saveJiraCases</code> creates issues (type Test by default) with the steps in the description and an issue link. Both reuse a case already linked to the story under the same title, then compare with the story's scope (<code>cases/scope.ts</code>: <code>test_cases</code> maps an area path or project to a plan, suite, area or JQL filter, values checked before they reach WIQL or JQL, at most <code>MAX_SCOPE</code> cases read, steps only for the <code>shortlist</code>): the same steps are <code>reuse</code>, a case adding steps is <code>extends</code> with its <code>insert</code>; nothing is written to an existing case there. <code>planLinks</code> checks ids, type and project before <code>link_test_case</code> or <code>update_test_case</code>'s <code>story</code> asks; <code>insertSteps</code> applies an <code>insert</code>. <code>saveTestrailCases</code>, <code>saveZephyrCases</code>, Xray mode in <code>saveJiraCases</code> (<code>createXrayTest</code>, <code>setXraySteps</code> in <code>cases/xray.ts</code>), <code>saveAdoCasesInArea</code> and <code>saveJiraCasesInProject</code> for cases with no story, and <code>existingCases</code> for <code>check_test_cases</code>' <code>against</code>. <code>cases/fields.ts</code> checks <code>new_cases</code>; <code>cases/adodata.ts</code> writes shared steps references and parameters; <code>cases/staleness.ts</code> reads a story's history; <code>cases/retire.ts</code> retires a case; <code>cases/jirareadiness.ts</code> is release readiness for Jira. <code>cases/caseindex.ts</code> keeps a project's index of scope cases' steps; <code>cases/bulk.ts</code> prepares several changes for one question (apply_case_changes and the web gateway <code>web/testcases.ts</code>); <code>cases/targets.ts</code> names a case's system by its id; <code>cases/changelog.ts</code>, <code>cases/trace.ts</code> and <code>cases/proposals.ts</code> keep the project's change log, criteria trace and pending proposals; <code>cases/requirementsfile.ts</code> reads Requirements Agent's requirements.json; <code>cases/scopecheck.ts</code> checks the settings Settings saves and tries a test_cases line. On unless <code>sources.save_cases: false</code>; <code>environmentNotes</code> tells the agent which</td></tr>
256
256
  <tr><td><code>mcp/commands.ts</code></td><td><code>COMMAND_TOOLS</code>, one tool per CLI command, appended to <code>TOOLS</code>. <code>write_test</code> runs the coding loop (<code>runCodeAgent</code>) and <code>heal_tests</code> runs <code>runHeal</code>, forwarding their events as <code>agent</code> events and ending with a card; each opens its own agent runtime server on port 0, so it nests inside the brain's session. <code>monitor</code>: <code>round</code> (one <code>runMonitor --once</code>, refused while a background monitor uses the folder), <code>start</code>/<code>stop</code>/<code>status</code> (background monitors, only in <code>shell</code> and <code>server</code> sessions), <code>test_alerts</code>. <code>browser_run</code> takes <code>purpose</code> (<code>test</code> or <code>task</code>); <code>taskReason</code> treats a <code>task</code>, or a run that starts on, ends on, or names a configured source system's host (Azure DevOps, Jira, Confluence, TestRail, Zephyr, qTest, Xray), as a task: it writes <code>task.json</code> (<code>TASK_FILE</code>) in the run folder, returns no <code>write_test</code> next step, and <code>write_test</code> refuses that folder. <code>browser_run</code> also takes <code>resume_from</code> (a failed run's folder or name, read by <code>loadResume</code> in <code>run.ts</code>) and, after a failure with resume steps, returns them with a <code>next_step</code> naming the folder; the brain's prompt says to retry with it and say what to do differently. <code>logins</code>: <code>remember</code> (session logins), list (configured and remembered), clear (a saved session, and a remembered login's credentials and session file), and <code>sign_in</code> through <code>signIn</code> and <code>ctx.waitForUser</code> (refused without it). <code>forgeqe_setup</code>: profiles, MCP servers, <code>docsAbout</code> (README and HOW_TO_USE split at headings and scored against the topic, since the agent's <code>external_directory</code> rule keeps it out of the package folder), <code>install_engine</code>, <code>init</code>, <code>skills</code> (<code>op</code> list, show, or new: <code>newSkill</code> into the project's or the user's skills folder)</td></tr>
257
257
  <tr><td><code>card.ts</code></td><td><code>Card</code> (<code>status</code>, <code>title</code>, <code>stats</code>, <code>body</code>) and <code>cardText</code>. <code>codeCard</code>, <code>healCard</code>, and <code>roundCard</code> build cards from the same lines as the terminal summaries</td></tr>
258
258
  <tr><td><code>mcp/server.ts</code></td><td>JSON-RPC for MCP by hand: <code>initialize</code> (protocol 2025-06-18, 2025-03-26, 2024-11-05, with <code>instructions</code>), <code>ping</code>, <code>tools/list</code>, <code>tools/call</code>, <code>notifications/cancelled</code>. <code>serveHttp</code>: Streamable HTTP on 127.0.0.1, checking the bearer token in constant time (<code>tokenMatches</code>) and refusing requests whose <code>Origin</code> is not this machine (<code>originAllowed</code>), so a web page cannot call the tools; tool calls answer as an event stream with a progress notification every 10 s and a keep-alive every 15 s, so the agent runtime's per-call timeout (which resets on progress) never fires during a long suite. <code>serveStdio</code>: newline-delimited JSON-RPC for <code>forgeqe mcp</code>; closing stdin aborts running calls. <code>localToolServer</code>: a server over HTTP with a fresh token and the agent runtime's MCP entry for it, shared by the brain and the healing session</td></tr>
259
259
  <tr><td><code>mcp/git.ts</code></td><td><code>pushBranch</code>: finds the default branch (<code>symbolic-ref refs/remotes/&amp;lt;remote&gt;/HEAD</code>, else <code>ls-remote --symref</code>), refuses it and <code>main</code>/<code>master</code>, checks the name with <code>git check-ref-format</code>, and runs <code>git push --set-upstream &amp;lt;remote&gt; HEAD:refs/heads/&amp;lt;name&gt;</code> without force. <code>setCiSecret</code>: <code>gh secret set NAME</code> with the value on stdin, or <code>az pipelines variable create|update --secret true</code> with the value in <code>AZURE_DEVOPS_EXT_PIPELINE_VAR_&amp;lt;NAME&gt;</code>; the value is scrubbed from any error</td></tr>
260
- <tr><td><code>mcp/external.ts</code></td><td><code>externalMcp</code> turns <code>sources:</code> and <code>mcp:</code> into agent runtime MCP entries: <code>azure_devops</code> (<code>npx -y @azure-devops/mcp &amp;lt;org&gt; -a pat|azcli -d &amp;lt;every group in ADO_GROUPS&gt;</code>, with <code>hints</code> from <code>adoHints</code>: each prefix's words and keywords, and the <code>mcp_domains</code> prefixes on every turn), <code>atlassian</code> (<code>uvx mcp-atlassian</code> with <code>JIRA_URL</code> and <code>JIRA_USERNAME</code> + <code>JIRA_API_TOKEN</code> or <code>JIRA_PERSONAL_TOKEN</code>, plus <code>CONFLUENCE_*</code> when <code>sources.confluence</code> is set, <code>TOOLSETS=all</code>; or the hosted Rovo server at <code>mcp.atlassian.com/v2/mcp</code> with Basic auth, which also covers Confluence on the same site), <code>confluence</code> (<code>uvx mcp-atlassian</code> for Confluence alone when Jira's server doesn't cover it), and every <code>mcp:</code> server, which replaces a built-in one of the same name. Secrets are <code>{env:NAME}</code> references that the agent runtime substitutes; values that must be derived (base64 of <code>forgeqe:&amp;lt;PAT&gt;</code> for Azure DevOps, of <code>email:token</code> for Rovo) are put in <code>FORGEQE_*</code> variables of ForgeQE's own environment before the agent runtime server starts. A system whose server can't start here (no npx or uvx, missing token, Azure DevOps Server, Rovo on Server/DC) is listed with the reason. The servers get a 120 s timeout, which also covers the first <code>npx</code>/<code>uvx</code> download</td></tr>
260
+ <tr><td><code>auth/mcpOAuth.ts</code></td><td>Browser sign-in to an MCP server (<code>oauthSignIn</code>): protected-resource metadata (RFC 9728) → authorization server metadata (RFC 8414, issuer checked, S256 required) → dynamic client registration as a public client (RFC 7591) → the authorization page with PKCE, <code>state</code> and <code>resource</code> → the code on a one-time <code>Bun.serve</code> listener on <code>127.0.0.1:0</code> (<code>/callback</code>, state compared in constant time, plain-text page) → token exchange. Every endpoint must be https. The grant is one credential-store entry (<code>FORGEQE_MCP_OAUTH_&amp;lt;SYSTEM&gt;</code>), with <code>mcp:&amp;lt;system&gt;</code> in auth.json. <code>refreshMcpSignIns</code> runs when a session opens (<code>openBrain</code>), for <code>forgeqe mcp list</code> and when the web app starts: it clears <code>FORGEQE_&amp;lt;SYSTEM&gt;_MCP_OAUTH</code>, then exports a current access token (renewed within a minute of expiry) only for the server the settings name now (<code>oauthResource</code>, <code>auth/oauthNames.ts</code>). <code>external.ts</code> and <code>integrations.ts</code> use that variable when no token variable is set</td></tr>
261
+ <tr><td><code>web/signins.ts</code></td><td>Settings' sign-in for every system but Copilot: <code>signIn</code> with the page as its terminal (one job at a time, an id of <code>SIGNIN_SYSTEMS</code> only, answers only to the question waiting, typed secrets scrubbed from lines, links only https). Routes <code>/api/signin</code>, <code>/api/signin/answer</code>, <code>/api/signin/cancel</code>, <code>/api/signout</code></td></tr>
262
+ <tr><td><code>mcp/external.ts</code></td><td><code>externalMcp</code> turns <code>sources:</code> and <code>mcp:</code> into agent runtime MCP entries: <code>azure_devops</code> (<code>npx -y @azure-devops/mcp &amp;lt;org&gt; -a pat|azcli -d &amp;lt;every group in ADO_GROUPS&gt;</code>, with <code>hints</code> from <code>adoHints</code>: each prefix's words and keywords, and the <code>mcp_domains</code> prefixes on every turn), <code>atlassian</code> (<code>uvx mcp-atlassian</code> with <code>JIRA_URL</code> and <code>JIRA_USERNAME</code> + <code>JIRA_API_TOKEN</code> or <code>JIRA_PERSONAL_TOKEN</code>, plus <code>CONFLUENCE_*</code> when <code>sources.confluence</code> is set, <code>TOOLSETS=all</code>; or the hosted Rovo server at <code>mcp.atlassian.com/v2/mcp</code> with Basic auth, which also covers Confluence on the same site), <code>confluence</code> (<code>uvx mcp-atlassian</code> for Confluence alone when Jira's server doesn't cover it), the servers of <code>integrations:</code> (<code>mcp/integrations.ts</code>: <code>integrationsConfig</code> checks each block, <code>integrationServers</code> gives <code>gitlab</code> (remote <code>&amp;lt;url&gt;/api/v4/mcp</code>, Bearer <code>{env:token_env}</code>), <code>postman</code> (remote <code>mcp.postman.com</code> or <code>mcp.eu.postman.com</code>), and <code>browserstack</code>, <code>azure</code> (<code>--read-only</code> by default, <code>--namespace</code> per service), <code>dataverse</code> and <code>sentry</code> started by <code>npx</code> with credentials as <code>{env:}</code> references), and every <code>mcp:</code> server, which replaces a built-in one of the same name. Secrets are <code>{env:NAME}</code> references that the agent runtime substitutes; values that must be derived (base64 of <code>forgeqe:&amp;lt;PAT&gt;</code> for Azure DevOps, of <code>email:token</code> for Rovo) are put in <code>FORGEQE_*</code> variables of ForgeQE's own environment before the agent runtime server starts. A system whose server can't start here (no npx or uvx, missing token, Azure DevOps Server, Rovo on Server/DC) is listed with the reason. The servers get a 120 s timeout, which also covers the first <code>npx</code>/<code>uvx</code> download</td></tr>
261
263
  <tr><td><code>cases/dashboards.ts</code></td><td><code>createAdoDashboard</code> for the <code>create_ado_dashboard</code> tool, since Microsoft's Azure DevOps MCP server has no dashboard or saved-query tools: runs each widget's WIQL once (<code>$top=1</code>) so a bad query fails before anything is written, saves it under <code>Shared Queries/ForgeQE</code> (creating the folder, PATCHing a query of the same name), then POSTs the dashboard (<code>7.1-preview.3</code>, team-scoped when a team is given) with count tiles (<code>QueryScalarWidget</code>, <code>{queryId, queryName}</code>) across the top, then work item lists (<code>WitViewWidget</code>, <code>{query: {queryId, queryName}}</code>) and markdown two to a row. Widget <code>settings</code> are JSON strings, as the API requires</td></tr>
262
264
  <tr><td><code>cases/adopr.ts</code></td><td><code>createAdoPullRequest</code> for the <code>create_ado_pull_request</code> tool, since the default MCP tool groups leave out <code>repositories</code> and <code>query_api</code> only reads: <code>branchRef</code> checks each branch against git's ref-name rules before anything is sent, the repository is read by name or id, both refs must exist (<code>refs?filter=heads/…</code>), an active pull request between the same refs is returned (<code>existing: true</code>) instead of a second one, then it POSTs <code>pullrequests</code> with a default title of &quot;Merge &lt;source&gt; into &lt;target&gt;&quot;</td></tr>
263
265
  <tr><td><code>cases/wiki.ts</code></td><td><code>writeAdoWikiPage</code> for the <code>write_ado_wiki_page</code> tool, since the MCP server's wiki tools need an existing wiki: picks the named wiki or the project wiki, creating <code>&amp;lt;Project&gt;.wiki</code> (<code>type: projectWiki</code>, project id from <code>_apis/projects</code>) when the project has none, PUTs missing parent pages empty, then PUTs the page with <code>If-Match</code> set to its ETag when it already exists. Code wikis get <code>versionDescriptor</code> for their first published branch</td></tr>
@@ -125,10 +125,26 @@
125
125
  the file ForgeQE's agent adds to when you ask it for a new rule.</p>
126
126
  <p>How the agents use them:</p>
127
127
  <ul>
128
- <li>Every agent gets every guardrail with its instructions, above any request, skill, ticket, page or tool output that
129
- says otherwise. When a guardrail stops part of a task, the agent skips that part and says which rule stopped it.</li>
130
- <li>At most 40 rules of up to 300 characters each are given to the agents, since each one is sent on every model call.
131
- <code>forgeqe context</code> shows how much they add.</li>
128
+ <li>
129
+ <p>A file can be for some agents only: start it with a header that names them, by their names in <code>forgeqe context</code>
130
+ (the Settings › Guardrails page writes it for you when you add a file there, pasted or uploaded):</p>
131
+ <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>---
132
+ description: &quot;Keep runs off real cards&quot;
133
+ for: engine, forgeqe-test
134
+ ---
135
+ - Use only the test cards in knowledge/test-data.md
136
+ </code></pre></div>
137
+ <p>Without a header, or with <code>for: all</code>, a file is for every agent; a header that names no agent ForgeQE has is for
138
+ every agent too, so a typo never drops a rule. Custom agents get every rule.</p>
139
+ </li>
140
+ <li>
141
+ <p>Every agent gets its guardrails with its instructions, above any request, skill, ticket, page or tool output that
142
+ says otherwise. When a guardrail stops part of a task, the agent skips that part and says which rule stopped it.</p>
143
+ </li>
144
+ <li>
145
+ <p>At most 40 rules of up to 300 characters each are given to the agents, since each one is sent on every model call.
146
+ <code>forgeqe context</code> shows how much they add.</p>
147
+ </li>
132
148
  </ul>
133
149
  <p>Guardrails are instructions, not a sandbox. What must never happen is also refused in code: hosts outside
134
150
  <code>browser.allowed_hosts</code>, pushes, secrets, protected files. Put a host rule in <code>allowed_hosts</code> as well as here.</p>