@capagents/forgeqe 2.4.5 → 2.4.6

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 (51) hide show
  1. package/HOW_TO_USE.md +21 -1
  2. package/dist/docs-site/docs/index.html +24 -3
  3. package/dist/docs-site/docs/search.js +1 -1
  4. package/dist/docs-site/docs/web-app/index.html +13 -1
  5. package/dist/forgeqe.js +1006 -1044
  6. package/dist/template.html +4 -4
  7. package/dist/web/assets/ApiTests-CNUbGOAY.js +2 -0
  8. package/dist/web/assets/Chat-DU2a1lg2.js +3 -0
  9. package/dist/web/assets/{Data-M-G4Y2k9.js → Data-BMmaUggv.js} +4 -4
  10. package/dist/web/assets/Features-Ciy-CcIJ.js +1 -0
  11. package/dist/web/assets/Jobs-D6siJpbm.js +3 -0
  12. package/dist/web/assets/Quality-BrEGVxJH.js +1 -0
  13. package/dist/web/assets/Record-DrlDedsV.js +1 -0
  14. package/dist/web/assets/Regression-DpRx7yLr.js +2 -0
  15. package/dist/web/assets/Reports-BE4Jg3Pa.js +2 -0
  16. package/dist/web/assets/Response-pcvzCf4S.js +8 -0
  17. package/dist/web/assets/Runs-DemSYbtq.js +2 -0
  18. package/dist/web/assets/{circle-dashed-ODPnEo8f.js → circle-dashed-CEZcCi0T.js} +1 -1
  19. package/dist/web/assets/{external-link-S8aL0KIN.js → external-link-NCKfigiH.js} +1 -1
  20. package/dist/web/assets/{file-chart-column-increasing-D6q2iZ64.js → file-chart-column-increasing-tV7y_ABu.js} +1 -1
  21. package/dist/web/assets/frame-Dq1wC8eF.js +3 -0
  22. package/dist/web/assets/index-C_8DS1Wt.js +26 -0
  23. package/dist/web/assets/index-E1pAbXe5.css +2 -0
  24. package/dist/web/assets/{markdown-4IJa7wkI.js → markdown-BmsRBxB-.js} +8 -8
  25. package/dist/web/assets/{sticky-note-i4oBl2S1.js → sticky-note-CinvvKBc.js} +1 -1
  26. package/dist/web/assets/{terminal-Cb_EtWVl.js → terminal-EkGTrfG9.js} +1 -1
  27. package/dist/web/assets/{trending-up-Cxt0Wl0_.js → trending-up-BLA071mC.js} +1 -1
  28. package/dist/web/index.html +3 -3
  29. package/docs/WEB_APP.md +14 -1
  30. package/docs/user-guide.html +24 -3
  31. package/docs/walkthrough/hotfix-narration.md +752 -0
  32. package/docs/walkthrough/index.html +238 -39
  33. package/forgeqe.example.yaml +12 -0
  34. package/package.json +1 -1
  35. package/prompts/brain.md +1 -0
  36. package/py/forgeqe_mobile/hyperexecute.py +1 -0
  37. package/dist/web/assets/ApiTests-BKeFkLyV.js +0 -2
  38. package/dist/web/assets/Chat-dwxejH0o.js +0 -3
  39. package/dist/web/assets/Features-EJv_T9B8.js +0 -1
  40. package/dist/web/assets/Jobs-5A8NDMou.js +0 -3
  41. package/dist/web/assets/Quality-DIhsU907.js +0 -1
  42. package/dist/web/assets/Record-D7BkDgkZ.js +0 -1
  43. package/dist/web/assets/Regression-CbnOqFND.js +0 -2
  44. package/dist/web/assets/Reports-Duxt7oC1.js +0 -2
  45. package/dist/web/assets/Response-B2lhSJ1u.js +0 -8
  46. package/dist/web/assets/Runs-6M-obw2F.js +0 -2
  47. package/dist/web/assets/frame-pVqMQRrR.js +0 -3
  48. package/dist/web/assets/index-BAI8SJTX.css +0 -2
  49. package/dist/web/assets/index-Cu314_Zs.js +0 -26
  50. package/dist/web/assets/rotate-ccw-BgnQpY8R.js +0 -1
  51. package/dist/web/assets/trash-zYYpxA_X.js +0 -1
