@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/HOW_TO_USE.md
CHANGED
|
@@ -32,6 +32,18 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
32
32
|
|
|
33
33
|
Every agent has its own name, icon, and colour in the shell: the icon moves beside the agent's name while it works, and stays with the answer it worked on.
|
|
34
34
|
|
|
35
|
+
To call an agent something else, give it a name of your own under `agent.names` in `forgeqe.yaml`, keyed by its id from
|
|
36
|
+
the table below, or in the web app's Settings › Agents › Agent names. The name (one line, at most 40 characters)
|
|
37
|
+
shows in the shell, the chats and the Agents page for everyone who opens the project; what the agent does, may do and
|
|
38
|
+
which model it uses stay the same, and config and logs keep its id. A custom agent is named in its own manifest.
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
agent:
|
|
42
|
+
names:
|
|
43
|
+
forgeqe: Atlas # the Orchestrator
|
|
44
|
+
forgeqe-test: Ada # Scribe, the coding agent
|
|
45
|
+
```
|
|
46
|
+
|
|
35
47
|
<!-- subagents:start (generated from src/agents.ts and src/tui/agentIcons.ts by bun scripts/gen-capabilities.ts; do not edit) -->
|
|
36
48
|
| Icon | In the shell | Agent | What it does | May change files |
|
|
37
49
|
|------|--------------|-------|--------------|------------------|
|
|
@@ -53,40 +65,51 @@ Every agent has its own name, icon, and colour in the shell: the icon moves besi
|
|
|
53
65
|
| a database drum, aqua | DB agent | `forgeqe-data` | DB agent: finds or designs the test data other agents ask for before they run | No |
|
|
54
66
|
| a gavel, coral | Judge | `forgeqe-judge` | Judges domain evaluations | No |
|
|
55
67
|
| a balance, amber | Model profiler | `forgeqe-model-profile` | Rates the configured models for the model router | No |
|
|
68
|
+
| quote marks, rust | Content judge | `forgeqe-evidence-content` | Reads an agent's answer against what it took in, or against its owner's rubric, quoting what it rests on | No |
|
|
69
|
+
| a card with a corner turned, mint | Scenario drafter | `forgeqe-evidence-scenarios` | Drafts test scenarios for another team's agent from its acceptance criteria and defects, each resting on a quote | No |
|
|
70
|
+
| nodes joined into a graph, olive | Knowledge builder | `forgeqe-knowledge` | Reads the product's repositories into product knowledge | No |
|
|
71
|
+
| a lens over a node, moss | Investigator | `forgeqe-investigate` | Answers one question about the product, with the lines it rests on | No |
|
|
72
|
+
| a clipboard, brick | Acceptance reader | `forgeqe-evidence-acceptance` | Reads a change against its work items' acceptance criteria, quoting the lines it rests on | No |
|
|
56
73
|
| a browser window, blue | Browser agent | `engine` | The browser agent (every browser run and test case) | No |
|
|
57
74
|
|
|
58
75
|
The icons as the shell draws them, each in its agent's colour:
|
|
59
76
|
|
|
60
77
|
```text
|
|
61
|
-
▗▟▙▖ Orchestrator
|
|
62
|
-
▜▛▜▛
|
|
78
|
+
▗▟▙▖ Orchestrator ▗▟▛ Scribe
|
|
79
|
+
▜▛▜▛ ▟▀
|
|
63
80
|
|
|
64
|
-
█▖▗█ Scribe, reading
|
|
65
|
-
▀▜▛▀
|
|
81
|
+
█▖▗█ Scribe, reading ▄ ▗▛ Reviewer
|
|
82
|
+
▀▜▛▀ ▝█▛
|
|
66
83
|
|
|
67
|
-
▚▖ Test planner
|
|
68
|
-
▝▀▄
|
|
84
|
+
▚▖ Test planner ▗▟▙▖ Healer
|
|
85
|
+
▝▀▄ ▝▜▛▘
|
|
69
86
|
|
|
70
|
-
▄▄█▄ Migrator
|
|
71
|
-
▀█▀▀
|
|
87
|
+
▄▄█▄ Migrator ▟█▖ Test finder
|
|
88
|
+
▀█▀▀ ▝▀▐▖
|
|
72
89
|
|
|
73
|
-
▛▛▛█ PR reviewer
|
|
74
|
-
▜▛▀▀
|
|
90
|
+
▛▛▛█ PR reviewer ▗▙▟▖ API test writer
|
|
91
|
+
▜▛▀▀ ▝▜▛▘
|
|
75
92
|
|
|
76
|
-
▘▀▀▀ API planner
|
|
77
|
-
▘▀▀
|
|
93
|
+
▘▀▀▀ API planner ███▘ Explorer
|
|
94
|
+
▘▀▀ █
|
|
78
95
|
|
|
79
|
-
▚▟▙▞ Root cause
|
|
80
|
-
▜██▛
|
|
96
|
+
▚▟▙▞ Root cause ▜██▛ Refine
|
|
97
|
+
▜██▛ ▜▛
|
|
81
98
|
|
|
82
|
-
█ █ Agent builder
|
|
83
|
-
█ █
|
|
99
|
+
█ █ Agent builder ▟██▙ DB agent
|
|
100
|
+
█ █ ▚▄▄▞
|
|
84
101
|
|
|
85
|
-
▐█▙ Judge
|
|
86
|
-
▄▖▝▙
|
|
102
|
+
▐█▙ Judge ▄▟▙▄ Model profiler
|
|
103
|
+
▄▖▝▙ ▙▖ ▙
|
|
87
104
|
|
|
88
|
-
|
|
89
|
-
|
|
105
|
+
█ █ Content judge ▛▀█▖ Scenario drafter
|
|
106
|
+
▞ ▞ ▙█▄▌
|
|
107
|
+
|
|
108
|
+
▀▖▗▀ Knowledge builder ▗▜▛▖ Investigator
|
|
109
|
+
▄▝▘▄ ▝▄▄▙
|
|
110
|
+
|
|
111
|
+
▞▀▀▚ Acceptance reader ▛▀▀▜ Browser agent
|
|
112
|
+
▙██▟ ▙▄▄▟
|
|
90
113
|
```
|
|
91
114
|
<!-- subagents:end -->
|
|
92
115
|
|
|
@@ -101,8 +124,8 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
|
|
|
101
124
|
| Browser | **Saved logins for the application under test**: Signs the browser agent in with saved credentials (including TOTP) and reuses the session; a user can also sign in by hand once in a browser. | `logins` | [docs](#signing-in) |
|
|
102
125
|
| Browser | **Record a web test by hand**: Opens a browser with the Recorder panel docked in the page while the user does the steps of a web test themself, and saves their clicks, typing, choices and keys in order as a run, with the checks, kept values, test data and notes they add; the coding agent then turns it into a test in the repository's framework. | `web_record` | [docs](#recording-a-web-test-by-hand) |
|
|
103
126
|
| Test cases | **Run manual test cases in browsers**: Reads test cases from Azure DevOps, Jira, Xray, TestRail, Zephyr Scale, qTest, a file, or pasted text, runs each in a real browser with a verdict per step, writes report.html and junit.xml, posts results back, and files or updates bugs for failures. | `find_test_cases`, `run_test_cases` | [docs](#7-test-cases-and-suites) |
|
|
104
|
-
| Test cases | **Check and improve test cases**: Checks test cases before they run (vague or missing expected results, missing test data, placeholders, duplicates) against the story, feature, and epic they test, then rewrites Azure DevOps or Jira cases in place once the user agrees. | `check_test_cases`, `update_test_case` | [docs](#checking-test-cases-before-they-run) |
|
|
105
|
-
| Test cases | **Write test cases from a story**: Writes test cases from a story's acceptance criteria and
|
|
127
|
+
| Test cases | **Check and improve test cases**: Checks test cases before they run (vague or missing expected results, missing test data, placeholders, duplicates) against the story, feature, and epic they test, then rewrites Azure DevOps or Jira cases in place once the user agrees. | `check_test_cases`, `update_test_case`, `retire_test_case` | [docs](#checking-test-cases-before-they-run) |
|
|
128
|
+
| Test cases | **Write test cases from a story**: 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. | `story_test_cases`, `save_test_cases`, `link_test_case`, `apply_case_changes`, `trace_criteria`, `requirements_file`, `e2e_journey` | [docs](#where-cases-come-from) |
|
|
106
129
|
| Test cases | **Domain and regulatory test design**: Every agent works as an expert in the product's industry would, automatically: the risks the industry is known for and the obligations of its regulations and standards (for example DORA, PSD2, GDPR, ISO 27001), declared in forgeqe.yaml or worked out from the story and the application. It applies to analysing requirements, writing and checking test cases, exploration, writing, reviewing, and healing test code, API tests, finding tests, and pull request reviews, labelled so coverage can be traced and citing only the control ids in the team's compliance file. forgeqe eval domain measures how well the agent does it. | | [docs](#16-domain-and-regulations) |
|
|
107
130
|
| Test cases | **Exploratory testing of a story**: Explores a story in real browsers beyond its scripted cases (edge cases, invalid input, boundaries, roles, state), confirms each defect by reproducing it, proposes test cases, and files bugs once the user agrees. | `explore_story` | [docs](#exploratory-testing-from-a-story) |
|
|
108
131
|
| Setup | **Test environments and their apps**: Knows the test environments in env.yaml (QA, UAT, …) and each one's apps: web apps and APIs by URL, Windows desktop apps, and mobile apps, with what each is for. Every agent works from the active one; switches environment on request, picks the apps a scenario needs, and carries values such as an order number from one app to the next. | `test_apps`, `use_environment` | [docs](#environments-and-apps) |
|
|
@@ -136,6 +159,7 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
|
|
|
136
159
|
| Systems | **Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests**: Reads through a system's REST API what its MCP tools do not cover: pull requests and repositories, test plans and suites, classic releases, and anything else in Azure DevOps, Jira, Xray, or Confluence. Opens Azure DevOps pull requests, which the API reads cannot. Sets a pull request reviewer as required, which the MCP server's update_reviewers cannot. Given on every turn once a system is set up, so the agent never turns to the browser or the shell for them. | `query_api`, `create_ado_pull_request`, `set_ado_pr_reviewer` | [docs](README.md#azure-devops-jira-and-other-systems) |
|
|
137
160
|
| Setup | **What ForgeQE wrote**: Says how much of the code ForgeQE wrote is still in the repository, and gives the trailer and footer that mark a commit message or pull request description covering code it wrote. Works with any repository, whatever system the team uses. | `generated_attribution` | [docs](#generated-code) |
|
|
138
161
|
| Setup | **Every forgeqe command from the shell**: Runs the forgeqe commands no other tool covers when the user asks in words: the context budget, guardrails, prompts (show, diff, check, reset), the domain eval, skills on or off, session logs, saved API sets and packs, pack pipelines, the BI site, a test notification, desktop and mobile doctor and validate, and updating ForgeQE. Reading commands run at once; the others are shown and asked first. | `forgeqe_command` | [docs](#15-commands-cheat-sheet) |
|
|
162
|
+
| Setup | **Product knowledge from the product's repositories**: 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. | `product_knowledge` | [docs](#product-knowledge-graph) |
|
|
139
163
|
| Setup | **Setup, skills, and documentation**: 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). | `forgeqe_setup`, `capabilities`, `playbook`, `use_capabilities` | [docs](#2-scaffold-config) |
|
|
140
164
|
|
|
141
165
|
Not supported: Load, stress, or soak testing with many simultaneous users (instead: per-page Core Web Vitals with budgets); Penetration testing or dynamic security scanning (instead: security findings in pull request reviews).
|
|
@@ -466,6 +490,245 @@ forgeqe prompts eval refine --runs 3 # one prompt, three runs of each case
|
|
|
466
490
|
|
|
467
491
|
**Product knowledge.** Fill in the templates (or add your own `.md` and `.txt` files, in folders if you like), one topic per `##` heading. ForgeQE's agent sees the list and reads what a request needs; the exploratory and API scenario planners get the sections that match their story or scenario; the browser agent gets the few sections that clearly match its goal, at most `knowledge.browser_max_chars` (1500 by default; 0 turns it off). Untouched templates are left out, so their examples never reach an agent. Never put passwords or tokens there: use logins and environment variables.
|
|
468
492
|
|
|
493
|
+
### Product knowledge graph
|
|
494
|
+
|
|
495
|
+
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 `forgeqe.yaml`, each a local clone (`path`, relative to the file) or its link (`git`):
|
|
496
|
+
|
|
497
|
+
```yaml
|
|
498
|
+
product:
|
|
499
|
+
name: Shop
|
|
500
|
+
repos:
|
|
501
|
+
web: { path: ../shop-web }
|
|
502
|
+
orders: { git: https://dev.azure.com/acme/Shop/_git/orders, branch: main, token_env: ADO_PAT }
|
|
503
|
+
crm: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, token_env: BITBUCKET_TOKEN }
|
|
504
|
+
mobile: { git: git@github.com:acme/shop-app.git } # ssh signs in with your ssh keys
|
|
505
|
+
exclude: ["**/generated/**"]
|
|
506
|
+
model: true # false: structure only, nothing goes to a model
|
|
507
|
+
max_model_files: 400 # most changed files the model reads in one build
|
|
508
|
+
docs: # documents and links, by name: one of path, url, confluence, or app each
|
|
509
|
+
handbook: { path: ../shop-docs }
|
|
510
|
+
help: { url: https://help.shop.example/, depth: 1, max_pages: 100 }
|
|
511
|
+
api: { url: https://api.shop.example/openapi.json }
|
|
512
|
+
wiki: { confluence: SHOP }
|
|
513
|
+
shop: { app: shop-web }
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
forgeqe knowledge build # read every repository (again: only files changed since the last build), then the model
|
|
518
|
+
forgeqe knowledge build --yes # without asking first (pipelines); --no-model: structure only
|
|
519
|
+
forgeqe knowledge build --repo api # just one repository or source; the others keep their last reading
|
|
520
|
+
forgeqe knowledge status # what the graph holds, and when each repository was read (its link and commit)
|
|
521
|
+
forgeqe knowledge pipeline init # the pipeline that builds the knowledge every night and shares it (see below)
|
|
522
|
+
forgeqe knowledge pull # the team's knowledge (product.shared), without cloning any repository
|
|
523
|
+
forgeqe knowledge systems --propose # the model proposes the systems; accept, rename or reject each (also on the page)
|
|
524
|
+
forgeqe knowledge landscape # the product's systems and how they talk (REST, routes, events, shared data, SDK)
|
|
525
|
+
forgeqe knowledge history # each build: the commits it read, and the endpoints, screens, tables, rules that came and went
|
|
526
|
+
forgeqe knowledge search "cancel an order"
|
|
527
|
+
forgeqe knowledge impact Services/OrderService.cs # what a change reaches: code across repositories, business flows, tests
|
|
528
|
+
forgeqe knowledge flow "cancel an order" # a business flow, step by step, with the code of each step
|
|
529
|
+
forgeqe knowledge gaps # what the build could not settle: calls no route or several fit, other hosts, unknown tables
|
|
530
|
+
forgeqe knowledge check # find each quoted line again in its file: what moved, what is gone
|
|
531
|
+
forgeqe knowledge ask "Can a customer cancel an order that has shipped?"
|
|
532
|
+
forgeqe knowledge findings "cancel" # what earlier questions found; stale ones marked
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
**Repositories from their links.** You do not need every repository cloned. A repository given by `git` is fetched by
|
|
536
|
+
ForgeQE itself into its own cache (under `~/.forgeqe/cache/product-repos`), never into your workspace: the branch's
|
|
537
|
+
latest commit only, and only the files the graph reads (no images, archives, binaries, `node_modules` or `vendor`).
|
|
538
|
+
Each build first asks the server for the branch's commit and fetches only when it moved; then only the files that
|
|
539
|
+
changed are read again. It works with GitHub and GitHub Enterprise, Azure DevOps (Services and Server), GitLab,
|
|
540
|
+
Bitbucket Cloud and Bitbucket Server / Data Center, and any git server, over https or ssh.
|
|
541
|
+
|
|
542
|
+
- **Signing in:** `token_env` names the variable that holds a token (or save it with `forgeqe auth login ADO_PAT`): a
|
|
543
|
+
personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a project or personal token for
|
|
544
|
+
GitLab, an HTTP access token for Bitbucket Server, a repository access token for Bitbucket Cloud (or an app password
|
|
545
|
+
with `user:`). It is sent to that host only, as a header, never in the link or a file. Without `token_env`, git signs in
|
|
546
|
+
as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.
|
|
547
|
+
- **Pinned to a commit:** `forgeqe knowledge status` shows each repository's link, branch and commit, and on the Product
|
|
548
|
+
page a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
|
|
549
|
+
built from.
|
|
550
|
+
- **When a server cannot be reached,** the build reads the last fetched commit and says so; a repository never fetched
|
|
551
|
+
keeps its graph from the last build. Neither stops the other repositories.
|
|
552
|
+
- **What changed:** every build is kept in `graph/history.jsonl`; `forgeqe knowledge history` lists the commits each
|
|
553
|
+
build read and what came and went.
|
|
554
|
+
- **Safety:** git runs with an argument array; repository hooks, submodules, LFS downloads and symbolic links are off;
|
|
555
|
+
only https and ssh links are taken (never `ext::`, `file://` or a local path), and none with a password or `..` in it.
|
|
556
|
+
|
|
557
|
+
**What the runs did, against the code.** Every build also reads the API calls ForgeQE's last 50 runs recorded
|
|
558
|
+
(`network.json` in the reports folder: method, host, path and status; never a body, header or query value, and a path
|
|
559
|
+
segment that is an email address or a long token is masked). A call whose route a repository declares marks that
|
|
560
|
+
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
|
|
561
|
+
near a declared route but not it (one segment differs, or one more such as `/v2`) is listed as differing from the code;
|
|
562
|
+
a call no repository declares, as shown only by the runs.
|
|
563
|
+
|
|
564
|
+
```bash
|
|
565
|
+
forgeqe knowledge runtime # what differs from the code, what only the runs show, endpoints no run reached
|
|
566
|
+
```
|
|
567
|
+
|
|
568
|
+
**Sharing the knowledge with the team.** One machine builds the knowledge; everyone else pulls it, with no clone of
|
|
569
|
+
any repository. Run once, in the repository that holds `forgeqe.yaml`:
|
|
570
|
+
|
|
571
|
+
```bash
|
|
572
|
+
forgeqe knowledge pipeline init # writes .github/workflows/forgeqe-knowledge.yml and pipelines/forgeqe-knowledge.yml
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
Commit the file for your CI (and `forgeqe.yaml`, `llms.json`), add the secrets it names (each repository's `token_env`,
|
|
576
|
+
each document link's, and the model's key), and run it once. Every night, and when you start it, the pipeline:
|
|
577
|
+
|
|
578
|
+
1. installs ForgeQE at this exact version;
|
|
579
|
+
2. starts from the last pack, so only what changed is read again and the history goes on;
|
|
580
|
+
3. runs `forgeqe knowledge build --yes` (with the model, unless you untick it);
|
|
581
|
+
4. exports the pack (`forgeqe knowledge export`), keeps it as the run's artifact, and publishes it as the one file of
|
|
582
|
+
the `forgeqe-knowledge` branch.
|
|
583
|
+
|
|
584
|
+
Repositories given by `path` (a local clone) are not read by the pipeline: give them `git:`. In Azure DevOps the build
|
|
585
|
+
service needs Contribute on the repository to publish the branch.
|
|
586
|
+
|
|
587
|
+
Everyone else points `product.shared` at it and pulls (or Settings, Agents, The team's knowledge):
|
|
588
|
+
|
|
589
|
+
```yaml
|
|
590
|
+
product:
|
|
591
|
+
shared: { git: https://dev.azure.com/acme/Shop/_git/qa, branch: forgeqe-knowledge, file: shop.knowledge.forgeqe, token_env: ADO_PAT }
|
|
592
|
+
# or { url: https://files.acme.local/shop.knowledge.forgeqe, token_env: FILES_TOKEN }, or { path: //share/qa/shop.knowledge.forgeqe }
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
```bash
|
|
596
|
+
forgeqe knowledge pull # the newest pack: the same graph, Landscape, views, history and findings
|
|
597
|
+
forgeqe knowledge import shop.knowledge.forgeqe # or a pack you were given (a file or an https link)
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
`forgeqe knowledge status` and the Product page say "From the team's build of …" with the commits it read; a build of
|
|
601
|
+
your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is checked before
|
|
602
|
+
anything is written: only the knowledge folder's own files, each matching its checksum, within a size limit. It holds
|
|
603
|
+
quotes of the code: share it only with people who may read those repositories. Without the repositories, `forgeqe
|
|
604
|
+
knowledge ask` answers from the graph and documents but cannot open the code itself.
|
|
605
|
+
|
|
606
|
+
**The Landscape.** The Engineering view opens on the product's systems: CRM, Digital, Mobile, Payments, the outside
|
|
607
|
+
services it uses, and how they talk to each other, each link summed up by kind (REST calls, gateway routes, events on a
|
|
608
|
+
topic or queue, shared data, an outside SDK), with how often, how it is known, and examples you can trace to the code.
|
|
609
|
+
Give each repository its system in `forgeqe.yaml` (or Settings, Agents, Repositories):
|
|
610
|
+
|
|
611
|
+
```yaml
|
|
612
|
+
product:
|
|
613
|
+
repos:
|
|
614
|
+
crm-core: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, system: CRM }
|
|
615
|
+
crm-api: { git: https://bitbucket.acme.local/scm/crm/crm-api.git, system: CRM }
|
|
616
|
+
shop-web: { path: ../shop-web, system: Digital }
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
Or let the model propose them: `forgeqe knowledge systems --propose` (asked first, like every use of the model; a
|
|
620
|
+
build where the model reads the product also proposes one for each new repository). It reads what the graph knows of
|
|
621
|
+
each repository (what it says it is, its frameworks, endpoints, screens, tables, the outside services it uses, the
|
|
622
|
+
repositories it calls) and the product's documents, and names the systems in the business's words, each with why. On
|
|
623
|
+
the Landscape, under *Systems proposed by the model*, accept each, rename it, or reject it (`forgeqe knowledge systems
|
|
624
|
+
--accept orders-api`, `--accept payments --as Payments`, `--reject deploy`, `--undo deploy`). A system set in
|
|
625
|
+
`forgeqe.yaml` always wins, then a person's decision, then the model's proposal; the proposal and the decisions travel
|
|
626
|
+
in the team's pack. A repository with none of these is grouped with those that share the first word of its name
|
|
627
|
+
(`crm-core` and `crm-api`: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
|
|
628
|
+
system. `forgeqe knowledge landscape` prints the same, and the agents ask it through the knowledge tool.
|
|
629
|
+
|
|
630
|
+
**The Product page.** `forgeqe web` has a Product page (sidebar, Context) that draws the graph as the Engineering
|
|
631
|
+
view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
|
|
632
|
+
data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
|
|
633
|
+
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,
|
|
634
|
+
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
|
|
635
|
+
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
|
|
636
|
+
they need, who calls them and what a change to one reaches; what it calls, reads, writes, publishes and uses. Each part
|
|
637
|
+
opens its evidence (the file and line, or the run's call), and each open question has Investigate, which asks
|
|
638
|
+
ForgeQE's agent in a chat.
|
|
639
|
+
|
|
640
|
+
Its second view, **Product**, is the product as the business sees it, in its own words: what the product does (each
|
|
641
|
+
capability with the actions people take, such as "View an order" and "Cancel an order", what it keeps and who it shares
|
|
642
|
+
with), journeys as a storyboard of steps (the ones ForgeQE's runs walked, and the ones the model named) with what each
|
|
643
|
+
step causes ("Saves the order", "Announces “order cancelled”") and when it is not allowed, business rules as sentences
|
|
644
|
+
("Cancel an order is refused when: Order has shipped"), each record's life (placed → cancelled, with the states rules
|
|
645
|
+
check), the glossary, and the last result of your team questions (`forgeqe knowledge eval`). Before the model has read
|
|
646
|
+
the product these words come from the code: the action from each request, the rule from the message the product
|
|
647
|
+
answers with, the life from the states the code sets and checks; after, the model's names and sentences, each citing
|
|
648
|
+
what shows it. **Show how it is built** adds the requests, files, the capability map and the sequence of calls under
|
|
649
|
+
each. Mark a rule, journey, capability or term **Right** or **Wrong**, with what is right instead: it is kept in
|
|
650
|
+
`graph/feedback.json` and from the next build the agents read it as a person's word, ahead of the model's.
|
|
651
|
+
|
|
652
|
+
**Asking the product a question.** `forgeqe knowledge ask` hands one question to an investigator: an agent on the
|
|
653
|
+
analysis model (llm.routing) that searches the graph, reads the code and document folders it needs, follows the
|
|
654
|
+
question across repositories, and asks again until it can answer. Its answer is a set of findings, each quoting the
|
|
655
|
+
lines it rests on. ForgeQE finds every quoted line again in its file before it keeps a finding: one whose quote is not
|
|
656
|
+
there is shown as not kept. What it cannot settle it says is unknown, with what would settle it. Findings are kept in
|
|
657
|
+
`graph/findings.json`; the next question starts from them, `node` shows them, and a build marks a finding stale when a
|
|
658
|
+
line it quotes is gone. The investigator reads only through ForgeQE's tools: only the repositories and document
|
|
659
|
+
folders in `forgeqe.yaml`, never a hidden or credential file, no shell and no web. When only a run can settle a fact,
|
|
660
|
+
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
|
|
661
|
+
(evaluations never run one). `product.max_investigation_steps`
|
|
662
|
+
(default 40) caps its tool calls. ForgeQE's agent asks the same way (`product_knowledge`, op `ask`).
|
|
663
|
+
|
|
664
|
+
Besides code, the investigator reads the text of documents from links and Confluence (a build keeps it in
|
|
665
|
+
`graph/texts/`, secrets removed) and the API calls ForgeQE's own runs recorded (method, host, path and status; never a
|
|
666
|
+
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
|
|
667
|
+
says where it came from.
|
|
668
|
+
|
|
669
|
+
**Checking the answers.** Write questions whose answers your team knows, with the words a right answer says and the
|
|
670
|
+
files it should quote, and score them:
|
|
671
|
+
|
|
672
|
+
```bash
|
|
673
|
+
forgeqe knowledge eval questions.yaml # each question on its own; pass, fail and why, kept in graph/evals/
|
|
674
|
+
forgeqe knowledge eval --sample # the sample product that ships with ForgeQE: 15 questions
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
`evals/knowledge/shop/questions.yaml` shows the format. A question passes when the answer says each group of words
|
|
678
|
+
and a kept finding quotes one of the files named; a question the product cannot answer passes only when the answer
|
|
679
|
+
says it is unknown. Run it after you change the model or the setup, and compare.
|
|
680
|
+
|
|
681
|
+
**How each part is known.** Every node and link says what it rests on: the file and line it was read from, with the
|
|
682
|
+
line itself, and whether it was read as written (a route, a table), worked out (a call matched to a route, an import,
|
|
683
|
+
anything the model wrote), or not known. A call is never shown as seen until a run sees it. What a build could not
|
|
684
|
+
settle is listed, not guessed: `forgeqe knowledge gaps`, and `status` says how much of the product is covered. Quotes
|
|
685
|
+
keep no URL query and no secret-looking value.
|
|
686
|
+
|
|
687
|
+
**What it reads.** Each repository's files as git tracks them, less `.gitignore`, a `.forgeqeignore` in the repository (one pattern a line), and `product.exclude`. Hidden files and folders, files named like credentials (`appsettings.*.json`, `*.pfx`, `secrets.*`, `*.tfvars` …), 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 (`config/routes.rb`), Laravel, Rust (axum, actix), and servers that route by hand (`url.pathname === "/api/x"`); the HTTP calls each file makes, in those languages too; and the tables SQL and migrations define, read and write. No model is used.
|
|
688
|
+
|
|
689
|
+
**How it is deployed and wired.** From configuration files the build also reads, without a model:
|
|
690
|
+
|
|
691
|
+
| File | What it gives |
|
|
692
|
+
|---|---|
|
|
693
|
+
| `docker-compose*.yml`, `compose*.yml` | each service, the repository it is built from (`build: ../payments`), its ports, and the addresses in its environment |
|
|
694
|
+
| Kubernetes manifests (`k8s/`, `deploy/`, `manifests/` …) | Deployments and their image and addresses, Ingress routes, ConfigMap addresses |
|
|
695
|
+
| `kong.yml`, nginx `*.conf` | gateway routes to the services behind them, and the authentication plugins on them |
|
|
696
|
+
| `appsettings.json`, `application*.yml`, `application*.properties` | base URLs the service is given, and topic and queue names (`topics.cancelled: order.cancelled`) |
|
|
697
|
+
| Terraform `*.tf` | 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 |
|
|
698
|
+
|
|
699
|
+
Only addresses and topic names are kept, an address without its user name, password or query; no other value of a
|
|
700
|
+
setting is ever read into the graph. From Terraform only a few attributes written as plain strings are read (a name, an
|
|
701
|
+
engine, a route, an image, the code's path); `*.tfvars` and state files are never read. A call whose URL starts with a variable (`${PAYMENTS_URL}/refunds`) then reaches the service that address names,
|
|
702
|
+
with both lines as evidence. From the code it reads the topics and queues each file publishes to and consumes (Kafka,
|
|
703
|
+
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
|
|
704
|
+
setting is looked up in the repository's settings files and its deployed service's environment, and one nothing here
|
|
705
|
+
sets is an open question), the outside services it uses (Stripe, SendGrid,
|
|
706
|
+
Twilio, Auth0, AWS and others, by SDK or API host), and the authentication a route requires (`[Authorize]`,
|
|
707
|
+
`@PreAuthorize`, `Depends(get_current_user)`, `requireAuth` …). A topic that is published but consumed by no repository
|
|
708
|
+
here, and a gateway route to no known service, are open questions in `forgeqe knowledge gaps`.
|
|
709
|
+
|
|
710
|
+
**Documents and links.** `product.docs` adds what is written about the product, each source by name:
|
|
711
|
+
|
|
712
|
+
| Source | What it gives |
|
|
713
|
+
|---|---|
|
|
714
|
+
| `path:` a folder | A document per Markdown, text, or HTML file; an `openapi`/`swagger` file in it gives its endpoints |
|
|
715
|
+
| `url:` a docs site or help centre | The page and the pages it links to, `depth` links deep and `max_pages` at most, as text |
|
|
716
|
+
| `url:` an OpenAPI, Swagger, WSDL, or GraphQL description | Its endpoints, read with ForgeQE's API readers, each joined to the code endpoint with its method and route |
|
|
717
|
+
| `confluence:` a space key, or a page's link | The space's pages, or the page and the pages under it, with the existing Confluence sign-in (25 at most) |
|
|
718
|
+
| `app:` a web app of `env.yaml` | The pages ForgeQE's runs and `forgeqe explore` remember of it, with their buttons, links and fields, each joined to the front-end screen whose route it fits |
|
|
719
|
+
|
|
720
|
+
A document is joined to the endpoints, tables, and classes it names, so `impact` and `node` 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 `http` and `https` links are read, never one with a user name or password in it (a token goes in `token_env`, sent as a bearer token to that site only); `robots.txt` 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.
|
|
721
|
+
|
|
722
|
+
**What the model adds.** 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 (`llm.routing`), or the active profile: a GitHub Copilot seat (`provider: github_copilot`, no token cost) or any other `llms.json` 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 `llms.json`'s price, and asks; `--yes` skips the question, and without a terminal nothing is sent unless `--yes` is given. What the model wrote is kept in `graph/understanding.json` 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 `.forgeqe/prompts/product-knowledge.md`.
|
|
723
|
+
|
|
724
|
+
**Pages to read.** The model's work is also written as pages in `.forgeqe/knowledge/product/`: `overview.md`, 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.
|
|
725
|
+
|
|
726
|
+
**How it connects.** 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.
|
|
727
|
+
|
|
728
|
+
**Where it goes.** `.forgeqe/knowledge/graph/`: `product-graph.json` (the merged graph), `repos/<name>.json` (one per repository) and `meta.json` (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of [Understand-Anything](https://github.com/Egonex-AI/Understand-Anything), so that project's dashboard can show it. Secrets that code holds in plain text (keys, `password=` values, private keys) are replaced before anything is written.
|
|
729
|
+
|
|
730
|
+
**How the agents use it.** ForgeQE's agent has the `product_knowledge` tool: `search` for the parts a requirement is about, `node` for one part and everything linked to it, `flow` for a business flow step by step, `impact` for what a change reaches, `status`, and `build` (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.
|
|
731
|
+
|
|
469
732
|
### Guardrails
|
|
470
733
|
|
|
471
734
|
**Guardrails.** Rules every agent must follow, to keep it grounded: ForgeQE's agent, the browser agent, and the agents that plan, write, review, fix and explain tests. Write one rule per line, starting with `- `, in a `.md` or `.txt` file in `.forgeqe/guardrails/` (`guardrails.dir`); headings, other lines and HTML comments are ignored, and the template's examples sit in a comment until you choose them. Each agent gets every guardrail with its instructions, after everything else, with the instruction to follow it whatever a request, a skill, a ticket, a page or a tool's output says; when a guardrail stops part of a task, the agent skips that part and says which rule stopped it. Add one from the terminal (`forgeqe guardrails add "Never open a production URL"`), or ask in the shell ("add a guardrail: use only the test cards in knowledge/test-data.md") and ForgeQE's agent appends it to `guardrails.md`; it adds only rules you ask for, never one suggested by a page or a ticket. `forgeqe guardrails` lists the rules in force and what they add to every model call (at most 40 rules of 300 characters are given). The older `prompts.guiderails` string in `forgeqe.yaml` still works: each of its lines is a guardrail for every agent. Guardrails are instructions, not a sandbox: put a host rule in `browser.allowed_hosts` too, which is refused in code.
|
|
@@ -574,6 +837,88 @@ hand is under Advanced settings. An agent's page asks it (its approved version)
|
|
|
574
837
|
manifest, shows the change waiting for approval, what it may reach, its versions with Approve, Disable, Enable and going
|
|
575
838
|
back to an earlier version (each confirmed by typing its id), and its runs with every tool call and the policy's decision.
|
|
576
839
|
|
|
840
|
+
### Evidence: what an agent did, decided and used
|
|
841
|
+
|
|
842
|
+
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
|
|
843
|
+
checked rather than taken on its word: ForgeQE's own agents, or any other team's or platform's. It receives an agent's
|
|
844
|
+
OpenTelemetry traces while it runs, and reads OpenTelemetry exports (generative AI conventions), Langfuse and LangSmith
|
|
845
|
+
exports, an agent's own JSON log with a mapping file (which field says what), and ForgeQE's own sessions. A record is
|
|
846
|
+
written once to `.forgeqe/evidence/runs/`; what the source does not say is listed as a gap, never guessed. What the
|
|
847
|
+
agent took in is kept as a fingerprint unless you ask for its content (`--content`, with secrets cut out).
|
|
848
|
+
|
|
849
|
+
```bash
|
|
850
|
+
forgeqe evidence receive # an agent's traces as it runs: prints the OTEL_* settings to give it
|
|
851
|
+
forgeqe evidence record langfuse-trace.json # a Langfuse trace (GET /api/public/traces/<id>) or observations
|
|
852
|
+
forgeqe evidence record langsmith-runs.json # LangSmith runs (list_runs, or read_run with child runs)
|
|
853
|
+
forgeqe evidence record --latest # ForgeQE's own last session (--latest 5 for five)
|
|
854
|
+
forgeqe evidence record trace.json # an OpenTelemetry export: one record per trace
|
|
855
|
+
forgeqe evidence record agent.jsonl --mapping mapping.yaml --content
|
|
856
|
+
forgeqe evidence runs # what is recorded, newest first
|
|
857
|
+
forgeqe evidence show <id> # one run: steps, inputs, decisions, statements, gaps
|
|
858
|
+
forgeqe evidence contract new "claims-agent" # a contract to edit: what was agreed for the agent
|
|
859
|
+
forgeqe evidence contract approve claims-agent # a person types its name; only then can its checks fail a run
|
|
860
|
+
forgeqe evidence check --all # each run against its agent's contract (exit 1 when one fails)
|
|
861
|
+
forgeqe evidence measure # how well each check is measured on labelled runs
|
|
862
|
+
forgeqe evidence findings <id> # the findings as a file the agent reads to fix them
|
|
863
|
+
forgeqe evidence check <id2> --attempt-of <id> # a fix attempt (two at most, then a person takes over)
|
|
864
|
+
forgeqe evidence overrule <id> <finding> --reason "why" # a person overrules one finding (at a terminal)
|
|
865
|
+
forgeqe evidence judge <id> # a model reads the answer: grounded in its inputs, and the owner's rubric
|
|
866
|
+
forgeqe evidence grade <id> R2 misses --reason "why" # a person grades the answer (at a terminal, or on its page)
|
|
867
|
+
forgeqe evidence calibrate claims-agent # how often the rubric's judge agrees with people's grades
|
|
868
|
+
forgeqe evidence dashboard claims-agent # per version: verdicts, checks, what keeps going wrong, by week; each number with its runs
|
|
869
|
+
forgeqe evidence causes <id> # where each open finding may come from: its instructions, a tool, its data
|
|
870
|
+
forgeqe evidence replay-kit <id> H1 # the change to make for a replay, as data for your harness
|
|
871
|
+
forgeqe evidence replay <id> H1 <r1> <r2> <r3> # the replays: proven when the finding is gone in 3 and nothing else broke
|
|
872
|
+
forgeqe evidence learn claims-agent # proposals: guidance from rules broken again and again, fixes from proven causes
|
|
873
|
+
forgeqe evidence decide claims-agent <proposal> approve --reason "why" # a person decides (at a terminal)
|
|
874
|
+
forgeqe evidence guidance claims-agent # what was approved, as Markdown to put into the agent
|
|
875
|
+
forgeqe evidence baseline claims-agent --reason "released 2.2.0" # a person keeps the baseline (at a terminal)
|
|
876
|
+
forgeqe evidence drift --all --notify # the nightly job: what changed since each baseline (exit 1 on an alert)
|
|
877
|
+
forgeqe evidence trust claims-agent assist --reason "why" # grant a level, never above what its evidence supports
|
|
878
|
+
forgeqe evidence audit claims-agent --out claims.audit.json # every decision with its evidence and approver
|
|
879
|
+
forgeqe evidence inventory # every agent evaluated: versions, models, tools, contract, trust, alerts
|
|
880
|
+
forgeqe evidence harness approve claims-agent # a person approves the commands ForgeQE runs the agent with
|
|
881
|
+
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
|
|
882
|
+
forgeqe evidence instrument # how an agent's OpenTelemetry sends its runs to ForgeQE
|
|
883
|
+
forgeqe evidence verify approve orders-api # a person approves how a repository is built and tested clean
|
|
884
|
+
forgeqe evidence build-check orders-api --base main --head agent/fix-123 --run <id> # the change built and tested, test by test
|
|
885
|
+
forgeqe evidence trajectory claims-agent storm-roof --version 2.2.0 # each run's path against the scenario's, step by step
|
|
886
|
+
forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # scenario by scenario, with run-to-run noise said
|
|
887
|
+
forgeqe evidence draft claims-agent --from jira:SHOP-12 --defect jira:SHOP-40 # scenarios drafted from acceptance criteria and defects
|
|
888
|
+
forgeqe evidence draft --run <id> # a run that failed, drafted as a scenario by code
|
|
889
|
+
forgeqe evidence draft support-agent --from-product --about shipped,refund # scenarios from the product graph's business rules
|
|
890
|
+
forgeqe evidence drafts accept <draft> --reason "why" # a person adds a draft to the suite (or reject), typing its id
|
|
891
|
+
forgeqe evidence fix <id> H1 # the cause's instruction added to a copy of the agent's prompt, proven by the harness
|
|
892
|
+
forgeqe evidence fix apply <fix> --reason "why" # a person applies a proven fix (typing its id); nothing is committed
|
|
893
|
+
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)
|
|
894
|
+
forgeqe evidence ci orders-api --base origin/main --report report.md --sarif out.sarif # the pull request check
|
|
895
|
+
forgeqe evidence ci init github # the pipeline that runs it on every pull request (or azure)
|
|
896
|
+
forgeqe evidence scenarios claims-agent # the scenario suite's requests, to run through a version
|
|
897
|
+
forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0 # the release gate (exit 1 when held)
|
|
898
|
+
forgeqe evidence product-check orders-api --base main --run <id>
|
|
899
|
+
# an agent's change against the product graph (rules, architecture,
|
|
900
|
+
# dependencies, regression, security), kept beside its run; and against
|
|
901
|
+
# its work items' acceptance criteria (--work-item ado:123,jira:SHOP-12,
|
|
902
|
+
# else the ids its commits name), read by the model, quotes checked
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
A **contract** (`.forgeqe/evidence/contracts/<name>.yaml`) says what an agent's owner agreed: the steps it must take
|
|
906
|
+
and before what, the tools and agents it may use and never may, its limits, what a person decides, and what its
|
|
907
|
+
statements need behind them ("approved" needs an approval step that worked); and what each decision must have read
|
|
908
|
+
first, the data it may and may never take in (personal data too), that the amounts and ids it states are in its data,
|
|
909
|
+
and what its reasons may cite. Each run is checked against it in two lenses, behaviour (required steps, allowed
|
|
910
|
+
actions, limits, hand-over, statements) and decisions and data (grounded decisions, data allowed, facts from its data,
|
|
911
|
+
stated reasons, and instructions hidden in data, which every run is checked for). A contract's `content` section says
|
|
912
|
+
what the run's answer must be: rules code checks (its length, phrases it must and must never say), whether every
|
|
913
|
+
sentence rests on what it took in, and a rubric a judge scores; the rubric's misses count only once the judge agrees with
|
|
914
|
+
people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
|
|
915
|
+
once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
|
|
916
|
+
"not known", never a pass. [docs/EVIDENCE.md](docs/EVIDENCE.md#the-contract) has the format.
|
|
917
|
+
|
|
918
|
+
In `forgeqe web` the **Evidence** group has the Overview (each agent), Agent runs (each run as a timeline, with its
|
|
919
|
+
verdict) and Contracts (each contract, and how well each check is measured).
|
|
920
|
+
[docs/EVIDENCE.md](docs/EVIDENCE.md) is the design and the phases still to come (contracts, behaviour checks, verdicts).
|
|
921
|
+
|
|
577
922
|
### The model's context window
|
|
578
923
|
|
|
579
924
|
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.
|
|
@@ -592,23 +937,29 @@ Instead of copying tokens into `.env`, sign in once and ForgeQE saves the token
|
|
|
592
937
|
|
|
593
938
|
```bash
|
|
594
939
|
forgeqe auth login # pick a system
|
|
595
|
-
forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray
|
|
940
|
+
forgeqe auth login jira # or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray,
|
|
941
|
+
# browserstack, testmu, gitlab, postman, sentry, azure, dataverse
|
|
596
942
|
forgeqe auth # what is signed in, and how
|
|
597
943
|
forgeqe auth logout jira
|
|
598
944
|
```
|
|
599
945
|
|
|
600
|
-
In the shell, type `/auth jira` (or `/auth` alone for the status). Tokens are typed into the prompt box unseen, shown as dots, and never sent to the agent.
|
|
946
|
+
In the shell, type `/auth jira` (or `/auth` 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.
|
|
601
947
|
|
|
602
948
|
| System | How you sign in |
|
|
603
949
|
|--------|-----------------|
|
|
604
950
|
| Azure DevOps | **Sign in with Microsoft in the browser** through the Azure CLI (`az login`); 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. |
|
|
605
951
|
| GitHub | **Sign in with GitHub in the browser** through the GitHub CLI (`gh auth login`): ForgeQE shows the one-time code and opens the page. Or paste a token. Needs `gh` installed. `forgeqe auth login copilot` can use this sign-in for a `github_copilot` profile. |
|
|
606
952
|
| GitHub Copilot | `forgeqe auth login copilot`: **Sign in with GitHub in the browser** (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 `github_copilot` profile; see [GitHub Copilot seats as the model](#github-copilot-seats-as-the-model). |
|
|
607
|
-
| Jira, Confluence |
|
|
953
|
+
| Jira, Confluence | Jira Cloud: **Sign in with Atlassian in the browser**, 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. |
|
|
954
|
+
| GitLab, Sentry, Postman, BrowserStack | **Sign in in the browser**, 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. |
|
|
955
|
+
| Azure | **Sign in with Microsoft in the browser** through the Azure CLI (`az login`), for Microsoft's Azure MCP server. |
|
|
956
|
+
| Dataverse | **Sign in with Microsoft in the browser** through the Dataverse CLI (`npx @microsoft/dataverse auth create`), for the environment `integrations.dataverse.url` names. |
|
|
608
957
|
| TestRail, Zephyr Scale, qTest, Xray Cloud | The page with your API key opens, or ForgeQE says where to find it; paste it. |
|
|
609
958
|
| Anything else | `forgeqe auth login OPENAI_API_KEY` (any variable name) saves that one secret: a model key, a Teams webhook URL, an SMTP or saved-login password. |
|
|
610
959
|
|
|
611
|
-
Atlassian's
|
|
960
|
+
**Browser sign-ins of MCP servers.** 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 `127.0.0.1`. 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. `forgeqe auth logout <system>` 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.
|
|
961
|
+
|
|
962
|
+
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.
|
|
612
963
|
|
|
613
964
|
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 `sources.jira` is not needed in `forgeqe.yaml`. Saved values go in under the variable names the config already reads (`JIRA_API_TOKEN`, `ADO_PAT`, ...). A variable exported in the terminal is used before a saved sign-in, and a saved sign-in before a `.env` file, so pipelines keep using their secrets. The shell commands the agents run never see the saved secrets.
|
|
614
965
|
|
|
@@ -695,6 +1046,7 @@ llm:
|
|
|
695
1046
|
active: azure-gpt4o
|
|
696
1047
|
routing: auto # off | shadow | auto: each area of work gets the model it needs
|
|
697
1048
|
# routes: # limit or pin an area: browser: [gpt4o, gpt54], coding: gpt54
|
|
1049
|
+
# agents: # an agent's own default model: forgeqe: gpt54, engine: gpt4o, forgeqe-test: gpt54
|
|
698
1050
|
|
|
699
1051
|
browser:
|
|
700
1052
|
headless: true
|
|
@@ -715,7 +1067,10 @@ ask). Carry on gives it as many steps, or as long, again; the browser stays open
|
|
|
715
1067
|
spent waiting does not count. Stop ends it there, keeping everything it did (its steps, screenshots, report and what it
|
|
716
1068
|
recorded, such as an accessibility persona's barriers). No answer in 10 minutes is a stop. A run nobody can be asked
|
|
717
1069
|
about (a schedule, CI, `--yes`) stops at its limit as before. A run that stops at a limit is not counted as passed.
|
|
718
|
-
`
|
|
1070
|
+
A run that has made no progress by a `max_steps` checkpoint (its recent steps all failed) asks the same way before it
|
|
1071
|
+
stops, instead of ending there: you may know the page is slow or the form is long. `code.max_tokens` asks the same way for
|
|
1072
|
+
the coding agent and the API test writer. `forgeqe suite` in a terminal asks too, for each case's browser run and coding job,
|
|
1073
|
+
one question at a time when cases run side by side.
|
|
719
1074
|
|
|
720
1075
|
`judge` 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.
|
|
721
1076
|
|
|
@@ -729,7 +1084,7 @@ A visible browser opens maximized. `window: viewport` opens it at `viewport`'s w
|
|
|
729
1084
|
|
|
730
1085
|
### Model routing
|
|
731
1086
|
|
|
732
|
-
`llm.routing` is `off` by default for existing projects (`forgeqe init` writes `auto`); `shadow` logs each pick in the session log but changes nothing. `--profile` and `code.model` always win,
|
|
1087
|
+
`llm.routing` is `off` by default for existing projects (`forgeqe init` writes `auto`); `shadow` logs each pick in the session log but changes nothing. `--profile` and `code.model` always win, `llm.routes` limits or pins the profiles an area may use, and `llm.agents` gives one agent its own default model (ahead of the router and `code.model`; only `--profile` overrides it). ForgeQE checks and rates the models once and keeps the result in `.forgeqe/model-profile.json` (you can edit the ratings). Details: [docs/MODEL_ROUTING.md](docs/MODEL_ROUTING.md).
|
|
733
1088
|
|
|
734
1089
|
List profiles, and the model each area gets:
|
|
735
1090
|
|
|
@@ -992,7 +1347,7 @@ In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc c
|
|
|
992
1347
|
|
|
993
1348
|
`forgeqe web` is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
|
|
994
1349
|
activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
|
|
995
|
-
quality, data, runs, reports and
|
|
1350
|
+
quality, data, runs, reports, schedules and agent evidence; and every setting as a form, with keys kept in your credential store. It
|
|
996
1351
|
listens on `127.0.0.1` only and needs the token in the address it opens and prints.
|
|
997
1352
|
|
|
998
1353
|
```bash
|
|
@@ -1296,6 +1651,14 @@ code:
|
|
|
1296
1651
|
5. It never deletes or skips a test, loosens an assertion, or raises a timeout to make a test pass.
|
|
1297
1652
|
6. 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.max_attempts` rounds are used.
|
|
1298
1653
|
|
|
1654
|
+
**Limits.** A heal is capped by `code.max_attempts`, by each attempt's deadline (one browser run and two test runs), and
|
|
1655
|
+
by `code.max_tokens` for the whole job, as a coding job is. At each of these, and at a browser run's steps or time, it
|
|
1656
|
+
asks whether to carry on when someone can answer: in a terminal, in a chat, or on the Regression page for
|
|
1657
|
+
`forgeqe pack heal` (the question shows under the job's output, with Carry on and Stop here). At the deadline or the
|
|
1658
|
+
token budget the agent carries on in the same session, keeping what it worked out; after the last attempt, a yes gives
|
|
1659
|
+
it as many attempts again, from what it changed so far. Stop keeps its changes. No answer in 10 minutes on the page is
|
|
1660
|
+
a stop; `--yes`, a schedule or CI stops at the limit as before.
|
|
1661
|
+
|
|
1299
1662
|
```
|
|
1300
1663
|
▸ ForgeQE runs the tests: npx playwright test
|
|
1301
1664
|
✗ Tests failed, exit 1 (41s)
|
|
@@ -1847,6 +2210,43 @@ In the shell, `/report` builds ForgeQE's own page from the same data, `/report e
|
|
|
1847
2210
|
|
|
1848
2211
|
Test cases the agent writes from an Azure DevOps or Jira story are saved there with `save_test_cases`, linked to the story, and the reply lists them as links; set `sources.save_cases: false` to keep them in the reply only. Replies in the shell render as markdown (headings, lists, tables, links).
|
|
1849
2212
|
|
|
2213
|
+
A story often changes a feature that already has test cases, linked to an older story. Map where those cases live in `forgeqe.yaml`, and saving reuses or extends them instead of writing new ones:
|
|
2214
|
+
|
|
2215
|
+
```yaml
|
|
2216
|
+
sources:
|
|
2217
|
+
azure_devops:
|
|
2218
|
+
test_cases: # the story's area path (or a parent of it) = where its cases are
|
|
2219
|
+
Shop\Checkout: plan=12/suite=34 # a suite; plan=12 alone is every suite of the plan (the first 25)
|
|
2220
|
+
"*": area=Shop\Regression # Test Cases under an area path; * is every other story
|
|
2221
|
+
jira:
|
|
2222
|
+
test_cases: # the story's project key = where its cases are
|
|
2223
|
+
SHOP: label=regression; component=Checkout # also project= and type= (default Test)
|
|
2224
|
+
```
|
|
2225
|
+
|
|
2226
|
+
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: **reuse** when a case there has the same steps; **extends** when a case there has all of its steps in order and this one adds some; **differs** or **similar** as for linked cases; otherwise **created**. Nothing is written to an existing case until you agree. For reuse the agent offers `link_test_case`, which shows each case with the other stories it tests and asks before linking. For extends it offers `update_test_case` with only the added steps (`insert`): 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 `test_cases` names), at most 20 at once. With no `test_cases`, only the cases linked to the story are compared. Settings › Integrations has the same field for each system.
|
|
2227
|
+
|
|
2228
|
+
More of managing test cases, each set in `forgeqe.yaml` (and Settings › Integrations):
|
|
2229
|
+
|
|
2230
|
+
- **Where new cases go.** When `test_cases` maps a story to a suite (`plan=12/suite=34`), 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: `save_test_cases` writes Xray tests with their steps in Xray (`sources.xray.save_steps: true`, Cloud and Server/DC), TestRail cases in `sources.testrail.section_id` with the story in refs, and Zephyr Scale cases (in `sources.zephyr.folder_id`) 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.
|
|
2231
|
+
- **Fields on new cases.** `new_cases` gives every new case a priority, tags or labels, and in Azure DevOps a state: `state: Design` makes each case wait for a person to mark it Ready. The agent may give a case its own priority and tags.
|
|
2232
|
+
- **Shared steps and data.** `sources.azure_devops.shared_steps` 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 (`@user`) and a data table.
|
|
2233
|
+
- **Cases left behind by a story change.** `story_test_cases` 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.
|
|
2234
|
+
- **Retiring a case.** `retire_test_case` asks first, then closes it (Azure DevOps `retire_state`, default Closed) or labels it (Jira `retire_label`, default obsolete), with the reason. Nothing is deleted, and retired cases are not offered for reuse.
|
|
2235
|
+
- **Duplicates before saving.** `check_test_cases` with `against` (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.
|
|
2236
|
+
- **Cases with no story.** 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.
|
|
2237
|
+
- **The feature's other stories.** `sibling_cases: true` 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).
|
|
2238
|
+
- **Automation on Jira and Xray.** A test that passes for a Jira or Xray case labels it `automated` 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.
|
|
2239
|
+
- **Release readiness in Jira.** `release_readiness` with `system: jira` 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.
|
|
2240
|
+
- **Matching by steps.** Saving keeps an index of the scope's cases in `.forgeqe/cases-index/` (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.
|
|
2241
|
+
- **Several changes at once.** `apply_case_changes` links, extends, updates and retires several cases with one question, every change checked and read first.
|
|
2242
|
+
- **What ForgeQE changed.** Every case it creates, links, updates or retires is logged in `.forgeqe/history/case-changes.jsonl`; `story_test_cases` and the readiness report list the changes for their stories.
|
|
2243
|
+
- **Acceptance criteria traced to cases.** Saved cases carry the criteria they cover (`covers`), and `trace_criteria` records which linked cases cover which; `story_test_cases` lists each criterion with its cases, and readiness names the criteria no traced case covers.
|
|
2244
|
+
- **Healing and test cases.** 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.
|
|
2245
|
+
- **From Requirements Agent.** Requirements Agent writes `requirements.json` next to its report; `requirements_file` reads it, and the agent writes a case per requirement, traced by its id (FR-001).
|
|
2246
|
+
- **qTest, TestRail and Zephyr Scale.** Cases are saved in qTest (`module_id`, linked to the story's requirement), retired in TestRail (moved to `retired_section_id`) and Zephyr Scale (status Deprecated), and marked automated (TestRail's `automation_field`, Zephyr Scale's `automated` label). Sibling stories on Jira Server are found through Epic Link.
|
|
2247
|
+
- **Settings checks.** A `test_cases`, `new_cases` 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, **Try** beside each `test_cases` line says how many cases it finds, with a few of their titles.
|
|
2248
|
+
- **The Test cases page** (`forgeqe web`, 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 `save_test_cases` proposed. Tick the ones to make, review them, and Apply: the server checks every change again and nothing is written before Apply.
|
|
2249
|
+
|
|
1850
2250
|
With `sources.write_back: true` (the default), results go back after the suite:
|
|
1851
2251
|
|
|
1852
2252
|
- **Azure DevOps plan:** 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.
|
|
@@ -3224,7 +3624,21 @@ sources:
|
|
|
3224
3624
|
|
|
3225
3625
|
**Xray.** Xray has no official MCP server, so ForgeQE's own tools cover it. You can add a community server under `mcp:` if you want one.
|
|
3226
3626
|
|
|
3227
|
-
**
|
|
3627
|
+
**GitLab, BrowserStack, Postman, Azure, Dataverse and Sentry.** Their vendors' own MCP servers, set under `integrations:` (each `true` for its defaults, or a map; see `forgeqe.example.yaml`, or Settings → MCP servers):
|
|
3628
|
+
|
|
3629
|
+
```yaml
|
|
3630
|
+
integrations:
|
|
3631
|
+
gitlab: { url: https://gitlab.acme.com, token_env: GITLAB_TOKEN } # a fine-grained PAT with the MCP permission
|
|
3632
|
+
browserstack: true # BROWSERSTACK_USERNAME, BROWSERSTACK_ACCESS_KEY
|
|
3633
|
+
postman: { region: eu } # POSTMAN_API_KEY
|
|
3634
|
+
azure: { namespaces: [storage] } # az login; read-only unless read_only: false
|
|
3635
|
+
dataverse: { url: https://acme.crm.dynamics.com } # npx @microsoft/dataverse auth create --environment <url>, once
|
|
3636
|
+
sentry: { organization: acme } # SENTRY_ACCESS_TOKEN; url: for self-hosted Sentry
|
|
3637
|
+
```
|
|
3638
|
+
|
|
3639
|
+
GitLab's and Postman's servers are hosted (GitLab's is on your GitLab, at `/api/v4/mcp`); the others run with `npx`, 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 (`forgeqe auth login gitlab`, or Sign in on the card), and then use the vendor's hosted server; Azure and Dataverse sign in through their CLIs (`forgeqe auth login azure`, `forgeqe auth login dataverse`). Their tools are `gitlab_*`, `browserstack_*`, `postman_*`, `azure_*`, `dataverse_*` and `sentry_*`. A custom agent gets them only through `scope.systems`, 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.
|
|
3640
|
+
|
|
3641
|
+
**Other servers.** Add any MCP server under `mcp:`. A local server has a `command` (and optional `args`, `env`, `cwd`); a remote one has a `url` (and optional `headers`). Write secrets as `{env:NAME}`; the agent runtime fills them in from the environment. A server with the same name as a built-in one (`azure_devops`, `atlassian`, `github`, or one of `integrations:`) replaces it, and `enabled: false` turns one off.
|
|
3228
3642
|
|
|
3229
3643
|
```yaml
|
|
3230
3644
|
mcp:
|
|
@@ -3667,6 +4081,7 @@ notify:
|
|
|
3667
4081
|
| `job_done` | A job that runs only when asked ends | The same, whether it passed or failed |
|
|
3668
4082
|
| `job_investigated` | The investigation of a job's failed run is done | Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons |
|
|
3669
4083
|
| `agent_waiting` | A custom agent running with nobody watching waits for a person's approval | What it wants to do and why, until when it waits, and how to answer |
|
|
4084
|
+
| `evidence_drift` | `forgeqe evidence drift --notify` finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports | Each alert, with the runs it rests on (only channels that list it get it) |
|
|
3670
4085
|
|
|
3671
4086
|
A channel without `on` gets `suite_failed`, `release`, `eval_failed`, `job_failed`, `job_recovered`, `job_investigated`, and `agent_waiting`. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own `monitor.alerts`, with the same cards.
|
|
3672
4087
|
|