@capagents/forgeqe 2.4.2 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/HOW_TO_USE.md +70 -3
  2. package/dist/forgeqe.js +951 -943
  3. package/dist/template.html +68 -68
  4. package/dist/web/assets/ApiTests-CcCxkGF_.js +2 -0
  5. package/dist/web/assets/Chat-LTwJQfTv.js +3 -0
  6. package/dist/web/assets/Data-BB-IahMh.js +4 -0
  7. package/dist/web/assets/Features-DtoKlY0g.js +1 -0
  8. package/dist/web/assets/Jobs-D6faC6C7.js +3 -0
  9. package/dist/web/assets/Quality-CuUpXKAD.js +1 -0
  10. package/dist/web/assets/Record-DZMZbuhu.js +1 -0
  11. package/dist/web/assets/Regression-BbNaH9Pg.js +2 -0
  12. package/dist/web/assets/Reports-D3RuBF6R.js +2 -0
  13. package/dist/web/assets/Response-BEbHVFJ7.js +8 -0
  14. package/dist/web/assets/Runs-LK-9464Y.js +2 -0
  15. package/dist/web/assets/{circle-dashed-COka5oNi.js → circle-dashed-BzDi4lOK.js} +1 -1
  16. package/dist/web/assets/{external-link-B9T-hxHX.js → external-link-7UCuXRch.js} +1 -1
  17. package/dist/web/assets/{file-chart-column-increasing-Ch7H145u.js → file-chart-column-increasing-lJjSX1iR.js} +1 -1
  18. package/dist/web/assets/frame-DqlMk9Ke.js +3 -0
  19. package/dist/web/assets/index-BBV4dkvi.css +2 -0
  20. package/dist/web/assets/index-DKn6ThbU.js +26 -0
  21. package/dist/web/assets/{markdown-DclrGj2e.js → markdown-DCFfynVM.js} +8 -8
  22. package/dist/web/assets/rotate-ccw-oBSoDTXr.js +1 -0
  23. package/dist/web/assets/{sticky-note-CFIxnO7K.js → sticky-note-CJn6JUwD.js} +1 -1
  24. package/dist/web/assets/{terminal-BnhGgg6d.js → terminal-CcBS6Zf0.js} +1 -1
  25. package/dist/web/assets/{trash-CtWVl2Xk.js → trash-BOoKIhsY.js} +1 -1
  26. package/dist/web/assets/{trending-up-BnzWZEhg.js → trending-up-GGhSrbVh.js} +1 -1
  27. package/dist/web/index.html +3 -2
  28. package/docs/WEB_APP.md +149 -0
  29. package/docs/user-guide.html +52 -3
  30. package/docs/walkthrough/index.html +173 -222
  31. package/env.example.yaml +6 -1
  32. package/package.json +1 -1
  33. package/dist/web/assets/ApiTests-B-0nk720.js +0 -2
  34. package/dist/web/assets/Chat-Be6J6POH.js +0 -3
  35. package/dist/web/assets/Data-BtcD7_T2.js +0 -4
  36. package/dist/web/assets/Features-DHIGL43K.js +0 -1
  37. package/dist/web/assets/Jobs-C-cEyrrH.js +0 -3
  38. package/dist/web/assets/Quality-C6hKykoO.js +0 -1
  39. package/dist/web/assets/Record-B5395d_b.js +0 -1
  40. package/dist/web/assets/Regression-BS5g4T3v.js +0 -2
  41. package/dist/web/assets/Reports-CHqfhNR8.js +0 -2
  42. package/dist/web/assets/Response-P2oku3_B.js +0 -8
  43. package/dist/web/assets/Runs-DPmd5QPL.js +0 -2
  44. package/dist/web/assets/chevron-right-Cwpv0kJi.js +0 -1
  45. package/dist/web/assets/filters-C5e4Y0To.js +0 -1
  46. package/dist/web/assets/index-BI_5kNwE.css +0 -2
  47. package/dist/web/assets/index-KUNDUjo0.js +0 -26
  48. package/dist/web/assets/rotate-ccw-BizUsxuR.js +0 -1
