@capagents/forgeqe 3.1.8 → 3.2.0

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.
Files changed (145) hide show
  1. package/HOW_TO_USE.md +51 -4
  2. package/THIRD_PARTY_NOTICES.md +2 -1
  3. package/dist/docs-site/docs/area-operations/index.html +25 -2
  4. package/dist/docs-site/docs/area-quality/index.html +17 -3
  5. package/dist/docs-site/docs/area-setup/index.html +1 -1
  6. package/dist/docs-site/docs/get-started/index.html +18 -2
  7. package/dist/docs-site/docs/overview/index.html +1 -1
  8. package/dist/docs-site/docs/search.js +1 -1
  9. package/dist/forgeqe.js +1972 -1930
  10. package/dist/template.html +12 -12
  11. package/dist/vendor/ibm-ace.js +2 -0
  12. package/dist/web/THIRD_PARTY_NOTICES.md +29 -0
  13. package/dist/web/assets/{3d-force-graph-OeCdKJJ-.js → 3d-force-graph-Bhmgjf_7.js} +1 -1
  14. package/dist/web/assets/Agent-Dx4aOB_h.js +8 -0
  15. package/dist/web/assets/AgentWork-D0MS10up.js +2 -0
  16. package/dist/web/assets/ApiTests-DUoEh0nX.js +10 -0
  17. package/dist/web/assets/Browse-BGgyLuL3.js +1 -0
  18. package/dist/web/assets/Chat-CEHUI2ty.js +3 -0
  19. package/dist/web/assets/{CommandPalette-zRrrp6F_.js → CommandPalette-rY8rp79k.js} +1 -1
  20. package/dist/web/assets/Compare-B_NCvogR.js +1 -0
  21. package/dist/web/assets/Cost-sm-6tWRQ.js +1 -0
  22. package/dist/web/assets/Data-CFyxbwPS.js +6 -0
  23. package/dist/web/assets/Desktop-A_D4LTis.js +1 -0
  24. package/dist/web/assets/DesktopReview-CM7xmpHS.js +2 -0
  25. package/dist/web/assets/Evidence-BlTkmzfE.js +1 -0
  26. package/dist/web/assets/Explore-DyGqAEff.js +2 -0
  27. package/dist/web/assets/Features-BjPR9gCe.js +1 -0
  28. package/dist/web/assets/Flags-C_DneXS9.js +2 -0
  29. package/dist/web/assets/Flaky-l5ugC_ER.js +1 -0
  30. package/dist/web/assets/Impact-7TXQHcsW.js +3 -0
  31. package/dist/web/assets/Jobs-xRLNI-8l.js +5 -0
  32. package/dist/web/assets/KindPage-BZu1Zo4S.js +6 -0
  33. package/dist/web/assets/Migration-DKsyDwDO.js +8 -0
  34. package/dist/web/assets/Observability-CVwKJ-fI.js +1 -0
  35. package/dist/web/assets/PageAgent-C1X5ot6v.js +1 -0
  36. package/dist/web/assets/Product-iHqLyIhD.js +12 -0
  37. package/dist/web/assets/Production-C8eGcwCi.js +1 -0
  38. package/dist/web/assets/Quality-BVsN6u0E.js +1 -0
  39. package/dist/web/assets/Readiness-BWlbiTeu.js +1 -0
  40. package/dist/web/assets/Record-C7qgNFqs.js +1 -0
  41. package/dist/web/assets/Regression-ChleHlqe.js +5 -0
  42. package/dist/web/assets/RelationGraph-CzR_Hs8A.js +1 -0
  43. package/dist/web/assets/Reports-CIcKyoHH.js +2 -0
  44. package/dist/web/assets/Response-D2ZeO8uW.js +9 -0
  45. package/dist/web/assets/Responsive-DCfw-Oz3.js +3 -0
  46. package/dist/web/assets/RunDiff-COaxhvKm.js +1 -0
  47. package/dist/web/assets/Runs-3qx2qf56.js +2 -0
  48. package/dist/web/assets/Settings-DG2k3Lno.js +21 -0
  49. package/dist/web/assets/Steps-CN4n8U1I.js +3 -0
  50. package/dist/web/assets/TestCases-BEfJFp5h.js +1 -0
  51. package/dist/web/assets/TestData-SO2qqaAF.js +2 -0
  52. package/dist/web/assets/TestDebt-DIYhbhjh.js +1 -0
  53. package/dist/web/assets/TestManagement-D7q6G3YN.js +4 -0
  54. package/dist/web/assets/WhatsNew-DqBLhhgk.js +1 -0
  55. package/dist/web/assets/{agents-C0Jg2pN8.js → agents-BUWN-VJv.js} +1 -1
  56. package/dist/web/assets/{coverage-BB9BLjGz.js → coverage-DCtiu73T.js} +4 -4
  57. package/dist/web/assets/dataParts-BdmBLsU9.js +3 -0
  58. package/dist/web/assets/{diff-cbn6NGtL.js → diff-DEgLgw6R.js} +1 -1
  59. package/dist/web/assets/families-CrnKBjis.js +1 -0
  60. package/dist/web/assets/{highlight--Ayfy7Gy.js → highlight-DSLpJ_Dq.js} +1 -1
  61. package/dist/web/assets/index-DAteDsgB.css +2 -0
  62. package/dist/web/assets/index-RJ1kEHuo.js +64 -0
  63. package/dist/web/assets/input-Be3YOEK2.js +1 -0
  64. package/dist/web/assets/logLevel-Dq8s6DZz.js +3 -0
  65. package/dist/web/assets/palette-Dcoz5crU.js +1 -0
  66. package/dist/web/assets/{paletteCommands-ar4wAGok.js → paletteCommands-fwv5XVOS.js} +1 -1
  67. package/dist/web/assets/parts-CkI14hIv.js +1 -0
  68. package/dist/web/assets/productParts-BOUMBM_H.js +1 -0
  69. package/dist/web/assets/qualityParts-8KI3JCY8.js +1 -0
  70. package/dist/web/assets/recordTest-kf2ykEQF.js +1 -0
  71. package/dist/web/assets/route-D8G-pTdk.js +1 -0
  72. package/dist/web/assets/stepper-CQSK6KS0.js +1 -0
  73. package/dist/web/index.html +7 -7
  74. package/docs/OBSERVABILITY.md +233 -0
  75. package/docs/user-guide.html +59 -6
  76. package/forgeqe.example.yaml +5 -1
  77. package/llms.example.json +1 -1
  78. package/package.json +2 -1
  79. package/prompts/browser-persona.md +1 -1
  80. package/py/forgeqe_desktop/handhooks.py +106 -4
  81. package/py/forgeqe_desktop/handrecord.py +77 -2
  82. package/py/forgeqe_desktop/service.py +22 -5
  83. package/py/forgeqe_desktop/workflow.py +47 -2
  84. package/py/forgeqe_engine/copilot_gateway.py +139 -5
  85. package/py/forgeqe_engine/copilot_models.py +186 -0
  86. package/py/forgeqe_engine/diagnostics.py +119 -2
  87. package/py/forgeqe_engine/llm.py +85 -1
  88. package/py/forgeqe_engine/persona.py +3 -2
  89. package/py/forgeqe_engine/service.py +36 -10
  90. package/py/forgeqe_mobile/record.py +95 -5
  91. package/dist/web/assets/Agent-DrdDwck4.js +0 -8
  92. package/dist/web/assets/AgentWork-wNaA-i2T.js +0 -2
  93. package/dist/web/assets/ApiTests-B3X6NIn8.js +0 -10
  94. package/dist/web/assets/Browse-Cd1DEgYR.js +0 -1
  95. package/dist/web/assets/Chat-4GknHS5Z.js +0 -3
  96. package/dist/web/assets/Compare-DJVhkzqO.js +0 -1
  97. package/dist/web/assets/Cost-CbKnuQuB.js +0 -1
  98. package/dist/web/assets/Data-Bt5yqqvq.js +0 -6
  99. package/dist/web/assets/Desktop-CPDo3Ir-.js +0 -1
  100. package/dist/web/assets/DesktopReview-CCaqTSu5.js +0 -1
  101. package/dist/web/assets/Evidence-BAuIgj1h.js +0 -1
  102. package/dist/web/assets/Explore-BqzEPdP7.js +0 -2
  103. package/dist/web/assets/Features-DFuPCW9x.js +0 -1
  104. package/dist/web/assets/Flags-UBakvqIq.js +0 -2
  105. package/dist/web/assets/Flaky-DUzdfQW4.js +0 -1
  106. package/dist/web/assets/Impact-jLZqUzz9.js +0 -3
  107. package/dist/web/assets/Jobs-De3NyY5s.js +0 -5
  108. package/dist/web/assets/KindPage-DWznWcLB.js +0 -6
  109. package/dist/web/assets/Migration-BdOq6RO6.js +0 -2
  110. package/dist/web/assets/PageAgent-dVvZtNoB.js +0 -1
  111. package/dist/web/assets/Product-ByZ8Qr3i.js +0 -12
  112. package/dist/web/assets/Production-D8L2TchK.js +0 -1
  113. package/dist/web/assets/Quality-CSZEuhZo.js +0 -1
  114. package/dist/web/assets/Readiness-bBu_84mx.js +0 -1
  115. package/dist/web/assets/Record-DWJEDj2C.js +0 -1
  116. package/dist/web/assets/Regression-D2VkPIhZ.js +0 -5
  117. package/dist/web/assets/RelationGraph-q5H4bYjq.js +0 -1
  118. package/dist/web/assets/Reports-dF-O5HTI.js +0 -2
  119. package/dist/web/assets/Response-D4JW3pwi.js +0 -9
  120. package/dist/web/assets/Responsive-CLX9S27s.js +0 -3
  121. package/dist/web/assets/RunDiff-BuL_-GwF.js +0 -1
  122. package/dist/web/assets/Runs-DyyaAiyA.js +0 -2
  123. package/dist/web/assets/Settings-DnG6_QQj.js +0 -21
  124. package/dist/web/assets/Steps-C-0zwG7T.js +0 -2
  125. package/dist/web/assets/TestCases-DXk9qsEL.js +0 -1
  126. package/dist/web/assets/TestData-D4al7-3Z.js +0 -2
  127. package/dist/web/assets/TestDebt-BzOVDuS8.js +0 -1
  128. package/dist/web/assets/TestManagement-T-NIlhc9.js +0 -1
  129. package/dist/web/assets/Tosca-D7tqMGK0.js +0 -3
  130. package/dist/web/assets/WhatsNew-DBViE2Qt.js +0 -1
  131. package/dist/web/assets/dataParts-D56_9p6T.js +0 -3
  132. package/dist/web/assets/families-gkpkloLT.js +0 -1
  133. package/dist/web/assets/filters-Culzq1j1.js +0 -1
  134. package/dist/web/assets/fold-UP5ihvz-.js +0 -1
  135. package/dist/web/assets/head-BpR3dGRT.js +0 -1
  136. package/dist/web/assets/index-CljX5dI4.js +0 -64
  137. package/dist/web/assets/index-CwAqcn-z.css +0 -2
  138. package/dist/web/assets/input-D7iHeNXz.js +0 -1
  139. package/dist/web/assets/logos-B4e5nBuL.js +0 -1
  140. package/dist/web/assets/palette-lUno7fso.js +0 -1
  141. package/dist/web/assets/parts-DbdUgAZS.js +0 -1
  142. package/dist/web/assets/productParts-DSrnTFn8.js +0 -1
  143. package/dist/web/assets/qualityParts-D_U5zhKC.js +0 -1
  144. package/dist/web/assets/recordTest-D9zuJ-aG.js +0 -1
  145. package/dist/web/assets/route-Dg53WdFu.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -249,6 +249,7 @@ forgeqe features # or /features in the shell; --config forgeqe.yaml
