@capagents/forgeqe 2.4.5 → 2.4.7

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 (52) 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 +19 -3
  5. package/dist/forgeqe.js +1006 -1044
  6. package/dist/template.html +4 -4
  7. package/dist/web/assets/ApiTests-D5YLst-t.js +2 -0
  8. package/dist/web/assets/Chat-DUZawyA0.js +3 -0
  9. package/dist/web/assets/{Data-M-G4Y2k9.js → Data-BOu8BrmB.js} +4 -4
  10. package/dist/web/assets/Features-BCBzUoB7.js +1 -0
  11. package/dist/web/assets/Jobs-C-Tqj504.js +3 -0
  12. package/dist/web/assets/Quality-CzCArgrj.js +1 -0
  13. package/dist/web/assets/Record-CcHMCfs6.js +1 -0
  14. package/dist/web/assets/Regression-CgiNh2hj.js +2 -0
  15. package/dist/web/assets/Reports-CXRY0udx.js +2 -0
  16. package/dist/web/assets/Response-VUbDhVeF.js +8 -0
  17. package/dist/web/assets/Runs-kghxBY8X.js +2 -0
  18. package/dist/web/assets/capgemini-BO8ajcbd.svg +21 -0
  19. package/dist/web/assets/{circle-dashed-ODPnEo8f.js → circle-dashed-CQKCycSk.js} +1 -1
  20. package/dist/web/assets/{external-link-S8aL0KIN.js → external-link-B45wnQ3R.js} +1 -1
  21. package/dist/web/assets/{file-chart-column-increasing-D6q2iZ64.js → file-chart-column-increasing-9rCBQxTk.js} +1 -1
  22. package/dist/web/assets/frame-CHQgOaj6.js +3 -0
  23. package/dist/web/assets/index-CwX6YH3i.css +2 -0
  24. package/dist/web/assets/index-Hd8gmpz5.js +26 -0
  25. package/dist/web/assets/{markdown-4IJa7wkI.js → markdown-BPBR6Fva.js} +7 -7
  26. package/dist/web/assets/{sticky-note-i4oBl2S1.js → sticky-note-D_lJfPYH.js} +1 -1
  27. package/dist/web/assets/{terminal-Cb_EtWVl.js → terminal-BZSHVR9y.js} +1 -1
  28. package/dist/web/assets/{trending-up-Cxt0Wl0_.js → trending-up-Bypj2D7Z.js} +1 -1
  29. package/dist/web/index.html +3 -3
  30. package/docs/WEB_APP.md +20 -3
  31. package/docs/user-guide.html +24 -3
  32. package/docs/walkthrough/hotfix-narration.md +606 -0
  33. package/docs/walkthrough/index.html +238 -39
  34. package/forgeqe.example.yaml +13 -0
  35. package/package.json +1 -1
  36. package/prompts/brain.md +1 -0
  37. package/py/forgeqe_mobile/hyperexecute.py +1 -0
  38. package/dist/web/assets/ApiTests-BKeFkLyV.js +0 -2
  39. package/dist/web/assets/Chat-dwxejH0o.js +0 -3
  40. package/dist/web/assets/Features-EJv_T9B8.js +0 -1
  41. package/dist/web/assets/Jobs-5A8NDMou.js +0 -3
  42. package/dist/web/assets/Quality-DIhsU907.js +0 -1
  43. package/dist/web/assets/Record-D7BkDgkZ.js +0 -1
  44. package/dist/web/assets/Regression-CbnOqFND.js +0 -2
  45. package/dist/web/assets/Reports-Duxt7oC1.js +0 -2
  46. package/dist/web/assets/Response-B2lhSJ1u.js +0 -8
  47. package/dist/web/assets/Runs-6M-obw2F.js +0 -2
  48. package/dist/web/assets/frame-pVqMQRrR.js +0 -3
  49. package/dist/web/assets/index-BAI8SJTX.css +0 -2
  50. package/dist/web/assets/index-Cu314_Zs.js +0 -26
  51. package/dist/web/assets/rotate-ccw-BgnQpY8R.js +0 -1
  52. package/dist/web/assets/trash-zYYpxA_X.js +0 -1
