@capagents/forgeqe 3.1.0 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +465 -95
- package/README.md +21 -6
- package/THIRD_PARTY_NOTICES.md +210 -1
- package/dist/docs-site/CREDITS.md +6 -0
- package/dist/docs-site/architecture-map/index.html +1 -1
- package/dist/docs-site/docs/app-theme.css +100 -8
- package/dist/docs-site/docs/architecture/index.html +210 -214
- package/dist/docs-site/docs/area-api/index.html +350 -0
- package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
- package/dist/docs-site/docs/area-browser/index.html +430 -0
- package/dist/docs-site/docs/area-data/index.html +605 -0
- package/dist/docs-site/docs/area-desktop/index.html +755 -0
- package/dist/docs-site/docs/area-mobile/index.html +631 -0
- package/dist/docs-site/docs/area-operations/index.html +1069 -0
- package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
- package/dist/docs-site/docs/area-quality/index.html +365 -0
- package/dist/docs-site/docs/area-release/index.html +320 -0
- package/dist/docs-site/docs/area-setup/index.html +1192 -0
- package/dist/docs-site/docs/area-systems/index.html +207 -0
- package/dist/docs-site/docs/area-test-cases/index.html +694 -0
- package/dist/docs-site/docs/containers/index.html +97 -104
- package/dist/docs-site/docs/cost-architecture/index.html +108 -112
- package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
- package/dist/docs-site/docs/desktop/index.html +172 -162
- package/dist/docs-site/docs/desktop-ci/index.html +26 -33
- package/dist/docs-site/docs/evidence/index.html +253 -257
- package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
- package/dist/docs-site/docs/get-started/index.html +495 -0
- package/dist/docs-site/docs/graphify/index.html +42 -46
- package/dist/docs-site/docs/guardrails/index.html +17 -21
- package/dist/docs-site/docs/index.html +17 -6708
- package/dist/docs-site/docs/mobile/index.html +155 -162
- package/dist/docs-site/docs/model-routing/index.html +44 -51
- package/dist/docs-site/docs/overview/index.html +176 -0
- package/dist/docs-site/docs/product-graph/index.html +52 -55
- package/dist/docs-site/docs/product-knowledge/index.html +11 -15
- package/dist/docs-site/docs/product-views/index.html +53 -57
- package/dist/docs-site/docs/reference/index.html +379 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +480 -0
- package/dist/docs-site/docs/web-app/index.html +147 -93
- package/dist/docs-site/security/index.html +930 -0
- package/dist/docs-site/security/security-theme.css +161 -0
- package/dist/docs-site/security/security.js +1465 -0
- package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
- package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
- package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
- package/dist/forgeqe.js +2251 -1886
- package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
- package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
- package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
- package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
- package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
- package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
- package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
- package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
- package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
- package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
- package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
- package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
- package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
- package/dist/web/assets/Features-CQzNo_WP.js +1 -0
- package/dist/web/assets/Flags-0-RniPJm.js +2 -0
- package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
- package/dist/web/assets/Impact-CfccsL_k.js +3 -0
- package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
- package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
- package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
- package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
- package/dist/web/assets/Product-nYV_scOV.js +7 -0
- package/dist/web/assets/Production-CGSbEWVa.js +1 -0
- package/dist/web/assets/Quality-BIypojZm.js +1 -0
- package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
- package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
- package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
- package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
- package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
- package/dist/web/assets/Response-mhBThq2b.js +9 -0
- package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
- package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
- package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
- package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
- package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
- package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
- package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
- package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
- package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
- package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
- package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
- package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
- package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
- package/dist/web/assets/diff-BStuTmsN.js +2 -0
- package/dist/web/assets/families-BBFFrUlo.js +1 -0
- package/dist/web/assets/filters-CnAMr286.js +1 -0
- package/dist/web/assets/fold-D_O_VZui.js +1 -0
- package/dist/web/assets/head-CRo48rPt.js +1 -0
- package/dist/web/assets/highlight-BcFZIf59.js +4 -0
- package/dist/web/assets/index-B3JsM7tv.js +64 -0
- package/dist/web/assets/index-CafApcbZ.css +2 -0
- package/dist/web/assets/input-CtzK50ZF.js +1 -0
- package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
- package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
- package/dist/web/assets/logos-D4oVWzqa.js +1 -0
- package/dist/web/assets/palette-DAaGSao7.js +1 -0
- package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
- package/dist/web/assets/parts-D357Wolo.js +1 -0
- package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
- package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
- package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
- package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/dist/web/assets/route-BloYJWgw.js +1 -0
- package/dist/web/index.html +12 -12
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/BASAL.md +1 -1
- package/docs/DESKTOP.md +20 -1
- package/docs/EVIDENCE.md +1 -1
- package/docs/MOBILE.md +4 -4
- package/docs/PRODUCT_KNOWLEDGE.md +2 -0
- package/docs/WEB_APP.md +114 -51
- package/docs/user-guide.html +463 -87
- package/forgeqe.example.yaml +3 -3
- package/package.json +1 -1
- package/prompts/page-differs.md +1 -1
- package/prompts/requests-rule.md +1 -1
- package/prompts/responsive-review.md +38 -0
- package/prompts/responsive-split.md +40 -0
- package/prompts/responsive.md +42 -0
- package/prompts/test-reviewer.md +1 -1
- package/prompts/test-rules.md +3 -4
- package/skills/web-guidance/LICENSE +202 -0
- package/skills/web-guidance/SKILL.md +76 -0
- package/skills/web-guidance/UPSTREAM +67 -0
- package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
- package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
- package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
- package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
- package/skills/web-guidance/references/css/responsive-design.md +16 -0
- package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
- package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
- package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
- package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
- package/skills/web-guidance/references/forms/forms.md +415 -0
- package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
- package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
- package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
- package/skills/web-guidance/references/forms/slider.md +184 -0
- package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
- package/skills/web-guidance/references/forms/switch.md +60 -0
- package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
- package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
- package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
- package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
- package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
- package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
- package/skills/web-guidance/references/performance/performance.md +384 -0
- package/skills/web-guidance/references/privacy/privacy.md +247 -0
- package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
- package/skills/web-guidance/references/security/passkey-management.md +310 -0
- package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
- package/skills/web-guidance/references/security/passkey-registration.md +186 -0
- package/skills/web-guidance/references/security/passkeys.md +39 -0
- package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
- package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
- package/skills/web-guidance/references/security/security.md +390 -0
- package/skills/web-guidance/references/security/trusted-types.md +141 -0
- package/skills/web-guidance/references/security/validate-origins.md +197 -0
- package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
- package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
- package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
- package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
- package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
- package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
- package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
- package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
- package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
- package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
- package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
- package/skills/web-guidance/references/ui-components/accordion.md +343 -0
- package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
- package/skills/web-guidance/references/ui-components/carousel.md +206 -0
- package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
- package/skills/web-guidance/references/ui-components/dialog.md +218 -0
- package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
- package/skills/web-guidance/references/ui-components/menu.md +415 -0
- package/skills/web-guidance/references/ui-components/navbar.md +281 -0
- package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
- package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
- package/skills/web-guidance/references/ui-components/progress.md +181 -0
- package/skills/web-guidance/references/ui-components/spinner.md +179 -0
- package/skills/web-guidance/references/ui-components/tabs.md +371 -0
- package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
- package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
- package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
- package/skills/web-guidance/references/visual-design/color.md +43 -0
- package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
- package/dist/web/assets/AgentWork-C3KdZh5M.js +0 -2
- package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
- package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
- package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
- package/dist/web/assets/Choices-D5eTFinz.js +0 -3
- package/dist/web/assets/CommandPalette-D89NM2_E.js +0 -1
- package/dist/web/assets/Compare-YfFYHwfK.js +0 -1
- package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
- package/dist/web/assets/Data-jSFgAfej.js +0 -6
- package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
- package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
- package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
- package/dist/web/assets/Explore-BdFvqgF4.js +0 -2
- package/dist/web/assets/Features-CIBbw6PG.js +0 -1
- package/dist/web/assets/Flags-B62v4uWR.js +0 -2
- package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
- package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
- package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
- package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
- package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
- package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
- package/dist/web/assets/Product-BrXH81Ns.js +0 -7
- package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
- package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
- package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
- package/dist/web/assets/Record-Dnlkimjb.js +0 -1
- package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
- package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
- package/dist/web/assets/Response-D9FYUvHg.js +0 -9
- package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
- package/dist/web/assets/Runs-CFvmdULI.js +0 -2
- package/dist/web/assets/Steps-BS66s0E1.js +0 -2
- package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
- package/dist/web/assets/TestData-e3IX0xwG.js +0 -2
- package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
- package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
- package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
- package/dist/web/assets/WhatsNew-CwnRbDnd.js +0 -1
- package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
- package/dist/web/assets/crew-CWfjZIxE.js +0 -1
- package/dist/web/assets/families-DWilSDct.js +0 -1
- package/dist/web/assets/filters-CVzIOjPG.js +0 -1
- package/dist/web/assets/fold-tvLGnxD1.js +0 -1
- package/dist/web/assets/frame-Deu1IqzV.js +0 -13
- package/dist/web/assets/index-BWMIKyPB.js +0 -76
- package/dist/web/assets/index-C2Yq55oT.css +0 -2
- package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
- package/dist/web/assets/logos-C1NBtBMc.js +0 -1
- package/dist/web/assets/logos-DFyhMw0i.js +0 -1
- package/dist/web/assets/markdown-DC2HA0yZ.js +0 -10
- package/dist/web/assets/paletteCommands-Qxm5DZIs.js +0 -1
- package/dist/web/assets/parts-BR6dUwqn.js +0 -1
- package/dist/web/assets/productParts-BxdHuSBa.js +0 -1
- package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
- package/dist/web/assets/recordTest-CcplpTS6.js +0 -1
- package/dist/web/assets/today-DuQFapJM.js +0 -1
- package/dist/web/assets/when-CHnpLdYw.js +0 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<link rel="stylesheet" href="../app-theme.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body class="docs">
|
|
18
|
-
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Phosphor Duotone (MIT), from web/src/flatIcons.ts --><symbol id="ph-context-engine" viewBox="0 0 256 256"><g fill="currentColor"><path d="m195.88 195.88l-39.6-39.6a40 40 0 0 0 0-56.56l39.6-39.6a96 96 0 0 1 0 135.76M60.12 60.12a96 96 0 0 0 0 135.76l39.6-39.6a40 40 0 0 1 0-56.56Z" opacity=".2"/><path d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m39.1 131.79a47.84 47.84 0 0 0 0-55.58l28.5-28.49a87.83 87.83 0 0 1 0 112.56ZM96 128a32 32 0 1 1 32 32a32 32 0 0 1-32-32m88.28-67.6l-28.49 28.5a47.84 47.84 0 0 0-55.58 0L71.72 60.4a87.83 87.83 0 0 1 112.56 0M60.4 71.72l28.5 28.49a47.84 47.84 0 0 0 0 55.58l-28.5 28.49a87.83 87.83 0 0 1 0-112.56M71.72 195.6l28.49-28.5a47.84 47.84 0 0 0 55.58 0l28.49 28.5a87.83 87.83 0 0 1-112.56 0"/></g></symbol><symbol id="ph-wikis" viewBox="0 0 256 256"><g fill="currentColor"><path d="M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96" opacity=".2"/><path d="M140 180a12 12 0 1 1-12-12a12 12 0 0 1 12 12M128 72c-22.06 0-40 16.15-40 36v4a8 8 0 0 0 16 0v-4c0-11 10.77-20 24-20s24 9 24 20s-10.77 20-24 20a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-.72c18.24-3.35 32-17.9 32-35.28c0-19.85-17.94-36-40-36m104 56A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88"/></g></symbol><symbol id="ph-shield" viewBox="0 0 256 256"><g fill="currentColor"><path d="M216 56v56c0 96-88 120-88 120s-88-24-88-120V56a8 8 0 0 1 8-8h160a8 8 0 0 1 8 8" opacity=".2"/><path d="M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19c23.06 18.86 46 25.26 47 25.53a8 8 0 0 0 4.2 0c1-.27 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 72c0 37.07-13.66 67.16-40.6 89.42a129.3 129.3 0 0 1-39.4 22.2a128.3 128.3 0 0 1-38.92-21.81C61.82 179.51 48 149.3 48 112V56h160ZM82.34 141.66a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 11.32l-56 56a8 8 0 0 1-11.32 0Z"/></g></symbol><symbol id="ph-architecture" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 80l-96 56l-96-56l96-56Z" opacity=".2"/><path d="M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z"/></g></symbol><symbol id="ph-mail" viewBox="0 0 256 256"><g fill="currentColor"><path d="m224 56l-96 88l-96-88Z" opacity=".2"/><path d="M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-20.57 16L128 133.15L52.57 64ZM216 192H40V74.19l82.59 75.71a8 8 0 0 0 10.82 0L216 74.19z"/></g></symbol><symbol id="ph-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>
|
|
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></svg>
|
|
19
19
|
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
|
|
20
20
|
<symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
|
|
21
21
|
<line x1="8" x2="16" y1="21" y2="21" />
|
|
@@ -101,26 +101,22 @@
|
|
|
101
101
|
<header class="nav" id="navigation">
|
|
102
102
|
<div class="nav__bar">
|
|
103
103
|
<a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><picture><source srcset="../../img/wordmark-white.webp" media="(prefers-color-scheme: dark)"><img src="../../img/wordmark.webp" alt="" width="160" height="76"></picture><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
|
|
104
|
-
<nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="
|
|
104
|
+
<nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></nav>
|
|
105
105
|
<div class="nav__end">
|
|
106
106
|
<button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
|
|
107
107
|
<button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
|
|
108
108
|
</div>
|
|
109
109
|
</div>
|
|
110
|
-
<div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="
|
|
110
|
+
<div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li><li><a href="../index.html" aria-current="page"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li><li><a href="../../security/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li><li><a href="../../architecture-map/index.html"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li><li><a href="https://forgeqe.github.io/contact/"><svg class="pix pix--nav ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li></ul></div>
|
|
111
111
|
</header>
|
|
112
112
|
<div class="container docs-layout">
|
|
113
113
|
<nav class="docs-side" aria-label="Docs">
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
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>
|
|
114
|
+
<a class="side-home" href="../index.html"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
115
|
+
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="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>
|
|
116
|
+
</nav>
|
|
122
117
|
<main id="main" class="docs-main">
|
|
123
|
-
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>
|
|
118
|
+
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>For contributors</p>
|
|
119
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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><li><a href="../graphify/index.html"><span>Reading product code</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>Architecture</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="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
120
|
<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
121
|
<article class="prose">
|
|
126
122
|
<p>Status: design, agreed before building. Nothing here is built yet unless a phase says done.</p>
|
|
@@ -172,20 +168,20 @@ before the next starts.</li>
|
|
|
172
168
|
</ol>
|
|
173
169
|
<h2 id="the-run-record"><a href="#the-run-record" class="hash">#</a>The run record</h2>
|
|
174
170
|
<p>One record per agent run (<code>.forgeqe/evidence/runs/&lt;run-id>.json</code>, a versioned schema), whatever produced it:</p>
|
|
175
|
-
<div class="tbl"><table>
|
|
171
|
+
<div class="tbl tbl--cols-3"><table>
|
|
176
172
|
<thead>
|
|
177
173
|
<tr><th>Part</th><th>What</th><th>Notes</th></tr>
|
|
178
174
|
</thead>
|
|
179
175
|
<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 "the same" 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 ("tests passed", "done", "I checked X")</td><td>checked, never trusted</td></tr>
|
|
188
|
-
<tr><td>gaps</td><td>what the source could not say</td><td>an honest "not known"</td></tr>
|
|
176
|
+
<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>
|
|
177
|
+
<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 "the same" agent with a different digest are different versions</td></tr>
|
|
178
|
+
<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>
|
|
179
|
+
<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>
|
|
180
|
+
<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>
|
|
181
|
+
<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>
|
|
182
|
+
<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>
|
|
183
|
+
<tr><td data-label="Part">statements</td><td data-label="What">what the agent said about its own work ("tests passed", "done", "I checked X")</td><td data-label="Notes">checked, never trusted</td></tr>
|
|
184
|
+
<tr><td data-label="Part">gaps</td><td data-label="What">what the source could not say</td><td data-label="Notes">an honest "not known"</td></tr>
|
|
189
185
|
</tbody>
|
|
190
186
|
</table></div>
|
|
191
187
|
<p>Sources (E1, built): ForgeQE's own agents, from their session logs (<code>src/evidence/forgeqe.ts</code>); OpenTelemetry traces,
|
|
@@ -207,11 +203,11 @@ Scores and feedback on a run are someone's judgement of it, not the run, and are
|
|
|
207
203
|
<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
204
|
(JSON or protobuf, gzipped or not; <code>src/evidence/receiver.ts</code>) that an agent under test sends its traces to with the
|
|
209
205
|
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&lt;token>
|
|
212
|
-
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
|
|
213
|
-
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
|
|
214
|
-
</code></pre></div>
|
|
206
|
+
<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
|
|
207
|
+
</span></span><span class="ln"><span class="cmd">OTEL_EXPORTER_OTLP_TRACES_HEADERS=Authorization=Bearer%20&lt;token>
|
|
208
|
+
</span></span><span class="ln"><span class="cmd">OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
|
|
209
|
+
</span></span><span class="ln"><span class="cmd">OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
|
|
210
|
+
</span></span></code></pre></div>
|
|
215
211
|
<p>Spans are kept per trace as they arrive (<code>.forgeqe/evidence/incoming/</code>, owner only). A span ends before its parent, so
|
|
216
212
|
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
213
|
after five minutes with no root (the record then says part of the trace is missing). Ctrl+C records every trace still
|
|
@@ -245,30 +241,30 @@ sensitive values replaced before they are committed.</p>
|
|
|
245
241
|
<li>when it must hand over to a person.</li>
|
|
246
242
|
</ul>
|
|
247
243
|
<p><strong>Built (E2).</strong> <code>.forgeqe/evidence/contracts/&lt;name>.yaml</code> (<code>src/evidence/contract.ts</code>); <code>forgeqe evidence contract new "&lt;agent>"</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
|
|
249
|
-
version: 1
|
|
250
|
-
purpose: Decides home-insurance claims within the policy.
|
|
251
|
-
versions: ["2.1.0"]
|
|
252
|
-
steps:
|
|
253
|
-
required
|
|
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]
|
|
258
|
-
forbidden: [delete_claim]
|
|
259
|
-
agents: [fraud-check]
|
|
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 }]
|
|
264
|
-
person_decides
|
|
265
|
-
- { id: big-approvals, step: { tool: approve_claim }, args: { amount: { over: 5000 } } }
|
|
266
|
-
after_failure
|
|
267
|
-
- { id: approval-failed, step: { tool: approve_claim } }
|
|
268
|
-
statements
|
|
269
|
-
- { id: approved, says: [approved, have approved], needs: { tool: approve_claim } }
|
|
270
|
-
gate: { required_steps: 0.95, allowed_actions: 0.95 }
|
|
271
|
-
</code></pre></div>
|
|
244
|
+
<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
|
|
245
|
+
</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
|
|
246
|
+
</span></span><span class="ln"><span class="cmd">purpose: Decides home-insurance claims within the policy.
|
|
247
|
+
</span></span><span class="ln ln--pair"><span class="cmd">versions: ["2.1.0"]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> agent versions it is for (absent: every version)
|
|
248
|
+
</span></span><span class="ln"><span class="cmd">steps:
|
|
249
|
+
</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
|
|
250
|
+
</span></span><span class="ln"><span class="cmd"> - { id: read-policy, step: { tool: get_policy }, before: { tool: [approve_claim, deny_claim] } }
|
|
251
|
+
</span></span><span class="ln"><span class="cmd"> - { id: fraud-check, step: { handoff: fraud-check }, before: { tool: approve_claim } }
|
|
252
|
+
</span></span><span class="ln"><span class="cmd">actions:
|
|
253
|
+
</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
|
|
254
|
+
</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
|
|
255
|
+
</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
|
|
256
|
+
</span></span><span class="ln"><span class="cmd"> max_calls: { approve_claim: 1 }
|
|
257
|
+
</span></span><span class="ln"><span class="cmd">limits: { steps: 30, tool_calls: 20, model_calls: 15, failures: 3, repeats: 2, minutes: 10 }
|
|
258
|
+
</span></span><span class="ln"><span class="cmd">handover:
|
|
259
|
+
</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
|
|
260
|
+
</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
|
|
261
|
+
</span></span><span class="ln"><span class="cmd"> - { id: big-approvals, step: { tool: approve_claim }, args: { amount: { over: 5000 } } }
|
|
262
|
+
</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
|
|
263
|
+
</span></span><span class="ln"><span class="cmd"> - { id: approval-failed, step: { tool: approve_claim } }
|
|
264
|
+
</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
|
|
265
|
+
</span></span><span class="ln"><span class="cmd"> - { id: approved, says: [approved, have approved], needs: { tool: approve_claim } }
|
|
266
|
+
</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
|
|
267
|
+
</span></span></code></pre></div>
|
|
272
268
|
<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
269
|
times in a row the same call (same tool, same arguments) may be repeated. A phrase is matched as whole words,
|
|
274
270
|
case-insensitively, and not when a negating word comes just before it in its sentence ("could not be approved").</p>
|
|
@@ -281,16 +277,16 @@ version judges. A contract nobody approved still judges, but only warns. ForgeQE
|
|
|
281
277
|
<code>.forgeqe/</code> (<code>ownPaths</code>), so an agent cannot change its contract, its records or its verdicts.</p>
|
|
282
278
|
<h2 id="the-lenses"><a href="#the-lenses" class="hash">#</a>The lenses</h2>
|
|
283
279
|
<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>
|
|
280
|
+
<div class="tbl tbl--cols-2"><table>
|
|
285
281
|
<thead>
|
|
286
282
|
<tr><th>Check</th><th>Decided by</th></tr>
|
|
287
283
|
</thead>
|
|
288
284
|
<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: "tests passed" with no test step, or failed ones, is a finding</td></tr>
|
|
285
|
+
<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>
|
|
286
|
+
<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>
|
|
287
|
+
<tr><td data-label="Check">Limits</td><td data-label="Decided by">Retries, loops, steps, cost and time against the contract</td></tr>
|
|
288
|
+
<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>
|
|
289
|
+
<tr><td data-label="Check">Statements</td><td data-label="Decided by">Each statement against the record: "tests passed" with no test step, or failed ones, is a finding</td></tr>
|
|
294
290
|
</tbody>
|
|
295
291
|
</table></div>
|
|
296
292
|
<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
|
|
@@ -308,30 +304,30 @@ contract, and case.json with the findings each record must give). The measuremen
|
|
|
308
304
|
is no stored number to change. <code>forgeqe evidence measure</code> prints it. On ForgeQE's labelled runs alone, required steps,
|
|
309
305
|
allowed actions and statements have enough labelled findings to gate; limits and hand-over need a team's own.</p>
|
|
310
306
|
<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>
|
|
307
|
+
<div class="tbl tbl--cols-2"><table>
|
|
312
308
|
<thead>
|
|
313
309
|
<tr><th>Check</th><th>Decided by</th></tr>
|
|
314
310
|
</thead>
|
|
315
311
|
<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>
|
|
312
|
+
<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>
|
|
313
|
+
<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>
|
|
314
|
+
<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>
|
|
315
|
+
<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>
|
|
316
|
+
<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
317
|
</tbody>
|
|
322
318
|
</table></div>
|
|
323
319
|
<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
|
|
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
|
|
330
|
-
facts: true
|
|
331
|
-
reasons
|
|
332
|
-
- { id: cites-policy, says: [policy covers, policy excludes, the policy says], needs: { from: get_policy } }
|
|
333
|
-
instructions: { phrases: [per management] }
|
|
334
|
-
</code></pre></div>
|
|
320
|
+
<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
|
|
321
|
+
</span></span><span class="ln"><span class="cmd"> - { id: policy-first, decision: { chose: [approve_claim, deny_claim] }, needs: [{ from: get_claim }, { from: get_policy }] }
|
|
322
|
+
</span></span><span class="ln"><span class="cmd">data:
|
|
323
|
+
</span></span><span class="ln"><span class="cmd"> allowed: [{ kind: request }, { from: [get_claim, get_policy, approve_claim, deny_claim, refer_to_person] }]
|
|
324
|
+
</span></span><span class="ln"><span class="cmd"> forbidden: [{ from: crm_export }]
|
|
325
|
+
</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
|
|
326
|
+
</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
|
|
327
|
+
</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
|
|
328
|
+
</span></span><span class="ln"><span class="cmd"> - { id: cites-policy, says: [policy covers, policy excludes, the policy says], needs: { from: get_policy } }
|
|
329
|
+
</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
|
|
330
|
+
</span></span></code></pre></div>
|
|
335
331
|
<ul>
|
|
336
332
|
<li><strong>Grounded decisions</strong>: each decision a rule names had every input it needs, taken in at or before its step.</li>
|
|
337
333
|
<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,16 +360,16 @@ without content.</p>
|
|
|
364
360
|
each stated". For software it is the product knowledge graph; for a business process, its policies and rules (from
|
|
365
361
|
documents, Confluence, Jira and Azure DevOps acceptance criteria).</p>
|
|
366
362
|
<p>For a software change (first domain, built on the product graph):</p>
|
|
367
|
-
<div class="tbl"><table>
|
|
363
|
+
<div class="tbl tbl--cols-2"><table>
|
|
368
364
|
<thead>
|
|
369
365
|
<tr><th>Check</th><th>Example finding</th></tr>
|
|
370
366
|
</thead>
|
|
371
367
|
<tbody>
|
|
372
|
-
<tr><td>Business rules</td><td>"orders.status set directly in OrdersController.ts:88; the graph shows status changes go through OrderWorkflow.transition()"</td></tr>
|
|
373
|
-
<tr><td>Architecture and patterns</td><td>"payments now reads orders' tables directly; elsewhere Commerce calls the Orders API"</td></tr>
|
|
374
|
-
<tr><td>Dependencies</td><td>"GET /api/orders/:id response changed; web/src/api/orders.ts:4 reads <code>status</code>"</td></tr>
|
|
375
|
-
<tr><td>Regression</td><td>"Cancel an order is changed; no test reaches POST /api/orders/:id/cancel"</td></tr>
|
|
376
|
-
<tr><td>Security</td><td>"DELETE /api/orders/:id has no authorization; the other order endpoints require a signed-in user"</td></tr>
|
|
368
|
+
<tr><td data-label="Check">Business rules</td><td data-label="Example finding">"orders.status set directly in OrdersController.ts:88; the graph shows status changes go through OrderWorkflow.transition()"</td></tr>
|
|
369
|
+
<tr><td data-label="Check">Architecture and patterns</td><td data-label="Example finding">"payments now reads orders' tables directly; elsewhere Commerce calls the Orders API"</td></tr>
|
|
370
|
+
<tr><td data-label="Check">Dependencies</td><td data-label="Example finding">"GET /api/orders/:id response changed; web/src/api/orders.ts:4 reads <code>status</code>"</td></tr>
|
|
371
|
+
<tr><td data-label="Check">Regression</td><td data-label="Example finding">"Cancel an order is changed; no test reaches POST /api/orders/:id/cancel"</td></tr>
|
|
372
|
+
<tr><td data-label="Check">Security</td><td data-label="Example finding">"DELETE /api/orders/:id has no authorization; the other order endpoints require a signed-in user"</td></tr>
|
|
377
373
|
</tbody>
|
|
378
374
|
</table></div>
|
|
379
375
|
<p>These are decided on facts, not on reading the diff: the graph's own extractor is run on each changed file before and
|
|
@@ -383,17 +379,17 @@ is exact, then read against the graph.</p>
|
|
|
383
379
|
given, files not yet added included; git with an argument list, refs checked, binary files and links left out,
|
|
384
380
|
<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, "Was its change
|
|
385
381
|
right for the product?", contract or not.</p>
|
|
386
|
-
<div class="tbl"><table>
|
|
382
|
+
<div class="tbl tbl--cols-2"><table>
|
|
387
383
|
<thead>
|
|
388
384
|
<tr><th>Check</th><th>What it finds, by code</th></tr>
|
|
389
385
|
</thead>
|
|
390
386
|
<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 ("sets orders to cancelled in admin.ts:13; until now workflow.ts:5 is where that is done"); 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 ("The code says why: "Every change of an order's status goes through here…" (workflow.ts:3)"), 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 ("cancel was declared <code>cancel(orderId)</code> and is now <code>cancel(orderId, reason)</code>; routes/orders.ts:21 calls it")</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>
|
|
387
|
+
<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 ("sets orders to cancelled in admin.ts:13; until now workflow.ts:5 is where that is done"); 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 ("The code says why: "Every change of an order's status goes through here…" (workflow.ts:3)"), read from the file (<code>src/product/why.ts</code>) and never repeated when it speaks to an agent</td></tr>
|
|
388
|
+
<tr><td data-label="Check">Architecture</td><td data-label="What it finds, by code">a table of another service used directly</td></tr>
|
|
389
|
+
<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 ("cancel was declared <code>cancel(orderId)</code> and is now <code>cancel(orderId, reason)</code>; routes/orders.ts:21 calls it")</td></tr>
|
|
390
|
+
<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>
|
|
391
|
+
<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>
|
|
392
|
+
<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
393
|
</tbody>
|
|
398
394
|
</table></div>
|
|
399
395
|
<p>The function checks read the code's calls from the product graph (Graphify, docs/GRAPHIFY.md): the functions a change
|
|
@@ -423,27 +419,27 @@ golden set people graded before they are trusted.</p>
|
|
|
423
419
|
<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
420
|
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
421
|
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
|
|
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
|
|
433
|
-
rubric
|
|
434
|
-
criteria: [Says what was decided., Says what the customer must do next.]
|
|
435
|
-
pass: 4
|
|
436
|
-
judge_runs: 3
|
|
437
|
-
agree: 0.8
|
|
438
|
-
</code></pre></div>
|
|
439
|
-
<div class="tbl"><table>
|
|
422
|
+
<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:
|
|
423
|
+
</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
|
|
424
|
+
</span></span><span class="ln"><span class="cmd"> - { id: length, min_words: 8, max_words: 60 }
|
|
425
|
+
</span></span><span class="ln"><span class="cmd"> - { id: names-decision, says_any: [approved, declined, referred] }
|
|
426
|
+
</span></span><span class="ln"><span class="cmd"> - { id: next-step, says: [you will] }
|
|
427
|
+
</span></span><span class="ln"><span class="cmd"> - { id: no-promises, not_says: [guarantee, promise] }
|
|
428
|
+
</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)
|
|
429
|
+
</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
|
|
430
|
+
</span></span><span class="ln"><span class="cmd"> criteria: [Says what was decided., Says what the customer must do next.]
|
|
431
|
+
</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)
|
|
432
|
+
</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)
|
|
433
|
+
</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
|
|
434
|
+
</span></span></code></pre></div>
|
|
435
|
+
<div class="tbl tbl--cols-2"><table>
|
|
440
436
|
<thead>
|
|
441
437
|
<tr><th>Check</th><th>Decided by</th></tr>
|
|
442
438
|
</thead>
|
|
443
439
|
<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 ("we cannot guarantee" does not say "guarantee")</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 "supported" only with a quote it finds again in the input named, takes "claims nothing" as not known when the sentence states an amount, id, e-mail or date, and makes "unsupported" 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>
|
|
440
|
+
<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 ("we cannot guarantee" does not say "guarantee")</td></tr>
|
|
441
|
+
<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 "supported" only with a quote it finds again in the input named, takes "claims nothing" as not known when the sentence states an amount, id, e-mail or date, and makes "unsupported" not known when an input is kept as a fingerprint or in part, or the inputs were too long to give whole</td></tr>
|
|
442
|
+
<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
443
|
</tbody>
|
|
448
444
|
</table></div>
|
|
449
445
|
<p><code>forgeqe evidence judge &lt;run></code> asks the model and keeps its readings in <code>.forgeqe/evidence/judged/&lt;run>.&lt;contract>.json</code>;
|
|
@@ -500,48 +496,48 @@ annotation and passes the check (advisory), and an agent's run under an approved
|
|
|
500
496
|
agent's work goes through two fix attempts to "a person takes over", a third is refused, and a person's overrules on
|
|
501
497
|
the page take it off the queue.</p>
|
|
502
498
|
<h2 id="the-lifecycle"><a href="#the-lifecycle" class="hash">#</a>The lifecycle</h2>
|
|
503
|
-
<div class="tbl"><table>
|
|
499
|
+
<div class="tbl tbl--cols-3"><table>
|
|
504
500
|
<thead>
|
|
505
501
|
<tr><th>Stage</th><th>Before release</th><th>After go-live</th></tr>
|
|
506
502
|
</thead>
|
|
507
503
|
<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>
|
|
504
|
+
<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>
|
|
505
|
+
<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>
|
|
506
|
+
<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>
|
|
507
|
+
<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>
|
|
508
|
+
<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>
|
|
509
|
+
<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
510
|
</tbody>
|
|
515
511
|
</table></div>
|
|
516
512
|
<p><strong>Built (E6, before release)</strong> in <code>src/evidence/scenarios.ts</code>. An agent's scenario suite,
|
|
517
513
|
<code>.forgeqe/evidence/scenarios/&lt;name>.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
|
|
523
|
-
request: Decide claim C-200
|
|
524
|
-
expect
|
|
525
|
-
chose: [approve_claim]
|
|
526
|
-
not_chose: [delete_claim]
|
|
527
|
-
says: [approved]
|
|
528
|
-
not_says: [refunded]
|
|
529
|
-
clean: true
|
|
530
|
-
</code></pre></div>
|
|
514
|
+
<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
|
|
515
|
+
</span></span><span class="ln"><span class="cmd">version: 1
|
|
516
|
+
</span></span><span class="ln"><span class="cmd">scenarios:
|
|
517
|
+
</span></span><span class="ln"><span class="cmd"> - id: storm-roof
|
|
518
|
+
</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
|
|
519
|
+
</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
|
|
520
|
+
</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
|
|
521
|
+
</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)
|
|
522
|
+
</span></span><span class="ln"><span class="cmd"> not_chose: [delete_claim]
|
|
523
|
+
</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
|
|
524
|
+
</span></span><span class="ln"><span class="cmd"> not_says: [refunded]
|
|
525
|
+
</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)
|
|
526
|
+
</span></span></code></pre></div>
|
|
531
527
|
<p>ForgeQE does not run another team's agent: the team runs each scenario's request through a version in its sandbox and
|
|
532
528
|
records the runs as usual (<code>forgeqe evidence scenarios &lt;agent></code> lists them for a harness). A run is a scenario's when
|
|
533
529
|
its agent, version and request match exactly; a scenario passes for a version only when every run of it passes, so one
|
|
534
530
|
bad run of a flaky agent is a failure. <code>forgeqe evidence release &lt;agent> --candidate &lt;v> --live &lt;v></code> is the gate (exit 1
|
|
535
531
|
when held; each decision kept in <code>releases.jsonl</code>):</p>
|
|
536
|
-
<div class="tbl"><table>
|
|
532
|
+
<div class="tbl tbl--cols-2"><table>
|
|
537
533
|
<thead>
|
|
538
534
|
<tr><th>The candidate is held when</th><th>Measured as</th></tr>
|
|
539
535
|
</thead>
|
|
540
536
|
<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 < 0.05), otherwise held as "may be worse: run more repeats to tell" (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>
|
|
537
|
+
<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 < 0.05), otherwise held as "may be worse: run more repeats to tell" (B5)</td></tr>
|
|
538
|
+
<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>
|
|
539
|
+
<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>
|
|
540
|
+
<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
541
|
</tbody>
|
|
546
542
|
</table></div>
|
|
547
543
|
<p>Not known is never a pass either. The gate decides nothing: a person releases. The Releases page (<code>#/evidence-releases</code>)
|
|
@@ -555,16 +551,16 @@ page in <code>forgeqe web</code> (Overview, then the agent). Every number is a t
|
|
|
555
551
|
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
552
|
Nothing is stored; it is worked out each time from the runs and their verdicts as judging gives them now, with people's
|
|
557
553
|
overrules applied.</p>
|
|
558
|
-
<div class="tbl"><table>
|
|
554
|
+
<div class="tbl tbl--cols-2"><table>
|
|
559
555
|
<thead>
|
|
560
556
|
<tr><th>Shown</th><th>Counted as</th></tr>
|
|
561
557
|
</thead>
|
|
562
558
|
<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>
|
|
559
|
+
<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>
|
|
560
|
+
<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>
|
|
561
|
+
<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>
|
|
562
|
+
<tr><td data-label="Shown">Week by week</td><td data-label="Counted as">the runs of each ISO week by verdict</td></tr>
|
|
563
|
+
<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
564
|
</tbody>
|
|
569
565
|
</table></div>
|
|
570
566
|
<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,15 +569,15 @@ up to its runs.</p>
|
|
|
573
569
|
<h2 id="learn-e9"><a href="#learn-e9" class="hash">#</a>Learn (E9)</h2>
|
|
574
570
|
<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
571
|
<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>
|
|
572
|
+
<div class="tbl tbl--cols-2"><table>
|
|
577
573
|
<thead>
|
|
578
574
|
<tr><th>Finding</th><th>Causes code proposes</th></tr>
|
|
579
575
|
</thead>
|
|
580
576
|
<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 ("Before you call approve_claim, always call get_policy.")</td></tr>
|
|
577
|
+
<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>
|
|
578
|
+
<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>
|
|
579
|
+
<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>
|
|
580
|
+
<tr><td data-label="Finding">Any other</td><td data-label="Causes code proposes">the agent's instructions, in the contract's own words ("Before you call approve_claim, always call get_policy.")</td></tr>
|
|
585
581
|
</tbody>
|
|
586
582
|
</table></div>
|
|
587
583
|
<p>The instruction for a rule is written from the contract, never from the run's text: an instruction found in data is
|
|
@@ -618,30 +614,30 @@ fingerprints of the contents it had, each check's pass rate, the contract that j
|
|
|
618
614
|
judge was calibrated.</p>
|
|
619
615
|
<p><strong>Drift.</strong> <code>forgeqe evidence drift &lt;agent> | --all [--notify] [--json]</code> compares every run since the baseline (any
|
|
620
616
|
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>
|
|
617
|
+
<div class="tbl tbl--cols-2"><table>
|
|
622
618
|
<thead>
|
|
623
619
|
<tr><th>Alert</th><th>When</th></tr>
|
|
624
620
|
</thead>
|
|
625
621
|
<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>
|
|
622
|
+
<tr><td data-label="Alert">Model</td><td data-label="When">a model answered that the baseline never had</td></tr>
|
|
623
|
+
<tr><td data-label="Alert">Tool</td><td data-label="When">a tool was called that the baseline never called</td></tr>
|
|
624
|
+
<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>
|
|
625
|
+
<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>
|
|
626
|
+
<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>
|
|
627
|
+
<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
628
|
</tbody>
|
|
633
629
|
</table></div>
|
|
634
630
|
<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
631
|
<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>
|
|
632
|
+
<div class="tbl tbl--cols-3"><table>
|
|
637
633
|
<thead>
|
|
638
634
|
<tr><th>Level</th><th>Means</th><th>Needs</th></tr>
|
|
639
635
|
</thead>
|
|
640
636
|
<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>
|
|
637
|
+
<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>
|
|
638
|
+
<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>
|
|
639
|
+
<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>
|
|
640
|
+
<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
641
|
</tbody>
|
|
646
642
|
</table></div>
|
|
647
643
|
<p>A person grants a level (<code>forgeqe evidence trust &lt;agent> &lt;level> --reason "…"</code> at a terminal typing the agent's name, or
|
|
@@ -659,17 +655,17 @@ skip the policy), a new tool, and runs with no change; each gives exactly its al
|
|
|
659
655
|
is judged before release without anyone recording runs by hand: <code>forgeqe evidence run-suite &lt;agent> --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
656
|
release gate (exit 1 when held).</p>
|
|
661
657
|
<p>How to run each version is the agent's harness, <code>.forgeqe/evidence/harness/&lt;agent>.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
|
-
"2.2.0": { command: [opentelemetry-instrument, python, agent.py, "{request}"], cwd: agents/claims }
|
|
665
|
-
"2.1.0": { command: [python, agent_v21.py, "{request}"], cwd: agents/claims }
|
|
666
|
-
request: argv
|
|
667
|
-
capture: { otlp: true }
|
|
668
|
-
timeout: 300
|
|
669
|
-
env: { CLAIMS_API: "http://127.0.0.1:9000" }
|
|
670
|
-
pass_env: [OPENAI_API_KEY]
|
|
671
|
-
sandbox: host
|
|
672
|
-
</code></pre></div>
|
|
658
|
+
<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
|
|
659
|
+
</span></span><span class="ln"><span class="cmd">versions:
|
|
660
|
+
</span></span><span class="ln"><span class="cmd"> "2.2.0": { command: [opentelemetry-instrument, python, agent.py, "{request}"], cwd: agents/claims }
|
|
661
|
+
</span></span><span class="ln"><span class="cmd"> "2.1.0": { command: [python, agent_v21.py, "{request}"], cwd: agents/claims }
|
|
662
|
+
</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)
|
|
663
|
+
</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
|
|
664
|
+
</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
|
|
665
|
+
</span></span><span class="ln ln--pair"><span class="cmd">env: { CLAIMS_API: "http://127.0.0.1:9000" }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> plain values; never a secret
|
|
666
|
+
</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
|
|
667
|
+
</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 }
|
|
668
|
+
</span></span></code></pre></div>
|
|
673
669
|
<p>It can come from the repository and it runs commands, so it is read like a contract (known keys, no aliases, plain
|
|
674
670
|
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></code>); the copy is checked against its digest on every read. A command is a list of arguments,
|
|
675
671
|
never a shell: the request is one argument, as it is, however it is worded. Each run gets system settings, the
|
|
@@ -697,30 +693,30 @@ judged first by whether it works, then by how the agent got there. Evidence does
|
|
|
697
693
|
<code>forgeqe evidence build-check &lt;name> --base main --head agent/branch [--run &lt;id>]</code> (or <code>ci --verify &lt;name></code> on a pull
|
|
698
694
|
request) checks the repository out clean at the base and with the change (git worktrees, hooks off), runs the
|
|
699
695
|
repository's own setup, build and tests in each, and compares the JUnit results test by test:</p>
|
|
700
|
-
<div class="tbl"><table>
|
|
696
|
+
<div class="tbl tbl--cols-2"><table>
|
|
701
697
|
<thead>
|
|
702
698
|
<tr><th>Finding</th><th>When</th></tr>
|
|
703
699
|
</thead>
|
|
704
700
|
<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>
|
|
701
|
+
<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>
|
|
702
|
+
<tr><td data-label="Finding">new-test-failed</td><td data-label="When">a test the change adds fails</td></tr>
|
|
703
|
+
<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>
|
|
704
|
+
<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>
|
|
705
|
+
<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
706
|
</tbody>
|
|
711
707
|
</table></div>
|
|
712
708
|
<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
709
|
passes is flaky, said and not counted. Without JUnit results the tests are judged by their exit code only, and it says
|
|
714
710
|
so. How the repository is built is its verify file, <code>.forgeqe/evidence/verify/&lt;name>.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
|
|
717
|
-
image: node:20-slim
|
|
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
|
|
723
|
-
</code></pre></div>
|
|
711
|
+
<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
|
|
712
|
+
</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
|
|
713
|
+
</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
|
|
714
|
+
</span></span><span class="ln"><span class="cmd">setup: [[npm, ci]]
|
|
715
|
+
</span></span><span class="ln"><span class="cmd">build: [[npm, run, build]]
|
|
716
|
+
</span></span><span class="ln"><span class="cmd">test: [[npx, vitest, run, --reporter=junit, --outputFile=junit.xml]]
|
|
717
|
+
</span></span><span class="ln"><span class="cmd">results: [junit.xml]
|
|
718
|
+
</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)
|
|
719
|
+
</span></span></code></pre></div>
|
|
724
720
|
<p>Commands are argument lists, never a shell; the file can come from the repository and runs commands, so only its
|
|
725
721
|
approved copy runs (<code>forgeqe evidence verify approve &lt;name></code>, a person typing its name), checked against its digest.
|
|
726
722
|
In the container the checkout is mounted, the container runs as this user with no privilege raised, and values are
|
|
@@ -729,19 +725,19 @@ build, a removed test, a flaky test and a fix of a test that failed at the base;
|
|
|
729
725
|
<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
726
|
<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
727
|
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]
|
|
737
|
-
order: [get_claim, get_policy, approve_claim]
|
|
738
|
-
never: [delete_claim]
|
|
739
|
-
at_most: { get_policy: 2 }
|
|
740
|
-
total: 12
|
|
741
|
-
reference: [get_claim, get_policy, fraud-check, approve_claim]
|
|
742
|
-
min_match: 0.75
|
|
743
|
-
|
|
744
|
-
</code></pre></div>
|
|
728
|
+
<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
|
|
729
|
+
</span></span><span class="ln"><span class="cmd"> kind: story
|
|
730
|
+
</span></span><span class="ln"><span class="cmd"> request: Decide claim C-201
|
|
731
|
+
</span></span><span class="ln"><span class="cmd"> path:
|
|
732
|
+
</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
|
|
733
|
+
</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
|
|
734
|
+
</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
|
|
735
|
+
</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
|
|
736
|
+
</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
|
|
737
|
+
</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
|
|
738
|
+
</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)
|
|
739
|
+
</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
|
|
740
|
+
</span></span></code></pre></div>
|
|
745
741
|
<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
742
|
F1 of the longest common subsequence of the run's path and the reference (in the spirit of Ragas' tool call
|
|
747
743
|
accuracy); step efficiency is the reference's length over the run's, at most 1. A rule broken is an expectation not
|
|
@@ -752,18 +748,18 @@ expected against actual step by step (expected and not done, done and not expect
|
|
|
752
748
|
<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
749
|
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
750
|
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 }
|
|
763
|
-
override: { absent: true }
|
|
764
|
-
- tool: delete_claim
|
|
765
|
-
times: { max: 0 }
|
|
766
|
-
</code></pre></div>
|
|
751
|
+
<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:
|
|
752
|
+
</span></span><span class="ln"><span class="cmd"> - tool: approve_claim
|
|
753
|
+
</span></span><span class="ln"><span class="cmd"> times: { min: 1, max: 1 }
|
|
754
|
+
</span></span><span class="ln"><span class="cmd"> args:
|
|
755
|
+
</span></span><span class="ln"><span class="cmd"> claim: { equals: C-201 }
|
|
756
|
+
</span></span><span class="ln"><span class="cmd"> amount: { min: 1, max: 5000 }
|
|
757
|
+
</span></span><span class="ln"><span class="cmd"> currency: { one_of: [EUR] }
|
|
758
|
+
</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
|
|
759
|
+
</span></span><span class="ln"><span class="cmd"> override: { absent: true }
|
|
760
|
+
</span></span><span class="ln"><span class="cmd"> - tool: delete_claim
|
|
761
|
+
</span></span><span class="ln"><span class="cmd"> times: { max: 0 }
|
|
762
|
+
</span></span></code></pre></div>
|
|
767
763
|
<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
764
|
run. A call not as expected is an expectation not met, so it counts in the release gate; arguments kept only as a
|
|
769
765
|
fingerprint are not known, which is not met.</p>
|
|
@@ -771,18 +767,18 @@ fingerprint are not known, which is not met.</p>
|
|
|
771
767
|
the behaviour lens): a subset of JSON Schema (type, required, properties, additionalProperties, enum, const, minimum,
|
|
772
768
|
maximum, exclusive bounds, lengths, items). What ForgeQE does not check (a <code>pattern</code>, a <code>$ref</code>) is refused, not
|
|
773
769
|
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>
|
|
770
|
+
<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:
|
|
771
|
+
</span></span><span class="ln"><span class="cmd"> approve_claim:
|
|
772
|
+
</span></span><span class="ln"><span class="cmd"> type: object
|
|
773
|
+
</span></span><span class="ln"><span class="cmd"> required: [claim, amount]
|
|
774
|
+
</span></span><span class="ln"><span class="cmd"> properties: { claim: { type: string }, amount: { type: number, exclusiveMinimum: 0, maximum: 5000 } }
|
|
775
|
+
</span></span><span class="ln"><span class="cmd"> additionalProperties: false
|
|
776
|
+
</span></span></code></pre></div>
|
|
781
777
|
<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
778
|
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: ["src/**", "tests/**"], never_edit: [".github/**", "**/*.lock"] }
|
|
785
|
-
</code></pre></div>
|
|
779
|
+
<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:
|
|
780
|
+
</span></span><span class="ln"><span class="cmd"> files: { tools: [edit_file], may_edit: ["src/**", "tests/**"], never_edit: [".github/**", "**/*.lock"] }
|
|
781
|
+
</span></span></code></pre></div>
|
|
786
782
|
<p>Labelled runs (<code>evals/evidence/behaviour/b4-*</code>): valid inputs, an amount sent as text, a field the schema does not
|
|
787
783
|
take, a required field missing, an amount over the maximum, a currency not allowed; edits inside scope, a CI workflow
|
|
788
784
|
edited, infrastructure edited, a lock file edited deep in the tree; each gives exactly its findings.</p>
|
|
@@ -810,15 +806,15 @@ the agent (another suite file, outside its repository), so they keep measuring w
|
|
|
810
806
|
<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
807
|
items' acceptance criteria, in the defects raised against it, and in its runs that failed. Evidence drafts scenarios
|
|
812
808
|
from them; <strong>a person decides</strong> each one, and nothing is added by itself.</p>
|
|
813
|
-
<div class="tbl"><table>
|
|
809
|
+
<div class="tbl tbl--cols-3"><table>
|
|
814
810
|
<thead>
|
|
815
811
|
<tr><th>Source</th><th>Drafted by</th><th>What the draft is</th></tr>
|
|
816
812
|
</thead>
|
|
817
813
|
<tbody>
|
|
818
|
-
<tr><td>A run that failed (<code>--run &lt;id></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>
|
|
814
|
+
<tr><td data-label="Source">A run that failed (<code>--run &lt;id></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>
|
|
815
|
+
<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>
|
|
816
|
+
<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>
|
|
817
|
+
<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
818
|
</tbody>
|
|
823
819
|
</table></div>
|
|
824
820
|
<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
|
|
@@ -889,68 +885,68 @@ answer canned, since a demo has no model, and kept by code only as it keeps a mo
|
|
|
889
885
|
in the demo's <code>reports/</code>: release gates, a pull request report and SARIF, findings files, dashboards, drift, guidance,
|
|
890
886
|
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
887
|
<h2 id="who-decides"><a href="#who-decides" class="hash">#</a>Who decides</h2>
|
|
892
|
-
<div class="tbl"><table>
|
|
888
|
+
<div class="tbl tbl--cols-2"><table>
|
|
893
889
|
<thead>
|
|
894
890
|
<tr><th>Person</th><th>Decides</th></tr>
|
|
895
891
|
</thead>
|
|
896
892
|
<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>
|
|
893
|
+
<tr><td data-label="Person">Agent owner</td><td data-label="Decides">The contract, fixes to the agent, each release</td></tr>
|
|
894
|
+
<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>
|
|
895
|
+
<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>
|
|
896
|
+
<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>
|
|
897
|
+
<tr><td data-label="Person">Evidence</td><td data-label="Decides">Measures, explains and proposes; never approves</td></tr>
|
|
902
898
|
</tbody>
|
|
903
899
|
</table></div>
|
|
904
900
|
<h2 id="phases"><a href="#phases" class="hash">#</a>Phases</h2>
|
|
905
|
-
<div class="tbl"><table>
|
|
901
|
+
<div class="tbl tbl--cols-4"><table>
|
|
906
902
|
<thead>
|
|
907
903
|
<tr><th>#</th><th>Phase</th><th>What it delivers</th><th>Exit criteria (on its labelled set)</th></tr>
|
|
908
904
|
</thead>
|
|
909
905
|
<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, "tests passed" 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>
|
|
906
|
+
<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>
|
|
907
|
+
<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, "tests passed" that did not) each caught; good runs pass</td></tr>
|
|
908
|
+
<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>
|
|
909
|
+
<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>
|
|
910
|
+
<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>
|
|
911
|
+
<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>
|
|
912
|
+
<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>
|
|
913
|
+
<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>
|
|
914
|
+
<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>
|
|
915
|
+
<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
916
|
</tbody>
|
|
921
917
|
</table></div>
|
|
922
918
|
<p>While the agent is being built (the build-time half):</p>
|
|
923
|
-
<div class="tbl"><table>
|
|
919
|
+
<div class="tbl tbl--cols-4"><table>
|
|
924
920
|
<thead>
|
|
925
921
|
<tr><th>#</th><th>Phase</th><th>What it delivers</th><th>Exit criteria (planted cases and mutations)</th></tr>
|
|
926
922
|
</thead>
|
|
927
923
|
<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 "tests pass" 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>
|
|
924
|
+
<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>
|
|
925
|
+
<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 "tests pass" each caught</td></tr>
|
|
926
|
+
<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>
|
|
927
|
+
<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>
|
|
928
|
+
<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>
|
|
929
|
+
<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>
|
|
930
|
+
<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
931
|
</tbody>
|
|
936
932
|
</table></div>
|
|
937
933
|
<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
|
|
934
|
+
<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
935
|
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>
|
|
936
|
+
<div class="tbl tbl--cols-3"><table>
|
|
941
937
|
<thead>
|
|
942
938
|
<tr><th>Page</th><th>Shows</th><th>Arrives with</th></tr>
|
|
943
939
|
</thead>
|
|
944
940
|
<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/&lt;agent></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>
|
|
941
|
+
<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>
|
|
942
|
+
<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>
|
|
943
|
+
<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>
|
|
944
|
+
<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>
|
|
945
|
+
<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>
|
|
946
|
+
<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>
|
|
947
|
+
<tr><td data-label="Page">An agent's dashboard (<code>#/evidence/&lt;agent></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>
|
|
948
|
+
<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>
|
|
949
|
+
<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
950
|
</tbody>
|
|
955
951
|
</table></div>
|
|
956
952
|
<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 +972,8 @@ their licences checked first.</li>
|
|
|
976
972
|
|
|
977
973
|
</article>
|
|
978
974
|
<nav class="pager" aria-label="Previous and next">
|
|
979
|
-
<a class="prev" href="../
|
|
980
|
-
<a class="next" href="../
|
|
975
|
+
<a class="prev" href="../product-views/index.html"><small>Previous</small><span>Product views</span></a>
|
|
976
|
+
<a class="next" href="../cost-architecture/index.html"><small>Next</small><span>Cost-aware execution</span></a>
|
|
981
977
|
</nav>
|
|
982
978
|
</main>
|
|
983
979
|
<aside class="docs-toc" aria-label="On this page">
|
|
@@ -987,7 +983,7 @@ their licences checked first.</li>
|
|
|
987
983
|
<footer class="foot">
|
|
988
984
|
<div class="container foot__row">
|
|
989
985
|
<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="
|
|
986
|
+
<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
987
|
</div>
|
|
992
988
|
<p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
|
|
993
989
|
</footer>
|