@capagents/forgeqe 3.1.2 → 3.1.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 +5003 -2077
- package/README.md +155 -449
- package/dist/docs-site/docs/app-theme.css +30 -9
- package/dist/docs-site/docs/architecture/index.html +45 -515
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +257 -116
- package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
- package/dist/docs-site/docs/area-browser/index.html +167 -125
- package/dist/docs-site/docs/area-data/index.html +178 -188
- package/dist/docs-site/docs/area-desktop/index.html +329 -282
- package/dist/docs-site/docs/area-mobile/index.html +138 -86
- package/dist/docs-site/docs/area-operations/index.html +567 -393
- package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
- package/dist/docs-site/docs/area-quality/index.html +111 -49
- package/dist/docs-site/docs/area-release/index.html +180 -65
- package/dist/docs-site/docs/area-setup/index.html +742 -339
- package/dist/docs-site/docs/area-systems/index.html +32 -48
- package/dist/docs-site/docs/area-test-cases/index.html +387 -154
- package/dist/docs-site/docs/containers/index.html +87 -101
- package/dist/docs-site/docs/cost-architecture/index.html +4 -3
- package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
- package/dist/docs-site/docs/desktop/index.html +277 -297
- package/dist/docs-site/docs/desktop-ci/index.html +15 -5
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +50 -49
- package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
- package/dist/docs-site/docs/get-started/index.html +464 -168
- package/dist/docs-site/docs/graphify/index.html +8 -7
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +4 -3
- package/dist/docs-site/docs/mobile/index.html +96 -76
- package/dist/docs-site/docs/model-routing/index.html +44 -18
- package/dist/docs-site/docs/overview/index.html +23 -7
- package/dist/docs-site/docs/product-graph/index.html +13 -12
- package/dist/docs-site/docs/product-knowledge/index.html +16 -5
- package/dist/docs-site/docs/product-views/index.html +7 -6
- package/dist/docs-site/docs/reference/index.html +95 -65
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +444 -126
- package/dist/docs-site/docs/web-app/index.html +54 -51
- package/dist/forgeqe.js +1822 -1822
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
- package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
- package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +6 -7
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +298 -297
- package/docs/MOBILE.md +103 -71
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/WEB_APP.md +49 -44
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5263 -2453
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
- package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
- package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
- package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
- package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
- package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
- package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
- package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
- package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
- package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
- package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
- package/dist/web/assets/Features-CQzNo_WP.js +0 -1
- package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
- package/dist/web/assets/Impact-CfccsL_k.js +0 -3
- package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
- package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
- package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
- package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
- package/dist/web/assets/Product-nYV_scOV.js +0 -7
- package/dist/web/assets/Production-CGSbEWVa.js +0 -1
- package/dist/web/assets/Quality-BIypojZm.js +0 -1
- package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
- package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
- package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
- package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
- package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
- package/dist/web/assets/Response-mhBThq2b.js +0 -9
- package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
- package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
- package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
- package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
- package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
- package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
- package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
- package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
- package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
- package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
- package/dist/web/assets/filters-CnAMr286.js +0 -1
- package/dist/web/assets/fold-D_O_VZui.js +0 -1
- package/dist/web/assets/head-CRo48rPt.js +0 -1
- package/dist/web/assets/index-B3JsM7tv.js +0 -64
- package/dist/web/assets/index-CafApcbZ.css +0 -2
- package/dist/web/assets/input-CtzK50ZF.js +0 -1
- package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
- package/dist/web/assets/logos-D4oVWzqa.js +0 -1
- package/dist/web/assets/palette-DAaGSao7.js +0 -1
- package/dist/web/assets/parts-D357Wolo.js +0 -1
- package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
- package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
- package/dist/web/assets/route-BloYJWgw.js +0 -1
package/README.md
CHANGED
|
@@ -1,505 +1,211 @@
|
|
|
1
1
|
# ForgeQE
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
ForgeQE is a team of testing agents for web, Windows desktop, Android and iOS apps, and APIs. You say what you want in
|
|
4
|
+
plain words, and ForgeQE's agent works out what that needs:
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
- **Carry out a goal** in a real browser, a Windows app or a mobile app, and say whether it passed.
|
|
7
|
+
- **Run your test cases** from Jira, Azure DevOps, Xray, TestRail, Zephyr Scale, qTest or a file, step by step, and post
|
|
8
|
+
the results back.
|
|
9
|
+
- **Turn a passed run into a test** in your repository's own language and framework (Playwright, Cypress, Selenium,
|
|
10
|
+
pytest, .NET and more), written by Quill, ForgeQE's coding agent, and run until it passes.
|
|
11
|
+
- **Fix tests the app has outgrown**, and report the failures that are real app bugs.
|
|
12
|
+
- **Test APIs, data and pipelines**: contracts and scenarios, database checks and test data, CI pipelines that run
|
|
13
|
+
your suites, and monitors that alert Teams or email when something breaks.
|
|
6
14
|
|
|
7
|
-
|
|
15
|
+
ForgeQE runs on your computer. It works with the model you choose (Azure OpenAI, OpenAI, GitHub Copilot, Ollama or
|
|
16
|
+
any OpenAI-compatible endpoint).
|
|
8
17
|
|
|
9
|
-
##
|
|
10
|
-
|
|
11
|
-
The CLI is published on **npm** as `@capagents/forgeqe`. **PyPI** package `forgeqe-cli` is a pip launcher for the same `forgeqe` command. Either one is the only thing to install, on Windows, macOS or Linux:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm install -g @capagents/forgeqe
|
|
15
|
-
# or
|
|
16
|
-
pip install forgeqe-cli
|
|
17
|
-
|
|
18
|
-
forgeqe setup # optional: the first live run does this too
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Everything else is downloaded on first use into `~/.forgeqe/tools` (`%USERPROFILE%\.forgeqe\tools` on Windows), checksum verified, without admin rights and without touching PATH or shell profiles:
|
|
22
|
-
|
|
23
|
-
- **Bun** (the CLI and the OpenTUI shell run on it). npm installs it with ForgeQE through your npm registry; with pip, or when npm skipped it, it is downloaded here. A Bun 1.3+ already on PATH or in `~/.bun/bin` is used instead. `FORGEQE_BUN` points at a specific one.
|
|
24
|
-
- **The agent runtime** that ForgeQE's agent and Quill, the coding agent, run on, at the version ForgeQE is tested with. `code.runtime` points at a specific binary.
|
|
25
|
-
- **uv**, which then fetches **Python** for the engine. A uv already installed is used instead; when uv cannot be downloaded, a Python 3.11+ on PATH (or the Windows `py` launcher) is the fallback.
|
|
26
|
-
- **The ForgeQE engine** and its Python libraries in `~/.forgeqe/engine/.venv`. Installed Google Chrome is used, or Chromium is installed when Chrome is missing. `FORGEQE_PYTHON` points at an existing Python that already has the engine's libraries; when that Python cannot run the engine (missing, too old, or without them), ForgeQE says so and uses its own environment. A broken environment is rebuilt on the next run.
|
|
27
|
-
|
|
28
|
-
`forgeqe setup` does all of this up front; otherwise the first command that needs a piece fetches it. Upgrading is `forgeqe update`: it updates every `forgeqe` on PATH (bun, npm and pip installs) and waits while the registries catch up with a new release. A release that pins a newer Bun, agent runtime, uv or engine library downloads it on the next run and removes the old one. Deleting `~/.forgeqe` removes everything ForgeQE downloaded. Behind a proxy, set `HTTPS_PROXY`. The npm launcher's Bun download also needs `NODE_USE_ENV_PROXY=1` (Node 24+); on older Node, use the pip launcher or install Bun yourself.
|
|
29
|
-
|
|
30
|
-
**Coming from WebPilot** (`@capagents/webpilot`, ForgeQE's name before the rename): remove it first with `npm uninstall -g @capagents/webpilot`. npm refuses to install ForgeQE while the old package owns the `webpilot` command (`EEXIST ... npm\webpilot`). Your settings, sign-ins, `WEBPILOT_*` variables and `webpilot.yaml` files keep working. The npm package installs only the `forgeqe` command; the pip launcher still installs `webpilot` too. Install with `-g`, not with `npm install @capagents/forgeqe` inside a folder: `npx forgeqe` runs that folder copy, and `forgeqe update` does not change it (it prints how to replace it).
|
|
31
|
-
|
|
32
|
-
From this repo:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
cd ForgeQE
|
|
36
|
-
bun install
|
|
37
|
-
bun src/index.ts init
|
|
38
|
-
bun src/index.ts start
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
Maintainers: releasing ForgeQE is in `RELEASING.md` in the repository.
|
|
42
|
-
|
|
43
|
-
## Privacy
|
|
44
|
-
|
|
45
|
-
ForgeQE sends no telemetry and turns it off in everything it starts:
|
|
46
|
-
- The engine: PostHog telemetry, cloud sync, and the price-list download are off, and the blank-tab logo its library loads from a CDN is replaced by ForgeQE's start page, which loads nothing.
|
|
47
|
-
- The agent runtime: auto-update, session sharing, OpenTelemetry spans, and the model catalogue download are off; it uses its bundled model list.
|
|
48
|
-
- GitHub Copilot: the Copilot SDK's session telemetry, on by default for a signed-in user, is off on every session.
|
|
49
|
-
- The repo's test command: `DO_NOT_TRACK=1`, plus the opt-outs for Next.js, Nuxt, Astro, Gatsby, Storybook, Turborepo, Angular, .NET, and Cypress.
|
|
50
|
-
|
|
51
|
-
`OTEL_EXPORTER_OTLP_*` variables are removed from those processes, and your environment cannot turn any of this back on. The traffic is to your model endpoint and the sites the agent visits. Besides that, ForgeQE downloads only public files: the model price lists from models.dev and LiteLLM, once a day (`FORGEQE_PRICES=off` stops them); the agent runtime from its GitHub releases, when it is not installed; and the engine's ad-block and cookie-banner extensions from the Chrome Web Store, once. Nothing about your runs is sent.
|
|
52
|
-
|
|
53
|
-
## Configure
|
|
54
|
-
|
|
55
|
-
`init` writes:
|
|
56
|
-
|
|
57
|
-
| File | Purpose |
|
|
58
|
-
|------|---------|
|
|
59
|
-
| `forgeqe.yaml` | Browser, prompts, export, active profile |
|
|
60
|
-
| `llms.json` | Named LLM profiles (azure, openai, ollama, openai_compatible, github_copilot) |
|
|
61
|
-
| `env.yaml` | Your test environments and the apps in each (`forgeqe apps` lists them) |
|
|
62
|
-
| `.forgeqe/prompts/` | Every agent prompt as a markdown file, to change how an agent works (`forgeqe prompts` lists them) |
|
|
63
|
-
| `.forgeqe/skills/` | The built-in skills, to adapt; add your own beside them |
|
|
64
|
-
| `.forgeqe/knowledge/` | Product knowledge templates: product, roles, glossary, business rules, test data, environments |
|
|
65
|
-
| `.forgeqe/guardrails/` | Your guardrails: rules every agent must follow, one `- rule` line each (`forgeqe guardrails` lists them, `forgeqe guardrails add "…"` adds one) |
|
|
66
|
-
| `.forgeqe/browserstack.yaml` / `.forgeqe/testmu.yaml` | Sample remote-browser provider configs, ready to point `browser.providers` at |
|
|
67
|
-
|
|
68
|
-
ForgeQE also keeps these next to `forgeqe.yaml` as it works:
|
|
69
|
-
|
|
70
|
-
| File | Purpose |
|
|
71
|
-
|------|---------|
|
|
72
|
-
| `.forgeqe/model-profile.json` | The model router's checks and ratings of each `llms.json` model; you can edit the ratings |
|
|
73
|
-
| `.forgeqe/generated.jsonl` | Every file ForgeQE created or edited, per run, for `forgeqe generated`; commit it with the code |
|
|
74
|
-
| `.forgeqe/data/<database>/` | Each database's schema (`catalog.json`), the queries you approved (`examples.jsonl`), and the test data batches inserted (`batches/`) |
|
|
75
|
-
|
|
76
|
-
An unchanged copy keeps following ForgeQE's updates; once you edit it, yours wins.
|
|
77
|
-
|
|
78
|
-
For remote browsers, `forgeqe.yaml` can now point at provider-specific YAML files under `browser.providers` such as `browserstack` and `testmu`, so the BrowserStack or TestMu AI connection details do not have to live inline under `browser.remote`. `forgeqe init` drops sample files at `.forgeqe/browserstack.yaml` and `.forgeqe/testmu.yaml`. When both are present, the separate file supplies the provider defaults and the inline `browser.remote` values override only the active provider. ForgeQE's agent can also switch providers per request by passing `browser_provider` to `browser_run` or `run_test_cases`, and the CLI can pin one with `--browser-provider`. **Devices.** A provider file can list named devices under `devices:`, each the file's shared `remote:` settings with its own browser, version, and platform on top. In the shell, describe the devices you want ("add Chrome on Windows 11 and Chrome 128 on Windows 10 on TestMu") and ForgeQE's agent saves them there with the `browser_devices` tool, keeping the file's comments; then "run SHOP-12 on both" runs the case on every device at the same time, each with its own run folder and row in the report (`SHOP-12@win11-chrome`). From the command line, `forgeqe suite <source> --devices win11-chrome,win10-edge` does the same, and `forgeqe start --devices ...` pins devices for a shell session. Devices run side by side, up to eight at once unless `--parallel` or `suite.parallel` says more; the grid queues sessions past your plan's limit. Each case posts one combined result back to its test system, failed when any device failed, and gets one test, written from its run on the first device. ForgeQE drives remote browsers over CDP, so `remote.browser` must be Chrome or Edge (TestMu AI's CDP endpoint serves Chrome only: an Edge session there never opens), and the default endpoints are the providers' CDP (`/puppeteer`) ones. On a remote grid, the browser stops taking real clicks and keystrokes on a tab once a password form has been submitted (most likely the browser's password manager), so after a sign-in leaves the login page ForgeQE reopens the page it landed on in a fresh tab, with the session intact, and the run log says so.
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
forgeqe models
|
|
82
|
-
forgeqe run "Read the homepage of example.com" --plain
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
The active profile is `llm.active` in `forgeqe.yaml`, else `default` in `llms.json`, else the first profile; Tab switches in the shell. With none set up, ForgeQE says so and how to add one.
|
|
86
|
-
|
|
87
|
-
**Model router.** With more than one model in `llms.json`, `llm.routing: auto` gives each area of work (ForgeQE's agent, browser runs, coding, review, analysis, planning) the cheapest configured model that is good enough for it. ForgeQE checks each model once and rates it, and keeps the result in `.forgeqe/model-profile.json`. `forgeqe models --routes` shows the model each area gets, and why. `--profile` and `code.model` still win. See [docs/MODEL_ROUTING.md](docs/MODEL_ROUTING.md).
|
|
88
|
-
|
|
89
|
-
**GitHub Copilot.** With Copilot licences, a `github_copilot` profile runs the browser engine and the desktop and mobile agents on the Copilot seat through GitHub's Copilot SDK, behind a gateway on `127.0.0.1`. It signs in with `forgeqe auth login copilot` (GitHub's Copilot sign-in in the browser, or a fine-grained token with the Copilot Requests permission), so no third-party app is authorized on the account. ForgeQE's agent and Quill run on it too, with `model`; the engines use `engine_model` when it is set. See HOW_TO_USE.md, *GitHub Copilot seats as the model*.
|
|
90
|
-
|
|
91
|
-
## CLI
|
|
18
|
+
## Two ways to use it
|
|
92
19
|
|
|
93
|
-
|
|
94
|
-
forgeqe start
|
|
95
|
-
forgeqe start -g "Go to booking.com and search hotels in Mumbai" -p azure-gpt4o
|
|
96
|
-
|
|
97
|
-
forgeqe run "Get a quote on example.com for a family of four" --profile azure-gpt4o --headed
|
|
98
|
-
forgeqe run "Run SHOP-12 and SHOP-14, 2 browsers at once"
|
|
99
|
-
forgeqe run "Write a Playwright test for the login flow on staging.app.test" --repo ../app
|
|
100
|
-
forgeqe run "Test the refund rules on https://acme.atlassian.net/wiki/spaces/QA/pages/123"
|
|
101
|
-
forgeqe login shop # sign in by hand once; runs reuse the session
|
|
102
|
-
forgeqe run --direct "Read the homepage" --url https://example.com --out ./.forgeqe/reports/demo # one browser goal, no agent
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
There are no commands to pick a source or a mode. ForgeQE's agent reads the request and decides: a browser goal, test cases (Jira keys, Azure DevOps ids or test plans, Xray, TestRail, Zephyr Scale or qTest cases, files in the working directory, or cases pasted into the message), requirements to turn into cases (a Confluence page, a story), a test, or a pipeline. When a reference could mean more than one thing, it asks. The agent picks the site to open; `--url` only pins a start page.
|
|
106
|
-
|
|
107
|
-
**Tools per turn.** ForgeQE's agent does not carry every tool on every turn. Each turn gets the core (help, setup, the environments) and the capabilities the request is about, picked from its words, the apps it names and its links, plus those used in the last few turns. When it needs another, it calls `use_capabilities` and carries on with the same request. Fewer tools mean a smaller prompt and no mix-ups between similar ones (`browser_run`, `desktop_explore`, `mobile_explore`). `agent.capabilities.always` and `off` in `forgeqe.yaml` pin or remove capabilities, and `FORGEQE_TOOL_SCOPE=off` gives every tool. See [HOW_TO_USE.md](HOW_TO_USE.md#which-tools-forgeqes-agent-gets).
|
|
108
|
-
|
|
109
|
-
Inside the shell, type the request and press Enter (Ctrl+J starts a new line). The only commands are for the session: `/stop`, `/rerun`, `/record`, `/paste`, `/headed`, `/theme`, `/details`, `/model`, `/profile`, `/env`, `/logs`, `/features`, `/runs`, `/reports`, `/jobs`, `/knowledge`, `/memory`, `/guardrails`, `/doctor`, `/settings`, `/home`, `/docs`, `/generated`, `/init`, `/skills`, `/db`, `/report`, `/auth`, `/clear`, `/help`, `/exit` (`/help` says what each does). Clicking the model ▾ in the status line opens the model picker, as `/model` and Tab do. Everything the other commands do can be asked for in the shell too, since each one is a tool the agent calls: "heal the checkout tests", "check the smoke cases once", "monitor them every 10 minutes", "sign in to shop", "forget the shop session", "which profiles do I have?". While the agents work, the shell shows each step's result, the files the coding agent writes, test results, and problems, with what is happening now on the activity line; `/details on` (or `--verbose`) adds the browser agent's reasoning, page memory, engine logs, and every file the coding agent reads. Results appear as cards in the transcript, and when a step needs you (signing in by hand), a **Your turn** prompt waits until you pick **Done, continue** or **Cancel**.
|
|
110
|
-
|
|
111
|
-
ForgeQE's agent needs the agent runtime (downloaded automatically, see Install) and a live profile. It uses the active `llms.json` profile, or the model the router picks for its area when `llm.routing` is `auto`; `--profile` and `code.model: provider/model` still win. Without the agent runtime, the request runs as one browser goal.
|
|
112
|
-
|
|
113
|
-
`forgeqe run` exits 0 when the job is done, 1 when it failed, 2 when it was stopped, and 3 when the agent needs more information.
|
|
114
|
-
|
|
115
|
-
**For programs.** `forgeqe chat --jsonl` gives a program that needs a live agent (a web UI, an IDE) what the shell has: one agent for the whole conversation, follow-ups, credentials remembered for the session, questions and **Your turn** waits, and stop. It reads one JSON object per line on stdin and writes the agent's and the tools' events, the same ones the shell draws, as JSON lines on stdout; nothing else is ever written there, and remembered secrets and keys are redacted. It takes the flags of `forgeqe run`, plus `--carry-over FILE` to continue an earlier conversation. The protocol is in [HOW_TO_USE.md](HOW_TO_USE.md#a-live-agent-for-programs-forgeqe-chat---jsonl).
|
|
116
|
-
|
|
117
|
-
```text
|
|
118
|
-
→ {"v":1,"seq":1,"type":"ready","protocol":1,"version":"2.3.11","cwd":"/work/app","writeTests":true,"profile":{"name":"copilot","provider":"github_copilot"},"t":"…"}
|
|
119
|
-
← {"type":"message","id":"m1","text":"Run SHOP-12 on staging"}
|
|
120
|
-
→ {"v":1,"seq":9,"type":"turn_done","id":"m1","outcome":"done","reply":"SHOP-12 passed on staging.","next":[],"usage":{"input":5200,"output":310},"t":"…"}
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
`forgeqe --help` lists every command, among them `forgeqe db`, `forgeqe data` and `forgeqe flows` (see [Databases, test data, and data flows](#databases-test-data-and-data-flows)) and `forgeqe generated`, which says how much of the code ForgeQE wrote and how much is still there (`--json` for a pipeline).
|
|
124
|
-
|
|
125
|
-
## More in the guide
|
|
126
|
-
|
|
127
|
-
- **The web app** (`forgeqe web`): the shell in your browser, a page for each kind of work, and every setting as a form. See [HOW_TO_USE.md](HOW_TO_USE.md#the-web-app).
|
|
128
|
-
- **Recording a web test by hand** (`forgeqe record`): you do the steps, ForgeQE keeps them with your checks, and Quill writes the test.
|
|
129
|
-
- **Regression packs** (`forgeqe pack`): the tests a release's changes can break, run here, on TestMu AI or in a pipeline, with each failure triaged.
|
|
130
|
-
- **Test management**: every case of your test plans in one place, with the repository's tests linked, gaps, tags and suites (`forgeqe testmgmt sync`).
|
|
131
|
-
- **Migrating a test suite** (`forgeqe migrate`) and **converting Tosca tests** (`forgeqe tosca`), after a plan a person confirms.
|
|
132
|
-
- **BASAL** (`forgeqe basal`): business tests from a business question, played by ForgeQE's agents as the people it affects.
|
|
133
|
-
- **Responsive preview**: one page on many phones, tablets and desktops at once, here or on BrowserStack or TestMu AI.
|
|
134
|
-
- **Custom agents** (`forgeqe agent`): the team's own agents, each run as an approved version.
|
|
135
|
-
- **Evidence** (`forgeqe evidence`): what an AI agent did, decided and used, checked against its contract.
|
|
136
|
-
- **The jobs service** (`forgeqe jobs`): commands on a schedule, apart from the shell.
|
|
137
|
-
- **Product knowledge graph** (`forgeqe knowledge build`): what the product's code does, for every agent.
|
|
138
|
-
|
|
139
|
-
## Page memory
|
|
140
|
-
|
|
141
|
-
Every live run records each page it visits in `.forgeqe/memory` next to `forgeqe.yaml` (`~/.forgeqe/memory` when there is no config file): every interactive element, with all of its locators (test id, id, role and name, label, placeholder, alt, title, href, text, CSS, XPath), a confidence % for each, and when it was first seen, last seen, and last used. Confidence rises when a locator keeps matching exactly one element and works when used, and falls when it goes missing or fails.
|
|
142
|
-
|
|
143
|
-
A goal that passed before is replayed from memory with no model calls. Each step finds its element by the highest-confidence locator that still matches, so a renamed button or a changed id heals itself. The agent then checks the result with one model call (`replay: verify`), or the run finishes without the model (`replay: trust`). If a step cannot be found, the agent takes over from that point. A run that failed because an expected result did not hold keeps the steps up to that check, so the next run of the case replays them and the agent checks the result again there, instead of exploring the whole case again. On every page memory knows, the agent is told which controls earlier runs used, with the index each has on the page right now, so it acts on them in one step. Generated specs use the best locator from memory.
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
forgeqe memory # hosts, pages, elements, flows
|
|
147
|
-
forgeqe memory show booking.com # a host's pages
|
|
148
|
-
forgeqe memory show https://app.test/login --locators # every locator with confidence
|
|
149
|
-
forgeqe memory flows --steps # recorded goals and their steps
|
|
150
|
-
forgeqe memory clear booking.com --yes
|
|
151
|
-
forgeqe memory stats # how often memory stood in for the model, per area
|
|
152
|
-
forgeqe run "..." --replay trust # or --replay off, --no-memory
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
A new goal on a site ForgeQE knows replays the start it shares with an earlier goal there: a sign-in with a saved login, a cookie banner, and the steps whose controls or values the new goal names. Mobile and desktop explores do the same from app memory. A goal that passed before replays with no model call when its checks still hold, a failed explore is picked up where it went wrong, and a control a heal found once is used again without the model. Saved API calls replay inside a browser flow when the server answers as before, and API scenarios planned from the same test cases or text are reused. A rerun of any of these runs as recorded, without ForgeQE's agent.
|
|
20
|
+
Both use the same agents, settings and project folder. Pick whichever suits the task; you can switch at any time.
|
|
156
21
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
Skills teach the agents what a prompt can't know: your repo's test conventions, a framework, or how to drive an app. A skill is a folder with a `SKILL.md` (the Agent Skills format: `name`, `description`, then instructions), plus ForgeQE's `agents: [forgeqe, scribe, browser]` to say who uses it. ForgeQE ships `playwright-automation` (Playwright in TypeScript, Python, Java and .NET, with a per-language reference file each), `bdd-gherkin` (Reqnroll, SpecFlow, Cucumber, behave and pytest-bdd: Gherkin, step reuse and page objects behind steps) and `testcontainers` for Quill, `bdd-scenario-design` for ForgeQE's agent (it asks whether you want a Scenario Outline with Examples, a Background or Rule blocks before a feature file is written), `azure-sdk-testing`, `aws-sdk-testing` and `gcp-sdk-testing` for Quill and ForgeQE's agent (code that uses a cloud SDK: emulators first, the default credential chain, cleanup of only what a test made), `dynamics-365` for the browser agent (D365's own names for its controls: Quick Find, lookups and Advanced lookup, the command bar's More commands, Quick Create, the header flyout, business process flows), `dynamics-365-automation` for Quill (a catalogue of D365 controls and their stable locators from Microsoft's EasyRepro, steps for each control, page objects, waiting for the app to be idle, and EasyRepro's API), `web-guidance` for ForgeQE's agent and Quill (web platform guides from Modern Web Guidance, pinned: what forms, dialogs, menus, accessibility, passkeys and interaction speed should do, turned into advisory test cases and review comments), and `writing-skills` for ForgeQE's agent. Your own go in `.forgeqe/skills` next to `forgeqe.yaml` (commit them) or `~/.forgeqe/skills`; a project skill replaces a built-in one with the same name. Skills in `~/.claude/skills` and `~/.agents/skills` are used only with `skills.external: true`.
|
|
160
|
-
|
|
161
|
-
Each agent sees the skills meant for it and loads the ones whose description fits the job. For browser runs, ForgeQE's agent passes the skills a goal needs; in `forgeqe suite`, `monitor` and `run --direct` the engine picks them from the goal once, and `--skill NAME` (or `--skill none`) fixes the list. Reports and `run.json` show which skills a run used.
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
forgeqe skills # who can use what, and where each skill comes from
|
|
165
|
-
forgeqe skills new contoso-grid --agent browser --description "Use when the site is the Contoso ERP (erp.contoso.com)"
|
|
166
|
-
forgeqe skills show contoso-grid
|
|
167
|
-
forgeqe skills check # validate every skill
|
|
168
|
-
forgeqe skills disable dynamics-365 # edits skills.disable, keeping comments
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
Or ask in the shell: "make a skill for our Dynamics date picker".
|
|
172
|
-
|
|
173
|
-
## Tests
|
|
174
|
-
|
|
175
|
-
Point ForgeQE at a repo and a run that passes becomes a test in that repo. The agent gets the run's steps and the locators and confidence from page memory. It studies the repo's framework, page objects, fixtures, and helpers, reuses them, and writes the test in the repo's language and test framework (C# NUnit, TypeScript, Python, Java, …). The browser agent records what it checked with the exact text on the page, and the test asserts those checks with locators the Playwright replay found. ForgeQE runs the test command and hands any failure back (the error first, the page dump saved to a file), until the test passes or the attempts run out. What Quill learned about the repo is kept, so the next job there starts from its notes instead of reading the repo again. The test counts only when ForgeQE's own run of it passes.
|
|
176
|
-
|
|
177
|
-
```bash
|
|
178
|
-
forgeqe run "Log in and open the invoices page on staging.app.test" --repo ../app
|
|
179
|
-
forgeqe code --repo ../app # write a test for the latest run
|
|
180
|
-
forgeqe code .forgeqe/reports/20260928-172700 --repo ../app --attempts 3
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
In the shell and `forgeqe run`, every passed run becomes a test unless you say otherwise: in `--repo`, in `code.repo` from `forgeqe.yaml`, or else in the current folder. `--no-code` turns tests off. The transcript shows the handover to Quill, the coding agent, the files it reads and writes, and ForgeQE's run of the test, and each request ends with a card listing the run's report and the test with its result (or why no test was written).
|
|
184
|
-
|
|
185
|
-
### Fixing broken tests
|
|
186
|
-
|
|
187
|
-
When the app changes, tests break. `forgeqe heal` runs the repo's tests, and for each failing test the agent re-runs its flow in the real browser. If the flow still works, the test is out of date: the agent updates its steps and locators (in the page object, when that's where they live) from what the browser just did and from page memory. If the browser fails at the same step, the app is broken there: the test is left alone and the failure is reported as an app bug. Tests are never deleted, skipped, loosened, or given longer timeouts to make them pass.
|
|
188
|
-
|
|
189
|
-
ForgeQE re-runs every healed test and then the whole command itself; a test counts as healed only when ForgeQE's own run of it passes.
|
|
22
|
+
### The web app
|
|
190
23
|
|
|
191
24
|
```bash
|
|
192
|
-
forgeqe
|
|
193
|
-
forgeqe heal "npx playwright test tests/checkout" --repo ../app
|
|
194
|
-
forgeqe heal -- npx playwright test --project=chromium
|
|
195
|
-
forgeqe run "The login tests broke after the redesign, fix them" --repo ../app # the agent heals them the same way
|
|
25
|
+
forgeqe web
|
|
196
26
|
```
|
|
197
27
|
|
|
198
|
-
|
|
28
|
+
ForgeQE opens in your browser, on this computer only. It has a chat with the agents on its home page, a page for each
|
|
29
|
+
kind of work (recording tests, test management, regression packs, API tests, data, release readiness, jobs and more),
|
|
30
|
+
and every setting as a form under **Settings**. Start at **Settings › Set up**.
|
|
199
31
|
|
|
200
|
-
|
|
32
|
+
See [The web app](docs/WEB_APP.md) for every page.
|
|
201
33
|
|
|
202
|
-
|
|
34
|
+
### The terminal
|
|
203
35
|
|
|
204
36
|
```bash
|
|
205
|
-
forgeqe
|
|
206
|
-
forgeqe run "
|
|
37
|
+
forgeqe start # the interactive shell: type a request, press Enter
|
|
38
|
+
forgeqe run "Run SHOP-12 and SHOP-14, two browsers at once"
|
|
39
|
+
forgeqe suite cases.yaml --parallel 3 # the same cases the same way every time, for pipelines
|
|
207
40
|
```
|
|
208
41
|
|
|
209
|
-
|
|
42
|
+
In the shell, ask in plain words:
|
|
210
43
|
|
|
211
|
-
REST, GraphQL, SOAP, and gRPC. Every browser run records the app's own API calls (secrets redacted), and "turn the last run's API calls into tests" makes contracts from them: status, schema, and key fields per operation. Or start from an OpenAPI or Swagger link, a WSDL, a GraphQL endpoint or schema, or .proto files. ForgeQE runs the contracts straight against the API, with no browser, and Quill writes them as API tests in your repo's framework.
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
forgeqe api contracts --spec https://petstore3.swagger.io/api/v3/openapi.json
|
|
215
|
-
forgeqe api contracts --run && forgeqe api run
|
|
216
44
|
```
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
forgeqe api scenarios --text "create a user, add two items, check out" --spec openapi.yaml
|
|
222
|
-
forgeqe api run-scenarios --allow-writes
|
|
45
|
+
Go to booking.com and search for hotels in Mumbai for next weekend
|
|
46
|
+
Write a Playwright test for that run in ../app
|
|
47
|
+
The login tests broke after the redesign, fix them
|
|
223
48
|
```
|
|
224
49
|
|
|
225
|
-
|
|
50
|
+
`forgeqe --help` lists every command. The [commands cheat sheet](HOW_TO_USE.md#15-commands-cheat-sheet) has them all
|
|
51
|
+
on one page.
|
|
226
52
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
### Desktop apps (Windows; replay on macOS and Linux too)
|
|
230
|
-
|
|
231
|
-
ForgeQE drives Windows apps with Microsoft's UFO² (explore a goal with the model) and pywinauto (replay with no model). A run that passes is saved as a `forgeqe-desktop-v1` workflow you can read and edit. The same workflows replay on macOS and Linux, and headless on Windows, on Vercel Labs' agent-desktop (`desktop.driver: agent-desktop`, the default off Windows): it re-identifies every control before it acts and never repeats an action that may have landed.
|
|
232
|
-
|
|
233
|
-
- **Replay** with timeouts, retries, `wait_for` (a control gone, or showing some text), and `dismiss` for dialogs that get in the way. A control that moved is healed with one model call and reported for review.
|
|
234
|
-
- **Visual checks:** `expect_image` compares a control or the window with a baseline next to the workflow.
|
|
235
|
-
- **Record by hand:** `forgeqe desktop record` saves the steps you do yourself as a workflow.
|
|
236
|
-
- **Edit from chat:** "make step 4 wait for the Save button" changes the workflow with `desktop_edit_workflow`, after showing you the diff.
|
|
237
|
-
- **CI:** `forgeqe desktop doctor` checks the machine (a signed-in, unlocked desktop session; Windows services run in session 0, which has none), and `--junit` writes results for the pipeline.
|
|
238
|
-
|
|
239
|
-
```bash
|
|
240
|
-
forgeqe desktop explore "Create an invoice for Contoso" --app erp
|
|
241
|
-
forgeqe desktop record --app erp --name "New invoice"
|
|
242
|
-
forgeqe desktop replay desktop-tests/ --junit results.xml
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
See [docs/DESKTOP.md](docs/DESKTOP.md) and [docs/DESKTOP-CI.md](docs/DESKTOP-CI.md).
|
|
246
|
-
|
|
247
|
-
### Mobile apps (Android, iOS)
|
|
248
|
-
|
|
249
|
-
Record a workflow by hand on the web app's Record page (**Mobile app**): the device's screen on the page, each tap, entry and check done on the device and kept as a step, with no model. One workflow format (`forgeqe-mobile-v1`) runs on **Appium** (explore with the model, replay step by step, healing, visual checks) and on **Maestro** (the workflow becomes a Maestro flow). Your team's own Maestro flows run too, after an allowlist check that refuses scripts, AI commands and file access. Both run on a local emulator or device, or on TestMu AI's devices: `forgeqe mobile upload app.apk` uploads a build and returns its `lt://` id, and Maestro runs there through HyperExecute. Or ask in the shell ("upload courier.apk to TestMu for courier"): the `mobile_upload` tool asks you first, then, for an app listed under `mobile.apps` in `forgeqe.yaml`, writes the `lt://` id to its `app:`. `samples/mobile-testmu/` is a ready project that reads `LT_USERNAME` and `LT_ACCESS_KEY` from a `.env` file.
|
|
250
|
-
|
|
251
|
-
```bash
|
|
252
|
-
forgeqe mobile explore "Sign in as the courier and accept the first delivery" --app courier
|
|
253
|
-
forgeqe mobile replay workflow.yaml --driver maestro
|
|
254
|
-
forgeqe mobile maestro .maestro/
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
See [docs/MOBILE.md](docs/MOBILE.md).
|
|
258
|
-
|
|
259
|
-
### Services and mocks in Docker
|
|
53
|
+
## Install
|
|
260
54
|
|
|
261
|
-
|
|
55
|
+
ForgeQE is published on npm as `@capagents/forgeqe`, and on PyPI as `forgeqe-cli` (a launcher for the same `forgeqe`
|
|
56
|
+
command). Install either one, on Windows, macOS or Linux:
|
|
262
57
|
|
|
263
58
|
```bash
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
Services can also come from a docker-compose file (`containers.compose`), checked by the same rules. With `containers.tests`, `run_tests` runs the repository's tests in a container, after starting the services they need, which the tests reach by name. Quill's `testcontainers` skill writes tests that start their own services from code. Or ask: "mock the payments API from the last run and point payments at it". See [docs/CONTAINERS.md](docs/CONTAINERS.md).
|
|
270
|
-
|
|
271
|
-
### Databases, test data, and data flows
|
|
272
|
-
|
|
273
|
-
List your databases under `databases:` in `forgeqe.yaml`, or under an environment in `env.yaml` (the active environment's entries win by name). No secret goes in either file: `url_env` or `password_env` names the environment variable that holds it. ForgeQE's agent reads the schema, writes SQL in the database's dialect, checks it, and runs it as a read; it writes only to a database marked `writable: true`, and only after you confirm the statement. In the shell, `/db` lists the databases, and `/db add` sets one up with the agent.
|
|
274
|
-
|
|
275
|
-
Test data comes from a spec that fits the schema: a preview, CSV, JSON or SQL files, or rows inserted into a writable database as a batch that `forgeqe data clean` removes again. Before they run, the agents ask Miner for the data they need (`request_test_data`): it returns the rows, found by a read-only query or made from a spec, and the SQL or INSERT script that gets them again (`forgeqe data fetch <name>`). Data flows (`flows.yaml`) describe how records move between databases; ForgeQE checks each hop (arrived, complete, correct, on time) and follows one record across the systems.
|
|
276
|
-
|
|
277
|
-
A test can also run once for each row of its test data (data-driven): `each:` on a test case, or `forgeqe suite --each`, takes the rows from a CSV, TSV, Excel or JSON file in the project, a read-only query, a kept Miner request or a spec. Each row is a run of its own (`LOGIN-3[2]`) with its values as `{{row.<column>}}`, and the test written for it is one parameterised test that reads every row from `FORGEQE_ROWS_FILE`. A recording's Re-run plays with each row too. See [HOW_TO_USE.md](HOW_TO_USE.md#running-a-test-once-for-each-row).
|
|
59
|
+
npm install -g @capagents/forgeqe
|
|
60
|
+
# or
|
|
61
|
+
pip install forgeqe-cli
|
|
278
62
|
|
|
279
|
-
|
|
280
|
-
forgeqe db test orders
|
|
281
|
-
forgeqe db query orders "SELECT status, COUNT(*) FROM orders GROUP BY status"
|
|
282
|
-
forgeqe data gen customers.yaml --db fixtures --insert --yes
|
|
283
|
-
forgeqe data batches --db fixtures
|
|
284
|
-
forgeqe data request "a customer in India with two paid orders" --db shop --kind existing
|
|
285
|
-
forgeqe flows check --junit flows.xml
|
|
286
|
-
forgeqe flows trace digital.customers 42
|
|
63
|
+
forgeqe setup # optional: the first run does this too
|
|
287
64
|
```
|
|
288
65
|
|
|
289
|
-
|
|
66
|
+
Everything else ForgeQE needs is downloaded on first use into `~/.forgeqe` (`%USERPROFILE%\.forgeqe` on Windows),
|
|
67
|
+
checked against known checksums, without administrator rights and without changing PATH or your shell profile.
|
|
68
|
+
Installed Google Chrome is used; Chromium is installed when Chrome is missing. Deleting `~/.forgeqe` removes
|
|
69
|
+
everything ForgeQE downloaded.
|
|
290
70
|
|
|
291
|
-
|
|
71
|
+
- **Updating:** `forgeqe update` updates every `forgeqe` on PATH, or press **Update** under **Settings › About ForgeQE**.
|
|
72
|
+
See [Updating](HOW_TO_USE.md#updating).
|
|
73
|
+
- **Behind a proxy:** set `HTTPS_PROXY`. The npm launcher's first download also needs `NODE_USE_ENV_PROXY=1` (Node 24
|
|
74
|
+
or later); on older Node, use the pip launcher. `forgeqe doctor` checks the machine and the network. See
|
|
75
|
+
[Company networks](HOW_TO_USE.md#company-networks).
|
|
76
|
+
- **Coming from WebPilot** (ForgeQE's earlier name): run `npm uninstall -g @capagents/webpilot` first, since npm refuses
|
|
77
|
+
to install ForgeQE while the old package owns the `webpilot` command. Your settings, sign-ins, `WEBPILOT_*` variables
|
|
78
|
+
and `webpilot.yaml` files keep working.
|
|
79
|
+
- Install with `-g`. A copy installed inside a project folder is the one `npx forgeqe` runs, and `forgeqe update` does
|
|
80
|
+
not change it.
|
|
292
81
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
`forgeqe suite` runs cases the same way every time, with no agent choosing anything, which is what pipelines need. It takes explicit references:
|
|
82
|
+
From this repository:
|
|
296
83
|
|
|
297
84
|
```bash
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
forgeqe suite xray:plan=SHOP-100
|
|
303
|
-
forgeqe suite "Open example.com and check the title says Example Domain"
|
|
85
|
+
cd ForgeQE
|
|
86
|
+
bun install
|
|
87
|
+
bun src/index.ts init
|
|
88
|
+
bun src/index.ts start
|
|
304
89
|
```
|
|
305
90
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
|
313
|
-
|
|
314
|
-
|
|
|
315
|
-
|
|
|
316
|
-
|
|
|
317
|
-
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
91
|
+
Maintainers: releasing ForgeQE is in `RELEASING.md`.
|
|
92
|
+
|
|
93
|
+
## Set up a project
|
|
94
|
+
|
|
95
|
+
1. In your project folder, run `forgeqe init` (or `/init` in the shell, or **Settings › Set up** in the web app). It writes:
|
|
96
|
+
|
|
97
|
+
| File | What it holds |
|
|
98
|
+
|------|---------------|
|
|
99
|
+
| `forgeqe.yaml` | Your settings: the browser, the active model, your systems, reports |
|
|
100
|
+
| `llms.json` | Your model profiles (Azure OpenAI, OpenAI, Ollama, OpenAI-compatible, GitHub Copilot) |
|
|
101
|
+
| `env.yaml` | Your test environments and the apps in each |
|
|
102
|
+
| `.forgeqe/` | Prompts, skills, product knowledge and guardrails, to adapt to your team |
|
|
103
|
+
|
|
104
|
+
2. Add a model. Put the key your `llms.json` profile names in an environment variable (for example
|
|
105
|
+
`WP_AZURE_API_KEY`), or save it under **Settings › Models** in the web app. With GitHub Copilot licences, sign in
|
|
106
|
+
instead: `forgeqe auth login copilot`. See [GitHub Copilot seats as the model](HOW_TO_USE.md#github-copilot-seats-as-the-model).
|
|
107
|
+
3. Check it: `forgeqe models` lists the profiles and the active one, and `forgeqe features` (or **Settings › What's
|
|
108
|
+
ready**) says what ForgeQE can do here and what each feature still needs.
|
|
109
|
+
4. Connect your systems (Jira, Azure DevOps, GitHub and others) under **Settings › Integrations** or `sources:` in
|
|
110
|
+
`forgeqe.yaml`. Tokens are kept in the environment or the system's credential store, never in the files.
|
|
111
|
+
|
|
112
|
+
Commit `forgeqe.yaml`, `env.yaml` and `.forgeqe/` (except `.forgeqe/reports/`) so the team and CI share them. The
|
|
113
|
+
[quick start](HOW_TO_USE.md#quick-start) walks through a first run.
|
|
114
|
+
|
|
115
|
+
## What you can do
|
|
116
|
+
|
|
117
|
+
| Area | What you get | Guide |
|
|
118
|
+
|------|--------------|-------|
|
|
119
|
+
| Browser runs and test cases | Goals and test cases run in a real browser, with step verdicts, reports, JUnit and results posted back | [Test cases and suites](HOW_TO_USE.md#7-test-cases-and-suites) |
|
|
120
|
+
| Writing tests | A passed run, or a journey you record yourself, becomes a test in your repository | [Tests](HOW_TO_USE.md#6-tests), [Recording a web test by hand](HOW_TO_USE.md#recording-a-web-test-by-hand) |
|
|
121
|
+
| Healing tests | Out-of-date tests fixed from what the browser does now; app bugs reported, never hidden | [Fixing broken tests](HOW_TO_USE.md#fixing-broken-tests) |
|
|
122
|
+
| Page memory | Runs that passed replay without the model, and a changed locator heals itself | [Page memory](HOW_TO_USE.md#5-page-memory) |
|
|
123
|
+
| Test management | Every case of your test plans in one place, with linked tests, gaps, tags and suites | [Test management](HOW_TO_USE.md#test-management) |
|
|
124
|
+
| Regression packs | The tests a release's changes can break, run and triaged | [Regression packs for a release](HOW_TO_USE.md#regression-packs-for-a-release) |
|
|
125
|
+
| Migration | Selenium, Cypress and Tosca suites moved to a new framework, after a plan a person confirms | [Migrating a test suite](HOW_TO_USE.md#migrating-a-test-suite), [Converting Tosca tests](HOW_TO_USE.md#converting-tosca-tests) |
|
|
126
|
+
| API tests | Contracts and end-to-end scenarios for REST, GraphQL, SOAP and gRPC | [API and contract tests](HOW_TO_USE.md#api-and-contract-tests) |
|
|
127
|
+
| Desktop and mobile | Windows apps, and Android and iOS apps on Appium or Maestro | [Desktop apps](HOW_TO_USE.md#desktop-apps-windows), [Mobile apps](HOW_TO_USE.md#mobile-apps-android-ios) |
|
|
128
|
+
| Data | Questions about your databases, test data, and checks on data flows | [Databases](HOW_TO_USE.md#databases), [Test data](HOW_TO_USE.md#test-data), [Data flows](HOW_TO_USE.md#data-flows) |
|
|
129
|
+
| Quality checks | WCAG rules, Core Web Vitals and visual comparison on every page a run visits | [Accessibility and performance budgets](HOW_TO_USE.md#accessibility-and-performance-budgets) |
|
|
130
|
+
| Exploratory testing | Charters beyond the scripted cases, with defects confirmed by a second run | [Exploratory testing from a story](HOW_TO_USE.md#exploratory-testing-from-a-story) |
|
|
131
|
+
| Responsive preview | One page on many phones, tablets and desktops at once | [Responsive preview](HOW_TO_USE.md#responsive-preview) |
|
|
132
|
+
| BASAL | A business question, tested by ForgeQE's agents as the people it affects | [BASAL](HOW_TO_USE.md#basal-business-testing) |
|
|
133
|
+
| Pipelines and monitoring | CI pipelines written and fixed, checks on a schedule with alerts, jobs that run apart from you | [Pipelines](HOW_TO_USE.md#8-pipelines), [Monitoring](HOW_TO_USE.md#9-monitoring) |
|
|
134
|
+
| Custom agents | Your team's own agents, each run as an approved version | [Custom agents](HOW_TO_USE.md#custom-agents) |
|
|
135
|
+
| Skills | Your conventions, frameworks and apps taught to the agents | [Skills](HOW_TO_USE.md#11-skills) |
|
|
340
136
|
|
|
341
|
-
|
|
342
|
-
sources:
|
|
343
|
-
bugs: { system: jira, project: SHOP } # or system: azure_devops (uses azure_devops.project)
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
### Reports
|
|
137
|
+
## Azure DevOps, Jira, and other systems
|
|
347
138
|
|
|
348
|
-
|
|
139
|
+
ForgeQE's agent works with each system you connect, configured from the same settings (**Settings › Integrations**, or
|
|
140
|
+
`sources:` and `integrations:` in `forgeqe.yaml`): the organization or site URL, and the names of the environment
|
|
141
|
+
variables that hold the tokens. You write no MCP config yourself. Where a system has its vendor's MCP server, the
|
|
142
|
+
agent uses it, and it starts only when a request first needs it. Whatever has none, or whose server did not connect,
|
|
143
|
+
goes through ForgeQE's own calls to the system's REST API, which read test cases, post results back, read Confluence
|
|
144
|
+
pages and read anything else in Azure DevOps, Jira, Xray or Confluence.
|
|
145
|
+
|
|
146
|
+
| System | What it needs |
|
|
147
|
+
|--------|---------------|
|
|
148
|
+
| Azure DevOps Services | Node.js, and `ADO_PAT` or `az login`. Azure DevOps Server works through ForgeQE's API calls |
|
|
149
|
+
| Jira (Cloud, Server/Data Center) | `JIRA_EMAIL` and `JIRA_API_TOKEN` (Cloud), or a personal access token (Server/Data Center) |
|
|
150
|
+
| Confluence | `confluence: true` on a Jira Cloud site, or `confluence.url` and its tokens |
|
|
151
|
+
| GitHub | `GITHUB_TOKEN`, or `forgeqe auth login github`. GitHub issues are also a test case source |
|
|
152
|
+
| Xray, TestRail, Zephyr Scale, qTest | Their API keys (`XRAY_CLIENT_ID` / `XRAY_CLIENT_SECRET`, `TESTRAIL_EMAIL` / `TESTRAIL_API_KEY`, `ZEPHYR_API_TOKEN`, `QTEST_TOKEN`) |
|
|
153
|
+
| ServiceNow (test cases, read only) | `SERVICENOW_URL`, `SERVICENOW_USER`, `SERVICENOW_PASSWORD` |
|
|
154
|
+
| GitLab, BrowserStack, Postman, Sentry, TestMu AI | A token, or a sign-in in the browser (`forgeqe auth login <system>`; TestMu AI's server takes only the sign-in) |
|
|
155
|
+
| Azure, AWS, Google Cloud, Microsoft Dataverse | This computer's own sign-in to that cloud (`az login`, an AWS profile, `gcloud auth login`, Dataverse's CLI). They read by default |
|
|
156
|
+
| Anything else | Any MCP server you add under **Settings › MCP servers**, or `mcp:` in `forgeqe.yaml` |
|
|
157
|
+
|
|
158
|
+
The agent creates or changes items (a bug, a comment, a status change, a dashboard, a wiki page, a pull request) only
|
|
159
|
+
when you ask it to; bugs for failed cases come from `sources.bugs`. `forgeqe mcp list` shows what your settings give.
|
|
160
|
+
See [MCP](HOW_TO_USE.md#10-mcp) and [Signing in to your tools](HOW_TO_USE.md#signing-in-to-your-tools).
|
|
161
|
+
|
|
162
|
+
## Reports
|
|
163
|
+
|
|
164
|
+
Every suite writes `report.html`, `junit.xml` and `suite.json` to `.forgeqe/reports/suites/<time>/`, and every single run
|
|
165
|
+
writes its own `report.html`. The report is one HTML file with the screenshots in it, so you can open it from disk,
|
|
166
|
+
attach it to a build or mail it. It covers each case's steps with expected and actual results, failures grouped by
|
|
167
|
+
cause, trends and flaky tests over earlier runs, accessibility, visual and performance checks, and time and cost. In
|
|
168
|
+
the web app, **Execution reports** and **Project report** show the same.
|
|
349
169
|
|
|
350
170
|
### Static BI
|
|
351
171
|
|
|
352
|
-
`forgeqe bi`
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
title: ForgeQE BI
|
|
357
|
-
datasets:
|
|
358
|
-
ado_current_sprint:
|
|
359
|
-
kind: ado_wiql
|
|
360
|
-
project: Shop
|
|
361
|
-
wiql: |
|
|
362
|
-
SELECT [System.Id]
|
|
363
|
-
FROM WorkItems
|
|
364
|
-
WHERE [System.TeamProject] = @project
|
|
365
|
-
AND [System.WorkItemType] IN GROUP 'Microsoft.RequirementCategory'
|
|
366
|
-
jira_open_bugs:
|
|
367
|
-
kind: jira_jql
|
|
368
|
-
jql: project = SHOP AND issuetype = Bug AND statusCategory != Done
|
|
369
|
-
```
|
|
172
|
+
`forgeqe bi` builds a team report site from ForgeQE's suite history and release-readiness reports, plus optional
|
|
173
|
+
Azure DevOps WIQL and Jira JQL datasets from `bi.datasets` in `forgeqe.yaml`. It needs Node.js 18 or later and is
|
|
174
|
+
served as a folder (`npx serve`). Without Node.js, or with `--static`, ForgeQE writes its own page from the same data,
|
|
175
|
+
which opens straight from disk. See [Team report](HOW_TO_USE.md#team-report).
|
|
370
176
|
|
|
371
177
|
```bash
|
|
372
|
-
forgeqe bi init #
|
|
373
|
-
forgeqe bi build # refresh the data and build the site
|
|
178
|
+
forgeqe bi init # set up the report project
|
|
179
|
+
forgeqe bi build # refresh the data and build the site
|
|
374
180
|
forgeqe bi build --static # ForgeQE's own page only, no Node.js needed
|
|
375
181
|
```
|
|
376
182
|
|
|
377
183
|
### One report for the whole team
|
|
378
184
|
|
|
379
|
-
Each person runs `forgeqe bi export
|
|
380
|
-
|
|
381
|
-
|
|
185
|
+
Each person runs `forgeqe bi export` (or `/report export` in the shell), which writes all their runs and readiness
|
|
186
|
+
reports to one file in `.forgeqe/reports/shared/`. Whoever builds the report puts the files they receive in
|
|
187
|
+
`.forgeqe/reports/collected/` (or lists shared folders under `bi.collect`, or passes `--from FILE|DIR`) and runs
|
|
188
|
+
`forgeqe bi build`. Every table then shows who ran what and on which machine, and a run that arrives twice counts once.
|
|
189
|
+
A bundle is read as data only: anything that is not one, or is larger than 64 MB, is skipped with a note.
|
|
382
190
|
|
|
383
191
|
```bash
|
|
384
192
|
forgeqe bi export # your runs, in one file to share
|
|
385
193
|
forgeqe bi build --from //share/qa-reports # this machine's runs plus every bundle in that folder
|
|
386
194
|
```
|
|
387
195
|
|
|
388
|
-
##
|
|
389
|
-
|
|
390
|
-
Sites that need a login go under `logins:`. The browser agent types credentials from the environment without ever seeing them (it only sees placeholders such as `shop_password`), fills authenticator codes from a TOTP secret, and keeps the signed-in session in `.forgeqe/sessions/` so the next run starts signed in. Replays read the same environment variables, and so do the tests the coding agent writes.
|
|
391
|
-
|
|
392
|
-
```yaml
|
|
393
|
-
logins:
|
|
394
|
-
shop:
|
|
395
|
-
url: https://staging.shop.test/login
|
|
396
|
-
username_env: SHOP_USER
|
|
397
|
-
password_env: SHOP_PASSWORD
|
|
398
|
-
totp_env: SHOP_TOTP_SECRET # optional
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
Credentials in a message or a test case work too: ForgeQE's agent remembers them for the session as a login for the site and its sign-in hosts, so goals and reports never contain the password, the exact value is typed, and follow-up runs start signed in.
|
|
402
|
-
|
|
403
|
-
For single sign-on, captchas, or security keys, sign in by hand once: `forgeqe login shop` opens a browser, you sign in, press Enter, and the session is saved. `forgeqe logins` lists logins and sessions; `forgeqe logins clear shop` forgets one. Session files are private to your user and have their own `.gitignore`.
|
|
404
|
-
|
|
405
|
-
## Azure DevOps, Jira, and other systems
|
|
406
|
-
|
|
407
|
-
ForgeQE's agent connects to each system's MCP server, configured from the same `sources:` settings in `forgeqe.yaml`: organization, site URL, and the names of the environment variables that hold the tokens. You don't write any MCP config yourself. Azure DevOps's server is the organization, so a project is optional and only limits ForgeQE's own test, sprint, and bug calls. A chat starts none of them: a server starts the first time a request needs its tools ("Connecting to Azure DevOps MCP…") and stays for the rest of that chat. A server whose tools ForgeQE could not list starts with the chat, as before.
|
|
408
|
-
|
|
409
|
-
| System | MCP server | Needs |
|
|
410
|
-
|--------|------------|-------|
|
|
411
|
-
| Azure DevOps Services | Microsoft's [Azure DevOps MCP server](https://github.com/microsoft/azure-devops-mcp) (`npx @azure-devops/mcp@2.11.0`), with all its tools, each turn getting the groups it needs: work items, boards, test plans, pipelines, repos, wiki pages, search, and security alerts | Node.js, and `ADO_PAT` or `az login` |
|
|
412
|
-
| Jira Cloud, Server/Data Center | [mcp-atlassian](https://github.com/sooperset/mcp-atlassian) (`uvx`), with issues, JQL search, comments, and transitions. `mcp: rovo` uses [Atlassian's hosted server](https://github.com/atlassian/atlassian-mcp-server) instead (Cloud, and an admin must allow API tokens) | uv; `JIRA_EMAIL` and `JIRA_API_TOKEN` (Cloud) or a personal access token (Server/DC) |
|
|
413
|
-
| Confluence | mcp-atlassian, shared with Jira (or its own when Jira isn't set up); Atlassian's hosted server covers it on the same site | `confluence: true` on a Jira Cloud site, or `confluence.url` + tokens |
|
|
414
|
-
| GitHub | GitHub's [hosted MCP server](https://github.com/github/github-mcp-server) with every toolset, each turn getting the groups of tools it needs (`sources.github.toolsets` limits them), on in a repository with a GitHub remote or when `sources.github` is set. GitHub issues are also a test case source (`github:#12`, `github:acme/shop#12,#13`, `github:label=login`, `github:q=login in:title`): results go back as issue comments, and `sources.bugs.system: github` files bugs as issues. GitHub has no API to upload a screenshot to an issue, so a bug names the run folder instead | `GITHUB_TOKEN`, or the GitHub CLI's sign-in (`forgeqe auth login github`) |
|
|
415
|
-
| Xray, TestRail, Zephyr Scale, qTest | none; ForgeQE's API | `XRAY_CLIENT_ID` / `XRAY_CLIENT_SECRET`, `TESTRAIL_EMAIL` / `TESTRAIL_API_KEY`, `ZEPHYR_API_TOKEN`, `QTEST_TOKEN` |
|
|
416
|
-
| GitLab (GitLab.com or self-managed) | GitLab's [built-in MCP server](https://docs.gitlab.com/user/model_context_protocol/mcp_server/) (`<url>/api/v4/mcp`): projects, issues and work items, merge requests, pipelines. `integrations.gitlab.toolsets` limits it | `GITLAB_TOKEN`: a fine-grained personal access token with the MCP permission |
|
|
417
|
-
| BrowserStack | [BrowserStack's MCP server](https://www.browserstack.com/docs/browserstack-mcp-server/overview) (`npx @browserstack/mcp-server@2.2.7`): sessions, App Automate, accessibility scans, test management | Node.js; `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` |
|
|
418
|
-
| Postman | Postman's [hosted MCP server](https://learning.postman.com/docs/developer/postman-api/postman-mcp-server/postman-mcp-remote-server) (US or EU; full, minimal or code tools): workspaces, collections, environments, mocks | `POSTMAN_API_KEY` |
|
|
419
|
-
| Azure | Microsoft's [Azure MCP server](https://learn.microsoft.com/azure/developer/azure-mcp-server/) (`npx @azure/mcp@3.0.0`, pinned), read-only unless `read_only: false`, all services or `namespaces` | Node.js; `az login` or another Azure sign-in |
|
|
420
|
-
| AWS | AWS's managed [AWS MCP Server](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/getting-started-aws-mcp-server.html) through AWS's proxy (`uvx mcp-proxy-for-aws-cli@1.7.0`, pinned), read-only unless `read_only: false`; profile and region from the environment's `cloud.aws` | uv; `aws login`, a profile or a role |
|
|
421
|
-
| Google Cloud | Google's [gcloud MCP server](https://github.com/googleapis/gcloud-mcp) (`npx @google-cloud/gcloud-mcp@0.5.3`, pinned), always behind an allowlist: read commands, plus whole commands `allow:` adds | Node.js and the gcloud CLI; `gcloud auth login` |
|
|
422
|
-
| Microsoft Dataverse | Microsoft's [Dataverse MCP server](https://learn.microsoft.com/power-apps/maker/data-platform/data-platform-mcp-other-clients) (`npx @microsoft/dataverse@1.0.82 mcp <url>`): tables and records | Node.js; sign in once with `npx @microsoft/dataverse@1.0.82 auth create --environment <url>`, and an admin enables the server and its CLI client |
|
|
423
|
-
| Sentry (sentry.io or self-hosted) | [Sentry's MCP server](https://docs.sentry.io/product/sentry-mcp/) (`npx @sentry/mcp-server@0.42.0`): issues, events, stack traces, releases | Node.js; `SENTRY_ACCESS_TOKEN` (a user auth token) |
|
|
424
|
-
| TestMu AI (formerly LambdaTest) | [TestMu AI's hosted MCP server](https://github.com/LambdaTest/mcp-server-guide) (`https://mcp.lambdatest.com/mcp`): HyperExecute jobs, triage of failed automation runs, SmartUI visual differences, accessibility scans, Test Manager | a browser sign-in only (`forgeqe auth login testmu`); it takes no key |
|
|
425
|
-
| Anything else | servers you add under `mcp:` | |
|
|
426
|
-
|
|
427
|
-
```yaml
|
|
428
|
-
sources:
|
|
429
|
-
azure_devops: { org_url: https://dev.azure.com/acme } # every project; token in ADO_PAT. project: Shop limits ForgeQE's own calls
|
|
430
|
-
jira: { url: https://acme.atlassian.net } # JIRA_EMAIL + JIRA_API_TOKEN
|
|
431
|
-
integrations: # vendors' own MCP servers for systems that are not test case sources
|
|
432
|
-
gitlab: true # GitLab.com, token in GITLAB_TOKEN
|
|
433
|
-
sentry: { organization: acme } # SENTRY_ACCESS_TOKEN
|
|
434
|
-
dataverse: { url: https://acme.crm.dynamics.com }
|
|
435
|
-
mcp:
|
|
436
|
-
github:
|
|
437
|
-
url: https://api.githubcopilot.com/mcp/
|
|
438
|
-
headers: { Authorization: "Bearer {env:GITHUB_TOKEN}" }
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
Tokens never go into the config: servers get them through `{env:NAME}` references that the agent runtime fills in, and the agent never sees them. GitLab, Sentry, Postman, BrowserStack and Atlassian's Rovo server can instead be signed in to in the browser, and TestMu AI's server only that way (`forgeqe auth login <system>`, or Sign in on its card in Settings), with the system's own sign-in; Azure and Dataverse sign in through their CLIs. `forgeqe mcp list` shows what your settings give. When the agent starts, the shell and `forgeqe run` print which servers connected.
|
|
442
|
-
|
|
443
|
-
Whatever has no MCP server, or whose server didn't connect, goes through ForgeQE's own tools, which call the REST APIs directly: `find_test_cases` and `run_test_cases` for test cases and posting results back, `read_confluence` for Confluence pages, and `query_api` to read anything else from Azure DevOps, Jira, Xray, or Confluence. `query_api` only reads (GET requests and Xray GraphQL queries) and only reaches the configured hosts. `sources.azure_devops.mcp: false` or `sources.jira.mcp: false` uses the API only.
|
|
444
|
-
|
|
445
|
-
Microsoft's Azure DevOps server can't create dashboards, so "create a dashboard in QI-Payments with all defects and this sprint's stories" goes through ForgeQE's `create_ado_dashboard`: one shared query per widget under `Shared Queries/ForgeQE`, then a dashboard with a work item list or count tile for each. Your `ADO_PAT` needs Work Items (read and write) and permission to edit dashboards. Chart widgets aren't made through the API; for those the agent uses the browser, signed in to `dev.azure.com` with a saved login.
|
|
446
|
-
|
|
447
|
-
Its wiki tools can only write into a wiki that already exists, so wiki pages go through ForgeQE's `write_ado_wiki_page`. If the project has no wiki yet, that tool creates the project wiki first, along with any missing parent pages. The PAT needs Wiki (read and write).
|
|
448
|
-
|
|
449
|
-
Pull requests are opened with ForgeQE's `create_ado_pull_request` ("create a PR from feature/cart to main in the shop repository"), since the `repositories` tool group is not loaded by default. It checks that both branches exist, and returns an active pull request between the same branches instead of opening a second one. The PAT needs Code (read and write).
|
|
450
|
-
|
|
451
|
-
Requirements work too: "write and run test cases for the checkout rules page in Confluence" makes the agent read the page, write one case per rule or acceptance criterion (with the main negative paths), show them, and run them. It saves them into a test system only when you ask.
|
|
452
|
-
|
|
453
|
-
The agent creates or changes items (a bug, a comment, a status change) only when you ask it to; bugs for failed cases come from `sources.bugs`, not from the agent.
|
|
454
|
-
|
|
455
|
-
## Pipelines
|
|
456
|
-
|
|
457
|
-
Ask for the pipeline you want and the agent builds it:
|
|
458
|
-
|
|
459
|
-
```bash
|
|
460
|
-
forgeqe run "Add a GitHub Actions workflow that runs the smoke cases in cases.yaml on every pull request"
|
|
461
|
-
forgeqe run "Set up an Azure DevOps pipeline that runs test plan 12 every night and posts results back"
|
|
462
|
-
forgeqe run "The ForgeQE pipeline on main is failing, fix it"
|
|
463
|
-
```
|
|
464
|
-
|
|
465
|
-
It works in the repo (the working directory, or `--repo`): it reads the repo's existing CI, writes or updates the workflow so it installs Bun, uv and ForgeQE, calls `forgeqe suite <source...> --no-code --plain`, and publishes `junit.xml` and the report, and validates it (actionlint when it is installed). Then it commits to a new branch named `forgeqe/ci-<topic>`, stores the keys the pipeline needs as secrets, triggers the run with `gh` or `az`, watches it, and fixes failures until the run passes (up to `code.max_attempts` failed runs).
|
|
466
|
-
|
|
467
|
-
Guard rails:
|
|
468
|
-
- Pushing goes through ForgeQE's `push_branch` tool, which refuses the default branch, `main`, and `master`, and never forces. `git push` itself is blocked for the agent.
|
|
469
|
-
- Secrets go through `set_ci_secret`: the agent names an environment variable and ForgeQE passes its value straight to `gh secret set` or `az pipelines variable`. The agent never sees the value.
|
|
470
|
-
- It needs `gh` (GitHub, logged in) or `az` with the `azure-devops` extension (Azure DevOps, logged in). Without them it still writes, validates, and commits the pipeline, then tells you what to run.
|
|
471
|
-
|
|
472
|
-
## Monitoring
|
|
473
|
-
|
|
474
|
-
`forgeqe monitor` runs checks on a schedule and tells your team when one breaks. A check is any test case `forgeqe suite` takes: a YAML file, a Jira key, an Azure DevOps plan. Each round replays the flows from page memory, so a flow that passed before needs one model call to confirm the result (or none with `replay: trust`).
|
|
475
|
-
|
|
476
|
-
```yaml
|
|
477
|
-
monitor:
|
|
478
|
-
checks: [checks/smoke.yaml, "jira:jql=labels = monitor"]
|
|
479
|
-
every: 15m
|
|
480
|
-
fail_after: 2 # two failing rounds in a row before the first alert, to ride out a flaky run
|
|
481
|
-
remind_every: 2h # repeat while it keeps failing
|
|
482
|
-
alerts:
|
|
483
|
-
teams: { webhook_env: TEAMS_WEBHOOK_URL }
|
|
484
|
-
email: { host: smtp.office365.com, port: 587, to: [qa-team@example.com] } # SMTP_USERNAME, SMTP_PASSWORD
|
|
485
|
-
```
|
|
486
|
-
|
|
487
|
-
```bash
|
|
488
|
-
forgeqe monitor --test-alerts # a sample alert, to check the webhook and SMTP settings
|
|
489
|
-
forgeqe monitor # every 15 minutes until Ctrl+C
|
|
490
|
-
forgeqe monitor --once # one round, for cron or a scheduled pipeline
|
|
491
|
-
```
|
|
492
|
-
|
|
493
|
-
An alert goes out when a check starts failing, again every `remind_every` while it fails, and once when it recovers. One round sends one message covering every check that changed. Teams gets an Adaptive Card (both incoming webhooks and Workflows webhooks accept it) and email gets the failing checks' screenshots attached. Each alert links to the round's report: the local file, or `<report_url>/<round>/report.html` when you publish `.forgeqe/reports/monitor/` somewhere. A round that cannot run at all (a test system is down, the engine will not start) alerts as the check "ForgeQE monitor".
|
|
494
|
-
|
|
495
|
-
Rounds go to `.forgeqe/reports/monitor/<time>/`, the same as suites, so the report shows trends and flaky checks over the rounds; the last `keep` rounds (100) are kept. `state.json` remembers which checks are failing and since when, so with `--once` in a pipeline, cache that folder between runs. Only one monitor can use a folder at a time. `--once` exits 0 when every check passed and 1 otherwise. Results are posted back to the test system only with `write_back: true`. In the shell, "monitor the smoke cases every 10 minutes" runs the rounds in the background while you keep working, and each round shows as a card; they stop when the shell closes.
|
|
196
|
+
## Privacy
|
|
496
197
|
|
|
497
|
-
|
|
198
|
+
ForgeQE sends no telemetry, and turns it off in everything it starts: the browser, the agents, GitHub Copilot sessions,
|
|
199
|
+
and your repository's test command (`DO_NOT_TRACK=1`, plus the opt-outs for Next.js, Nuxt, Astro, Gatsby, Storybook,
|
|
200
|
+
Turborepo, Angular, .NET and Cypress). Your environment cannot turn any of it back on.
|
|
498
201
|
|
|
499
|
-
|
|
202
|
+
The traffic is to your model endpoint, the systems you connect, and the sites the agents visit. Besides that, ForgeQE
|
|
203
|
+
downloads only public files: the model price lists once a day (`FORGEQE_PRICES=off` stops them), what it runs on when it
|
|
204
|
+
is missing, and the browser's ad-block and cookie-banner extensions, once. Nothing about your runs is sent.
|
|
500
205
|
|
|
501
|
-
|
|
502
|
-
{ "mcpServers": { "forgeqe": { "command": "forgeqe", "args": ["mcp", "--repo", "/path/to/app"] } } }
|
|
503
|
-
```
|
|
206
|
+
## Documentation
|
|
504
207
|
|
|
505
|
-
|
|
208
|
+
- [HOW_TO_USE.md](HOW_TO_USE.md): every feature, with examples for the web app and the terminal.
|
|
209
|
+
- [docs/WEB_APP.md](docs/WEB_APP.md): every page of the web app.
|
|
210
|
+
- `forgeqe docs --guide` opens the same guide as pages in your browser, offline; **Settings › About ForgeQE › Guides**
|
|
211
|
+
opens it from the web app.
|