@@ -0,0 +1,606 @@
1
+ # Narration: one day to test a production fix
2
+
3
+ A 45-minute script for the walkthrough deck (`docs/walkthrough/index.html`): **about 12 minutes on slides, 30 minutes
4
+ of live demo, 3 for questions.** The slides only set up the story and the team; the ideas behind ForgeQE (page memory,
5
+ hidden logins, guardrails, safety) are explained in the demo, at the moment the audience sees them work.
6
+
7
+ The same narration is in the deck's speaker notes (press **N**).
8
+
9
+ Each slide and act has **Story** (the time of day and who is asking), **Say** (written for people who have never used
10
+ an AI agent), and **Hand-off** (the line into the next one). The acts also have **Type** and **Point at**.
11
+
12
+ ---
13
+
14
+ ## The cast
15
+
16
+ You are **Sam**, the tester at the keyboard, so the live demo is Sam's work.
17
+
18
+ | Who | Role | What they want today |
19
+ |---|---|---|
20
+ | **Priya** | QA lead | A plan that fits in one day, with two testers |
21
+ | **Lena** | Developer | The cause found fast, and proof the fix didn't break anything |
22
+ | **Oliver** | Release manager, not technical | A yes or no at 18:00 that will stand up to questions |
23
+ | **Sam** (you) | QA engineer | To test the fix properly without working until midnight |
24
+
25
+ The ForgeQE agents who work today: the **browser agent** (Acts 1, 2, 5, 6), the **repo reader**, **Scribe** and the
26
+ **reviewer** (Act 4), the **healer**, **PR reviewer** and **test finder** (mentioned in Act 5), **Defect RCA** and
27
+ the **explorer** (mentioned in Act 2), with **ForgeQE's agent** as the lead handing out every request.
28
+
29
+ **The shop.** Sauce Demo plays our shop, and it really has our bug: its `problem_user` account sees the wrong product
30
+ pictures, `standard_user` doesn't. So the bug in the story is real, and ForgeQE finds it live.
31
+
32
+ ## Timing
33
+
34
+ | Part | Slides | Minutes | Running total | Story clock |
35
+ |---|---|---|---|---|
36
+ | The bug lands, meet the team | 1–3 | 4½ | 4½ | 07:45–08:10 |
37
+ | Fits our tools, how it works, why trust it | 4–7 | 4½ | 9 | 08:15–08:30 |
38
+ | Setup and the plan | 8–9 | 2 | 11 | 08:35–08:45 |
39
+ | **Live demo**, Acts 1–7 | 10 | 29 | 40 | 09:00–17:30 |
40
+ | Wrap-up: go / no-go | 10 | 1½ | 41½ | 18:00 |
41
+ | Questions | 11 | 3½ | 45 | |
42
+
43
+ | Act | Minutes | What the room sees |
44
+ |---|---|---|
45
+ | 1. Is the shop working? | 4 | One sentence becomes a browser run; the password disappears |
46
+ | 2. Reproduce the bug | 6 | Three browsers at once; the bug turns red with proof |
47
+ | 3. The evidence | 4 | The report: screenshots, accessibility, cost |
48
+ | 4. Lock it in | 6 | Three agents write, run and review a Playwright test |
49
+ | 5. The fix is in | 4 | The memory, and a replay that's faster and cheaper |
50
+ | 6. No real orders | 3 | A team rule stops the agent |
51
+ | 7. The pipeline | 2 | The same tests with an exit code |
52
+
53
+ **Running long?** Skip slide 8 (Setup) with one sentence, cut Act 2's follow-up, and shorten Act 7 to the exit code.
54
+ **Running short?** Use an extra from the prompt sheet: the explorer fits after Act 2, accessibility after Act 3.
55
+
56
+ ---
57
+
58
+ ## Part 1: Slides (about 11 minutes)
59
+
60
+ Keep each slide to its time. The slides are the setup; the demo is the story.
61
+
62
+ ### Slide 1. Title · 1½ min · 07:45
63
+
64
+ **Story:** the bug lands.
65
+
66
+ **Say:**
67
+
68
+ > Let me introduce a team. Priya runs QA. Lena is a developer. Oliver is the release manager. And Sam, that's me
69
+ > today, is the tester.
70
+ >
71
+ > Quarter to eight on a Tuesday. Last night's release went out, and support calls: some customers are seeing the
72
+ > wrong product pictures. They click a backpack, they get a T-shirt. Not everyone, just some customers.
73
+ >
74
+ > Lena says: "I'll have a fix by lunch." Oliver says: "Then it goes live tonight. I need a yes or no by six."
75
+ >
76
+ > Testing a fix properly, reproduce, prove the fix, check nothing else broke, write it up, takes days. Priya has ten
77
+ > hours and two testers. So Priya calls in more team.
78
+
79
+ **Hand-off:**
80
+
81
+ > Here's who Priya calls.
82
+
83
+ ### Slide 2. Reference architecture · 2 min · 08:00
84
+
85
+ **Story:** Priya meets the rest of the team: ForgeQE.
86
+
87
+ **Say:**
88
+
89
+ > You've used a chatbot: you ask, it answers. An **AI agent** goes further: it **does the work**. It opens a
90
+ > browser, clicks through a website, reads a ticket, writes code, runs tests, with the same tools a person uses.
91
+ >
92
+ > ForgeQE is a whole QA team of agents. In the middle, a **lead** that takes Sam's request in plain English and
93
+ > hands out the work. Around it, **15 specialists**: a **browser agent** that uses the shop like a customer, and
94
+ > ones for phones and Windows apps; **Scribe**, which writes automated tests; **reviewers** that check the work; a
95
+ > **healer** that repairs tests; a **detective** for root causes.
96
+ >
97
+ > And at the centre, **memory**: the team's shared notebook. Every agent reads it before it starts and writes down
98
+ > what it learned. You'll see it pay off this afternoon.
99
+
100
+ **Hand-off:**
101
+
102
+ > Oliver asks: "Fine. What can they get done today?"
103
+
104
+ ### Slide 3. Features · 1 min · 08:10
105
+
106
+ **Story:** Priya's answer, the day's checklist.
107
+
108
+ **Say:**
109
+
110
+ > Four things, and you'll see each one in the demo. **It learns the product first**: stories, wikis and code become
111
+ > test cases. **One run checks everything**: function, accessibility, speed and how the page looks, which matters
112
+ > when the bug is "the pictures are wrong". **It proves its own work**: only the tests a change can break, 6 of 214
113
+ > here, and only a real run counts as a pass. And **it runs on GitHub Copilot**: no new AI account. Around them:
114
+ > self-healing, memory replay, release verdicts, monitoring, pipelines.
115
+
116
+ **Hand-off:**
117
+
118
+ > Lena asks: "Do I have to learn a new tool today?"
119
+
120
+ ### Slide 4. Integrations · ½ min · 08:15
121
+
122
+ **Say:**
123
+
124
+ > No. The tickets stay in Azure DevOps or Jira, the tests stay in Playwright in our repo, pipelines stay in GitHub or
125
+ > Azure, alerts go to Teams. Lena can even call it from Claude Code, Cursor or Codex.
126
+
127
+ **Hand-off:**
128
+
129
+ > Oliver asks: "What actually happens when Sam asks it something?"
130
+
131
+ ### Slide 5. How it works · 1 min · 08:20
132
+
133
+ **Say:**
134
+
135
+ > Sam types a request. ForgeQE, on Sam's own laptop, plans it and hands it to the browser agent, which opens Chrome
136
+ > and uses the shop like a customer. Everything lands in a folder: screenshots, results, a report. And when a run
137
+ > passes, Scribe turns it into a test in our repo. No server, no database, and only two agents may ever change our
138
+ > repo. You'll see all of this in a few minutes.
139
+
140
+ **Hand-off:**
141
+
142
+ > Oliver's real question: "At six, how do I know a pass is a real pass?"
143
+
144
+ ### Slide 6. Key ideas · 1½ min · 08:25
145
+
146
+ **Say:**
147
+
148
+ > Six reasons, and I'll show you each one live rather than explain them now. **Recorded checks**: every step keeps
149
+ > what was expected and what was actually on the page. **Page memory**: the notebook, which makes reruns fast and
150
+ > heals renamed buttons. **Guardrails**: the team's rules, which beat anything a ticket says. **Skills**: how our team
151
+ > writes tests. **Environments**: QA today, UAT tomorrow, same tests. **Hidden logins**: the AI never sees a
152
+ > password. Watch for each of them.
153
+
154
+ **Hand-off:**
155
+
156
+ > Lena asks: "What if someone hides an instruction in a ticket?"
157
+
158
+ ### Slide 7. Safety · 1 min · 08:30
159
+
160
+ **Say:**
161
+
162
+ > The important limits are built into ForgeQE, not left to the AI's good behaviour. It can't push to main, can't see
163
+ > passwords, can't change data through an API, can't run an unknown command without asking. At five o'clock under
164
+ > pressure people cut corners; ForgeQE can't.
165
+
166
+ **Hand-off:**
167
+
168
+ > Priya says: "Let's start." Sam needs to install it first.
169
+
170
+ ### Slide 8. Setup · ½ min · 08:35
171
+
172
+ **Say:**
173
+
174
+ > Three minutes: install one package, sign in with the team's Copilot seat, `forgeqe init`. No admin rights, no
175
+ > server. Sam's done that already.
176
+
177
+ **Hand-off:**
178
+
179
+ > Priya writes the plan on the whiteboard.
180
+
181
+ ### Slide 9. Demo agenda · 1½ min · 08:45
182
+
183
+ **Story:** Priya's plan: in each act a person asks and an agent does it.
184
+
185
+ **Say:**
186
+
187
+ > Here's our day, and you'll watch all of it live.
188
+ >
189
+ > - **09:00, Act 1.** Oliver asks: "Is the shop even working?"
190
+ > - **09:30, Act 2.** Priya: "Can we reproduce the bug?"
191
+ > - **10:00, Act 3.** Lena: "Show me exactly what the customer sees."
192
+ > - **11:00, Act 4.** Priya: "This must never come back unnoticed."
193
+ > - **14:00, Act 5.** Lena: "The fix is in."
194
+ > - **16:00, Act 6.** Priya: "Nobody places a real order."
195
+ > - **17:30, Act 7.** Oliver: "Next time, without Sam."
196
+ >
197
+ > Sauce Demo plays our shop, and it really has our bug. All public practice sites: nothing real is touched.
198
+
199
+ **Hand-off:**
200
+
201
+ > It's nine o'clock. Let's go.
202
+
203
+ ---
204
+
205
+ ## Part 2: Live demo (about 30 minutes)
206
+
207
+ Switch to the terminal and leave slide 10 up behind it. Before each act, say the time and who is asking.
208
+
209
+ **While a run is going, talk.** Every act below has things to say while you wait; that's where the ideas from slides
210
+ 5–7 get explained, on screen.
211
+
212
+ ### Act 1. 09:00 Oliver: "Is the shop even working?" · 4 min
213
+
214
+ **Story:** before anything, Oliver needs to know how bad it is.
215
+
216
+ **Type** (terminal), then in the shell:
217
+
218
+ ```bash
219
+ forgeqe start --repo ../demo-app
220
+ ```
221
+
222
+ > /headed on
223
+
224
+ > Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed
225
+
226
+ **While it runs, say:**
227
+
228
+ > I didn't write a script or say which buttons to press. I said what a customer does and what should happen. This is
229
+ > slide 5 happening for real: the lead planned it, the browser agent is driving Chrome. Watch the bar at the bottom
230
+ > of the browser: it says in plain words what the agent is doing right now.
231
+ >
232
+ > After each step it checks: did what should happen actually happen?
233
+
234
+ **Point at** the redacted password:
235
+
236
+ > And look at the password. It's been turned into a saved login and hidden. That's the hidden logins from slide 6:
237
+ > the AI never saw "secret_sauce". The browser typed it; the AI only knows there is a login called that.
238
+
239
+ **When it finishes, say:**
240
+
241
+ > Six products. Look at the checks: for each one, what was expected and what was actually on the page. That's
242
+ > slide 6's recorded checks: a pass is evidence, not the AI's opinion.
243
+ >
244
+ > And for Oliver: the shop isn't down. A normal customer can sign in and shop. So the bug is narrower, just like
245
+ > support said: *some* customers.
246
+
247
+ **Hand-off:**
248
+
249
+ > The browser agent also wrote every page it saw into the notebook. Priya's next question: "Can we see the bug
250
+ > ourselves?"
251
+
252
+ *If it stalls: Esc or `/stop`, then `/details on`.*
253
+
254
+ ### Act 2. 09:30 Priya: "Can we reproduce it?" · 6 min
255
+
256
+ **Story:** Priya wants proof on more than one browser before anyone touches the code.
257
+
258
+ **Say first, opening `demo-sites.txt` for a few seconds:**
259
+
260
+ > These are our test cases for the shop, written in plain English, steps and expected results, the way any tester
261
+ > writes them. In real life they'd come straight from Azure DevOps, Jira, Xray or TestRail, and the results would go
262
+ > back there. One case checks that a different kind of customer sees the right product pictures.
263
+
264
+ **Type:**
265
+
266
+ > Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them
267
+
268
+ **While it runs, say:**
269
+
270
+ > Three browsers at once: three testers working in parallel. Every case gets a verdict, and so does every step
271
+ > inside it: passed, failed or not run, with what the page actually showed.
272
+ >
273
+ > Some of these cases start with a sign-in Act 1 already did, so those steps come straight from the notebook.
274
+ >
275
+ > On a real project, a failed case can file a bug in Jira or Azure DevOps with the steps and the screenshot. And if
276
+ > it fails again tomorrow, it adds "still failing" to the same bug, not a duplicate.
277
+
278
+ **When results come in, point at the problem_user case and say:**
279
+
280
+ > **Bug reproduced.** Sign in as this customer and the pictures don't match the product names. Same shop, same
281
+ > products: the normal customer passes, this one fails. That's support's "only some customers", now with proof.
282
+
283
+ **Point at the Books to Scrape case and say:**
284
+
285
+ > And a second red one. The test case says the price should be £10.00; the page shows £51.77. ForgeQE doesn't decide
286
+ > who's wrong: it shows exactly what it expected and what it found. Here the *test case* is wrong, the book really is
287
+ > £51.77, and I can see that in two seconds. On a hotfix day, that's the difference between chasing a ghost for an
288
+ > hour and moving on.
289
+ >
290
+ > Everything else passed: sign-in, checkout, sorting, error messages. The bug is narrow.
291
+
292
+ **Follow-up (cut if running long):**
293
+
294
+ > Why did the problem_user case fail? Show me what the page showed at that step.
295
+
296
+ **Say:**
297
+
298
+ > On our real project, the next step would be **Defect RCA**, the detective, giving Lena its best guess at the cause
299
+ > from the evidence and the code, with how confident it is.
300
+
301
+ **Hand-off:**
302
+
303
+ > Lena walks over: "Show me *exactly* what the customer sees."
304
+
305
+ *Skip a site that is down.*
306
+
307
+ ### Act 3. 10:00 Lena: "Show me what the customer sees." · 4 min
308
+
309
+ **Story:** Lena needs evidence to fix it; Oliver needs a summary. One file does both.
310
+
311
+ **Open** `.forgeqe/reports/suites/<time>/report.html` (backup: `samples/reports/nightly/20260929-020005/report.html`).
312
+
313
+ **Say, walking through it:**
314
+
315
+ > **The overview**, for Oliver: passed, failed, how long it took.
316
+ >
317
+ > **The failing case**, for Lena: *(open the problem_user case)* every step, its screenshot, what was expected and
318
+ > what was found. Lena sees the bug without having to reproduce it. This goes straight onto the bug ticket.
319
+ >
320
+ > **Accessibility**: every page was also checked against accessibility standards. Nobody asked for that. It's
321
+ > slide 3's "one run checks everything". If the fix breaks the shop for keyboard users, it shows up here.
322
+ >
323
+ > **Cost**: *(the Tokenomics section)* exactly what this run cost in AI usage. Priya won't get a surprise bill.
324
+ >
325
+ > One HTML file with the screenshots inside: attach it, email it, open it from disk. No login, no server.
326
+
327
+ **Follow-up (if time):**
328
+
329
+ > Which accessibility issues did that run find, and on which pages?
330
+
331
+ **Hand-off:**
332
+
333
+ > Lena goes off to fix it. And Priya says what every QA lead says after a production bug: "This must never come back
334
+ > without us noticing."
335
+
336
+ ### Act 4. 11:00 Priya: "Never again unnoticed." · 6 min
337
+
338
+ **Story:** turn a check into an automated test in the team's own repo. Usually an automation engineer's afternoon;
339
+ today it's three agents in a relay.
340
+
341
+ **Type:**
342
+
343
+ > Write a Playwright test for the Sauce Demo sign-in run
344
+
345
+ (For the bug's own test, rehearsed first: *Write a Playwright test for the problem_user product images case. It
346
+ should fail until the images are fixed.*)
347
+
348
+ **While it runs, say:**
349
+
350
+ > Watch the relay. First the **repo reader** studies our repository: how this team writes tests, its helpers, its
351
+ > style. Like a new team member reading the code before writing a line. That's the **skills** from slide 6 at work:
352
+ > how *our* team writes tests.
353
+ >
354
+ > Then **Scribe** writes the test, using the buttons from the notebook and the checks the browser agent recorded in
355
+ > Act 1.
356
+ >
357
+ > Then ForgeQE **runs the test until it passes**, and the **reviewer** checks it. Priya doesn't get a test that
358
+ > "should work". Priya gets one that did.
359
+ >
360
+ > Scribe is one of only two agents allowed to change our repo, and everything it changes shows up for us to see.
361
+
362
+ **Open the spec, saying:**
363
+
364
+ > Ordinary Playwright code, in our repository. It runs without ForgeQE: stop using ForgeQE tomorrow and the test
365
+ > still works. And it reads the shop's address from the environment, so it runs on QA today and UAT tomorrow.
366
+ > That's slide 6's environments.
367
+ >
368
+ > For the bug, the same thing with the problem-pictures case gives a test that fails today and turns green the
369
+ > moment Lena's fix works. That's how we'll *know* the fix works.
370
+
371
+ *Backup: `samples/reports/single-run-login/forgeqe.spec.ts`.*
372
+
373
+ **Hand-off:**
374
+
375
+ > Lunch. At two o'clock, a message from Lena: "Fix is deployed to QA."
376
+
377
+ ### Act 5. 14:00 Lena: "The fix is in." · 4 min
378
+
379
+ **Story:** Sam retests, probably several times this afternoon. This is where testing usually eats the day, and where
380
+ the notebook pays off.
381
+
382
+ **Type** (terminal):
383
+
384
+ ```bash
385
+ forgeqe memory show saucedemo.com --locators
386
+ ```
387
+
388
+ **Say:**
389
+
390
+ > This is the notebook from slide 2. Every button and field the team has seen on this shop, every way to find each
391
+ > one, with a confidence score. The login button: by test id 98%, by its role, by CSS, by its text. If Lena's fix
392
+ > renames a button, the agents use the next way: the test heals itself. And if a test really outgrew the app, the
393
+ > **healer** updates it, or reports a real bug; it never weakens a test to make it pass.
394
+
395
+ **Then run Act 1's prompt again:**
396
+
397
+ > Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed
398
+
399
+ **Compare the two summary cards, saying:**
400
+
401
+ > Same request as nine o'clock. Look at the two cards side by side. *(Read out the real time and cost from each.)*
402
+ > The second run replayed from the notebook and barely needed the AI: faster, and a fraction of the cost.
403
+ >
404
+ > The first run explores; every run after replays. That's what makes retesting all afternoon possible.
405
+
406
+ **Follow-up (if time):**
407
+
408
+ > Compare the last two Sauce Demo sign-in runs: time, model calls and cost.
409
+
410
+ **Say:**
411
+
412
+ > On our real project, Lena's fix comes as a pull request. The **PR reviewer** reviews it against the story, and the
413
+ > **test finder** picks only the tests that change can break: slide 3's 6 out of 214.
414
+
415
+ **Hand-off:**
416
+
417
+ > The fix holds on QA. Priya wants one more check on pre-production, and pre-production is wired to a real payment
418
+ > provider.
419
+
420
+ ### Act 6. 16:00 Priya: "Nobody places a real order." · 3 min
421
+
422
+ **Story:** before testing near real payments, Priya adds a team rule.
423
+
424
+ **Say:**
425
+
426
+ > These are the guardrails from slide 6: the team's rules in plain English. Watch.
427
+
428
+ **Type:**
429
+
430
+ > Add a guardrail: never press Finish on a checkout page
431
+
432
+ > Run the case "Sauce Demo: buy a backpack from cart to confirmation" from demo-sites.txt
433
+
434
+ **As it stops, say:**
435
+
436
+ > It went through the checkout, reached the last button, and **stopped**, and it names the rule that stopped it.
437
+ > Priya's rule beats whatever a test case, a ticket or a web page tells the agents to do. That's slide 7's safety:
438
+ > not the AI being polite, ForgeQE enforcing it.
439
+
440
+ *Remove it afterwards with `forgeqe guardrails`.*
441
+
442
+ **Hand-off:**
443
+
444
+ > Half past five. Oliver's turn.
445
+
446
+ ### Act 7. 17:30 Oliver: "Next time, without Sam." · 2 min
447
+
448
+ **Story:** Oliver wants the release pipeline to run the same tests by itself and block a bad release.
449
+
450
+ **Type** (terminal):
451
+
452
+ ```bash
453
+ forgeqe suite demo-sites.txt --parallel 3 --no-code --plain
454
+ ```
455
+
456
+ ```bash
457
+ echo $?
458
+ ```
459
+
460
+ **Say:**
461
+
462
+ > The same tests, the same way, every time, with no AI choosing anything. The number at the end is the **exit
463
+ > code**: zero means pass, anything else stops the release. That's the language pipelines speak. ForgeQE can write
464
+ > the GitHub or Azure pipeline for us, and it's not allowed to push it to main: a person merges it.
465
+ >
466
+ > After release, the same checks can run every 15 minutes against the live shop, replayed from the notebook so
467
+ > they're cheap, and post to Teams if the shop breaks at 3 a.m.
468
+
469
+ **Hand-off:**
470
+
471
+ > Six o'clock. Oliver asks the question.
472
+
473
+ ### 18:00 Wrap-up · 1½ min (stay on slide 10)
474
+
475
+ **Say:**
476
+
477
+ > "Can we ship?" And Priya has an answer with evidence behind every word.
478
+ >
479
+ > At nine, we knew the shop worked for normal customers. At half nine, the bug was reproduced on three browsers,
480
+ > with proof. At ten, Lena had a report showing what the customer sees. At eleven, the bug was locked into a test in
481
+ > our own repo. All afternoon, we retested from the notebook in a fraction of the time. Priya's rule kept the agents
482
+ > away from real orders, and Oliver's pipeline now guards every release. Oliver says **go**.
483
+ >
484
+ > Every decision today was a person's: Priya chose what to test, Sam decided which failure was real, Lena fixed the
485
+ > code, Oliver decided to ship. The agents did the clicking, typing, re-checking and paperwork.
486
+ >
487
+ > **That's the shift: testers stop being the bottleneck and become the people who decide.**
488
+
489
+ ---
490
+
491
+ ## Slide 11. Questions · 3½ min
492
+
493
+ **Say:**
494
+
495
+ > Ask anything: models, cost, data, our framework, what it doesn't do. To try it: one install, `forgeqe init`, and
496
+ > `forgeqe docs --guide`.
497
+
498
+ | Question | Answer |
499
+ |---|---|
500
+ | Will it replace testers? | No. Every decision today was a person's. Anything that changes something outside ForgeQE waits for a yes. |
501
+ | What if the AI is wrong? | Every step records expected vs found with a screenshot: check the evidence, not the AI's word. Scribe's tests must pass a real run and the reviewer. |
502
+ | Does it replace our framework? | No. Scribe writes tests in our framework with our page objects; they run without ForgeQE. |
503
+ | 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 model call or none. With Copilot, no separate key. |
504
+ | Where does our data go? | Our model endpoint, the sites under test and the systems we connect. No telemetry. Passwords never reach the model. |
505
+ | What if the app changes? | `forgeqe heal` updates outdated tests from the live app, or reports an app bug; nothing is skipped or loosened. |
506
+ | SSO or captchas? | `forgeqe login`: sign in once by hand, later runs reuse the session. |
507
+ | Phones and desktop apps? | Android and iOS through Appium or Maestro; Windows apps through UFO² and pywinauto. |
508
+ | What doesn't it do? | Load or stress testing with many users, and penetration testing. |
509
+
510
+ ---
511
+
512
+ ## Prompt sheet
513
+
514
+ Every prompt in the order you use it. Keep it on a second screen or printed.
515
+
516
+ ### Before the call (the evening before)
517
+
518
+ ```bash
519
+ npm install -g @capagents/forgeqe
520
+ ```
521
+
522
+ ```bash
523
+ forgeqe auth login copilot
524
+ ```
525
+
526
+ ```bash
527
+ npm init playwright@latest demo-app
528
+ ```
529
+
530
+ ```bash
531
+ mkdir demo && cd demo && forgeqe init
532
+ ```
533
+
534
+ ```bash
535
+ cp <path-to-repo>/ForgeQE/samples/cases/demo-sites.txt <path-to-repo>/ForgeQE/samples/cases/expected-failure.txt .
536
+ ```
537
+
538
+ Then run Acts 1 and 2 once (it fills page memory for Act 5) and check every site in `demo-sites.txt` loads. Time
539
+ yourself: if Act 2 runs longer than about 4 minutes, plan more talk for it or open the backup report.
540
+
541
+ ### Live, in order
542
+
543
+ | Act | Min | Who asks | Type exactly |
544
+ |---|---|---|---|
545
+ | start | | | `forgeqe start --repo ../demo-app` (terminal), then `/headed on` |
546
+ | 1 | 4 | Oliver | `Sign in to saucedemo.com as standard_user with password secret_sauce and check that 6 products are listed` |
547
+ | 2 | 6 | Priya | `Run the cases in demo-sites.txt and expected-failure.txt, 3 browsers at once, and don't write tests for them` |
548
+ | 2, follow-up | | Sam | `Why did the problem_user case fail? Show me what the page showed at that step.` |
549
+ | 3 | 4 | Lena | open `.forgeqe/reports/suites/<time>/report.html` |
550
+ | 3, follow-up | | Lena | `Which accessibility issues did that run find, and on which pages?` |
551
+ | 4 | 6 | Priya | `Write a Playwright test for the Sauce Demo sign-in run` |
552
+ | 4, the bug's test (rehearse first) | | Priya | `Write a Playwright test for the problem_user product images case. It should fail until the images are fixed.` |
553
+ | 5 | 4 | Lena | `forgeqe memory show saucedemo.com --locators` (terminal), then Act 1's prompt again |
554
+ | 5, follow-up | | Oliver | `Compare the last two Sauce Demo sign-in runs: time, model calls and cost.` |
555
+ | 6 | 3 | Priya | `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` |
556
+ | 6, clean-up | | | `forgeqe guardrails` (terminal), remove the rule |
557
+ | 7 | 2 | Oliver | `forgeqe suite demo-sites.txt --parallel 3 --no-code --plain`, then `echo $?` (terminal) |
558
+
559
+ ### Extras if you have spare minutes (rehearse first)
560
+
561
+ | Fits after | Feature | Type |
562
+ |---|---|---|
563
+ | Act 2 | Explorer | `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.` |
564
+ | Act 2 | Test cases from a story | `Write test cases for this story: "Every customer sees the right picture for each product on saucedemo.com." Save them to product-pictures.txt.` |
565
+ | Act 5 | Memory savings | `forgeqe memory stats` (terminal) |
566
+ | Act 7 | 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` |
567
+
568
+ The explorer takes several minutes (about six charters, a second run for a possible defect): start it, talk, come
569
+ back.
570
+
571
+ ### Say, don't run: the same day on our real project
572
+
573
+ Say these at the point where they belong to show what the team would type on a real hotfix day. The numbers are
574
+ placeholders; swap in a real bug, story and PR from your tracker.
575
+
576
+ | When | Who | What they would type |
577
+ |---|---|---|
578
+ | 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.` |
579
+ | After Act 2 | Lena | `What is the likely cause of bug 4512? The product code is in ../shop-web.` |
580
+ | After Act 5 | Lena | `Review PR 871 against story 4498's acceptance criteria, and tell me which tests and manual cases it can break.` |
581
+ | After Act 5 | Priya | `Build a regression pack for this release and run it. Retry failures once and tell me which are flaky.` |
582
+ | Wrap-up | 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.` |
583
+ | After Act 7 | Priya | `Monitor the shop's smoke cases on production every 15 minutes and alert the QA channel if one keeps failing.` |
584
+
585
+ ### If something goes wrong live
586
+
587
+ | Problem | What to do |
588
+ |---|---|
589
+ | A run stalls | Esc or `/stop`, then `/details on` and run it again |
590
+ | 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 |
591
+ | Act 2 is slow | Keep talking about step verdicts, or open the backup report `samples/reports/nightly/20260929-020005/report.html` |
592
+ | Scribe takes too long | Open the backup `samples/reports/single-run-login/forgeqe.spec.ts` and walk through it |
593
+ | Act 5 doesn't replay from memory | Say "this is the run that fills the notebook" and run it once more |
594
+
595
+ ## Words to explain if the room looks lost
596
+
597
+ | Word | Plain version |
598
+ |---|---|
599
+ | AI agent | An AI that does tasks with tools, not just answers questions |
600
+ | Test case | A written list of steps and what should happen |
601
+ | Automated test | A test the computer runs by itself, every release |
602
+ | Regression | Checking that what used to work still works |
603
+ | Pull request | A proposed code change waiting for approval |
604
+ | Pipeline | The automatic checks that run whenever code changes or is released |
605
+ | Page memory | The team notebook: every button and field it has seen, and several ways to find each |
606
+ | Guardrail | A team rule every agent must follow |