@capagents/forgeqe 2.6.3 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +445 -30
- package/README.md +12 -2
- package/browserstack.example.yaml +9 -0
- package/dist/docs-site/docs/architecture/index.html +4 -2
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +398 -14
- package/dist/docs-site/docs/mobile/index.html +55 -1
- package/dist/docs-site/docs/model-routing/index.html +19 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +7 -0
- package/dist/forgeqe.js +2189 -1287
- package/dist/web/assets/Agent-DnSnk8A8.js +4 -0
- package/dist/web/assets/ApiTests-r6c8xggS.js +10 -0
- package/dist/web/assets/Chat-MqHZCQeC.js +3 -0
- package/dist/web/assets/Data-zWPzpJpS.js +3 -0
- package/dist/web/assets/Evidence-LEqF3nUt.js +1 -0
- package/dist/web/assets/Features-Bgo9qp1-.js +1 -0
- package/dist/web/assets/Jobs-Bcwb8HMh.js +5 -0
- package/dist/web/assets/KindPage-lAkUjTIP.js +6 -0
- package/dist/web/assets/Migration-BjGJA-Bs.js +2 -0
- package/dist/web/assets/Product-FEoKmnjo.js +1 -0
- package/dist/web/assets/Quality-DCZXDZOe.js +1 -0
- package/dist/web/assets/Record-B2wCMjZD.js +2 -0
- package/dist/web/assets/Regression-D01mVc1q.js +5 -0
- package/dist/web/assets/Reports-DccvSnM0.js +2 -0
- package/dist/web/assets/Response-1L54PHOc.js +4 -0
- package/dist/web/assets/Runs-CxBqtEcI.js +2 -0
- package/dist/web/assets/Shell--wVGpLnJ.js +3 -0
- package/dist/web/assets/TestCases-Cnoe8tSS.js +1 -0
- package/dist/web/assets/TestData-BeYAygIt.js +2 -0
- package/dist/web/assets/WhatsNew-CI0LQ45V.js +1 -0
- package/dist/web/assets/{arrow-down-BWCXlJU0.js → arrow-down-DSu4Dagx.js} +1 -1
- package/dist/web/assets/{arrow-right-CdxkQBV7.js → arrow-right-Ts-WXM9E.js} +1 -1
- package/dist/web/assets/circle-DCKdGe8K.js +1 -0
- package/dist/web/assets/{circle-dashed-DlOiCbWD.js → circle-dashed-DrntJOQb.js} +1 -1
- package/dist/web/assets/circle-dot-DnHcdiDL.js +1 -0
- package/dist/web/assets/dataParts-3r2pCk9l.js +3 -0
- package/dist/web/assets/index-CUL4L1Mc.js +43 -0
- package/dist/web/assets/index-DchZ3sW9.css +2 -0
- package/dist/web/assets/{keyboard-wpCM6HMa.js → keyboard-DasQ_iKX.js} +1 -1
- package/dist/web/assets/pencil-DGS0VPko.js +1 -0
- package/dist/web/assets/productParts-CZORYXa1.js +1 -0
- package/dist/web/assets/qualityParts-BL7Mmsao.js +1 -0
- package/dist/web/assets/thread-BuTNjR0M.js +5 -0
- package/dist/web/assets/{upload-CwExsxOd.js → upload-Dp3RevwG.js} +1 -1
- package/dist/web/assets/{usePageChat-CzWbP_sa.js → usePageChat-iWpW3cZo.js} +1 -1
- package/dist/web/index.html +3 -3
- package/docs/ARCHITECTURE.md +4 -2
- package/docs/EVIDENCE.md +913 -0
- package/docs/MOBILE.md +62 -0
- package/docs/MODEL_ROUTING.md +23 -1
- package/docs/PRODUCT_KNOWLEDGE.md +204 -0
- package/docs/PRODUCT_VIEWS.md +301 -0
- package/docs/WEB_APP.md +7 -0
- package/docs/user-guide.html +398 -14
- package/evals/evidence/behaviour/b4-amount-text/case.json +12 -0
- package/evals/evidence/behaviour/b4-amount-text/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-amount-text/source.json +130 -0
- package/evals/evidence/behaviour/b4-extra-field/case.json +12 -0
- package/evals/evidence/behaviour/b4-extra-field/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-extra-field/source.json +131 -0
- package/evals/evidence/behaviour/b4-files-good/case.json +10 -0
- package/evals/evidence/behaviour/b4-files-good/contract.yaml +7 -0
- package/evals/evidence/behaviour/b4-files-good/source.json +99 -0
- package/evals/evidence/behaviour/b4-files-lockfile/case.json +12 -0
- package/evals/evidence/behaviour/b4-files-lockfile/contract.yaml +7 -0
- package/evals/evidence/behaviour/b4-files-lockfile/source.json +71 -0
- package/evals/evidence/behaviour/b4-files-outside/case.json +12 -0
- package/evals/evidence/behaviour/b4-files-outside/contract.yaml +7 -0
- package/evals/evidence/behaviour/b4-files-outside/source.json +71 -0
- package/evals/evidence/behaviour/b4-files-workflow/case.json +12 -0
- package/evals/evidence/behaviour/b4-files-workflow/contract.yaml +7 -0
- package/evals/evidence/behaviour/b4-files-workflow/source.json +99 -0
- package/evals/evidence/behaviour/b4-inputs-good/case.json +10 -0
- package/evals/evidence/behaviour/b4-inputs-good/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-inputs-good/source.json +131 -0
- package/evals/evidence/behaviour/b4-missing-claim/case.json +12 -0
- package/evals/evidence/behaviour/b4-missing-claim/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-missing-claim/source.json +129 -0
- package/evals/evidence/behaviour/b4-over-maximum/case.json +12 -0
- package/evals/evidence/behaviour/b4-over-maximum/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-over-maximum/source.json +130 -0
- package/evals/evidence/behaviour/b4-wrong-currency/case.json +12 -0
- package/evals/evidence/behaviour/b4-wrong-currency/contract.yaml +15 -0
- package/evals/evidence/behaviour/b4-wrong-currency/source.json +131 -0
- package/evals/evidence/behaviour/claims-big/case.json +12 -0
- package/evals/evidence/behaviour/claims-big/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-big/source.json +160 -0
- package/evals/evidence/behaviour/claims-deny-unread/case.json +12 -0
- package/evals/evidence/behaviour/claims-deny-unread/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-deny-unread/source.json +62 -0
- package/evals/evidence/behaviour/claims-false-claim/case.json +12 -0
- package/evals/evidence/behaviour/claims-false-claim/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-false-claim/source.json +206 -0
- package/evals/evidence/behaviour/claims-forbidden/case.json +13 -0
- package/evals/evidence/behaviour/claims-forbidden/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-forbidden/source.json +181 -0
- package/evals/evidence/behaviour/claims-good/case.json +10 -0
- package/evals/evidence/behaviour/claims-good/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-good/source.json +160 -0
- package/evals/evidence/behaviour/claims-langfuse-content/case.json +12 -0
- package/evals/evidence/behaviour/claims-langfuse-content/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-langfuse-fingerprints/case.json +17 -0
- package/evals/evidence/behaviour/claims-langfuse-fingerprints/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-loop/case.json +12 -0
- package/evals/evidence/behaviour/claims-loop/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-loop/source.json +168 -0
- package/evals/evidence/behaviour/claims-negated/case.json +10 -0
- package/evals/evidence/behaviour/claims-negated/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-negated/source.json +206 -0
- package/evals/evidence/behaviour/claims-paged/case.json +10 -0
- package/evals/evidence/behaviour/claims-paged/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-paged/source.json +164 -0
- package/evals/evidence/behaviour/claims-policy-late/case.json +12 -0
- package/evals/evidence/behaviour/claims-policy-late/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-policy-late/source.json +138 -0
- package/evals/evidence/behaviour/claims-skipped-policy/case.json +13 -0
- package/evals/evidence/behaviour/claims-skipped-policy/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-skipped-policy/source.json +84 -0
- package/evals/evidence/behaviour/claims-sub-forbidden/case.json +12 -0
- package/evals/evidence/behaviour/claims-sub-forbidden/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-sub-forbidden/source.json +116 -0
- package/evals/evidence/behaviour/claims-two-approvals/case.json +12 -0
- package/evals/evidence/behaviour/claims-two-approvals/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-two-approvals/source.json +151 -0
- package/evals/evidence/behaviour/claims-wrong-agent/case.json +12 -0
- package/evals/evidence/behaviour/claims-wrong-agent/contract.yaml +40 -0
- package/evals/evidence/behaviour/claims-wrong-agent/source.json +124 -0
- package/evals/evidence/behaviour/coder-good/case.json +10 -0
- package/evals/evidence/behaviour/coder-good/contract.yaml +16 -0
- package/evals/evidence/behaviour/coder-good/source.json +155 -0
- package/evals/evidence/behaviour/coder-honest-fail/case.json +10 -0
- package/evals/evidence/behaviour/coder-honest-fail/contract.yaml +16 -0
- package/evals/evidence/behaviour/coder-honest-fail/source.json +131 -0
- package/evals/evidence/behaviour/coder-no-tests/case.json +13 -0
- package/evals/evidence/behaviour/coder-no-tests/contract.yaml +16 -0
- package/evals/evidence/behaviour/coder-no-tests/source.json +127 -0
- package/evals/evidence/behaviour/coder-tests-lie/case.json +14 -0
- package/evals/evidence/behaviour/coder-tests-lie/contract.yaml +16 -0
- package/evals/evidence/behaviour/coder-tests-lie/source.json +187 -0
- package/evals/evidence/behaviour/e3-decided-before-policy/case.json +12 -0
- package/evals/evidence/behaviour/e3-decided-before-policy/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-decided-before-policy/source.json +175 -0
- package/evals/evidence/behaviour/e3-fact-from-nowhere/case.json +12 -0
- package/evals/evidence/behaviour/e3-fact-from-nowhere/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-fact-from-nowhere/source.json +175 -0
- package/evals/evidence/behaviour/e3-fingerprints/case.json +16 -0
- package/evals/evidence/behaviour/e3-fingerprints/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-fingerprints/source.json +175 -0
- package/evals/evidence/behaviour/e3-forbidden-data/case.json +12 -0
- package/evals/evidence/behaviour/e3-forbidden-data/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-forbidden-data/source.json +220 -0
- package/evals/evidence/behaviour/e3-good/case.json +10 -0
- package/evals/evidence/behaviour/e3-good/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-good/source.json +175 -0
- package/evals/evidence/behaviour/e3-injection-followed/case.json +12 -0
- package/evals/evidence/behaviour/e3-injection-followed/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-injection-followed/source.json +175 -0
- package/evals/evidence/behaviour/e3-injection-ignored/case.json +10 -0
- package/evals/evidence/behaviour/e3-injection-ignored/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-injection-ignored/source.json +175 -0
- package/evals/evidence/behaviour/e3-injection-names-tool/case.json +13 -0
- package/evals/evidence/behaviour/e3-injection-names-tool/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-injection-names-tool/source.json +107 -0
- package/evals/evidence/behaviour/e3-personal/case.json +12 -0
- package/evals/evidence/behaviour/e3-personal/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-personal/source.json +175 -0
- package/evals/evidence/behaviour/e3-reason-before-reading/case.json +13 -0
- package/evals/evidence/behaviour/e3-reason-before-reading/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-reason-before-reading/source.json +153 -0
- package/evals/evidence/behaviour/e3-reason-no-input/case.json +12 -0
- package/evals/evidence/behaviour/e3-reason-no-input/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-reason-no-input/source.json +107 -0
- package/evals/evidence/behaviour/e3-unlisted-data/case.json +12 -0
- package/evals/evidence/behaviour/e3-unlisted-data/contract.yaml +17 -0
- package/evals/evidence/behaviour/e3-unlisted-data/source.json +220 -0
- package/evals/evidence/behaviour/e7-good/case.json +10 -0
- package/evals/evidence/behaviour/e7-good/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-good/source.json +175 -0
- package/evals/evidence/behaviour/e7-negated-decision/case.json +13 -0
- package/evals/evidence/behaviour/e7-negated-decision/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-negated-decision/source.json +175 -0
- package/evals/evidence/behaviour/e7-negated-promise/case.json +10 -0
- package/evals/evidence/behaviour/e7-negated-promise/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-negated-promise/source.json +175 -0
- package/evals/evidence/behaviour/e7-no-decision/case.json +12 -0
- package/evals/evidence/behaviour/e7-no-decision/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-no-decision/source.json +175 -0
- package/evals/evidence/behaviour/e7-promise/case.json +12 -0
- package/evals/evidence/behaviour/e7-promise/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-promise/source.json +175 -0
- package/evals/evidence/behaviour/e7-too-long/case.json +12 -0
- package/evals/evidence/behaviour/e7-too-long/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-too-long/source.json +175 -0
- package/evals/evidence/behaviour/e7-too-short/case.json +13 -0
- package/evals/evidence/behaviour/e7-too-short/contract.yaml +14 -0
- package/evals/evidence/behaviour/e7-too-short/source.json +175 -0
- package/evals/evidence/behaviour/support-langgraph/case.json +14 -0
- package/evals/evidence/behaviour/support-langgraph/contract.yaml +21 -0
- package/evals/evidence/domain/acceptance/delete-without-sign-in/case.json +14 -0
- package/evals/evidence/domain/acceptance/history-signed-in/case.json +14 -0
- package/evals/evidence/domain/acceptance/message-reworded/case.json +15 -0
- package/evals/evidence/domain/acceptance/shipped-rule-removed/case.json +15 -0
- package/evals/evidence/domain/acceptance/status-dropped/case.json +14 -0
- package/evals/evidence/domain/base/docs/glossary.md +5 -0
- package/evals/evidence/domain/base/docs/refunds.md +5 -0
- package/evals/evidence/domain/base/forgeqe.yaml +13 -0
- package/evals/evidence/domain/base/orders-api/db/001_orders.sql +8 -0
- package/evals/evidence/domain/base/orders-api/package.json +1 -0
- package/evals/evidence/domain/base/orders-api/src/auth.ts +7 -0
- package/evals/evidence/domain/base/orders-api/src/clients/payments.ts +8 -0
- package/evals/evidence/domain/base/orders-api/src/routes/admin.ts +10 -0
- package/evals/evidence/domain/base/orders-api/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/base/orders-api/src/workflow.ts +6 -0
- package/evals/evidence/domain/base/orders-api/test/orders.test.ts +8 -0
- package/evals/evidence/domain/base/payments/app/main.py +16 -0
- package/evals/evidence/domain/base/payments/migrations/001_payments.sql +2 -0
- package/evals/evidence/domain/base/payments/requirements.txt +2 -0
- package/evals/evidence/domain/base/web/package.json +1 -0
- package/evals/evidence/domain/base/web/src/App.tsx +10 -0
- package/evals/evidence/domain/base/web/src/api/orders.ts +14 -0
- package/evals/evidence/domain/base/web/src/pages/OrderPage.tsx +18 -0
- package/evals/evidence/domain/cases/bad-auth-removed/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/bad-auth-removed/case.json +14 -0
- package/evals/evidence/domain/cases/bad-endpoint-renamed/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/bad-endpoint-renamed/case.json +14 -0
- package/evals/evidence/domain/cases/bad-field-removed/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/bad-field-removed/case.json +14 -0
- package/evals/evidence/domain/cases/bad-foreign-table/after/app/main.py +17 -0
- package/evals/evidence/domain/cases/bad-foreign-table/case.json +15 -0
- package/evals/evidence/domain/cases/bad-no-auth/after/src/routes/orders.ts +30 -0
- package/evals/evidence/domain/cases/bad-no-auth/case.json +14 -0
- package/evals/evidence/domain/cases/bad-rule-changed/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/bad-rule-changed/case.json +14 -0
- package/evals/evidence/domain/cases/bad-rule-removed/after/src/routes/orders.ts +24 -0
- package/evals/evidence/domain/cases/bad-rule-removed/case.json +14 -0
- package/evals/evidence/domain/cases/bad-state-set-directly/after/src/routes/admin.ts +15 -0
- package/evals/evidence/domain/cases/bad-state-set-directly/case.json +15 -0
- package/evals/evidence/domain/cases/bad-untested-change/after/src/routes/admin.ts +10 -0
- package/evals/evidence/domain/cases/bad-untested-change/case.json +14 -0
- package/evals/evidence/domain/cases/good-field-added/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/good-field-added/case.json +12 -0
- package/evals/evidence/domain/cases/good-message/after/src/routes/orders.ts +25 -0
- package/evals/evidence/domain/cases/good-message/case.json +12 -0
- package/evals/evidence/domain/cases/good-new-endpoint/after/src/routes/orders.ts +29 -0
- package/evals/evidence/domain/cases/good-new-endpoint/case.json +12 -0
- package/evals/evidence/domain/cases/good-new-file/after/src/routes/reports.ts +9 -0
- package/evals/evidence/domain/cases/good-new-file/after/test/reports.test.ts +4 -0
- package/evals/evidence/domain/cases/good-new-file/case.json +15 -0
- package/evals/evidence/domain/cases/good-test-added/after/src/routes/admin.ts +10 -0
- package/evals/evidence/domain/cases/good-test-added/after/test/admin.test.ts +4 -0
- package/evals/evidence/domain/cases/good-test-added/case.json +15 -0
- package/evals/evidence/domain/cases/payments-new-endpoint/after/app/main.py +21 -0
- package/evals/evidence/domain/cases/payments-new-endpoint/case.json +14 -0
- package/evals/evidence/harness/claims-bot/agent.ts +74 -0
- package/evals/evidence/harness/shop-coder/agent.ts +33 -0
- package/evals/evidence/learn/failed-tool-proven/case.json +20 -0
- package/evals/evidence/learn/failed-tool-proven/contract.yaml +40 -0
- package/evals/evidence/learn/failed-tool-proven/runs/original.json +161 -0
- package/evals/evidence/learn/failed-tool-proven/runs/replay-0-0.json +160 -0
- package/evals/evidence/learn/failed-tool-proven/runs/replay-0-1.json +160 -0
- package/evals/evidence/learn/failed-tool-proven/runs/replay-0-2.json +160 -0
- package/evals/evidence/learn/injection-change-not-made/case.json +20 -0
- package/evals/evidence/learn/injection-change-not-made/contract.yaml +17 -0
- package/evals/evidence/learn/injection-change-not-made/runs/original.json +175 -0
- package/evals/evidence/learn/injection-change-not-made/runs/replay-0-0.json +175 -0
- package/evals/evidence/learn/injection-change-not-made/runs/replay-0-1.json +175 -0
- package/evals/evidence/learn/injection-change-not-made/runs/replay-0-2.json +175 -0
- package/evals/evidence/learn/injection-data-proven/case.json +20 -0
- package/evals/evidence/learn/injection-data-proven/contract.yaml +17 -0
- package/evals/evidence/learn/injection-data-proven/runs/original.json +175 -0
- package/evals/evidence/learn/injection-data-proven/runs/replay-0-0.json +175 -0
- package/evals/evidence/learn/injection-data-proven/runs/replay-0-1.json +175 -0
- package/evals/evidence/learn/injection-data-proven/runs/replay-0-2.json +175 -0
- package/evals/evidence/learn/injection-instruction-refuted/case.json +20 -0
- package/evals/evidence/learn/injection-instruction-refuted/contract.yaml +17 -0
- package/evals/evidence/learn/injection-instruction-refuted/runs/original.json +175 -0
- package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-0.json +175 -0
- package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-1.json +175 -0
- package/evals/evidence/learn/injection-instruction-refuted/runs/replay-0-2.json +175 -0
- package/evals/evidence/learn/injection-one-replay/case.json +18 -0
- package/evals/evidence/learn/injection-one-replay/contract.yaml +17 -0
- package/evals/evidence/learn/injection-one-replay/runs/original.json +175 -0
- package/evals/evidence/learn/injection-one-replay/runs/replay-0-0.json +175 -0
- package/evals/evidence/learn/skipped-step-proven/case.json +28 -0
- package/evals/evidence/learn/skipped-step-proven/contract.yaml +40 -0
- package/evals/evidence/learn/skipped-step-proven/runs/original.json +84 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-0-0.json +160 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-0-1.json +160 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-0-2.json +160 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-1-0.json +160 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-1-1.json +160 -0
- package/evals/evidence/learn/skipped-step-proven/runs/replay-1-2.json +160 -0
- package/evals/evidence/learn/skipped-step-side-effects/case.json +20 -0
- package/evals/evidence/learn/skipped-step-side-effects/contract.yaml +40 -0
- package/evals/evidence/learn/skipped-step-side-effects/runs/original.json +84 -0
- package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-0.json +160 -0
- package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-1.json +181 -0
- package/evals/evidence/learn/skipped-step-side-effects/runs/replay-0-2.json +160 -0
- package/evals/evidence/monitor/check-dropped/baseline/0.json +205 -0
- package/evals/evidence/monitor/check-dropped/baseline/1.json +205 -0
- package/evals/evidence/monitor/check-dropped/baseline/2.json +205 -0
- package/evals/evidence/monitor/check-dropped/baseline/3.json +205 -0
- package/evals/evidence/monitor/check-dropped/baseline/4.json +205 -0
- package/evals/evidence/monitor/check-dropped/baseline/5.json +205 -0
- package/evals/evidence/monitor/check-dropped/case.json +8 -0
- package/evals/evidence/monitor/check-dropped/contract.yaml +40 -0
- package/evals/evidence/monitor/check-dropped/since/0.json +84 -0
- package/evals/evidence/monitor/check-dropped/since/1.json +84 -0
- package/evals/evidence/monitor/check-dropped/since/2.json +84 -0
- package/evals/evidence/monitor/check-dropped/since/3.json +84 -0
- package/evals/evidence/monitor/check-dropped/since/4.json +84 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/0.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/1.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/2.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/3.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/4.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/baseline/5.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/case.json +8 -0
- package/evals/evidence/monitor/knowledge-changed/contract.yaml +40 -0
- package/evals/evidence/monitor/knowledge-changed/since/0.json +205 -0
- package/evals/evidence/monitor/knowledge-changed/since/1.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/0.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/1.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/2.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/3.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/4.json +205 -0
- package/evals/evidence/monitor/model-changed/baseline/5.json +205 -0
- package/evals/evidence/monitor/model-changed/case.json +8 -0
- package/evals/evidence/monitor/model-changed/contract.yaml +40 -0
- package/evals/evidence/monitor/model-changed/since/0.json +205 -0
- package/evals/evidence/monitor/model-changed/since/1.json +205 -0
- package/evals/evidence/monitor/model-changed/since/2.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/0.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/1.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/2.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/3.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/4.json +205 -0
- package/evals/evidence/monitor/new-tool/baseline/5.json +205 -0
- package/evals/evidence/monitor/new-tool/case.json +8 -0
- package/evals/evidence/monitor/new-tool/contract.yaml +40 -0
- package/evals/evidence/monitor/new-tool/since/0.json +250 -0
- package/evals/evidence/monitor/new-tool/since/1.json +250 -0
- package/evals/evidence/monitor/no-drift/baseline/0.json +205 -0
- package/evals/evidence/monitor/no-drift/baseline/1.json +205 -0
- package/evals/evidence/monitor/no-drift/baseline/2.json +205 -0
- package/evals/evidence/monitor/no-drift/baseline/3.json +205 -0
- package/evals/evidence/monitor/no-drift/baseline/4.json +205 -0
- package/evals/evidence/monitor/no-drift/baseline/5.json +205 -0
- package/evals/evidence/monitor/no-drift/case.json +6 -0
- package/evals/evidence/monitor/no-drift/contract.yaml +40 -0
- package/evals/evidence/monitor/no-drift/since/0.json +205 -0
- package/evals/evidence/monitor/no-drift/since/1.json +205 -0
- package/evals/evidence/monitor/no-drift/since/2.json +205 -0
- package/evals/evidence/monitor/no-drift/since/3.json +205 -0
- package/evals/evidence/monitor/no-drift/since/4.json +205 -0
- package/evals/evidence/monitor/no-drift/since/5.json +205 -0
- package/evals/evidence/records/forgeqe-interrupted/case.json +22 -0
- package/evals/evidence/records/forgeqe-interrupted/source.jsonl +4 -0
- package/evals/evidence/records/forgeqe-policy/case.json +44 -0
- package/evals/evidence/records/forgeqe-policy/source.jsonl +7 -0
- package/evals/evidence/records/forgeqe-test-writing/case.json +73 -0
- package/evals/evidence/records/forgeqe-test-writing/source.jsonl +16 -0
- package/evals/evidence/records/jsonlog-claims/case.json +76 -0
- package/evals/evidence/records/jsonlog-claims/mapping.yaml +26 -0
- package/evals/evidence/records/jsonlog-claims/source.jsonl +10 -0
- package/evals/evidence/records/jsonlog-hostile/case.json +20 -0
- package/evals/evidence/records/jsonlog-hostile/mapping.yaml +8 -0
- package/evals/evidence/records/jsonlog-hostile/source.jsonl +7 -0
- package/evals/evidence/records/jsonlog-inherited-names/case.json +24 -0
- package/evals/evidence/records/jsonlog-inherited-names/mapping.yaml +10 -0
- package/evals/evidence/records/jsonlog-inherited-names/source.jsonl +5 -0
- package/evals/evidence/records/jsonlog-langchain-style/case.json +30 -0
- package/evals/evidence/records/jsonlog-langchain-style/mapping.yaml +18 -0
- package/evals/evidence/records/jsonlog-langchain-style/source.jsonl +8 -0
- package/evals/evidence/records/langfuse-claims/case.json +81 -0
- package/evals/evidence/records/langfuse-claims/source.json +233 -0
- package/evals/evidence/records/langfuse-hostile/case.json +34 -0
- package/evals/evidence/records/langfuse-hostile/source.json +93 -0
- package/evals/evidence/records/langfuse-observations/case.json +69 -0
- package/evals/evidence/records/langfuse-observations/source.json +164 -0
- package/evals/evidence/records/langsmith-hostile/case.json +39 -0
- package/evals/evidence/records/langsmith-hostile/source.json +7 -0
- package/evals/evidence/records/langsmith-langgraph/case.json +72 -0
- package/evals/evidence/records/langsmith-langgraph/source.json +608 -0
- package/evals/evidence/records/langsmith-nested/case.json +53 -0
- package/evals/evidence/records/langsmith-nested/source.json +157 -0
- package/evals/evidence/records/otlp-claims/case.json +53 -0
- package/evals/evidence/records/otlp-claims/source.json +196 -0
- package/evals/evidence/records/otlp-hostile/case.json +20 -0
- package/evals/evidence/records/otlp-hostile/source.json +127 -0
- package/evals/evidence/records/otlp-nested-agents/case.json +22 -0
- package/evals/evidence/records/otlp-nested-agents/source.json +181 -0
- package/evals/evidence/records/otlp-support-old-events/case.json +29 -0
- package/evals/evidence/records/otlp-support-old-events/source.json +93 -0
- package/evals/evidence/release/better/case.json +9 -0
- package/evals/evidence/release/better/contract.yaml +40 -0
- package/evals/evidence/release/better/runs/00.json +162 -0
- package/evals/evidence/release/better/runs/01.json +162 -0
- package/evals/evidence/release/better/runs/02.json +161 -0
- package/evals/evidence/release/better/runs/03.json +85 -0
- package/evals/evidence/release/better/runs/04.json +162 -0
- package/evals/evidence/release/better/runs/05.json +162 -0
- package/evals/evidence/release/better/runs/06.json +162 -0
- package/evals/evidence/release/better/runs/07.json +162 -0
- package/evals/evidence/release/better/runs/08.json +85 -0
- package/evals/evidence/release/better/runs/09.json +162 -0
- package/evals/evidence/release/better/suite.yaml +23 -0
- package/evals/evidence/release/flaky/case.json +11 -0
- package/evals/evidence/release/flaky/contract.yaml +40 -0
- package/evals/evidence/release/flaky/runs/00.json +162 -0
- package/evals/evidence/release/flaky/runs/01.json +86 -0
- package/evals/evidence/release/flaky/runs/02.json +162 -0
- package/evals/evidence/release/flaky/runs/03.json +161 -0
- package/evals/evidence/release/flaky/runs/04.json +85 -0
- package/evals/evidence/release/flaky/runs/05.json +162 -0
- package/evals/evidence/release/flaky/runs/06.json +162 -0
- package/evals/evidence/release/flaky/runs/07.json +162 -0
- package/evals/evidence/release/flaky/runs/08.json +161 -0
- package/evals/evidence/release/flaky/runs/09.json +85 -0
- package/evals/evidence/release/flaky/runs/10.json +162 -0
- package/evals/evidence/release/flaky/suite.yaml +23 -0
- package/evals/evidence/release/injection-followed/case.json +13 -0
- package/evals/evidence/release/injection-followed/contract.yaml +40 -0
- package/evals/evidence/release/injection-followed/runs/00.json +162 -0
- package/evals/evidence/release/injection-followed/runs/01.json +162 -0
- package/evals/evidence/release/injection-followed/runs/02.json +161 -0
- package/evals/evidence/release/injection-followed/runs/03.json +85 -0
- package/evals/evidence/release/injection-followed/runs/04.json +162 -0
- package/evals/evidence/release/injection-followed/runs/05.json +162 -0
- package/evals/evidence/release/injection-followed/runs/06.json +162 -0
- package/evals/evidence/release/injection-followed/runs/07.json +161 -0
- package/evals/evidence/release/injection-followed/runs/08.json +85 -0
- package/evals/evidence/release/injection-followed/runs/09.json +162 -0
- package/evals/evidence/release/injection-followed/suite.yaml +23 -0
- package/evals/evidence/release/misuse-failed/case.json +11 -0
- package/evals/evidence/release/misuse-failed/contract.yaml +40 -0
- package/evals/evidence/release/misuse-failed/runs/00.json +162 -0
- package/evals/evidence/release/misuse-failed/runs/01.json +162 -0
- package/evals/evidence/release/misuse-failed/runs/02.json +161 -0
- package/evals/evidence/release/misuse-failed/runs/03.json +85 -0
- package/evals/evidence/release/misuse-failed/runs/04.json +162 -0
- package/evals/evidence/release/misuse-failed/runs/05.json +162 -0
- package/evals/evidence/release/misuse-failed/runs/06.json +162 -0
- package/evals/evidence/release/misuse-failed/runs/07.json +161 -0
- package/evals/evidence/release/misuse-failed/runs/08.json +85 -0
- package/evals/evidence/release/misuse-failed/runs/09.json +162 -0
- package/evals/evidence/release/misuse-failed/suite.yaml +23 -0
- package/evals/evidence/release/no-live/case.json +9 -0
- package/evals/evidence/release/no-live/contract.yaml +40 -0
- package/evals/evidence/release/no-live/runs/00.json +162 -0
- package/evals/evidence/release/no-live/runs/01.json +162 -0
- package/evals/evidence/release/no-live/runs/02.json +161 -0
- package/evals/evidence/release/no-live/runs/03.json +85 -0
- package/evals/evidence/release/no-live/runs/04.json +162 -0
- package/evals/evidence/release/no-live/suite.yaml +23 -0
- package/evals/evidence/release/not-run/case.json +11 -0
- package/evals/evidence/release/not-run/contract.yaml +40 -0
- package/evals/evidence/release/not-run/runs/00.json +162 -0
- package/evals/evidence/release/not-run/runs/01.json +161 -0
- package/evals/evidence/release/not-run/runs/02.json +85 -0
- package/evals/evidence/release/not-run/runs/03.json +162 -0
- package/evals/evidence/release/not-run/runs/04.json +162 -0
- package/evals/evidence/release/not-run/runs/05.json +162 -0
- package/evals/evidence/release/not-run/runs/06.json +161 -0
- package/evals/evidence/release/not-run/runs/07.json +85 -0
- package/evals/evidence/release/not-run/runs/08.json +162 -0
- package/evals/evidence/release/not-run/suite.yaml +23 -0
- package/evals/evidence/release/ready/case.json +9 -0
- package/evals/evidence/release/ready/contract.yaml +40 -0
- package/evals/evidence/release/ready/runs/00.json +162 -0
- package/evals/evidence/release/ready/runs/01.json +162 -0
- package/evals/evidence/release/ready/runs/02.json +161 -0
- package/evals/evidence/release/ready/runs/03.json +85 -0
- package/evals/evidence/release/ready/runs/04.json +162 -0
- package/evals/evidence/release/ready/runs/05.json +162 -0
- package/evals/evidence/release/ready/runs/06.json +162 -0
- package/evals/evidence/release/ready/runs/07.json +161 -0
- package/evals/evidence/release/ready/runs/08.json +85 -0
- package/evals/evidence/release/ready/runs/09.json +162 -0
- package/evals/evidence/release/ready/suite.yaml +23 -0
- package/evals/evidence/release/worse/case.json +11 -0
- package/evals/evidence/release/worse/contract.yaml +40 -0
- package/evals/evidence/release/worse/runs/00.json +86 -0
- package/evals/evidence/release/worse/runs/01.json +162 -0
- package/evals/evidence/release/worse/runs/02.json +161 -0
- package/evals/evidence/release/worse/runs/03.json +85 -0
- package/evals/evidence/release/worse/runs/04.json +162 -0
- package/evals/evidence/release/worse/runs/05.json +162 -0
- package/evals/evidence/release/worse/runs/06.json +162 -0
- package/evals/evidence/release/worse/runs/07.json +161 -0
- package/evals/evidence/release/worse/runs/08.json +85 -0
- package/evals/evidence/release/worse/runs/09.json +162 -0
- package/evals/evidence/release/worse/suite.yaml +23 -0
- package/evals/knowledge/shop/deploy/docker-compose.yml +22 -0
- package/evals/knowledge/shop/deploy/infra/main.tf +16 -0
- package/evals/knowledge/shop/deploy/nginx.conf +9 -0
- package/evals/knowledge/shop/docs/glossary.md +5 -0
- package/evals/knowledge/shop/docs/refunds.md +5 -0
- package/evals/knowledge/shop/forgeqe.yaml +15 -0
- package/evals/knowledge/shop/orders-api/db/001_orders.sql +8 -0
- package/evals/knowledge/shop/orders-api/package.json +1 -0
- package/evals/knowledge/shop/orders-api/src/clients/payments.ts +8 -0
- package/evals/knowledge/shop/orders-api/src/routes/orders.ts +23 -0
- package/evals/knowledge/shop/payments/app/main.py +16 -0
- package/evals/knowledge/shop/payments/migrations/001_payments.sql +2 -0
- package/evals/knowledge/shop/payments/requirements.txt +2 -0
- package/evals/knowledge/shop/questions.yaml +90 -0
- package/evals/knowledge/shop/runs/20261027-101500-cancel-order/network.json +5 -0
- package/evals/knowledge/shop/runs/20261027-101500-cancel-order/run.json +1 -0
- package/evals/knowledge/shop/runs/20261029-143000-cancel-again/network.json +6 -0
- package/evals/knowledge/shop/runs/20261029-143000-cancel-again/run.json +1 -0
- package/evals/knowledge/shop/web/package.json +1 -0
- package/evals/knowledge/shop/web/src/App.tsx +10 -0
- package/evals/knowledge/shop/web/src/api/orders.ts +14 -0
- package/evals/knowledge/shop/web/src/pages/OrderPage.tsx +7 -0
- package/evals/prompts/brain/route-link-cases.yaml +12 -0
- package/evals/prompts/brain/route-link-no-requirements.yaml +12 -0
- package/forgeqe.example.yaml +115 -15
- package/guardrails/README.md +14 -1
- package/package.json +1 -1
- package/prompts/README.md +1 -0
- package/prompts/brain.md +46 -7
- package/prompts/evidence-acceptance.md +45 -0
- package/prompts/evidence-content.md +56 -0
- package/prompts/evidence-scenarios.md +50 -0
- package/prompts/product-investigate.md +70 -0
- package/prompts/product-knowledge.md +74 -0
- package/py/forgeqe_engine/browser.py +78 -0
- package/py/forgeqe_engine/service.py +24 -0
- package/py/forgeqe_mobile/hyperexecute.py +6 -1
- package/testmu.example.yaml +16 -0
- package/dist/web/assets/Agent-yd1DyMzR.js +0 -4
- package/dist/web/assets/ApiTests-BwOGta9J.js +0 -10
- package/dist/web/assets/Chat-P8GH_6gl.js +0 -3
- package/dist/web/assets/Data-D2iCqk3t.js +0 -3
- package/dist/web/assets/Features-Bu38clxs.js +0 -1
- package/dist/web/assets/Jobs-DymuaGeN.js +0 -5
- package/dist/web/assets/KindPage-zl6TBkEl.js +0 -6
- package/dist/web/assets/Migration-Cg_FUqS_.js +0 -2
- package/dist/web/assets/Quality-D3bSHP_B.js +0 -1
- package/dist/web/assets/Record-DkCLJos6.js +0 -2
- package/dist/web/assets/Regression-B2qMKjAE.js +0 -5
- package/dist/web/assets/Reports-D_G9yfDa.js +0 -2
- package/dist/web/assets/Response-BnPAefP-.js +0 -4
- package/dist/web/assets/Runs-DsDj9-LT.js +0 -2
- package/dist/web/assets/Shell-DlZHZN0d.js +0 -3
- package/dist/web/assets/TestData-qI1R5Q9v.js +0 -2
- package/dist/web/assets/WhatsNew-CoCHqSDm.js +0 -1
- package/dist/web/assets/bot-D8486kSA.js +0 -1
- package/dist/web/assets/chevron-up-CQz_ZmIK.js +0 -1
- package/dist/web/assets/circle-BqXBUsQS.js +0 -1
- package/dist/web/assets/dataParts-bwNleJYd.js +0 -3
- package/dist/web/assets/index-Bh4NBbEU.js +0 -37
- package/dist/web/assets/index-DkgUrjyL.css +0 -2
- package/dist/web/assets/qualityParts-iy-mouSI.js +0 -1
- package/dist/web/assets/thread-BfW2V-2U.js +0 -5
package/docs/user-guide.html
CHANGED
|
@@ -387,7 +387,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
387
387
|
<h3 class="band-title">Every feature</h3>
|
|
388
388
|
<div class="area"><a class="area-name" href="#area-browser"><span class="mono">Browser</span></a><ul class="tiles"><li><a class="tile" href="#cap-browser-goals"><b>Run any goal in a real browser</b><span>Go to booking.com and search hotels in Mumbai for next weekend</span></a></li><li><a class="tile" href="#cap-logins"><b>Saved logins for the application under test</b><span>Sign in to the admin site and keep the session</span></a></li><li><a class="tile" href="#cap-record-web"><b>Record a web test by hand</b><span>I'll show you the checkout steps in the shop: record them</span></a></li></ul></div>
|
|
389
389
|
<div class="area"><a class="area-name" href="#area-test-cases"><span class="mono">Test cases</span></a><ul class="tiles"><li><a class="tile" href="#cap-run-test-cases"><b>Run manual test cases in browsers</b><span>Run SHOP-12 and SHOP-14 from Jira, two browsers at once</span></a></li><li><a class="tile" href="#cap-test-case-quality"><b>Check and improve test cases</b><span>Are the cases in test plan 12 good enough to run?</span></a></li><li><a class="tile" href="#cap-write-test-cases"><b>Write test cases from a story</b><span>Write test cases for story 1234 and save them</span></a></li><li><a class="tile" href="#cap-domain-compliance"><b>Domain and regulatory test design</b><span>Write test cases for story 1234, covering our DORA and PSD2 obligations</span></a></li><li><a class="tile" href="#cap-exploratory-testing"><b>Exploratory testing of a story</b><span>Explore story 1234 and find bugs</span></a></li></ul></div>
|
|
390
|
-
<div class="area"><a class="area-name" href="#area-setup"><span class="mono">Setup</span></a><ul class="tiles"><li><a class="tile" href="#cap-test-apps"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a class="tile" href="#cap-generated-code"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a class="tile" href="#cap-forgeqe-commands"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a class="tile" href="#cap-setup-help"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
|
|
390
|
+
<div class="area"><a class="area-name" href="#area-setup"><span class="mono">Setup</span></a><ul class="tiles"><li><a class="tile" href="#cap-test-apps"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a class="tile" href="#cap-generated-code"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a class="tile" href="#cap-forgeqe-commands"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a class="tile" href="#cap-product-knowledge"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a class="tile" href="#cap-setup-help"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
|
|
391
391
|
<div class="area"><a class="area-name" href="#area-desktop"><span class="mono">Desktop</span></a><ul class="tiles"><li><a class="tile" href="#cap-desktop-apps"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
|
|
392
392
|
<div class="area"><a class="area-name" href="#area-mobile"><span class="mono">Mobile</span></a><ul class="tiles"><li><a class="tile" href="#cap-mobile-apps"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
|
|
393
393
|
<div class="area"><a class="area-name" href="#area-operations"><span class="mono">Operations</span></a><ul class="tiles"><li><a class="tile" href="#cap-containers"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a class="tile" href="#cap-monitoring"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a class="tile" href="#cap-jobs"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a class="tile" href="#cap-custom-agents"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a class="tile" href="#cap-notifications"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a class="tile" href="#cap-pipelines"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
|
|
@@ -636,6 +636,82 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
|
|
|
636
636
|
</tbody>
|
|
637
637
|
</table></div>
|
|
638
638
|
</div></section>
|
|
639
|
+
<section class="doc sub" id="doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><h4>Evidence: what an agent did, decided and used</h4><div class="prose"><p>Evidence records what an AI agent did, how, what it decided and the reason it gave, and what data it used, so it can be
|
|
640
|
+
checked rather than taken on its word: ForgeQE's own agents, or any other team's or platform's. It receives an agent's
|
|
641
|
+
OpenTelemetry traces while it runs, and reads OpenTelemetry exports (generative AI conventions), Langfuse and LangSmith
|
|
642
|
+
exports, an agent's own JSON log with a mapping file (which field says what), and ForgeQE's own sessions. A record is
|
|
643
|
+
written once to <code>.forgeqe/evidence/runs/</code>; what the source does not say is listed as a gap, never guessed. What the
|
|
644
|
+
agent took in is kept as a fingerprint unless you ask for its content (<code>--content</code>, with secrets cut out).</p>
|
|
645
|
+
<pre><code class="language-bash">forgeqe evidence receive # an agent's traces as it runs: prints the OTEL_* settings to give it
|
|
646
|
+
forgeqe evidence record langfuse-trace.json # a Langfuse trace (GET /api/public/traces/<id>) or observations
|
|
647
|
+
forgeqe evidence record langsmith-runs.json # LangSmith runs (list_runs, or read_run with child runs)
|
|
648
|
+
forgeqe evidence record --latest # ForgeQE's own last session (--latest 5 for five)
|
|
649
|
+
forgeqe evidence record trace.json # an OpenTelemetry export: one record per trace
|
|
650
|
+
forgeqe evidence record agent.jsonl --mapping mapping.yaml --content
|
|
651
|
+
forgeqe evidence runs # what is recorded, newest first
|
|
652
|
+
forgeqe evidence show <id> # one run: steps, inputs, decisions, statements, gaps
|
|
653
|
+
forgeqe evidence contract new "claims-agent" # a contract to edit: what was agreed for the agent
|
|
654
|
+
forgeqe evidence contract approve claims-agent # a person types its name; only then can its checks fail a run
|
|
655
|
+
forgeqe evidence check --all # each run against its agent's contract (exit 1 when one fails)
|
|
656
|
+
forgeqe evidence measure # how well each check is measured on labelled runs
|
|
657
|
+
forgeqe evidence findings <id> # the findings as a file the agent reads to fix them
|
|
658
|
+
forgeqe evidence check <id2> --attempt-of <id> # a fix attempt (two at most, then a person takes over)
|
|
659
|
+
forgeqe evidence overrule <id> <finding> --reason "why" # a person overrules one finding (at a terminal)
|
|
660
|
+
forgeqe evidence judge <id> # a model reads the answer: grounded in its inputs, and the owner's rubric
|
|
661
|
+
forgeqe evidence grade <id> R2 misses --reason "why" # a person grades the answer (at a terminal, or on its page)
|
|
662
|
+
forgeqe evidence calibrate claims-agent # how often the rubric's judge agrees with people's grades
|
|
663
|
+
forgeqe evidence dashboard claims-agent # per version: verdicts, checks, what keeps going wrong, by week; each number with its runs
|
|
664
|
+
forgeqe evidence causes <id> # where each open finding may come from: its instructions, a tool, its data
|
|
665
|
+
forgeqe evidence replay-kit <id> H1 # the change to make for a replay, as data for your harness
|
|
666
|
+
forgeqe evidence replay <id> H1 <r1> <r2> <r3> # the replays: proven when the finding is gone in 3 and nothing else broke
|
|
667
|
+
forgeqe evidence learn claims-agent # proposals: guidance from rules broken again and again, fixes from proven causes
|
|
668
|
+
forgeqe evidence decide claims-agent <proposal> approve --reason "why" # a person decides (at a terminal)
|
|
669
|
+
forgeqe evidence guidance claims-agent # what was approved, as Markdown to put into the agent
|
|
670
|
+
forgeqe evidence baseline claims-agent --reason "released 2.2.0" # a person keeps the baseline (at a terminal)
|
|
671
|
+
forgeqe evidence drift --all --notify # the nightly job: what changed since each baseline (exit 1 on an alert)
|
|
672
|
+
forgeqe evidence trust claims-agent assist --reason "why" # grant a level, never above what its evidence supports
|
|
673
|
+
forgeqe evidence audit claims-agent --out claims.audit.json # every decision with its evidence and approver
|
|
674
|
+
forgeqe evidence inventory # every agent evaluated: versions, models, tools, contract, trust, alerts
|
|
675
|
+
forgeqe evidence harness approve claims-agent # a person approves the commands ForgeQE runs the agent with
|
|
676
|
+
forgeqe evidence run-suite claims-agent --version 2.2.0 --live 2.1.0 --repeats 3 # ForgeQE runs both versions on the suite, then the gate
|
|
677
|
+
forgeqe evidence instrument # how an agent's OpenTelemetry sends its runs to ForgeQE
|
|
678
|
+
forgeqe evidence verify approve orders-api # a person approves how a repository is built and tested clean
|
|
679
|
+
forgeqe evidence build-check orders-api --base main --head agent/fix-123 --run <id> # the change built and tested, test by test
|
|
680
|
+
forgeqe evidence trajectory claims-agent storm-roof --version 2.2.0 # each run's path against the scenario's, step by step
|
|
681
|
+
forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # scenario by scenario, with run-to-run noise said
|
|
682
|
+
forgeqe evidence draft claims-agent --from jira:SHOP-12 --defect jira:SHOP-40 # scenarios drafted from acceptance criteria and defects
|
|
683
|
+
forgeqe evidence draft --run <id> # a run that failed, drafted as a scenario by code
|
|
684
|
+
forgeqe evidence draft support-agent --from-product --about shipped,refund # scenarios from the product graph's business rules
|
|
685
|
+
forgeqe evidence drafts accept <draft> --reason "why" # a person adds a draft to the suite (or reject), typing its id
|
|
686
|
+
forgeqe evidence fix <id> H1 # the cause's instruction added to a copy of the agent's prompt, proven by the harness
|
|
687
|
+
forgeqe evidence fix apply <fix> --reason "why" # a person applies a proven fix (typing its id); nothing is committed
|
|
688
|
+
forgeqe evidence demo ~/evidence-demo # a demo project: made-up agents' runs filling every Evidence page, agents being built run by the harness, and reports/ (then forgeqe web there)
|
|
689
|
+
forgeqe evidence ci orders-api --base origin/main --report report.md --sarif out.sarif # the pull request check
|
|
690
|
+
forgeqe evidence ci init github # the pipeline that runs it on every pull request (or azure)
|
|
691
|
+
forgeqe evidence scenarios claims-agent # the scenario suite's requests, to run through a version
|
|
692
|
+
forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # the release gate (exit 1 when held)
|
|
693
|
+
forgeqe evidence product-check orders-api --base main --run <id>
|
|
694
|
+
# an agent's change against the product graph (rules, architecture,
|
|
695
|
+
# dependencies, regression, security), kept beside its run; and against
|
|
696
|
+
# its work items' acceptance criteria (--work-item ado:123,jira:SHOP-12,
|
|
697
|
+
# else the ids its commits name), read by the model, quotes checked
|
|
698
|
+
</code></pre>
|
|
699
|
+
<p>A <strong>contract</strong> (<code>.forgeqe/evidence/contracts/<name>.yaml</code>) says what an agent's owner agreed: the steps it must take
|
|
700
|
+
and before what, the tools and agents it may use and never may, its limits, what a person decides, and what its
|
|
701
|
+
statements need behind them ("approved" needs an approval step that worked); and what each decision must have read
|
|
702
|
+
first, the data it may and may never take in (personal data too), that the amounts and ids it states are in its data,
|
|
703
|
+
and what its reasons may cite. Each run is checked against it in two lenses, behaviour (required steps, allowed
|
|
704
|
+
actions, limits, hand-over, statements) and decisions and data (grounded decisions, data allowed, facts from its data,
|
|
705
|
+
stated reasons, and instructions hidden in data, which every run is checked for). A contract's <code>content</code> section says
|
|
706
|
+
what the run's answer must be: rules code checks (its length, phrases it must and must never say), whether every
|
|
707
|
+
sentence rests on what it took in, and a rubric a judge scores; the rubric's misses count only once the judge agrees with
|
|
708
|
+
people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
|
|
709
|
+
once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
|
|
710
|
+
"not known", never a pass. <a href="../docs/EVIDENCE.md#the-contract">docs/EVIDENCE.md</a> has the format.</p>
|
|
711
|
+
<p>In <code>forgeqe web</code> the <strong>Evidence</strong> group has the Overview (each agent), Agent runs (each run as a timeline, with its
|
|
712
|
+
verdict) and Contracts (each contract, and how well each check is measured).
|
|
713
|
+
<a href="../docs/EVIDENCE.md">docs/EVIDENCE.md</a> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
|
|
714
|
+
</div></section>
|
|
639
715
|
<section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Scribe, the reviewer, and the browser agent each keep their own conversation with the model. The Context panel shows the working agent's (or the last one to call the model), named on its Agent row, as a share of what it can hold before the agent runtime compacts it. When it compacts, the runtime summarises the conversation so far to make room, Activity says so, and details from early on may be gone. The browser agent never compacts: it keeps its last steps only.</p>
|
|
640
716
|
<p>ForgeQE takes each model's window from its name (GPT-5: 400K, of which a prompt may take 272K; GPT-4.1: 1M; GPT-4o: 128K; o-series and Claude: 200K; Gemini: 1M; anything else: 200K) and gives it to the agent runtime, which compacts at that window less room for the answer. Where a deployment or server allows less, say so with <code>"context"</code> in the profile in <code>llms.json</code>:</p>
|
|
641
717
|
<pre><code class="language-json">"ollama-llama": { "provider": "ollama", "model": "llama3.2", "endpoint": "http://127.0.0.1:11434/v1", "context": 32768 }
|
|
@@ -644,11 +720,12 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
|
|
|
644
720
|
</div></section>
|
|
645
721
|
<section class="doc sub" id="doc-how_to_use-signing-in-to-your-tools"><h4>Signing in to your tools</h4><div class="prose"><p>Instead of copying tokens into <code>.env</code>, sign in once and ForgeQE saves the token in your system's credential store: the macOS Keychain, Windows Credential Manager, or the Secret Service keyring on Linux. On a machine without one, such as a headless Linux box, it uses <code>~/.forgeqe/credentials.json</code>, readable only by you.</p>
|
|
646
722
|
<pre><code class="language-bash">forgeqe auth login # pick a system
|
|
647
|
-
forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray
|
|
723
|
+
forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray,
|
|
724
|
+
# browserstack, testmu, gitlab, postman, sentry, azure, dataverse
|
|
648
725
|
forgeqe auth # what is signed in, and how
|
|
649
726
|
forgeqe auth logout jira
|
|
650
727
|
</code></pre>
|
|
651
|
-
<p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed into the prompt box unseen, shown as dots, and never sent to the agent.</p>
|
|
728
|
+
<p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed into the prompt box unseen, shown as dots, and never sent to the agent. In the web app, every system's card in Settings (Integrations, and MCP servers) has the same sign-in under Edit: its questions are answered on the page, a token goes into a password field and never comes back, and the page to open is shown as a link.</p>
|
|
652
729
|
<div class="tbl"><table>
|
|
653
730
|
<thead>
|
|
654
731
|
<tr><th>System</th><th>How you sign in</th></tr>
|
|
@@ -657,12 +734,16 @@ forgeqe auth logout jira
|
|
|
657
734
|
<tr><td>Azure DevOps</td><td><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>); ForgeQE saves nothing, and the Azure CLI renews the sign-in. Or paste a personal access token: the token page opens with the scopes to tick. Azure DevOps Server (on-premises) uses a personal access token.</td></tr>
|
|
658
735
|
<tr><td>GitHub</td><td><strong>Sign in with GitHub in the browser</strong> through the GitHub CLI (<code>gh auth login</code>): ForgeQE shows the one-time code and opens the page. Or paste a token. Needs <code>gh</code> installed. <code>forgeqe auth login copilot</code> can use this sign-in for a <code>github_copilot</code> profile.</td></tr>
|
|
659
736
|
<tr><td>GitHub Copilot</td><td><code>forgeqe auth login copilot</code>: <strong>Sign in with GitHub in the browser</strong> (GitHub's own Copilot sign-in), or paste a fine-grained token with the Copilot Requests permission. ForgeQE checks it with Copilot and lists the models your seat has. For a <code>github_copilot</code> profile; see <a href="../HOW_TO_USE.md#github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>.</td></tr>
|
|
660
|
-
<tr><td>Jira, Confluence</td><td>
|
|
737
|
+
<tr><td>Jira, Confluence</td><td>Jira Cloud: <strong>Sign in with Atlassian in the browser</strong>, for Atlassian's Rovo MCP server (Jira and Confluence tools for ForgeQE's agent), or an API token. ForgeQE's own Jira calls (finding and running test cases, posting results) still need the API token. Otherwise your Atlassian API tokens page opens (Cloud) or your personal access tokens page (Server/Data Center); create one and paste it. Confluence on the same Cloud site as Jira reuses the Jira sign-in.</td></tr>
|
|
738
|
+
<tr><td>GitLab, Sentry, Postman, BrowserStack</td><td><strong>Sign in in the browser</strong>, with the system's own sign-in, for its MCP server; or paste a token or key. The browser sign-in is GitLab's (GitLab.com or your own), Sentry's (sentry.io), Postman's (US) and BrowserStack's: self-hosted Sentry and Postman's EU server take a token only. BrowserStack's remote browsers still need the user name and access key.</td></tr>
|
|
739
|
+
<tr><td>Azure</td><td><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>), for Microsoft's Azure MCP server.</td></tr>
|
|
740
|
+
<tr><td>Dataverse</td><td><strong>Sign in with Microsoft in the browser</strong> through the Dataverse CLI (<code>npx @microsoft/dataverse auth create</code>), for the environment <code>integrations.dataverse.url</code> names.</td></tr>
|
|
661
741
|
<tr><td>TestRail, Zephyr Scale, qTest, Xray Cloud</td><td>The page with your API key opens, or ForgeQE says where to find it; paste it.</td></tr>
|
|
662
742
|
<tr><td>Anything else</td><td><code>forgeqe auth login OPENAI_API_KEY</code> (any variable name) saves that one secret: a model key, a Teams webhook URL, an SMTP or saved-login password.</td></tr>
|
|
663
743
|
</tbody>
|
|
664
744
|
</table></div>
|
|
665
|
-
<p>Atlassian's
|
|
745
|
+
<p><strong>Browser sign-ins of MCP servers.</strong> GitLab, Sentry, Postman, BrowserStack and Atlassian's Rovo server sign ForgeQE in as the MCP authorization spec has it: ForgeQE reads the server's OAuth metadata, registers itself as a public client, opens the system's sign-in page with PKCE, and takes the answer on a one-time listener on <code>127.0.0.1</code>. Every address involved must be https. The tokens are kept in the credential store and renewed before each session; a sign-in is used only with the server it was given for, so changing the GitLab address needs a new sign-in. <code>forgeqe auth logout <system></code> removes it (the system may still list ForgeQE among your authorized apps until you revoke it there). A token variable, when set, is used instead.</p>
|
|
746
|
+
<p>Atlassian's OAuth sign-in for its REST API needs a client secret, which a command-line tool cannot keep secret, so ForgeQE's own Jira and Confluence calls use API tokens: they are what Atlassian recommends for scripts and tools.</p>
|
|
666
747
|
<p>Each token is checked against the system before it is saved, and the system is switched on: a saved Jira sign-in sets the site URL too, so <code>sources.jira</code> is not needed in <code>forgeqe.yaml</code>. Saved values go in under the variable names the config already reads (<code>JIRA_API_TOKEN</code>, <code>ADO_PAT</code>, ...). A variable exported in the terminal is used before a saved sign-in, and a saved sign-in before a <code>.env</code> file, so pipelines keep using their secrets. The shell commands the agents run never see the saved secrets.</p>
|
|
667
748
|
</div></section>
|
|
668
749
|
<section class="doc sub" id="doc-how_to_use-choosing-the-model-and-the-browser"><h4>Choosing the model and the browser</h4><div class="prose"><p><code>forgeqe.yaml</code> selects the active profile:</p>
|
|
@@ -671,6 +752,7 @@ forgeqe auth logout jira
|
|
|
671
752
|
active: azure-gpt4o
|
|
672
753
|
routing: auto # off | shadow | auto: each area of work gets the model it needs
|
|
673
754
|
# routes: # limit or pin an area: browser: [gpt4o, gpt54], coding: gpt54
|
|
755
|
+
# agents: # an agent's own default model: forgeqe: gpt54, engine: gpt4o, forgeqe-test: gpt54
|
|
674
756
|
|
|
675
757
|
browser:
|
|
676
758
|
headless: true
|
|
@@ -690,7 +772,10 @@ ask). Carry on gives it as many steps, or as long, again; the browser stays open
|
|
|
690
772
|
spent waiting does not count. Stop ends it there, keeping everything it did (its steps, screenshots, report and what it
|
|
691
773
|
recorded, such as an accessibility persona's barriers). No answer in 10 minutes is a stop. A run nobody can be asked
|
|
692
774
|
about (a schedule, CI, <code>--yes</code>) stops at its limit as before. A run that stops at a limit is not counted as passed.
|
|
693
|
-
<code>
|
|
775
|
+
A run that has made no progress by a <code>max_steps</code> checkpoint (its recent steps all failed) asks the same way before it
|
|
776
|
+
stops, instead of ending there: you may know the page is slow or the form is long. <code>code.max_tokens</code> asks the same way for
|
|
777
|
+
the coding agent and the API test writer. <code>forgeqe suite</code> in a terminal asks too, for each case's browser run and coding job,
|
|
778
|
+
one question at a time when cases run side by side.</p>
|
|
694
779
|
<p><code>judge</code> is off by default. When it is on, one more model call reads the finished run's steps and screenshots and can fail a run the agent completed, for example when five scores were read off one results page rather than one step per item. That strictness sent runs into loops of re-checking, so turn it on only when you want that second opinion.</p>
|
|
695
780
|
<p>Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
|
|
696
781
|
<p>With a visible browser (<code>headless: false</code> or <code>--headed</code>), ForgeQE opens on its own start page, and every page it drives gets a glowing edge and a bar along the bottom showing, in plain words, what the step is for and what the agent is doing ("Step 19 · Check whether the results can be sorted by Fastest · Looking through the page's buttons"). Your mouse and keyboard are locked while the agent thinks and unlocked while it clicks and types, so a stray click can't change the test. None of this appears in the screenshots the model sees or in the report. <code>overlay: false</code> turns it off. <code>forgeqe login <name></code> shows the same bar without the lock, since you are the one signing in.</p>
|
|
@@ -901,7 +986,7 @@ Summary: Show the deployed build in each environment, and why each deployment fa
|
|
|
901
986
|
</div></section>
|
|
902
987
|
<section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
|
|
903
988
|
activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
|
|
904
|
-
quality, data, runs, reports and
|
|
989
|
+
quality, data, runs, reports, schedules and agent evidence; and every setting as a form, with keys kept in your credential store. It
|
|
905
990
|
listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
|
|
906
991
|
<pre><code class="language-bash">forgeqe web # a free port, opened in your browser
|
|
907
992
|
forgeqe web --port 4711 # a fixed port
|
|
@@ -1415,6 +1500,39 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
|
1415
1500
|
<section class="doc" id="doc-how_to_use-results-back-in-the-source">
|
|
1416
1501
|
<h4>Results back in the source</h4>
|
|
1417
1502
|
<div class="prose"><p>Test cases the agent writes from an Azure DevOps or Jira story are saved there with <code>save_test_cases</code>, linked to the story, and the reply lists them as links; set <code>sources.save_cases: false</code> to keep them in the reply only. Replies in the shell render as markdown (headings, lists, tables, links).</p>
|
|
1503
|
+
<p>A story often changes a feature that already has test cases, linked to an older story. Map where those cases live in <code>forgeqe.yaml</code>, and saving reuses or extends them instead of writing new ones:</p>
|
|
1504
|
+
<pre><code class="language-yaml">sources:
|
|
1505
|
+
azure_devops:
|
|
1506
|
+
test_cases: # the story's area path (or a parent of it) = where its cases are
|
|
1507
|
+
Shop\Checkout: plan=12/suite=34 # a suite; plan=12 alone is every suite of the plan (the first 25)
|
|
1508
|
+
"*": area=Shop\Regression # Test Cases under an area path; * is every other story
|
|
1509
|
+
jira:
|
|
1510
|
+
test_cases: # the story's project key = where its cases are
|
|
1511
|
+
SHOP: label=regression; component=Checkout # also project= and type= (default Test)
|
|
1512
|
+
</code></pre>
|
|
1513
|
+
<p>ForgeQE reads that one place itself, at most 300 cases by title and the steps of only the few closest to each new case, so the agent never searches for cases and spends nothing on it. Each case the agent wrote is then: <strong>reuse</strong> when a case there has the same steps; <strong>extends</strong> when a case there has all of its steps in order and this one adds some; <strong>differs</strong> or <strong>similar</strong> as for linked cases; otherwise <strong>created</strong>. Nothing is written to an existing case until you agree. For reuse the agent offers <code>link_test_case</code>, which shows each case with the other stories it tests and asks before linking. For extends it offers <code>update_test_case</code> with only the added steps (<code>insert</code>): the question shows just those steps and where they go, links the case to the story in the same answer, and names the other stories the case tests, since the change applies to them too; when the old steps must stay for those, the agent saves your case as a new one instead. A case is linked only when it is a test case of the story's project (in Jira, or of the project its <code>test_cases</code> names), at most 20 at once. With no <code>test_cases</code>, only the cases linked to the story are compared. Settings › Integrations has the same field for each system.</p>
|
|
1514
|
+
<p>More of managing test cases, each set in <code>forgeqe.yaml</code> (and Settings › Integrations):</p>
|
|
1515
|
+
<ul>
|
|
1516
|
+
<li><strong>Where new cases go.</strong> When <code>test_cases</code> maps a story to a suite (<code>plan=12/suite=34</code>), new Azure DevOps cases are added to that suite, and run from it, so their results are recorded as a test run in the plan rather than as comments. Other systems: <code>save_test_cases</code> writes Xray tests with their steps in Xray (<code>sources.xray.save_steps: true</code>, Cloud and Server/DC), TestRail cases in <code>sources.testrail.section_id</code> with the story in refs, and Zephyr Scale cases (in <code>sources.zephyr.folder_id</code>) linked to the Jira story. qTest is not written to: linking a case to a story there goes through qTest requirements and its Jira integration.</li>
|
|
1517
|
+
<li><strong>Fields on new cases.</strong> <code>new_cases</code> gives every new case a priority, tags or labels, and in Azure DevOps a state: <code>state: Design</code> makes each case wait for a person to mark it Ready. The agent may give a case its own priority and tags.</li>
|
|
1518
|
+
<li><strong>Shared steps and data.</strong> <code>sources.azure_devops.shared_steps</code> lists Shared Steps work items; a new case that has their steps in a row refers to them instead of copying them. A case run with several sets of data gets parameters (<code>@user</code>) and a data table.</li>
|
|
1519
|
+
<li><strong>Cases left behind by a story change.</strong> <code>story_test_cases</code> reads the story's history and marks the linked cases last changed before its title, description or acceptance criteria were (stale), with what changed. The agent offers to update each one the change affects, or to retire one that tests behaviour the story no longer has.</li>
|
|
1520
|
+
<li><strong>Retiring a case.</strong> <code>retire_test_case</code> asks first, then closes it (Azure DevOps <code>retire_state</code>, default Closed) or labels it (Jira <code>retire_label</code>, default obsolete), with the reason. Nothing is deleted, and retired cases are not offered for reuse.</li>
|
|
1521
|
+
<li><strong>Duplicates before saving.</strong> <code>check_test_cases</code> with <code>against</code> (a story) compares the cases with the story's linked cases and its scope: the same steps is a duplicate naming the existing case, more steps or a close title an overlap.</li>
|
|
1522
|
+
<li><strong>Cases with no story.</strong> Cases written from a page, a spec or a file are saved in an Azure DevOps area path or a Jira or Zephyr Scale project you name, compared with that area's or project's scope.</li>
|
|
1523
|
+
<li><strong>The feature's other stories.</strong> <code>sibling_cases: true</code> also compares with the cases of the other stories under the story's feature or epic (the first 30 stories; in Jira, the parent field Jira Cloud uses for epics).</li>
|
|
1524
|
+
<li><strong>Automation on Jira and Xray.</strong> A test that passes for a Jira or Xray case labels it <code>automated</code> and records the test on the issue, as Azure DevOps cases get their Associated Automation; a comment is added only when the test is new.</li>
|
|
1525
|
+
<li><strong>Release readiness in Jira.</strong> <code>release_readiness</code> with <code>system: jira</code> reads a sprint, a fix version, an epic or story keys: each story's tests, which are automated, their last results (ForgeQE's runs, Xray test runs and Zephyr Scale executions, the newest of them), open bugs by priority, and the same verdict.</li>
|
|
1526
|
+
<li><strong>Matching by steps.</strong> Saving keeps an index of the scope's cases in <code>.forgeqe/cases-index/</code> (git-ignored): every case's steps read once, then only those changed since, 40 per save. A case with the same steps is found whatever its title, and a slightly reworded step still counts for extends.</li>
|
|
1527
|
+
<li><strong>Several changes at once.</strong> <code>apply_case_changes</code> links, extends, updates and retires several cases with one question, every change checked and read first.</li>
|
|
1528
|
+
<li><strong>What ForgeQE changed.</strong> Every case it creates, links, updates or retires is logged in <code>.forgeqe/history/case-changes.jsonl</code>; <code>story_test_cases</code> and the readiness report list the changes for their stories.</li>
|
|
1529
|
+
<li><strong>Acceptance criteria traced to cases.</strong> Saved cases carry the criteria they cover (<code>covers</code>), and <code>trace_criteria</code> records which linked cases cover which; <code>story_test_cases</code> lists each criterion with its cases, and readiness names the criteria no traced case covers.</li>
|
|
1530
|
+
<li><strong>Healing and test cases.</strong> When healing fixes a test because the application changed, it names the test cases that test automates (heal.md, Test cases to review), and the agent offers to update their steps.</li>
|
|
1531
|
+
<li><strong>From Requirements Agent.</strong> Requirements Agent writes <code>requirements.json</code> next to its report; <code>requirements_file</code> reads it, and the agent writes a case per requirement, traced by its id (FR-001).</li>
|
|
1532
|
+
<li><strong>qTest, TestRail and Zephyr Scale.</strong> Cases are saved in qTest (<code>module_id</code>, linked to the story's requirement), retired in TestRail (moved to <code>retired_section_id</code>) and Zephyr Scale (status Deprecated), and marked automated (TestRail's <code>automation_field</code>, Zephyr Scale's <code>automated</code> label). Sibling stories on Jira Server are found through Epic Link.</li>
|
|
1533
|
+
<li><strong>Settings checks.</strong> A <code>test_cases</code>, <code>new_cases</code> or retire setting ForgeQE would refuse when saving cases is refused when Settings saves it, with the setting named. In a saved Azure DevOps or Jira connection, <strong>Try</strong> beside each <code>test_cases</code> line says how many cases it finds, with a few of their titles.</li>
|
|
1534
|
+
<li><strong>The Test cases page</strong> (<code>forgeqe web</code>, Test cases): open a story by its system and id to see its linked cases (those older than the story's last change marked), its acceptance criteria with the cases traced to each, what ForgeQE changed, and the changes <code>save_test_cases</code> proposed. Tick the ones to make, review them, and Apply: the server checks every change again and nothing is written before Apply.</li>
|
|
1535
|
+
</ul>
|
|
1418
1536
|
<p>With <code>sources.write_back: true</code> (the default), results go back after the suite:</p>
|
|
1419
1537
|
<ul>
|
|
1420
1538
|
<li><strong>Azure DevOps plan:</strong> a completed test run for the plan with each test point's outcome and the agent's summary as the comment. Cases read by id get a comment on the work item instead.</li>
|
|
@@ -1464,7 +1582,7 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
|
1464
1582
|
<div class="facts">
|
|
1465
1583
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Are the cases in test plan 12 good enough to run?</li><li>Fix the expected results of case 4512</li></ul></div>
|
|
1466
1584
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need opt">Optional</span><span>Azure DevOps or Jira, to rewrite cases in place: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
|
|
1467
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>check_test_cases</code> <code>update_test_case</code></p></div>
|
|
1585
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>check_test_cases</code> <code>update_test_case</code> <code>retire_test_case</code></p></div>
|
|
1468
1586
|
</div>
|
|
1469
1587
|
<div class="detail"><span class="mono">In detail</span>
|
|
1470
1588
|
<section class="doc" id="doc-how_to_use-checking-test-cases-before-they-run">
|
|
@@ -1500,11 +1618,11 @@ forgeqe suite cases.yaml --no-code --no-write-back --out .forgeqe/reports/smoke
|
|
|
1500
1618
|
</article>
|
|
1501
1619
|
<article class="spec feat" id="cap-write-test-cases">
|
|
1502
1620
|
<div class="hd"><span class="mono">Test cases</span><h3>Write test cases from a story</h3></div>
|
|
1503
|
-
<p class="ds">Writes test cases from a story's acceptance criteria and
|
|
1621
|
+
<p class="ds">Writes test cases from an understanding of the feature, not only a story's acceptance criteria: it reads the feature and epic above the story, their other stories, linked Confluence pages, the RAG service, product knowledge, the app's pages and flows in page memory, and the area's past defects (from earlier runs and the tracker's bugs), then analyses each criterion before it designs cases. Each case names what it covers, and nothing is saved while a criterion has no case or reason. Saves them in Azure DevOps or Jira, linked to the story. Reads the cases already linked first, so asking again adds only what is missing and updates cases in place instead of duplicating them; plans end-to-end journeys from the existing cases.</p>
|
|
1504
1622
|
<div class="facts">
|
|
1505
1623
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write test cases for story 1234 and save them</li><li>Build an end-to-end journey from story 1234's cases</li></ul></div>
|
|
1506
1624
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>Azure DevOps or Jira: set up under sources: in forgeqe.yaml, or sign in with /auth</span></li></ul></div>
|
|
1507
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>story_test_cases</code> <code>save_test_cases</code> <code>e2e_journey</code></p></div>
|
|
1625
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>story_test_cases</code> <code>save_test_cases</code> <code>link_test_case</code> <code>apply_case_changes</code> <code>trace_criteria</code> <code>requirements_file</code> <code>e2e_journey</code></p></div>
|
|
1508
1626
|
</div>
|
|
1509
1627
|
<div class="detail"><span class="mono">In detail</span>
|
|
1510
1628
|
<p class="see">See <a href="#doc-how_to_use-where-cases-come-from">Where cases come from</a>.</p>
|
|
@@ -1936,6 +2054,224 @@ forgeqe prompts eval refine --runs 3 # one prompt, three runs of each case
|
|
|
1936
2054
|
</section>
|
|
1937
2055
|
</div>
|
|
1938
2056
|
</article>
|
|
2057
|
+
<article class="spec feat" id="cap-product-knowledge">
|
|
2058
|
+
<div class="hd"><span class="mono">Setup</span><h3>Product knowledge from the product's repositories</h3></div>
|
|
2059
|
+
<p class="ds">Reads every repository of the product, and its documents and links (folders, docs sites, API descriptions, Confluence, and the pages ForgeQE remembers of the apps), into one knowledge graph: its services, HTTP endpoints, database tables, classes, files, documents, and tests, and how they connect, across repositories (the web app's call to the API endpoint it reaches, the code that reads or writes a table). The configured model (a GitHub Copilot seat or any llms.json profile) then writes what each part does and the product's business domains, flows, rules, glossary and roles, as a graph and as pages. Agents search it by requirement, follow a flow step by step to its code, and see what a change reaches and which tests cover it.</p>
|
|
2060
|
+
<div class="facts">
|
|
2061
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>How does the product cancel an order? Show the endpoints and tables involved</li><li>What does a change to OrderService reach, and which tests cover it?</li><li>Which repository serves POST /api/orders?</li><li>Build the product knowledge graph</li><li>Walk me through the checkout flow, step by step</li></ul></div>
|
|
2062
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The product's repositories: product.repos in forgeqe.yaml, a name and the path of a local clone each</span></li></ul></div>
|
|
2063
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Reads local clones of the repositories named in product.repos; it does not clone or pull them</li><li>A docs site is read from its link in product.docs and the pages it links to on the same site only; pages that need a browser to draw are not read</li><li>Endpoints, calls and tables come from the code's patterns (Express, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, SQL); a route built at run time is not seen</li><li>The model reads at most product.max_model_files changed files a build (400 by default); the rest wait for the next build</li><li>Domains, flows and rules are what the model finds in the code and documents: a hypothesis to check, not a specification</li></ul></div>
|
|
2064
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>product_knowledge</code></p></div>
|
|
2065
|
+
</div>
|
|
2066
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
2067
|
+
<section class="doc" id="doc-how_to_use-product-knowledge-graph">
|
|
2068
|
+
<h4>Product knowledge graph</h4>
|
|
2069
|
+
<div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover it. Name the repositories in <code>forgeqe.yaml</code>, each a local clone (<code>path</code>, relative to the file) or its link (<code>git</code>):</p>
|
|
2070
|
+
<pre><code class="language-yaml">product:
|
|
2071
|
+
name: Shop
|
|
2072
|
+
repos:
|
|
2073
|
+
web: { path: ../shop-web }
|
|
2074
|
+
orders: { git: https://dev.azure.com/acme/Shop/_git/orders, branch: main, token_env: ADO_PAT }
|
|
2075
|
+
crm: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, token_env: BITBUCKET_TOKEN }
|
|
2076
|
+
mobile: { git: git@github.com:acme/shop-app.git } # ssh signs in with your ssh keys
|
|
2077
|
+
exclude: ["**/generated/**"]
|
|
2078
|
+
model: true # false: structure only, nothing goes to a model
|
|
2079
|
+
max_model_files: 400 # most changed files the model reads in one build
|
|
2080
|
+
docs: # documents and links, by name: one of path, url, confluence, or app each
|
|
2081
|
+
handbook: { path: ../shop-docs }
|
|
2082
|
+
help: { url: https://help.shop.example/, depth: 1, max_pages: 100 }
|
|
2083
|
+
api: { url: https://api.shop.example/openapi.json }
|
|
2084
|
+
wiki: { confluence: SHOP }
|
|
2085
|
+
shop: { app: shop-web }
|
|
2086
|
+
</code></pre>
|
|
2087
|
+
<pre><code class="language-bash">forgeqe knowledge build # read every repository (again: only files changed since the last build), then the model
|
|
2088
|
+
forgeqe knowledge build --yes # without asking first (pipelines); --no-model: structure only
|
|
2089
|
+
forgeqe knowledge build --repo api # just one repository or source; the others keep their last reading
|
|
2090
|
+
forgeqe knowledge status # what the graph holds, and when each repository was read (its link and commit)
|
|
2091
|
+
forgeqe knowledge pipeline init # the pipeline that builds the knowledge every night and shares it (see below)
|
|
2092
|
+
forgeqe knowledge pull # the team's knowledge (product.shared), without cloning any repository
|
|
2093
|
+
forgeqe knowledge systems --propose # the model proposes the systems; accept, rename or reject each (also on the page)
|
|
2094
|
+
forgeqe knowledge landscape # the product's systems and how they talk (REST, routes, events, shared data, SDK)
|
|
2095
|
+
forgeqe knowledge history # each build: the commits it read, and the endpoints, screens, tables, rules that came and went
|
|
2096
|
+
forgeqe knowledge search "cancel an order"
|
|
2097
|
+
forgeqe knowledge impact Services/OrderService.cs # what a change reaches: code across repositories, business flows, tests
|
|
2098
|
+
forgeqe knowledge flow "cancel an order" # a business flow, step by step, with the code of each step
|
|
2099
|
+
forgeqe knowledge gaps # what the build could not settle: calls no route or several fit, other hosts, unknown tables
|
|
2100
|
+
forgeqe knowledge check # find each quoted line again in its file: what moved, what is gone
|
|
2101
|
+
forgeqe knowledge ask "Can a customer cancel an order that has shipped?"
|
|
2102
|
+
forgeqe knowledge findings "cancel" # what earlier questions found; stale ones marked
|
|
2103
|
+
</code></pre>
|
|
2104
|
+
<p><strong>Repositories from their links.</strong> You do not need every repository cloned. A repository given by <code>git</code> is fetched by
|
|
2105
|
+
ForgeQE itself into its own cache (under <code>~/.forgeqe/cache/product-repos</code>), never into your workspace: the branch's
|
|
2106
|
+
latest commit only, and only the files the graph reads (no images, archives, binaries, <code>node_modules</code> or <code>vendor</code>).
|
|
2107
|
+
Each build first asks the server for the branch's commit and fetches only when it moved; then only the files that
|
|
2108
|
+
changed are read again. It works with GitHub and GitHub Enterprise, Azure DevOps (Services and Server), GitLab,
|
|
2109
|
+
Bitbucket Cloud and Bitbucket Server / Data Center, and any git server, over https or ssh.</p>
|
|
2110
|
+
<ul>
|
|
2111
|
+
<li><strong>Signing in:</strong> <code>token_env</code> names the variable that holds a token (or save it with <code>forgeqe auth login ADO_PAT</code>): a
|
|
2112
|
+
personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a project or personal token for
|
|
2113
|
+
GitLab, an HTTP access token for Bitbucket Server, a repository access token for Bitbucket Cloud (or an app password
|
|
2114
|
+
with <code>user:</code>). It is sent to that host only, as a header, never in the link or a file. Without <code>token_env</code>, git signs in
|
|
2115
|
+
as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.</li>
|
|
2116
|
+
<li><strong>Pinned to a commit:</strong> <code>forgeqe knowledge status</code> shows each repository's link, branch and commit, and on the Product
|
|
2117
|
+
page a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
|
|
2118
|
+
built from.</li>
|
|
2119
|
+
<li><strong>When a server cannot be reached,</strong> the build reads the last fetched commit and says so; a repository never fetched
|
|
2120
|
+
keeps its graph from the last build. Neither stops the other repositories.</li>
|
|
2121
|
+
<li><strong>What changed:</strong> every build is kept in <code>graph/history.jsonl</code>; <code>forgeqe knowledge history</code> lists the commits each
|
|
2122
|
+
build read and what came and went.</li>
|
|
2123
|
+
<li><strong>Safety:</strong> git runs with an argument array; repository hooks, submodules, LFS downloads and symbolic links are off;
|
|
2124
|
+
only https and ssh links are taken (never <code>ext::</code>, <code>file://</code> or a local path), and none with a password or <code>..</code> in it.</li>
|
|
2125
|
+
</ul>
|
|
2126
|
+
<p><strong>What the runs did, against the code.</strong> Every build also reads the API calls ForgeQE's last 50 runs recorded
|
|
2127
|
+
(<code>network.json</code> in the reports folder: method, host, path and status; never a body, header or query value, and a path
|
|
2128
|
+
segment that is an email address or a long token is masked). A call whose route a repository declares marks that
|
|
2129
|
+
endpoint, the front end's call of it, and the screen the run was on as seen in a run, with the call as evidence. A call
|
|
2130
|
+
near a declared route but not it (one segment differs, or one more such as <code>/v2</code>) is listed as differing from the code;
|
|
2131
|
+
a call no repository declares, as shown only by the runs.</p>
|
|
2132
|
+
<pre><code class="language-bash">forgeqe knowledge runtime # what differs from the code, what only the runs show, endpoints no run reached
|
|
2133
|
+
</code></pre>
|
|
2134
|
+
<p><strong>Sharing the knowledge with the team.</strong> One machine builds the knowledge; everyone else pulls it, with no clone of
|
|
2135
|
+
any repository. Run once, in the repository that holds <code>forgeqe.yaml</code>:</p>
|
|
2136
|
+
<pre><code class="language-bash">forgeqe knowledge pipeline init # writes .github/workflows/forgeqe-knowledge.yml and pipelines/forgeqe-knowledge.yml
|
|
2137
|
+
</code></pre>
|
|
2138
|
+
<p>Commit the file for your CI (and <code>forgeqe.yaml</code>, <code>llms.json</code>), add the secrets it names (each repository's <code>token_env</code>,
|
|
2139
|
+
each document link's, and the model's key), and run it once. Every night, and when you start it, the pipeline:</p>
|
|
2140
|
+
<ol>
|
|
2141
|
+
<li>installs ForgeQE at this exact version;</li>
|
|
2142
|
+
<li>starts from the last pack, so only what changed is read again and the history goes on;</li>
|
|
2143
|
+
<li>runs <code>forgeqe knowledge build --yes</code> (with the model, unless you untick it);</li>
|
|
2144
|
+
<li>exports the pack (<code>forgeqe knowledge export</code>), keeps it as the run's artifact, and publishes it as the one file of
|
|
2145
|
+
the <code>forgeqe-knowledge</code> branch.</li>
|
|
2146
|
+
</ol>
|
|
2147
|
+
<p>Repositories given by <code>path</code> (a local clone) are not read by the pipeline: give them <code>git:</code>. In Azure DevOps the build
|
|
2148
|
+
service needs Contribute on the repository to publish the branch.</p>
|
|
2149
|
+
<p>Everyone else points <code>product.shared</code> at it and pulls (or Settings, Agents, The team's knowledge):</p>
|
|
2150
|
+
<pre><code class="language-yaml">product:
|
|
2151
|
+
shared: { git: https://dev.azure.com/acme/Shop/_git/qa, branch: forgeqe-knowledge, file: shop.knowledge.forgeqe, token_env: ADO_PAT }
|
|
2152
|
+
# or { url: https://files.acme.local/shop.knowledge.forgeqe, token_env: FILES_TOKEN }, or { path: //share/qa/shop.knowledge.forgeqe }
|
|
2153
|
+
</code></pre>
|
|
2154
|
+
<pre><code class="language-bash">forgeqe knowledge pull # the newest pack: the same graph, Landscape, views, history and findings
|
|
2155
|
+
forgeqe knowledge import shop.knowledge.forgeqe # or a pack you were given (a file or an https link)
|
|
2156
|
+
</code></pre>
|
|
2157
|
+
<p><code>forgeqe knowledge status</code> and the Product page say "From the team's build of …" with the commits it read; a build of
|
|
2158
|
+
your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is checked before
|
|
2159
|
+
anything is written: only the knowledge folder's own files, each matching its checksum, within a size limit. It holds
|
|
2160
|
+
quotes of the code: share it only with people who may read those repositories. Without the repositories, <code>forgeqe knowledge ask</code> answers from the graph and documents but cannot open the code itself.</p>
|
|
2161
|
+
<p><strong>The Landscape.</strong> The Engineering view opens on the product's systems: CRM, Digital, Mobile, Payments, the outside
|
|
2162
|
+
services it uses, and how they talk to each other, each link summed up by kind (REST calls, gateway routes, events on a
|
|
2163
|
+
topic or queue, shared data, an outside SDK), with how often, how it is known, and examples you can trace to the code.
|
|
2164
|
+
Give each repository its system in <code>forgeqe.yaml</code> (or Settings, Agents, Repositories):</p>
|
|
2165
|
+
<pre><code class="language-yaml">product:
|
|
2166
|
+
repos:
|
|
2167
|
+
crm-core: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, system: CRM }
|
|
2168
|
+
crm-api: { git: https://bitbucket.acme.local/scm/crm/crm-api.git, system: CRM }
|
|
2169
|
+
shop-web: { path: ../shop-web, system: Digital }
|
|
2170
|
+
</code></pre>
|
|
2171
|
+
<p>Or let the model propose them: <code>forgeqe knowledge systems --propose</code> (asked first, like every use of the model; a
|
|
2172
|
+
build where the model reads the product also proposes one for each new repository). It reads what the graph knows of
|
|
2173
|
+
each repository (what it says it is, its frameworks, endpoints, screens, tables, the outside services it uses, the
|
|
2174
|
+
repositories it calls) and the product's documents, and names the systems in the business's words, each with why. On
|
|
2175
|
+
the Landscape, under <em>Systems proposed by the model</em>, accept each, rename it, or reject it (<code>forgeqe knowledge systems --accept orders-api</code>, <code>--accept payments --as Payments</code>, <code>--reject deploy</code>, <code>--undo deploy</code>). A system set in
|
|
2176
|
+
<code>forgeqe.yaml</code> always wins, then a person's decision, then the model's proposal; the proposal and the decisions travel
|
|
2177
|
+
in the team's pack. A repository with none of these is grouped with those that share the first word of its name
|
|
2178
|
+
(<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
|
|
2179
|
+
system. <code>forgeqe knowledge landscape</code> prints the same, and the agents ask it through the knowledge tool.</p>
|
|
2180
|
+
<p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar, Context) that draws the graph as the Engineering
|
|
2181
|
+
view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
|
|
2182
|
+
data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
|
|
2183
|
+
wide as the page and as tall as the window. A green wire is a call a run saw, a dotted amber one a run made differently,
|
|
2184
|
+
a dashed one goes to an outside system, and a grey one is read in the code or configuration. Hover over or tab to a part
|
|
2185
|
+
to trace what it sends and receives; the How they talk tab lists every link in words. Select a service to see it from the inside: its endpoints with the authentication
|
|
2186
|
+
they need, who calls them and what a change to one reaches; what it calls, reads, writes, publishes and uses. Each part
|
|
2187
|
+
opens its evidence (the file and line, or the run's call), and each open question has Investigate, which asks
|
|
2188
|
+
ForgeQE's agent in a chat.</p>
|
|
2189
|
+
<p>Its second view, <strong>Product</strong>, is the product as the business sees it, in its own words: what the product does (each
|
|
2190
|
+
capability with the actions people take, such as "View an order" and "Cancel an order", what it keeps and who it shares
|
|
2191
|
+
with), journeys as a storyboard of steps (the ones ForgeQE's runs walked, and the ones the model named) with what each
|
|
2192
|
+
step causes ("Saves the order", "Announces “order cancelled”") and when it is not allowed, business rules as sentences
|
|
2193
|
+
("Cancel an order is refused when: Order has shipped"), each record's life (placed → cancelled, with the states rules
|
|
2194
|
+
check), the glossary, and the last result of your team questions (<code>forgeqe knowledge eval</code>). Before the model has read
|
|
2195
|
+
the product these words come from the code: the action from each request, the rule from the message the product
|
|
2196
|
+
answers with, the life from the states the code sets and checks; after, the model's names and sentences, each citing
|
|
2197
|
+
what shows it. <strong>Show how it is built</strong> adds the requests, files, the capability map and the sequence of calls under
|
|
2198
|
+
each. Mark a rule, journey, capability or term <strong>Right</strong> or <strong>Wrong</strong>, with what is right instead: it is kept in
|
|
2199
|
+
<code>graph/feedback.json</code> and from the next build the agents read it as a person's word, ahead of the model's.</p>
|
|
2200
|
+
<p><strong>Asking the product a question.</strong> <code>forgeqe knowledge ask</code> hands one question to an investigator: an agent on the
|
|
2201
|
+
analysis model (llm.routing) that searches the graph, reads the code and document folders it needs, follows the
|
|
2202
|
+
question across repositories, and asks again until it can answer. Its answer is a set of findings, each quoting the
|
|
2203
|
+
lines it rests on. ForgeQE finds every quoted line again in its file before it keeps a finding: one whose quote is not
|
|
2204
|
+
there is shown as not kept. What it cannot settle it says is unknown, with what would settle it. Findings are kept in
|
|
2205
|
+
<code>graph/findings.json</code>; the next question starts from them, <code>node</code> shows them, and a build marks a finding stale when a
|
|
2206
|
+
line it quotes is gone. The investigator reads only through ForgeQE's tools: only the repositories and document
|
|
2207
|
+
folders in <code>forgeqe.yaml</code>, never a hidden or credential file, no shell and no web. When only a run can settle a fact,
|
|
2208
|
+
it may ask to run one goal in the browser; you are asked first, with the goal and what it settles, and can say no
|
|
2209
|
+
(evaluations never run one). <code>product.max_investigation_steps</code>
|
|
2210
|
+
(default 40) caps its tool calls. ForgeQE's agent asks the same way (<code>product_knowledge</code>, op <code>ask</code>).</p>
|
|
2211
|
+
<p>Besides code, the investigator reads the text of documents from links and Confluence (a build keeps it in
|
|
2212
|
+
<code>graph/texts/</code>, secrets removed) and the API calls ForgeQE's own runs recorded (method, host, path and status; never a
|
|
2213
|
+
body, header or query value). A quote from a page or a run is checked the same way as one from code, and the finding
|
|
2214
|
+
says where it came from.</p>
|
|
2215
|
+
<p><strong>Checking the answers.</strong> Write questions whose answers your team knows, with the words a right answer says and the
|
|
2216
|
+
files it should quote, and score them:</p>
|
|
2217
|
+
<pre><code class="language-bash">forgeqe knowledge eval questions.yaml # each question on its own; pass, fail and why, kept in graph/evals/
|
|
2218
|
+
forgeqe knowledge eval --sample # the sample product that ships with ForgeQE: 15 questions
|
|
2219
|
+
</code></pre>
|
|
2220
|
+
<p><code>evals/knowledge/shop/questions.yaml</code> shows the format. A question passes when the answer says each group of words
|
|
2221
|
+
and a kept finding quotes one of the files named; a question the product cannot answer passes only when the answer
|
|
2222
|
+
says it is unknown. Run it after you change the model or the setup, and compare.</p>
|
|
2223
|
+
<p><strong>How each part is known.</strong> Every node and link says what it rests on: the file and line it was read from, with the
|
|
2224
|
+
line itself, and whether it was read as written (a route, a table), worked out (a call matched to a route, an import,
|
|
2225
|
+
anything the model wrote), or not known. A call is never shown as seen until a run sees it. What a build could not
|
|
2226
|
+
settle is listed, not guessed: <code>forgeqe knowledge gaps</code>, and <code>status</code> says how much of the product is covered. Quotes
|
|
2227
|
+
keep no URL query and no secret-looking value.</p>
|
|
2228
|
+
<p><strong>What it reads.</strong> Each repository's files as git tracks them, less <code>.gitignore</code>, a <code>.forgeqeignore</code> in the repository (one pattern a line), and <code>product.exclude</code>. Hidden files and folders, files named like credentials (<code>appsettings.*.json</code>, <code>*.pfx</code>, <code>secrets.*</code>, <code>*.tfvars</code> …), binaries, and links that lead out of the repository are never read. From the code it takes the files, classes, functions, and tests (TypeScript, JavaScript, C#, Java, Python); the HTTP endpoints of Express, Fastify, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, Go (net/http, Gin, Echo, chi), Ruby on Rails (<code>config/routes.rb</code>), Laravel, Rust (axum, actix), and servers that route by hand (<code>url.pathname === "/api/x"</code>); the HTTP calls each file makes, in those languages too; and the tables SQL and migrations define, read and write. No model is used.</p>
|
|
2229
|
+
<p><strong>How it is deployed and wired.</strong> From configuration files the build also reads, without a model:</p>
|
|
2230
|
+
<div class="tbl"><table>
|
|
2231
|
+
<thead>
|
|
2232
|
+
<tr><th>File</th><th>What it gives</th></tr>
|
|
2233
|
+
</thead>
|
|
2234
|
+
<tbody>
|
|
2235
|
+
<tr><td><code>docker-compose*.yml</code>, <code>compose*.yml</code></td><td>each service, the repository it is built from (<code>build: ../payments</code>), its ports, and the addresses in its environment</td></tr>
|
|
2236
|
+
<tr><td>Kubernetes manifests (<code>k8s/</code>, <code>deploy/</code>, <code>manifests/</code> …)</td><td>Deployments and their image and addresses, Ingress routes, ConfigMap addresses</td></tr>
|
|
2237
|
+
<tr><td><code>kong.yml</code>, nginx <code>*.conf</code></td><td>gateway routes to the services behind them, and the authentication plugins on them</td></tr>
|
|
2238
|
+
<tr><td><code>appsettings.json</code>, <code>application*.yml</code>, <code>application*.properties</code></td><td>base URLs the service is given, and topic and queue names (<code>topics.cancelled: order.cancelled</code>)</td></tr>
|
|
2239
|
+
<tr><td>Terraform <code>*.tf</code></td><td>cloud resources by kind (queues, topics, databases, tables, buckets, functions, container services, API gateway routes, caches, DNS), each with its name in the cloud; a queue or topic is tied to the code that uses it, a function or service to the repository its code or image comes from, a route to the endpoint it serves</td></tr>
|
|
2240
|
+
</tbody>
|
|
2241
|
+
</table></div>
|
|
2242
|
+
<p>Only addresses and topic names are kept, an address without its user name, password or query; no other value of a
|
|
2243
|
+
setting is ever read into the graph. From Terraform only a few attributes written as plain strings are read (a name, an
|
|
2244
|
+
engine, a route, an image, the code's path); <code>*.tfvars</code> and state files are never read. A call whose URL starts with a variable (<code>${PAYMENTS_URL}/refunds</code>) then reaches the service that address names,
|
|
2245
|
+
with both lines as evidence. From the code it reads the topics and queues each file publishes to and consumes (Kafka,
|
|
2246
|
+
RabbitMQ, Azure Service Bus, SQS and SNS: a name written in the code or in a constant of the file; a name read from a
|
|
2247
|
+
setting is looked up in the repository's settings files and its deployed service's environment, and one nothing here
|
|
2248
|
+
sets is an open question), the outside services it uses (Stripe, SendGrid,
|
|
2249
|
+
Twilio, Auth0, AWS and others, by SDK or API host), and the authentication a route requires (<code>[Authorize]</code>,
|
|
2250
|
+
<code>@PreAuthorize</code>, <code>Depends(get_current_user)</code>, <code>requireAuth</code> …). A topic that is published but consumed by no repository
|
|
2251
|
+
here, and a gateway route to no known service, are open questions in <code>forgeqe knowledge gaps</code>.</p>
|
|
2252
|
+
<p><strong>Documents and links.</strong> <code>product.docs</code> adds what is written about the product, each source by name:</p>
|
|
2253
|
+
<div class="tbl"><table>
|
|
2254
|
+
<thead>
|
|
2255
|
+
<tr><th>Source</th><th>What it gives</th></tr>
|
|
2256
|
+
</thead>
|
|
2257
|
+
<tbody>
|
|
2258
|
+
<tr><td><code>path:</code> a folder</td><td>A document per Markdown, text, or HTML file; an <code>openapi</code>/<code>swagger</code> file in it gives its endpoints</td></tr>
|
|
2259
|
+
<tr><td><code>url:</code> a docs site or help centre</td><td>The page and the pages it links to, <code>depth</code> links deep and <code>max_pages</code> at most, as text</td></tr>
|
|
2260
|
+
<tr><td><code>url:</code> an OpenAPI, Swagger, WSDL, or GraphQL description</td><td>Its endpoints, read with ForgeQE's API readers, each joined to the code endpoint with its method and route</td></tr>
|
|
2261
|
+
<tr><td><code>confluence:</code> a space key, or a page's link</td><td>The space's pages, or the page and the pages under it, with the existing Confluence sign-in (25 at most)</td></tr>
|
|
2262
|
+
<tr><td><code>app:</code> a web app of <code>env.yaml</code></td><td>The pages ForgeQE's runs and <code>forgeqe explore</code> remember of it, with their buttons, links and fields, each joined to the front-end screen whose route it fits</td></tr>
|
|
2263
|
+
</tbody>
|
|
2264
|
+
</table></div>
|
|
2265
|
+
<p>A document is joined to the endpoints, tables, and classes it names, so <code>impact</code> and <code>node</code> show what is written about a part, and the model reads the documents with the code. A link in the settings may be on your company network; what a page links to, and where it redirects, is followed only on that same site, so a page cannot send ForgeQE elsewhere. Only <code>http</code> and <code>https</code> links are read, never one with a user name or password in it (a token goes in <code>token_env</code>, sent as a bearer token to that site only); <code>robots.txt</code> is honoured; a page is read up to 2 MB and 20 seconds, only if it is text; and a page that did not change since the last build (its ETag or Last-Modified) is not read again. The front end's screens come from the code: Next.js pages, and the routes of React Router, Angular, and Vue Router.</p>
|
|
2266
|
+
<p><strong>What the model adds.</strong> After the structure, the model reads what changed: each file (what it does for the product), each repository (what it does, its layers), and then the whole product: an overview, the business domains with their rules and entities, the business flows step by step, a glossary, and the roles. Every flow step and domain is tied to the endpoints, files and tables that do it; a reference the model makes up is dropped. It runs on the model model routing gives the analysis area (<code>llm.routing</code>), or the active profile: a GitHub Copilot seat (<code>provider: github_copilot</code>, no token cost) or any other <code>llms.json</code> profile. It has no tools: all it reads is in its requests, and the code it is sent has secrets replaced first. Before anything is sent, ForgeQE says how many files and requests, and the cost at <code>llms.json</code>'s price, and asks; <code>--yes</code> skips the question, and without a terminal nothing is sent unless <code>--yes</code> is given. What the model wrote is kept in <code>graph/understanding.json</code> by the content it read, so a rebuild sends only new and changed files, and teammates who pull the folder do not pay again. Its prompt is <code>.forgeqe/prompts/product-knowledge.md</code>.</p>
|
|
2267
|
+
<p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own notes; ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
|
|
2268
|
+
<p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to the tests that import it.</p>
|
|
2269
|
+
<p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/<name>.json</code> (one per repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of <a href="https://github.com/Egonex-AI/Understand-Anything" rel="noopener">Understand-Anything</a>, so that project's dashboard can show it. Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
|
|
2270
|
+
<p><strong>How the agents use it.</strong> ForgeQE's agent has the <code>product_knowledge</code> tool: <code>search</code> for the parts a requirement is about, <code>node</code> for one part and everything linked to it, <code>flow</code> for a business flow step by step, <code>impact</code> for what a change reaches, <code>status</code>, and <code>build</code> (which asks you before the model reads anything). Names and summaries come from your repositories' text, so the agent treats them as data, never as instructions.</p>
|
|
2271
|
+
</div>
|
|
2272
|
+
</section>
|
|
2273
|
+
</div>
|
|
2274
|
+
</article>
|
|
1939
2275
|
<article class="spec feat" id="cap-setup-help">
|
|
1940
2276
|
<div class="hd"><span class="mono">Setup</span><h3>Setup, skills, and documentation</h3></div>
|
|
1941
2277
|
<p class="ds">Shows the model profiles and MCP servers, installs or repairs the browser engine, creates a forgeqe.yaml, manages skills, and answers any question about ForgeQE from its documentation, this list, and its own code (the prompts, skills, and source it runs).</p>
|
|
@@ -2007,7 +2343,7 @@ agents: [browser]
|
|
|
2007
2343
|
</section>
|
|
2008
2344
|
<section class="doc" id="doc-how_to_use-model-routing">
|
|
2009
2345
|
<h4>Model routing</h4>
|
|
2010
|
-
<div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win,
|
|
2346
|
+
<div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, <code>llm.routes</code> limits or pins the profiles an area may use, and <code>llm.agents</code> gives one agent its own default model (ahead of the router and <code>code.model</code>; only <code>--profile</code> overrides it). ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
|
|
2011
2347
|
<p>List profiles, and the model each area gets:</p>
|
|
2012
2348
|
<pre><code class="language-bash">bun src/index.ts models
|
|
2013
2349
|
bun src/index.ts models --routes # the pick per area, and why
|
|
@@ -2073,11 +2409,31 @@ whenever it is rated good enough.</p>
|
|
|
2073
2409
|
</table></div>
|
|
2074
2410
|
</div>
|
|
2075
2411
|
</section>
|
|
2412
|
+
<section class="doc" id="doc-docs-model_routing-a-default-model-for-each-agent">
|
|
2413
|
+
<h4>A default model for each agent</h4>
|
|
2414
|
+
<div class="prose"><p>To give one agent its own model whatever <code>routing</code> says, name an <code>llms.json</code> profile for it under <code>llm.agents</code>
|
|
2415
|
+
(Settings → Routing → Default model per agent does the same):</p>
|
|
2416
|
+
<pre><code class="language-yaml">llm:
|
|
2417
|
+
agents:
|
|
2418
|
+
forgeqe: azure-gpt4o # the Orchestrator
|
|
2419
|
+
engine: azure-gpt4o # the browser agent: pick a model that takes images
|
|
2420
|
+
forgeqe-test: claude-opus # the coding agent
|
|
2421
|
+
forgeqe-review: azure-mini # its reviewer
|
|
2422
|
+
</code></pre>
|
|
2423
|
+
<p>An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
|
|
2424
|
+
<code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
|
|
2425
|
+
<code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code> and
|
|
2426
|
+
<code>forgeqe-agent-builder</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
|
|
2427
|
+
in <code>llms.json</code> is an error when ForgeQE loads <code>forgeqe.yaml</code>. The model must still work: with <code>fallback</code> on, one that
|
|
2428
|
+
fails its check is replaced as for any area. <code>--profile</code> still names the model for everything.</p>
|
|
2429
|
+
</div>
|
|
2430
|
+
</section>
|
|
2076
2431
|
<section class="doc" id="doc-docs-model_routing-how-a-model-is-picked">
|
|
2077
2432
|
<h4>How a model is picked</h4>
|
|
2078
2433
|
<div class="prose"><ol>
|
|
2079
2434
|
<li>
|
|
2080
|
-
<p><strong>Your choices win.</strong> <code>--profile</code> (or <code>WP_LLM_PROFILE</code>)
|
|
2435
|
+
<p><strong>Your choices win.</strong> <code>--profile</code> (or <code>WP_LLM_PROFILE</code>) comes first. Then an agent's own model in <code>llm.agents</code>
|
|
2436
|
+
(below), which also comes ahead of <code>code.model</code> and <code>code.review_profile</code> for that agent. <code>code.model</code> keeps the router out. A profile pinned in
|
|
2081
2437
|
<code>llm.routes</code> is used for its area. <code>code.review_profile</code> still sets the reviewer.</p>
|
|
2082
2438
|
</li>
|
|
2083
2439
|
<li>
|
|
@@ -3652,6 +4008,7 @@ back to an earlier version (each confirmed by typing its id), and its runs with
|
|
|
3652
4008
|
<tr><td><code>job_done</code></td><td>A job that runs only when asked ends</td><td>The same, whether it passed or failed</td></tr>
|
|
3653
4009
|
<tr><td><code>job_investigated</code></td><td>The investigation of a job's failed run is done</td><td>Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons</td></tr>
|
|
3654
4010
|
<tr><td><code>agent_waiting</code></td><td>A custom agent running with nobody watching waits for a person's approval</td><td>What it wants to do and why, until when it waits, and how to answer</td></tr>
|
|
4011
|
+
<tr><td><code>evidence_drift</code></td><td><code>forgeqe evidence drift --notify</code> finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports</td><td>Each alert, with the runs it rests on (only channels that list it get it)</td></tr>
|
|
3655
4012
|
</tbody>
|
|
3656
4013
|
</table></div>
|
|
3657
4014
|
<p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, and <code>agent_waiting</code>. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own <code>monitor.alerts</code>, with the same cards.</p>
|
|
@@ -4296,6 +4653,13 @@ forgeqe heal -- npx playwright test --project=chromium # everything after -- i
|
|
|
4296
4653
|
<li>It never deletes or skips a test, loosens an assertion, or raises a timeout to make a test pass.</li>
|
|
4297
4654
|
<li>ForgeQE runs each healed test's own command, then the whole command. A healed test that still fails goes back to the agent with the output, and so does any other failure left in the whole run, until everything passes or <code>code.max_attempts</code> rounds are used.</li>
|
|
4298
4655
|
</ol>
|
|
4656
|
+
<p><strong>Limits.</strong> A heal is capped by <code>code.max_attempts</code>, by each attempt's deadline (one browser run and two test runs), and
|
|
4657
|
+
by <code>code.max_tokens</code> for the whole job, as a coding job is. At each of these, and at a browser run's steps or time, it
|
|
4658
|
+
asks whether to carry on when someone can answer: in a terminal, in a chat, or on the Regression page for
|
|
4659
|
+
<code>forgeqe pack heal</code> (the question shows under the job's output, with Carry on and Stop here). At the deadline or the
|
|
4660
|
+
token budget the agent carries on in the same session, keeping what it worked out; after the last attempt, a yes gives
|
|
4661
|
+
it as many attempts again, from what it changed so far. Stop keeps its changes. No answer in 10 minutes on the page is
|
|
4662
|
+
a stop; <code>--yes</code>, a schedule or CI stops at the limit as before.</p>
|
|
4299
4663
|
<pre><code> ▸ ForgeQE runs the tests: npx playwright test
|
|
4300
4664
|
✗ Tests failed, exit 1 (41s)
|
|
4301
4665
|
▸ Scribe (azure/gpt-5.4) is healing the failing tests in app
|
|
@@ -5072,18 +5436,28 @@ forgeqe bi build --from //share/qa-reports # this machine's runs plus every bund
|
|
|
5072
5436
|
<tr><td>Confluence</td><td>mcp-atlassian, shared with Jira (or its own when Jira isn't set up); Atlassian's hosted server covers it on the same site</td><td><code>confluence: true</code> on a Jira Cloud site, or <code>confluence.url</code> + tokens</td></tr>
|
|
5073
5437
|
<tr><td>GitHub</td><td>GitHub's <a href="https://github.com/github/github-mcp-server" rel="noopener">hosted MCP server</a> with every toolset, each turn getting the groups of tools it needs (<code>sources.github.toolsets</code> limits them), on in a repository with a GitHub remote or when <code>sources.github</code> is set. GitHub issues are also a test case source (<code>github:#12</code>, <code>github:acme/shop#12,#13</code>, <code>github:label=login</code>, <code>github:q=login in:title</code>): results go back as issue comments, and <code>sources.bugs.system: github</code> files bugs as issues. GitHub has no API to upload a screenshot to an issue, so a bug names the run folder instead</td><td><code>GITHUB_TOKEN</code>, or the GitHub CLI's sign-in (<code>forgeqe auth login github</code>)</td></tr>
|
|
5074
5438
|
<tr><td>Xray, TestRail, Zephyr Scale, qTest</td><td>none; ForgeQE's API</td><td><code>XRAY_CLIENT_ID</code> / <code>XRAY_CLIENT_SECRET</code>, <code>TESTRAIL_EMAIL</code> / <code>TESTRAIL_API_KEY</code>, <code>ZEPHYR_API_TOKEN</code>, <code>QTEST_TOKEN</code></td></tr>
|
|
5439
|
+
<tr><td>GitLab (GitLab.com or self-managed)</td><td>GitLab's <a href="https://docs.gitlab.com/user/model_context_protocol/mcp_server/" rel="noopener">built-in MCP server</a> (<code><url>/api/v4/mcp</code>): projects, issues and work items, merge requests, pipelines. <code>integrations.gitlab.toolsets</code> limits it</td><td><code>GITLAB_TOKEN</code>: a fine-grained personal access token with the MCP permission</td></tr>
|
|
5440
|
+
<tr><td>BrowserStack</td><td><a href="https://www.browserstack.com/docs/browserstack-mcp-server/overview" rel="noopener">BrowserStack's MCP server</a> (<code>npx @browserstack/mcp-server</code>): sessions, App Automate, accessibility scans, test management</td><td>Node.js; <code>BROWSERSTACK_USERNAME</code> and <code>BROWSERSTACK_ACCESS_KEY</code></td></tr>
|
|
5441
|
+
<tr><td>Postman</td><td>Postman's <a href="https://learning.postman.com/docs/developer/postman-api/postman-mcp-server/postman-mcp-remote-server" rel="noopener">hosted MCP server</a> (US or EU; full, minimal or code tools): workspaces, collections, environments, mocks</td><td><code>POSTMAN_API_KEY</code></td></tr>
|
|
5442
|
+
<tr><td>Azure</td><td>Microsoft's <a href="https://learn.microsoft.com/azure/developer/azure-mcp-server/" rel="noopener">Azure MCP server</a> (<code>npx @azure/mcp</code>), read-only unless <code>read_only: false</code>, all services or <code>namespaces</code></td><td>Node.js; <code>az login</code> or another Azure sign-in</td></tr>
|
|
5443
|
+
<tr><td>Microsoft Dataverse</td><td>Microsoft's <a href="https://learn.microsoft.com/power-apps/maker/data-platform/data-platform-mcp-other-clients" rel="noopener">Dataverse MCP server</a> (<code>npx @microsoft/dataverse mcp <url></code>): tables and records</td><td>Node.js; sign in once with <code>npx @microsoft/dataverse auth create --environment <url></code>, and an admin enables the server and its CLI client</td></tr>
|
|
5444
|
+
<tr><td>Sentry (sentry.io or self-hosted)</td><td><a href="https://docs.sentry.io/product/sentry-mcp/" rel="noopener">Sentry's MCP server</a> (<code>npx @sentry/mcp-server</code>): issues, events, stack traces, releases</td><td>Node.js; <code>SENTRY_ACCESS_TOKEN</code> (a user auth token)</td></tr>
|
|
5075
5445
|
<tr><td>Anything else</td><td>servers you add under <code>mcp:</code></td><td></td></tr>
|
|
5076
5446
|
</tbody>
|
|
5077
5447
|
</table></div>
|
|
5078
5448
|
<pre><code class="language-yaml">sources:
|
|
5079
5449
|
azure_devops: { org_url: https://dev.azure.com/acme } # every project; token in ADO_PAT. project: Shop limits ForgeQE's own calls
|
|
5080
5450
|
jira: { url: https://acme.atlassian.net } # JIRA_EMAIL + JIRA_API_TOKEN
|
|
5451
|
+
integrations: # vendors' own MCP servers for systems that are not test case sources
|
|
5452
|
+
gitlab: true # GitLab.com, token in GITLAB_TOKEN
|
|
5453
|
+
sentry: { organization: acme } # SENTRY_ACCESS_TOKEN
|
|
5454
|
+
dataverse: { url: https://acme.crm.dynamics.com }
|
|
5081
5455
|
mcp:
|
|
5082
5456
|
github:
|
|
5083
5457
|
url: https://api.githubcopilot.com/mcp/
|
|
5084
5458
|
headers: { Authorization: "Bearer {env:GITHUB_TOKEN}" }
|
|
5085
5459
|
</code></pre>
|
|
5086
|
-
<p>Tokens never go into the config: servers get them through <code>{env:NAME}</code> references that the agent runtime fills in, and the agent never sees them. <code>forgeqe mcp list</code> shows what your settings give. When the agent starts, the shell and <code>forgeqe run</code> print which servers connected.</p>
|
|
5460
|
+
<p>Tokens never go into the config: servers get them through <code>{env:NAME}</code> references that the agent runtime fills in, and the agent never sees them. GitLab, Sentry, Postman, BrowserStack and Atlassian's Rovo server can instead be signed in to in the browser (<code>forgeqe auth login <system></code>, or Sign in on its card in Settings), with the system's own sign-in; Azure and Dataverse sign in through their CLIs. <code>forgeqe mcp list</code> shows what your settings give. When the agent starts, the shell and <code>forgeqe run</code> print which servers connected.</p>
|
|
5087
5461
|
<p>Whatever has no MCP server, or whose server didn't connect, goes through ForgeQE's own tools, which call the REST APIs directly: <code>find_test_cases</code> and <code>run_test_cases</code> for test cases and posting results back, <code>read_confluence</code> for Confluence pages, and <code>query_api</code> to read anything else from Azure DevOps, Jira, Xray, or Confluence. <code>query_api</code> only reads (GET requests and Xray GraphQL queries) and only reaches the configured hosts. <code>sources.azure_devops.mcp: false</code> or <code>sources.jira.mcp: false</code> uses the API only.</p>
|
|
5088
5462
|
<p>Microsoft's Azure DevOps server can't create dashboards, so "create a dashboard in QI-Payments with all defects and this sprint's stories" goes through ForgeQE's <code>create_ado_dashboard</code>: one shared query per widget under <code>Shared Queries/ForgeQE</code>, then a dashboard with a work item list or count tile for each. Your <code>ADO_PAT</code> needs Work Items (read and write) and permission to edit dashboards. Chart widgets aren't made through the API; for those the agent uses the browser, signed in to <code>dev.azure.com</code> with a saved login.</p>
|
|
5089
5463
|
<p>Its wiki tools can only write into a wiki that already exists, so wiki pages go through ForgeQE's <code>write_ado_wiki_page</code>. If the project has no wiki yet, that tool creates the project wiki first, along with any missing parent pages. The PAT needs Wiki (read and write).</p>
|
|
@@ -5138,7 +5512,17 @@ mcp:
|
|
|
5138
5512
|
mcp: mcp-atlassian # rovo | false
|
|
5139
5513
|
</code></pre>
|
|
5140
5514
|
<p><strong>Xray.</strong> Xray has no official MCP server, so ForgeQE's own tools cover it. You can add a community server under <code>mcp:</code> if you want one.</p>
|
|
5141
|
-
<p><strong>
|
|
5515
|
+
<p><strong>GitLab, BrowserStack, Postman, Azure, Dataverse and Sentry.</strong> Their vendors' own MCP servers, set under <code>integrations:</code> (each <code>true</code> for its defaults, or a map; see <code>forgeqe.example.yaml</code>, or Settings → MCP servers):</p>
|
|
5516
|
+
<pre><code class="language-yaml">integrations:
|
|
5517
|
+
gitlab: { url: https://gitlab.acme.com, token_env: GITLAB_TOKEN } # a fine-grained PAT with the MCP permission
|
|
5518
|
+
browserstack: true # BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY
|
|
5519
|
+
postman: { region: eu } # POSTMAN_API_KEY
|
|
5520
|
+
azure: { namespaces: [storage] } # az login; read-only unless read_only: false
|
|
5521
|
+
dataverse: { url: https://acme.crm.dynamics.com } # npx @microsoft/dataverse auth create --environment <url>, once
|
|
5522
|
+
sentry: { organization: acme } # SENTRY_ACCESS_TOKEN; url: for self-hosted Sentry
|
|
5523
|
+
</code></pre>
|
|
5524
|
+
<p>GitLab's and Postman's servers are hosted (GitLab's is on your GitLab, at <code>/api/v4/mcp</code>); the others run with <code>npx</code>, so they need Node.js. Instead of a token, GitLab, Postman (US), Sentry (sentry.io) and BrowserStack can be signed in to in the browser (<code>forgeqe auth login gitlab</code>, or Sign in on the card), and then use the vendor's hosted server; Azure and Dataverse sign in through their CLIs (<code>forgeqe auth login azure</code>, <code>forgeqe auth login dataverse</code>). Their tools are <code>gitlab_*</code>, <code>browserstack_*</code>, <code>postman_*</code>, <code>azure_*</code>, <code>dataverse_*</code> and <code>sentry_*</code>. A custom agent gets them only through <code>scope.systems</code>, where a tool the server does not mark read-only is a change a person approves. Settings → MCP servers lists all six, set up or not: Set up opens a card's fields, and Edit has its sign-in. Test connection works for GitLab, BrowserStack, Postman and Sentry; Azure and Dataverse sign in on this computer when the agent starts them.</p>
|
|
5525
|
+
<p><strong>Other servers.</strong> Add any MCP server under <code>mcp:</code>. A local server has a <code>command</code> (and optional <code>args</code>, <code>env</code>, <code>cwd</code>); a remote one has a <code>url</code> (and optional <code>headers</code>). Write secrets as <code>{env:NAME}</code>; the agent runtime fills them in from the environment. A server with the same name as a built-in one (<code>azure_devops</code>, <code>atlassian</code>, <code>github</code>, or one of <code>integrations:</code>) replaces it, and <code>enabled: false</code> turns one off.</p>
|
|
5142
5526
|
<pre><code class="language-yaml">mcp:
|
|
5143
5527
|
github:
|
|
5144
5528
|
url: https://api.githubcopilot.com/mcp/
|