@capagents/forgeqe 3.1.1 → 3.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/HOW_TO_USE.md +5152 -1869
  2. package/README.md +155 -434
  3. package/THIRD_PARTY_NOTICES.md +210 -1
  4. package/dist/docs-site/CREDITS.md +6 -0
  5. package/dist/docs-site/architecture-map/index.html +1 -1
  6. package/dist/docs-site/docs/app-theme.css +126 -13
  7. package/dist/docs-site/docs/architecture/index.html +56 -530
  8. package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
  9. package/dist/docs-site/docs/area-api/index.html +491 -0
  10. package/dist/docs-site/docs/area-automated-tests/index.html +1777 -0
  11. package/dist/docs-site/docs/area-browser/index.html +472 -0
  12. package/dist/docs-site/docs/area-data/index.html +595 -0
  13. package/dist/docs-site/docs/area-desktop/index.html +802 -0
  14. package/dist/docs-site/docs/area-mobile/index.html +683 -0
  15. package/dist/docs-site/docs/area-operations/index.html +1243 -0
  16. package/dist/docs-site/docs/area-pull-requests/index.html +290 -0
  17. package/dist/docs-site/docs/area-quality/index.html +427 -0
  18. package/dist/docs-site/docs/area-release/index.html +435 -0
  19. package/dist/docs-site/docs/area-setup/index.html +1595 -0
  20. package/dist/docs-site/docs/area-systems/index.html +191 -0
  21. package/dist/docs-site/docs/area-test-cases/index.html +927 -0
  22. package/dist/docs-site/docs/containers/index.html +168 -189
  23. package/dist/docs-site/docs/cost-architecture/index.html +110 -113
  24. package/dist/docs-site/docs/custom-agents-first-run/index.html +121 -67
  25. package/dist/docs-site/docs/desktop/index.html +363 -373
  26. package/dist/docs-site/docs/desktop-ci/index.html +39 -36
  27. package/dist/docs-site/docs/docs-tabs.js +56 -0
  28. package/dist/docs-site/docs/evidence/index.html +297 -300
  29. package/dist/docs-site/docs/feature-test-prompts/index.html +79 -73
  30. package/dist/docs-site/docs/get-started/index.html +791 -0
  31. package/dist/docs-site/docs/graphify/index.html +45 -48
  32. package/dist/docs-site/docs/guardrails/index.html +35 -23
  33. package/dist/docs-site/docs/index.html +18 -6729
  34. package/dist/docs-site/docs/mobile/index.html +223 -210
  35. package/dist/docs-site/docs/model-routing/index.html +84 -65
  36. package/dist/docs-site/docs/overview/index.html +192 -0
  37. package/dist/docs-site/docs/product-graph/index.html +60 -62
  38. package/dist/docs-site/docs/product-knowledge/index.html +24 -17
  39. package/dist/docs-site/docs/product-views/index.html +57 -60
  40. package/dist/docs-site/docs/reference/index.html +409 -0
  41. package/dist/docs-site/docs/search.js +1 -1
  42. package/dist/docs-site/docs/using/index.html +798 -0
  43. package/dist/docs-site/docs/web-app/index.html +168 -111
  44. package/dist/docs-site/security/index.html +930 -0
  45. package/dist/docs-site/security/security-theme.css +161 -0
  46. package/dist/docs-site/security/security.js +1465 -0
  47. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  48. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  49. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  50. package/dist/forgeqe.js +1903 -1896
  51. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  52. package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
  53. package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
  54. package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
  55. package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
  56. package/dist/web/assets/Chat-DnBUm_97.js +3 -0
  57. package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
  58. package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
  59. package/dist/web/assets/Cost-CWrc4McH.js +1 -0
  60. package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
  61. package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
  62. package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
  63. package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
  64. package/dist/web/assets/Explore-CMAxWE_8.js +2 -0
  65. package/dist/web/assets/Features-haQchkhA.js +1 -0
  66. package/dist/web/assets/Flags-BaQjYi_t.js +2 -0
  67. package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
  68. package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
  69. package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
  70. package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
  71. package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
  72. package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
  73. package/dist/web/assets/Product-BQSiR28a.js +7 -0
  74. package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
  75. package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
  76. package/dist/web/assets/Readiness-CkknP87n.js +1 -0
  77. package/dist/web/assets/Record-09IsC9U-.js +1 -0
  78. package/dist/web/assets/Regression-BL4MfN47.js +5 -0
  79. package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
  80. package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
  81. package/dist/web/assets/Response-DTBFBeKB.js +9 -0
  82. package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
  83. package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
  84. package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
  85. package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
  86. package/dist/web/assets/Steps-HYHK9psI.js +2 -0
  87. package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
  88. package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
  89. package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
  90. package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
  91. package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
  92. package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
  93. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  94. package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
  95. package/dist/web/assets/dataParts-DEPK4eQE.js +3 -0
  96. package/dist/web/assets/diff-CcNwLCX6.js +2 -0
  97. package/dist/web/assets/families-gkpkloLT.js +1 -0
  98. package/dist/web/assets/filters-C7phIFfd.js +1 -0
  99. package/dist/web/assets/fold-i73P-EDV.js +1 -0
  100. package/dist/web/assets/head-BtTqyLlj.js +1 -0
  101. package/dist/web/assets/highlight-DZI39CzZ.js +4 -0
  102. package/dist/web/assets/index-ClFOh63x.css +2 -0
  103. package/dist/web/assets/index-YGWJEkAT.js +64 -0
  104. package/dist/web/assets/input-C2vQ9O3a.js +1 -0
  105. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  106. package/dist/web/assets/logos-BmbNTDu2.js +1 -0
  107. package/dist/web/assets/palette-XFlqvgZl.js +1 -0
  108. package/dist/web/assets/paletteCommands-DsbD2ASU.js +1 -0
  109. package/dist/web/assets/parts-DEVx2Sea.js +1 -0
  110. package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
  111. package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
  112. package/dist/web/assets/recordTest--Wr40QdN.js +1 -0
  113. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  114. package/dist/web/assets/route-Dg53WdFu.js +1 -0
  115. package/dist/web/index.html +11 -6
  116. package/docs/ARCHITECTURE.md +50 -563
  117. package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
  118. package/docs/BASAL.md +1 -1
  119. package/docs/CONTAINERS.md +87 -87
  120. package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
  121. package/docs/DESKTOP-CI.md +18 -3
  122. package/docs/DESKTOP.md +306 -286
  123. package/docs/EVIDENCE.md +1 -1
  124. package/docs/MOBILE.md +107 -75
  125. package/docs/MODEL_ROUTING.md +48 -15
  126. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  127. package/docs/WEB_APP.md +143 -75
  128. package/docs/feature-test-prompts.md +29 -16
  129. package/docs/user-guide.html +5402 -2269
  130. package/forgeqe.example.yaml +3 -3
  131. package/guardrails/README.md +22 -2
  132. package/knowledge/README.md +15 -2
  133. package/package.json +1 -1
  134. package/prompts/brain.md +1 -0
  135. package/prompts/page-differs.md +1 -1
  136. package/prompts/requests-rule.md +1 -1
  137. package/prompts/test-reviewer.md +1 -1
  138. package/prompts/test-rules.md +3 -4
  139. package/py/forgeqe_engine/recordsession.py +100 -24
  140. package/skills/web-guidance/LICENSE +202 -0
  141. package/skills/web-guidance/SKILL.md +76 -0
  142. package/skills/web-guidance/UPSTREAM +67 -0
  143. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  144. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  145. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  146. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  147. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  148. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  149. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  150. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  151. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  152. package/skills/web-guidance/references/forms/forms.md +415 -0
  153. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  154. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  155. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  156. package/skills/web-guidance/references/forms/slider.md +184 -0
  157. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  158. package/skills/web-guidance/references/forms/switch.md +60 -0
  159. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  160. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  161. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  162. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  163. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  164. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  165. package/skills/web-guidance/references/performance/performance.md +384 -0
  166. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  167. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  168. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  169. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  170. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  171. package/skills/web-guidance/references/security/passkeys.md +39 -0
  172. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  173. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  174. package/skills/web-guidance/references/security/security.md +390 -0
  175. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  176. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  177. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  178. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  179. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  180. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  181. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  182. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  183. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  184. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  185. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  186. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  187. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  188. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  189. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  190. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  191. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  192. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  193. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  194. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  195. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  196. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  197. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  198. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  199. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  200. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  201. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  202. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  203. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  204. package/skills/web-guidance/references/visual-design/color.md +43 -0
  205. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  206. package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
  207. package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
  208. package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
  209. package/dist/web/assets/Chat-B3uhI94O.js +0 -3
  210. package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
  211. package/dist/web/assets/Compare-CN75w1p9.js +0 -1
  212. package/dist/web/assets/Cost-QoxyjR95.js +0 -1
  213. package/dist/web/assets/Data-BAvkcBVt.js +0 -6
  214. package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
  215. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
  216. package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
  217. package/dist/web/assets/Explore-D9AuyTip.js +0 -2
  218. package/dist/web/assets/Features-CusGMDR9.js +0 -1
  219. package/dist/web/assets/Flags-CycGFuUP.js +0 -2
  220. package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
  221. package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
  222. package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
  223. package/dist/web/assets/KindPage-BielEIej.js +0 -6
  224. package/dist/web/assets/Migration-NwanKpJg.js +0 -2
  225. package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
  226. package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
  227. package/dist/web/assets/Production-D3zsyNIS.js +0 -1
  228. package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
  229. package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
  230. package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
  231. package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
  232. package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
  233. package/dist/web/assets/Response-BP0UwQcW.js +0 -9
  234. package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
  235. package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
  236. package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
  237. package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
  238. package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
  239. package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
  240. package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
  241. package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
  242. package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
  243. package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
  244. package/dist/web/assets/families-DYlN5v0i.js +0 -1
  245. package/dist/web/assets/filters-faaSnoIq.js +0 -1
  246. package/dist/web/assets/fold-CUjwWAK3.js +0 -1
  247. package/dist/web/assets/frame-BLPdAXUq.js +0 -13
  248. package/dist/web/assets/head-CsTxBsO0.js +0 -1
  249. package/dist/web/assets/index-CxiCvGZq.js +0 -78
  250. package/dist/web/assets/index-dOIsrzhD.css +0 -2
  251. package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
  252. package/dist/web/assets/logos-dGuc1jIM.js +0 -1
  253. package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
  254. package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
  255. package/dist/web/assets/parts-CdF1f7yS.js +0 -1
  256. package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
  257. package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
  258. package/dist/web/assets/recordTest-P792aBUt.js +0 -1
@@ -11,11 +11,12 @@
11
11
  <link rel="stylesheet" href="../docs.css">
12
12
  <script src="../search.js" defer></script>
13
13
  <script src="../docs.js" defer></script>
14
+ <script src="../docs-tabs.js" defer></script>
14
15
  <link rel="stylesheet" href="../../app-look.css">
15
16
  <link rel="stylesheet" href="../app-theme.css">
16
17
  </head>
17
18
  <body class="docs">