@@ -0,0 +1,752 @@
1
+ # Narration: one day to test a production fix
2
+
3
+ A 45-minute script for the walkthrough deck (`docs/walkthrough/index.html`). It tells one story from the first slide
4
+ to the last: **a production bug, a fix that must go out today, and one working day to test it.** The people on the
5
+ team ask the questions; each slide answers one of them; and the ForgeQE agents from the deck's architecture slide do
6
+ the work.
7
+
8
+ Each slide has:
9
+
10
+ - **Story**: where we are in the day and who is asking what,
11
+ - **Say**: your words, written for people who have never used an AI agent,
12
+ - **Hand-off**: the line that carries the room to the next slide.
13
+
14
+ The live acts also have **Type** and **Point at**. The setup in the Live demo slide's speaker notes still applies
15
+ (a dry run of Act 1 before the call, `demo-sites.txt` and `expected-failure.txt` copied from `samples/cases`, a
16
+ Playwright repo made with `npm init playwright@latest demo-app`).
17
+
18
+ ---
19
+
20
+ ## The cast
21
+
22
+ **The people.** You tell their story. You *are* Sam, the tester at the keyboard, so the live demo is Sam's work.
23
+
24
+ | Who | Role | What they want today |
25
+ |---|---|---|
26
+ | **Priya** | QA lead | A plan that fits in one day, with two testers |
27
+ | **Sam** (you) | QA engineer | To test the fix properly without working until midnight |
28
+ | **Lena** | Developer | To find the cause fast and know the fix didn't break anything |
29
+ | **Oliver** | Release manager, not technical | A yes or no at 18:00 that will stand up to questions |
30
+
31
+ **The agent team** (deck slide 2), and when each one works today:
32
+
33
+ | Agent | Its job | Its moment in the day |
34
+ |---|---|---|
35
+ | ForgeQE's agent (the orchestrator) | Turns a request into a plan and hands it out | Every request |
36
+ | Browser agent | Uses the website like a customer | Acts 1, 2, 5 |
37
+ | Explorer | Hunts for bugs beyond the written test cases | Slide 3, around the bug |
38
+ | Defect RCA | Works out why something broke | Slide 3, for Lena |
39
+ | Repo reader | Learns how our team writes tests | Act 4 |
40
+ | Scribe | Writes the automated test | Act 4 |
41
+ | Reviewer | Checks Scribe's test | Act 4 |
42
+ | PR reviewer, Test finder | Review the fix; pick the tests it can break | Slide 3 and Act 5 |
43
+ | Healer | Repairs a test the fix outgrew, or reports a real bug | Act 5 |
44
+ | API planner, API tests | Test what happens behind the screen | Slide 3 |
45
+ | Mobile, Desktop | The phone app and Windows apps | Slide 3 |
46
+ | Eval judge | Grades the agents' own answers | Slide 6 |
47
+
48
+ **The shop.** Sauce Demo plays our shop on screen, and it really has our bug: its `problem_user` account sees the
49
+ wrong product pictures, `standard_user` doesn't. So the bug in the story is a real one ForgeQE really finds.
50
+
51
+ ## Timing
52
+
53
+ | Part | Slides | Minutes | Time in the story |
54
+ |---|---|---|---|
55
+ | The bug lands; meet the team | 1–3 | 7 | 07:45–08:15 |
56
+ | The team's questions answered | 4–7 | 7 | 08:15–08:35 |
57
+ | Get going: setup and the plan | 8–9 | 3 | 08:35–08:55 |
58
+ | Live demo, Acts 1–5 | 10 | 19 | 09:00–14:00 |
59
+ | Acts 6–7 if time, then 18:00 | 10 | 4 | 16:00–18:00 |
60
+ | Questions | 11 | 5 | |
61
+
62
+ Short on time: drop Act 6 and tell Act 7 in one sentence. Acts 1–5 carry the story.
63
+
64
+ ---
65
+
66
+ ## Slide 1. Title: "ForgeQE, from the ground up" (07:45)
67
+
68
+ **Story:** the call comes in.
69
+
70
+ **Say:**
71
+
72
+ > Let me introduce you to a team. Priya runs QA. Lena is a developer. Oliver is the release manager. And Sam, that's
73
+ > me today, is the tester.
74
+ >
75
+ > It's quarter to eight on a Tuesday. Last night's release went out. Support calls Priya: some customers are seeing
76
+ > the wrong product pictures in the shop. They click what looks like a backpack, they get a T-shirt. Not everyone,
77
+ > just some customers. Orders are going wrong and returns are coming in.
78
+ >
79
+ > By eight, Lena has an idea where the problem is: "I'll have a fix by lunch." Oliver says: "Then it goes live
80
+ > tonight. I need a yes or no from QA by six."
81
+ >
82
+ > And Priya does the maths. Testing a fix properly means reproducing the bug, proving the fix, checking nothing else
83
+ > broke on every browser, and writing up whether it's safe. With two testers, that's days. Priya has ten hours.
84
+ >
85
+ > So Priya does what any good lead does when the work is bigger than the team: calls in more team.
86
+
87
+ **Hand-off:**
88
+
89
+ > Let me show you who Priya calls.
90
+
91
+ ---
92
+
93
+ ## Slide 2. Reference architecture: "How ForgeQE works" (08:00)
94
+
95
+ **Story:** Priya meets the rest of the team. It's ForgeQE.
96
+
97
+ **Say:**
98
+
99
+ > This is ForgeQE. Before the boxes and arrows, one idea.
100
+ >
101
+ > You've probably used a chatbot: you ask, it writes an answer. An **AI agent** goes a step further. It doesn't just
102
+ > answer, it **does the work**: it opens a browser, clicks through a website, reads a ticket, writes code and runs
103
+ > tests, with the same tools a person uses.
104
+ >
105
+ > ForgeQE isn't one agent. It's a **QA team**, and that's what this slide shows.
106
+ >
107
+ > In the middle is the **lead**, ForgeQE's agent. Sam asks for something in plain English; the lead turns it into a
108
+ > plan and hands the work out.
109
+ >
110
+ > Around it are **15 specialists**. Let me cast them in today's story:
111
+ >
112
+ > - The **browser agent** will reproduce the bug, clicking through the shop exactly like a customer. The **mobile**
113
+ > and **desktop** agents do the same on phones and Windows apps.
114
+ > - The **explorer** will hunt around the bug for anything else that's broken.
115
+ > - **Defect RCA**, the detective, will help Lena work out *why* it broke.
116
+ > - The **repo reader**, **Scribe** and the **reviewer** will turn our checks into automated tests, written the way
117
+ > our team writes them.
118
+ > - The **PR reviewer** and the **test finder** will look at Lena's fix when it arrives and pick the tests it could
119
+ > break. The **healer** repairs any test the fix outgrows.
120
+ > - The **API planner** and **API tests** check what happens behind the screen, between the shop and its servers.
121
+ >
122
+ > And at the centre, **project memory**. Think of it as the team's shared notebook. Every agent reads it before it
123
+ > starts and writes down what it learned when it's done: every page of the shop, every button, every flow. So the
124
+ > second time anyone does something, it's faster and cheaper. Keep the notebook in mind: it saves Sam's afternoon.
125
+ >
126
+ > Sixteen agents, four engines for browsers, Windows apps, phones and databases, and twenty systems it can read from.
127
+ > Priya just went from two testers to a department.
128
+
129
+ **Hand-off:**
130
+
131
+ > Oliver isn't impressed by headcount, and asks the release manager's question: "Fine. What can they actually get
132
+ > done today?"
133
+
134
+ ---
135
+
136
+ ## Slide 3. Features: "Every way to test, from one request" (08:10)
137
+
138
+ **Story:** Priya walks Oliver through the day's checklist. Every corner of the slide is a job for today.
139
+
140
+ **Say:**
141
+
142
+ > Priya answers with this slide. Four things ForgeQE does best, and each one is a line on today's plan.
143
+ >
144
+ > **One: it learns the product first.** Before anyone clicks anything, it reads the story, the wiki, the code and
145
+ > the rules our team wrote down, and turns them into test cases. So when Sam says "check the product pictures", it
146
+ > already knows what correct looks like. And the **explorer** uses the same knowledge to go looking around the bug:
147
+ > other accounts, other pages, the back button, a refresh.
148
+ >
149
+ > **Two: one run checks everything.** When the browser agent tests a page, the same run also checks accessibility,
150
+ > can someone with a screen reader use it, how fast it loads, and whether the page *looks* different from the
151
+ > approved version. Today that last one matters a lot: our bug is literally "the pictures are wrong."
152
+ >
153
+ > **Three: it proves its own work.** When Lena's fix arrives as a code change, the PR reviewer and the test finder
154
+ > work out which tests that change can actually break. On the slide, 6 out of 214. So we don't spend a day running
155
+ > everything; we run what matters in minutes. And nothing counts as passed unless it passed in a real run.
156
+ >
157
+ > **Four: it runs on GitHub Copilot.** If you have a Copilot seat, you already have what it needs. No new AI
158
+ > account, no key to request on a day like today.
159
+ >
160
+ > And around them, the rest of the day's checklist: **Defect RCA** for Lena's "why", **self-healing** when the fix
161
+ > renames a button, **memory replay** for retesting, **flaky tests** spotted for what they are, **regression
162
+ > packs**, **monitoring** after release, and a **release verdict** for Oliver at six.
163
+
164
+ **Hand-off:**
165
+
166
+ > Lena has been listening, and is worried about something else: "Please tell me I don't have to learn a new tool
167
+ > today."
168
+
169
+ ---
170
+
171
+ ## Slide 4. Integrations: "Plugs into the stack you already run" (08:15)
172
+
173
+ **Story:** Lena and Priya check it works with their tools.
174
+
175
+ **Say:**
176
+
177
+ > No new tool. Every logo here is something a team already uses.
178
+ >
179
+ > The bug ticket stays in **Azure DevOps** or **Jira**, and so do our test cases, or in Xray, TestRail, Zephyr,
180
+ > qTest. The results go back there automatically. Our tests stay in **Playwright**, in **our** repository. Our
181
+ > pipelines stay in **GitHub Actions** or **Azure Pipelines**. It drives **Chrome** on Sam's laptop, or browser and
182
+ > device clouds like BrowserStack and TestMu AI, phones through **Appium** and **Maestro**, and fake versions of
183
+ > other systems in **Docker** with **WireMock** when a partner's test environment is down. Alerts go to **Teams** or
184
+ > email.
185
+ >
186
+ > And for Lena specifically: if Lena writes code with **Claude Code, Cursor or Codex**, those assistants can call
187
+ > ForgeQE directly. Lena can ask it to test the fix without leaving the editor.
188
+ >
189
+ > So today nobody moves into a new tool. ForgeQE comes to where the team already works.
190
+
191
+ **Hand-off:**
192
+
193
+ > Oliver isn't technical, and wants to understand one thing before trusting it: "What actually happens
194
+ > when Sam asks it something?"
195
+
196
+ ---
197
+
198
+ ## Slide 5. How it works: "From one command to a passing test" (08:20)
199
+
200
+ **Story:** we follow Sam's first request of the day through the system.
201
+
202
+ **Say:**
203
+
204
+ > Let's follow Sam's first request: "Check customers can sign in and see the products." Follow the dots from left
205
+ > to right.
206
+ >
207
+ > Sam can ask three ways: in a chat-style shell, as a single command, or a pipeline asks automatically. Today Sam
208
+ > uses the shell.
209
+ >
210
+ > The request reaches ForgeQE on Sam's own laptop. The lead agent plans it and hands it to the **browser agent**,
211
+ > which starts the browser engine. That opens Chrome and uses the shop just like a customer, and reports every step
212
+ > back as it goes.
213
+ >
214
+ > Everything the run did lands in a folder on disk: screenshots, results, a report. And when a run passes, **Scribe**
215
+ > can turn it into an automated test in our repository.
216
+ >
217
+ > Three things on the bottom of the slide, for Oliver: **no server and no database**, it runs on Sam's laptop. Its
218
+ > tools **only listen on that laptop**, behind a random key. And **only two agents can change files in our repo**,
219
+ > Scribe and the healer. Every other agent only reads.
220
+
221
+ **Hand-off:**
222
+
223
+ > Oliver nods, then asks the question that matters most to a release manager: "At six o'clock, how do I know a pass
224
+ > is a real pass, and not the AI being optimistic?"
225
+
226
+ ---
227
+
228
+ ## Slide 6. Key ideas: "Why you can trust every run" (08:25)
229
+
230
+ **Story:** Priya answers Oliver. Each box is a reason Oliver can sign off tonight.
231
+
232
+ **Say:**
233
+
234
+ > Six reasons, and Oliver can check every one.
235
+ >
236
+ > **Recorded checks.** Look at the little table. For every step, ForgeQE writes down what was *expected* and the
237
+ > *exact text it found* on the page, with a screenshot. A pass is evidence Oliver can read directly, not the AI's
238
+ > opinion. And the **eval judge** grades the agents' own answers, so the team knows the agents themselves are doing a
239
+ > good job.
240
+ >
241
+ > **Page memory.** That's the team notebook. Every button, with several ways to find it and a confidence score. If
242
+ > Lena's fix renames a button, the test finds it another way instead of failing for no reason. And a check that
243
+ > passed before can replay **without calling the AI at all**.
244
+ >
245
+ > **Guardrails.** The team's rules, in plain English: "never open a production URL", "only use the test cards". Every
246
+ > agent follows them, whatever a ticket or a web page says. Priya will add one this afternoon.
247
+ >
248
+ > **Skills.** Playbooks that teach the agents how *our* team writes tests and how *our* apps work. Written once.
249
+ >
250
+ > **Environments.** The same tests on dev, QA or UAT, by switching a name. Today: test the fix on QA, then the same
251
+ > tests on UAT.
252
+ >
253
+ > **Hidden logins.** The AI never sees a password. It sees a placeholder; the real one goes straight into the
254
+ > browser.
255
+ >
256
+ > And honestly, what it doesn't do: load testing and penetration testing.
257
+
258
+ **Hand-off:**
259
+
260
+ > Lena has a sharper worry: "These agents read our tickets and web pages. What if someone hides an instruction in a
261
+ > ticket, 'push this to main'? What stops it?"
262
+
263
+ ---
264
+
265
+ ## Slide 7. Safety: "Refused in code, not left to the prompt" (08:30)
266
+
267
+ **Story:** Lena's question, answered.
268
+
269
+ **Say:**
270
+
271
+ > Lena's right to ask. Agents read text other people wrote, and someone could hide an instruction in it. So the
272
+ > important limits aren't requests to the AI to behave. They're **built into ForgeQE**, so the AI simply can't do
273
+ > them, however it's asked:
274
+ >
275
+ > - It can't run any command it likes: anything outside a strict allowed list is shown to Sam first.
276
+ > - It can't push to main, and never overwrites history.
277
+ > - No passwords in the AI, ever.
278
+ > - It can't change data through an API, only read.
279
+ > - It won't attach hidden files or credential files to a ticket.
280
+ > - Reports never contain raw code from the AI or a tracker.
281
+ >
282
+ > And that matters most on a day like today. At five o'clock, under pressure, people cut corners. ForgeQE can't.
283
+
284
+ **Hand-off:**
285
+
286
+ > Priya's convinced. "Let's start." One problem: Sam doesn't even have it installed yet.
287
+
288
+ ---
289
+
290
+ ## Slide 8. Setup: "Running in three steps" (08:35)
291
+
292
+ **Story:** Sam installs it while Priya writes the plan.
293
+
294
+ **Say:**
295
+
296
+ > Sam needs about three minutes. One: install one package. Two: connect a model, Sam signs in with the team's
297
+ > Copilot seat. Three: `forgeqe init` and `forgeqe start`. The first run downloads everything else by itself.
298
+ >
299
+ > No admin rights, no server, no database. On a hotfix day, nobody raises an IT ticket and waits.
300
+ >
301
+ > And `forgeqe init` creates a folder with the team's prompts, skills, knowledge and guardrails. That's how Priya's
302
+ > team shapes the agents, and they commit it so everyone's agents behave the same way.
303
+
304
+ **Hand-off:**
305
+
306
+ > While Sam installs, Priya puts the plan for the day on the whiteboard.
307
+
308
+ ---
309
+
310
+ ## Slide 9. Demo agenda: "What you'll see today" (08:45)
311
+
312
+ **Story:** Priya's whiteboard. Each act has a person who asks and an agent who does it.
313
+
314
+ **Say:**
315
+
316
+ > This is Priya's plan. Seven steps, each one building on the last, each one a person asking and an agent doing.
317
+ >
318
+ > - **09:00, Act 1.** Oliver asks: "Is the shop even working?" Sam asks the browser agent, in one sentence.
319
+ > - **09:30, Act 2.** Priya asks: "Can we reproduce it?" Sam runs our test cases on three browsers at once.
320
+ > - **10:00, Act 3.** Lena asks: "Show me exactly what the customer sees." One report.
321
+ > - **11:00, Act 4.** Priya says: "Make sure this can never come back unnoticed." Scribe writes the automated test.
322
+ > - **14:00, Act 5.** Lena says: "The fix is in." Sam retests from the team notebook, the memory.
323
+ > - **16:00, Act 6, if we have time.** Priya adds a team rule before testing near real payments.
324
+ > - **17:30, Act 7, if we have time.** Oliver's release pipeline runs the same tests by itself.
325
+ >
326
+ > On screen, Sauce Demo plays our shop, and it really has our bug. Everything runs on public practice sites, so
327
+ > nothing here touches a real system.
328
+
329
+ **Hand-off:**
330
+
331
+ > Sam's install has finished. It's nine o'clock. Let's go.
332
+
333
+ ---
334
+
335
+ ## Slide 10. Live demo: "Let's see it run" (09:00–18:00)
336
+
337
+ Leave the slide up and switch to the terminal. Before each act, say the time and who is asking.
338
+
339
+ ### Act 1. 09:00 Oliver: "Is the shop even working?"
340
+
341
+ **Story:** before anything else, Oliver needs to know how bad it is.
342
+
343
+ **Say:**
344
+
345
+ > Nine o'clock. Oliver's first question: is the shop down, or is it something smaller? Normally Sam opens a browser
346
+ > and clicks around. Today Sam asks the team, in one sentence.
347
+
348
+ **Type** (after `forgeqe start --repo ../demo-app` and `/headed on`):
349
+
350
+ > Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed
351
+
352
+ **While it runs, say:**
353
+
354
+ > I didn't write a script, pick a mode or say which buttons to press. I said what a customer does and what should
355
+ > happen. The lead agent passed it to the **browser agent**, and that's it working, on the right: find the username,
356
+ > type, find the password, sign in, count the products. After each step it checks that what should happen did.
357
+
358
+ **Point at** the redacted password:
359
+
360
+ > And the password has been turned into a saved login and hidden. The AI never saw it. That's slide 6, live.
361
+
362
+ **When it finishes, say:**
363
+
364
+ > Six products. A normal customer can sign in and shop. So the shop isn't down. It's something narrower, which
365
+ > matches what support said: *some* customers. Oliver can breathe a little.
366
+
367
+ **Hand-off:**
368
+
369
+ > And the browser agent wrote the shop's pages into the notebook as it went. Priya's next question: "Can we see the
370
+ > bug ourselves?"
371
+
372
+ *If it stalls: Esc or `/stop`, then `/details on`.*
373
+
374
+ ---
375
+
376
+ ### Act 2. 09:30 Priya: "Can we reproduce it?"
377
+
378
+ **Story:** Priya wants proof, on more than one browser, before anyone touches the code.
379
+
380
+ **Say:**
381
+
382
+ > We already have test cases for the shop, written in plain English like any tester writes them. *(Optionally show
383
+ > `demo-sites.txt` for a few seconds.)* One of them checks that a different kind of customer sees the right product
384
+ > pictures. Sam runs them all, on three browsers at once.
385
+
386
+ **Type:**
387
+
388
+ > Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them
389
+
390
+ **While it runs, say:**
391
+
392
+ > Three browsers at once: think of it as three testers working in parallel. Every case gets a verdict, and so does
393
+ > every step inside it: passed, failed or not run, with what the page actually showed.
394
+
395
+ **When results come in, say:**
396
+
397
+ > There it is. *(Point at the problem_user case.)* **Bug reproduced.** Sign in as this customer and the pictures
398
+ > don't match the product names. Same shop, same products: the normal customer passes, this one fails. That's
399
+ > support's "only some customers", and now Priya has proof.
400
+ >
401
+ > There's a second red one. *(Point at Books to Scrape.)* The test case says the price should be £10.00; the page
402
+ > shows £51.77. ForgeQE doesn't decide who's wrong. It shows exactly what it expected and what it found. Here the
403
+ > *test case* is wrong, the book really is £51.77, and Sam sees that in two seconds. On a hotfix day, that's the
404
+ > difference between chasing a ghost for an hour and moving on.
405
+ >
406
+ > Everything else passed: sign-in, checkout, sorting, the error messages. So the bug is narrow. Priya has a better
407
+ > picture at half past nine than most teams have at lunch.
408
+
409
+ **Point out:** these cases could come straight from Azure DevOps, Jira, Xray or TestRail, with results posted back
410
+ there. With bug filing on, each failure becomes a bug with steps and a screenshot, and a repeat failure adds "still
411
+ failing" to the same bug instead of a duplicate. From here, **Defect RCA** can give Lena its best guess at the
412
+ cause, with how confident it is.
413
+
414
+ **Hand-off:**
415
+
416
+ > Lena walks over: "Great, it's broken. Now show me *exactly* what the customer sees."
417
+
418
+ *Skip a site that is down.*
419
+
420
+ ---
421
+
422
+ ### Act 3. 10:00 Lena: "Show me exactly what the customer sees."
423
+
424
+ **Story:** Lena needs evidence to fix it; Oliver needs a summary. One file does both.
425
+
426
+ **Open** `.forgeqe/reports/suites/<time>/report.html` (backup: `samples/reports/nightly/20260929-020005/report.html`).
427
+
428
+ **Say, walking through it:**
429
+
430
+ > **The overview**, for Oliver: how many passed, how many failed, how long it took.
431
+ >
432
+ > **The failing case**, for Lena: *(open the problem_user case)* every step, its screenshot, what was expected and
433
+ > what was found. Lena sees the bug without having to reproduce it. This goes straight onto the bug ticket.
434
+ >
435
+ > **Accessibility**, for free: every page was also checked against accessibility standards. Nobody asked; it comes
436
+ > with every run. If the fix breaks the shop for keyboard users, it shows up here.
437
+ >
438
+ > **Cost**: *(the Tokenomics section)* exactly what this run cost in AI usage. Priya won't get a surprise bill.
439
+ >
440
+ > It's one HTML file with the screenshots inside. Attach it, email it, open it from disk. No login, no server.
441
+
442
+ **Hand-off:**
443
+
444
+ > Lena goes off to fix it. And Priya says the thing every QA lead says after a production bug: "This must never come
445
+ > back without us noticing."
446
+
447
+ ---
448
+
449
+ ### Act 4. 11:00 Priya: "This must never come back unnoticed."
450
+
451
+ **Story:** turn a check into an automated test in the team's own repo. Usually that's an automation engineer's
452
+ afternoon. Today it's three agents working as a relay.
453
+
454
+ **Say:**
455
+
456
+ > The answer is an **automated test** in our repository, one that runs on every release from now on. Watch the
457
+ > relay between three agents.
458
+
459
+ **Type:**
460
+
461
+ > Write a Playwright test for the Sauce Demo sign-in run
462
+
463
+ **While it runs, say:**
464
+
465
+ > First the **repo reader** studies our repository: how this team writes tests, its helpers, its style. Like a new
466
+ > team member reading the codebase before writing a line.
467
+ >
468
+ > Then **Scribe** writes the test, using the buttons it finds in the notebook, the page memory, and the checks the
469
+ > browser agent recorded in Act 1.
470
+ >
471
+ > Then ForgeQE **runs the test until it passes**, and the **reviewer** checks it. Priya doesn't get a test that
472
+ > "should work". Priya gets one that did.
473
+
474
+ **Open the spec, saying:**
475
+
476
+ > Ordinary Playwright code, in our repository. It runs without ForgeQE: if we stopped using ForgeQE tomorrow, the
477
+ > test stays and still works. And it reads the shop's address from the environment, so it runs on QA today and UAT
478
+ > tomorrow.
479
+ >
480
+ > For the bug, Sam does exactly the same with the problem-pictures case. That test fails today, and turns green the
481
+ > moment Lena's fix works. That's how the team will *know* the fix works, not hope.
482
+
483
+ *Backup: `samples/reports/single-run-login/forgeqe.spec.ts`.*
484
+
485
+ **Hand-off:**
486
+
487
+ > Lunch. And at two o'clock, a message from Lena: "Fix is deployed to QA."
488
+
489
+ ---
490
+
491
+ ### Act 5. 14:00 Lena: "The fix is in."
492
+
493
+ **Story:** now Sam retests, probably several times this afternoon, every time Lena tweaks something. This is where
494
+ testing usually eats the day, and where the notebook pays off.
495
+
496
+ **Say:**
497
+
498
+ > Remember the notebook at the centre of the architecture slide? Let's open it.
499
+
500
+ **Type:**
501
+
502
+ ```bash
503
+ forgeqe memory show saucedemo.com --locators
504
+ ```
505
+
506
+ **Say:**
507
+
508
+ > Every button and field the team has seen on this shop, every way to find each one, with a confidence score. The
509
+ > login button: by its test id, 98%; by its role; by its CSS; by its text. If Lena's fix renamed a button, the
510
+ > agents just use the next way, and if a test really did outgrow the app, the **healer** updates it, or reports a
511
+ > real bug and never weakens the test.
512
+
513
+ **Repeat Act 1**, then **compare the two summary cards**, saying:
514
+
515
+ > Same request as nine o'clock. Look at the two cards side by side. *(Read out the time and cost from each.)* The
516
+ > second run replayed from the notebook and barely needed the AI. Faster, and a fraction of the cost.
517
+ >
518
+ > That's what makes retesting all afternoon possible: the first run explores, every run after replays.
519
+
520
+ **Point out:** in real life Lena's fix arrives as a pull request. The **PR reviewer** reviews it against the story,
521
+ the **test finder** picks only the tests the change can break (the 6 of 214 on slide 3), and a **regression pack**
522
+ picks the tests for the whole release from its stories.
523
+
524
+ **Hand-off:**
525
+
526
+ > The fix holds on QA. Priya wants one more check before signing off: the same tests on pre-production. But
527
+ > pre-production is wired to a real payment provider.
528
+
529
+ ---
530
+
531
+ ### Act 6 (if time). 16:00 Priya: "Nobody places a real order."
532
+
533
+ **Story:** before testing near real payments, Priya adds a team rule.
534
+
535
+ **Say:**
536
+
537
+ > Pre-production talks to real payments. Nobody wants an agent placing a real order at four o'clock. So Priya adds a
538
+ > team rule, in plain English, the guardrails from slide 6.
539
+
540
+ **Type:**
541
+
542
+ > Add a guardrail: never press Finish on a checkout page
543
+
544
+ **Then run the backpack checkout case, and say as it stops:**
545
+
546
+ > It went through the checkout, reached the last button, and **stopped**, and it names the rule that stopped it.
547
+ > Priya's rule beats whatever a test case, a ticket or a web page tells the agents to do.
548
+
549
+ *Remove it afterwards with `forgeqe guardrails`.*
550
+
551
+ **Hand-off:**
552
+
553
+ > Half past five. Oliver's turn.
554
+
555
+ ---
556
+
557
+ ### Act 7 (if time). 17:30 Oliver: "And next time, without Sam."
558
+
559
+ **Story:** Oliver wants the release pipeline to run the same tests by itself and block a bad release.
560
+
561
+ **Say:**
562
+
563
+ > Oliver doesn't want this to depend on Sam's laptop next time. The pipeline should run the same tests, the same
564
+ > way, every time, with no AI choosing anything, and stop the release if one fails.
565
+
566
+ **Type:**
567
+
568
+ ```bash
569
+ forgeqe suite demo-sites.txt --parallel 3 --no-code --plain
570
+ echo $?
571
+ ```
572
+
573
+ **Say:**
574
+
575
+ > That number at the end is the **exit code**: zero means pass, anything else stops the release. That's the
576
+ > language pipelines speak. *(Or ask ForgeQE to write a GitHub Actions workflow and show the file.)*
577
+ >
578
+ > And after release, the same checks can run every 15 minutes against the live shop, replayed from the notebook so
579
+ > they're cheap, and post to the team's Teams channel if the shop breaks at three in the morning.
580
+
581
+ **Hand-off:**
582
+
583
+ > It's six o'clock. Oliver asks the question.
584
+
585
+ ---
586
+
587
+ ### 18:00 Wrap-up (stay on the Live demo slide)
588
+
589
+ **Story:** go/no-go.
590
+
591
+ **Say:**
592
+
593
+ > "Can we ship?" And Priya has an answer with evidence behind every word.
594
+ >
595
+ > At nine, the browser agent showed the shop worked for normal customers. At half nine, we reproduced the bug for
596
+ > the affected customers, on three browsers, with proof. At ten, Lena had a report showing exactly what the customer
597
+ > sees. At eleven, the repo reader, Scribe and the reviewer locked the check into an automated test in our own repo.
598
+ > All afternoon, Sam retested Lena's fix from the notebook in a fraction of the time. Priya's guardrail kept the
599
+ > agents away from real orders. And now Oliver's pipeline guards every release after this one.
600
+ >
601
+ > Oliver says **go**.
602
+ >
603
+ > Notice who made every decision today: Priya decided what to test, Sam decided which failure was a real bug and
604
+ > which was a wrong test case, Lena fixed the code, Oliver decided to ship. The agents did the clicking, the typing,
605
+ > the re-checking and the paperwork.
606
+ >
607
+ > **That's the shift: testers stop being the bottleneck and become the people who decide.**
608
+
609
+ **Hand-off:**
610
+
611
+ > Questions.
612
+
613
+ ---
614
+
615
+ ## Slide 11. Questions
616
+
617
+ **Say:**
618
+
619
+ > The fix is live and the team knows it works. Ask anything: models, cost, data, our framework, what it doesn't do.
620
+ > To try it yourself: one install, `forgeqe init`, and `forgeqe docs --guide`.
621
+
622
+ **Likely questions**, answered through the cast where it helps:
623
+
624
+ | Question | Answer |
625
+ |---|---|
626
+ | Will it replace testers? | No. In the story every decision was a person's: Priya's, Sam's, Lena's, Oliver's. Anything that changes something outside ForgeQE waits for a yes. |
627
+ | What if the AI is wrong? | Every step records what was expected and what was found, with a screenshot, so you check evidence, not the AI's word. Scribe's tests must pass a real run and the reviewer. |
628
+ | Does it replace our framework? | No. Scribe writes tests in the framework we use, with our page objects, and they run without ForgeQE. |
629
+ | What does it cost? | The report shows cost per case; budgets warn at 80, 90 and 100%; replays from memory cut repeat runs to one AI call or none. With a Copilot seat there's no separate key. |
630
+ | Where does our data go? | To our AI model, the sites under test and the systems we connect. No telemetry. Passwords never reach the model. |
631
+ | What if the app changes? | `forgeqe heal` updates outdated tests from the live app, or reports a real bug. Nothing is skipped or loosened. |
632
+ | SSO or captchas? | `forgeqe login`: sign in once by hand, and later runs reuse the session. |
633
+ | Phones and desktop apps? | Yes: the mobile agent drives Android and iOS through Appium or Maestro, the desktop agent drives Windows apps. Same plain-English requests. |
634
+ | What doesn't it do? | Load or stress testing with many users, and penetration testing. |
635
+
636
+ ---
637
+
638
+ ## Prompt sheet
639
+
640
+ Every prompt for the demo in one place, in the order you use them. Print this page or keep it on a second screen.
641
+ Lines in a box are typed into the ForgeQE shell; lines marked `bash` go in a terminal.
642
+
643
+ ### Before the call (the evening before)
644
+
645
+ ```bash
646
+ npm install -g @capagents/forgeqe
647
+ ```
648
+
649
+ ```bash
650
+ forgeqe auth login copilot
651
+ ```
652
+
653
+ ```bash
654
+ npm init playwright@latest demo-app
655
+ ```
656
+
657
+ ```bash
658
+ mkdir demo && cd demo && forgeqe init
659
+ ```
660
+
661
+ ```bash
662
+ cp <path-to-repo>/ForgeQE/samples/cases/demo-sites.txt <path-to-repo>/ForgeQE/samples/cases/expected-failure.txt .
663
+ ```
664
+
665
+ Then do a full dry run of Acts 1 and 2 (it fills page memory for Act 5) and check every site in `demo-sites.txt`
666
+ loads.
667
+
668
+ ### Live: the core acts
669
+
670
+ | Act | Story beat | Type exactly |
671
+ |---|---|---|
672
+ | start | Sam opens ForgeQE | `forgeqe start --repo ../demo-app` (terminal), then `/headed on` |
673
+ | 1 | Oliver: "Is the shop even working?" | `Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed` |
674
+ | 2 | Priya: "Can we reproduce it?" | `Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them` |
675
+ | 2, follow-up | Sam asks about the red case | `Why did the problem_user case fail? Show me what the page showed at that step.` |
676
+ | 3 | Lena: "Show me what the customer sees" | open `.forgeqe/reports/suites/<time>/report.html` |
677
+ | 3, follow-up | Lena asks about accessibility | `Which accessibility issues did that run find, and on which pages?` |
678
+ | 4 | Priya: "Never again unnoticed" | `Write a Playwright test for the Sauce Demo sign-in run` |
679
+ | 4, the bug's own test (rehearse first) | the same, for the bug | `Write a Playwright test for the problem_user product images case. It should fail until the images are fixed.` |
680
+ | 5 | Lena: "The fix is in" | `forgeqe memory show saucedemo.com --locators` (terminal), then Act 1's prompt again |
681
+ | 5, follow-up | Oliver: "Was it cheaper?" | `Compare the last two Sauce Demo sign-in runs: time, model calls and cost.` |
682
+ | 6 | Priya: "No real orders" | `Add a guardrail: never press Finish on a checkout page`, then `Run the case "Sauce Demo: buy a backpack from cart to confirmation" from demo-sites.txt` |
683
+ | 6, clean-up | | `forgeqe guardrails` (terminal), remove the rule |
684
+ | 7 | Oliver: "Next time, without Sam" | `forgeqe suite demo-sites.txt --parallel 3 --no-code --plain` then `echo $?` (terminal) |
685
+ | 7, alternative | the pipeline file | `Add a GitHub Actions workflow to demo-app that runs the cases in demo-sites.txt on every pull request and publishes the report` |
686
+
687
+ ### Live: extras if the room wants more (rehearse before using)
688
+
689
+ These run on the same public sites and fit the story, but take longer or vary more, so try each one the evening
690
+ before.
691
+
692
+ | Feature | Story beat | Type |
693
+ |---|---|---|
694
+ | Explorer | Priya: "What else is broken around this?" | `Explore this story on https://www.saucedemo.com and don't change any data. "Product pictures: every customer sees the right picture for each product, on the product list and on the product page." Sign in as standard_user and as problem_user, both with password secret_sauce.` |
695
+ | Visual check | "The pictures are wrong": the screenshot comparison | `forgeqe visual` (terminal) after two runs of the same page |
696
+ | Memory savings | Oliver: "How much did memory save us?" | `forgeqe memory stats` (terminal) |
697
+ | Test cases from a story | Priya: "Write the cases for the bug" | `Write test cases for this story: "Every customer sees the right picture for each product on saucedemo.com." Save them to product-pictures.txt.` |
698
+
699
+ The explorer plans about six charters and runs each in a browser, with a second run for a possible defect, so it
700
+ takes several minutes. Start it, keep talking through slide 3's list, and come back to the result.
701
+
702
+ ### Say, don't run: the same day on our real project
703
+
704
+ These need our tracker, repositories and pipelines, so don't run them in the demo. Say them out loud at the point
705
+ in the story where they belong, to show what Sam, Lena or Priya would type on a real hotfix day.
706
+
707
+ | Story beat | Who | What they would type |
708
+ |---|---|---|
709
+ | 08:00, after Act 2 | Sam | `Bug 4512 is a Sev-1 on product images. Reproduce it on qa signed in as the affected customer and attach the evidence to the bug.` |
710
+ | 10:00, after Act 3 | Lena | `What is the likely cause of bug 4512? The product code is in ../shop-web.` |
711
+ | 10:30 | Priya | `Explore story 4498 on qa. Focus on product images for every customer type. Don't change any data.` |
712
+ | 13:00, after Act 4 | Lena | `Review PR 871 against story 4498's acceptance criteria, and tell me which tests and manual cases it can break.` |
713
+ | 14:00, after Act 5 | Sam | `Run the tests PR 871 can break. If one fails because the app changed on purpose, heal it; if it's a real bug, report it.` |
714
+ | 15:00 | Priya | `Build a regression pack for this release and run it. Retry failures once and tell me which are flaky.` |
715
+ | 17:00 | Oliver | `Are we ready to release the fix for bug 4512? Include open bugs, untested stories and flaky tests. Publish it to the wiki and tell the QA channel.` |
716
+ | 18:00, after Act 7 | Priya | `Monitor the shop's smoke cases on production every 15 minutes and alert the QA channel if one keeps failing.` |
717
+
718
+ The numbers (4512, 4498, 871, `../shop-web`) are placeholders: swap in a real bug, story and PR from your own
719
+ tracker if you want the room to recognise them.
720
+
721
+ ### If something goes wrong live
722
+
723
+ | Problem | What to do |
724
+ |---|---|
725
+ | A run stalls | Press Esc or type `/stop`, then `/details on` and run it again |
726
+ | A site is down | `Run the cases in demo-sites.txt except the Books to Scrape ones` and say "a real tester would skip it too" |
727
+ | Act 2 is slow | Keep talking about step verdicts; or open the backup report `samples/reports/nightly/20260929-020005/report.html` |
728
+ | Scribe takes too long in Act 4 | Open the backup `samples/reports/single-run-login/forgeqe.spec.ts` and walk through it |
729
+ | Act 5 doesn't replay from memory | Say "this is the run that fills the notebook" and run it once more |
730
+
731
+ ## Before tomorrow
732
+
733
+ - **Rehearse Acts 1 and 2 tonight.** It fills the page memory that Act 5 relies on.
734
+ - **Act 4 for the bug itself:** the script uses the sign-in run (as the deck does) and tells the bug's test in words.
735
+ To show it live, ask instead: "Write a Playwright test for the problem_user product images case", and rehearse it
736
+ first, since that test is meant to fail until the fix.
737
+ - **Read real numbers in Act 5** from the two summary cards. The times in the story (09:00, 14:00 …) are the story's
738
+ clock, not measurements.
739
+
740
+ ## Words to explain if the room looks lost
741
+
742
+ | Word | Plain version |
743
+ |---|---|
744
+ | AI agent | An AI that does tasks with tools, not just answers questions |
745
+ | Test case | A written list of steps and what should happen |
746
+ | Automated test | A test the computer runs by itself, every release |
747
+ | Regression | Checking that what used to work still works |
748
+ | Pull request | A proposed code change waiting for approval |
749
+ | Pipeline | The automatic checks that run whenever code changes or is released |
750
+ | Page memory | The team notebook: every button and field it has seen, and several ways to find each |
751
+ | Flaky test | A test that sometimes fails for no real reason |
752
+ | Guardrail | A team rule every agent must follow |