249
249
  | Quality | **Responsive check**: Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device. | `responsive_check` | [docs](#responsive-preview) |
250
250
  | Operations | **Production errors and the tests that cover them**: Reads the errors users hit in production from Sentry, Datadog and Application Insights, grouped by page, and says which have no test reproducing them; read only. | `production_errors` | [docs](#production-errors) |
251
251
  | Operations | **Model cost and usage**: Adds up what the project's model calls cost by agent, origin, job, model and day, with tokens of unknown price apart, the model router's picks, and each regression pack's cost per run. | `model_cost` | [docs](#model-cost) |
252
+ | Operations | **ForgeQE's own health**: Counts how ForgeQE's own sessions, runs, turns, tool and model calls went on this computer, with the session-health signatures and the latest problems: the numbers the opt-in OpenTelemetry export sends. | `forgeqe_health` | [docs](#forgeqes-own-health) |
252
253
  | 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) |
253
254
  | 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) |
254
255
  | 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) |
@@ -658,17 +659,36 @@ forgeqe auth logout copilot
658
659
  ```json
659
660
  "copilot": {
660
661
  "provider": "github_copilot",
661
- "model": "gpt-4.1"
662
+ "model": "auto"
662
663
  }
663
664
  ```
664
665
 
665
666
  | Field | What it is |