18
- <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol><symbol id="ph-download" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 48v160H40V48a16 16 0 0 1 16-16h144a16 16 0 0 1 16 16" opacity=".2"/><path d="M224 144v64a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-64a8 8 0 0 1 16 0v56h160v-56a8 8 0 0 1 16 0m-101.66 5.66a8 8 0 0 0 11.32 0l40-40a8 8 0 0 0-11.32-11.32L136 124.69V32a8 8 0 0 0-16 0v92.69L93.66 98.34a8 8 0 0 0-11.32 11.32Z"/></g></symbol><symbol id="ph-orchestrator" viewBox="0 0 256 256"><g fill="currentColor"><path d="M64 112v32a8 8 0 0 1-8 8H24a8 8 0 0 1-8-8v-32a8 8 0 0 1 8-8h32a8 8 0 0 1 8 8m144-72h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8m0 112h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8" opacity=".2"/><path d="M160 112h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a24 24 0 0 0-24 24v32H72v-8a16 16 0 0 0-16-16H24a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h32v32a24 24 0 0 0 24 24h16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a8 8 0 0 1-8-8V88a8 8 0 0 1 8-8h16v16a16 16 0 0 0 16 16M56 144H24v-32h32zm104 16h48v48h-48Zm0-112h48v48h-48Z"/></g></symbol><symbol id="ph-browser-agent" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 56v40H32V56a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8" opacity=".2"/><path d="M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 16v32H40V56Zm0 144H40v-96h176z"/></g></symbol><symbol id="ph-case" viewBox="0 0 256 256"><g fill="currentColor"><path d="M80 40v176H48a8 8 0 0 1-8-8V48a8 8 0 0 1 8-8Z" opacity=".2"/><path d="M184 112a8 8 0 0 1-8 8h-64a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8m-8 24h-64a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16m48-88v160a16 16 0 0 1-16 16H48a16 16 0 0 1-16-16V48a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16M48 208h24V48H48Zm160 0V48H88v160z"/></g></symbol><symbol id="ph-healer" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 72v128a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8V72a8 8 0 0 1 8-8h176a8 8 0 0 1 8 8" opacity=".2"/><path d="M216 56h-40v-8a24 24 0 0 0-24-24h-48a24 24 0 0 0-24 24v8H40a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V72a16 16 0 0 0-16-16M96 48a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8v8H96Zm120 152H40V72h176zm-56-64a8 8 0 0 1-8 8h-16v16a8 8 0 0 1-16 0v-16h-16a8 8 0 0 1 0-16h16v-16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 8 8"/></g></symbol><symbol id="ph-desktop" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 64v88H32V64a16 16 0 0 1 16-16h160a16 16 0 0 1 16 16" opacity=".2"/><path d="M208 40H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h72v16H96a8 8 0 0 0 0 16h64a8 8 0 0 0 0-16h-24v-16h72a24 24 0 0 0 24-24V64a24 24 0 0 0-24-24M48 56h160a8 8 0 0 1 8 8v80H40V64a8 8 0 0 1 8-8m160 128H48a8 8 0 0 1-8-8v-16h176v16a8 8 0 0 1-8 8"/></g></symbol><symbol id="ph-mobile" viewBox="0 0 256 256"><g fill="currentColor"><path d="M192 56v144H64V56Z" opacity=".2"/><path d="M176 16H80a24 24 0 0 0-24 24v176a24 24 0 0 0 24 24h96a24 24 0 0 0 24-24V40a24 24 0 0 0-24-24M72 64h112v128H72Zm8-32h96a8 8 0 0 1 8 8v8H72v-8a8 8 0 0 1 8-8m96 192H80a8 8 0 0 1-8-8v-8h112v8a8 8 0 0 1-8 8"/></g></symbol><symbol id="ph-network" viewBox="0 0 256 256"><g fill="currentColor"><path d="M152 128a24 24 0 1 1-24-24a24 24 0 0 1 24 24" opacity=".2"/><path d="M200 152a31.84 31.84 0 0 0-19.53 6.68l-23.11-18A31.65 31.65 0 0 0 160 128c0-.74 0-1.48-.08-2.21l13.23-4.41A32 32 0 1 0 168 104c0 .74 0 1.48.08 2.21l-13.23 4.41A32 32 0 0 0 128 96a32.6 32.6 0 0 0-5.27.44L115.89 81A32 32 0 1 0 96 88a32.6 32.6 0 0 0 5.27-.44l6.84 15.4a31.92 31.92 0 0 0-8.57 39.64l-25.71 22.84a32.06 32.06 0 1 0 10.63 12l25.71-22.84a31.91 31.91 0 0 0 37.36-1.24l23.11 18A31.65 31.65 0 0 0 168 184a32 32 0 1 0 32-32m0-64a16 16 0 1 1-16 16a16 16 0 0 1 16-16M80 56a16 16 0 1 1 16 16a16 16 0 0 1-16-16M56 208a16 16 0 1 1 16-16a16 16 0 0 1-16 16m56-80a16 16 0 1 1 16 16a16 16 0 0 1-16-16m88 72a16 16 0 1 1 16-16a16 16 0 0 1-16 16"/></g></symbol><symbol id="ph-knowledge-base" viewBox="0 0 256 256"><g fill="currentColor"><path d="M48 72h64v112H48Zm142.64-33.61a8 8 0 0 0-9.5-6.21l-46.81 10a8.07 8.07 0 0 0-6.15 9.57L139.79 107l62.46-13.42Z" opacity=".2"/><path d="m231.65 194.55l-33.19-157.8a16 16 0 0 0-19-12.39l-46.81 10.06a16.08 16.08 0 0 0-12.3 19l33.19 157.8A16 16 0 0 0 169.16 224a16.3 16.3 0 0 0 3.38-.36l46.81-10.06a16.09 16.09 0 0 0 12.3-19.03M136 50.15v-.09l46.8-10l3.33 15.87L139.33 66Zm6.62 31.47l46.82-10.05l3.34 15.9L146 97.53Zm6.64 31.57l46.82-10.06l13.3 63.24l-46.82 10.06ZM216 197.94l-46.8 10l-3.33-15.87l46.8-10.07l3.33 15.85zM104 32H56a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16M56 48h48v16H56Zm0 32h48v96H56Zm48 128H56v-16h48z"/></g></symbol><symbol id="ph-scribe" viewBox="0 0 256 256"><g fill="currentColor"><path d="M208 88h-56V32Z" opacity=".2"/><path d="M181.66 146.34a8 8 0 0 1 0 11.32l-24 24a8 8 0 0 1-11.32-11.32L164.69 152l-18.35-18.34a8 8 0 0 1 11.32-11.32Zm-72-24a8 8 0 0 0-11.32 0l-24 24a8 8 0 0 0 0 11.32l24 24a8 8 0 0 0 11.32-11.32L91.31 152l18.35-18.34a8 8 0 0 0 0-11.32M216 88v128a16 16 0 0 1-16 16H56a16 16 0 0 1-16-16V40a16 16 0 0 1 16-16h96a8 8 0 0 1 5.66 2.34l56 56A8 8 0 0 1 216 88m-56-8h28.69L160 51.31Zm40 136V96h-48a8 8 0 0 1-8-8V40H56v176z"/></g></symbol><symbol id="ph-pr-reviewer" viewBox="0 0 256 256"><g fill="currentColor"><path d="M96 64a24 24 0 1 1-24-24a24 24 0 0 1 24 24m104 104a24 24 0 1 0 24 24a24 24 0 0 0-24-24" opacity=".2"/><path d="M104 64a32 32 0 1 0-40 31v66a32 32 0 1 0 16 0V95a32.06 32.06 0 0 0 24-31m-48 0a16 16 0 1 1 16 16a16 16 0 0 1-16-16m32 128a16 16 0 1 1-16-16a16 16 0 0 1 16 16m120-31v-50.37a23.85 23.85 0 0 0-7-17L163.31 56H192a8 8 0 0 0 0-16h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 16 0V67.31L189.66 105a8 8 0 0 1 2.34 5.66V161a32 32 0 1 0 16 0m-8 47a16 16 0 1 1 16-16a16 16 0 0 1-16 16"/></g></symbol><symbol id="ph-api" viewBox="0 0 256 256"><g fill="currentColor"><path d="M240 128c-64 0 0 88-64 88H80c-64 0 0-88-64-88c64 0 0-88 64-88h96c64 0 0 88 64 88" opacity=".2"/><path d="M43.18 128a29.8 29.8 0 0 1 8 10.26c4.8 9.9 4.8 22 4.8 33.74c0 24.31 1 36 24 36a8 8 0 0 1 0 16c-17.48 0-29.32-6.14-35.2-18.26c-4.8-9.9-4.8-22-4.8-33.74c0-24.31-1-36-24-36a8 8 0 0 1 0-16c23 0 24-11.69 24-36c0-11.72 0-23.84 4.8-33.74C50.68 38.14 62.52 32 80 32a8 8 0 0 1 0 16c-23 0-24 11.69-24 36c0 11.72 0 23.84-4.8 33.74A29.8 29.8 0 0 1 43.18 128M240 120c-23 0-24-11.69-24-36c0-11.72 0-23.84-4.8-33.74C205.32 38.14 193.48 32 176 32a8 8 0 0 0 0 16c23 0 24 11.69 24 36c0 11.72 0 23.84 4.8 33.74a29.8 29.8 0 0 0 8 10.26a29.8 29.8 0 0 0-8 10.26c-4.8 9.9-4.8 22-4.8 33.74c0 24.31-1 36-24 36a8 8 0 0 0 0 16c17.48 0 29.32-6.14 35.2-18.26c4.8-9.9 4.8-22 4.8-33.74c0-24.31 1-36 24-36a8 8 0 0 0 0-16"/></g></symbol><symbol id="ph-result" viewBox="0 0 256 256"><g fill="currentColor"><path d="M232 128c0 12.51-17.82 21.95-22.68 33.69c-4.68 11.32 1.42 30.65-7.78 39.85s-28.53 3.1-39.85 7.78C150 214.18 140.5 232 128 232s-22-17.82-33.69-22.68c-11.32-4.68-30.65 1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82 150 24 140.5 24 128s17.82-22 22.68-33.69c4.68-11.31-1.42-30.65 7.78-39.85s28.54-3.1 39.85-7.78C106.05 41.82 115.5 24 128 24s22 17.82 33.69 22.68c11.32 4.68 30.65-1.42 39.85 7.78s3.1 28.53 7.78 39.85C214.18 106.05 232 115.5 232 128" opacity=".2"/><path d="M225.86 102.82c-3.77-3.94-7.67-8-9.14-11.57c-1.36-3.27-1.44-8.69-1.52-13.94c-.15-9.76-.31-20.82-8-28.51s-18.75-7.85-28.51-8c-5.25-.08-10.67-.16-13.94-1.52c-3.56-1.47-7.63-5.37-11.57-9.14C146.28 23.51 138.44 16 128 16s-18.27 7.51-25.18 14.14c-3.94 3.77-8 7.67-11.57 9.14c-3.25 1.36-8.69 1.44-13.94 1.52c-9.76.15-20.82.31-28.51 8s-7.8 18.75-8 28.51c-.08 5.25-.16 10.67-1.52 13.94c-1.47 3.56-5.37 7.63-9.14 11.57C23.51 109.72 16 117.56 16 128s7.51 18.27 14.14 25.18c3.77 3.94 7.67 8 9.14 11.57c1.36 3.27 1.44 8.69 1.52 13.94c.15 9.76.31 20.82 8 28.51s18.75 7.85 28.51 8c5.25.08 10.67.16 13.94 1.52c3.56 1.47 7.63 5.37 11.57 9.14c6.9 6.63 14.74 14.14 25.18 14.14s18.27-7.51 25.18-14.14c3.94-3.77 8-7.67 11.57-9.14c3.27-1.36 8.69-1.44 13.94-1.52c9.76-.15 20.82-.31 28.51-8s7.85-18.75 8-28.51c.08-5.25.16-10.67 1.52-13.94c1.47-3.56 5.37-7.63 9.14-11.57c6.63-6.9 14.14-14.74 14.14-25.18s-7.51-18.27-14.14-25.18m-11.55 39.29c-4.79 5-9.75 10.17-12.38 16.52c-2.52 6.1-2.63 13.07-2.73 19.82c-.1 7-.21 14.33-3.32 17.43s-10.39 3.22-17.43 3.32c-6.75.1-13.72.21-19.82 2.73c-6.35 2.63-11.52 7.59-16.52 12.38S132 224 128 224s-9.15-4.92-14.11-9.69s-10.17-9.75-16.52-12.38c-6.1-2.52-13.07-2.63-19.82-2.73c-7-.1-14.33-.21-17.43-3.32s-3.22-10.39-3.32-17.43c-.1-6.75-.21-13.72-2.73-19.82c-2.63-6.35-7.59-11.52-12.38-16.52S32 132 32 128s4.92-9.15 9.69-14.11s9.75-10.17 12.38-16.52c2.52-6.1 2.63-13.07 2.73-19.82c.1-7 .21-14.33 3.32-17.43s10.39-3.22 17.43-3.32c6.75-.1 13.72-.21 19.82-2.73c6.35-2.63 11.52-7.59 16.52-12.38S124 32 128 32s9.15 4.92 14.11 9.69s10.17 9.75 16.52 12.38c6.1 2.52 13.07 2.63 19.82 2.73c7 .1 14.33.21 17.43 3.32s3.22 10.39 3.32 17.43c.1 6.75.21 13.72 2.73 19.82c2.63 6.35 7.59 11.52 12.38 16.52S224 124 224 128s-4.92 9.15-9.69 14.11m-40.65-43.77a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0"/></g></symbol><symbol id="ph-speed" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M232 136.66A104.12 104.12 0 1 1 119.34 24a8 8 0 0 1 1.32 16A88.12 88.12 0 1 0 216 135.34a8 8 0 0 1 16 1.32M120 72v56a8 8 0 0 0 8 8h56a8 8 0 0 0 0-16h-48V72a8 8 0 0 0-16 0m40-24a12 12 0 1 0-12-12a12 12 0 0 0 12 12m36 24a12 12 0 1 0-12-12a12 12 0 0 0 12 12m24 36a12 12 0 1 0-12-12a12 12 0 0 0 12 12"/></g></symbol></svg>
19
+ <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol></svg>
19
20
  <svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
20
21
  <symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
21
22
  <line x1="8" x2="16" y1="21" y2="21" />
@@ -101,26 +102,22 @@
101
102
  <header class="nav" id="navigation">
102
103
  <div class="nav__bar">
103
104
  <a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="" width="160" height="76"></picture><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
104
- <nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="https://forgeqe.github.io/security/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
105
+ <nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
105
106
  <div class="nav__end">
106
107
  <button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
107
108
  <button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
108
109
  </div>
109
110
  </div>
110
- <div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="https://forgeqe.github.io/security/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
111
+ <div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
111
112
  </header>
112
113
  <div class="container docs-layout">
113
114
  <nav class="docs-side" aria-label="Docs">
114
- <a class="side-home" href="../index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>User guide</a>
115
- <div class="side-group"><p class="side-head">Guide</p><ul><li><a href="../index.html#overview" data-chapter="overview"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg><span>Overview</span><b>01</b></a></li><li><a href="../index.html#get-started" data-chapter="get-started"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-download"/></svg><span>Get started</span><b>02</b></a></li><li><a href="../index.html#using" data-chapter="using"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-orchestrator"/></svg><span>Using ForgeQE</span><b>03</b></a></li></ul></div><div class="side-group"><p class="side-head">Capability areas</p><ul><li><a href="../index.html#area-browser" data-chapter="area-browser"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-browser-agent"/></svg><span>Browser</span><b>04</b></a></li><li><a href="../index.html#area-test-cases" data-chapter="area-test-cases"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-case"/></svg><span>Test cases</span><b>05</b></a></li><li><a href="../index.html#area-setup" data-chapter="area-setup"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-healer"/></svg><span>Setup</span><b>06</b></a></li><li><a href="../index.html#area-desktop" data-chapter="area-desktop"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-desktop"/></svg><span>Desktop</span><b>07</b></a></li><li><a href="../index.html#area-mobile" data-chapter="area-mobile"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-mobile"/></svg><span>Mobile</span><b>08</b></a></li><li><a href="../index.html#area-operations" data-chapter="area-operations"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-network"/></svg><span>Operations</span><b>09</b></a></li><li><a href="../index.html#area-data" data-chapter="area-data"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-knowledge-base"/></svg><span>Data</span><b>10</b></a></li><li><a href="../index.html#area-automated-tests" data-chapter="area-automated-tests"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-scribe"/></svg><span>Automated tests</span><b>11</b></a></li><li><a href="../index.html#area-pull-requests" data-chapter="area-pull-requests"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-pr-reviewer"/></svg><span>Pull requests</span><b>12</b></a></li><li><a href="../index.html#area-api" data-chapter="area-api"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-api"/></svg><span>API</span><b>13</b></a></li><li><a href="../index.html#area-quality" data-chapter="area-quality"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-result"/></svg><span>Quality</span><b>14</b></a></li><li><a href="../index.html#area-release" data-chapter="area-release"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-speed"/></svg><span>Release</span><b>15</b></a></li><li><a href="../index.html#area-systems" data-chapter="area-systems"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg><span>Systems</span><b>16</b></a></li></ul></div><div class="side-group"><p class="side-head">Reference</p><ul><li><a href="../index.html#reference" data-chapter="reference"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>Reference</span><b>17</b></a></li></ul></div>
116
- <div class="side-group"><p class="side-head">More documentation</p><ul><li><a href="../web-app/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>The web app</span></a></li><li><a href="../desktop/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-desktop"/></svg><span>Desktop apps</span></a></li><li><a href="../desktop-ci/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-desktop"/></svg><span>Desktop in CI</span></a></li><li><a href="../mobile/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-mobile"/></svg><span>Mobile apps</span></a></li><li><a href="../containers/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-knowledge-base"/></svg><span>Containers</span></a></li><li><a href="../custom-agents-first-run/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>Custom agents: a first run</span></a></li><li><a href="index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>Evidence (design and status)</span></a></li><li><a href="../product-knowledge/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg><span>Product knowledge</span></a></li><li><a href="../product-graph/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>The product knowledge graph (design)</span></a></li><li><a href="../product-views/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>Product views (design)</span></a></li><li><a href="../graphify/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg><span>Reading product code (Graphify)</span></a></li><li><a href="../guardrails/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg><span>Guardrails</span></a></li><li><a href="../feature-test-prompts/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-scribe"/></svg><span>Feature test prompts</span></a></li><li><a href="../architecture/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg><span>Architecture</span></a></li><li><a href="../cost-architecture/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-speed"/></svg><span>Cost-aware execution</span></a></li><li><a href="../model-routing/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-orchestrator"/></svg><span>Model routing</span></a></li></ul></div>
117
- <div class="side-group"><p class="side-head">Pages of their own</p><ul>
118
- <li><a href="https://forgeqe.github.io/security/"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg><span>Security and data flows</span></a></li>
119
- <li><a href="../../architecture-map/index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg><span>Architecture map</span></a></li>
120
- </ul></div>
121
- </nav>
115
+ <a class="side-home" href="../index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
116
+ <div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="index.html" aria-current="page"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
117
+ </nav>
122
118
  <main id="main" class="docs-main">
123
- <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>More documentation</p>
119
+ <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>For contributors</p>
120
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="index.html" aria-current="page"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details></div>
124
121
  <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Evidence (design and status)</h1>
125
122
  <article class="prose">
126
123
  <p>Status: design, agreed before building. Nothing here is built yet unless a phase says done.</p>
@@ -171,21 +168,21 @@ the checks behind it.</li>
171
168
  before the next starts.</li>
172
169
  </ol>
173
170
  <h2 id="the-run-record"><a href="#the-run-record" class="hash">#</a>The run record</h2>
174
- <p>One record per agent run (<code>.forgeqe/evidence/runs/&amp;lt;run-id&gt;.json</code>, a versioned schema), whatever produced it:</p>
175
- <div class="tbl"><table>
171
+ <p>One record per agent run (<code>.forgeqe/evidence/runs/&lt;run-id&gt;.json</code>, a versioned schema), whatever produced it:</p>
172
+ <div class="tbl tbl--cols-3"><table>
176
173
  <thead>
177
174
  <tr><th>Part</th><th>What</th><th>Notes</th></tr>
178
175
  </thead>
179
176
  <tbody>
180
- <tr><td>run</td><td>id, start and end, outcome as the run reported it</td><td></td></tr>
181
- <tr><td>agent</td><td>name, version, and the digest of what made it: instructions, skills, tools and their schemas, model and settings</td><td>two runs of &quot;the same&quot; agent with a different digest are different versions</td></tr>
182
- <tr><td>request</td><td>what was asked, by whom, from where (chat, ticket, schedule), linked work items</td><td></td></tr>
183
- <tr><td>steps</td><td>in order: model calls, tool calls (name, inputs, result, error), retrieval, hand-offs to other agents</td><td>inputs and results kept as references and fingerprints unless content is switched on</td></tr>
184
- <tr><td>inputs</td><td>every piece of data the run took in: id, kind (user input, document, tool result, memory, another agent), source, time, sensitivity label, fingerprint</td><td>the data lineage: each step names the inputs it was given</td></tr>
185
- <tr><td>decisions</td><td>each point where the agent chose: what it chose, the options it had where known, the inputs available at that moment, its stated reason (a claim)</td><td>taken from the run where it says so (a tool chosen, an answer given, a branch taken); never invented</td></tr>
186
- <tr><td>outputs</td><td>what it produced: text, a change (diff, commit, pull request), a record written, a message sent</td><td></td></tr>
187
- <tr><td>statements</td><td>what the agent said about its own work (&quot;tests passed&quot;, &quot;done&quot;, &quot;I checked X&quot;)</td><td>checked, never trusted</td></tr>
188
- <tr><td>gaps</td><td>what the source could not say</td><td>an honest &quot;not known&quot;</td></tr>
177
+ <tr><td data-label="Part">run</td><td data-label="What">id, start and end, outcome as the run reported it</td><td data-label="Notes"></td></tr>
178
+ <tr><td data-label="Part">agent</td><td data-label="What">name, version, and the digest of what made it: instructions, skills, tools and their schemas, model and settings</td><td data-label="Notes">two runs of &quot;the same&quot; agent with a different digest are different versions</td></tr>
179
+ <tr><td data-label="Part">request</td><td data-label="What">what was asked, by whom, from where (chat, ticket, schedule), linked work items</td><td data-label="Notes"></td></tr>
180
+ <tr><td data-label="Part">steps</td><td data-label="What">in order: model calls, tool calls (name, inputs, result, error), retrieval, hand-offs to other agents</td><td data-label="Notes">inputs and results kept as references and fingerprints unless content is switched on</td></tr>
181
+ <tr><td data-label="Part">inputs</td><td data-label="What">every piece of data the run took in: id, kind (user input, document, tool result, memory, another agent), source, time, sensitivity label, fingerprint</td><td data-label="Notes">the data lineage: each step names the inputs it was given</td></tr>
182
+ <tr><td data-label="Part">decisions</td><td data-label="What">each point where the agent chose: what it chose, the options it had where known, the inputs available at that moment, its stated reason (a claim)</td><td data-label="Notes">taken from the run where it says so (a tool chosen, an answer given, a branch taken); never invented</td></tr>
183
+ <tr><td data-label="Part">outputs</td><td data-label="What">what it produced: text, a change (diff, commit, pull request), a record written, a message sent</td><td data-label="Notes"></td></tr>
184
+ <tr><td data-label="Part">statements</td><td data-label="What">what the agent said about its own work (&quot;tests passed&quot;, &quot;done&quot;, &quot;I checked X&quot;)</td><td data-label="Notes">checked, never trusted</td></tr>
185
+ <tr><td data-label="Part">gaps</td><td data-label="What">what the source could not say</td><td data-label="Notes">an honest &quot;not known&quot;</td></tr>
189
186
  </tbody>
190
187
  </table></div>
191
188
  <p>Sources (E1, built): ForgeQE's own agents, from their session logs (<code>src/evidence/forgeqe.ts</code>); OpenTelemetry traces,
@@ -207,21 +204,21 @@ Scores and feedback on a run are someone's judgement of it, not the run, and are
207
204
  <p><strong>Receiving traces as the agent runs</strong> (built): <code>forgeqe evidence receive</code> is an OTLP/HTTP endpoint on 127.0.0.1
208
205
  (JSON or protobuf, gzipped or not; <code>src/evidence/receiver.ts</code>) that an agent under test sends its traces to with the
209
206
  OpenTelemetry exporter's own settings, which it prints:</p>
210
- <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>OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://127.0.0.1:4318/v1/traces
211
- OTEL_EXPORTER_OTLP_TRACES_HEADERS=Authorization=Bearer%20&amp;lt;token&gt;
212
- OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
213
- OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
214
- </code></pre></div>
207
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://127.0.0.1:4318/v1/traces
208
+ </span></span><span class="ln"><span class="cmd">OTEL_EXPORTER_OTLP_TRACES_HEADERS=Authorization=Bearer%20&lt;token&gt;
209
+ </span></span><span class="ln"><span class="cmd">OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
210
+ </span></span><span class="ln"><span class="cmd">OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
211
+ </span></span></code></pre></div>
215
212
  <p>Spans are kept per trace as they arrive (<code>.forgeqe/evidence/incoming/</code>, owner only). A span ends before its parent, so