@@ -0,0 +1 @@
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`rotate-ccw`,size:24,node:[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{Pt as e}from"./index-KUNDUjo0.js";var t={name:`sticky-note`,size:24,node:[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}]]};t.node;var n=e(t);export{n as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`sticky-note`,size:24,node:[[`path`,{d:`M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z`,key:`1dfntj`}],[`path`,{d:`M15 3v5a1 1 0 0 0 1 1h5`,key:`6s6qgf`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{Pt as e}from"./index-KUNDUjo0.js";var t={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};t.node;var n=e(t);export{n as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`terminal`,size:24,node:[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{Pt as e}from"./index-KUNDUjo0.js";var t={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};t.node;var n=e(t);export{n as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};t.node;var n=e(t);export{n as t};
@@ -1 +1 @@
1
- import{Pt as e}from"./index-KUNDUjo0.js";var t={name:`trending-down`,size:24,node:[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]};t.node;var n=e(t),r={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};r.node;var i=e(r);export{n,i as t};
1
+ import{sn as e}from"./frame-DqlMk9Ke.js";var t={name:`trending-down`,size:24,node:[[`path`,{d:`M16 17h6v-6`,key:`t6n2it`}],[`path`,{d:`m22 17-8.5-8.5-5 5L2 7`,key:`x473p`}]]};t.node;var n=e(t),r={name:`trending-up`,size:24,node:[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]};r.node;var i=e(r);export{n,i as t};
@@ -5,8 +5,9 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="referrer" content="no-referrer" />
7
7
  <title>ForgeQE</title>
8
- <script type="module" crossorigin src="/assets/index-KUNDUjo0.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-BI_5kNwE.css">
8
+ <script type="module" crossorigin src="/assets/index-DKn6ThbU.js"></script>
9
+ <link rel="modulepreload" crossorigin href="/assets/frame-DqlMk9Ke.js">
10
+ <link rel="stylesheet" crossorigin href="/assets/index-BBV4dkvi.css">
10
11
  </head>
11
12
  <body>
12
13
  <div id="root"></div>
@@ -0,0 +1,149 @@
1
+ # The web app
2
+
3
+ `forgeqe web` opens ForgeQE in your browser: the same agents as the shell, with a chat on Home, pages for recordings,
4
+ runs, reports, API tests, quality, data, regression packs and schedules, and every setting as a form. It runs on your
5
+ computer only and works on one project folder at a time, as the CLI works in the folder it is started in.
6
+
7
+ ## Starting it
8
+
9
+ ```sh
10
+ npm install -g @capagents/forgeqe # once
11
+ forgeqe web # in a project folder, or anywhere
12
+ ```
13
+
14
+ It opens in your default browser and prints its address, such as `http://127.0.0.1:53817/#token=…`. In CI, on a Linux
15
+ machine without a desktop, or with `--no-open`, it only prints the address: open it yourself. The page keeps the token
16
+ for that browser tab only; another tab, or the page after the token is gone, says it is signed out: open the printed
17
+ address again. Ctrl+C in the terminal stops it.
18
+
19
+ | Option | What it does |
20
+ |---|---|
21
+ | `--port N` | A fixed port instead of a free one, for a bookmark or when a port is taken. |
22
+ | `--config forgeqe.yaml` | Work on the folder of that file. |
23
+ | `--no-open` | Print the address without opening the browser. |
24
+
25
+ ## The first time: Set up
26
+
27
+ The first page is **Settings › Set up**, in four steps. Until the folder has a `forgeqe.yaml`, the other sections of
28
+ Settings are locked.
29
+
30
+ 1. **Project folder.** The folder ForgeQE works on: browse to it, type its path, or make a new folder. It can be a clone
31
+ of your test repository (tests written from passed runs go there), a clone of the application, or an empty folder to
32
+ try ForgeQE in. ForgeQE does not clone repositories: clone with git first, then pick the folder.
33
+ 2. **ForgeQE in this folder.** The same as `forgeqe init`: `forgeqe.yaml`, `llms.json`, the environment files and a
34
+ `.forgeqe` folder with prompts, skills and guardrails to change. Files already there are kept, and
35
+ `.forgeqe/reports/` is added to `.gitignore`.
36
+ 3. **This computer.** What ForgeQE runs with (the browser engine and the agent runtime), with **Install what's
37
+ missing**, which runs `forgeqe setup` and shows its output.
38
+ 4. **A model.** At least one model with its key or sign-in, under **Models**.
39
+
40
+ Next time, `forgeqe web` opens the folder it is started in when ForgeQE is set up there, else the last project opened
41
+ (it keeps the last ten).
42
+
43
+ **For a team.** One person sets ForgeQE up in the shared test repository and commits what it made: `forgeqe.yaml`, the
44
+ environment files, `llms.json`, and the team's guardrails, prompts and skills under `.forgeqe/`. Everyone else clones
45
+ the repository, runs `forgeqe web` in it, and adds their own keys in Settings. Keys and passwords never go in those
46
+ files: each person's are in their own credential store.
47
+
48
+ ## The layout
49
+
50
+ - **The sidebar, on the left.** New chat; **Work**: Home, Record, Regression, API tests, Quality, Data, Runs, Reports,
51
+ Jobs; **Agents**: Knowledge, Memory, Guardrails, Skills, Prompts, What's ready; the recent chats with All chats; Help
52
+ (the user guide) and Settings. It closes to give the page the width, and is a drawer on a phone.
53
+ - **The workspace panel, on the right.** The project, its repository and branch, and the test environment; the context
54
+ and tokens of the chat and of the project, in your local currency (pounds in the UK, from the European Central Bank's
55
+ daily rates); the background tasks running now; the files a chat changed, with **Create pull request**; and what it
56
+ produced (reports, tests, recordings). It closes too, and opens over the page on a narrower screen.
57
+
58
+ ## Home and a chat
59
+
60
+ Home is one box: say what to test, in your words. Under it, suggestions (Run test cases, Explore a journey, Write a
61
+ test, Review requirements) fill the box with an example; they do not send.
62
+
63
+ In the box:
64
+
65
+ - **Tools**: whether this chat writes the test into the repository and shows the browser, and what comes from the
66
+ settings (where browsers run, where test cases come from). They can be changed in a chat that has started.
67
+ - **The model**: Auto routing, or one of your models.
68
+ - **Attach**: files for the agent to read.
69
+ - **Refine**: rewrites your request precisely against what ForgeQE knows here, in the same box, without running
70
+ anything; Undo puts your words back.
71
+
72
+ A reply shows the work as it happens:
73
+
74
+ - **The plan** as a chain: what is done (a tick), what is being worked on now, and what is next.
75
+ - **The agents**: each step under the agent doing it (ForgeQE's agent, the browser agent, Scribe), and each handoff
76
+ from one to another.
77
+ - **The latest activity**, live, with the full log a click away.
78
+ - **The result**: each test with its status, file and the command to run it; reports as links; every file changed with
79
+ its diff.
80
+ - **Next steps** as buttons (run it on another browser, open a pull request, investigate a failure), each a new
81
+ request in the chat.
82
+
83
+ **Stop** ends the work in progress. While the agent works the page follows the latest step; scroll up and it stops
84
+ following, and **Latest activity** takes you back.
85
+
86
+ **All chats** lists every chat since `forgeqe web` started, newest first, grouped by day: Working, Needs you, Your turn
87
+ and Ended as filters, a search, and 50 at a time.
88
+
89
+ ## The pages
90
+
91
+ | Page | What it is for |
92
+ |---|---|
93
+ | **Record** | Do a test's steps yourself in a browser or a Windows app ForgeQE opens; each click, entry and check is recorded. A web recording becomes a test through a chat; a desktop one replays with no model. The recordings, searched and paged. |
94
+ | **Regression** | Regression packs for a release: built from test cases, run, and healed, with their results. |
95
+ | **API tests** | Contract sets from an API description or the calls a browser run saw; scenarios that chain calls. Run them (calls that change data only after you agree), see each call's result, write them as tests. |
96
+ | **Quality** | What each browser run measured: accessibility (WCAG), Core Web Vitals, and visual changes against approved baselines, with **Approve as the new baseline**; and each page's trend. |
97
+ | **Data** | Databases (read-only queries; test data only with a writable database and your confirmation), test data, and data flows. |
98
+ | **Runs** | Every ForgeQE session in the project, from here, a schedule or the terminal: 25 to a page with filters. A run shows its summary, the conversation, its activity, and its details. |
99
+ | **Reports** | Every report ForgeQE wrote, each opening as its HTML report in a new tab; and the project report: every run together, with pass rate by day, what fails most, flaky cases and defects. |
100
+ | **Jobs** | Scheduled and long jobs (the jobs service): their runs, logs and alerts. |
101
+ | **Knowledge** | What the agents know about your product, and adding to it. |
102
+ | **Memory** | What ForgeQE learned from runs that passed, by site: flows replayed without a model, and pages with their elements. Clearing a site's memory asks first. |
103
+ | **Guardrails** | The rules every agent follows. |
104
+ | **Skills** | What the agents know how to do, by the agents that use them; add, edit and remove the project's own. |
105
+ | **Prompts** | The instructions each agent starts from, with the agents that use each; edit one, or add your team's own for chosen agents. |
106
+ | **What's ready** | Each capability, whether it is ready here, and what it still needs. |
107
+
108
+ ### Reports the agent writes
109
+
110
+ Ask for a report in a chat ("a report of all open defects", "release status for all projects") and the agent writes
111
+ one from the results of the calls it made. The report has three pages: **Overview** (the summary, and when the rows
112
+ are work items: how many are open, critical and high, unassigned, how old, untouched for 30 days, the ones that need
113
+ someone now, and charts by project, person, age and week), **the rows** with filters and a CSV export, and
114
+ **Sources**, each call the rows came from. The analytics are worked out from the rows; the model writes none of them.
115
+ See [Reports from the agent](../HOW_TO_USE.md#reports-from-the-agent).
116
+
117
+ ## Settings
118
+
119
+ Settings takes over the window: one menu on the left, with **Back to ForgeQE** and **Search settings** (by name or
120
+ `forgeqe.yaml` key), and the sections under General, AI, Testing, Activity and Advanced. Each setting shows its
121
+ `forgeqe.yaml` key under its help.
122
+
123
+ **Environments** lists each environment with Edit and Remove; adding or editing one opens a panel with its name,
124
+ apps, values, secrets and **Test data** (the files its tests read, through `FORGEQE_DATA_<NAME>`). **Start from your
125
+ team's YAML** fills the panel from YAML in any layout: **Paste** it, **Import a file** from your computer (copied into
126
+ the fields), or **Link a project file** (read from that file every run; the panel shows what ForgeQE reads from it,
127
+ and **Copy into fields instead** converts it). Secret values in the YAML are never copied.
128
+
129
+ Changes save themselves. A key or password typed in Settings goes to your credential store under its variable's name,
130
+ never into a settings file, and is never shown again. **Files** shows each settings file as text for what the forms do
131
+ not cover. Every option in `forgeqe.example.yaml` has a field.
132
+
133
+ ## Safe by design
134
+
135
+ - It listens on `127.0.0.1` only, with a random token checked on every call, and refuses requests from other sites.
136
+ - Nothing a page shows is taken as HTML: replies, tickets and reports are drawn as text and links, and a link opens
137
+ only when it is a web or mail address.
138
+ - A file a reply names opens through a short-lived link in its own sandbox, so a report's scripts never reach the app.
139
+ - Commands the pages start are built from fixed lists of what is allowed; anything that changes data, costs model
140
+ calls or posts outside asks first.
141
+
142
+ ## When something is wrong
143
+
144
+ | You see | What to do |
145
+ |---|---|
146
+ | The page says it is signed out | Open the address `forgeqe web` printed again; each tab needs it once. |
147
+ | The port is in use | `forgeqe web --port 4711` (any free port). |
148
+ | Settings sections are locked | Set up ForgeQE in the project folder first (Settings › Set up, step 2). |
149
+ | A chat cannot start | Settings › Set up, steps 3 and 4: install what is missing, and add a model with its key. |
@@ -371,6 +371,7 @@ a:hover{text-decoration-color:var(--guide-accent)}
371
371
  <tbody>
372
372
  <tr><td>This guide</td><td>Setup and how to run</td></tr>
373
373
  <tr><td><a href="../docs/user-guide.html"><code>docs/user-guide.html</code></a></td><td>This guide as one page, with every feature: what it needs, how to ask for it, and its details</td></tr>
374
+ <tr><td><a href="../docs/WEB_APP.md"><code>docs/WEB_APP.md</code></a></td><td>The web app (<code>forgeqe web</code>): setting up, the chat, every page, and Settings</td></tr>
374
375
  <tr><td><a href="../forgeqe-architecture.html"><code>forgeqe-architecture.html</code></a></td><td>Single-view map: subagents, tools, and capabilities</td></tr>
375
376
  <tr><td><a href="../docs/ARCHITECTURE.md"><code>docs/ARCHITECTURE.md</code></a></td><td>Architecture reference: modules, protocols, and loops</td></tr>
376
377
  <tr><td><a href="../README.md"><code>README.md</code></a></td><td>Overview</td></tr>
@@ -455,6 +456,9 @@ forgeqe doctor # checks the engine, the SDK, the agent ru
455
456
  Run SHOP-12 and SHOP-14 from Jira, two browsers at once
456
457
  Write a Playwright test for that run in ../app
457
458
  </code></pre>
459
+ <p>Or in your browser, with the same agents, a page for each kind of work, and every setting as a form:</p>
460
+ <pre><code class="language-bash">forgeqe web # opens http://127.0.0.1:…/#token=… in your browser: start at Settings › Set up
461
+ </code></pre>
458
462
  <p>Without the shell:</p>
459
463
  <pre><code class="language-bash">forgeqe run &quot;Search hotels in Mumbai on booking.com&quot; --plain
460
464
  forgeqe suite cases.yaml --parallel 3 # what pipelines call
@@ -877,6 +881,17 @@ Summary: Show the deployed build in each environment, and why each deployment fa
877
881
  </table></div>
878
882
  <p>In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc cancels, and a mouse click works too. <code>esc stop</code> and <code>ctrl+c close</code> in the bar under the prompt are also clickable. <strong>Stop and close</strong> waits until the browser has shut down and the run's files are saved, then closes ForgeQE.</p>
879
883
  </div></section>
884
+ <section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
885
+ activity, and the results (tests, reports, diffs) as they happen; pages for recording, regression packs, API tests,
886
+ quality, data, runs, reports and schedules; and every setting as a form, with keys kept in your credential store. It
887
+ listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
888
+ <pre><code class="language-bash">forgeqe web # a free port, opened in your browser
889
+ forgeqe web --port 4711 # a fixed port
890
+ forgeqe web --no-open # only print the address
891
+ </code></pre>
892
+ <p>The first page is Settings › Set up: the project folder (an existing clone, or a new folder), ForgeQE in it (the same
893
+ as <code>forgeqe init</code>), what this computer needs, and a model. See <a href="../docs/WEB_APP.md">docs/WEB_APP.md</a> for every page.</p>
894
+ </div></section>
880
895
  </section>
881
896
  <section class="doc" id="doc-how_to_use-4-without-the-shell">
882
897
  <h3>Without the shell</h3>
@@ -1589,6 +1604,34 @@ uat:
1589
1604
  </code></pre>
1590
1605
  <p>ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it (&quot;log in
1591
1606
  as the <code>admin_user</code> of UAT&quot;).</p>
1607
+ <p><strong>Link, import or paste the team's file.</strong> An environment can be read from a YAML file the team keeps elsewhere in the
1608
+ repository, as it is now each run (<code>file:</code>, with this project's <code>description</code> and <code>data</code> added), or converted once
1609
+ into ForgeQE's layout:</p>
1610
+ <pre><code class="language-yaml">environments:
1611
+ qa:
1612
+ file: config/qa-portal.yaml # linked: read every run, any layout; a file of several picks qa from it
1613
+ </code></pre>
1614
+ <pre><code class="language-bash">forgeqe env import config/uat.yaml # shows it in ForgeQE's layout
1615
+ forgeqe env import config/uat.yaml --write # adds it (--name NAME, --replace to overwrite one already there)
1616
+ forgeqe env link qa config/qa-portal.yaml # links it
1617
+ </code></pre>
1618
+ <p>In the shell, <code>/env import config/uat.yaml</code> shows the conversion and <code>/env import config/uat.yaml --write</code> adds it. In
1619
+ the web app, Settings › Environments › Add or Edit has <strong>Paste</strong>, <strong>Import a file</strong> and <strong>Link a project file</strong>. A
1620
+ secret value written in the file is never copied: it is listed so you can move it to an environment variable.</p>
1621
+ <p><strong>Test data per environment.</strong> The same test often needs other rows in each environment: QA's customers are not UAT's.
1622
+ List the files under <code>data:</code> (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder);
1623
+ the tests ForgeQE runs read each one's absolute path from <code>FORGEQE_DATA_&lt;NAME&gt;</code>, and the agents are told to read it
1624
+ from there, never from a fixed path.</p>
1625
+ <pre><code class="language-yaml">environments:
1626
+ qa:
1627
+ data:
1628
+ customers: test-data/qa/customers.csv # FORGEQE_DATA_CUSTOMERS
1629
+ orders: test-data/qa/orders.json # FORGEQE_DATA_ORDERS
1630
+ uat:
1631
+ data:
1632
+ customers: test-data/uat/customers.csv
1633
+ </code></pre>
1634
+ <p><code>forgeqe apps</code> and <code>/env</code> list each environment's data files, and mark one that is not there yet.</p>
1592
1635
  <p>Pick the environment with <code>--env uat</code> on any command (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>monitor</code>, <code>mcp</code>, …) or
1593
1636
  <code>FORGEQE_ENV=uat</code>; otherwise <code>default</code> is used. In the shell, <code>/env</code> lists them and <code>/env uat</code> switches; asked in plain
1594
1637
  language (&quot;from now on, use UAT&quot;), ForgeQE's agent switches with <code>use_environment</code>, and any single request can name an
@@ -1604,7 +1647,7 @@ environment (&quot;run the checkout tests in UAT&quot;): each test tool takes an
1604
1647
  <tr><td>API tests</td><td>Call <code>api_app</code>'s URL</td></tr>
1605
1648
  <tr><td>Desktop agent</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
1606
1649
  <tr><td>Scribe, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_&lt;APP&gt;_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
1607
- <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1650
+ <tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_&lt;APP&gt;_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_&lt;NAME&gt;</code>, <code>FORGEQE_DATA_&lt;NAME&gt;</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
1608
1651
  <tr><td>Reports</td><td>Every run's report names the test environment</td></tr>
1609
1652
  </tbody>
1610
1653
  </table></div>
@@ -4522,12 +4565,18 @@ forgeqe visual approve --page /home # make this run's /home the baseline (asks
4522
4565
  </ul>
4523
4566
  <p>The report goes to the reports folder (<code>export.out_dir</code>, <code>.forgeqe/reports/</code> by default):</p>
4524
4567
  <pre><code>.forgeqe/reports/open-defects-all-projects-20261013-101512/
4525
- report.html # one file: summary, filters, charts, sortable table, Sources
4568
+ report.html # one file: Overview (summary, analytics, charts), the rows (filters, sortable table), Sources
4526
4569
  report.md # the same, to edit, paste into a wiki, or attach
4527
4570
  open-defects.csv # each dataset's rows
4528
4571
  evidence/E1.json # the raw result of each tool call the report used
4529
4572
  </code></pre>
4530
- <p>The page adds filters for the columns that are in the data (Project, State, Type, Priority, Severity, Assigned To, Area, Iteration, …, and other columns with a short list of values). The counts, the charts (click a bar to filter by it), and the table follow the filters, and <strong>Export CSV</strong> saves the rows you filtered. <strong>Sources</strong> lists each tool call, when it ran, and how many rows it gave, with a link to its raw result.</p>
4573
+ <p>The page has three parts in its menu:</p>
4574
+ <ul>
4575
+ <li><strong>Overview</strong>: the summary, then what the data says. When the rows are work items (defects, bugs, tickets), it works out from them: how many are open, critical and high, unassigned (and how many of those are critical or high), their median and oldest age, and how many had no change in 30 days; <strong>Needs someone now</strong>, the critical and high ones with nobody on them or untouched for 30 days; severity by project, who has them (the same person written &quot;Khan, Javed&quot; or &quot;Javed Khan&quot; counted once), how old they are, how many were opened each week, and the most used tags. Other data gets a count by each of its columns. Click a bar to see its rows.</li>
4576
+ <li><strong>The rows</strong> (named after the data, such as Open defects): filters for the columns that are in the data (Project, State, Type, Priority, Severity, Assigned To, Area, Iteration, …, and other columns with a short list of values), a search, a table sorted by any column, 50 rows at a time, and <strong>Export CSV</strong> for the rows you filtered.</li>
4577
+ <li><strong>Sources</strong>: each tool call, when it ran, and how many rows it gave, with a link to its raw result.</li>
4578
+ </ul>
4579
+ <p>The analytics are arithmetic on the rows, worked out in the page; the model writes none of them.</p>
4531
4580
  <p>The chat gets a short summary and a card with the paths as links, and <strong>Open the report</strong> appears as a next step. To post it, ask for it (&quot;post the report to the release channel&quot;) once <code>notify.channels</code> is set up; the reports folder is linked when it is served (<code>notify.report_url</code>).</p>
4532
4581
  </div>
4533
4582
  </section>