666
667
  |---|---|
667
- | `model` | The Copilot model, as Copilot names it (`gpt-4.1`, `claude-sonnet-4.6`). It must take screenshots. The sign-in lists your seat's models and which of them take images. |
668
+ | `model` | `auto` (recommended, and what the sign-in suggests), or a Copilot model as Copilot names it (`gpt-4.1`, `claude-sonnet-4.6`) that takes screenshots. With `auto`, Copilot picks the model for each request, and the browser's screenshot steps go to your seat's cheapest model that takes images. The sign-in lists your seat's models and which of them take images. |
668
669
  | `engine_model` | Optional. Another Copilot model for the browser and the desktop agent. |
669
670
  | `reasoning_effort` | Optional. How hard a reasoning model thinks: `low`, `medium`, `high`, `xhigh` or `max`. Sent only to a model your seat says takes one; unset, the model's default. |
670
671
  | `api_key_env` | Optional. A variable that must hold the GitHub token for this profile. Without it, ForgeQE uses `COPILOT_GITHUB_TOKEN`, then a token `forgeqe auth login copilot` saved, then the browser sign-in. |
671
672
 
673
+ **When a model stops working.** A Copilot model can stop answering on your seat from one day to the next, with nothing
674
+ changed on your computer. ForgeQE notices by itself: when Copilot does not answer a model's request in time, or answers
675
+ with an error about the model, that model is left alone for an hour and its requests go to another of your seat's models
676
+ (one that takes screenshots when the request has one, allowed by your seat, and costing no more premium requests per
677
+ call than the failing one, or than 1). A request that failed quickly is sent again to the other model at once; after a
678
+ slow failure, the next request goes there, and the chat or browser step says which model took over. ForgeQE remembers
679
+ this for an hour in `~/.forgeqe/copilot/model-health.json`, so a new chat does not wait on the failing model again. A sign-in
680
+ refused, a rate limit or a used-up allowance never moves to another model. `~/.forgeqe/logs/copilot-gateway.log` says
681
+ what Copilot answered and which model took over.
682
+
683
+ **Copilot's versions.** ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
684
+ changes your setup by itself; a newer ForgeQE brings newer ones (`forgeqe update`, then `forgeqe setup`). `forgeqe doctor`
685
+ shows the versions in use. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
686
+ rather than trying another model.
687
+
688
+ **Behind a company proxy.** ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
689
+ many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
690
+ session anyway. To turn them on, set `FORGEQE_COPILOT_WEBSOCKETS=1`.
691
+
672
692
  **Choosing the model.** Your seat's models each show whether they take screenshots, their premium requests per call (0
673
693
  is included in your plan) and the profiles that use them.
674
694
 
@@ -7773,6 +7793,7 @@ quality:
7773
7793
  accessibility:
7774
7794
  standard: wcag21aa # wcag2a, wcag21aa (default), wcag22aa, wcag21aaa, section508, en301549, best-practice
7775
7795
  best_practice: false # also the best-practice rules
7796
+ engine: axe # axe (axe-core, default), ibm (IBM Equal Access), basic (ForgeQE's own checks)
7776
7797
  budgets:
7777
7798
  accessibility: # most violations per page by impact; unset impacts have no limit (or: accessibility: true for 0 critical, 0 serious)
7778
7799
  critical: 0
@@ -7787,6 +7808,14 @@ quality:
7787
7808
  /search: { lcp_ms: 4000 }
7788
7809
  ```
7789
7810
 
7811
+ **Rule engine.** `engine: ibm` checks each page with IBM Equal Access (accessibility-checker-engine, shipped with
7812
+ ForgeQE) instead of axe-core: the standard picks its ruleset (WCAG 2.0, 2.1 or 2.2 at A or AA; Section 508 as WCAG 2.0
7813
+ AA; EN 301 549 as WCAG 2.1 AA; best practice as IBM's own ruleset with its recommendations). IBM's rules stop at AA, so a
7814
+ `wcag21aaa` standard is checked at AA with it and the run says so. Impact comes from IBM's toolkit level (1 critical,
7815
+ 2 serious, 3 moderate, 4 minor; a recommendation is minor), and rule ids are IBM's (`img_alt_valid`), so budgets'
7816
+ `rules` and `ignore` name IBM's ids when it is the engine. The two engines find different things: run both on a page
7817
+ that matters. The engine runs inside a function on the page, so a page's own `window.ace` (the Ace editor) is left alone.
7818
+
7790
7819
  **Over time.** Every run adds each page's violations and timings to `.forgeqe/reports/quality-history.json` (keep it between CI runs as a cache). Ask "did accessibility regress?" or "is checkout getting slower?". The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).
7791
7820
 
7792
7821
  **Web app**
@@ -7826,15 +7855,22 @@ The accessibility agent does a goal on your site **as a person with a disability
7826
7855
 
7827
7856
  1. Open **Accessibility** (Quality Engineering › Specialised testing), on its **Agent** tab.
7828
7857
  2. Say what the person should try to do, and who tries it ("act as a blind person and use the website to find accessibility issues", "can a keyboard-only user check out?").
7829
- 3. Agree to the plan the agent shows. Each session's result is on the **Results** tab, and the personas on the **Personas** tab.
7858
+ Under the persona chips, **Checked with** picks this session's rule engine (axe-core, IBM Equal Access or the
7859
+ built-in checks) and standard; left on the project's, quality.accessibility decides.
7860
+ 3. Agree to the plan the agent shows, which says the rule checks it will use. Each session's result is on the **Results** tab, and the personas on the **Personas** tab.
7830
7861
 
7831
7862
  **Terminal**
7832
7863
 
7833
7864
  ```bash