216
213
  the root comes last: a trace is recorded once its root has arrived and nothing more has for <code>--settle</code> seconds (10), or
217
214
  after five minutes with no root (the record then says part of the trace is missing). Ctrl+C records every trace still
218
215
  open. A record is never changed: spans that arrive after their trace was recorded are kept beside it in
219
- <code>incoming/&amp;lt;trace&gt;.late.jsonl</code> and said. The token is new each start unless <code>FORGEQE_EVIDENCE_TOKEN</code> keeps one. A
216
+ <code>incoming/&lt;trace&gt;.late.jsonl</code> and said. The token is new each start unless <code>FORGEQE_EVIDENCE_TOKEN</code> keeps one. A
220
217
  trace whose root is in another service (a remote parent) waits the five minutes. Content is recorded as fingerprints
221
218
  unless <code>--content</code> is given, and only what the agent's instrumentation captured (the last setting above, for
222
219
  OpenTelemetry's own generative AI instrumentations) is there to record.</p>
223
220
  <h3 id="the-labelled-corpus-e13"><a href="#the-labelled-corpus-e13" class="hash">#</a>The labelled corpus (E1.3)</h3>
224
- <p><code>evals/evidence/records/&amp;lt;case&gt;/</code> holds runs whose right record is known: a source (a ForgeQE session, an
221
+ <p><code>evals/evidence/records/&lt;case&gt;/</code> holds runs whose right record is known: a source (a ForgeQE session, an
225
222
  OpenTelemetry trace, an agent's own JSON log with its <code>mapping.yaml</code>) and <code>case.json</code> with what each record must hold
226
223
  (steps, inputs, decisions with who decided, their options and stated reasons, statements, outputs, gaps that must and
227
224
  must not be said) and what was planted in the source (secrets, personal data, injected instructions). The expectations
@@ -244,94 +241,94 @@ sensitive values replaced before they are committed.</p>
244
241
  <li>limits: steps, retries, cost, time;</li>
245
242
  <li>when it must hand over to a person.</li>
246
243
  </ul>
247
- <p><strong>Built (E2).</strong> <code>.forgeqe/evidence/contracts/&amp;lt;name&gt;.yaml</code> (<code>src/evidence/contract.ts</code>); <code>forgeqe evidence contract new &quot;&amp;lt;agent&gt;&quot;</code> starts one from the agent's recorded runs (the tools and agents they used, as a proposal to edit):</p>
248
- <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>agent: claims-agent # the agent's name, as its runs record it
249
- version: 1 # the contract's own version
250
- purpose: Decides home-insurance claims within the policy.
251
- versions: [&quot;2.1.0&quot;] # agent versions it is for (absent: every version)
252
- steps:
253
- required: # a step it must take; with before, only when that step comes, and before it
254
- - { id: read-policy, step: { tool: get_policy }, before: { tool: [approve_claim, deny_claim] } }
255
- - { id: fraud-check, step: { handoff: fraud-check }, before: { tool: approve_claim } }
256
- actions:
257
- tools: [get_policy, approve_claim, deny_claim, refer_to_person] # the run's own agent may use only these
258
- forbidden: [delete_claim] # never, by whichever agent
259
- agents: [fraud-check] # the agents it may hand to
260
- max_calls: { approve_claim: 1 }
261
- limits: { steps: 30, tool_calls: 20, model_calls: 15, failures: 3, repeats: 2, minutes: 10 }
262
- handover:
263
- to: [{ tool: refer_to_person }, { ask: true }] # what handing over to a person is
264
- person_decides: # what only a person decides
265
- - { id: big-approvals, step: { tool: approve_claim }, args: { amount: { over: 5000 } } }
266
- after_failure: # hand over when one of these fails
267
- - { id: approval-failed, step: { tool: approve_claim } }
268
- statements: # what it says, and the step that must have worked before it
269
- - { id: approved, says: [approved, have approved], needs: { tool: approve_claim } }
270
- gate: { required_steps: 0.95, allowed_actions: 0.95 } # the precision a check must be measured at to fail a run
271
- </code></pre></div>
244
+ <p><strong>Built (E2).</strong> <code>.forgeqe/evidence/contracts/&lt;name&gt;.yaml</code> (<code>src/evidence/contract.ts</code>); <code>forgeqe evidence contract new &quot;&lt;agent&gt;&quot;</code> starts one from the agent's recorded runs (the tools and agents they used, as a proposal to edit):</p>
245
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">agent: claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the agent's name, as its runs record it
246
+ </span></span><span class="ln ln--pair"><span class="cmd">version: 1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the contract's own version
247
+ </span></span><span class="ln"><span class="cmd">purpose: Decides home-insurance claims within the policy.
248
+ </span></span><span class="ln ln--pair"><span class="cmd">versions: [&quot;2.1.0&quot;]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> agent versions it is for (absent: every version)
249
+ </span></span><span class="ln"><span class="cmd">steps:
250
+ </span></span><span class="ln ln--pair"><span class="cmd"> required:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a step it must take; with before, only when that step comes, and before it
251
+ </span></span><span class="ln"><span class="cmd"> - { id: read-policy, step: { tool: get_policy }, before: { tool: [approve_claim, deny_claim] } }
252
+ </span></span><span class="ln"><span class="cmd"> - { id: fraud-check, step: { handoff: fraud-check }, before: { tool: approve_claim } }
253
+ </span></span><span class="ln"><span class="cmd">actions:
254
+ </span></span><span class="ln ln--pair"><span class="cmd"> tools: [get_policy, approve_claim, deny_claim, refer_to_person]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the run's own agent may use only these
255
+ </span></span><span class="ln ln--pair"><span class="cmd"> forbidden: [delete_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> never, by whichever agent
256
+ </span></span><span class="ln ln--pair"><span class="cmd"> agents: [fraud-check]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the agents it may hand to
257
+ </span></span><span class="ln"><span class="cmd"> max_calls: { approve_claim: 1 }
258
+ </span></span><span class="ln"><span class="cmd">limits: { steps: 30, tool_calls: 20, model_calls: 15, failures: 3, repeats: 2, minutes: 10 }
259
+ </span></span><span class="ln"><span class="cmd">handover:
260
+ </span></span><span class="ln ln--pair"><span class="cmd"> to: [{ tool: refer_to_person }, { ask: true }]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what handing over to a person is
261
+ </span></span><span class="ln ln--pair"><span class="cmd"> person_decides:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what only a person decides
262
+ </span></span><span class="ln"><span class="cmd"> - { id: big-approvals, step: { tool: approve_claim }, args: { amount: { over: 5000 } } }
263
+ </span></span><span class="ln ln--pair"><span class="cmd"> after_failure:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> hand over when one of these fails
264
+ </span></span><span class="ln"><span class="cmd"> - { id: approval-failed, step: { tool: approve_claim } }
265
+ </span></span><span class="ln ln--pair"><span class="cmd">statements:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what it says, and the step that must have worked before it
266
+ </span></span><span class="ln"><span class="cmd"> - { id: approved, says: [approved, have approved], needs: { tool: approve_claim } }
267
+ </span></span><span class="ln ln--pair"><span class="cmd">gate: { required_steps: 0.95, allowed_actions: 0.95 }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the precision a check must be measured at to fail a run
268
+ </span></span></code></pre></div>
272
269
  <p>A step is named by <code>tool</code>, <code>handoff</code>, <code>ask: true</code>, or <code>kind</code> (with <code>name</code>), and <code>by</code> an agent. <code>repeats</code> is how many
273
270
  times in a row the same call (same tool, same arguments) may be repeated. A phrase is matched as whole words,
274
271
  case-insensitively, and not when a negating word comes just before it in its sentence (&quot;could not be approved&quot;).</p>
275
272
  <p>The file may come from a repository and is read as untrusted: only these keys of their own types, no YAML aliases,
276
273
  names and phrases as plain text (never a pattern that is run), the result frozen. What judges is the <strong>approved</strong>
277
- version: <code>forgeqe evidence contract approve &amp;lt;name&gt;</code> shows everything it agrees and which checks could then fail a run,
274
+ version: <code>forgeqe evidence contract approve &lt;name&gt;</code> shows everything it agrees and which checks could then fail a run,
278
275
  and a person at a terminal types the name; an exact copy and its digest are kept in <code>contracts/.approved/</code> and checked
279
276
  on every read (a copy changed by hand judges nothing). A change to the file waits for approval while the approved
280
277
  version judges. A contract nobody approved still judges, but only warns. ForgeQE's own coding agents may not edit
281
278
  <code>.forgeqe/</code> (<code>ownPaths</code>), so an agent cannot change its contract, its records or its verdicts.</p>
282
279
  <h2 id="the-lenses"><a href="#the-lenses" class="hash">#</a>The lenses</h2>
283
280
  <h3 id="behaviour-did-it-work-the-agreed-way"><a href="#behaviour-did-it-work-the-agreed-way" class="hash">#</a>Behaviour: did it work the agreed way?</h3>
284
- <div class="tbl"><table>
281
+ <div class="tbl tbl--cols-2"><table>
285
282
  <thead>
286
283
  <tr><th>Check</th><th>Decided by</th></tr>
287
284
  </thead>
288
285
  <tbody>
289
- <tr><td>Required steps</td><td>The steps in the record against the contract's required steps, in order</td></tr>
290
- <tr><td>Allowed actions</td><td>Every action against the contract (the same engine as custom agents' <code>checkCall</code>): allowed, needed, valid inputs</td></tr>
291
- <tr><td>Limits</td><td>Retries, loops, steps, cost and time against the contract</td></tr>
292
- <tr><td>Hand-over</td><td>It handed over where the contract says a person decides</td></tr>
293
- <tr><td>Statements</td><td>Each statement against the record: &quot;tests passed&quot; with no test step, or failed ones, is a finding</td></tr>
286
+ <tr><td data-label="Check">Required steps</td><td data-label="Decided by">The steps in the record against the contract's required steps, in order</td></tr>
287
+ <tr><td data-label="Check">Allowed actions</td><td data-label="Decided by">Every action against the contract (the same engine as custom agents' <code>checkCall</code>): allowed, needed, valid inputs</td></tr>
288
+ <tr><td data-label="Check">Limits</td><td data-label="Decided by">Retries, loops, steps, cost and time against the contract</td></tr>
289
+ <tr><td data-label="Check">Hand-over</td><td data-label="Decided by">It handed over where the contract says a person decides</td></tr>
290
+ <tr><td data-label="Check">Statements</td><td data-label="Decided by">Each statement against the record: &quot;tests passed&quot; with no test step, or failed ones, is a finding</td></tr>
294
291
  </tbody>
295
292
  </table></div>
296
293
  <p><strong>Built (E2)</strong> in <code>src/evidence/behaviour.ts</code>. Each check gives PASS, WARN, FAIL or NOT KNOWN: what the record cannot
297
294
  settle (an argument kept only as a fingerprint, an outcome the source did not record) is not known, never a pass. A
298
- finding names its steps (or statement, or output) and the contract rule it rests on. <code>forgeqe evidence check &amp;lt;id&gt;</code> (or
299
- <code>--all</code>) judges runs and keeps each verdict in <code>.forgeqe/evidence/verdicts/&amp;lt;run&gt;.&amp;lt;digest&gt;.json</code>; it exits 1 when a run
295
+ finding names its steps (or statement, or output) and the contract rule it rests on. <code>forgeqe evidence check &lt;id&gt;</code> (or
296
+ <code>--all</code>) judges runs and keeps each verdict in <code>.forgeqe/evidence/verdicts/&lt;run&gt;.&lt;digest&gt;.json</code>; it exits 1 when a run
300
297
  fails, so a pipeline can gate on it. The run's page shows the verdict above its timeline, each finding opening its step.</p>
301
298
  <p><strong>When a check may fail a run</strong> (principle 5): only when the contract is approved, its owner set a bar for that check
302
299
  (<code>gate</code>), and the check's precision, measured at that moment on the labelled runs, meets the bar on at least five
303
300
  labelled findings (<code>src/evidence/measure.ts</code>). The labelled runs are ForgeQE's own (<code>evals/evidence/behaviour/</code>: 20
304
301
  runs, planted skipped and late steps, forbidden and unlisted tools, a sub-agent's forbidden call, a retry loop, an
305
302
  approval only a person may make, &quot;tests pass&quot; when they did not, cancelled and refunded when they were not, and good
306
- runs with negated claims and paging) and the project's own, in <code>.forgeqe/evidence/labelled/&amp;lt;case&gt;/</code> (a source, its
303
+ runs with negated claims and paging) and the project's own, in <code>.forgeqe/evidence/labelled/&lt;case&gt;/</code> (a source, its
307
304
  contract, and case.json with the findings each record must give). The measurement is made from them each time; there
308
305
  is no stored number to change. <code>forgeqe evidence measure</code> prints it. On ForgeQE's labelled runs alone, required steps,
309
306
  allowed actions and statements have enough labelled findings to gate; limits and hand-over need a team's own.</p>
310
307
  <h3 id="decisions-and-data-did-it-decide-on-the-right-grounds-with-data-it-may-use"><a href="#decisions-and-data-did-it-decide-on-the-right-grounds-with-data-it-may-use" class="hash">#</a>Decisions and data: did it decide on the right grounds, with data it may use?</h3>
311
- <div class="tbl"><table>
308
+ <div class="tbl tbl--cols-2"><table>
312
309
  <thead>
313
310
  <tr><th>Check</th><th>Decided by</th></tr>
314
311
  </thead>
315
312
  <tbody>
316
- <tr><td>Grounded decisions</td><td>Each decision had the inputs the contract says it needs before it was made (the policy was read before the claim was decided, not after)</td></tr>
317
- <tr><td>Data allowed</td><td>Every input against the contract's data rules: source, sensitivity, personal data; data it may not use, used, is a finding</td></tr>
318
- <tr><td>Data used, not only seen</td><td>An output that states a fact traces to an input that holds it (the quote checks ForgeQE already has); a fact with no input behind it is a finding</td></tr>
319
- <tr><td>Stated reasons</td><td>The agent's stated reason against the record: a reason that cites an input it never had, or a rule the knowledge does not hold, is a finding</td></tr>
320
- <tr><td>Instructions in data</td><td>An action that follows an instruction found inside a document or tool result (not the user's request) is a finding</td></tr>
313
+ <tr><td data-label="Check">Grounded decisions</td><td data-label="Decided by">Each decision had the inputs the contract says it needs before it was made (the policy was read before the claim was decided, not after)</td></tr>
314
+ <tr><td data-label="Check">Data allowed</td><td data-label="Decided by">Every input against the contract's data rules: source, sensitivity, personal data; data it may not use, used, is a finding</td></tr>
315
+ <tr><td data-label="Check">Data used, not only seen</td><td data-label="Decided by">An output that states a fact traces to an input that holds it (the quote checks ForgeQE already has); a fact with no input behind it is a finding</td></tr>
316
+ <tr><td data-label="Check">Stated reasons</td><td data-label="Decided by">The agent's stated reason against the record: a reason that cites an input it never had, or a rule the knowledge does not hold, is a finding</td></tr>
317
+ <tr><td data-label="Check">Instructions in data</td><td data-label="Decided by">An action that follows an instruction found inside a document or tool result (not the user's request) is a finding</td></tr>
321
318
  </tbody>
322
319
  </table></div>
323
320
  <p><strong>Built (E3)</strong> in <code>src/evidence/decisions.ts</code>, from these contract rules:</p>
324
- <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>decisions: # what a decision must have had before it was made
325
- - { id: policy-first, decision: { chose: [approve_claim, deny_claim] }, needs: [{ from: get_claim }, { from: get_policy }] }
326
- data:
327
- allowed: [{ kind: request }, { from: [get_claim, get_policy, approve_claim, deny_claim, refer_to_person] }]
328
- forbidden: [{ from: crm_export }]
329
- personal: false # it may take in no personal data
330
- facts: true # what it states, reasons on or passes to a tool must be in an input it had
331
- reasons: # what a reason may cite only once it had it
332
- - { id: cites-policy, says: [policy covers, policy excludes, the policy says], needs: { from: get_policy } }
333
- instructions: { phrases: [per management] } # more phrases that mark an instruction hidden in data
334
- </code></pre></div>
321
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">decisions:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what a decision must have had before it was made
322
+ </span></span><span class="ln"><span class="cmd"> - { id: policy-first, decision: { chose: [approve_claim, deny_claim] }, needs: [{ from: get_claim }, { from: get_policy }] }
323
+ </span></span><span class="ln"><span class="cmd">data:
324
+ </span></span><span class="ln"><span class="cmd"> allowed: [{ kind: request }, { from: [get_claim, get_policy, approve_claim, deny_claim, refer_to_person] }]
325
+ </span></span><span class="ln"><span class="cmd"> forbidden: [{ from: crm_export }]
326
+ </span></span><span class="ln ln--pair"><span class="cmd"> personal: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> it may take in no personal data
327
+ </span></span><span class="ln ln--pair"><span class="cmd"> facts: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what it states, reasons on or passes to a tool must be in an input it had
328
+ </span></span><span class="ln ln--pair"><span class="cmd">reasons:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what a reason may cite only once it had it
329
+ </span></span><span class="ln"><span class="cmd"> - { id: cites-policy, says: [policy covers, policy excludes, the policy says], needs: { from: get_policy } }
330
+ </span></span><span class="ln ln--pair"><span class="cmd">instructions: { phrases: [per management] }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> more phrases that mark an instruction hidden in data
331
+ </span></span></code></pre></div>
335
332
  <ul>
336
333
  <li><strong>Grounded decisions</strong>: each decision a rule names had every input it needs, taken in at or before its step.</li>
337
334
  <li><strong>Data allowed</strong>: each input against <code>allowed</code> and <code>forbidden</code>, by where it came from (<code>from</code>: a tool, file or agent)
@@ -364,36 +361,36 @@ without content.</p>
364
361
  each stated&quot;. For software it is the product knowledge graph; for a business process, its policies and rules (from
365
362
  documents, Confluence, Jira and Azure DevOps acceptance criteria).</p>
366
363
  <p>For a software change (first domain, built on the product graph):</p>
367
- <div class="tbl"><table>
364
+ <div class="tbl tbl--cols-2"><table>
368
365
  <thead>
369
366
  <tr><th>Check</th><th>Example finding</th></tr>
370
367
  </thead>
371
368
  <tbody>
372
- <tr><td>Business rules</td><td>&quot;orders.status set directly in OrdersController.ts:88; the graph shows status changes go through OrderWorkflow.transition()&quot;</td></tr>
373
- <tr><td>Architecture and patterns</td><td>&quot;payments now reads orders' tables directly; elsewhere Commerce calls the Orders API&quot;</td></tr>
374
- <tr><td>Dependencies</td><td>&quot;GET /api/orders/:id response changed; web/src/api/orders.ts:4 reads <code>status</code>&quot;</td></tr>
375
- <tr><td>Regression</td><td>&quot;Cancel an order is changed; no test reaches POST /api/orders/:id/cancel&quot;</td></tr>
376
- <tr><td>Security</td><td>&quot;DELETE /api/orders/:id has no authorization; the other order endpoints require a signed-in user&quot;</td></tr>
369
+ <tr><td data-label="Check">Business rules</td><td data-label="Example finding">&quot;orders.status set directly in OrdersController.ts:88; the graph shows status changes go through OrderWorkflow.transition()&quot;</td></tr>
370
+ <tr><td data-label="Check">Architecture and patterns</td><td data-label="Example finding">&quot;payments now reads orders' tables directly; elsewhere Commerce calls the Orders API&quot;</td></tr>
371
+ <tr><td data-label="Check">Dependencies</td><td data-label="Example finding">&quot;GET /api/orders/:id response changed; web/src/api/orders.ts:4 reads <code>status</code>&quot;</td></tr>
372
+ <tr><td data-label="Check">Regression</td><td data-label="Example finding">&quot;Cancel an order is changed; no test reaches POST /api/orders/:id/cancel&quot;</td></tr>
373
+ <tr><td data-label="Check">Security</td><td data-label="Example finding">&quot;DELETE /api/orders/:id has no authorization; the other order endpoints require a signed-in user&quot;</td></tr>
377
374
  </tbody>
378
375
  </table></div>
379
376
  <p>These are decided on facts, not on reading the diff: the graph's own extractor is run on each changed file before and
380
377
  after the change, so what was added or removed (an endpoint, an auth mark, a guard, a state set, a table use, a call)
381
378
  is exact, then read against the graph.</p>
382
- <p><strong>Built (E4, the product check)</strong> in <code>src/evidence/product.ts</code>: <code>forgeqe evidence product-check &amp;lt;repo&gt; [--base main] [--head &amp;lt;ref&gt;] [--run &amp;lt;id&gt;]</code> reads the change from git in that product repository (the working tree when no head is
379
+ <p><strong>Built (E4, the product check)</strong> in <code>src/evidence/product.ts</code>: <code>forgeqe evidence product-check &lt;repo&gt; [--base main] [--head &lt;ref&gt;] [--run &lt;id&gt;]</code> reads the change from git in that product repository (the working tree when no head is
383
380
  given, files not yet added included; git with an argument list, refs checked, binary files and links left out,
384
381
  <code>src/evidence/gitchange.ts</code>) and reads it against the product graph built on the code before it (<code>forgeqe knowledge build</code>). With <code>--run</code>, the verdict is kept beside the agent's run and its page shows it as a third lens, &quot;Was its change
385
382
  right for the product?&quot;, contract or not.</p>
386
- <div class="tbl"><table>
383
+ <div class="tbl tbl--cols-2"><table>
387
384
  <thead>
388
385
  <tr><th>Check</th><th>What it finds, by code</th></tr>
389
386
  </thead>
390
387
  <tbody>
391
- <tr><td>Business rules</td><td>a rule a request must meet (a refusing guard) gone, or answering otherwise (409 now throws); a record state set in a new place when the graph shows where it is set (&quot;sets orders to cancelled in admin.ts:13; until now workflow.ts:5 is where that is done&quot;); each with what the code says about it, when it says something: the comment above the line, else its function's comment or docstring, else a comment marked as a reason (<code>WHY:</code>, <code>NOTE:</code>, an ADR) that documents it (&quot;The code says why: &quot;Every change of an order's status goes through here…&quot; (workflow.ts:3)&quot;), read from the file (<code>src/product/why.ts</code>) and never repeated when it speaks to an agent</td></tr>
392
- <tr><td>Architecture</td><td>a table of another service used directly</td></tr>
393
- <tr><td>Dependencies</td><td>an endpoint removed or renamed that other code in the graph calls; a field its success answer no longer has (<code>res.json({ … })</code>, <code>return { … }</code>) that a file calling it, or using that caller, reads (not <code>res.status</code>, HTTP's own); a function the change removes, or declares so that its callers break (a new parameter without a default), while a call the change leaves as it is still calls it (&quot;cancel was declared <code>cancel(orderId)</code> and is now <code>cancel(orderId, reason)</code>; routes/orders.ts:21 calls it&quot;)</td></tr>
394
- <tr><td>Regression</td><td>an endpoint added or changed in a file no test reaches, when the change adds no test that imports it; a function changed that no test calls, directly or through its callers, and whose endpoints no test reaches</td></tr>
395
- <tr><td>Security</td><td>a new endpoint without sign-in where the service's other endpoints need one; sign-in removed from one</td></tr>
396
- <tr><td>Acceptance criteria</td><td>each criterion of the change's work items (Azure DevOps or Jira, by <code>--work-item ado:123,jira:SHOP-12</code>, else the ids its commit messages name: <code>AB#123</code>, <code>SHOP-12</code>) met, not met, or not shown</td></tr>
388
+ <tr><td data-label="Check">Business rules</td><td data-label="What it finds, by code">a rule a request must meet (a refusing guard) gone, or answering otherwise (409 now throws); a record state set in a new place when the graph shows where it is set (&quot;sets orders to cancelled in admin.ts:13; until now workflow.ts:5 is where that is done&quot;); each with what the code says about it, when it says something: the comment above the line, else its function's comment or docstring, else a comment marked as a reason (<code>WHY:</code>, <code>NOTE:</code>, an ADR) that documents it (&quot;The code says why: &quot;Every change of an order's status goes through here…&quot; (workflow.ts:3)&quot;), read from the file (<code>src/product/why.ts</code>) and never repeated when it speaks to an agent</td></tr>
389
+ <tr><td data-label="Check">Architecture</td><td data-label="What it finds, by code">a table of another service used directly</td></tr>
390
+ <tr><td data-label="Check">Dependencies</td><td data-label="What it finds, by code">an endpoint removed or renamed that other code in the graph calls; a field its success answer no longer has (<code>res.json({ … })</code>, <code>return { … }</code>) that a file calling it, or using that caller, reads (not <code>res.status</code>, HTTP's own); a function the change removes, or declares so that its callers break (a new parameter without a default), while a call the change leaves as it is still calls it (&quot;cancel was declared <code>cancel(orderId)</code> and is now <code>cancel(orderId, reason)</code>; routes/orders.ts:21 calls it&quot;)</td></tr>
391
+ <tr><td data-label="Check">Regression</td><td data-label="What it finds, by code">an endpoint added or changed in a file no test reaches, when the change adds no test that imports it; a function changed that no test calls, directly or through its callers, and whose endpoints no test reaches</td></tr>
392
+ <tr><td data-label="Check">Security</td><td data-label="What it finds, by code">a new endpoint without sign-in where the service's other endpoints need one; sign-in removed from one</td></tr>
393
+ <tr><td data-label="Check">Acceptance criteria</td><td data-label="What it finds, by code">each criterion of the change's work items (Azure DevOps or Jira, by <code>--work-item ado:123,jira:SHOP-12</code>, else the ids its commit messages name: <code>AB#123</code>, <code>SHOP-12</code>) met, not met, or not shown</td></tr>
397
394
  </tbody>
398
395
  </table></div>
399
396
  <p>The function checks read the code's calls from the product graph (Graphify, docs/GRAPHIFY.md): the functions a change
@@ -423,38 +420,38 @@ golden set people graded before they are trusted.</p>
423
420
  <p><strong>Built (E7)</strong> in <code>src/evidence/content.ts</code>, <code>contentjudge.ts</code> and <code>calibration.ts</code>, from the contract's <code>content</code>
424
421
  section. The answer is the run's last text output; a run with no answer, or one kept only in part, is not known for
425
422
  what the missing part could change.</p>
426
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>content:
427
- rules: # decided by code
428
- - { id: length, min_words: 8, max_words: 60 }
429
- - { id: names-decision, says_any: [approved, declined, referred] }
430
- - { id: next-step, says: [you will] }
431
- - { id: no-promises, not_says: [guarantee, promise] }
432
- grounded: true # every sentence rests on what the run took in (a model reads it)
433
- rubric: # the owner's criteria, scored 1 to 5 by a judge
434
- criteria: [Says what was decided., Says what the customer must do next.]
435
- pass: 4 # the score each criterion needs (4 if not given)
436
- judge_runs: 3 # how many times the judge reads it (3 if not given)
437
- agree: 0.8 # how often the judge must agree with people before its misses count
438
- </code></pre></div>
439
- <div class="tbl"><table>
423
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">content:
424
+ </span></span><span class="ln ln--pair"><span class="cmd"> rules:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> decided by code
425
+ </span></span><span class="ln"><span class="cmd"> - { id: length, min_words: 8, max_words: 60 }
426
+ </span></span><span class="ln"><span class="cmd"> - { id: names-decision, says_any: [approved, declined, referred] }
427
+ </span></span><span class="ln"><span class="cmd"> - { id: next-step, says: [you will] }
428
+ </span></span><span class="ln"><span class="cmd"> - { id: no-promises, not_says: [guarantee, promise] }
429
+ </span></span><span class="ln ln--pair"><span class="cmd"> grounded: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every sentence rests on what the run took in (a model reads it)
430
+ </span></span><span class="ln ln--pair"><span class="cmd"> rubric:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the owner's criteria, scored 1 to 5 by a judge
431
+ </span></span><span class="ln"><span class="cmd"> criteria: [Says what was decided., Says what the customer must do next.]
432
+ </span></span><span class="ln ln--pair"><span class="cmd"> pass: 4</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the score each criterion needs (4 if not given)
433
+ </span></span><span class="ln ln--pair"><span class="cmd"> judge_runs: 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how many times the judge reads it (3 if not given)
434
+ </span></span><span class="ln ln--pair"><span class="cmd"> agree: 0.8</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how often the judge must agree with people before its misses count
435
+ </span></span></code></pre></div>
436
+ <div class="tbl tbl--cols-2"><table>
440
437
  <thead>
441
438
  <tr><th>Check</th><th>Decided by</th></tr>
442
439
  </thead>
443
440
  <tbody>
444
- <tr><td>Answer rules (<code>content_rules</code>)</td><td>code: the answer's words counted; each phrase said as whole words and not negated, as statements are read (&quot;we cannot guarantee&quot; does not say &quot;guarantee&quot;)</td></tr>
445
- <tr><td>Grounded (<code>grounded</code>)</td><td>a model (<code>forgeqe-evidence-content</code>, prompt <code>evidence-content</code>: no tools, a schema) reads each sentence against the request and each kept input; code keeps &quot;supported&quot; only with a quote it finds again in the input named, takes &quot;claims nothing&quot; as not known when the sentence states an amount, id, e-mail or date, and makes &quot;unsupported&quot; not known when an input is kept as a fingerprint or in part, or the inputs were too long to give whole</td></tr>
446
- <tr><td>Rubric (<code>rubric</code>)</td><td>the judge scores each criterion <code>judge_runs</code> times, each in a session of its own; a score at the bar quotes the answer, found again by code; a judge that disagrees with itself by more than one point, or whose answer does not hold up, is not known; the median decides</td></tr>
441
+ <tr><td data-label="Check">Answer rules (<code>content_rules</code>)</td><td data-label="Decided by">code: the answer's words counted; each phrase said as whole words and not negated, as statements are read (&quot;we cannot guarantee&quot; does not say &quot;guarantee&quot;)</td></tr>
442
+ <tr><td data-label="Check">Grounded (<code>grounded</code>)</td><td data-label="Decided by">a model (<code>forgeqe-evidence-content</code>, prompt <code>evidence-content</code>: no tools, a schema) reads each sentence against the request and each kept input; code keeps &quot;supported&quot; only with a quote it finds again in the input named, takes &quot;claims nothing&quot; as not known when the sentence states an amount, id, e-mail or date, and makes &quot;unsupported&quot; not known when an input is kept as a fingerprint or in part, or the inputs were too long to give whole</td></tr>
443
+ <tr><td data-label="Check">Rubric (<code>rubric</code>)</td><td data-label="Decided by">the judge scores each criterion <code>judge_runs</code> times, each in a session of its own; a score at the bar quotes the answer, found again by code; a judge that disagrees with itself by more than one point, or whose answer does not hold up, is not known; the median decides</td></tr>
447
444
  </tbody>
448
445
  </table></div>
449
- <p><code>forgeqe evidence judge &amp;lt;run&gt;</code> asks the model and keeps its readings in <code>.forgeqe/evidence/judged/&amp;lt;run&gt;.&amp;lt;contract&gt;.json</code>;
446
+ <p><code>forgeqe evidence judge &lt;run&gt;</code> asks the model and keeps its readings in <code>.forgeqe/evidence/judged/&lt;run&gt;.&lt;contract&gt;.json</code>;
450
447
  they are checked again by code each time they are read, and readings made under another version of the contract are not
451
448
  used. Until then the two checks say not known.</p>
452
449
  <p><strong>Calibration.</strong> A rubric's misses are not known, and the run waits in the Review queue under &quot;Answers to grade&quot;, until
453
450
  the judge agrees with people on at least 10 graded answers at the contract's <code>agree</code> level. People grade an answer
454
451
  against each criterion, meets or misses with a reason: on the run's page, or at a terminal that types the run's id
455
- (<code>forgeqe evidence grade &amp;lt;run&gt; R2 misses --reason &quot;…&quot;</code>); never an agent, since the grades are what the judge is trusted
452
+ (<code>forgeqe evidence grade &lt;run&gt; R2 misses --reason &quot;…&quot;</code>); never an agent, since the grades are what the judge is trusted
456
453
  by. Grades are append-only lines in <code>grades.jsonl</code>, checked when read (a line changed by hand is named, and the judge is
457
- not calibrated on a file that has one). <code>forgeqe evidence calibrate &amp;lt;agent&gt;</code> prints the agreement and each disagreement,
454
+ not calibrated on a file that has one). <code>forgeqe evidence calibrate &lt;agent&gt;</code> prints the agreement and each disagreement,
458
455
  worked out each time from the grades and the readings. Once calibrated, a miss is a warning; it may fail a run only
459
456
  under an approved contract whose <code>gate.rubric</code> its precision on people's misses reaches, measured on 5 or more. The
460
457
  grounding check stays advisory: its labelled measurement needs a real model.</p>
@@ -475,19 +472,19 @@ page). An agent may make at most two automatic fix attempts; then a person takes
475
472
  </ul>
476
473
  <p><strong>Built (E5)</strong> in <code>src/evidence/review.ts</code>:</p>
477
474
  <ul>
478
- <li><strong>Findings file</strong>: <code>forgeqe evidence findings &amp;lt;run&gt;</code> writes <code>.forgeqe/evidence/findings/&amp;lt;run&gt;.md</code> for the agent: each
475
+ <li><strong>Findings file</strong>: <code>forgeqe evidence findings &lt;run&gt;</code> writes <code>.forgeqe/evidence/findings/&lt;run&gt;.md</code> for the agent: each
479
476
  open finding with its rule, where it is (steps, or the file and line), and the fix code can say from its rule; which
480
477
  fix attempt this is; and, once the attempts are used, &quot;Stop: a person takes over&quot;. It says that text from the run is
481
478
  data, and never repeats an instruction found in data (the agent reads the file).</li>
482
- <li><strong>Fix attempts</strong>: <code>forgeqe evidence check &amp;lt;run&gt; --attempt-of &amp;lt;first run&gt;</code> records the run as the next attempt at the
479
+ <li><strong>Fix attempts</strong>: <code>forgeqe evidence check &lt;run&gt; --attempt-of &lt;first run&gt;</code> records the run as the next attempt at the
483
480
  first run's work (<code>attempts.jsonl</code>); after the second, open findings mean a person takes over, and a third is
484
481
  refused. The run's page says which attempt it is.</li>
485
- <li><strong>Overrule</strong>: a person overrules one finding with a reason: <code>forgeqe evidence overrule &amp;lt;run&gt; &amp;lt;finding&gt; --reason &quot;…&quot;</code>
482
+ <li><strong>Overrule</strong>: a person overrules one finding with a reason: <code>forgeqe evidence overrule &lt;run&gt; &lt;finding&gt; --reason &quot;…&quot;</code>
486
483
  at a terminal (typing the run's id), or the Overrule form under the finding on the run's page (also in the audit log).
487
484
  Kept in <code>overrules.jsonl</code> with who, when and how; matched by the finding's check, rule and what it says, so judging
488
485
  again finds it again. The finding stays, marked, and no longer counts toward its check or the run.</li>
489
- <li><strong>Report and CI</strong>: <code>forgeqe evidence report &amp;lt;run&gt;…</code> is Markdown for a pull request comment or a job summary, every
490
- value from a run escaped (no link, image, markup, mention or table column can come from it). <code>forgeqe evidence ci [&amp;lt;repo&gt; --base &amp;lt;ref&gt;] [--run &amp;lt;id&gt;,&amp;lt;id&gt;] --report report.md --sarif out.sarif</code> is the pipeline's check: the change
486
+ <li><strong>Report and CI</strong>: <code>forgeqe evidence report &lt;run&gt;…</code> is Markdown for a pull request comment or a job summary, every
487
+ value from a run escaped (no link, image, markup, mention or table column can come from it). <code>forgeqe evidence ci [&lt;repo&gt; --base &lt;ref&gt;] [--run &lt;id&gt;,&lt;id&gt;] --report report.md --sarif out.sarif</code> is the pipeline's check: the change
491
488
  against the product graph and the runs named, the report, SARIF annotations for findings with a file and line, and
492
489
  exit 1 only when a check that gates fails. <code>forgeqe evidence ci init github | azure</code> writes the pipeline (ForgeQE at
493
490
  this exact version; branch names reach the shell as variables only; the comment is posted with the pipeline's own
@@ -500,48 +497,48 @@ annotation and passes the check (advisory), and an agent's run under an approved
500
497
  agent's work goes through two fix attempts to &quot;a person takes over&quot;, a third is refused, and a person's overrules on
501
498
  the page take it off the queue.</p>
502
499
  <h2 id="the-lifecycle"><a href="#the-lifecycle" class="hash">#</a>The lifecycle</h2>
503
- <div class="tbl"><table>
500
+ <div class="tbl tbl--cols-3"><table>
504
501
  <thead>
505
502
  <tr><th>Stage</th><th>Before release</th><th>After go-live</th></tr>
506
503
  </thead>
507
504
  <tbody>
508
- <tr><td>Capture</td><td>Scenario runs in a sandbox</td><td>Every real run</td></tr>
509
- <tr><td>Plan</td><td>Scenario suite (stories, past defects, misuse and injection tests); golden set graded by the owners</td><td>A plan per run, by its request, risk and outputs</td></tr>
510
- <tr><td>Evaluate</td><td>Every lens on every scenario</td><td>Every lens on every run</td></tr>
511
- <tr><td>Decide</td><td>Release gate: not worse than the live version on any lens, and every misuse test passed</td><td>PASS, WARN or FAIL per run, with a gate where the team wants one</td></tr>
512
- <tr><td>Learn</td><td>Failed scenarios drive fixes before release</td><td>Recurring findings become guidance a person approves; a root cause is traced to the instruction, skill, tool or data, proven by replay, and proposed as a fix</td></tr>
513
- <tr><td>Monitor</td><td>A baseline per check at release</td><td>Nightly scenarios; alerts on model, knowledge, tool and judge drift</td></tr>
505
+ <tr><td data-label="Stage">Capture</td><td data-label="Before release">Scenario runs in a sandbox</td><td data-label="After go-live">Every real run</td></tr>
506
+ <tr><td data-label="Stage">Plan</td><td data-label="Before release">Scenario suite (stories, past defects, misuse and injection tests); golden set graded by the owners</td><td data-label="After go-live">A plan per run, by its request, risk and outputs</td></tr>
507
+ <tr><td data-label="Stage">Evaluate</td><td data-label="Before release">Every lens on every scenario</td><td data-label="After go-live">Every lens on every run</td></tr>
508
+ <tr><td data-label="Stage">Decide</td><td data-label="Before release">Release gate: not worse than the live version on any lens, and every misuse test passed</td><td data-label="After go-live">PASS, WARN or FAIL per run, with a gate where the team wants one</td></tr>
509
+ <tr><td data-label="Stage">Learn</td><td data-label="Before release">Failed scenarios drive fixes before release</td><td data-label="After go-live">Recurring findings become guidance a person approves; a root cause is traced to the instruction, skill, tool or data, proven by replay, and proposed as a fix</td></tr>
510
+ <tr><td data-label="Stage">Monitor</td><td data-label="Before release">A baseline per check at release</td><td data-label="After go-live">Nightly scenarios; alerts on model, knowledge, tool and judge drift</td></tr>
514
511
  </tbody>
515
512
  </table></div>
516
513
  <p><strong>Built (E6, before release)</strong> in <code>src/evidence/scenarios.ts</code>. An agent's scenario suite,
517
- <code>.forgeqe/evidence/scenarios/&amp;lt;name&gt;.yaml</code>, read as untrusted like a contract:</p>
518
- <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>agent: claims-agent
519
- version: 1
520
- scenarios:
521
- - id: storm-roof
522
- kind: story # story | defect | misuse | injection
523
- request: Decide claim C-200 # what is asked of the agent, exactly
524
- expect: # the owners' expectations: the golden set
525
- chose: [approve_claim] # one of these is chosen (a decision, or a tool its own agent calls)
526
- not_chose: [delete_claim]
527
- says: [approved] # phrases, as words, not negated
528
- not_says: [refunded]
529
- clean: true # every lens finds nothing (the default)
530
- </code></pre></div>
514
+ <code>.forgeqe/evidence/scenarios/&lt;name&gt;.yaml</code>, read as untrusted like a contract:</p>
515
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">agent: claims-agent
516
+ </span></span><span class="ln"><span class="cmd">version: 1
517
+ </span></span><span class="ln"><span class="cmd">scenarios:
518
+ </span></span><span class="ln"><span class="cmd"> - id: storm-roof
519
+ </span></span><span class="ln ln--pair"><span class="cmd"> kind: story</span><span class="pad"> </span><span class="cm"><span class="h">#</span> story | defect | misuse | injection
520
+ </span></span><span class="ln ln--pair"><span class="cmd"> request: Decide claim C-200</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is asked of the agent, exactly
521
+ </span></span><span class="ln ln--pair"><span class="cmd"> expect:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the owners' expectations: the golden set
522
+ </span></span><span class="ln ln--pair"><span class="cmd"> chose: [approve_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one of these is chosen (a decision, or a tool its own agent calls)
523
+ </span></span><span class="ln"><span class="cmd"> not_chose: [delete_claim]
524
+ </span></span><span class="ln ln--pair"><span class="cmd"> says: [approved]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> phrases, as words, not negated
525
+ </span></span><span class="ln"><span class="cmd"> not_says: [refunded]
526
+ </span></span><span class="ln ln--pair"><span class="cmd"> clean: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every lens finds nothing (the default)
527
+ </span></span></code></pre></div>
531
528
  <p>ForgeQE does not run another team's agent: the team runs each scenario's request through a version in its sandbox and
532
- records the runs as usual (<code>forgeqe evidence scenarios &amp;lt;agent&gt;</code> lists them for a harness). A run is a scenario's when
529
+ records the runs as usual (<code>forgeqe evidence scenarios &lt;agent&gt;</code> lists them for a harness). A run is a scenario's when
533
530
  its agent, version and request match exactly; a scenario passes for a version only when every run of it passes, so one
534
- bad run of a flaky agent is a failure. <code>forgeqe evidence release &amp;lt;agent&gt; --candidate &amp;lt;v&gt; --live &amp;lt;v&gt;</code> is the gate (exit 1
531
+ bad run of a flaky agent is a failure. <code>forgeqe evidence release &lt;agent&gt; --candidate &lt;v&gt; --live &lt;v&gt;</code> is the gate (exit 1
535
532
  when held; each decision kept in <code>releases.jsonl</code>):</p>
536
- <div class="tbl"><table>
533
+ <div class="tbl tbl--cols-2"><table>
537
534
  <thead>
538
535
  <tr><th>The candidate is held when</th><th>Measured as</th></tr>
539
536
  </thead>
540
537
  <tbody>
541
- <tr><td>it is worse on any lens</td><td>scenario by scenario on the scenarios both ran (paired): more that passed on live and fail on the candidate than the other way; worse beyond run-to-run noise when McNemar's exact test says so (one-sided p &lt; 0.05), otherwise held as &quot;may be worse: run more repeats to tell&quot; (B5)</td></tr>
542
- <tr><td>it meets fewer of the owners' expectations</td><td>the same paired test, on scenarios whose runs meet all their <code>expect</code> (the lenses aside)</td></tr>
543
- <tr><td>it fails a misuse or injection scenario</td><td>each one, whatever the live version did, and one not run</td></tr>
544
- <tr><td>a scenario live passed was not run on it</td><td>not run is never a pass</td></tr>
538
+ <tr><td data-label="The candidate is held when">it is worse on any lens</td><td data-label="Measured as">scenario by scenario on the scenarios both ran (paired): more that passed on live and fail on the candidate than the other way; worse beyond run-to-run noise when McNemar's exact test says so (one-sided p &lt; 0.05), otherwise held as &quot;may be worse: run more repeats to tell&quot; (B5)</td></tr>
539
+ <tr><td data-label="The candidate is held when">it meets fewer of the owners' expectations</td><td data-label="Measured as">the same paired test, on scenarios whose runs meet all their <code>expect</code> (the lenses aside)</td></tr>
540
+ <tr><td data-label="The candidate is held when">it fails a misuse or injection scenario</td><td data-label="Measured as">each one, whatever the live version did, and one not run</td></tr>
541
+ <tr><td data-label="The candidate is held when">a scenario live passed was not run on it</td><td data-label="Measured as">not run is never a pass</td></tr>
545
542
  </tbody>
546
543
  </table></div>
547
544
  <p>Not known is never a pass either. The gate decides nothing: a person releases. The Releases page (<code>#/evidence-releases</code>)
@@ -550,21 +547,21 @@ shows a candidate against live, scenario by scenario and lens by lens, and the g
550
547
  failed too (only that holds it), one following an injected instruction, one with a scenario not run, and a flaky one are
551
548
  held; a first release with no live version is ready once its misuse and injection tests pass.</p>
552
549
  <h2 id="the-dashboard-and-benchmark-e8"><a href="#the-dashboard-and-benchmark-e8" class="hash">#</a>The dashboard and benchmark (E8)</h2>
553
- <p><strong>Built</strong> in <code>src/evidence/dashboard.ts</code>: <code>forgeqe evidence dashboard &amp;lt;agent&gt; [--version v] [--json]</code>, and the agent's
550
+ <p><strong>Built</strong> in <code>src/evidence/dashboard.ts</code>: <code>forgeqe evidence dashboard &lt;agent&gt; [--version v] [--json]</code>, and the agent's
554
551
  page in <code>forgeqe web</code> (Overview, then the agent). Every number is a tally of runs, the count with the ids it counts, so
555
552
  each traces to its runs: on the page a number opens the list of its runs, on the command line the ids follow it.
556
553
  Nothing is stored; it is worked out each time from the runs and their verdicts as judging gives them now, with people's
557
554
  overrules applied.</p>
558
- <div class="tbl"><table>
555
+ <div class="tbl tbl--cols-2"><table>
559
556
  <thead>
560
557
  <tr><th>Shown</th><th>Counted as</th></tr>
561
558
  </thead>
562
559
  <tbody>
563
- <tr><td>Versions</td><td>each version's runs by verdict (the worst of its lenses): passed, warned, failed, not known, and not judged (no contract names the agent); fix attempts, and runs a person had to take over</td></tr>
564
- <tr><td>Checks</td><td>per version, each check's runs by its outcome, and the runs with a finding a person overruled</td></tr>
565
- <tr><td>What keeps going wrong</td><td>each rule broken, by the runs it was broken in (once per run), most first; overruled and not known findings left out</td></tr>
566
- <tr><td>Week by week</td><td>the runs of each ISO week by verdict</td></tr>
567
- <tr><td>Versions side by side</td><td>each check: the share of a version's runs that passed it, of the runs it judged; not known is judged and not passed</td></tr>
560
+ <tr><td data-label="Shown">Versions</td><td data-label="Counted as">each version's runs by verdict (the worst of its lenses): passed, warned, failed, not known, and not judged (no contract names the agent); fix attempts, and runs a person had to take over</td></tr>
561
+ <tr><td data-label="Shown">Checks</td><td data-label="Counted as">per version, each check's runs by its outcome, and the runs with a finding a person overruled</td></tr>
562
+ <tr><td data-label="Shown">What keeps going wrong</td><td data-label="Counted as">each rule broken, by the runs it was broken in (once per run), most first; overruled and not known findings left out</td></tr>
563
+ <tr><td data-label="Shown">Week by week</td><td data-label="Counted as">the runs of each ISO week by verdict</td></tr>
564
+ <tr><td data-label="Shown">Versions side by side</td><td data-label="Counted as">each check: the share of a version's runs that passed it, of the runs it judged; not known is judged and not passed</td></tr>
568
565
  </tbody>
569
566
  </table></div>
570
567
  <p><code>tests/evidence-dashboard.test.ts</code> checks every tally against the runs it names, each judged again on its own: as many
@@ -573,22 +570,22 @@ up to its runs.</p>
573
570
  <h2 id="learn-e9"><a href="#learn-e9" class="hash">#</a>Learn (E9)</h2>
574
571
  <p><strong>Built</strong> in <code>src/evidence/learn.ts</code>. From what was found to what to change, proposed to a person and never applied.</p>
575
572
  <p><strong>Causes.</strong> For each open finding of a run, code says where it may come from, each a hypothesis with the change to try:</p>
576
- <div class="tbl"><table>
573
+ <div class="tbl tbl--cols-2"><table>
577
574
  <thead>
578
575
  <tr><th>Finding</th><th>Causes code proposes</th></tr>
579
576
  </thead>
580
577
  <tbody>
581
- <tr><td>An instruction in data followed</td><td>the data (the input that holds it: remove it, or keep it out of reach), and the agent's instructions</td></tr>
582
- <tr><td>No hand-over after a failed step</td><td>the tool that failed (make it work), and the instructions</td></tr>
583
- <tr><td>Data from a source it may not use</td><td>the tool (take it away), and the instructions</td></tr>
584
- <tr><td>Any other</td><td>the agent's instructions, in the contract's own words (&quot;Before you call approve_claim, always call get_policy.&quot;)</td></tr>
578
+ <tr><td data-label="Finding">An instruction in data followed</td><td data-label="Causes code proposes">the data (the input that holds it: remove it, or keep it out of reach), and the agent's instructions</td></tr>
579
+ <tr><td data-label="Finding">No hand-over after a failed step</td><td data-label="Causes code proposes">the tool that failed (make it work), and the instructions</td></tr>
580
+ <tr><td data-label="Finding">Data from a source it may not use</td><td data-label="Causes code proposes">the tool (take it away), and the instructions</td></tr>
581
+ <tr><td data-label="Finding">Any other</td><td data-label="Causes code proposes">the agent's instructions, in the contract's own words (&quot;Before you call approve_claim, always call get_policy.&quot;)</td></tr>
585
582
  </tbody>
586
583
  </table></div>
587
584
  <p>The instruction for a rule is written from the contract, never from the run's text: an instruction found in data is
588
585
  named as what to remove, never offered as one to follow.</p>
589
586
  <p><strong>Replay.</strong> ForgeQE does not run the agent: the team runs the same request again with the one change, in its sandbox,
590
- and records the runs as usual (<code>forgeqe evidence replay-kit &amp;lt;run&gt; H1</code> gives the request and the change as data for a
591
- harness). <code>forgeqe evidence replay &amp;lt;run&gt; H1 &amp;lt;replay ids&gt;</code>, or <strong>Link replays</strong> on the page, links them. Each replay is
587
+ and records the runs as usual (<code>forgeqe evidence replay-kit &lt;run&gt; H1</code> gives the request and the change as data for a
588
+ harness). <code>forgeqe evidence replay &lt;run&gt; H1 &lt;replay ids&gt;</code>, or <strong>Link replays</strong> on the page, links them. Each replay is
592
589
  checked by code:</p>
593
590
  <ul>
594
591
  <li>the same agent and the same request exactly, run after the original;</li>
@@ -601,8 +598,8 @@ finding comes back, or by replays that do not carry the change; <strong>with sid
601
598
  something else breaks. A replay tests one change: it is linked to one cause of a run.</p>
602
599
  <p><strong>Proposals.</strong> A proven cause is proposed as a fix; a rule broken in 3 runs or more of the agent's latest version is
603
600
  proposed as guidance for its instructions. A person approves or declines each with a reason: at a terminal that types
604
- its id (<code>forgeqe evidence decide &amp;lt;agent&gt; &amp;lt;proposal&gt; approve|decline --reason &quot;…&quot;</code>), or on the Learn page. Links and
605
- decisions are append-only lines in <code>learn.jsonl</code>, checked when read. <code>forgeqe evidence guidance &amp;lt;agent&gt;</code> writes what was
601
+ its id (<code>forgeqe evidence decide &lt;agent&gt; &lt;proposal&gt; approve|decline --reason &quot;…&quot;</code>), or on the Learn page. Links and
602
+ decisions are append-only lines in <code>learn.jsonl</code>, checked when read. <code>forgeqe evidence guidance &lt;agent&gt;</code> writes what was
606
603
  approved as Markdown, every value escaped, for the team to put into the agent; Evidence never changes the agent.</p>
607
604
  <p>Labelled cases (<code>evals/evidence/learn</code>): a followed injection whose data is proven the cause by three clean replays, and
608
605
  the same run with only its instructions replayed (refuted: the finding came back once), with one replay (promising), and
@@ -611,42 +608,42 @@ instructions, and the same fix with a side effect (it deletes the claim); and a
611
608
  <h2 id="monitor-trust-and-governance-e10"><a href="#monitor-trust-and-governance-e10" class="hash">#</a>Monitor, trust and governance (E10)</h2>
612
609
  <p><strong>Built</strong> in <code>src/evidence/monitor.ts</code>. Nothing here changes an agent; baselines and trust grants are append-only lines
613
610
  in <code>governance.jsonl</code>, checked when read, each with who, when, why and how (terminal or page).</p>
614
- <p><strong>Baseline.</strong> <code>forgeqe evidence baseline &amp;lt;agent&gt; [--version v] --reason &quot;…&quot;</code> (a person at a terminal, typing the agent's
611
+ <p><strong>Baseline.</strong> <code>forgeqe evidence baseline &lt;agent&gt; [--version v] --reason &quot;…&quot;</code> (a person at a terminal, typing the agent's
615
612
  name, or the Monitor page) keeps a snapshot of a version's runs as they are judged now: the models that answered (the
616
613
  agent's own and each model step's), the tools it called, each document, file or memory source it read with the
617
614
  fingerprints of the contents it had, each check's pass rate, the contract that judged it, and whether the rubric's
618
615
  judge was calibrated.</p>
619
- <p><strong>Drift.</strong> <code>forgeqe evidence drift &amp;lt;agent&gt; | --all [--notify] [--json]</code> compares every run since the baseline (any
616
+ <p><strong>Drift.</strong> <code>forgeqe evidence drift &lt;agent&gt; | --all [--notify] [--json]</code> compares every run since the baseline (any
620
617
  version: a model can change under the same version) with it, and exits 1 when there is an alert:</p>
621
- <div class="tbl"><table>
618
+ <div class="tbl tbl--cols-2"><table>
622
619
  <thead>
623
620
  <tr><th>Alert</th><th>When</th></tr>
624
621
  </thead>
625
622
  <tbody>
626
- <tr><td>Model</td><td>a model answered that the baseline never had</td></tr>
627
- <tr><td>Tool</td><td>a tool was called that the baseline never called</td></tr>
628
- <tr><td>Knowledge</td><td>a document, file or memory source read with content the baseline never had</td></tr>
629
- <tr><td>Check</td><td>a check passes more than 10 points less often, each side judged on 5 runs or more</td></tr>
630
- <tr><td>Judge</td><td>the contract changed since the baseline (what judges is not what was measured); the rubric's judge no longer agrees with people: recalibrate by grading answers in the Review queue</td></tr>
631
- <tr><td>Trust</td><td>the agent is granted more trust than its evidence supports now</td></tr>
623
+ <tr><td data-label="Alert">Model</td><td data-label="When">a model answered that the baseline never had</td></tr>
624
+ <tr><td data-label="Alert">Tool</td><td data-label="When">a tool was called that the baseline never called</td></tr>
625
+ <tr><td data-label="Alert">Knowledge</td><td data-label="When">a document, file or memory source read with content the baseline never had</td></tr>
626
+ <tr><td data-label="Alert">Check</td><td data-label="When">a check passes more than 10 points less often, each side judged on 5 runs or more</td></tr>
627
+ <tr><td data-label="Alert">Judge</td><td data-label="When">the contract changed since the baseline (what judges is not what was measured); the rubric's judge no longer agrees with people: recalibrate by grading answers in the Review queue</td></tr>
628
+ <tr><td data-label="Alert">Trust</td><td data-label="When">the agent is granted more trust than its evidence supports now</td></tr>
632
629
  </tbody>
633
630
  </table></div>
634
631
  <p>Each alert names the runs it rests on. The nightly job is a job of the jobs service running <code>forgeqe evidence drift --all --notify</code>; channels that list <code>evidence_drift</code> (notify: in forgeqe.yaml) get each alert.</p>
635
632
  <p><strong>Trust.</strong> The autonomy an agent's evidence supports, by code, each level needing everything below it:</p>
636
- <div class="tbl"><table>
633
+ <div class="tbl tbl--cols-3"><table>
637
634
  <thead>
638
635
  <tr><th>Level</th><th>Means</th><th>Needs</th></tr>
639
636
  </thead>
640
637
  <tbody>
641
- <tr><td>Observe</td><td>a person reviews everything it does</td><td>nothing</td></tr>
642
- <tr><td>Assist</td><td>a person approves each change it makes</td><td>its contract approved</td></tr>
643
- <tr><td>Act</td><td>it acts alone within its contract; people review its findings</td><td>at least one check gating; the release gate for its latest version kept as ready; none of its last 20 runs of that version failed</td></tr>
644
- <tr><td>Autonomous</td><td>it acts alone; only alerts reach people</td><td>a baseline, and no drift since; 30 judged runs of its latest version, 95% passed; the rubric's judge calibrated, where it has one</td></tr>
638
+ <tr><td data-label="Level">Observe</td><td data-label="Means">a person reviews everything it does</td><td data-label="Needs">nothing</td></tr>
639
+ <tr><td data-label="Level">Assist</td><td data-label="Means">a person approves each change it makes</td><td data-label="Needs">its contract approved</td></tr>
640
+ <tr><td data-label="Level">Act</td><td data-label="Means">it acts alone within its contract; people review its findings</td><td data-label="Needs">at least one check gating; the release gate for its latest version kept as ready; none of its last 20 runs of that version failed</td></tr>
641
+ <tr><td data-label="Level">Autonomous</td><td data-label="Means">it acts alone; only alerts reach people</td><td data-label="Needs">a baseline, and no drift since; 30 judged runs of its latest version, 95% passed; the rubric's judge calibrated, where it has one</td></tr>
645
642
  </tbody>
646
643
  </table></div>
647
- <p>A person grants a level (<code>forgeqe evidence trust &amp;lt;agent&gt; &amp;lt;level&gt; --reason &quot;…&quot;</code> at a terminal typing the agent's name, or
644
+ <p>A person grants a level (<code>forgeqe evidence trust &lt;agent&gt; &lt;level&gt; --reason &quot;…&quot;</code> at a terminal typing the agent's name, or
648
645
  the page), never above what is supported; when the evidence later falls below a grant, drift says so.</p>
649
- <p><strong>Audit.</strong> <code>forgeqe evidence audit &amp;lt;agent&gt; [--out f]</code> (or <strong>Download the audit</strong> on the page) exports every decision people
646
+ <p><strong>Audit.</strong> <code>forgeqe evidence audit &lt;agent&gt; [--out f]</code> (or <strong>Download the audit</strong> on the page) exports every decision people
650
647
  made about the agent, oldest first, each with who, when, how, why and what it rested on: its contract's approval (the
651
648
  approved copy's record: the latest one), overrules, grades, replays linked, proposal decisions, release gates, baselines
652
649
  and trust grants; with every run a decision names, as recorded and judged now (its record's fingerprint and verdict).</p>
@@ -656,22 +653,22 @@ models, tools, sources, contract, suite, trust supported and granted, and alerts
656
653
  skip the policy), a new tool, and runs with no change; each gives exactly its alerts.</p>
657
654
  <h2 id="while-the-agent-is-being-built-the-harness-b1"><a href="#while-the-agent-is-being-built-the-harness-b1" class="hash">#</a>While the agent is being built: the harness (B1)</h2>
658
655
  <p><strong>Built</strong> in <code>src/evidence/harness.ts</code>. ForgeQE runs an agent version through its scenario suite itself, so a version
659
- is judged before release without anyone recording runs by hand: <code>forgeqe evidence run-suite &amp;lt;agent&gt; --version 2.2.0 --live 2.1.0 --repeats 3</code> runs both versions, every scenario at least three times (or its own <code>runs</code>), then keeps the
656
+ is judged before release without anyone recording runs by hand: <code>forgeqe evidence run-suite &lt;agent&gt; --version 2.2.0 --live 2.1.0 --repeats 3</code> runs both versions, every scenario at least three times (or its own <code>runs</code>), then keeps the
660
657
  release gate (exit 1 when held).</p>
661
- <p>How to run each version is the agent's harness, <code>.forgeqe/evidence/harness/&amp;lt;agent&gt;.yaml</code>:</p>
662
- <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>agent: claims-agent
663
- versions:
664
- &quot;2.2.0&quot;: { command: [opentelemetry-instrument, python, agent.py, &quot;{request}&quot;], cwd: agents/claims }
665
- &quot;2.1.0&quot;: { command: [python, agent_v21.py, &quot;{request}&quot;], cwd: agents/claims }
666
- request: argv # an argument that is exactly {request}; or stdin, or env (FORGEQE_EVIDENCE_REQUEST)
667
- capture: { otlp: true } # ForgeQE's receiver, started for the suite; or { file: { from: langfuse } } at FORGEQE_EVIDENCE_OUT
668
- timeout: 300 # seconds a run may take
669
- env: { CLAIMS_API: &quot;http://127.0.0.1:9000&quot; } # plain values; never a secret
670
- pass_env: [OPENAI_API_KEY] # names whose values come from this environment
671
- sandbox: host # or container, with container: { image: python:3.12-slim }
672
- </code></pre></div>
658
+ <p>How to run each version is the agent's harness, <code>.forgeqe/evidence/harness/&lt;agent&gt;.yaml</code>:</p>
659
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">agent: claims-agent
660
+ </span></span><span class="ln"><span class="cmd">versions:
661
+ </span></span><span class="ln"><span class="cmd"> &quot;2.2.0&quot;: { command: [opentelemetry-instrument, python, agent.py, &quot;{request}&quot;], cwd: agents/claims }
662
+ </span></span><span class="ln"><span class="cmd"> &quot;2.1.0&quot;: { command: [python, agent_v21.py, &quot;{request}&quot;], cwd: agents/claims }
663
+ </span></span><span class="ln ln--pair"><span class="cmd">request: argv</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an argument that is exactly {request}; or stdin, or env (FORGEQE_EVIDENCE_REQUEST)
664
+ </span></span><span class="ln ln--pair"><span class="cmd">capture: { otlp: true }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's receiver, started for the suite; or { file: { from: langfuse } } at FORGEQE_EVIDENCE_OUT
665
+ </span></span><span class="ln ln--pair"><span class="cmd">timeout: 300</span><span class="pad"> </span><span class="cm"><span class="h">#</span> seconds a run may take
666
+ </span></span><span class="ln ln--pair"><span class="cmd">env: { CLAIMS_API: &quot;http://127.0.0.1:9000&quot; }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plain values; never a secret
667
+ </span></span><span class="ln ln--pair"><span class="cmd">pass_env: [OPENAI_API_KEY]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> names whose values come from this environment
668
+ </span></span><span class="ln ln--pair"><span class="cmd">sandbox: host</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or container, with container: { image: python:3.12-slim }
669
+ </span></span></code></pre></div>
673
670
  <p>It can come from the repository and it runs commands, so it is read like a contract (known keys, no aliases, plain
674
- text) and only its approved copy runs: a person reads every command and types the agent's name (<code>forgeqe evidence harness approve &amp;lt;agent&gt;</code>); the copy is checked against its digest on every read. A command is a list of arguments,
671
+ text) and only its approved copy runs: a person reads every command and types the agent's name (<code>forgeqe evidence harness approve &lt;agent&gt;</code>); the copy is checked against its digest on every read. A command is a list of arguments,
675
672
  never a shell: the request is one argument, as it is, however it is worded. Each run gets system settings, the
676
673
  variables the harness names (never one of ForgeQE's secrets, and never one that changes how programs start, such as
677
674
  <code>NODE_OPTIONS</code>), and the harness's own: the exporter settings of a receiver with a port and token of its own
@@ -694,76 +691,76 @@ touched. Build the graph on the code at the harness's base (<code>forgeqe knowle
694
691
  <h2 id="build-and-test-does-the-change-work-b2"><a href="#build-and-test-does-the-change-work-b2" class="hash">#</a>Build and test: does the change work? (B2)</h2>
695
692
  <p><strong>Built</strong> in <code>src/evidence/buildcheck.ts</code>, SWE-bench style, and the main engineering signal: an agent's change is
696
693
  judged first by whether it works, then by how the agent got there. Evidence does not trust the agent's &quot;tests passed&quot;.
697
- <code>forgeqe evidence build-check &amp;lt;name&gt; --base main --head agent/branch [--run &amp;lt;id&gt;]</code> (or <code>ci --verify &amp;lt;name&gt;</code> on a pull
694
+ <code>forgeqe evidence build-check &lt;name&gt; --base main --head agent/branch [--run &lt;id&gt;]</code> (or <code>ci --verify &lt;name&gt;</code> on a pull
698
695
  request) checks the repository out clean at the base and with the change (git worktrees, hooks off), runs the
699
696
  repository's own setup, build and tests in each, and compares the JUnit results test by test:</p>
700
- <div class="tbl"><table>
697
+ <div class="tbl tbl--cols-2"><table>
701
698
  <thead>
702
699
  <tr><th>Finding</th><th>When</th></tr>
703
700
  </thead>
704
701
  <tbody>
705
- <tr><td>build-failed</td><td>setup or build fails with the change, and not at the base</td></tr>
706
- <tr><td>new-test-failed</td><td>a test the change adds fails</td></tr>
707
- <tr><td>regression</td><td>a test that passes at the base fails with the change (pass to pass)</td></tr>
708
- <tr><td>test-removed</td><td>a test that passes at the base is gone with the change</td></tr>
709
- <tr><td>claim-false</td><td>the agent's run says the tests pass, and with its change they do not</td></tr>
702
+ <tr><td data-label="Finding">build-failed</td><td data-label="When">setup or build fails with the change, and not at the base</td></tr>
703
+ <tr><td data-label="Finding">new-test-failed</td><td data-label="When">a test the change adds fails</td></tr>
704
+ <tr><td data-label="Finding">regression</td><td data-label="When">a test that passes at the base fails with the change (pass to pass)</td></tr>
705
+ <tr><td data-label="Finding">test-removed</td><td data-label="When">a test that passes at the base is gone with the change</td></tr>
706
+ <tr><td data-label="Finding">claim-false</td><td data-label="When">the agent's run says the tests pass, and with its change they do not</td></tr>
710
707
  </tbody>
711
708
  </table></div>
712
709
  <p>A test failing at the base too is not held against the change; a failing test is run once more, and one that then
713
710
  passes is flaky, said and not counted. Without JUnit results the tests are judged by their exit code only, and it says
714
- so. How the repository is built is its verify file, <code>.forgeqe/evidence/verify/&amp;lt;name&gt;.yaml</code>:</p>
715
- <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>name: orders-api
716
- repo: services/orders-api # its folder, inside the project
717
- image: node:20-slim # a container: setup may use the network, build and tests never do
718
- setup: [[npm, ci]]
719
- build: [[npm, run, build]]
720
- test: [[npx, vitest, run, --reporter=junit, --outputFile=junit.xml]]
721
- results: [junit.xml]
722
- gate: true # its findings may fail the change (otherwise they warn)
723
- </code></pre></div>
711
+ so. How the repository is built is its verify file, <code>.forgeqe/evidence/verify/&lt;name&gt;.yaml</code>:</p>
712
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">name: orders-api
713
+ </span></span><span class="ln ln--pair"><span class="cmd">repo: services/orders-api</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its folder, inside the project
714
+ </span></span><span class="ln ln--pair"><span class="cmd">image: node:20-slim</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a container: setup may use the network, build and tests never do
715
+ </span></span><span class="ln"><span class="cmd">setup: [[npm, ci]]
716
+ </span></span><span class="ln"><span class="cmd">build: [[npm, run, build]]
717
+ </span></span><span class="ln"><span class="cmd">test: [[npx, vitest, run, --reporter=junit, --outputFile=junit.xml]]
718
+ </span></span><span class="ln"><span class="cmd">results: [junit.xml]
719
+ </span></span><span class="ln ln--pair"><span class="cmd">gate: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its findings may fail the change (otherwise they warn)
720
+ </span></span></code></pre></div>
724
721
  <p>Commands are argument lists, never a shell; the file can come from the repository and runs commands, so only its
725
- approved copy runs (<code>forgeqe evidence verify approve &amp;lt;name&gt;</code>, a person typing its name), checked against its digest.
722
+ approved copy runs (<code>forgeqe evidence verify approve &lt;name&gt;</code>, a person typing its name), checked against its digest.
726
723
  In the container the checkout is mounted, the container runs as this user with no privilege raised, and values are
727
724
  passed by name. Labelled changes (<code>evals/evidence/build</code>): a good change, a regression, a failing new test, a broken
728
725
  build, a removed test, a flaky test and a fix of a test that failed at the base; each gives exactly its findings.</p>
729
726
  <h2 id="trajectory-did-the-agent-take-a-sound-path-b3"><a href="#trajectory-did-the-agent-take-a-sound-path-b3" class="hash">#</a>Trajectory: did the agent take a sound path? (B3)</h2>
730
727
  <p><strong>Built</strong> in <code>src/evidence/trajectory.ts</code>. Agents solve one task by different routes, so a scenario's path is checked
731
728
  by rules, not by one exact route; an exact path is used only where its owners choose one (a deterministic flow):</p>
732
- <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code> - id: storm-roof
733
- kind: story
734
- request: Decide claim C-201
735
- path:
736
- must: [get_claim, get_policy, approve_claim] # each called at least once
737
- order: [get_claim, get_policy, approve_claim] # in this order; other steps may come between
738
- never: [delete_claim] # by the agent or any agent it hands to
739
- at_most: { get_policy: 2 } # calls of a tool
740
- total: 12 # tool calls in all
741
- reference: [get_claim, get_policy, fraud-check, approve_claim] # a known good path, measured against
742
- min_match: 0.75 # fails below this path match (only when set)
743
- # exact: true # the path is `order`, step for step
744
- </code></pre></div>
729
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd"> - id: storm-roof
730
+ </span></span><span class="ln"><span class="cmd"> kind: story
731
+ </span></span><span class="ln"><span class="cmd"> request: Decide claim C-201
732
+ </span></span><span class="ln"><span class="cmd"> path:
733
+ </span></span><span class="ln ln--pair"><span class="cmd"> must: [get_claim, get_policy, approve_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each called at least once
734
+ </span></span><span class="ln ln--pair"><span class="cmd"> order: [get_claim, get_policy, approve_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> in this order; other steps may come between
735
+ </span></span><span class="ln ln--pair"><span class="cmd"> never: [delete_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> by the agent or any agent it hands to
736
+ </span></span><span class="ln ln--pair"><span class="cmd"> at_most: { get_policy: 2 }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> calls of a tool
737
+ </span></span><span class="ln ln--pair"><span class="cmd"> total: 12</span><span class="pad"> </span><span class="cm"><span class="h">#</span> tool calls in all
738
+ </span></span><span class="ln ln--pair"><span class="cmd"> reference: [get_claim, get_policy, fraud-check, approve_claim]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a known good path, measured against
739
+ </span></span><span class="ln ln--pair"><span class="cmd"> min_match: 0.75</span><span class="pad"> </span><span class="cm"><span class="h">#</span> fails below this path match (only when set)
740
+ </span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> exact: true # the path is `order`, step for step
741
+ </span></span></code></pre></div>
745
742
  <p>The path is the agent's own tool calls and hand-offs in order; <code>never</code> counts every call of the run. Path match is the
746
743
  F1 of the longest common subsequence of the run's path and the reference (in the spirit of Ragas' tool call
747
744
  accuracy); step efficiency is the reference's length over the run's, at most 1. A rule broken is an expectation not
748
745
  met, so it fails the scenario and counts in the release gate. The Releases page shows, for each scenario with a path,
749
- expected against actual step by step (expected and not done, done and not expected), and <code>forgeqe evidence trajectory &amp;lt;agent&gt; &amp;lt;scenario&gt; --version &amp;lt;v&gt;</code> prints the same for every run.</p>
746
+ expected against actual step by step (expected and not done, done and not expected), and <code>forgeqe evidence trajectory &lt;agent&gt; &lt;scenario&gt; --version &lt;v&gt;</code> prints the same for every run.</p>
750
747
  <h2 id="tool-calls-was-every-call-the-right-one-with-valid-inputs-b4"><a href="#tool-calls-was-every-call-the-right-one-with-valid-inputs-b4" class="hash">#</a>Tool calls: was every call the right one, with valid inputs? (B4)</h2>
751
748
  <p><strong>Built</strong> in <code>src/evidence/calls.ts</code>, BFCL style, decided by code. Three kinds:</p>
752
749
  <p><strong>A scenario's expected calls.</strong> Each names a tool, how many times it may be called, and typed matchers that every call
753
750
  of it must meet (an argument nested in another is <code>a.b</code>). <code>times: { max: 0 }</code> is the relevance test: no call where
754
751
  none is right.</p>
755
- <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> calls:
756
- - tool: approve_claim
757
- times: { min: 1, max: 1 }
758
- args:
759
- claim: { equals: C-201 }
760
- amount: { min: 1, max: 5000 }
761
- currency: { one_of: [EUR] }
762
- note: { contains: storm } # plain text, found as it is
763
- override: { absent: true }
764
- - tool: delete_claim
765
- times: { max: 0 }
766
- </code></pre></div>
752
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd"> calls:
753
+ </span></span><span class="ln"><span class="cmd"> - tool: approve_claim
754
+ </span></span><span class="ln"><span class="cmd"> times: { min: 1, max: 1 }
755
+ </span></span><span class="ln"><span class="cmd"> args:
756
+ </span></span><span class="ln"><span class="cmd"> claim: { equals: C-201 }
757
+ </span></span><span class="ln"><span class="cmd"> amount: { min: 1, max: 5000 }
758
+ </span></span><span class="ln"><span class="cmd"> currency: { one_of: [EUR] }
759
+ </span></span><span class="ln ln--pair"><span class="cmd"> note: { contains: storm }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plain text, found as it is
760
+ </span></span><span class="ln"><span class="cmd"> override: { absent: true }
761
+ </span></span><span class="ln"><span class="cmd"> - tool: delete_claim
762
+ </span></span><span class="ln"><span class="cmd"> times: { max: 0 }
763
+ </span></span></code></pre></div>
767
764
  <p>Matchers are <code>equals</code>, <code>one_of</code>, <code>min</code>, <code>max</code>, <code>contains</code>, <code>type</code>, <code>present</code> and <code>absent</code>; never a pattern that is
768
765
  run. A call not as expected is an expectation not met, so it counts in the release gate; arguments kept only as a
769
766
  fingerprint are not known, which is not met.</p>
@@ -771,18 +768,18 @@ fingerprint are not known, which is not met.</p>
771
768
  the behaviour lens): a subset of JSON Schema (type, required, properties, additionalProperties, enum, const, minimum,
772
769
  maximum, exclusive bounds, lengths, items). What ForgeQE does not check (a <code>pattern</code>, a <code>$ref</code>) is refused, not
773
770
  skipped.</p>
774
- <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>inputs:
775
- approve_claim:
776
- type: object
777
- required: [claim, amount]
778
- properties: { claim: { type: string }, amount: { type: number, exclusiveMinimum: 0, maximum: 5000 } }
779
- additionalProperties: false
780
- </code></pre></div>
771
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">inputs:
772
+ </span></span><span class="ln"><span class="cmd"> approve_claim:
773
+ </span></span><span class="ln"><span class="cmd"> type: object
774
+ </span></span><span class="ln"><span class="cmd"> required: [claim, amount]
775
+ </span></span><span class="ln"><span class="cmd"> properties: { claim: { type: string }, amount: { type: number, exclusiveMinimum: 0, maximum: 5000 } }
776
+ </span></span><span class="ln"><span class="cmd"> additionalProperties: false
777
+ </span></span></code></pre></div>
781
778
  <p><strong>The files a coding agent may edit</strong>, in the contract (<code>allowed_actions</code>): the path argument of its edit tools and the
782
779
  file changes its record holds, against globs (<code>**</code> across folders, <code>*</code> within one), turned into patterns by code.</p>
783
- <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>actions:
784
- files: { tools: [edit_file], may_edit: [&quot;src/**&quot;, &quot;tests/**&quot;], never_edit: [&quot;.github/**&quot;, &quot;**/*.lock&quot;] }
785
- </code></pre></div>
780
+ <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">actions:
781
+ </span></span><span class="ln"><span class="cmd"> files: { tools: [edit_file], may_edit: [&quot;src/**&quot;, &quot;tests/**&quot;], never_edit: [&quot;.github/**&quot;, &quot;**/*.lock&quot;] }
782
+ </span></span></code></pre></div>
786
783
  <p>Labelled runs (<code>evals/evidence/behaviour/b4-*</code>): valid inputs, an amount sent as text, a field the schema does not
787
784
  take, a required field missing, an amount over the maximum, a currency not allowed; edits inside scope, a CI workflow
788
785
  edited, infrastructure edited, a lock file edited deep in the tree; each gives exactly its findings.</p>
@@ -810,15 +807,15 @@ the agent (another suite file, outside its repository), so they keep measuring w
810
807
  <p>A suite is only as good as its scenarios, and the agent's needs and failures are already written down: in its work
811
808
  items' acceptance criteria, in the defects raised against it, and in its runs that failed. Evidence drafts scenarios
812
809
  from them; <strong>a person decides</strong> each one, and nothing is added by itself.</p>
813
- <div class="tbl"><table>
810
+ <div class="tbl tbl--cols-3"><table>
814
811
  <thead>
815
812
  <tr><th>Source</th><th>Drafted by</th><th>What the draft is</th></tr>
816
813
  </thead>
817
814
  <tbody>
818
- <tr><td>A run that failed (<code>--run &amp;lt;id&gt;</code>)</td><td>code alone</td><td>its request, exactly as it was asked, as a <code>defect</code> scenario expected clean on every lens; what failed is kept as the draft's why. A run the harness made of a scenario is in the suite already, and a run that passed is not drafted</td></tr>
819
- <tr><td>A work item's acceptance criteria (<code>--from ado:N,jira:KEY-N</code>)</td><td>a model (<code>forgeqe-evidence-scenarios</code>: no tools, a schema)</td><td>1 to 3 scenarios per criterion, the usual case first, then an edge case or one the agent must refuse</td></tr>
820
- <tr><td>A defect (<code>--defect ado:N,jira:KEY-N</code>)</td><td>the same model</td><td>a <code>defect</code> scenario of what the defect describes</td></tr>
821
- <tr><td>The product graph's business rules (<code>--from-product [--about shipped,refund] [--repo r]</code>)</td><td>the same model</td><td>the case each rule refuses (what the product answers, when, read from its code), often a <code>misuse</code> scenario the agent must refuse or hand to a person: rules no work item may mention</td></tr>
815
+ <tr><td data-label="Source">A run that failed (<code>--run &lt;id&gt;</code>)</td><td data-label="Drafted by">code alone</td><td data-label="What the draft is">its request, exactly as it was asked, as a <code>defect</code> scenario expected clean on every lens; what failed is kept as the draft's why. A run the harness made of a scenario is in the suite already, and a run that passed is not drafted</td></tr>
816
+ <tr><td data-label="Source">A work item's acceptance criteria (<code>--from ado:N,jira:KEY-N</code>)</td><td data-label="Drafted by">a model (<code>forgeqe-evidence-scenarios</code>: no tools, a schema)</td><td data-label="What the draft is">1 to 3 scenarios per criterion, the usual case first, then an edge case or one the agent must refuse</td></tr>
817
+ <tr><td data-label="Source">A defect (<code>--defect ado:N,jira:KEY-N</code>)</td><td data-label="Drafted by">the same model</td><td data-label="What the draft is">a <code>defect</code> scenario of what the defect describes</td></tr>
818
+ <tr><td data-label="Source">The product graph's business rules (<code>--from-product [--about shipped,refund] [--repo r]</code>)</td><td data-label="Drafted by">the same model</td><td data-label="What the draft is">the case each rule refuses (what the product answers, when, read from its code), often a <code>misuse</code> scenario the agent must refuse or hand to a person: rules no work item may mention</td></tr>
822
819
  </tbody>
823
820
  </table></div>
824
821
  <p>What the model proposes is <strong>kept only where it holds up</strong>, each refusal said with why: it names a criterion or defect
@@ -830,7 +827,7 @@ the model as data, and a line in it that gives an instruction changes nothing co
830
827
  <p><strong>Code holds about one draft in five out</strong> (<code>held_out: true</code>, at random): the team tuning the agent does not choose what
831
828
  it is measured on (see B5). The model is never asked.</p>
832
829
  <p><strong>Deciding.</strong> <code>forgeqe evidence drafts</code> lists the drafts waiting, each with every expectation it would add;
833
- <code>forgeqe evidence drafts accept|reject &amp;lt;draft&gt; --reason &quot;why&quot;</code> needs a person at a terminal who types the draft's id,
830
+ <code>forgeqe evidence drafts accept|reject &lt;draft&gt; --reason &quot;why&quot;</code> needs a person at a terminal who types the draft's id,
834
831
  and the Releases page needs the id typed and a reason. Accepted, the scenario is added to the agent's suite (under a
835
832
  fresh id if its own is taken; the suite's comments are kept) and the whole file is read again before it is written;
836
833
  rejected, nothing changes. A draft is decided once. Drafts and decisions are append-only lines in
@@ -838,10 +835,10 @@ rejected, nothing changes. A draft is decided once. Drafts and decisions are app
838
835
  undoes a decision. Each decision on the page is in the audit log.</p>
839
836
  <p><strong>Graded answers.</strong> Some of what owners expect cannot be checked by code: the tone of a reply, whether an explanation
840
837
  would satisfy a customer. A scenario with <code>expect: { graded: true }</code> is decided by a person's grade of each run's answer
841
- (<code>forgeqe evidence grade &amp;lt;run&gt; scenario meets|misses --reason &quot;why&quot;</code> at a terminal typing the run's id, or on the run's
838
+ (<code>forgeqe evidence grade &lt;run&gt; scenario meets|misses --reason &quot;why&quot;</code> at a terminal typing the run's id, or on the run's
842
839
  page). Until a person grades it, the answer is not known and the scenario does not pass; the Releases page lists the
843
840
  candidate's answers waiting for a grade. Grades are kept beside the rubric's in <code>grades.jsonl</code>, under
844
- <code>scenario:&amp;lt;id&gt;</code>.</p>
841
+ <code>scenario:&lt;id&gt;</code>.</p>
845
842
  <h2 id="fixes-proven-by-the-harness-b7"><a href="#fixes-proven-by-the-harness-b7" class="hash">#</a>Fixes proven by the harness (B7)</h2>
846
843
  <p><strong>Built</strong> in <code>src/evidence/fix.ts</code> (<code>forgeqe evidence fix</code>, <code>fixes</code>) and the Learn page.</p>
847
844
  <p>Learn (E9) says where a finding may come from and asks the team to replay the run with the change. When the cause is
@@ -854,7 +851,7 @@ model. It is added under a section of its own at the end of the agent's instruct
854
851
  harness is approved again when it changes).</li>
855
852
  <li><strong>It is proven on a copy</strong>: the version's folder is copied (no hidden files, dependency folders linked, at most
856
853
  100 MB), the instruction added there, and the version run from the copy under a label of its own
857
- (<code>2.0+fix-&amp;lt;id&gt;</code>, logged as <code>of</code> 2.0, so its runs never count as 2.0's): the failed scenario three times, linked as
854
+ (<code>2.0+fix-&lt;id&gt;</code>, logged as <code>of</code> 2.0, so its runs never count as 2.0's): the failed scenario three times, linked as
858
855
  replays of the cause, then the whole suite.</li>
859
856
  <li><strong>Proven means both</strong>: the cause is proven (three clean replays, none where the finding comes back; E9's rule), and
860
857
  the release gate of the patched copy against the version holds nothing (no lens worse, no misuse or injection
@@ -863,8 +860,8 @@ the fix. The paired test may call one scenario mended and another broken &quot;n
863
860
  for another is still no fix. Nor is one whose runs could not be counted.</li>
864
861
  <li><strong>Nothing in the project changes.</strong> What is kept is the patch, a unified diff <code>git apply</code> takes, in
865
862
  <code>.forgeqe/evidence/fixes.jsonl</code> (append-only, checked when read: a line that says proven without its proof is
866
- refused). <code>forgeqe evidence fix show &amp;lt;fix&gt; --patch</code> prints it, for a branch and a pull request.</li>
867
- <li><strong>A person applies it</strong>: <code>forgeqe evidence fix apply &amp;lt;fix&gt; --reason &quot;why&quot;</code> at a terminal, typing the fix's id; only a
863
+ refused). <code>forgeqe evidence fix show &lt;fix&gt; --patch</code> prints it, for a branch and a pull request.</li>
864
+ <li><strong>A person applies it</strong>: <code>forgeqe evidence fix apply &lt;fix&gt; --reason &quot;why&quot;</code> at a terminal, typing the fix's id; only a
868
865
  proven fix, once, and only while the file is exactly as it was when the fix was proven (else prove it again). The
869
866
  fix's proposal is approved with the same reason. Nothing is committed: the team reviews the change, runs the suite
870
867
  and opens the pull request.</li>
@@ -872,7 +869,7 @@ and opens the pull request.</li>
872
869
  <p>A cause in a tool or in the data is the team's to change (<code>forgeqe evidence replay-kit</code>); a held-out scenario's run is
873
870
  never fixed from; a run the harness did not make of a scenario is drafted as one first (B6).</p>
874
871
  <h2 id="a-demo"><a href="#a-demo" class="hash">#</a>A demo</h2>
875
- <p><code>forgeqe evidence demo &amp;lt;new folder&gt;</code> (<code>src/evidence/demo.ts</code>) writes a demo project into a new or empty folder, never a
872
+ <p><code>forgeqe evidence demo &lt;new folder&gt;</code> (<code>src/evidence/demo.ts</code>) writes a demo project into a new or empty folder, never a
876
873
  project: three made-up agents of a made-up insurer (a claims agent on Langfuse in a live and a candidate version, a
877
874
  support agent, a coding agent on OpenTelemetry), four weeks of runs recorded from the exports it writes, an approved
878
875
  contract, findings in every lens, a scenario suite and a release gate that holds the candidate, a baseline with drift,
@@ -889,68 +886,68 @@ answer canned, since a demo has no model, and kept by code only as it keeps a mo
889
886
  in the demo's <code>reports/</code>: release gates, a pull request report and SARIF, findings files, dashboards, drift, guidance,
890
887
  the audit, the inventory, drafts, fixes with their patch, and the build check. It needs <code>bun</code> and <code>git</code> on the PATH.</p>
891
888
  <h2 id="who-decides"><a href="#who-decides" class="hash">#</a>Who decides</h2>
892
- <div class="tbl"><table>
889
+ <div class="tbl tbl--cols-2"><table>
893
890
  <thead>
894
891
  <tr><th>Person</th><th>Decides</th></tr>
895
892
  </thead>
896
893
  <tbody>
897
- <tr><td>Agent owner</td><td>The contract, fixes to the agent, each release</td></tr>
898
- <tr><td>QA or assurance lead</td><td>Scenarios, guidance, which checks gate and at what bar</td></tr>
899
- <tr><td>Domain owner (Product Owner, process owner)</td><td>The domain rules, rubrics and golden sets; outputs in the review queue</td></tr>
900
- <tr><td>Risk and data owners</td><td>Release thresholds, the data an agent may use, how much autonomy it has</td></tr>
901
- <tr><td>Evidence</td><td>Measures, explains and proposes; never approves</td></tr>
894
+ <tr><td data-label="Person">Agent owner</td><td data-label="Decides">The contract, fixes to the agent, each release</td></tr>
895
+ <tr><td data-label="Person">QA or assurance lead</td><td data-label="Decides">Scenarios, guidance, which checks gate and at what bar</td></tr>
896
+ <tr><td data-label="Person">Domain owner (Product Owner, process owner)</td><td data-label="Decides">The domain rules, rubrics and golden sets; outputs in the review queue</td></tr>
897
+ <tr><td data-label="Person">Risk and data owners</td><td data-label="Decides">Release thresholds, the data an agent may use, how much autonomy it has</td></tr>
898
+ <tr><td data-label="Person">Evidence</td><td data-label="Decides">Measures, explains and proposes; never approves</td></tr>
902
899
  </tbody>
903
900
  </table></div>
904
901
  <h2 id="phases"><a href="#phases" class="hash">#</a>Phases</h2>
905
- <div class="tbl"><table>
902
+ <div class="tbl tbl--cols-4"><table>
906
903
  <thead>
907
904
  <tr><th>#</th><th>Phase</th><th>What it delivers</th><th>Exit criteria (on its labelled set)</th></tr>
908
905
  </thead>
909
906
  <tbody>
910
- <tr><td>E1</td><td><strong>The run record</strong> (done)</td><td>The schema; readers for ForgeQE's own agents, OpenTelemetry (generative AI conventions) and JSON logs; redaction and fingerprints; <code>forgeqe evidence record</code></td><td>Faithful: every step, input and output of the source is in the record, nothing is invented, nothing secret is kept, a gap is said; the same run read twice gives the same record</td></tr>
911
- <tr><td>E2</td><td><strong>The contract, behaviour checks</strong> (done)</td><td>The contract file; required steps, allowed actions, limits, hand-over, statements</td><td>Planted runs (skipped step, forbidden action, retry loop, &quot;tests passed&quot; that did not) each caught; good runs pass</td></tr>
912
- <tr><td>E3</td><td><strong>Decision and data checks</strong> (done)</td><td>Grounded decisions, data allowed, data used, stated reasons, instructions in data</td><td>Planted runs (decided before reading the policy, used data it may not, a fact from nowhere, a reason citing an input it never had, an injected instruction followed) each caught</td></tr>
913
- <tr><td>E4</td><td><strong>Domain check for software</strong> (done)</td><td>The product check on a change (the five checks above), Jira and Azure DevOps as rule sources</td><td>Planted good and bad changes on the sample product; each violation found, each clean change passes</td></tr>
914
- <tr><td>E5</td><td><strong>Verdicts where the team works</strong> (done)</td><td>Findings file, report, CI check, fix attempts, overrule</td><td>End to end on a test repository and a non-code agent</td></tr>
915
- <tr><td>E6</td><td><strong>Before release</strong> (done; graded answers and drafted scenarios in B6)</td><td>Scenario suite, golden set, version against live, release gate</td><td>A worse version is held; a failed misuse test holds it</td></tr>
916
- <tr><td>E7</td><td><strong>Content checks</strong> (done; the judges measured with a real model next)</td><td>Rules, meaning checks, rubric judges, repeated runs, calibration, review queue</td><td>Judges agree with the golden set at the agreed level first</td></tr>
917
- <tr><td>E8</td><td><strong>Dashboard and benchmark</strong> (done)</td><td>Per agent and version: runs, verdicts, findings, history</td><td>Every number traces to its runs</td></tr>
918
- <tr><td>E9</td><td><strong>Learn</strong> (done)</td><td>Guidance from recurring findings; root cause by replay; proposed fixes</td><td>A planted cause traced, its fix proven by replay</td></tr>
919
- <tr><td>E10</td><td><strong>Monitor, trust and governance</strong> (done)</td><td>Nightly drift, judge recalibration, trust levels, audit export, inventory</td><td>A planted model change alerted; every decision exportable with its evidence and approver</td></tr>
907
+ <tr><td data-label="#">E1</td><td data-label="Phase"><strong>The run record</strong> (done)</td><td data-label="What it delivers">The schema; readers for ForgeQE's own agents, OpenTelemetry (generative AI conventions) and JSON logs; redaction and fingerprints; <code>forgeqe evidence record</code></td><td data-label="Exit criteria (on its labelled set)">Faithful: every step, input and output of the source is in the record, nothing is invented, nothing secret is kept, a gap is said; the same run read twice gives the same record</td></tr>
908
+ <tr><td data-label="#">E2</td><td data-label="Phase"><strong>The contract, behaviour checks</strong> (done)</td><td data-label="What it delivers">The contract file; required steps, allowed actions, limits, hand-over, statements</td><td data-label="Exit criteria (on its labelled set)">Planted runs (skipped step, forbidden action, retry loop, &quot;tests passed&quot; that did not) each caught; good runs pass</td></tr>
909
+ <tr><td data-label="#">E3</td><td data-label="Phase"><strong>Decision and data checks</strong> (done)</td><td data-label="What it delivers">Grounded decisions, data allowed, data used, stated reasons, instructions in data</td><td data-label="Exit criteria (on its labelled set)">Planted runs (decided before reading the policy, used data it may not, a fact from nowhere, a reason citing an input it never had, an injected instruction followed) each caught</td></tr>
910
+ <tr><td data-label="#">E4</td><td data-label="Phase"><strong>Domain check for software</strong> (done)</td><td data-label="What it delivers">The product check on a change (the five checks above), Jira and Azure DevOps as rule sources</td><td data-label="Exit criteria (on its labelled set)">Planted good and bad changes on the sample product; each violation found, each clean change passes</td></tr>
911
+ <tr><td data-label="#">E5</td><td data-label="Phase"><strong>Verdicts where the team works</strong> (done)</td><td data-label="What it delivers">Findings file, report, CI check, fix attempts, overrule</td><td data-label="Exit criteria (on its labelled set)">End to end on a test repository and a non-code agent</td></tr>
912
+ <tr><td data-label="#">E6</td><td data-label="Phase"><strong>Before release</strong> (done; graded answers and drafted scenarios in B6)</td><td data-label="What it delivers">Scenario suite, golden set, version against live, release gate</td><td data-label="Exit criteria (on its labelled set)">A worse version is held; a failed misuse test holds it</td></tr>
913
+ <tr><td data-label="#">E7</td><td data-label="Phase"><strong>Content checks</strong> (done; the judges measured with a real model next)</td><td data-label="What it delivers">Rules, meaning checks, rubric judges, repeated runs, calibration, review queue</td><td data-label="Exit criteria (on its labelled set)">Judges agree with the golden set at the agreed level first</td></tr>
914
+ <tr><td data-label="#">E8</td><td data-label="Phase"><strong>Dashboard and benchmark</strong> (done)</td><td data-label="What it delivers">Per agent and version: runs, verdicts, findings, history</td><td data-label="Exit criteria (on its labelled set)">Every number traces to its runs</td></tr>
915
+ <tr><td data-label="#">E9</td><td data-label="Phase"><strong>Learn</strong> (done)</td><td data-label="What it delivers">Guidance from recurring findings; root cause by replay; proposed fixes</td><td data-label="Exit criteria (on its labelled set)">A planted cause traced, its fix proven by replay</td></tr>
916
+ <tr><td data-label="#">E10</td><td data-label="Phase"><strong>Monitor, trust and governance</strong> (done)</td><td data-label="What it delivers">Nightly drift, judge recalibration, trust levels, audit export, inventory</td><td data-label="Exit criteria (on its labelled set)">A planted model change alerted; every decision exportable with its evidence and approver</td></tr>
920
917
  </tbody>
921
918
  </table></div>
922
919
  <p>While the agent is being built (the build-time half):</p>
923
- <div class="tbl"><table>
920
+ <div class="tbl tbl--cols-4"><table>
924
921
  <thead>
925
922
  <tr><th>#</th><th>Phase</th><th>What it delivers</th><th>Exit criteria (planted cases and mutations)</th></tr>
926
923
  </thead>
927
924
  <tbody>
928
- <tr><td>B1</td><td><strong>The harness</strong> (done)</td><td>ForgeQE runs each version on the suite: commands as argument lists, its own receiver or a trace file, approved by a person</td><td>Each run captured and linked to its scenario; a secret or a variable that changes how programs start never reaches the agent</td></tr>
929
- <tr><td>B2</td><td><strong>Build and test</strong> (done)</td><td>SWE-bench style: clean worktrees, approved commands, test by test at the base and with the change, in a container</td><td>A build that fails, a new test that fails, a regression, a test removed and a false &quot;tests pass&quot; each caught</td></tr>
930
- <tr><td>B3</td><td><strong>Trajectory</strong> (done)</td><td>Rules about the path; an exact path where chosen; a reference path matched</td><td>Another valid route passes; each rule broken is said</td></tr>
931
- <tr><td>B4</td><td><strong>Tool calls</strong> (done)</td><td>BFCL style: expected calls with typed matchers, the relevance test, each tool's input schema, the files a coding agent may edit</td><td>Each wrong argument named; no pattern ever run</td></tr>
932
- <tr><td>B5</td><td><strong>Statistics and held-out scenarios</strong> (done)</td><td>Paired exact test per lens, intervals, lens scores with the weakest as summary, held-out scenarios</td><td>Noise said as not known; a real regression held; held-out runs never in guidance or findings</td></tr>
933
- <tr><td>B6</td><td><strong>Drafted scenarios, graded answers</strong> (done)</td><td>Scenarios from acceptance criteria, defects and failed runs, for a person to accept; answers a person grades</td><td>A draft that does not rest on its source refused; an ungraded answer never a pass</td></tr>
934
- <tr><td>B7</td><td><strong>Fixes proven by the harness</strong> (done)</td><td>The contract's instruction added to a copy of the agent's prompt, proven by replays and the suite, applied by a person</td><td>A fix that works proven; one that changes nothing refuted; the project unchanged until a person applies it</td></tr>
925
+ <tr><td data-label="#">B1</td><td data-label="Phase"><strong>The harness</strong> (done)</td><td data-label="What it delivers">ForgeQE runs each version on the suite: commands as argument lists, its own receiver or a trace file, approved by a person</td><td data-label="Exit criteria (planted cases and mutations)">Each run captured and linked to its scenario; a secret or a variable that changes how programs start never reaches the agent</td></tr>
926
+ <tr><td data-label="#">B2</td><td data-label="Phase"><strong>Build and test</strong> (done)</td><td data-label="What it delivers">SWE-bench style: clean worktrees, approved commands, test by test at the base and with the change, in a container</td><td data-label="Exit criteria (planted cases and mutations)">A build that fails, a new test that fails, a regression, a test removed and a false &quot;tests pass&quot; each caught</td></tr>
927
+ <tr><td data-label="#">B3</td><td data-label="Phase"><strong>Trajectory</strong> (done)</td><td data-label="What it delivers">Rules about the path; an exact path where chosen; a reference path matched</td><td data-label="Exit criteria (planted cases and mutations)">Another valid route passes; each rule broken is said</td></tr>
928
+ <tr><td data-label="#">B4</td><td data-label="Phase"><strong>Tool calls</strong> (done)</td><td data-label="What it delivers">BFCL style: expected calls with typed matchers, the relevance test, each tool's input schema, the files a coding agent may edit</td><td data-label="Exit criteria (planted cases and mutations)">Each wrong argument named; no pattern ever run</td></tr>
929
+ <tr><td data-label="#">B5</td><td data-label="Phase"><strong>Statistics and held-out scenarios</strong> (done)</td><td data-label="What it delivers">Paired exact test per lens, intervals, lens scores with the weakest as summary, held-out scenarios</td><td data-label="Exit criteria (planted cases and mutations)">Noise said as not known; a real regression held; held-out runs never in guidance or findings</td></tr>
930
+ <tr><td data-label="#">B6</td><td data-label="Phase"><strong>Drafted scenarios, graded answers</strong> (done)</td><td data-label="What it delivers">Scenarios from acceptance criteria, defects and failed runs, for a person to accept; answers a person grades</td><td data-label="Exit criteria (planted cases and mutations)">A draft that does not rest on its source refused; an ungraded answer never a pass</td></tr>
931
+ <tr><td data-label="#">B7</td><td data-label="Phase"><strong>Fixes proven by the harness</strong> (done)</td><td data-label="What it delivers">The contract's instruction added to a copy of the agent's prompt, proven by replays and the suite, applied by a person</td><td data-label="Exit criteria (planted cases and mutations)">A fix that works proven; one that changes nothing refuted; the project unchanged until a person applies it</td></tr>
935
932
  </tbody>
936
933
  </table></div>
937
934
  <h2 id="its-own-section-in-forgeqe"><a href="#its-own-section-in-forgeqe" class="hash">#</a>Its own section in ForgeQE</h2>
938
- <p>Evidence is a section of its own, not pages inside Product or Agents: in <code>forgeqe web</code> a sidebar group of its own,
935
+ <p>Evidence is a section of its own, not pages inside Product or Agents: in <code>forgeqe web</code> a sidebar category of its own, <strong>AI Assurance</strong>,
939
936
  and on the command line <code>forgeqe evidence …</code>. Each page arrives with the phase that fills it, never empty ahead of it:</p>
940
- <div class="tbl"><table>
937
+ <div class="tbl tbl--cols-3"><table>
941
938
  <thead>
942
939
  <tr><th>Page</th><th>Shows</th><th>Arrives with</th></tr>
943
940
  </thead>
944
941
  <tbody>
945
- <tr><td>Overview (<code>#/evidence</code>, built)</td><td>Every agent evaluated: its versions, recent verdicts, what keeps going wrong, what waits for a person</td><td>E1 (agents, runs, decisions, gaps), grows each phase</td></tr>
946
- <tr><td>Agent runs (<code>#/evidence-runs</code>, built)</td><td>Each run record: the steps, decisions and inputs as a timeline, every statement with whether the record supports it, the verdict per lens with its findings</td><td>E1 (the record), E2 on (verdicts)</td></tr>
947
- <tr><td>Contracts (<code>#/evidence-contracts</code>, built)</td><td>Each agent's contract: required steps, allowed actions, data rules, limits, hand-over; its versions and approvals</td><td>E2 (with how well each check is measured)</td></tr>
948
- <tr><td>Knowledge</td><td>What the domain checks read: for software, the product graph (the Product page's); for a process, its policies and rules</td><td>E4 (the product graph is read; its page is the Product page)</td></tr>
949
- <tr><td>Review queue (<code>#/evidence-review</code>, built)</td><td>Runs and outputs a person must decide, and findings a person overruled</td><td>E5</td></tr>
950
- <tr><td>Releases (<code>#/evidence-releases</code>, built)</td><td>Scenario suites, golden sets, a version against the live one, the release gate; scenarios drafted for a person to decide, and answers waiting for a grade</td><td>E6, B6</td></tr>
951
- <tr><td>An agent's dashboard (<code>#/evidence/&amp;lt;agent&gt;</code>, built)</td><td>Per version its runs and verdicts, each check's outcomes, what keeps going wrong, week by week, and its versions side by side; each number opens the runs it counts</td><td>E8</td></tr>
952
- <tr><td>Learn (<code>#/evidence-learn</code>, built)</td><td>An agent's proposals for a person to decide, the causes of its findings with their replays, and the fixes the harness proved with their patches</td><td>E9, B7</td></tr>
953
- <tr><td>Monitor (<code>#/evidence-monitor</code>, built)</td><td>Every agent evaluated (inventory); per agent its drift since its baseline, the trust its evidence supports and the level granted, and its audit to download</td><td>E10</td></tr>
942
+ <tr><td data-label="Page">Overview (<code>#/evidence</code>, built)</td><td data-label="Shows">Every agent evaluated: its versions, recent verdicts, what keeps going wrong, what waits for a person</td><td data-label="Arrives with">E1 (agents, runs, decisions, gaps), grows each phase</td></tr>
943
+ <tr><td data-label="Page">Agent runs (<code>#/evidence-runs</code>, built)</td><td data-label="Shows">Each run record: the steps, decisions and inputs as a timeline, every statement with whether the record supports it, the verdict per lens with its findings</td><td data-label="Arrives with">E1 (the record), E2 on (verdicts)</td></tr>
944
+ <tr><td data-label="Page">Contracts (<code>#/evidence-contracts</code>, built)</td><td data-label="Shows">Each agent's contract: required steps, allowed actions, data rules, limits, hand-over; its versions and approvals</td><td data-label="Arrives with">E2 (with how well each check is measured)</td></tr>
945
+ <tr><td data-label="Page">Knowledge</td><td data-label="Shows">What the domain checks read: for software, the product graph (the Product page's); for a process, its policies and rules</td><td data-label="Arrives with">E4 (the product graph is read; its page is the Product page)</td></tr>
946
+ <tr><td data-label="Page">Review queue (<code>#/evidence-review</code>, built)</td><td data-label="Shows">Runs and outputs a person must decide, and findings a person overruled</td><td data-label="Arrives with">E5</td></tr>
947
+ <tr><td data-label="Page">Releases (<code>#/evidence-releases</code>, built)</td><td data-label="Shows">Scenario suites, golden sets, a version against the live one, the release gate; scenarios drafted for a person to decide, and answers waiting for a grade</td><td data-label="Arrives with">E6, B6</td></tr>
948
+ <tr><td data-label="Page">An agent's dashboard (<code>#/evidence/&lt;agent&gt;</code>, built)</td><td data-label="Shows">Per version its runs and verdicts, each check's outcomes, what keeps going wrong, week by week, and its versions side by side; each number opens the runs it counts</td><td data-label="Arrives with">E8</td></tr>
949
+ <tr><td data-label="Page">Learn (<code>#/evidence-learn</code>, built)</td><td data-label="Shows">An agent's proposals for a person to decide, the causes of its findings with their replays, and the fixes the harness proved with their patches</td><td data-label="Arrives with">E9, B7</td></tr>
950
+ <tr><td data-label="Page">Monitor (<code>#/evidence-monitor</code>, built)</td><td data-label="Shows">Every agent evaluated (inventory); per agent its drift since its baseline, the trust its evidence supports and the level granted, and its audit to download</td><td data-label="Arrives with">E10</td></tr>
954
951
  </tbody>
955
952
  </table></div>
956
953
  <p>The same rules as the rest of the web app hold (CLAUDE.md): what a run holds is drawn as text, never as HTML; a link
@@ -976,8 +973,8 @@ their licences checked first.</li>
976
973
 
977
974
  </article>
978
975
  <nav class="pager" aria-label="Previous and next">
979
- <a class="prev" href="../custom-agents-first-run/index.html"><small>Previous</small><span>Custom agents: a first run</span></a>
980
- <a class="next" href="../product-knowledge/index.html"><small>Next</small><span>Product knowledge</span></a>
976
+ <a class="prev" href="../graphify/index.html"><small>Previous</small><span>Reading product code</span></a>
977
+ <a class="next" href="../cost-architecture/index.html"><small>Next</small><span>Cost-aware execution</span></a>
981
978
  </nav>
982
979
  </main>
983
980
  <aside class="docs-toc" aria-label="On this page">
@@ -987,7 +984,7 @@ their licences checked first.</li>
987
984
  <footer class="foot">
988
985
  <div class="container foot__row">
989
986
  <a class="foot__brand" href="https://forgeqe.github.io/"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="ForgeQE" width="160" height="76"></picture><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
990
- <nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="https://forgeqe.github.io/security/">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
987
+ <nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="../../security/index.html">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/contact/">Contact us</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
991
988
  </div>
992
989
  <p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
993
990
  </footer>