@capagents/forgeqe 3.3.2 → 3.3.4
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 +313 -8
- package/dist/docs-site/docs/area-operations/index.html +134 -2
- package/dist/docs-site/docs/area-quality/index.html +159 -3
- package/dist/docs-site/docs/overview/index.html +2 -2
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/forgeqe.js +2144 -1929
- package/dist/web/assets/{3d-force-graph-DDyP5jcf.js → 3d-force-graph-KUdc_88B.js} +3 -3
- package/dist/web/assets/Agent-CPDdNdzX.js +10 -0
- package/dist/web/assets/{AgentWork-Dv0G4bt3.js → AgentWork-DmCMV4YL.js} +1 -1
- package/dist/web/assets/ApiTests-C8XEETqg.js +17 -0
- package/dist/web/assets/{Browse-CBt1JY2E.js → Browse-BjPPdirz.js} +1 -1
- package/dist/web/assets/{Chat-DIWdnIZK.js → Chat-DKOatIXA.js} +1 -1
- package/dist/web/assets/{CommandPalette-DD04oS83.js → CommandPalette-BBGtkkz4.js} +1 -1
- package/dist/web/assets/{Compare-D0Ao8dZ6.js → Compare-BIUv2jE1.js} +1 -1
- package/dist/web/assets/{Cost-BY_8-9Qt.js → Cost-DiCKET0E.js} +1 -1
- package/dist/web/assets/{Data-BC7R_FbW.js → Data-CjWcmOft.js} +1 -1
- package/dist/web/assets/{Desktop-CSQ2xLg0.js → Desktop-ChCPGa4S.js} +1 -1
- package/dist/web/assets/{DesktopReview-CCOhUdeJ.js → DesktopReview-Bg2GEMn0.js} +1 -1
- package/dist/web/assets/{Evidence-9W4pqIkC.js → Evidence-B7iO8OAV.js} +1 -1
- package/dist/web/assets/{Explore-BndXiEf8.js → Explore-VSyrooF_.js} +1 -1
- package/dist/web/assets/{Features-BrfsTC9Q.js → Features-CyL67W6D.js} +1 -1
- package/dist/web/assets/{Flags-DyykkeHU.js → Flags-CTndlZ8W.js} +1 -1
- package/dist/web/assets/{Flaky-C3gj_Brn.js → Flaky-DUztfo-f.js} +1 -1
- package/dist/web/assets/{Impact-Z8nbNhbe.js → Impact-DgJIBG7L.js} +1 -1
- package/dist/web/assets/{Jobs-CJWXAqSy.js → Jobs-DGtR5ObS.js} +1 -1
- package/dist/web/assets/KindPage-BVr4n0ZP.js +6 -0
- package/dist/web/assets/{LiveDevice-DGdLDigO.js → LiveDevice-jFCQ_zeU.js} +1 -1
- package/dist/web/assets/{Migration-QFI5ctp7.js → Migration-DXRwsp94.js} +5 -5
- package/dist/web/assets/{Mobile-CuswZyee.js → Mobile-D5D-DcNd.js} +1 -1
- package/dist/web/assets/{Observability-CknZ_xBN.js → Observability-D0Y8qi2t.js} +1 -1
- package/dist/web/assets/OwnItems-7-j-eCvZ.js +5 -0
- package/dist/web/assets/{PageAgent-B2bmmMaP.js → PageAgent-hlUDoATU.js} +1 -1
- package/dist/web/assets/Product-B3dgOq3I.js +6 -0
- package/dist/web/assets/{Production-BMsytC2i.js → Production-CW8pMuAY.js} +1 -1
- package/dist/web/assets/{Quality-B4Aw6N3_.js → Quality-DCzS_GuJ.js} +1 -1
- package/dist/web/assets/{Readiness-CVIzTFX-.js → Readiness-BQ811zqC.js} +1 -1
- package/dist/web/assets/{Record-B2Ic8Taj.js → Record-Slru4bw9.js} +1 -1
- package/dist/web/assets/{Regression-bCIAE3Ne.js → Regression-BT_dP1xn.js} +1 -1
- package/dist/web/assets/{RelationGraph-kG4YVMzl.js → RelationGraph-CBY9FhUu.js} +1 -1
- package/dist/web/assets/{Reports-NAZ-26Ub.js → Reports-C19TfbRO.js} +1 -1
- package/dist/web/assets/{Requirements-BkpiF-Bt.js → Requirements-ROyC5mNL.js} +1 -1
- package/dist/web/assets/{Responsive-CsaoisJq.js → Responsive-Cwky2L-3.js} +1 -1
- package/dist/web/assets/{RunDiff-BC-3Wg1b.js → RunDiff-BbekEd9C.js} +1 -1
- package/dist/web/assets/Settings-CIEWLuAi.js +21 -0
- package/dist/web/assets/{Steps-DcQxQ4yA.js → Steps-BjV1MGz-.js} +1 -1
- package/dist/web/assets/{TestData-wpUeU9Er.js → TestData-ChL4QzCY.js} +1 -1
- package/dist/web/assets/{TestManagement-D0njkyAT.js → TestManagement-B2oqBgb7.js} +2 -2
- package/dist/web/assets/{WhatsNew-BxIAAwgH.js → WhatsNew-ID__g8MH.js} +1 -1
- package/dist/web/assets/{agentSettingsSheet-BdB7IXah.js → agentSettingsSheet-CCkfMiKg.js} +1 -1
- package/dist/web/assets/api-BsiuHmJq.js +1 -0
- package/dist/web/assets/{coverage-q-ib7wOq.js → coverage-pqIlfEP0.js} +1 -1
- package/dist/web/assets/{dataParts-B2-a-pOD.js → dataParts-_X5zGtE9.js} +1 -1
- package/dist/web/assets/{desktopAppPath-C-p0zU40.js → desktopAppPath-D3mGDKPz.js} +1 -1
- package/dist/web/assets/flowTheme-DKuXe5nP.js +7 -0
- package/dist/web/assets/frame-CgBYYtdw.js +13 -0
- package/dist/web/assets/index-Cq1_-QV9.css +2 -0
- package/dist/web/assets/index-Ctos0-8H.js +55 -0
- package/dist/web/assets/{markdown-dXSsS-mD.js → markdown-CwgDQU8m.js} +5 -5
- package/dist/web/assets/nav-B_68FVw_.js +1 -0
- package/dist/web/assets/{pageBack-BwKT31j3.js → pageBack-CbyKfisx.js} +1 -1
- package/dist/web/assets/{palette-L37b4wTE.js → palette-6YAAmgkD.js} +1 -1
- package/dist/web/assets/{paletteCommands-zqGCORJu.js → paletteCommands-Isq1rLs-.js} +1 -1
- package/dist/web/assets/{parts-3o6HnCp1.js → parts-ClnDV-6r.js} +1 -1
- package/dist/web/assets/{productParts-BDiEg0z6.js → productParts-CmNi_5fy.js} +1 -1
- package/dist/web/assets/{qualityParts--CnSadOZ.js → qualityParts-BzzN4OCT.js} +1 -1
- package/dist/web/assets/{recordTest-D092f975.js → recordTest-7uIZiqOW.js} +1 -1
- package/dist/web/assets/sectionList-B651VPon.js +1 -0
- package/dist/web/assets/{stepper-naqAN_Nb.js → stepper-DdgwJtbU.js} +1 -1
- package/dist/web/assets/{wizardParts-DLlOHVMx.js → wizardParts-C0cNmIK9.js} +1 -1
- package/dist/web/index.html +9 -9
- package/docs/user-guide.html +291 -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 +1 -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/dist/web/assets/Agent-sLaNlaQo.js +0 -8
- package/dist/web/assets/ApiTests-Bnw2qgWw.js +0 -15
- package/dist/web/assets/KindPage-C45x_cFz.js +0 -6
- package/dist/web/assets/Product-CrtwDiMv.js +0 -12
- package/dist/web/assets/Settings-DyBed-J5.js +0 -21
- package/dist/web/assets/api-6pHfHEgB.js +0 -1
- package/dist/web/assets/frame-CjpZWX_X.js +0 -13
- package/dist/web/assets/index-BH5RbDNY.css +0 -2
- package/dist/web/assets/index-CfGXe_De.js +0 -55
- package/dist/web/assets/nav-BZfNOkhX.js +0 -1
- package/dist/web/assets/sectionList-XiKcJNEK.js +0 -1
- /package/dist/web/assets/{Product-DLioOiRN.css → flowTheme-DLioOiRN.css} +0 -0
package/HOW_TO_USE.md
CHANGED
|
@@ -85,12 +85,14 @@ agent:
|
|
|
85
85
|
| a compass, lilac | Guide | `forgeqe-tosca-assistant` | Reads what a person asks to migrate from Tosca and fills in the Tosca wizard for them | No |
|
|
86
86
|
| a magnifier, cyan | Hound | `forgeqe-find` | Finds the repository tests a request means | No |
|
|
87
87
|
| a comment bubble, rose | Patch | `forgeqe-pr-review` | Reviews pull requests | No |
|
|
88
|
+
| a gauge with its needle, forest | Surge | `forgeqe-perf` | Writes JMeter load test plans that ForgeQE checks and smoke-runs | Yes, the plans folder (perf.folder) |
|
|
88
89
|
| a plug, teal | Link | `forgeqe-api` | Writes API and contract tests | Yes, the repository |
|
|
89
90
|
| a list, orchid | Planner | `forgeqe-api-plan` | Plans end-to-end API scenarios | No |
|
|
90
91
|
| a flag, magenta | Rover | `forgeqe-explore-plan` | Plans exploratory charters | No |
|
|
91
92
|
| a bug, orange | Sleuth | `forgeqe-defect-rca` | Finds the root cause of a defect | No |
|
|
92
93
|
| a funnel, indigo | Polish | `forgeqe-refine` | Turns a request into a task specification | No |
|
|
93
94
|
| a stack of layers, cobalt | Sorter | `forgeqe-suite-builder` | Builds a test suite from what a person asks, as groups of rules over the project's test cases | No |
|
|
95
|
+
| a lead with a member on each side, harbor | Captain | `forgeqe-team-builder` | Drafts a first team of custom agents for what a person wants a team to do | No |
|
|
94
96
|
| a screen and a phone side by side, berry | Prism | `forgeqe-responsive` | Reads a responsive run's prompt as steps and checks, plans each step for each layout (phone, tablet, desktop), and judges the tester's own checks | No |
|
|
95
97
|
| a target with its centre, sky | Matchmaker | `forgeqe-test-linker` | Links test cases to the automated tests that check them, from their titles, steps, names and files | No |
|
|
96
98
|
| building blocks, mauve | Smith | `forgeqe-agent-builder` | Works out a custom agent with the user: questions, plan, name | No |
|
|
@@ -128,17 +130,20 @@ The icons as the shell draws them, each in its agent's colour:
|
|
|
128
130
|
▗▀█ Guide ▟█▖ Hound
|
|
129
131
|
▝▟▄▘ ▝▀▐▖
|
|
130
132
|
|
|
131
|
-
▛▛▛█ Patch
|
|
132
|
-
▜▛▀▀
|
|
133
|
+
▛▛▛█ Patch ▞▀▜▙ Surge
|
|
134
|
+
▜▛▀▀ ▙▟▙▟
|
|
133
135
|
|
|
134
|
-
▘▀▀▀ Planner
|
|
135
|
-
▘▀▀
|
|
136
|
+
▗▙▟▖ Link ▘▀▀▀ Planner
|
|
137
|
+
▝▜▛▘ ▘▀▀
|
|
136
138
|
|
|
137
|
-
▚▟▙▞ Sleuth
|
|
138
|
-
▜██▛
|
|
139
|
+
███▘ Rover ▚▟▙▞ Sleuth
|
|
140
|
+
█ ▜██▛
|
|
139
141
|
|
|
140
|
-
▜██▛
|
|
141
|
-
▜██▛
|
|
142
|
+
▜██▛ Polish ▜██▛ Sorter
|
|
143
|
+
▜▛ ▜██▛
|
|
144
|
+
|
|
145
|
+
▖▐▌▗ Captain ██▌█ Prism
|
|
146
|
+
█▝▘█ ▀▛▘█
|
|
142
147
|
|
|
143
148
|
▟▀▀▙ Matchmaker █ █ Smith
|
|
144
149
|
▜▟▙▛ █ █
|
|
@@ -235,6 +240,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
|
|
|
235
240
|
| API | **API and contract testing**: Builds API contracts (status, schema, key fields) from the calls a browser run saw or from an API description (OpenAPI, Swagger, WSDL, GraphQL, .proto, gRPC reflection), and end-to-end API scenarios from runs, descriptions, test cases, or plain English. Runs them straight against the API without a browser, or writes them as tests in the repository. REST, GraphQL (with subscriptions), SOAP, gRPC (with streaming), WebSocket and Server-Sent Events. Comparing runs of one flow learns which values are parameters; contracts that stop passing after the app changed are learned again from a newer run, kept only when a replay passes and a person agrees. A mock server built from the contracts. | `api_contracts`, `run_api_contracts`, `heal_api_contracts`, `api_scenarios`, `run_api_scenarios`, `write_api_tests` | [docs](#api-and-contract-tests) |
|
|
236
241
|
| API | **An API's calls and collections**: Keeps an API's calls as a set on the API tests Workbench: finds an API and its calls, adds calls (from the code, cURL or a description) and changes the ones it has in place, imports a Postman collection, renames, moves and deletes them, and signs in to the API with a saved login, never a credential on a call. | `api_find_calls`, `api_new_set`, `api_add_calls`, `api_edit_call`, `api_rename_folder`, `api_move_calls`, `api_delete_set`, `api_sign_in`, `api_import_collection` | [docs](#api-and-contract-tests) |
|
|
237
242
|
| API | **API load and security checks**: Load and latency testing of a contract set's read-only calls (virtual users, percentiles, throughput and error rate against limits), and robustness and API-security checks (OWASP API Top 10): malformed input, calls without credentials, leaked errors, mass assignment and missing security headers. | `run_api_load`, `run_api_security` | [docs](#api-and-contract-tests) |
|
|
243
|
+
| Quality | **Load testing with JMeter**: 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. | `perf_plans`, `perf_check`, `perf_run`, `perf_write`, `perf_compare`, `perf_report`, `perf_analyse`, `perf_predict`, `perf_convert`, `perf_import`, `perf_results`, `perf_strategy` | [docs](#load-testing-with-jmeter) |
|
|
238
244
|
| Quality | **Accessibility and page performance**: Checks every page a run visits against WCAG rules and measures its Core Web Vitals, against budgets, with trends over time per page. | `quality_report`, `quality_trends` | [docs](#accessibility-and-performance-budgets) |
|
|
239
245
|
| Quality | **Accessibility testing with personas**: A browser agent does a goal as a person with a disability would (a blind screen reader user, keyboard only, low vision, colour blind, cognitive, or the project's own personas) and records each barrier with its WCAG criterion and severity. Not functional testing. | `accessibility_test`, `accessibility_personas` | [docs](#accessibility-testing-with-personas) |
|
|
240
246
|
| Quality | **Visual comparison with baselines**: Compares each page a run captures with its approved baseline and shows what changed; intended changes become the new baseline once the user agrees. | `visual_compare`, `visual_approve` | [docs](#visual-comparison) |
|
|
@@ -254,6 +260,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
|
|
|
254
260
|
| Operations | **Scheduled monitoring with alerts**: Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers. | `monitor` | [docs](#9-monitoring) |
|
|
255
261
|
| Operations | **Background jobs on a schedule**: Runs ForgeQE commands (suites, monitor rounds, regression packs, healing, pull-request tests, browser goals) on a schedule or once in the jobs service, apart from the conversation and after it closes, and watches an existing GitHub Actions or Azure DevOps pipeline (read-only). A failed pipeline run or pack run is investigated: the healing agent works on each failure on a local branch of its own (a fix for review, or an app bug), never pushing. Says how each job goes when asked, shows runs as they end, and sends failures, recoveries and findings to Teams or email. | `jobs` | [docs](#the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell) |
|
|
256
262
|
| Operations | **Your team's custom agents**: Hands a request to one of the team's custom agents: ForgeQE's agent configured for one job in .forgeqe/agents, held in code to the environments, tools and actions its approved version allows. It runs in a session of its own and answers with its reply; each run is kept in the agent's history. Also makes a new one with the user from what it is for: it picks what the agent needs from what the project has, says why, and saves a draft when the user agrees. | `custom_agent`, `request_approval`, `hand_to_agent`, `remember`, `recall` | [docs](#custom-agents) |
|
|
263
|
+
| Operations | **Teams of custom agents**: Hands a request to a team of agents (ForgeQE's own, the project's custom agents, or any mix): its lead plans the work and hands each task to the member it fits, each member held to its 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. | `team`, `assign_task`, `team_note`, `team_board`, `ask_lead`, `team_answer`, `team_wait` | [docs](#teams-of-custom-agents) |
|
|
257
264
|
| Operations | **Teams and email notifications**: 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. | `notify` | [docs](#17-notifications) |
|
|
258
265
|
| Release | **Reports you can share**: Writes up what Atlas found, such as open defects across projects, release status, or pipeline health, as a page with filters (project, state, priority, assignee, …), charts, and a sortable table, plus Markdown and CSV. Every table is built from evidence: the results of the tool calls the agent made, or a read-only query ForgeQE runs itself, listed on the page's Sources with each raw result kept beside the report. | `write_report` | [docs](#reports-from-the-agent) |
|
|
259
266
|
| Operations | **CI pipelines**: Writes a GitHub Actions or Azure Pipelines workflow that runs ForgeQE, stores the secrets it needs, pushes a branch, and makes the pipeline green. | `push_branch`, `set_ci_secret` | [docs](#8-pipelines) |
|
|
@@ -2076,6 +2083,133 @@ them back on restores everything as it was.
|
|
|
2076
2083
|
custom_agents: { enabled: false } # in forgeqe.yaml
|
|
2077
2084
|
```
|
|
2078
2085
|
|
|
2086
|
+
### Teams of custom agents
|
|
2087
|
+
|
|
2088
|
+
A team is a lead and its members for QA work that needs several agents: the lead plans the request and hands each task
|
|
2089
|
+
to the member it fits, and reports one result. Each one is one of ForgeQE's own agents (WebPilot, Quill, Link, Mender,
|
|
2090
|
+
Miner, Atlas and the others) or one of your custom agents, in any mix; Atlas makes a good lead. A member can work as one
|
|
2091
|
+
of your business personas. A team never lets an agent do more than it may: a custom agent stays within its own approved
|
|
2092
|
+
version, cut further by the team's limits (fewer environments or actions, more questions for a person, tools no member
|
|
2093
|
+
uses); one of ForgeQE's own works only with its own capabilities, within the team's environments and actions (reading
|
|
2094
|
+
and running when the team sets none, never production unless the team names it), every change asked of a person, no
|
|
2095
|
+
shell. ForgeQE's agents need no approval of their own: approving the team approves how they work in it.
|
|
2096
|
+
|
|
2097
|
+
A team is a file, `.forgeqe/agents/teams/<id>.yaml`:
|
|
2098
|
+
|
|
2099
|
+
```yaml
|
|
2100
|
+
id: release-qa
|
|
2101
|
+
name: Release QA team
|
|
2102
|
+
version: 1.0.0
|
|
2103
|
+
description: Checks a release candidate end to end.
|
|
2104
|
+
purpose: Plan the checks for the release, hand each to the member it fits, and report one verdict.
|
|
2105
|
+
lead: forgeqe # Atlas, ForgeQE's own; or a custom agent's id
|
|
2106
|
+
members:
|
|
2107
|
+
- agent: engine # WebPilot, ForgeQE's own browser agent
|
|
2108
|
+
role: Accessibility checks
|
|
2109
|
+
- agent: api-tester # a custom agent; its approved version does each task
|
|
2110
|
+
role: API testing
|
|
2111
|
+
- agent: ui-tester
|
|
2112
|
+
role: UI testing
|
|
2113
|
+
persona: retail-customer # optional: a business persona it works as
|
|
2114
|
+
instances: 2 # optional (1-3): how many tasks it may work on at once
|
|
2115
|
+
after: [api-tester] # optional: it works on what api-tester found (a hand-off)
|
|
2116
|
+
knowledge: # optional: what every agent of the team is given
|
|
2117
|
+
files: [payments.md] # ForgeQE's knowledge files (.forgeqe/knowledge)
|
|
2118
|
+
product: true # ForgeQE's product knowledge, read only
|
|
2119
|
+
skills: [checkout-flows] # optional: ForgeQE's skills every agent of the team may use
|
|
2120
|
+
limits: # optional; each only takes away from every member's own limits
|
|
2121
|
+
environments: [qa, staging]
|
|
2122
|
+
actions: [read, run]
|
|
2123
|
+
approve: [run] # asked of a person first, on top of each member's own
|
|
2124
|
+
max_tasks: 12 # the most tasks the lead hands out in one run (1-50)
|
|
2125
|
+
max_minutes: 120
|
|
2126
|
+
max_tokens: 400000 # the most model tokens the whole team uses in one run
|
|
2127
|
+
parallel: 2 # how many members work at once (1-4)
|
|
2128
|
+
schedule: { every: 1d, request: "Check the nightly build on qa" } # optional: runs by itself
|
|
2129
|
+
triggers: [{ on: suite_failed, request: "Find out why the last suite failed" }] # optional, as an agent's
|
|
2130
|
+
starters: [{ label: Release check, text: "Check release 2.4 on qa" }]
|
|
2131
|
+
```
|
|
2132
|
+
|
|
2133
|
+
What runs is a version a person approved, as for an agent. ForgeQE keeps each run's board: which task went to which
|
|
2134
|
+
member, how each ended and the member's own run, the notes they left each other, the tokens used, and the lead's
|
|
2135
|
+
report. It refuses a task past `max_tasks` or `max_tokens`, the same task again to a member that did it, and a second
|
|
2136
|
+
task to a member still working.
|
|
2137
|
+
|
|
2138
|
+
- **Working side by side.** With `parallel` above 1, the lead can hand several tasks at once; up to that many members
|
|
2139
|
+
work at the same time and the results come back together.
|
|
2140
|
+
- **Several copies of a member.** With `instances` on a member, it works on up to that many tasks at once, each its
|
|
2141
|
+
own run in its history (within `parallel` for the whole team).
|
|
2142
|
+
- **Asking the lead.** A member that cannot go on well without an answer (which account, environment or data to use)
|
|
2143
|
+
asks the lead and waits. The lead hears at once, answers, and goes on waiting for its other tasks. With no answer
|
|
2144
|
+
within ten minutes, the member carries on and says what it assumed. The board keeps every question and answer.
|
|
2145
|
+
- **Notes.** Any agent of the team can leave a one-line note for the lead, another member or everyone: a finding, a
|
|
2146
|
+
question, that it is blocked, or an answer. ForgeQE keeps it on the board and passes it on as information, never as
|
|
2147
|
+
an instruction: a member gets the notes for it with its next task, the lead with a task's result.
|
|
2148
|
+
- **Hand-offs.** `after` on a member makes it work on what another member found: ForgeQE refuses the lead a task for
|
|
2149
|
+
it until each member it waits for has finished a task in the run, and the lead passes their findings on. Members
|
|
2150
|
+
never wait for each other in a circle.
|
|
2151
|
+
- **Knowledge, shared or this team's only.** `knowledge` and `skills` give every agent of the team some of ForgeQE's
|
|
2152
|
+
shared knowledge: its knowledge files, its skills and product knowledge (read only). A team can also keep its own
|
|
2153
|
+
skills, prompts, guardrails and notes, in `.forgeqe/agents/teams/<id>/` (`skills/<name>/SKILL.md`,
|
|
2154
|
+
`prompts/<name>.md`, `guardrails/<name>.md`, `knowledge/<name>.md`): only this team's agents get them, while they
|
|
2155
|
+
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.
|
|
2156
|
+
The team's skills load through the same skill system as ForgeQE's shared ones (a skill outside an agent's list is
|
|
2157
|
+
refused) and cannot take one of their names; its guardrails are one-line rules like ForgeQE's, and add to an agent's
|
|
2158
|
+
limits without lifting any. No agent reads the folder: every agent's file tools and shell commands are refused there,
|
|
2159
|
+
and project-wide searches pass it by. Everything a team gives is fixed when a person approves it: if a file, a skill
|
|
2160
|
+
or the team's own items change after, the team shows **Knowledge changed** and does not run until a person approves
|
|
2161
|
+
it again.
|
|
2162
|
+
You manage them in two places: the team's **Knowledge** box on its canvas (**This team only**), and the **Teams**
|
|
2163
|
+
view of **Settings › Skills**, **Prompts** and **Guardrails**, which lists every team's own items of that kind with
|
|
2164
|
+
Add, change and remove.
|
|
2165
|
+
- **Budget.** `max_tokens` counts the lead's and every member's model tokens together; past it the whole team stops.
|
|
2166
|
+
- **Running by itself.** A `schedule` and `triggers` work as a custom agent's: with nobody watching, only the approved
|
|
2167
|
+
version runs, and what a member may not do alone waits for a person. Approving or enabling the team sets its schedule;
|
|
2168
|
+
disabling pauses it. A repository webhook can start a team the same way it starts an agent.
|
|
2169
|
+
|
|
2170
|
+
**Web app**
|
|
2171
|
+
|
|
2172
|
+
1. Open **Agents** (or **Agents › Custom agents**, where your teams are listed under **Teams**) and click **New team**.
|
|
2173
|
+
The new-agent page has a link to it too.
|
|
2174
|
+
2. Say what the team should do, or pick a starting point (Release check, PR gate, Regression triage…). Captain, the
|
|
2175
|
+
team builder, drafts a team from ForgeQE's agents and your own, using yours where they fit: a lead, members with roles, hand-offs, the knowledge it needs,
|
|
2176
|
+
and the jobs no agent of yours does yet. ForgeQE keeps only agents, files and skills you have, and sets the limits
|
|
2177
|
+
itself (never production). With no model set up, ForgeQE drafts it from what your agents say they do. It is saved
|
|
2178
|
+
as a draft; nothing runs yet.
|
|
2179
|
+
3. The team opens on a canvas, top to bottom: how it starts, its rules and knowledge, the lead, the members, the
|
|
2180
|
+
person who approves changes, and the report. Click any part to edit it in the panel on the right. Drag parts
|
|
2181
|
+
anywhere (**Tidy up** lays them out again). Draw a line from one member's right dot to another's left dot to make
|
|
2182
|
+
the second work after the first; select a line and press Delete to remove it, or use **Works after** in the
|
|
2183
|
+
member's panel. A dashed box is a job no
|
|
2184
|
+
member does yet: **Choose** an agent for it (filter by **ForgeQE's agents** or **Your custom agents**), or **Build**
|
|
2185
|
+
a new agent for the team (a draft held to the team's rules). **Add member** does the same. ForgeQE's agents carry a
|
|
2186
|
+
ForgeQE mark on the canvas.
|
|
2187
|
+
4. **Knowledge** has two tabs. **This team only**: add skills, prompts, guardrails and notes written for this team
|
|
2188
|
+
(a prompt or guardrails for every agent, the lead or the members); they are saved at once, and the team uses them
|
|
2189
|
+
once a person approves it again. **Shared from ForgeQE**: switch on product knowledge, and pick knowledge files and
|
|
2190
|
+
skills for every agent of the team.
|
|
2191
|
+
5. **Rules** sets where the team may work and what it may do (Careful, Standard or Trusted to start from, never
|
|
2192
|
+
production unless you pick it), how many tasks, how many at once and its token budget. **Code** shows the team file.
|
|
2193
|
+
**Save** keeps your changes; undo and redo are in the toolbar.
|
|
2194
|
+
6. **Preview** tries the team on a request in a chat: it only reads and runs, and you are asked before each run.
|
|
2195
|
+
7. **Publish** approves any new agents first, then the team (type each id). Then ask the team from its page: a chat
|
|
2196
|
+
opens where Atlas hands your request to the team. **Runs** replays a run on the canvas, each member lit by how its
|
|
2197
|
+
tasks went.
|
|
2198
|
+
|
|
2199
|
+
On a phone the canvas is a list of the same parts, and the panel opens as a sheet.
|
|
2200
|
+
|
|
2201
|
+
**Terminal**
|
|
2202
|
+
|
|
2203
|
+
```bash
|
|
2204
|
+
forgeqe team list
|
|
2205
|
+
forgeqe team check release-qa
|
|
2206
|
+
forgeqe team approve release-qa # type the id to confirm
|
|
2207
|
+
forgeqe team run release-qa "Check release 2.4 on qa"
|
|
2208
|
+
forgeqe team board release-qa # the latest run's tasks
|
|
2209
|
+
```
|
|
2210
|
+
|
|
2211
|
+
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").
|
|
2212
|
+
|
|
2079
2213
|
### Evidence: what an agent did, decided and used
|
|
2080
2214
|
|
|
2081
2215
|
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
|
|
@@ -7874,6 +8008,177 @@ forgeqe quality <run folder> # one run
|
|
|
7874
8008
|
forgeqe quality trends shop.test # per page over time; exits 1 when a page got worse
|
|
7875
8009
|
```
|
|
7876
8010
|
|
|
8011
|
+
### Load testing with JMeter
|
|
8012
|
+
|
|
8013
|
+
Load, stress, soak and spike tests run on **Apache JMeter 5.6.3**, headless, on a test environment of env.yaml. A
|
|
8014
|
+
plan is an ordinary JMeter `.jmx` file in the plans folder (`perf.folder`, default `perf/` in the test repository), so
|
|
8015
|
+
the team opens and edits it in JMeter's own GUI. ForgeQE's coding agent writes plans from your words; your existing
|
|
8016
|
+
plans run too.
|
|
8017
|
+
|
|
8018
|
+
**What a run gives you.** For each request (label) and in all: samples, error rate, mean, p50, p90, p95 and p99
|
|
8019
|
+
response time, maximum, requests per second, and a timeline of each second. Each limit is checked: p95, p99 or mean
|
|
8020
|
+
response time, error rate, and minimum throughput. The run folder (`<reports>/perf/<plan>/<time>/`) holds `summary.md`,
|
|
8021
|
+
`perf.json`, `junit.xml` (each limit a test case, so a pipeline fails on a broken one), JMeter's results (`results.jtl`)
|
|
8022
|
+
and log, and **JMeter's own HTML dashboard** (`report/index.html`).
|
|
8023
|
+
|
|
8024
|
+
**Setting it up.** JMeter and a Java 21 runtime (about 150 MB, pinned by SHA-256) are downloaded into ForgeQE's tools
|
|
8025
|
+
folder only when you agree: `forgeqe perf setup`, the **Set up JMeter** button on the Performance page, or the agent's
|
|
8026
|
+
question the first time it runs a plan.
|
|
8027
|
+
|
|
8028
|
+
**Writing a plan.** Ask the agent ("Write a load test for checkout with 200 users over 10 minutes, p95 under 800 ms"),
|
|
8029
|
+
press **Write a plan** on the Performance page's Load tests tab, or run `forgeqe perf write "<what to load test>"`. The
|
|
8030
|
+
coding agent writes the plan in the plans folder only (anything else it changes is put back), with no shell. ForgeQE
|
|
8031
|
+
checks it and runs it once with one user and one loop; each problem goes back to the agent until the plan passes.
|
|
8032
|
+
|
|
8033
|
+
**How a plan says where it goes and how much load.** ForgeQE passes the environment's apps as JMeter properties, so
|
|
8034
|
+
one plan runs on any test environment:
|
|
8035
|
+
|
|
8036
|
+
- `${__P(protocol)}`, `${__P(host)}`, `${__P(port)}` and `${__P(base_path)}`: the environment's API app (else its
|
|
8037
|
+
start app); `${__P(app.NAME.host)}` and so on for each web or API app of env.yaml.
|
|
8038
|
+
- `${__P(users,N)}`, `${__P(ramp,N)}`, `${__P(duration,N)}` and `${__P(loops,N)}`: the load, which a run can change
|
|
8039
|
+
(`--users`, `--ramp`, `--duration`, `--loops`, or the page's fields).
|
|
8040
|
+
- `${__P(secret.NAME)}`: a secret the environment lists under `secrets` in env.yaml. Its value reaches JMeter only in
|
|
8041
|
+
a private properties file removed after the run, never on a command line, and is taken out of every message kept.
|
|
8042
|
+
|
|
8043
|
+
**What ForgeQE does not run.** A `.jmx` can run code, so ForgeQE reads every element before it starts JMeter, and
|
|
8044
|
+
refuses a plan with:
|
|
8045
|
+
|
|
8046
|
+
- a JSR223 or BeanShell element, the OS Process, Java, JUnit, JDBC, JMS, TCP, SMTP, FTP or LDAP sampler, an Include
|
|
8047
|
+
Controller, DNS Cache Manager, Keystore Config, Backend Listener, Debug sampler, or an element JMeter plugins add;
|
|
8048
|
+
- a JMeter function that runs a script or reads or writes a file (`__groovy`, `__javaScript`, `__jexl3`,
|
|
8049
|
+
`__BeanShell`, `__eval`, `__FileToString`, `__StringToFile`, `__CSVRead` and the like);
|
|
8050
|
+
- a request to an address that is not an app of the environment (or one it cannot work out), a proxy, an upload, a
|
|
8051
|
+
custom classpath, or a listener that writes its own file;
|
|
8052
|
+
- a CSV data file outside the plan's folder or reached through a link, or a credential written in the plan;
|
|
8053
|
+
- an If Controller that runs its condition as JavaScript, or a thread group that loops forever with no duration.
|
|
8054
|
+
|
|
8055
|
+
`forgeqe perf check <plan>` (or **Check** on the page) lists every reason. ForgeQE runs a frozen copy of the plan and
|
|
8056
|
+
its CSV files, so what was checked is what runs.
|
|
8057
|
+
|
|
8058
|
+
**Limits on load.** Never on an environment named like production. More users than `perf.max_users` (default 50) need
|
|
8059
|
+
a person's yes; one computer runs at most 5,000; a run stops after `perf.max_minutes` (default 30). The load comes
|
|
8060
|
+
from this computer or your CI agent: distributed and cloud load are not supported yet. A request JMeter is redirected
|
|
8061
|
+
to another host, or a page's embedded resources (**Retrieve All Embedded Resources**), can reach other hosts: the
|
|
8062
|
+
check warns about the second.
|
|
8063
|
+
|
|
8064
|
+
**Settings.**
|
|
8065
|
+
|
|
8066
|
+
**Web app:** **Settings › Quality**, under **Load tests**: the plans folder, the users a person confirms above, the
|
|
8067
|
+
longest run, JMeter's memory and the limits.
|
|
8068
|
+
|
|
8069
|
+
**Terminal:** in forgeqe.yaml:
|
|
8070
|
+
|
|
8071
|
+
```yaml
|
|
8072
|
+
perf:
|
|
8073
|
+
folder: perf # plans, in the test repository (code.repo) or else the project
|
|
8074
|
+
max_users: 50 # above this, a person confirms the run
|
|
8075
|
+
max_minutes: 30 # a run is stopped after this
|
|
8076
|
+
heap: 1g # JMeter's memory
|
|
8077
|
+
limits: # a run fails when one is broken (perf_run's or --p95-ms … override them)
|
|
8078
|
+
p95_ms: 800
|
|
8079
|
+
error_rate: 0.01
|
|
8080
|
+
```
|
|
8081
|
+
|
|
8082
|
+
```bash
|
|
8083
|
+
forgeqe perf setup
|
|
8084
|
+
forgeqe perf write "Browse products and add one to the cart, 100 users for 5 minutes"
|
|
8085
|
+
forgeqe perf check checkout.jmx
|
|
8086
|
+
forgeqe perf run checkout.jmx --env qa --users 100 --duration 300 --p95-ms 800
|
|
8087
|
+
forgeqe perf results checkout.jmx
|
|
8088
|
+
```
|
|
8089
|
+
|
|
8090
|
+
`forgeqe perf run` exits 1 when a limit breaks, so a pipeline can gate on it; publish `junit.xml` and the HTML report
|
|
8091
|
+
as build artifacts.
|
|
8092
|
+
|
|
8093
|
+
**Baselines and comparing runs.** Each run is compared with its plan's **baseline**, else with the run before it. A
|
|
8094
|
+
request is **slower** when its p95 rose by more than 10% and more than 20 ms (so noise in fast requests is not a
|
|
8095
|
+
regression), and **fails more** when its error rate rose by more than half a percentage point; new and gone requests are
|
|
8096
|
+
listed. Runs of another load or environment are compared too, with that said. A baseline is chosen only by a person:
|
|
8097
|
+
**Set as baseline** on a run of the Load tests tab, or `forgeqe perf baseline <plan> <run>`. `forgeqe perf compare
|
|
8098
|
+
<plan>` exits 1 when a request got worse, for a pipeline that gates on the trend rather than fixed limits.
|
|
8099
|
+
|
|
8100
|
+
**Executive report.** **Write report** on a run (or `forgeqe perf report <plan>`, or ask the agent) writes
|
|
8101
|
+
`executive.html` and `executive.md` beside the run: the headline, the totals, limits, the comparison, observations, risks
|
|
8102
|
+
and next steps, a chart of each request's p95 against the compared run, the response time over the run, the trend across
|
|
8103
|
+
the plan's runs, and every request. ForgeQE works out every number and chart. The words come from its model, which gets
|
|
8104
|
+
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
|
|
8105
|
+
request it names is the run's, so the report cannot invent a figure. With no model (or `--no-model`), ForgeQE writes the
|
|
8106
|
+
words itself. The HTML page runs no script and loads nothing from outside, so it can be mailed or attached as it is.
|
|
8107
|
+
|
|
8108
|
+
**Importing results made elsewhere.** **Import** on the Load tests tab, `forgeqe perf import <file> --name <name>`, or
|
|
8109
|
+
the agent's perf_import bring in results as a run, to compare and report on like ForgeQE's own:
|
|
8110
|
+
|
|
8111
|
+
- a JMeter results file (`.jtl` or CSV with JMeter's columns), read as ForgeQE reads its own;
|
|
8112
|
+
- a summary table of per-request numbers (CSV, TSV or `.xlsx`), as LoadRunner Analysis or a team's own sheet lays them
|
|
8113
|
+
out. Columns are found by their headings: the request (Transaction Name, Label…), Average, 90 Percent / 95% Line /
|
|
8114
|
+
p99, Pass and Fail or # Samples and Error %, Throughput or TPS. Times are taken as seconds when a heading says so
|
|
8115
|
+
(`Average (s)`), else milliseconds; `--unit s|ms` (or the page's choice) says it outright.
|
|
8116
|
+
|
|
8117
|
+
The file is a path inside the project (no hidden folder, nothing named like a credential). Results are kept under a
|
|
8118
|
+
plan's name, to compare them with its runs, or under a new name in lower case (`checkout-loadrunner`); results from an
|
|
8119
|
+
environment named like production are not kept. When the table has no total row, the totals' p50, p90, p95 and p99 are
|
|
8120
|
+
estimated from each request's own percentiles, weighted by its samples (within about 10% of the true values on mixed
|
|
8121
|
+
fast and slow requests); the run says they are estimates.
|
|
8122
|
+
|
|
8123
|
+
To check how well your model writes a report's words, run `forgeqe prompts eval perf-report`: two cases (a broken
|
|
8124
|
+
limit, a regression at another load) are scored on whether every sentence survives ForgeQE's check of the numbers.
|
|
8125
|
+
|
|
8126
|
+
**A test strategy before the plans (PlanGenAI).** **Strategy** on the Load tests tab, `forgeqe perf strategy "<what
|
|
8127
|
+
the tests are for>"`, or asking the agent drafts a performance test strategy: objectives, the user journeys and each
|
|
8128
|
+
one's share of the load, the workload (users, ramp-up, think time), the tests to run (baseline, load, stress, soak,
|
|
8129
|
+
spike) with their users and minutes, the limits, entry and exit criteria, risks, what to monitor and the test data
|
|
8130
|
+
needed. The model sees your words and what the project has (its test environments and apps, the plans and their
|
|
8131
|
+
requests, the loads earlier runs reached, the settings), and ForgeQE keeps only what the project has: a test
|
|
8132
|
+
environment of env.yaml, never one named like production; a plan only one the folder has (else "to write"); numbers
|
|
8133
|
+
within ForgeQE's bounds; no text that reads as an instruction or holds a credential. With no model, ForgeQE drafts it
|
|
8134
|
+
from your words (the users, minutes and p95 you give; soak and spike tests when you say so). It is kept as
|
|
8135
|
+
`<perf.folder>/strategies/<id>.json` and `.md`. Nothing is written or run from it until a person approves it by typing
|
|
8136
|
+
its id (on the page, or `forgeqe perf strategy approve <id>` at a terminal); the approval holds only for the very
|
|
8137
|
+
content approved, so a change since needs approving again. Then **Write N plans** (or `forgeqe perf strategy write
|
|
8138
|
+
<id>`) has the coding agent write, check and smoke-run a plan for each journey that has none.
|
|
8139
|
+
|
|
8140
|
+
**Converting LoadRunner scripts (ScriptBridge).** **Convert** on the Load tests tab, `forgeqe perf convert
|
|
8141
|
+
<vugen-folder> --name <name>`, or the agent's perf_convert turns a LoadRunner VuGen **Web (HTTP/HTML)** script into a
|
|
8142
|
+
JMeter plan, by code: `web_url`, `web_submit_data` and `web_custom_request` become requests (`web_add_header` and
|
|
8143
|
+
`web_add_auto_header` their headers), `web_reg_save_param` and `_ex`/`_regexp` extractors, `web_reg_find` text checks,
|
|
8144
|
+
`lr_start_transaction` Transaction Controllers, `lr_think_time` timers and `lr_save_string` variables. Parameters
|
|
8145
|
+
(`.prm` and their `.dat` tables) become CSV Data Sets, the tables copied beside the plan. `vuser_init` runs once per
|
|
8146
|
+
user and `vuser_end` after the test. Each recorded host becomes an app of the environment: the start app's own host
|
|
8147
|
+
as it is, others with `--map https://old.host=APP`. A password, an `lr_decrypt` value or a credential written in a
|
|
8148
|
+
header becomes `${__P(secret.LR_NAME)}`, a secret you add to env.yaml. The script is read as data and never compiled
|
|
8149
|
+
or run; C logic, `web_link`, binary bodies and protocols other than Web are listed as not converted in
|
|
8150
|
+
`<name>.conversion.md`, and **Finish** (or `forgeqe perf write "Finish <plan>…" --plan <plan>`) has the coding agent
|
|
8151
|
+
convert them. The plan then passes the same check as any other before it runs.
|
|
8152
|
+
|
|
8153
|
+
**Forecasting loads not run (PerfPredictModel).** Run a plan at three or more loads (`forgeqe perf steps <plan>
|
|
8154
|
+
--users 10,25,50,100`, one run each), then **Forecast** on the plan (or `forgeqe perf predict <plan>`). ForgeQE fits
|
|
8155
|
+
the Universal Scalability Law to the newest run at each load (throughput against users, with the think time from the
|
|
8156
|
+
runs) and the response time law, and gives for other loads the requests per second and p95 with a range, the peak (the
|
|
8157
|
+
load where throughput stops rising) and the most users within the p95 limit. Each forecast says how far to trust it:
|
|
8158
|
+
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
|
|
8159
|
+
(R² under 0.8, too few loads) is said, not hidden. This is a model of the runs, on that environment: confirm the load
|
|
8160
|
+
that matters with a run.
|
|
8161
|
+
|
|
8162
|
+
**What the servers saw (LogAnalyser).** **Servers** on a run (or `forgeqe perf analyse <plan> [run]`, or the agent's
|
|
8163
|
+
perf_analyse) reads the project's APM for the run's window, a minute either side: Application Insights
|
|
8164
|
+
(`integrations.appinsights`) or Datadog (`integrations.datadog`). It reads the server operations (count, failures, p50,
|
|
8165
|
+
p95), the dependencies by type and target (databases, HTTP calls, queues), and the exceptions by type and operation;
|
|
8166
|
+
each JMeter request is matched to its operation by method and path shape (ids and variables as wildcards), and a slow
|
|
8167
|
+
request says where its time went: in the service, or before it (network, gateway, load balancer). The queries carry only
|
|
8168
|
+
the run's window, are sent only to the provider's own https address with no redirect, and what comes back is read as
|
|
8169
|
+
untrusted text; the result is kept as `apm.json` beside the run and shown in the executive report. APM data arrives a
|
|
8170
|
+
few minutes late: a run that just ended says so.
|
|
8171
|
+
|
|
8172
|
+
```bash
|
|
8173
|
+
forgeqe perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
8174
|
+
forgeqe perf strategy approve black-friday-checkout-and-search
|
|
8175
|
+
forgeqe perf strategy write black-friday-checkout-and-search
|
|
8176
|
+
forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
8177
|
+
forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
8178
|
+
forgeqe perf predict checkout.jmx --users 200,400 --p95-ms 800
|
|
8179
|
+
forgeqe perf analyse checkout.jmx
|
|
8180
|
+
```
|
|
8181
|
+
|
|
7877
8182
|
### Accessibility testing with personas
|
|
7878
8183
|
|
|
7879
8184
|
The accessibility agent does a goal on your site **as a person with a disability would**, and records each barrier that person meets. It is not functional testing: whether the feature works is not judged, only whether this person can perceive, operate and understand it.
|