7834
7865
  forgeqe a11y "find running shoes and add a pair to the basket" --persona blind,keyboard-only --url https://shop.test
7866
+ forgeqe a11y "check out" --persona blind --engine ibm --standard wcag22aa --best-practice # this session's rule checks
7835
7867
  forgeqe a11y personas # the personas: built in, and the project's own
7836
7868
  ```
7837
7869
 
7870
+ `--engine` (axe, ibm, basic), `--standard` (wcag2a, wcag21aa, wcag22aa, wcag21aaa, section508, en301549,
7871
+ best-practice) and `--best-practice` choose the session's automated rule checks over `quality.accessibility`; a value off
7872
+ its list is refused before anything runs. The report and the Results tab say which were used.
7873
+
7838
7874
  **How each persona uses the page.** Each persona is one browser run. The agent works the way the person does:
7839
7875
 
7840
7876
  | Persona | How the agent uses the page |
@@ -8260,6 +8296,17 @@ part, or when tokens priced in another currency were left out.
8260
8296
 
8261
8297
  ![Cost: what the models cost, by model, agent and run](docs/img/shots/cost.jpg)
8262
8298
 
8299
+ ### ForgeQE's own health
8300
+
8301
+ **AI Assurance › Governance › Observability** shows how ForgeQE's own work went on this computer over the last 7, 30 or
8302
+ 90 days: sessions a day and the ones with an error, sessions by command, browser runs by how they ended, turn times,
8303
+ tool calls and errors by tool, the session-health signatures (turns that ended with nothing said, the same plan written
8304
+ again and again, …), model calls by model with their speed and cost, and the latest problems. It reads the session
8305
+ logs and this project's calls in the usage ledger, and counts what the opt-in OpenTelemetry export would send, whether
8306
+ the export is on or not: a problem is in ForgeQE's own words, never what the model, the page or a person wrote. To send
8307
+ the same numbers to your own collector (Grafana, Datadog, Honeycomb, …), see **Settings › Observability** and
8308
+ `forgeqe telemetry` (`docs/OBSERVABILITY.md`). In a chat, ask "how has ForgeQE been doing this week?".
8309
+
8263
8310
  ### Defect trends and prediction
8264
8311
 
8265
8312
  **Defect trends.** ForgeQE reads the suites saved in `suite.out_dir` and their `defect-history.json`, and writes `defect-trends.md` next to them:
@@ -9192,7 +9239,7 @@ Signing in stays `/auth` and `forgeqe login`; `forgeqe bi export` and `forgeqe l
9192
9239
  | `forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]` | The tests a pull request can break; `--run` makes it a CI gate (see [Tests for a pull request](#tests-for-a-pull-request)) |
9193
9240
  | `forgeqe impact <repo> <base> <head> \| <repo> --pr LINK [--gate] [--post] [--json] [--quick]` | What a change in a product repository reaches, and whether it is ready; `--gate` exits 1 when it is blocked |
9194
9241
  | `forgeqe report <file\|folder>... [--title T] [--out DIR]`, `forgeqe report setup [--repo DIR]` | report.html from JUnit XML or TRX run outside ForgeQE (see [Reports for tests run outside ForgeQE](#reports-for-tests-run-outside-forgeqe)) |
9195
- | `forgeqe a11y "<goal>" --persona a,b [--url URL]`, `forgeqe a11y personas` | Accessibility testing as personas (see [Accessibility testing with personas](#accessibility-testing-with-personas)) |
9242
+ | `forgeqe a11y "<goal>" --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]`, `forgeqe a11y personas` | Accessibility testing as personas (see [Accessibility testing with personas](#accessibility-testing-with-personas)) |
9196
9243
  | `forgeqe persona [list] \| show \| create \| export \| import` | Business personas (see [Business personas](#business-personas)) |
9197
9244
  | `forgeqe flags list [--env NAME]`, `forgeqe flags run <pack> <flag=v1,v2> --env NAME` | A regression pack once per feature-flag combination (see [Feature-flag matrix](#feature-flag-matrix)) |
9198
9245
  | `forgeqe defects [--folder DIR]`, `forgeqe defects predict [--repo DIR] [--base REF] [--head REF]` | Defect trends, and where a change is likely to cause defects |
@@ -2,7 +2,7 @@
2
2
 
3
3
  ForgeQE contains and installs the open source software below. Each is the work of its own authors and is used under its own licence, which is reproduced here as that licence asks. These notices are generated from the installed packages by `bun scripts/gen-notices.ts`; do not edit.
4
4
 
5
- Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships; `@opentui/core` and its platform builds are installed beside it. axe-core (MPL-2.0) is shipped unmodified as `dist/vendor/axe.min.js`; its source is at the address given with it. The web app (`dist/web`) credits the libraries inside it in `dist/web/THIRD_PARTY_NOTICES.md`.
5
+ Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships; `@opentui/core` and its platform builds are installed beside it. axe-core (MPL-2.0) is shipped unmodified as `dist/vendor/axe.min.js`; its source is at the address given with it. IBM Equal Access's engine (accessibility-checker-engine, Apache-2.0) is shipped unmodified as `dist/vendor/ibm-ace.js`. The web app (`dist/web`) credits the libraries inside it in `dist/web/THIRD_PARTY_NOTICES.md`.
6
6
 
7
7
  ## Packages
8
8
 
@@ -45,6 +45,7 @@ Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships;
45
45
  | react-reconciler | 0.33.0 | MIT | @opentui/react |
46
46
  | scheduler | 0.27.0 | MIT | react-reconciler |
47
47
  | @vscode/tree-sitter-wasm | 0.3.1 | MIT | ForgeQE (inside dist/forgeqe.js) |
48
+ | accessibility-checker-engine | 4.0.34 | Apache-2.0 | ForgeQE (inside dist/forgeqe.js) |
48
49
  | axe-core | 4.14.0 | MPL-2.0 | ForgeQE (inside dist/forgeqe.js) |
49
50
  | fast-xml-parser | 5.11.1 | MIT | ForgeQE (inside dist/forgeqe.js) |
50
51
  | @nodable/entities | 3.0.0 | MIT | fast-xml-parser |
@@ -117,7 +117,7 @@
117
117
  </nav>
118
118
  <main id="main" class="docs-main guide chapter-page">
119
119
  <p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
120
- <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
120
+ <div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Features</p><ul><li><a href="../area-browser/index.html#doc-how_to_use-recording-a-web-test-by-hand"><span>Recording a test</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-test-management"><span>Test management</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-regression-packs-for-a-release"><span>Regression packs</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-migrating-a-test-suite"><span>Migrating a suite</span></a></li><li><a href="../area-automated-tests/index.html#doc-how_to_use-converting-tosca-tests"><span>Tosca conversion</span></a></li><li><a href="../area-pull-requests/index.html#doc-how_to_use-what-a-pull-request-impacts-in-the-product"><span>Change impact</span></a></li><li><a href="../area-quality/index.html#doc-how_to_use-responsive-preview"><span>Responsive preview</span></a></li><li><a href="../area-test-cases/index.html#doc-how_to_use-basal-business-testing"><span>Business testing (BASAL)</span></a></li><li><a href="index.html#doc-how_to_use-custom-agents"><span>Custom agents</span></a></li><li><a href="../get-started/index.html#doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><span>AI Assurance</span></a></li><li><a href="../using/index.html#doc-how_to_use-the-web-app"><span>Talk and the web app</span></a></li><li><a href="index.html#doc-how_to_use-the-jobs-service-scheduled-and-long-jobs-apart-from-the-shell"><span>Scheduled jobs</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../area-setup/index.html"><span>Setup and configuration</span></a></li><li><a href="index.html" aria-current="page"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></nav></details></div>
121
121
  <h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-network"/></svg>Operations and monitoring</h1>
122
122
  <p class="guide-lead">Monitoring and CI pipelines</p>
123
123
  <article class="spec feat" id="cap-containers">
@@ -632,6 +632,29 @@ part, or when tokens priced in another currency were left out.</p>
632
632
  </div>
633
633
  </section>
634
634
  </div>
635
+ <article class="spec feat" id="cap-forgeqe-health">
636
+ <div class="hd"><span class="mono">Operations</span><h3>ForgeQE's own health</h3></div>
637
+ <p class="ds">Counts how ForgeQE's own sessions, runs, turns, tool and model calls went on this computer, with the session-health signatures and the latest problems: the numbers the opt-in OpenTelemetry export sends.</p>
638
+ <div class="facts">
639
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>How has ForgeQE been doing this week?</li><li>Which tools fail most often?</li></ul></div>
640
+ <div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
641
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_health</code></p></div>
642
+ </div>
643
+
644
+ </article>
645
+ <div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-forgeqes-own-health">
646
+ <h4>ForgeQE's own health</h4>
647
+ <div class="prose"><p><strong>AI Assurance › Governance › Observability</strong> shows how ForgeQE's own work went on this computer over the last 7, 30 or
648
+ 90 days: sessions a day and the ones with an error, sessions by command, browser runs by how they ended, turn times,
649
+ tool calls and errors by tool, the session-health signatures (turns that ended with nothing said, the same plan written
650
+ again and again, …), model calls by model with their speed and cost, and the latest problems. It reads the session
651
+ logs and this project's calls in the usage ledger, and counts what the opt-in OpenTelemetry export would send, whether
652
+ the export is on or not: a problem is in ForgeQE's own words, never what the model, the page or a person wrote. To send
653
+ the same numbers to your own collector (Grafana, Datadog, Honeycomb, …), see <strong>Settings › Observability</strong> and
654
+ <code>forgeqe telemetry</code> (<code>docs/OBSERVABILITY.md</code>). In a chat, ask &quot;how has ForgeQE been doing this week?&quot;.</p>
655
+ </div>
656
+ </section>
657
+ </div>
635
658
  <article class="spec feat" id="cap-monitoring">
636
659
  <div class="hd"><span class="mono">Operations</span><h3>Scheduled monitoring with alerts</h3></div>
637
660
  <p class="ds">Runs checks on a schedule and alerts Teams or email when one keeps failing, and again when it recovers.</p>
@@ -1350,7 +1373,7 @@ them back on restores everything as it was.</p>
1350
1373
  <a class="next" href="../area-data/index.html"><small>Next</small><span>Test data and databases</span></a>
1351
1374
  </nav>
1352
1375
  </main>
1353
- <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
1376
+ <aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-containers">Services, mocks, workspace and browser in Docker or Podman</a></li><li><a href="#doc-docs-containers-forgeqe-containers-services-and-mocks-in-docker-or-podman">ForgeQE containers: services and mocks in Docker or Podman</a></li><li><a href="#doc-docs-containers-use">Use</a></li><li><a href="#doc-docs-containers-declaring-services">Declaring services</a></li><li><a href="#doc-docs-containers-compose-files">Compose files</a></li><li><a href="#doc-docs-containers-the-project-network">The project network</a></li><li><a href="#doc-docs-containers-tests-in-a-container">Tests in a container</a></li><li><a href="#doc-docs-containers-the-workspace">The workspace</a></li><li><a href="#doc-docs-containers-the-browser-in-a-container">The browser in a container</a></li><li><a href="#doc-docs-containers-testcontainers-quill">Testcontainers (Quill)</a></li><li><a href="#doc-docs-containers-mocks">Mocks</a></li><li><a href="#doc-docs-containers-lifetime">Lifetime</a></li><li><a href="#doc-docs-containers-security">Security</a></li><li><a href="#cap-production-errors">Production errors and the tests that cover them</a></li><li><a href="#cap-model-cost">Model cost and usage</a></li><li><a href="#cap-forgeqe-health">ForgeQE's own health</a></li><li><a href="#cap-monitoring">Scheduled monitoring with alerts</a></li><li><a href="#cap-jobs">Background jobs on a schedule</a></li><li><a href="#cap-custom-agents">Your team's custom agents</a></li><li><a href="#cap-notifications">Teams and email notifications</a></li><li><a href="#cap-pipelines">CI pipelines</a></li></ul></aside>
1354
1377
  </div>
1355
1378
  <footer class="foot">
1356
1379
  <div class="container foot__row">
@@ -164,6 +164,7 @@ in <strong>Settings › Settings as text</strong>.</li>
164
164
  </span></span><span class="ln"><span class="cmd"> accessibility:
165
165
  </span></span><span class="ln ln--pair"><span class="cmd"> standard: wcag21aa</span><span class="pad"> </span><span class="cm"><span class="h">#</span> wcag2a, wcag21aa (default), wcag22aa, wcag21aaa, section508, en301549, best-practice
166
166
  </span></span><span class="ln ln--pair"><span class="cmd"> best_practice: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> also the best-practice rules
167
+ </span></span><span class="ln ln--pair"><span class="cmd"> engine: axe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> axe (axe-core, default), ibm (IBM Equal Access), basic (ForgeQE's own checks)
167
168
  </span></span><span class="ln"><span class="cmd"> budgets:
168
169
  </span></span><span class="ln ln--pair"><span class="cmd"> accessibility:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most violations per page by impact; unset impacts have no limit (or: accessibility: true for 0 critical, 0 serious)
169
170
  </span></span><span class="ln"><span class="cmd"> critical: 0
@@ -177,7 +178,14 @@ in <strong>Settings › Settings as text</strong>.</li>
177
178
  </span></span><span class="ln ln--pair"><span class="cmd"> pages:</span><span class="pad"> </span><span class="cm"><span class="h">#</span> by path prefix; the longest match wins
178
179
  </span></span><span class="ln"><span class="cmd"> /search: { lcp_ms: 4000 }
179
180
  </span></span></code></pre></div>
180
- </div></div><p><strong>Over time.</strong> Every run adds each page's violations and timings to <code>.forgeqe/reports/quality-history.json</code> (keep it between CI runs as a cache). Ask &quot;did accessibility regress?&quot; or &quot;is checkout getting slower?&quot;. The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).</p>
181
+ </div></div><p><strong>Rule engine.</strong> <code>engine: ibm</code> checks each page with IBM Equal Access (accessibility-checker-engine, shipped with
182
+ ForgeQE) instead of axe-core: the standard picks its ruleset (WCAG 2.0, 2.1 or 2.2 at A or AA; Section 508 as WCAG 2.0
183
+ AA; EN 301 549 as WCAG 2.1 AA; best practice as IBM's own ruleset with its recommendations). IBM's rules stop at AA, so a
184
+ <code>wcag21aaa</code> standard is checked at AA with it and the run says so. Impact comes from IBM's toolkit level (1 critical,
185
+ 2 serious, 3 moderate, 4 minor; a recommendation is minor), and rule ids are IBM's (<code>img_alt_valid</code>), so budgets'
186
+ <code>rules</code> and <code>ignore</code> name IBM's ids when it is the engine. The two engines find different things: run both on a page
187
+ that matters. The engine runs inside a function on the page, so a page's own <code>window.ace</code> (the Ace editor) is left alone.</p>
188
+ <p><strong>Over time.</strong> Every run adds each page's violations and timings to <code>.forgeqe/reports/quality-history.json</code> (keep it between CI runs as a cache). Ask &quot;did accessibility regress?&quot; or &quot;is checkout getting slower?&quot;. The trends show each page's violations over the last runs, the rules that newly fail or were fixed since the previous run, and each timing against its usual value (the median of the last 10 runs; slower or faster only beyond noise).</p>
181
189
  <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
182
190
  <ol>
183
191
  <li>Open <strong>Quality</strong> (Quality Engineering › Specialised testing).</li>
@@ -226,13 +234,19 @@ approve a change that was meant.</p>
226
234
  <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
227
235
  <ol>
228
236
  <li>Open <strong>Accessibility</strong> (Quality Engineering › Specialised testing), on its <strong>Agent</strong> tab.</li>
229
- <li>Say what the person should try to do, and who tries it (&quot;act as a blind person and use the website to find accessibility issues&quot;, &quot;can a keyboard-only user check out?&quot;).</li>
230
- <li>Agree to the plan the agent shows. Each session's result is on the <strong>Results</strong> tab, and the personas on the <strong>Personas</strong> tab.</li>
237
+ <li>Say what the person should try to do, and who tries it (&quot;act as a blind person and use the website to find accessibility issues&quot;, &quot;can a keyboard-only user check out?&quot;).
238
+ Under the persona chips, <strong>Checked with</strong> picks this session's rule engine (axe-core, IBM Equal Access or the
239
+ built-in checks) and standard; left on the project's, quality.accessibility decides.</li>
240
+ <li>Agree to the plan the agent shows, which says the rule checks it will use. Each session's result is on the <strong>Results</strong> tab, and the personas on the <strong>Personas</strong> tab.</li>
231
241
  </ol>
232
242
  </div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
233
243
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe a11y &quot;find running shoes and add a pair to the basket&quot; --persona blind,keyboard-only --url https://shop.test
244
+ </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y &quot;check out&quot; --persona blind --engine ibm --standard wcag22aa --best-practice</span><span class="pad"> </span><span class="cm"><span class="h">#</span> this session's rule checks
234
245
  </span></span><span class="ln ln--pair"><span class="cmd">forgeqe a11y personas</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the personas: built in, and the project's own
235
246
  </span></span></code></pre></div>
247
+ <p><code>--engine</code> (axe, ibm, basic), <code>--standard</code> (wcag2a, wcag21aa, wcag22aa, wcag21aaa, section508, en301549,
248
+ best-practice) and <code>--best-practice</code> choose the session's automated rule checks over <code>quality.accessibility</code>; a value off
249
+ its list is refused before anything runs. The report and the Results tab say which were used.</p>
236
250
  </div></div><p><strong>How each persona uses the page.</strong> Each persona is one browser run. The agent works the way the person does:</p>
237
251
  <div class="tbl tbl--cols-2"><table>
238
252
  <thead>
@@ -416,7 +416,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
416
416
  <tr><td data-label="Command"><code>forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]</code></td><td data-label="What it does">The tests a pull request can break; <code>--run</code> makes it a CI gate (see <a href="../area-pull-requests/index.html#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a>)</td></tr>
417
417
  <tr><td data-label="Command"><code>forgeqe impact &lt;repo&gt; &lt;base&gt; &lt;head&gt; | &lt;repo&gt; --pr LINK [--gate] [--post] [--json] [--quick]</code></td><td data-label="What it does">What a change in a product repository reaches, and whether it is ready; <code>--gate</code> exits 1 when it is blocked</td></tr>
418
418
  <tr><td data-label="Command"><code>forgeqe report &lt;file|folder&gt;... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td data-label="What it does">report.html from JUnit XML or TRX run outside ForgeQE (see <a href="../area-automated-tests/index.html#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
419
- <tr><td data-label="Command"><code>forgeqe a11y &quot;&lt;goal&gt;&quot; --persona a,b [--url URL]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
419
+ <tr><td data-label="Command"><code>forgeqe a11y &quot;&lt;goal&gt;&quot; --persona a,b [--url URL] [--engine E] [--standard S] [--best-practice]</code>, <code>forgeqe a11y personas</code></td><td data-label="What it does">Accessibility testing as personas (see <a href="../area-quality/index.html#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
420
420
  <tr><td data-label="Command"><code>forgeqe persona [list] | show | create | export | import</code></td><td data-label="What it does">Business personas (see <a href="../area-test-cases/index.html#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
421
421
  <tr><td data-label="Command"><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run &lt;pack&gt; &lt;flag=v1,v2&gt; --env NAME</code></td><td data-label="What it does">A regression pack once per feature-flag combination (see <a href="../area-release/index.html#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
422
422
  <tr><td data-label="Command"><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td data-label="What it does">Defect trends, and where a change is likely to cause defects</td></tr>
@@ -351,7 +351,7 @@ keeps the authorization until you revoke <strong>GitHub Copilot CLI</strong> at
351
351
  </div></div><p><strong>The Copilot model in <code>llms.json</code>.</strong> The sign-in writes a profile like this one:</p>
352
352
  <div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">&quot;copilot&quot;: {
353
353
  </span></span><span class="ln"><span class="cmd"> &quot;provider&quot;: &quot;github_copilot&quot;,
354
- </span></span><span class="ln"><span class="cmd"> &quot;model&quot;: &quot;gpt-4.1&quot;
354
+ </span></span><span class="ln"><span class="cmd"> &quot;model&quot;: &quot;auto&quot;
355
355
  </span></span><span class="ln"><span class="cmd">}
356
356
  </span></span></code></pre></div>
357
357
  <div class="tbl tbl--cols-2"><table>
@@ -359,12 +359,28 @@ keeps the authorization until you revoke <strong>GitHub Copilot CLI</strong> at
359
359
  <tr><th>Field</th><th>What it is</th></tr>
360
360
  </thead>
361
361
  <tbody>
362
- <tr><td data-label="Field"><code>model</code></td><td data-label="What it is">The Copilot model, as Copilot names it (<code>gpt-4.1</code>, <code>claude-sonnet-4.6</code>). It must take screenshots. The sign-in lists your seat's models and which of them take images.</td></tr>
362
+ <tr><td data-label="Field"><code>model</code></td><td data-label="What it is"><code>auto</code> (recommended, and what the sign-in suggests), or a Copilot model as Copilot names it (<code>gpt-4.1</code>, <code>claude-sonnet-4.6</code>) that takes screenshots. With <code>auto</code>, Copilot picks the model for each request, and the browser's screenshot steps go to your seat's cheapest model that takes images. The sign-in lists your seat's models and which of them take images.</td></tr>
363
363
  <tr><td data-label="Field"><code>engine_model</code></td><td data-label="What it is">Optional. Another Copilot model for the browser and the desktop agent.</td></tr>
364
364
  <tr><td data-label="Field"><code>reasoning_effort</code></td><td data-label="What it is">Optional. How hard a reasoning model thinks: <code>low</code>, <code>medium</code>, <code>high</code>, <code>xhigh</code> or <code>max</code>. Sent only to a model your seat says takes one; unset, the model's default.</td></tr>
365
365
  <tr><td data-label="Field"><code>api_key_env</code></td><td data-label="What it is">Optional. A variable that must hold the GitHub token for this profile. Without it, ForgeQE uses <code>COPILOT_GITHUB_TOKEN</code>, then a token <code>forgeqe auth login copilot</code> saved, then the browser sign-in.</td></tr>
366
366
  </tbody>
367
367
  </table></div>
368
+ <p><strong>When a model stops working.</strong> A Copilot model can stop answering on your seat from one day to the next, with nothing
369
+ changed on your computer. ForgeQE notices by itself: when Copilot does not answer a model's request in time, or answers
370
+ with an error about the model, that model is left alone for an hour and its requests go to another of your seat's models
371
+ (one that takes screenshots when the request has one, allowed by your seat, and costing no more premium requests per
372
+ call than the failing one, or than 1). A request that failed quickly is sent again to the other model at once; after a
373
+ slow failure, the next request goes there, and the chat or browser step says which model took over. ForgeQE remembers
374
+ this for an hour in <code>~/.forgeqe/copilot/model-health.json</code>, so a new chat does not wait on the failing model again. A sign-in
375
+ refused, a rate limit or a used-up allowance never moves to another model. <code>~/.forgeqe/logs/copilot-gateway.log</code> says
376
+ what Copilot answered and which model took over.</p>
377
+ <p><strong>Copilot's versions.</strong> ForgeQE pins GitHub's Copilot SDK and the Copilot runtime it runs, so a GitHub release never
378
+ changes your setup by itself; a newer ForgeQE brings newer ones (<code>forgeqe update</code>, then <code>forgeqe setup</code>). <code>forgeqe doctor</code>
379
+ shows the versions in use. If GitHub ever stops accepting them, the chat or run says so and asks you to update ForgeQE,
380
+ rather than trying another model.</p>
381
+ <p><strong>Behind a company proxy.</strong> ForgeQE reaches Copilot over plain HTTPS. Copilot can use WebSockets for some models, which
382
+ many company proxies break, leaving requests unanswered; ForgeQE turns them off, as each request is a new Copilot
383
+ session anyway. To turn them on, set <code>FORGEQE_COPILOT_WEBSOCKETS=1</code>.</p>
368
384
  <p><strong>Choosing the model.</strong> Your seat's models each show whether they take screenshots, their premium requests per call (0
369
385
  is included in your plan) and the profiles that use them.</p>
370
386
  <div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
@@ -163,7 +163,7 @@ set one up. A run that passes becomes a test in your repository, written by <str
163
163
  <div class="area"><a href="../area-setup/index.html" class="area-name"><span class="mono">Setup</span></a><ul class="tiles"><li><a href="../area-setup/index.html#cap-test-apps" class="tile"><b>Test environments and their apps</b><span>Place an order in the shop, then check its invoice in Billing, in UAT</span></a></li><li><a href="../area-setup/index.html#cap-generated-code" class="tile"><b>What ForgeQE wrote</b><span>How much of the code ForgeQE wrote is still there?</span></a></li><li><a href="../area-setup/index.html#cap-forgeqe-commands" class="tile"><b>Every forgeqe command from the shell</b><span>Show me the context budget</span></a></li><li><a href="../area-setup/index.html#cap-product-knowledge" class="tile"><b>Product knowledge from the product's repositories</b><span>How does the product cancel an order? Show the endpoints and tables involved</span></a></li><li><a href="../area-setup/index.html#cap-knowledge-agent" class="tile"><b>Librarian: what ForgeQE understood, and your corrections</b><span>What do you know about refunds?</span></a></li><li><a href="../area-setup/index.html#cap-document-search" class="tile"><b>Search the project's documents, without vectors</b><span>What does the payments spec say about refund limits?</span></a></li><li><a href="../area-setup/index.html#cap-web-search" class="tile"><b>Search the web</b><span>Search the web for the latest Playwright release</span></a></li><li><a href="../area-setup/index.html#cap-setup-help" class="tile"><b>Setup, skills, and documentation</b><span>What can you do?</span></a></li></ul></div>
164
164
  <div class="area"><a href="../area-desktop/index.html" class="area-name"><span class="mono">Desktop</span></a><ul class="tiles"><li><a href="../area-desktop/index.html#cap-desktop-apps" class="tile"><b>Automate Windows desktop apps</b><span>Create an invoice for Contoso in the Billing app and save it as a test</span></a></li></ul></div>
165
165
  <div class="area"><a href="../area-mobile/index.html" class="area-name"><span class="mono">Mobile</span></a><ul class="tiles"><li><a href="../area-mobile/index.html#cap-mobile-apps" class="tile"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
166
- <div class="area"><a href="../area-operations/index.html" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="../area-operations/index.html#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="../area-operations/index.html#cap-production-errors" class="tile"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a href="../area-operations/index.html#cap-model-cost" class="tile"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a href="../area-operations/index.html#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="../area-operations/index.html#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="../area-operations/index.html#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="../area-operations/index.html#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="../area-operations/index.html#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
166
+ <div class="area"><a href="../area-operations/index.html" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="../area-operations/index.html#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="../area-operations/index.html#cap-production-errors" class="tile"><b>Production errors and the tests that cover them</b><span>Which production errors have no test?</span></a></li><li><a href="../area-operations/index.html#cap-model-cost" class="tile"><b>Model cost and usage</b><span>What did ForgeQE cost this month?</span></a></li><li><a href="../area-operations/index.html#cap-forgeqe-health" class="tile"><b>ForgeQE's own health</b><span>How has ForgeQE been doing this week?</span></a></li><li><a href="../area-operations/index.html#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="../area-operations/index.html#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="../area-operations/index.html#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="../area-operations/index.html#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="../area-operations/index.html#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
167
167
  <div class="area"><a href="../area-data/index.html" class="area-name"><span class="mono">Data</span></a><ul class="tiles"><li><a href="../area-data/index.html#cap-databases" class="tile"><b>Ask a database in plain language</b><span>Which customers in India have paid orders? Ask the orders database</span></a></li><li><a href="../area-data/index.html#cap-test-data" class="tile"><b>Test data on demand</b><span>Generate test data: 20 customers with 1 to 3 orders each in the shop database</span></a></li><li><a href="../area-data/index.html#cap-data-flows" class="tile"><b>Data flows between systems</b><span>Check that customers from the digital database reach the CRM correctly</span></a></li></ul></div>
168
168
  <div class="area"><a href="../area-automated-tests/index.html" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="../area-automated-tests/index.html#cap-write-tests" class="tile"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a href="../area-automated-tests/index.html#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="../area-automated-tests/index.html#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="../area-automated-tests/index.html#cap-tosca-convert" class="tile"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a href="../area-automated-tests/index.html#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="../area-automated-tests/index.html#cap-regression-packs" class="tile"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a href="../area-automated-tests/index.html#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a href="../area-automated-tests/index.html#cap-run-diff" class="tile"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a href="../area-automated-tests/index.html#cap-test-debt" class="tile"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li><li><a href="../area-automated-tests/index.html#cap-test-management" class="tile"><b>Test management</b><span>Show the test inventory</span></a></li></ul></div>
169
169
  <div class="area"><a href="../area-pull-requests/index.html" class="area-name"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a href="../area-pull-requests/index.html#cap-pr-review" class="tile"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a href="../area-pull-requests/index.html#cap-pr-impact" class="tile"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>