@capagents/forgeqe 3.3.1 → 3.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +337 -8
- package/dist/docs-site/docs/area-operations/index.html +126 -2
- package/dist/docs-site/docs/area-quality/index.html +159 -3
- package/dist/docs-site/docs/area-setup/index.html +1 -0
- package/dist/docs-site/docs/area-test-cases/index.html +25 -0
- package/dist/docs-site/docs/overview/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2159 -1928
- package/dist/requirement-agent/requirements_agent/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/__main__.py +5 -0
- package/dist/requirement-agent/requirements_agent/agent.py +363 -0
- package/dist/requirement-agent/requirements_agent/chat_session.py +424 -0
- package/dist/requirement-agent/requirements_agent/cli.py +870 -0
- package/dist/requirement-agent/requirements_agent/config.py +403 -0
- package/dist/requirement-agent/requirements_agent/console_ui.py +632 -0
- package/dist/requirement-agent/requirements_agent/context/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/context/aggregate.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/base.py +14 -0
- package/dist/requirement-agent/requirements_agent/context/folder.py +107 -0
- package/dist/requirement-agent/requirements_agent/context/given.py +70 -0
- package/dist/requirement-agent/requirements_agent/context/graph.py +181 -0
- package/dist/requirement-agent/requirements_agent/context/knowledge.py +192 -0
- package/dist/requirement-agent/requirements_agent/context/mcp.py +24 -0
- package/dist/requirement-agent/requirements_agent/context/memory.py +144 -0
- package/dist/requirement-agent/requirements_agent/context/personas.py +214 -0
- package/dist/requirement-agent/requirements_agent/context/rag.py +148 -0
- package/dist/requirement-agent/requirements_agent/context/untrusted.py +56 -0
- package/dist/requirement-agent/requirements_agent/docs/HOW_TO_USE.md +505 -0
- package/dist/requirement-agent/requirements_agent/docs/requirements-agent-architecture.html +348 -0
- package/dist/requirement-agent/requirements_agent/docs_cmd.py +51 -0
- package/dist/requirement-agent/requirements_agent/export/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/export/markdown.py +55 -0
- package/dist/requirement-agent/requirements_agent/export/pdf.py +82 -0
- package/dist/requirement-agent/requirements_agent/export/requirements_json.py +120 -0
- package/dist/requirement-agent/requirements_agent/init_cmd.py +191 -0
- package/dist/requirement-agent/requirements_agent/llm/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/llm/base.py +49 -0
- package/dist/requirement-agent/requirements_agent/llm/copilot.py +171 -0
- package/dist/requirement-agent/requirements_agent/llm/mock.py +144 -0
- package/dist/requirement-agent/requirements_agent/llm/providers.py +277 -0
- package/dist/requirement-agent/requirements_agent/llm/router.py +35 -0
- package/dist/requirement-agent/requirements_agent/models.py +73 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/analyst.md +29 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/architect.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/bmad-orchestrator.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/dev.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/pm.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/po.md +27 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/qa.md +28 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/agents/sm.md +26 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-analyst.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-architect.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-dev.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-orchestrator.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-pm.md +9 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-po.md +10 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-qa.md +11 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/checklists/spec-circuit-sm.md +8 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/bmad-kb.md +19 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/requirements-standards-baseline.md +188 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/data/technical-preferences.md +54 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/utils/template-format.md +7 -0
- package/dist/requirement-agent/requirements_agent/packs/bmad-core-spec/workflows/greenfield-fullstack.yml +177 -0
- package/dist/requirement-agent/requirements_agent/pipeline/__init__.py +3 -0
- package/dist/requirement-agent/requirements_agent/pipeline/brd.py +86 -0
- package/dist/requirement-agent/requirements_agent/pipeline/pack.py +233 -0
- package/dist/requirement-agent/requirements_agent/pipeline/progress.py +60 -0
- package/dist/requirement-agent/requirements_agent/pipeline/prompts.py +150 -0
- package/dist/requirement-agent/requirements_agent/pipeline/quality.py +124 -0
- package/dist/requirement-agent/requirements_agent/pipeline/refine.py +386 -0
- package/dist/requirement-agent/requirements_agent/pipeline/sections.py +117 -0
- package/dist/requirement-agent/requirements_agent/pipeline/spec_circuit.py +142 -0
- package/dist/requirement-agent/requirements_agent/shell/__init__.py +7 -0
- package/dist/requirement-agent/requirements_agent/shell/actions.py +208 -0
- package/dist/requirement-agent/requirements_agent/shell/app.py +902 -0
- package/dist/requirement-agent/requirements_agent/shell/commands.py +206 -0
- package/dist/requirement-agent/requirements_agent/shell/progress_pane.py +114 -0
- package/dist/requirement-agent/requirements_agent/shell/ref_picker.py +59 -0
- package/dist/requirement-agent/requirements_agent/shell/refs.py +120 -0
- package/dist/requirement-agent/requirements_agent/shell/session.py +362 -0
- package/dist/requirement-agent/requirements_agent/shell/transcript.py +241 -0
- package/dist/requirement-agent/requirements_agent/shell/usage.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/usage_llm.py +64 -0
- package/dist/requirement-agent/requirements_agent/shell/worker.py +378 -0
- package/dist/requirement-agent/requirements_agent/tuios_hook.py +182 -0
- package/dist/requirement-agent/requirements_agent/webops.py +627 -0
- package/dist/template.html +67 -67
- package/dist/web/assets/{3d-force-graph-Df2wOlpF.js → 3d-force-graph-KUdc_88B.js} +3 -3
- package/dist/web/assets/Agent-Bd54dLhD.js +10 -0
- package/dist/web/assets/AgentWork-CqMhsFBP.js +2 -0
- package/dist/web/assets/ApiTests-BO_sKAg8.js +15 -0
- package/dist/web/assets/Browse-BjPPdirz.js +1 -0
- package/dist/web/assets/Chat-DO-UvDWX.js +3 -0
- package/dist/web/assets/CommandPalette-BBGtkkz4.js +1 -0
- package/dist/web/assets/Compare-BFuLcrBB.js +1 -0
- package/dist/web/assets/Cost-DbKrBm9m.js +1 -0
- package/dist/web/assets/{Data-Be3ZNkUu.js → Data-B6_6Rm7C.js} +4 -4
- package/dist/web/assets/Desktop-CnBxMp68.js +1 -0
- package/dist/web/assets/DesktopReview-DVITz4Jv.js +2 -0
- package/dist/web/assets/DeviceScreen-BHmTd9Q-.js +1 -0
- package/dist/web/assets/Evidence-BZx9UF1t.js +1 -0
- package/dist/web/assets/{Explore-AtSStzNg.js → Explore-Kkl9koqy.js} +2 -2
- package/dist/web/assets/Features-_WrrIGBz.js +1 -0
- package/dist/web/assets/{Flags-GxmNrnSn.js → Flags-BGqG09qD.js} +2 -2
- package/dist/web/assets/Flaky-B7mr96H8.js +1 -0
- package/dist/web/assets/Impact-DzAtWie1.js +3 -0
- package/dist/web/assets/Jobs-YSmfG7C9.js +5 -0
- package/dist/web/assets/KindPage-UqU2qh63.js +6 -0
- package/dist/web/assets/LiveDevice-jFCQ_zeU.js +1 -0
- package/dist/web/assets/Migration-CfHZeobD.js +8 -0
- package/dist/web/assets/Mobile-DTMPjWeO.js +1 -0
- package/dist/web/assets/Observability-B-9cikxK.js +1 -0
- package/dist/web/assets/OwnItems-BC9M20At.js +5 -0
- package/dist/web/assets/PageAgent-CvV8gwuP.js +1 -0
- package/dist/web/assets/Product-lDXsflpD.js +6 -0
- package/dist/web/assets/Production-BHXWX-ww.js +1 -0
- package/dist/web/assets/Quality-Bsljiu_v.js +1 -0
- package/dist/web/assets/Readiness-BZppEirK.js +1 -0
- package/dist/web/assets/Record-7h0EFEiJ.js +1 -0
- package/dist/web/assets/Regression-DdM66t2E.js +5 -0
- package/dist/web/assets/RelationGraph-CBY9FhUu.js +1 -0
- package/dist/web/assets/Reports-u72R1XBV.js +2 -0
- package/dist/web/assets/Requirements-BAcEi5Fl.js +2 -0
- package/dist/web/assets/Responsive-CCPzSbdd.js +3 -0
- package/dist/web/assets/RunDiff-CGhLqPpP.js +1 -0
- package/dist/web/assets/Settings-DDCiQZ0T.js +21 -0
- package/dist/web/assets/Steps-sfVkdv7g.js +2 -0
- package/dist/web/assets/TestData-B4-xVlvt.js +2 -0
- package/dist/web/assets/TestManagement-BGBKGV1L.js +4 -0
- package/dist/web/assets/WhatsNew-BMTuBbaX.js +1 -0
- package/dist/web/assets/agentSettingsSheet-Cc2W6lyp.js +1 -0
- package/dist/web/assets/api-BsiuHmJq.js +1 -0
- package/dist/web/assets/choice-C4-yW2x9.js +1 -0
- package/dist/web/assets/code-Jek8uWUO.js +1 -0
- package/dist/web/assets/{coverage-DirEXtfZ.js → coverage-pqIlfEP0.js} +1 -1
- package/dist/web/assets/dataParts-CkwgLllh.js +3 -0
- package/dist/web/assets/desktopAppPath-D3mGDKPz.js +1 -0
- package/dist/web/assets/flowTheme-DKuXe5nP.js +7 -0
- package/dist/web/assets/frame-BMpSUo2-.js +13 -0
- package/dist/web/assets/index-6SZomYE0.js +55 -0
- package/dist/web/assets/index-CWqwtFKz.css +2 -0
- package/dist/web/assets/line-icons-CwCZidXs.js +1 -0
- package/dist/web/assets/logos-P2LOMyTK.js +1 -0
- package/dist/web/assets/{markdown-BnrLv6Iw.js → markdown-1wY7hIbM.js} +5 -5
- package/dist/web/assets/nav-B_68FVw_.js +1 -0
- package/dist/web/assets/pageBack-CbyKfisx.js +3 -0
- package/dist/web/assets/palette-6YAAmgkD.js +1 -0
- package/dist/web/assets/{paletteCommands-LXIICD4V.js → paletteCommands-Isq1rLs-.js} +1 -1
- package/dist/web/assets/parts-ClnDV-6r.js +1 -0
- package/dist/web/assets/preload-helper-BupTYkQW.js +1 -0
- package/dist/web/assets/productParts-D18glCBr.js +1 -0
- package/dist/web/assets/qualityParts-1F1Ee4Ay.js +1 -0
- package/dist/web/assets/radio-BLI4Ubhk.js +1 -0
- package/dist/web/assets/react-BDur5s0O.js +1 -0
- package/dist/web/assets/{recordTest-BzKpS4m5.js → recordTest-7uIZiqOW.js} +1 -1
- package/dist/web/assets/route-oDy8sV6H.js +1 -0
- package/dist/web/assets/sectionList-B651VPon.js +1 -0
- package/dist/web/assets/step-mark-CaKf4dAR.js +1 -0
- package/dist/web/assets/stepper-DdgwJtbU.js +1 -0
- package/dist/web/assets/utils-DJRAScIl.js +1 -0
- package/dist/web/assets/wizardParts-C0cNmIK9.js +1 -0
- package/dist/web/index.html +15 -13
- package/docs/user-guide.html +309 -3
- package/evals/prompts/perf-report/limit-broken.yaml +28 -0
- package/evals/prompts/perf-report/regression-other-load.yaml +28 -0
- package/forgeqe.example.yaml +10 -0
- package/package.json +2 -1
- package/prompts/README.md +4 -0
- package/prompts/brain.md +17 -0
- package/prompts/perf-report.md +41 -0
- package/prompts/perf-strategy.md +45 -0
- package/prompts/perf.md +45 -0
- package/prompts/team-builder.md +50 -0
- package/py/forgeqe_engine/cli.py +7 -0
- package/dist/web/assets/Agent-CRfgRnq2.js +0 -8
- package/dist/web/assets/AgentWork-DqiO3LUi.js +0 -2
- package/dist/web/assets/ApiTests-DCAnizu5.js +0 -15
- package/dist/web/assets/Browse-D5VDHN9Z.js +0 -1
- package/dist/web/assets/Chat-CLGQ1ymU.js +0 -3
- package/dist/web/assets/CommandPalette-D3F4iHrP.js +0 -1
- package/dist/web/assets/Compare-B1WN67Ny.js +0 -1
- package/dist/web/assets/Cost-Dk4m3r8z.js +0 -1
- package/dist/web/assets/Desktop-B3GcbaPu.js +0 -1
- package/dist/web/assets/DesktopReview-DfvAL3m8.js +0 -2
- package/dist/web/assets/DeviceScreen-DJqblqBh.js +0 -1
- package/dist/web/assets/Evidence-BsA7vCZG.js +0 -1
- package/dist/web/assets/Features-CDBlFLaJ.js +0 -1
- package/dist/web/assets/Flaky-C062Mh6z.js +0 -1
- package/dist/web/assets/Impact-BeXw3-oL.js +0 -3
- package/dist/web/assets/Jobs-QYWqmdDI.js +0 -5
- package/dist/web/assets/KindPage-C2g51s9c.js +0 -6
- package/dist/web/assets/LiveDevice-C9LRZMhC.js +0 -1
- package/dist/web/assets/Migration-ByUU0Oa_.js +0 -8
- package/dist/web/assets/Mobile-Dd3jL0Cn.js +0 -1
- package/dist/web/assets/Observability-Dx4ZCRDj.js +0 -1
- package/dist/web/assets/PageAgent-DYBOhs2x.js +0 -1
- package/dist/web/assets/Product-Ch1XAeAT.js +0 -12
- package/dist/web/assets/Production-TEdyFmo4.js +0 -1
- package/dist/web/assets/Quality-DH8EdI2u.js +0 -1
- package/dist/web/assets/Readiness-B8S7Ex0C.js +0 -1
- package/dist/web/assets/Record-uFQ-YaHg.js +0 -1
- package/dist/web/assets/Regression-CSDT2AnY.js +0 -5
- package/dist/web/assets/RelationGraph-gc0Xmklt.js +0 -1
- package/dist/web/assets/Reports-CSHhRfWv.js +0 -2
- package/dist/web/assets/Responsive-CEG1hbbQ.js +0 -3
- package/dist/web/assets/RunDiff-CHrMivzC.js +0 -1
- package/dist/web/assets/Settings-B63s0b1g.js +0 -21
- package/dist/web/assets/Steps-BsDjv-pm.js +0 -2
- package/dist/web/assets/TestData-CJoCXihI.js +0 -2
- package/dist/web/assets/TestManagement-Dkb-paWh.js +0 -4
- package/dist/web/assets/WhatsNew-Dtk9mJU4.js +0 -1
- package/dist/web/assets/agentSettingsSheet-BlM8KSpN.js +0 -1
- package/dist/web/assets/api-6pHfHEgB.js +0 -1
- package/dist/web/assets/choice-CiFogD01.js +0 -1
- package/dist/web/assets/code-DzYywAs5.js +0 -1
- package/dist/web/assets/dataParts-Di7PdPHu.js +0 -3
- package/dist/web/assets/desktopAppPath-B8j1-pX0.js +0 -1
- package/dist/web/assets/frame-CNLw552P.js +0 -13
- package/dist/web/assets/index-DLuCgQKX.js +0 -55
- package/dist/web/assets/index-DRcPg81h.css +0 -2
- package/dist/web/assets/line-icons-B-O8oBsY.js +0 -1
- package/dist/web/assets/nav-Ds_6IERv.js +0 -1
- package/dist/web/assets/pageBack-DJxbEPfN.js +0 -3
- package/dist/web/assets/palette-H2g-hemT.js +0 -1
- package/dist/web/assets/parts-DKRLtrjs.js +0 -1
- package/dist/web/assets/preload-helper-BML5SvL4.js +0 -1
- package/dist/web/assets/productParts-imNtw-1N.js +0 -1
- package/dist/web/assets/qualityParts-DJhFlgCm.js +0 -1
- package/dist/web/assets/radio-CbR6ODxQ.js +0 -1
- package/dist/web/assets/route-DjewvmpL.js +0 -1
- package/dist/web/assets/sectionList-0umoKvRv.js +0 -1
- package/dist/web/assets/step-mark-g8Eb6foB.js +0 -1
- package/dist/web/assets/stepper-CzZIC36d.js +0 -1
- /package/dist/web/assets/{Product-DLioOiRN.css → flowTheme-DLioOiRN.css} +0 -0
package/docs/user-guide.html
CHANGED
|
@@ -405,12 +405,12 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
405
405
|
<div class="area"><a class="area-name" href="#area-setup"><span class="mono">Setup</span></a><ul class="tiles"><li><a class="tile" href="#cap-test-apps"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a class="tile" href="#cap-generated-code"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a class="tile" href="#cap-forgeqe-commands"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a class="tile" href="#cap-product-knowledge"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a class="tile" href="#cap-knowledge-agent"><b>Librarian: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a class="tile" href="#cap-document-search"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a class="tile" href="#cap-web-search"><b>Search the web</b><span>Search the web for the latest Playwright release</span></a></li><li><a class="tile" href="#cap-setup-help"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
|
|
406
406
|
<div class="area"><a class="area-name" href="#area-desktop"><span class="mono">Desktop</span></a><ul class="tiles"><li><a class="tile" href="#cap-desktop-apps"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
|
|
407
407
|
<div class="area"><a class="area-name" href="#area-mobile"><span class="mono">Mobile</span></a><ul class="tiles"><li><a class="tile" href="#cap-mobile-apps"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
|
|
408
|
-
<div class="area"><a class="area-name" href="#area-operations"><span class="mono">Operations</span></a><ul class="tiles"><li><a class="tile" href="#cap-containers"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a class="tile" href="#cap-production-errors"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a class="tile" href="#cap-model-cost"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a class="tile" href="#cap-forgeqe-health"><b>ForgeQE's own health</b><span>How has ForgeQE been doing this week?</span></a></li><li><a class="tile" href="#cap-monitoring"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a class="tile" href="#cap-jobs"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a class="tile" href="#cap-custom-agents"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a class="tile" href="#cap-notifications"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a class="tile" href="#cap-pipelines"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
|
|
408
|
+
<div class="area"><a class="area-name" href="#area-operations"><span class="mono">Operations</span></a><ul class="tiles"><li><a class="tile" href="#cap-containers"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a class="tile" href="#cap-production-errors"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a class="tile" href="#cap-model-cost"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a class="tile" href="#cap-forgeqe-health"><b>ForgeQE's own health</b><span>How has ForgeQE been doing this week?</span></a></li><li><a class="tile" href="#cap-monitoring"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a class="tile" href="#cap-jobs"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a class="tile" href="#cap-custom-agents"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a class="tile" href="#cap-agent-teams"><b>Teams of custom agents</b><span>Ask the release-qa team to check release 2.4 on qa</span></a></li><li><a class="tile" href="#cap-notifications"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a class="tile" href="#cap-pipelines"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
|
|
409
409
|
<div class="area"><a class="area-name" href="#area-data"><span class="mono">Data</span></a><ul class="tiles"><li><a class="tile" href="#cap-databases"><b>Ask a database in plain language</b><span>Which customers in India have paid orders? Ask the orders database</span></a></li><li><a class="tile" href="#cap-test-data"><b>Test data on demand</b><span>Generate test data: 20 customers with 1 to 3 orders each in the shop database</span></a></li><li><a class="tile" href="#cap-data-flows"><b>Data flows between systems</b><span>Check that customers from the digital database reach the CRM correctly</span></a></li></ul></div>
|
|
410
410
|
<div class="area"><a class="area-name" href="#area-automated-tests"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a class="tile" href="#cap-write-tests"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a class="tile" href="#cap-heal-tests"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a class="tile" href="#cap-migrate-tests"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a class="tile" href="#cap-tosca-convert"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a class="tile" href="#cap-find-run-tests"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a class="tile" href="#cap-regression-packs"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a class="tile" href="#cap-flaky-tests"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a class="tile" href="#cap-run-diff"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a class="tile" href="#cap-test-debt"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li><li><a class="tile" href="#cap-test-management"><b>Test management</b><span>Show the test inventory</span></a></li></ul></div>
|
|
411
411
|
<div class="area"><a class="area-name" href="#area-pull-requests"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a class="tile" href="#cap-pr-review"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a class="tile" href="#cap-pr-impact"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
|
|
412
412
|
<div class="area"><a class="area-name" href="#area-api"><span class="mono">API</span></a><ul class="tiles"><li><a class="tile" href="#cap-api-testing"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li><li><a class="tile" href="#cap-api-calls"><b>An API's calls and collections</b><span>Import our Postman collection and send its calls</span></a></li><li><a class="tile" href="#cap-api-load-security"><b>API load and security checks</b><span>Load test the orders API with 20 users for a minute</span></a></li></ul></div>
|
|
413
|
-
<div class="area"><a class="area-name" href="#area-quality"><span class="mono">Quality</span></a><ul class="tiles"><li><a class="tile" href="#cap-accessibility-performance"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a class="tile" href="#cap-accessibility-personas"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a class="tile" href="#cap-visual-comparison"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a class="tile" href="#cap-defect-intelligence"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a class="tile" href="#cap-security-smoke"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a class="tile" href="#cap-localization-checks"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a class="tile" href="#cap-responsive-check"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
413
|
+
<div class="area"><a class="area-name" href="#area-quality"><span class="mono">Quality</span></a><ul class="tiles"><li><a class="tile" href="#cap-load-testing"><b>Load testing with JMeter</b><span>Write a load test for checkout with 200 users over 10 minutes</span></a></li><li><a class="tile" href="#cap-accessibility-performance"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a class="tile" href="#cap-accessibility-personas"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a class="tile" href="#cap-visual-comparison"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a class="tile" href="#cap-defect-intelligence"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a class="tile" href="#cap-security-smoke"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a class="tile" href="#cap-localization-checks"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a class="tile" href="#cap-responsive-check"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
414
414
|
<div class="area"><a class="area-name" href="#area-release"><span class="mono">Release</span></a><ul class="tiles"><li><a class="tile" href="#cap-release-readiness"><b>Requirement coverage and release readiness</b><span>Are we ready to release?</span></a></li><li><a class="tile" href="#cap-release-verdict"><b>One release verdict from everything measured</b><span>Can we ship release-2.3?</span></a></li><li><a class="tile" href="#cap-feature-flags"><b>Regression across feature-flag combinations</b><span>Run the release pack across the new-checkout feature flag on and off</span></a></li><li><a class="tile" href="#cap-reports"><b>Reports you can share</b><span>Create a release report for all projects</span></a></li></ul></div>
|
|
415
415
|
<div class="area"><a class="area-name" href="#area-systems"><span class="mono">Systems</span></a><ul class="tiles"><li><a class="tile" href="#cap-systems"><b>Work with Azure DevOps, Jira, GitHub, and Confluence</b><span>Show the open bugs in this sprint</span></a></li><li><a class="tile" href="#cap-system-data"><b>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</b><span>Are there open pull requests in any repository of QI-Claims?</span></a></li></ul></div>
|
|
416
416
|
<h3 class="band-title">Not supported</h3>
|
|
@@ -2531,6 +2531,31 @@ forgeqe run "run SHOP-12 and SHOP-14" # in plain words
|
|
|
2531
2531
|
<p><strong>Addresses as given.</strong> URLs the case gives are opened exactly as given: when the model adds a trailing slash (<code>/login/</code>, a 404 on many sites), ForgeQE opens and records the URL from the case.</p>
|
|
2532
2532
|
<p><strong>Fixing a case that does not fit.</strong> When a run finds a test case does not fit the application, the agent drafts the steps as they should be, from what the run found, and offers to save them. It shows the current and the new steps and asks before it changes the Azure DevOps Test Case. The reason goes into the work item's history, where the old steps stay.</p>
|
|
2533
2533
|
</div></section>
|
|
2534
|
+
<section class="doc sub" id="doc-how_to_use-requirement-reviews"><h5>Requirement reviews</h5><div class="prose"><p>The <strong>Requirements Agent</strong> (the <code>Requirement_Agent</code> package, shipped inside ForgeQE) reviews a requirement before it is
|
|
2535
|
+
built and tested. Eight specialist roles (analyst, product manager, product owner, architect, developer, QA, scrum
|
|
2536
|
+
master and a coordinator) and the <strong>business personas</strong> you pick each review it, with what ForgeQE knows about the
|
|
2537
|
+
product:</p>
|
|
2538
|
+
<ul>
|
|
2539
|
+
<li>the sections of <code>.forgeqe/knowledge</code> and of the documents added in Settings that are about it;</li>
|
|
2540
|
+
<li>the <code>rag:</code> search (a service, a command, an MCP server's tool or the project's documents), when one is set;</li>
|
|
2541
|
+
<li>the product knowledge graph's flows, screens, endpoints and tables it touches;</li>
|
|
2542
|
+
<li><strong>review memory</strong>: what earlier reviews decided (<code>.forgeqe/requirements/memory</code>), kept to and never asked again.</li>
|
|
2543
|
+
</ul>
|
|
2544
|
+
<p>It scores the requirement on six dimensions (completeness, clarity, testability, risk and NFRs, traceability,
|
|
2545
|
+
dependencies), lists its gaps and open questions, and writes the Spec Circuit report and a requirements report with ids
|
|
2546
|
+
(<code>FR-001</code>, <code>NFR-001</code>) and <code>requirements.json</code>, which test cases trace to. For each gap or question it proposes a change
|
|
2547
|
+
to the section it is about; you keep it (and the decision is remembered), leave it, or answer and ask again.</p>
|
|
2548
|
+
<p>On the web app's <strong>Requirements</strong> page (Quality Engineering › Test design), or in a terminal:</p>
|
|
2549
|
+
<pre><code class="language-bash">forgeqe requirements review --title "Card refunds" --design-file story.md --persona payments-sme,retail-customer
|
|
2550
|
+
forgeqe requirements show <id>
|
|
2551
|
+
forgeqe requirements fix <id> 3 --answer "p95 under 300 ms"
|
|
2552
|
+
forgeqe requirements accept <id> --rescore
|
|
2553
|
+
forgeqe requirements undo <id>
|
|
2554
|
+
forgeqe requirements export <id>
|
|
2555
|
+
</code></pre>
|
|
2556
|
+
<p>Reviews are kept in <code>.forgeqe/requirements/reviews/<id>/</code>. The agent runs in the engine's Python on the model ForgeQE
|
|
2557
|
+
uses (<code>forgeqe setup</code> adds its libraries); everything it reads is handed to the model as data in blocks it cannot close.</p>
|
|
2558
|
+
</div></section>
|
|
2534
2559
|
<section class="doc sub" id="doc-how_to_use-when-a-case-fails"><h5>When a case fails</h5><div class="prose"><p>The browser run of a test case is the test, so when a case does not pass, ForgeQE works out what kind of failure it was and acts on it. The browser agent reports a cause for each failed step (it saw the page). Clear evidence in the run, such as an unreachable site or a 503 page, overrides "I could not operate it".</p>
|
|
2535
2560
|
<div class="tbl"><table>
|
|
2536
2561
|
<thead>
|
|
@@ -3642,6 +3667,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
3642
3667
|
<tr><td><code>forgeqe report <file|folder>... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td>report.html from JUnit XML or TRX run outside ForgeQE (see <a href="#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
|
|
3643
3668
|
<tr><td><code>forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]</code>, <code>forgeqe a11y personas</code></td><td>Accessibility testing as personas (see <a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
3644
3669
|
<tr><td><code>forgeqe persona [list] | show | create | export | import</code></td><td>Business personas (see <a href="#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
|
|
3670
|
+
<tr><td><code>forgeqe requirements review | list | show | fix | accept | skip | undo | export</code></td><td>Requirement reviews (see <a href="../HOW_TO_USE.md#requirement-reviews">Requirement reviews</a>)</td></tr>
|
|
3645
3671
|
<tr><td><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run <pack> <flag=v1,v2> --env NAME</code></td><td>A regression pack once per feature-flag combination (see <a href="#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
|
|
3646
3672
|
<tr><td><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td>Defect trends, and where a change is likely to cause defects</td></tr>
|
|
3647
3673
|
<tr><td><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td>Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
|
|
@@ -7369,6 +7395,130 @@ them back on restores everything as it was.</p>
|
|
|
7369
7395
|
</section>
|
|
7370
7396
|
</div>
|
|
7371
7397
|
</article>
|
|
7398
|
+
<article class="spec feat" id="cap-agent-teams">
|
|
7399
|
+
<div class="hd"><span class="mono">Operations</span><h3>Teams of custom agents</h3></div>
|
|
7400
|
+
<p class="ds">Hands a request to a team of the project's custom agents: its lead plans the work and hands each task to the member it fits, each member held to its own approved limits and the team's, and the team answers with one report. Also tries a team's file before it is approved, reading and running only. assign_task, team_note, team_board, ask_lead, team_answer and team_wait are the team's own tools, given only to its agents during its run.</p>
|
|
7401
|
+
<div class="facts">
|
|
7402
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask the release-qa team to check release 2.4 on qa</li><li>Which teams do we have?</li><li>Try the payments team on the checkout</li></ul></div>
|
|
7403
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
|
|
7404
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A team runs only a version a person approved (forgeqe team approve): its lead hands tasks to its members, each held to its own limits and the team's.</li><li>A custom agent cannot start a team; only ForgeQE's agent, a person, a schedule or a trigger can.</li></ul></div>
|
|
7405
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>team</code> <code>assign_task</code> <code>team_note</code> <code>team_board</code> <code>ask_lead</code> <code>team_answer</code> <code>team_wait</code></p></div>
|
|
7406
|
+
</div>
|
|
7407
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
7408
|
+
<section class="doc" id="doc-how_to_use-teams-of-custom-agents">
|
|
7409
|
+
<h4>Teams of custom agents</h4>
|
|
7410
|
+
<div class="prose"><p>A team is a lead and its members, each one of your custom agents, for QA work that needs several of them: the lead
|
|
7411
|
+
plans the request and hands each task to the member it fits, and reports one result. A member can work as one of your
|
|
7412
|
+
business personas. A team never lets an agent do more than its own approved version allows; the team's limits only take
|
|
7413
|
+
away (fewer environments or actions, more questions for a person, tools no member uses).</p>
|
|
7414
|
+
<p>A team is a file, <code>.forgeqe/agents/teams/<id>.yaml</code>:</p>
|
|
7415
|
+
<pre><code class="language-yaml">id: release-qa
|
|
7416
|
+
name: Release QA team
|
|
7417
|
+
version: 1.0.0
|
|
7418
|
+
description: Checks a release candidate end to end.
|
|
7419
|
+
purpose: Plan the checks for the release, hand each to the member it fits, and report one verdict.
|
|
7420
|
+
lead: qa-lead # a custom agent: it plans and hands out the tasks
|
|
7421
|
+
members:
|
|
7422
|
+
- agent: api-tester # a custom agent; its approved version does each task
|
|
7423
|
+
role: API testing
|
|
7424
|
+
- agent: ui-tester
|
|
7425
|
+
role: UI testing
|
|
7426
|
+
persona: retail-customer # optional: a business persona it works as
|
|
7427
|
+
instances: 2 # optional (1-3): how many tasks it may work on at once
|
|
7428
|
+
after: [api-tester] # optional: it works on what api-tester found (a hand-off)
|
|
7429
|
+
knowledge: # optional: what every agent of the team is given
|
|
7430
|
+
files: [payments.md] # ForgeQE's knowledge files (.forgeqe/knowledge)
|
|
7431
|
+
product: true # ForgeQE's product knowledge, read only
|
|
7432
|
+
skills: [checkout-flows] # optional: ForgeQE's skills every agent of the team may use
|
|
7433
|
+
limits: # optional; each only takes away from every member's own limits
|
|
7434
|
+
environments: [qa, staging]
|
|
7435
|
+
actions: [read, run]
|
|
7436
|
+
approve: [run] # asked of a person first, on top of each member's own
|
|
7437
|
+
max_tasks: 12 # the most tasks the lead hands out in one run (1-50)
|
|
7438
|
+
max_minutes: 120
|
|
7439
|
+
max_tokens: 400000 # the most model tokens the whole team uses in one run
|
|
7440
|
+
parallel: 2 # how many members work at once (1-4)
|
|
7441
|
+
schedule: { every: 1d, request: "Check the nightly build on qa" } # optional: runs by itself
|
|
7442
|
+
triggers: [{ on: suite_failed, request: "Find out why the last suite failed" }] # optional, as an agent's
|
|
7443
|
+
starters: [{ label: Release check, text: "Check release 2.4 on qa" }]
|
|
7444
|
+
</code></pre>
|
|
7445
|
+
<p>What runs is a version a person approved, as for an agent. ForgeQE keeps each run's board: which task went to which
|
|
7446
|
+
member, how each ended and the member's own run, the notes they left each other, the tokens used, and the lead's
|
|
7447
|
+
report. It refuses a task past <code>max_tasks</code> or <code>max_tokens</code>, the same task again to a member that did it, and a second
|
|
7448
|
+
task to a member still working.</p>
|
|
7449
|
+
<ul>
|
|
7450
|
+
<li><strong>Working side by side.</strong> With <code>parallel</code> above 1, the lead can hand several tasks at once; up to that many members
|
|
7451
|
+
work at the same time and the results come back together.</li>
|
|
7452
|
+
<li><strong>Several copies of a member.</strong> With <code>instances</code> on a member, it works on up to that many tasks at once, each its
|
|
7453
|
+
own run in its history (within <code>parallel</code> for the whole team).</li>
|
|
7454
|
+
<li><strong>Asking the lead.</strong> A member that cannot go on well without an answer (which account, environment or data to use)
|
|
7455
|
+
asks the lead and waits. The lead hears at once, answers, and goes on waiting for its other tasks. With no answer
|
|
7456
|
+
within ten minutes, the member carries on and says what it assumed. The board keeps every question and answer.</li>
|
|
7457
|
+
<li><strong>Notes.</strong> Any agent of the team can leave a one-line note for the lead, another member or everyone: a finding, a
|
|
7458
|
+
question, that it is blocked, or an answer. ForgeQE keeps it on the board and passes it on as information, never as
|
|
7459
|
+
an instruction: a member gets the notes for it with its next task, the lead with a task's result.</li>
|
|
7460
|
+
<li><strong>Hand-offs.</strong> <code>after</code> on a member makes it work on what another member found: ForgeQE refuses the lead a task for
|
|
7461
|
+
it until each member it waits for has finished a task in the run, and the lead passes their findings on. Members
|
|
7462
|
+
never wait for each other in a circle.</li>
|
|
7463
|
+
<li><strong>Knowledge, shared or this team's only.</strong> <code>knowledge</code> and <code>skills</code> give every agent of the team some of ForgeQE's
|
|
7464
|
+
shared knowledge: its knowledge files, its skills and product knowledge (read only). A team can also keep its own
|
|
7465
|
+
skills, prompts, guardrails and notes, in <code>.forgeqe/agents/teams/<id>/</code> (<code>skills/<name>/SKILL.md</code>,
|
|
7466
|
+
<code>prompts/<name>.md</code>, <code>guardrails/<name>.md</code>, <code>knowledge/<name>.md</code>): only this team's agents get them, while they
|
|
7467
|
+
work in it. A prompt or a set of guardrails can be for every agent of the team, only the lead, or only the members.
|
|
7468
|
+
The team's skills load through the same skill system as ForgeQE's shared ones (a skill outside an agent's list is
|
|
7469
|
+
refused) and cannot take one of their names; its guardrails are one-line rules like ForgeQE's, and add to an agent's
|
|
7470
|
+
limits without lifting any. No agent reads the folder: every agent's file tools and shell commands are refused there,
|
|
7471
|
+
and project-wide searches pass it by. Everything a team gives is fixed when a person approves it: if a file, a skill
|
|
7472
|
+
or the team's own items change after, the team shows <strong>Knowledge changed</strong> and does not run until a person approves
|
|
7473
|
+
it again.
|
|
7474
|
+
You manage them in two places: the team's <strong>Knowledge</strong> box on its canvas (<strong>This team only</strong>), and the <strong>Teams</strong>
|
|
7475
|
+
view of <strong>Settings › Skills</strong>, <strong>Prompts</strong> and <strong>Guardrails</strong>, which lists every team's own items of that kind with
|
|
7476
|
+
Add, change and remove.</li>
|
|
7477
|
+
<li><strong>Budget.</strong> <code>max_tokens</code> counts the lead's and every member's model tokens together; past it the whole team stops.</li>
|
|
7478
|
+
<li><strong>Running by itself.</strong> A <code>schedule</code> and <code>triggers</code> work as a custom agent's: with nobody watching, only the approved
|
|
7479
|
+
version runs, and what a member may not do alone waits for a person. Approving or enabling the team sets its schedule;
|
|
7480
|
+
disabling pauses it. A repository webhook can start a team the same way it starts an agent.</li>
|
|
7481
|
+
</ul>
|
|
7482
|
+
<p><strong>Web app</strong></p>
|
|
7483
|
+
<ol>
|
|
7484
|
+
<li>Open <strong>Agents › Custom agents</strong>. Your teams are under <strong>Teams</strong>; <strong>New team</strong> builds one.</li>
|
|
7485
|
+
<li>Say what the team should do, or pick a starting point (Release check, PR gate, Regression triage…). Captain, the
|
|
7486
|
+
team builder, drafts a team from your own agents: a lead, members with roles, hand-offs, the knowledge it needs,
|
|
7487
|
+
and the jobs no agent of yours does yet. ForgeQE keeps only agents, files and skills you have, and sets the limits
|
|
7488
|
+
itself (never production). With no model set up, ForgeQE drafts it from what your agents say they do. It is saved
|
|
7489
|
+
as a draft; nothing runs yet.</li>
|
|
7490
|
+
<li>The team opens on a canvas, top to bottom: how it starts, its rules and knowledge, the lead, the members, the
|
|
7491
|
+
person who approves changes, and the report. Click any part to edit it in the panel on the right. Drag parts
|
|
7492
|
+
anywhere (<strong>Tidy up</strong> lays them out again). Draw a line from one member's right dot to another's left dot to make
|
|
7493
|
+
the second work after the first; select a line and press Delete to remove it, or use <strong>Works after</strong> in the
|
|
7494
|
+
member's panel. A dashed box is a job no
|
|
7495
|
+
member does yet: <strong>Choose</strong> one of your agents for it, or <strong>Build</strong> a new agent for the team (a draft held to the
|
|
7496
|
+
team's rules). <strong>Add member</strong> does the same.</li>
|
|
7497
|
+
<li><strong>Knowledge</strong> has two tabs. <strong>This team only</strong>: add skills, prompts, guardrails and notes written for this team
|
|
7498
|
+
(a prompt or guardrails for every agent, the lead or the members); they are saved at once, and the team uses them
|
|
7499
|
+
once a person approves it again. <strong>Shared from ForgeQE</strong>: switch on product knowledge, and pick knowledge files and
|
|
7500
|
+
skills for every agent of the team.</li>
|
|
7501
|
+
<li><strong>Rules</strong> sets where the team may work and what it may do (Careful, Standard or Trusted to start from, never
|
|
7502
|
+
production unless you pick it), how many tasks, how many at once and its token budget. <strong>Code</strong> shows the team file.
|
|
7503
|
+
<strong>Save</strong> keeps your changes; undo and redo are in the toolbar.</li>
|
|
7504
|
+
<li><strong>Preview</strong> tries the team on a request in a chat: it only reads and runs, and you are asked before each run.</li>
|
|
7505
|
+
<li><strong>Publish</strong> approves any new agents first, then the team (type each id). Then ask the team from its page: a chat
|
|
7506
|
+
opens where Atlas hands your request to the team. <strong>Runs</strong> replays a run on the canvas, each member lit by how its
|
|
7507
|
+
tasks went.</li>
|
|
7508
|
+
</ol>
|
|
7509
|
+
<p>On a phone the canvas is a list of the same parts, and the panel opens as a sheet.</p>
|
|
7510
|
+
<p><strong>Terminal</strong></p>
|
|
7511
|
+
<pre><code class="language-bash">forgeqe team list
|
|
7512
|
+
forgeqe team check release-qa
|
|
7513
|
+
forgeqe team approve release-qa # type the id to confirm
|
|
7514
|
+
forgeqe team run release-qa "Check release 2.4 on qa"
|
|
7515
|
+
forgeqe team board release-qa # the latest run's tasks
|
|
7516
|
+
</code></pre>
|
|
7517
|
+
<p>Atlas can also ask a team when you name it in a chat ("Ask the release-qa team to check release 2.4 on qa").</p>
|
|
7518
|
+
</div>
|
|
7519
|
+
</section>
|
|
7520
|
+
</div>
|
|
7521
|
+
</article>
|
|
7372
7522
|
<article class="spec feat" id="cap-notifications">
|
|
7373
7523
|
<div class="hd"><span class="mono">Operations</span><h3>Teams and email notifications</h3></div>
|
|
7374
7524
|
<p class="ds">Tells the team in Microsoft Teams channels or by email when a suite fails or passes, when a release readiness verdict is in, and when the domain evaluation falls below its gate, with the failing cases, their bugs, and links to the report and the CI build. Each channel picks its events; the agent also posts a summary to a channel when asked.</p>
|
|
@@ -10321,13 +10471,169 @@ DevOps test case's Associated Automation when write-back is on.</li>
|
|
|
10321
10471
|
</section>
|
|
10322
10472
|
<section class="chapter" id="area-quality" aria-labelledby="area-quality-h">
|
|
10323
10473
|
<header class="chead"><span class="mono">14</span><h2 id="area-quality-h">Quality</h2><p>Accessibility, page performance, and visual changes</p></header>
|
|
10474
|
+
<article class="spec feat" id="cap-load-testing">
|
|
10475
|
+
<div class="hd"><span class="mono">Quality</span><h3>Load testing with JMeter</h3></div>
|
|
10476
|
+
<p class="ds">Load, stress, soak and spike tests with Apache JMeter: the coding agent writes a .jmx plan from your words, ForgeQE checks and smoke-runs it, then runs your load headless on a test environment and reports response times, throughput and errors per request against your limits, with JMeter's HTML report and junit.xml. Teams' own .jmx plans run too.</p>
|
|
10477
|
+
<div class="facts">
|
|
10478
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Write a load test for checkout with 200 users over 10 minutes</li><li>Run the checkout.jmx load test with 50 users</li><li>Did the search load test get slower than last week?</li><li>Write an executive report of the last checkout load test</li><li>Import results/loadrunner.xlsx as checkout-lr and compare it with our baseline</li><li>Convert the LoadRunner script in lr/Checkout to JMeter</li><li>How many users can checkout take before p95 passes 800 ms?</li><li>Why was search slow in the last load test? Check Application Insights</li><li>Plan the performance tests for Black Friday: 500 users on checkout and search</li></ul></div>
|
|
10479
|
+
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
10480
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Runs only on a test environment of env.yaml, never production; more users than perf.max_users asks a person first.</li><li>A plan runs only when every element is on ForgeQE's list: no JSR223 or BeanShell scripts, OS Process, Java, JDBC or other non-HTTP samplers, includes or file access.</li><li>Load comes from this computer (or the CI agent): no distributed or cloud load yet.</li></ul></div>
|
|
10481
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>perf_plans</code> <code>perf_check</code> <code>perf_run</code> <code>perf_write</code> <code>perf_compare</code> <code>perf_report</code> <code>perf_analyse</code> <code>perf_predict</code> <code>perf_convert</code> <code>perf_import</code> <code>perf_results</code> <code>perf_strategy</code></p></div>
|
|
10482
|
+
</div>
|
|
10483
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
10484
|
+
<section class="doc" id="doc-how_to_use-load-testing-with-jmeter">
|
|
10485
|
+
<h4>Load testing with JMeter</h4>
|
|
10486
|
+
<div class="prose"><p>Load, stress, soak and spike tests run on <strong>Apache JMeter 5.6.3</strong>, headless, on a test environment of env.yaml. A
|
|
10487
|
+
plan is an ordinary JMeter <code>.jmx</code> file in the plans folder (<code>perf.folder</code>, default <code>perf/</code> in the test repository), so
|
|
10488
|
+
the team opens and edits it in JMeter's own GUI. ForgeQE's coding agent writes plans from your words; your existing
|
|
10489
|
+
plans run too.</p>
|
|
10490
|
+
<p><strong>What a run gives you.</strong> For each request (label) and in all: samples, error rate, mean, p50, p90, p95 and p99
|
|
10491
|
+
response time, maximum, requests per second, and a timeline of each second. Each limit is checked: p95, p99 or mean
|
|
10492
|
+
response time, error rate, and minimum throughput. The run folder (<code><reports>/perf/<plan>/<time>/</code>) holds <code>summary.md</code>,
|
|
10493
|
+
<code>perf.json</code>, <code>junit.xml</code> (each limit a test case, so a pipeline fails on a broken one), JMeter's results (<code>results.jtl</code>)
|
|
10494
|
+
and log, and <strong>JMeter's own HTML dashboard</strong> (<code>report/index.html</code>).</p>
|
|
10495
|
+
<p><strong>Setting it up.</strong> JMeter and a Java 21 runtime (about 150 MB, pinned by SHA-256) are downloaded into ForgeQE's tools
|
|
10496
|
+
folder only when you agree: <code>forgeqe perf setup</code>, the <strong>Set up JMeter</strong> button on the Performance page, or the agent's
|
|
10497
|
+
question the first time it runs a plan.</p>
|
|
10498
|
+
<p><strong>Writing a plan.</strong> Ask the agent ("Write a load test for checkout with 200 users over 10 minutes, p95 under 800 ms"),
|
|
10499
|
+
press <strong>Write a plan</strong> on the Performance page's Load tests tab, or run <code>forgeqe perf write "<what to load test>"</code>. The
|
|
10500
|
+
coding agent writes the plan in the plans folder only (anything else it changes is put back), with no shell. ForgeQE
|
|
10501
|
+
checks it and runs it once with one user and one loop; each problem goes back to the agent until the plan passes.</p>
|
|
10502
|
+
<p><strong>How a plan says where it goes and how much load.</strong> ForgeQE passes the environment's apps as JMeter properties, so
|
|
10503
|
+
one plan runs on any test environment:</p>
|
|
10504
|
+
<ul>
|
|
10505
|
+
<li><code>${__P(protocol)}</code>, <code>${__P(host)}</code>, <code>${__P(port)}</code> and <code>${__P(base_path)}</code>: the environment's API app (else its
|
|
10506
|
+
start app); <code>${__P(app.NAME.host)}</code> and so on for each web or API app of env.yaml.</li>
|
|
10507
|
+
<li><code>${__P(users,N)}</code>, <code>${__P(ramp,N)}</code>, <code>${__P(duration,N)}</code> and <code>${__P(loops,N)}</code>: the load, which a run can change
|
|
10508
|
+
(<code>--users</code>, <code>--ramp</code>, <code>--duration</code>, <code>--loops</code>, or the page's fields).</li>
|
|
10509
|
+
<li><code>${__P(secret.NAME)}</code>: a secret the environment lists under <code>secrets</code> in env.yaml. Its value reaches JMeter only in
|
|
10510
|
+
a private properties file removed after the run, never on a command line, and is taken out of every message kept.</li>
|
|
10511
|
+
</ul>
|
|
10512
|
+
<p><strong>What ForgeQE does not run.</strong> A <code>.jmx</code> can run code, so ForgeQE reads every element before it starts JMeter, and
|
|
10513
|
+
refuses a plan with:</p>
|
|
10514
|
+
<ul>
|
|
10515
|
+
<li>a JSR223 or BeanShell element, the OS Process, Java, JUnit, JDBC, JMS, TCP, SMTP, FTP or LDAP sampler, an Include
|
|
10516
|
+
Controller, DNS Cache Manager, Keystore Config, Backend Listener, Debug sampler, or an element JMeter plugins add;</li>
|
|
10517
|
+
<li>a JMeter function that runs a script or reads or writes a file (<code>__groovy</code>, <code>__javaScript</code>, <code>__jexl3</code>,
|
|
10518
|
+
<code>__BeanShell</code>, <code>__eval</code>, <code>__FileToString</code>, <code>__StringToFile</code>, <code>__CSVRead</code> and the like);</li>
|
|
10519
|
+
<li>a request to an address that is not an app of the environment (or one it cannot work out), a proxy, an upload, a
|
|
10520
|
+
custom classpath, or a listener that writes its own file;</li>
|
|
10521
|
+
<li>a CSV data file outside the plan's folder or reached through a link, or a credential written in the plan;</li>
|
|
10522
|
+
<li>an If Controller that runs its condition as JavaScript, or a thread group that loops forever with no duration.</li>
|
|
10523
|
+
</ul>
|
|
10524
|
+
<p><code>forgeqe perf check <plan></code> (or <strong>Check</strong> on the page) lists every reason. ForgeQE runs a frozen copy of the plan and
|
|
10525
|
+
its CSV files, so what was checked is what runs.</p>
|
|
10526
|
+
<p><strong>Limits on load.</strong> Never on an environment named like production. More users than <code>perf.max_users</code> (default 50) need
|
|
10527
|
+
a person's yes; one computer runs at most 5,000; a run stops after <code>perf.max_minutes</code> (default 30). The load comes
|
|
10528
|
+
from this computer or your CI agent: distributed and cloud load are not supported yet. A request JMeter is redirected
|
|
10529
|
+
to another host, or a page's embedded resources (<strong>Retrieve All Embedded Resources</strong>), can reach other hosts: the
|
|
10530
|
+
check warns about the second.</p>
|
|
10531
|
+
<p><strong>Settings.</strong></p>
|
|
10532
|
+
<p><strong>Web app:</strong> <strong>Settings › Quality</strong>, under <strong>Load tests</strong>: the plans folder, the users a person confirms above, the
|
|
10533
|
+
longest run, JMeter's memory and the limits.</p>
|
|
10534
|
+
<p><strong>Terminal:</strong> in forgeqe.yaml:</p>
|
|
10535
|
+
<pre><code class="language-yaml">perf:
|
|
10536
|
+
folder: perf # plans, in the test repository (code.repo) or else the project
|
|
10537
|
+
max_users: 50 # above this, a person confirms the run
|
|
10538
|
+
max_minutes: 30 # a run is stopped after this
|
|
10539
|
+
heap: 1g # JMeter's memory
|
|
10540
|
+
limits: # a run fails when one is broken (perf_run's or --p95-ms … override them)
|
|
10541
|
+
p95_ms: 800
|
|
10542
|
+
error_rate: 0.01
|
|
10543
|
+
</code></pre>
|
|
10544
|
+
<pre><code class="language-bash">forgeqe perf setup
|
|
10545
|
+
forgeqe perf write "Browse products and add one to the cart, 100 users for 5 minutes"
|
|
10546
|
+
forgeqe perf check checkout.jmx
|
|
10547
|
+
forgeqe perf run checkout.jmx --env qa --users 100 --duration 300 --p95-ms 800
|
|
10548
|
+
forgeqe perf results checkout.jmx
|
|
10549
|
+
</code></pre>
|
|
10550
|
+
<p><code>forgeqe perf run</code> exits 1 when a limit breaks, so a pipeline can gate on it; publish <code>junit.xml</code> and the HTML report
|
|
10551
|
+
as build artifacts.</p>
|
|
10552
|
+
<p><strong>Baselines and comparing runs.</strong> Each run is compared with its plan's <strong>baseline</strong>, else with the run before it. A
|
|
10553
|
+
request is <strong>slower</strong> when its p95 rose by more than 10% and more than 20 ms (so noise in fast requests is not a
|
|
10554
|
+
regression), and <strong>fails more</strong> when its error rate rose by more than half a percentage point; new and gone requests are
|
|
10555
|
+
listed. Runs of another load or environment are compared too, with that said. A baseline is chosen only by a person:
|
|
10556
|
+
<strong>Set as baseline</strong> on a run of the Load tests tab, or <code>forgeqe perf baseline <plan> <run></code>. <code>forgeqe perf compare <plan></code> exits 1 when a request got worse, for a pipeline that gates on the trend rather than fixed limits.</p>
|
|
10557
|
+
<p><strong>Executive report.</strong> <strong>Write report</strong> on a run (or <code>forgeqe perf report <plan></code>, or ask the agent) writes
|
|
10558
|
+
<code>executive.html</code> and <code>executive.md</code> beside the run: the headline, the totals, limits, the comparison, observations, risks
|
|
10559
|
+
and next steps, a chart of each request's p95 against the compared run, the response time over the run, the trend across
|
|
10560
|
+
the plan's runs, and every request. ForgeQE works out every number and chart. The words come from its model, which gets
|
|
10561
|
+
only those numbers and has no tools; a sentence is kept only when every number in it is one of the run's and every
|
|
10562
|
+
request it names is the run's, so the report cannot invent a figure. With no model (or <code>--no-model</code>), ForgeQE writes the
|
|
10563
|
+
words itself. The HTML page runs no script and loads nothing from outside, so it can be mailed or attached as it is.</p>
|
|
10564
|
+
<p><strong>Importing results made elsewhere.</strong> <strong>Import</strong> on the Load tests tab, <code>forgeqe perf import <file> --name <name></code>, or
|
|
10565
|
+
the agent's perf_import bring in results as a run, to compare and report on like ForgeQE's own:</p>
|
|
10566
|
+
<ul>
|
|
10567
|
+
<li>a JMeter results file (<code>.jtl</code> or CSV with JMeter's columns), read as ForgeQE reads its own;</li>
|
|
10568
|
+
<li>a summary table of per-request numbers (CSV, TSV or <code>.xlsx</code>), as LoadRunner Analysis or a team's own sheet lays them
|
|
10569
|
+
out. Columns are found by their headings: the request (Transaction Name, Label…), Average, 90 Percent / 95% Line /
|
|
10570
|
+
p99, Pass and Fail or # Samples and Error %, Throughput or TPS. Times are taken as seconds when a heading says so
|
|
10571
|
+
(<code>Average (s)</code>), else milliseconds; <code>--unit s|ms</code> (or the page's choice) says it outright.</li>
|
|
10572
|
+
</ul>
|
|
10573
|
+
<p>The file is a path inside the project (no hidden folder, nothing named like a credential). Results are kept under a
|
|
10574
|
+
plan's name, to compare them with its runs, or under a new name in lower case (<code>checkout-loadrunner</code>); results from an
|
|
10575
|
+
environment named like production are not kept. When the table has no total row, the totals' p50, p90, p95 and p99 are
|
|
10576
|
+
estimated from each request's own percentiles, weighted by its samples (within about 10% of the true values on mixed
|
|
10577
|
+
fast and slow requests); the run says they are estimates.</p>
|
|
10578
|
+
<p>To check how well your model writes a report's words, run <code>forgeqe prompts eval perf-report</code>: two cases (a broken
|
|
10579
|
+
limit, a regression at another load) are scored on whether every sentence survives ForgeQE's check of the numbers.</p>
|
|
10580
|
+
<p><strong>A test strategy before the plans (PlanGenAI).</strong> <strong>Strategy</strong> on the Load tests tab, <code>forgeqe perf strategy "<what the tests are for>"</code>, or asking the agent drafts a performance test strategy: objectives, the user journeys and each
|
|
10581
|
+
one's share of the load, the workload (users, ramp-up, think time), the tests to run (baseline, load, stress, soak,
|
|
10582
|
+
spike) with their users and minutes, the limits, entry and exit criteria, risks, what to monitor and the test data
|
|
10583
|
+
needed. The model sees your words and what the project has (its test environments and apps, the plans and their
|
|
10584
|
+
requests, the loads earlier runs reached, the settings), and ForgeQE keeps only what the project has: a test
|
|
10585
|
+
environment of env.yaml, never one named like production; a plan only one the folder has (else "to write"); numbers
|
|
10586
|
+
within ForgeQE's bounds; no text that reads as an instruction or holds a credential. With no model, ForgeQE drafts it
|
|
10587
|
+
from your words (the users, minutes and p95 you give; soak and spike tests when you say so). It is kept as
|
|
10588
|
+
<code><perf.folder>/strategies/<id>.json</code> and <code>.md</code>. Nothing is written or run from it until a person approves it by typing
|
|
10589
|
+
its id (on the page, or <code>forgeqe perf strategy approve <id></code> at a terminal); the approval holds only for the very
|
|
10590
|
+
content approved, so a change since needs approving again. Then <strong>Write N plans</strong> (or <code>forgeqe perf strategy write <id></code>) has the coding agent write, check and smoke-run a plan for each journey that has none.</p>
|
|
10591
|
+
<p><strong>Converting LoadRunner scripts (ScriptBridge).</strong> <strong>Convert</strong> on the Load tests tab, <code>forgeqe perf convert <vugen-folder> --name <name></code>, or the agent's perf_convert turns a LoadRunner VuGen <strong>Web (HTTP/HTML)</strong> script into a
|
|
10592
|
+
JMeter plan, by code: <code>web_url</code>, <code>web_submit_data</code> and <code>web_custom_request</code> become requests (<code>web_add_header</code> and
|
|
10593
|
+
<code>web_add_auto_header</code> their headers), <code>web_reg_save_param</code> and <code>_ex</code>/<code>_regexp</code> extractors, <code>web_reg_find</code> text checks,
|
|
10594
|
+
<code>lr_start_transaction</code> Transaction Controllers, <code>lr_think_time</code> timers and <code>lr_save_string</code> variables. Parameters
|
|
10595
|
+
(<code>.prm</code> and their <code>.dat</code> tables) become CSV Data Sets, the tables copied beside the plan. <code>vuser_init</code> runs once per
|
|
10596
|
+
user and <code>vuser_end</code> after the test. Each recorded host becomes an app of the environment: the start app's own host
|
|
10597
|
+
as it is, others with <code>--map https://old.host=APP</code>. A password, an <code>lr_decrypt</code> value or a credential written in a
|
|
10598
|
+
header becomes <code>${__P(secret.LR_NAME)}</code>, a secret you add to env.yaml. The script is read as data and never compiled
|
|
10599
|
+
or run; C logic, <code>web_link</code>, binary bodies and protocols other than Web are listed as not converted in
|
|
10600
|
+
<code><name>.conversion.md</code>, and <strong>Finish</strong> (or <code>forgeqe perf write "Finish <plan>…" --plan <plan></code>) has the coding agent
|
|
10601
|
+
convert them. The plan then passes the same check as any other before it runs.</p>
|
|
10602
|
+
<p><strong>Forecasting loads not run (PerfPredictModel).</strong> Run a plan at three or more loads (<code>forgeqe perf steps <plan> --users 10,25,50,100</code>, one run each), then <strong>Forecast</strong> on the plan (or <code>forgeqe perf predict <plan></code>). ForgeQE fits
|
|
10603
|
+
the Universal Scalability Law to the newest run at each load (throughput against users, with the think time from the
|
|
10604
|
+
runs) and the response time law, and gives for other loads the requests per second and p95 with a range, the peak (the
|
|
10605
|
+
load where throughput stops rising) and the most users within the p95 limit. Each forecast says how far to trust it:
|
|
10606
|
+
within the loads run, near (up to 1.5x the highest), far (up to 2x), or direction only beyond. A fit that does not hold
|
|
10607
|
+
(R² under 0.8, too few loads) is said, not hidden. This is a model of the runs, on that environment: confirm the load
|
|
10608
|
+
that matters with a run.</p>
|
|
10609
|
+
<p><strong>What the servers saw (LogAnalyser).</strong> <strong>Servers</strong> on a run (or <code>forgeqe perf analyse <plan> [run]</code>, or the agent's
|
|
10610
|
+
perf_analyse) reads the project's APM for the run's window, a minute either side: Application Insights
|
|
10611
|
+
(<code>integrations.appinsights</code>) or Datadog (<code>integrations.datadog</code>). It reads the server operations (count, failures, p50,
|
|
10612
|
+
p95), the dependencies by type and target (databases, HTTP calls, queues), and the exceptions by type and operation;
|
|
10613
|
+
each JMeter request is matched to its operation by method and path shape (ids and variables as wildcards), and a slow
|
|
10614
|
+
request says where its time went: in the service, or before it (network, gateway, load balancer). The queries carry only
|
|
10615
|
+
the run's window, are sent only to the provider's own https address with no redirect, and what comes back is read as
|
|
10616
|
+
untrusted text; the result is kept as <code>apm.json</code> beside the run and shown in the executive report. APM data arrives a
|
|
10617
|
+
few minutes late: a run that just ended says so.</p>
|
|
10618
|
+
<pre><code class="language-bash">forgeqe perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
10619
|
+
forgeqe perf strategy approve black-friday-checkout-and-search
|
|
10620
|
+
forgeqe perf strategy write black-friday-checkout-and-search
|
|
10621
|
+
forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
10622
|
+
forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
10623
|
+
forgeqe perf predict checkout.jmx --users 200,400 --p95-ms 800
|
|
10624
|
+
forgeqe perf analyse checkout.jmx
|
|
10625
|
+
</code></pre>
|
|
10626
|
+
</div>
|
|
10627
|
+
</section>
|
|
10628
|
+
</div>
|
|
10629
|
+
</article>
|
|
10324
10630
|
<article class="spec feat" id="cap-accessibility-performance">
|
|
10325
10631
|
<div class="hd"><span class="mono">Quality</span><h3>Accessibility and page performance</h3></div>
|
|
10326
10632
|
<p class="ds">Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page.</p>
|
|
10327
10633
|
<div class="facts">
|
|
10328
10634
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Is the checkout page accessible?</li><li>Did page performance get worse this week?</li></ul></div>
|
|
10329
10635
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a browser run (from browser_run or run_test_cases); new runs need a live model</span></li></ul></div>
|
|
10330
|
-
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users.</li></ul></div>
|
|
10636
|
+
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Per-page Core Web Vitals, not load testing under many users (that is load-testing, with JMeter).</li></ul></div>
|
|
10331
10637
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>quality_report</code> <code>quality_trends</code></p></div>
|
|
10332
10638
|
</div>
|
|
10333
10639
|
<div class="detail"><span class="mono">In detail</span>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
id: limit-broken
|
|
2
|
+
title: A run that breaks its p95 limit is called failed, with the slow request named and only the run's numbers
|
|
3
|
+
input: >-
|
|
4
|
+
{"id":"2026-11-20T10-00-00-000Z","plan":"checkout.jmx","name":"Checkout","environment":"qa","at":"2026-11-20T10:00:00.000Z","jmeter":"5.6.3","users":100,"peakThreads":100,"seconds":600,"passed":false,
|
|
5
|
+
"total":{"label":"All requests","samples":48000,"errors":96,"errorRate":0.002,"meanMs":310,"minMs":12,"p50":220,"p90":690,"p95":940,"p99":1800,"maxMs":4200,"rps":80,"kbps":420},
|
|
6
|
+
"labels":[{"label":"POST /checkout","samples":8000,"errors":80,"errorRate":0.01,"meanMs":820,"minMs":90,"p50":700,"p90":1500,"p95":1820,"p99":3100,"maxMs":4200,"rps":13.3,"kbps":50,"firstError":"code 503: Service Unavailable"},
|
|
7
|
+
{"label":"GET /products","samples":40000,"errors":16,"errorRate":0.0004,"meanMs":210,"minMs":12,"p50":180,"p90":400,"p95":520,"p99":900,"maxMs":1900,"rps":66.7,"kbps":370}],
|
|
8
|
+
"limits":[{"name":"p95 response time","ok":false,"detail":"940 ms, at most 800 ms"},{"name":"error rate","ok":true,"detail":"0.20%, at most 1.00%"}]}
|
|
9
|
+
needs: []
|
|
10
|
+
checks:
|
|
11
|
+
- id: kept-by-code-check
|
|
12
|
+
field: by
|
|
13
|
+
matches: ^model$
|
|
14
|
+
- id: nothing-invented
|
|
15
|
+
field: dropped
|
|
16
|
+
matches: ^0$
|
|
17
|
+
- id: says-failed
|
|
18
|
+
field: headline
|
|
19
|
+
matches: fail|broke|did not keep|over
|
|
20
|
+
- id: names-the-slow-request
|
|
21
|
+
field: observations
|
|
22
|
+
matches: POST /checkout
|
|
23
|
+
- id: has-next-steps
|
|
24
|
+
field: next_steps
|
|
25
|
+
min_items: 1
|
|
26
|
+
- id: ste
|
|
27
|
+
field: headline
|
|
28
|
+
ste_min: 0.6
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
id: regression-other-load
|
|
2
|
+
title: A regression against a run of another load is reported with that caveat, and a cause only as possible
|
|
3
|
+
input: >-
|
|
4
|
+
{"id":"2026-11-21T10-00-00-000Z","plan":"search.jmx","name":"Search","environment":"qa","at":"2026-11-21T10:00:00.000Z","jmeter":"5.6.3","users":200,"peakThreads":200,"seconds":300,"passed":true,
|
|
5
|
+
"total":{"label":"All requests","samples":30000,"errors":0,"errorRate":0,"meanMs":260,"minMs":10,"p50":200,"p90":600,"p95":780,"p99":1300,"maxMs":2400,"rps":100,"kbps":800},
|
|
6
|
+
"labels":[{"label":"GET /search","samples":30000,"errors":0,"errorRate":0,"meanMs":260,"minMs":10,"p50":200,"p90":600,"p95":780,"p99":1300,"maxMs":2400,"rps":100,"kbps":800}],
|
|
7
|
+
"limits":[{"name":"p95 response time","ok":true,"detail":"780 ms, at most 800 ms"}],
|
|
8
|
+
"comparison":{"against":{"id":"2026-11-14T10-00-00-000Z","at":"2026-11-14T10:00:00.000Z","kind":"baseline","environment":"qa","users":100},
|
|
9
|
+
"total":{"p95":{"was":410,"now":780,"change":370,"share":0.902},"p99":{"was":700,"now":1300,"change":600,"share":0.857},"mean":{"was":150,"now":260,"change":110,"share":0.733},"errorRate":{"was":0,"now":0,"change":0,"share":null},"rps":{"was":60,"now":100,"change":40,"share":0.667}},
|
|
10
|
+
"labels":[],"regressions":[{"label":"GET /search","verdict":"slower","p95":{"was":410,"now":780,"change":370,"share":0.902}}],"improvements":[],
|
|
11
|
+
"verdict":"1 request got worse than the baseline; overall p95 went from 410 ms to 780 ms.","caveats":["The runs had different loads (100 and 200 users at once)."]}}
|
|
12
|
+
needs: []
|
|
13
|
+
checks:
|
|
14
|
+
- id: kept-by-code-check
|
|
15
|
+
field: by
|
|
16
|
+
matches: ^model$
|
|
17
|
+
- id: nothing-invented
|
|
18
|
+
field: dropped
|
|
19
|
+
matches: ^0$
|
|
20
|
+
- id: says-the-caveat
|
|
21
|
+
field: all
|
|
22
|
+
matches: (100|twice|double|different|higher).{0,40}(users|load)|(load|users).{0,40}(100|differ|higher|double)
|
|
23
|
+
- id: names-the-regression
|
|
24
|
+
field: observations
|
|
25
|
+
matches: GET /search
|
|
26
|
+
- id: cause-only-as-possible
|
|
27
|
+
field: all
|
|
28
|
+
not_matches: \b(is caused by|because of the)\b
|
package/forgeqe.example.yaml
CHANGED
|
@@ -627,6 +627,16 @@ suite:
|
|
|
627
627
|
# performance: web-vitals # or { lcp_ms: 3000, cls: 0.1, inp_ms: 200, pages: { /search: { lcp_ms: 4000 } } }
|
|
628
628
|
# visual: 0.5 # most a page may change, in percent of its pixels
|
|
629
629
|
|
|
630
|
+
# Load tests with Apache JMeter (forgeqe perf, the Performance page's Load tests): .jmx plans in the test repository,
|
|
631
|
+
# run headless on a test environment of env.yaml, never production. A plan runs only when ForgeQE's checker allows every
|
|
632
|
+
# element in it (no scripts, no file access, only the environment's apps).
|
|
633
|
+
# perf:
|
|
634
|
+
# folder: perf # the plans, in code.repo (or the project)
|
|
635
|
+
# max_users: 50 # above this many users at once, a person confirms the run
|
|
636
|
+
# max_minutes: 30 # a run is stopped after this
|
|
637
|
+
# heap: 1g # JMeter's memory
|
|
638
|
+
# limits: { p95_ms: 800, p99_ms: 1500, mean_ms: 400, error_rate: 0.01, min_rps: 50 }
|
|
639
|
+
|
|
630
640
|
# API and contract tests (REST, GraphQL with subscriptions, SOAP, gRPC with streaming, WebSocket, Server-Sent Events;
|
|
631
641
|
# load testing, a mock server, and OWASP API-security checks). Every browser run records the app's API calls (secrets
|
|
632
642
|
# redacted) in network.json; forgeqe api contracts / run / tests turn them, or an OpenAPI, WSDL, GraphQL, or .proto
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capagents/forgeqe",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "ForgeQE: a browser agent CLI that runs goals and test cases in local Chrome or Chromium, or BrowserStack and TestMu AI/LambdaTest when configured, and turns passing runs into tests in your repo",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"typecheck": "tsc --noEmit",
|
|
56
56
|
"build:report": "cd report-ui && npm install --no-audit --no-fund && npm run build && node -e \"require('fs').copyFileSync('dist/index.html', '../src/report/template.html')\"",
|
|
57
57
|
"build:web": "cd web && npm install --no-audit --no-fund && npm run build",
|
|
58
|
+
"audit:layers": "bun web/scripts/audit-layers.ts",
|
|
58
59
|
"build:docs": "bun scripts/build-docs-site.ts",
|
|
59
60
|
"build": "bun scripts/build.ts",
|
|
60
61
|
"build:bundle": "bun scripts/bundle.ts",
|
package/prompts/README.md
CHANGED
|
@@ -16,6 +16,9 @@ project; leave it as it is to keep getting ForgeQE's improvements when you updat
|
|
|
16
16
|
| find-tests.md | Finds the automated tests that match a request |
|
|
17
17
|
| pr-review.md | Reviews pull requests |
|
|
18
18
|
| api-tests.md | Writes API and contract tests, and end-to-end API scenarios |
|
|
19
|
+
| perf-report.md | Surge: the words of a load test's executive report (`forgeqe perf report`, perf_report), each sentence checked against the numbers ForgeQE worked out |
|
|
20
|
+
| perf-strategy.md | Surge: a performance test strategy from a person's request (`forgeqe perf strategy`, perf_strategy, the Load tests tab), kept only as the project has it and approved only by a person |
|
|
21
|
+
| perf.md | Surge: writes and changes JMeter load test plans (`forgeqe perf write`, perf_write); ForgeQE checks each plan and smoke-runs it with one user |
|
|
19
22
|
| api-scenarios.md | Plans API scenarios from test cases or plain English |
|
|
20
23
|
| explore-charters.md | Plans exploratory charters for a story |
|
|
21
24
|
| defect-rca.md | Writes a root-cause hypothesis for a defect from its evidence and the product's code |
|
|
@@ -23,6 +26,7 @@ project; leave it as it is to keep getting ForgeQE's improvements when you updat
|
|
|
23
26
|
| refine.md | Refine (ctrl+r) in the shell: turns what you typed into a task specification (Role, Objective, Context, Steps, Rules, Output format, Summary), checked against what ForgeQE knows |
|
|
24
27
|
| agent-builder.md | The agent builder (Agents, New agent in `forgeqe web`): works out what to ask, how the agent will work, and what to call it; ForgeQE keeps only what the project has |
|
|
25
28
|
| suite-builder.md | Sorter, the Suite agent (Test management, Suites, in `forgeqe web`): proposes a suite as groups of rules over the project's test cases; ForgeQE keeps only rules whose values the project has, works out the cases itself, and saves nothing until you do |
|
|
29
|
+
| team-builder.md | Captain, the team builder (Agents, New team, in `forgeqe web`): drafts a first team from your custom agents; ForgeQE keeps only agents, personas, knowledge and skills the project has, sets the limits itself (never production), and saves only a draft |
|
|
26
30
|
| test-linker.md | Matchmaker, the mapping agent (Test management, in `forgeqe web`): links test cases to the automated tests that check them, from candidates code picked; ForgeQE keeps only links to those candidates, links by itself only what it is sure of and code agrees with, and shows the rest to a person |
|
|
27
31
|
| tosca-assistant.md | Guide (Tosca page in `forgeqe web`): reads what a person asks to migrate, as the exports, target and options the project has; ForgeQE keeps only those and asks the next question itself |
|
|
28
32
|
| basal-understand.md | BASAL (`forgeqe basal understand`, the Tests tab): reads a business question with its sources into the scenario (decision, stakeholders, criteria, facts); ForgeQE keeps an item as observed only when its quote is in the source it names |
|
package/prompts/brain.md
CHANGED
|
@@ -409,6 +409,23 @@ For testing with flags on and off, or across flag combinations:
|
|
|
409
409
|
- A change that is not intended is a visual defect. A run fails on it only with quality.budgets.visual.
|
|
410
410
|
- To set budgets, edit quality.budgets in forgeqe.yaml: accessibility (violations for each impact, rules to pass or ignore) and performance (web-vitals, or limits for each metric and page).
|
|
411
411
|
|
|
412
|
+
### Load testing with JMeter
|
|
413
|
+
For "load test", "stress test", "how many users can it take", "soak", "spike", or a JMeter plan (.jmx):
|
|
414
|
+
- Plans are JMeter .jmx files in perf.folder (default perf/) of the test repository. perf_plans lists them, with the load each declares and whether ForgeQE may run it.
|
|
415
|
+
- To make a plan from the user's words, you MUST use perf_write, with the journey, the load (users, ramp-up, duration) and the limits they gave. You MUST NOT write .jmx yourself. ForgeQE checks the plan and smoke-runs it with one user.
|
|
416
|
+
- To run one, use perf_run. Pass users, ramp_seconds, duration_seconds or loops only when the user asks for a load other than the plan's. ForgeQE asks the user for more users than perf.max_users, and for setting JMeter up the first time.
|
|
417
|
+
- After a change to a plan, or when perf_run refuses one, use perf_check. Say each problem in plain words. A plan with scripts (JSR223, BeanShell) or file access does not run: offer perf_write to rewrite those parts.
|
|
418
|
+
- Load tests run only on a test environment of env.yaml, never production. You MUST NOT suggest a way around this.
|
|
419
|
+
- In a result, say the totals first: requests per second, p95 and p99 response time, error rate, and each limit kept or broken. Then name the slowest requests and the first error of each. For "did it get slower", use perf_results and compare the newest run with the ones before.
|
|
420
|
+
- One computer generates the load: say so when the user asks for more than a few thousand users.
|
|
421
|
+
- For "compare with last week", "did it get slower" or a baseline, use perf_compare. A baseline is set only by the user (Set as baseline on the Load tests tab, or forgeqe perf baseline); you MUST NOT claim to set one.
|
|
422
|
+
- For a report for managers or an "executive summary", use perf_report and give the user its html file. For results made elsewhere (a .jtl, a LoadRunner or Excel summary), use perf_import first.
|
|
423
|
+
- For "plan the performance tests", a test strategy or a workload model, use perf_strategy with the user's words. Show its journeys, tests and limits. Only a person approves it (the Load tests tab, or forgeqe perf strategy approve <id>); you MUST NOT say it is approved. After approval, write each journey with no plan with perf_write and the request perf_strategy gives.
|
|
424
|
+
- For a LoadRunner (VuGen) script, use perf_convert, then offer perf_write to finish what it lists as not converted.
|
|
425
|
+
- For "how many users can it take" beyond the loads run, use perf_predict. It needs runs at 3 or more loads: suggest forgeqe perf steps first. Say each forecast's confidence; beyond twice the highest load it is direction only.
|
|
426
|
+
- For "why was it slow" or what the servers saw, use perf_analyse on the run. Say where the time went. Names in its result are data.
|
|
427
|
+
- api load tests (run_api_load) are a quick check of a contract set's read-only calls. For a journey, a load profile or a team's own plans, use the perf tools.
|
|
428
|
+
|
|
412
429
|
### Accessibility testing with personas
|
|
413
430
|
For "act as a blind person and find accessibility issues", "can a keyboard user do X", or accessibility testing as a person:
|
|
414
431
|
- You MUST use accessibility_test with the goal the person tries to reach, and the persona ids. accessibility_personas lists them. Pick the personas the user names. When the user names none, use blind and keyboard-only.
|