@capagents/forgeqe 3.0.3 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +190 -189
- package/README.md +12 -12
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/docs-site/architecture-map/index.html +6 -6
- package/dist/docs-site/docs/architecture/index.html +31 -31
- package/dist/docs-site/docs/containers/index.html +9 -10
- package/dist/docs-site/docs/custom-agents-first-run/index.html +5 -5
- package/dist/docs-site/docs/desktop/index.html +8 -10
- package/dist/docs-site/docs/feature-test-prompts/index.html +4 -4
- package/dist/docs-site/docs/graphify/index.html +1 -1
- package/dist/docs-site/docs/index.html +214 -165
- package/dist/docs-site/docs/mobile/index.html +6 -6
- package/dist/docs-site/docs/model-routing/index.html +58 -10
- package/dist/docs-site/docs/product-graph/index.html +3 -3
- package/dist/docs-site/docs/product-views/index.html +1 -1
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +6 -6
- package/dist/forgeqe.js +1858 -1825
- package/dist/template.html +69 -69
- package/dist/web/assets/Agent-BF6goYbq.js +8 -0
- package/dist/web/assets/ApiTests-08El24XV.js +10 -0
- package/dist/web/assets/Browse-DB7lNo6R.js +2 -0
- package/dist/web/assets/Chat-Co7EJfA9.js +5 -0
- package/dist/web/assets/{CommandPalette-CAAPFMZn.js → CommandPalette-BkNNac9P.js} +1 -1
- package/dist/web/assets/{Compare-DZfbMjDK.js → Compare-Ce214eXq.js} +1 -1
- package/dist/web/assets/Cost-B_oVlEve.js +1 -0
- package/dist/web/assets/Data-BNXAWpvT.js +6 -0
- package/dist/web/assets/Desktop-Dnsmc_L-.js +1 -0
- package/dist/web/assets/DesktopReview-C7SG_gBt.js +1 -0
- package/dist/web/assets/{Evidence-CijYL67k.js → Evidence-C6PtAQ6y.js} +1 -1
- package/dist/web/assets/{Explore-DZ5PoVZp.js → Explore-BN8zgzmv.js} +2 -2
- package/dist/web/assets/{Features-BvZfZIb7.js → Features-DRONEGA3.js} +1 -1
- package/dist/web/assets/{Flags-B_-HOAeZ.js → Flags-CF8Zboey.js} +2 -2
- package/dist/web/assets/{Flaky-CWyV0rE3.js → Flaky-B6IYRvE2.js} +1 -1
- package/dist/web/assets/Impact-DglYEuEY.js +3 -0
- package/dist/web/assets/Jobs-BX-DXp28.js +5 -0
- package/dist/web/assets/KindPage-ByaxfUiE.js +6 -0
- package/dist/web/assets/Migration-wVEuZ3zr.js +2 -0
- package/dist/web/assets/Product-Bcv7xIYx.js +7 -0
- package/dist/web/assets/{Production-Dakb3WS-.js → Production-DTdUc-ze.js} +1 -1
- package/dist/web/assets/{Quality-CcrANX20.js → Quality-B0MRg6wI.js} +1 -1
- package/dist/web/assets/{Readiness-DvYQ17Oh.js → Readiness-XpGisxdv.js} +1 -1
- package/dist/web/assets/Record-C0vcXk-u.js +2 -0
- package/dist/web/assets/Regression-CthpK77C.js +5 -0
- package/dist/web/assets/{RelationGraph-evMcSFoO.js → RelationGraph-MHWsIy8b.js} +1 -1
- package/dist/web/assets/Reports-Cy1MvUqg.js +2 -0
- package/dist/web/assets/Response-53IPohSg.js +4 -0
- package/dist/web/assets/RunDiff-BQH6Wacd.js +1 -0
- package/dist/web/assets/Runs-IwZWhlyu.js +2 -0
- package/dist/web/assets/Steps-DKCrz0ed.js +2 -0
- package/dist/web/assets/{TestCases-93xQKkMT.js → TestCases-Bt81xr3X.js} +1 -1
- package/dist/web/assets/TestData-CXRhxaD8.js +2 -0
- package/dist/web/assets/{TestDebt-CE62ftuJ.js → TestDebt-DM5VeTwn.js} +1 -1
- package/dist/web/assets/Tosca-B42EZ5YF.js +3 -0
- package/dist/web/assets/{WhatsNew-lX-LhWKt.js → WhatsNew-D3yHnxgW.js} +1 -1
- package/dist/web/assets/agentLink-BlI6CU6m.js +1 -0
- package/dist/web/assets/{dataParts-LCnV1x8c.js → dataParts-B0tYVMhQ.js} +2 -2
- package/dist/web/assets/{families-DLmHA4rL.js → families-DGOQO6Mu.js} +1 -1
- package/dist/web/assets/filters-Btr3PTRn.js +1 -0
- package/dist/web/assets/{fold-pif2b5qg.js → fold-B_G_xXZM.js} +1 -1
- package/dist/web/assets/frame-CU0pSxTD.js +18 -0
- package/dist/web/assets/index-CCNq91up.js +68 -0
- package/dist/web/assets/index-D6jp6pDW.css +2 -0
- package/dist/web/assets/{logos-gqcS1A90.js → logos-DpiYLP3H.js} +1 -1
- package/dist/web/assets/{markdown-BcuknPlh.js → markdown-Dn8IZFhS.js} +5 -5
- package/dist/web/assets/{paletteCommands-qeRU49pp.js → paletteCommands-DKcFFV7I.js} +1 -1
- package/dist/web/assets/{parts-C7nGHnut.js → parts-Ct3kXHNO.js} +1 -1
- package/dist/web/assets/{productParts-3lWHIbdH.js → productParts-IDyVJAgM.js} +1 -1
- package/dist/web/assets/{qualityParts-B-TQusS6.js → qualityParts-Db6YfFIY.js} +1 -1
- package/dist/web/assets/recordTest-_r_cdTC6.js +1 -0
- package/dist/web/assets/{rows-vVKLONno.js → rows-De2l3NFN.js} +1 -1
- package/dist/web/assets/{segmented-Bi4QAoQY.js → segmented-CHGzMxbS.js} +1 -1
- package/dist/web/assets/{usePageChat-De5Fn1X3.js → usePageChat-CpAYTNqJ.js} +1 -1
- package/dist/web/index.html +5 -5
- package/docs/ARCHITECTURE.md +30 -30
- package/docs/BUSINESS_ASSURANCE.md +7 -7
- package/docs/CONTAINERS.md +8 -10
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +4 -4
- package/docs/DESKTOP.md +8 -10
- package/docs/GRAPHIFY.md +1 -1
- package/docs/MOBILE.md +6 -6
- package/docs/MODEL_ROUTING.md +57 -9
- package/docs/PRODUCT_KNOWLEDGE.md +3 -3
- package/docs/PRODUCT_VIEWS.md +1 -1
- package/docs/WEB_APP.md +6 -6
- package/docs/demo-qi-commerce.md +30 -30
- package/docs/feature-test-prompts.md +3 -3
- package/docs/prompts/graphify-evidence.md +3 -3
- package/docs/security-data-flow.html +23 -23
- package/docs/user-guide.html +214 -165
- package/docs/walkthrough/hotfix-narration.md +19 -19
- package/docs/walkthrough/index.html +26 -26
- package/env.example.yaml +1 -1
- package/evals/evidence/records/forgeqe-test-writing/source.jsonl +1 -1
- package/forgeqe-architecture.html +48 -48
- package/forgeqe.example.yaml +16 -10
- package/package.json +1 -1
- package/prompts/README.md +7 -7
- package/prompts/agent-builder.md +1 -1
- package/prompts/api-tests.md +1 -1
- package/prompts/brain.md +8 -5
- package/prompts/business-interview.md +3 -3
- package/prompts/business-persona.md +3 -3
- package/prompts/business-strategist.md +1 -1
- package/prompts/db-agent.md +3 -3
- package/prompts/doc-reader.md +2 -2
- package/prompts/heal.md +1 -1
- package/prompts/knowledge-agent.md +3 -3
- package/prompts/model-profile.md +1 -1
- package/prompts/page-differs.md +1 -1
- package/prompts/persona-own.md +3 -3
- package/prompts/talk.md +3 -2
- package/prompts/test-agent.md +2 -2
- package/prompts/test-plan.md +2 -2
- package/prompts/tosca-assistant.md +1 -1
- package/py/forgeqe_engine/copilot_gateway.py +1 -1
- package/py/forgeqe_engine/memory.py +48 -2
- package/py/forgeqe_engine/recordsession.py +31 -1
- package/py/forgeqe_engine/video.py +104 -12
- package/py/forgeqe_engine/webrecord_page.py +88 -7
- package/py/forgeqe_tosca/__init__.py +2 -2
- package/py/forgeqe_tosca/render.py +1 -1
- package/py/forgeqe_tosca/tsu.py +2 -2
- package/skills/playwright-automation/SKILL.md +102 -0
- package/skills/playwright-automation/references/dotnet.md +90 -0
- package/skills/playwright-automation/references/java.md +41 -0
- package/skills/playwright-automation/references/python.md +42 -0
- package/skills/playwright-automation/references/typescript.md +54 -0
- package/skills/test-data/SKILL.md +1 -1
- package/skills/writing-skills/SKILL.md +2 -2
- package/dist/web/assets/Agent-Bha4Lr91.js +0 -8
- package/dist/web/assets/ApiTests-xhnOnRi9.js +0 -10
- package/dist/web/assets/Browse-DPfzCrMZ.js +0 -2
- package/dist/web/assets/Chat-DuLj5IPw.js +0 -5
- package/dist/web/assets/Cost-PNcsRgPW.js +0 -1
- package/dist/web/assets/Data-DaKzcO_S.js +0 -6
- package/dist/web/assets/Desktop-sXYXYwRy.js +0 -1
- package/dist/web/assets/DesktopReview-Bz6bfPkM.js +0 -1
- package/dist/web/assets/Impact-BqHiKxoG.js +0 -3
- package/dist/web/assets/Jobs-DUfRHoko.js +0 -5
- package/dist/web/assets/KindPage-Dj3vryGF.js +0 -6
- package/dist/web/assets/Migration-CP3o4tLy.js +0 -2
- package/dist/web/assets/Product-BeHmrA7Z.js +0 -7
- package/dist/web/assets/Record-V7x9VxRQ.js +0 -2
- package/dist/web/assets/Regression-DgXh0V-X.js +0 -5
- package/dist/web/assets/Reports--eyV0Gfp.js +0 -2
- package/dist/web/assets/Response-B1S-n787.js +0 -4
- package/dist/web/assets/RunDiff-DwEopDsx.js +0 -1
- package/dist/web/assets/Runs-B6bSGdrI.js +0 -2
- package/dist/web/assets/Steps-DxPqrmZK.js +0 -2
- package/dist/web/assets/TestData-BiW5r9gA.js +0 -2
- package/dist/web/assets/Tosca-CrvuVNqG.js +0 -3
- package/dist/web/assets/agentLink-ZQZx1pK-.js +0 -1
- package/dist/web/assets/filters-CorGh2vA.js +0 -1
- package/dist/web/assets/frame-BgpCUEoM.js +0 -18
- package/dist/web/assets/index-0YhzcgZJ.css +0 -2
- package/dist/web/assets/index-CEVZ8F8_.js +0 -67
- package/dist/web/assets/recordTest-BmD8jtw0.js +0 -1
- package/skills/dotnet-nunit-playwright/SKILL.md +0 -36
- package/skills/playwright-typescript/SKILL.md +0 -36
package/docs/MODEL_ROUTING.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Model routing: the right configured model for each task
|
|
2
2
|
|
|
3
|
-
With more than one model in `llms.json`, ForgeQE can give each kind of work the model it needs.
|
|
4
|
-
|
|
3
|
+
With more than one model in `llms.json`, ForgeQE can give each kind of work the model it needs. The most capable model
|
|
4
|
+
plans the work and leads the chat, then hands the tasks to the agents, each on the model that suits it: a strong model
|
|
5
|
+
writes code and finds root causes, a cheaper one that is good enough reviews. A model that takes screenshots
|
|
5
6
|
drives the browser, and a model with a large window reads a large pull request. You do not need to know what each
|
|
6
7
|
model can do: ForgeQE finds out.
|
|
7
8
|
|
|
@@ -13,6 +14,7 @@ In `forgeqe.yaml`:
|
|
|
13
14
|
llm:
|
|
14
15
|
models_file: ./llms.json
|
|
15
16
|
routing: auto # off (the default for existing projects) | shadow | auto
|
|
17
|
+
strategy: balanced # balanced (the default) | capability | cost
|
|
16
18
|
```
|
|
17
19
|
|
|
18
20
|
`forgeqe init` writes `routing: auto` for new projects. With no `routing` line it is off. `shadow` decides and logs each pick in the session log
|
|
@@ -36,12 +38,12 @@ forgeqe models --routes
|
|
|
36
38
|
|
|
37
39
|
| Area | What runs in it | Needs |
|
|
38
40
|
|---|---|---|
|
|
39
|
-
| `agent` | ForgeQE's agent: the shell, `forgeqe run`, `forgeqe mcp` | tool calls; rated 4+ |
|
|
41
|
+
| `agent` | ForgeQE's agent: the shell, `forgeqe run`, `forgeqe mcp` (plans and hands out work: **lead**) | tool calls; rated 4+ |
|
|
40
42
|
| `browser` | Browser, desktop and mobile runs, from screenshots | images; rated 4+ |
|
|
41
|
-
| `coding` |
|
|
43
|
+
| `coding` | Quill writing and healing tests, API tests | tool calls; rated 5 |
|
|
42
44
|
| `review` | Test reviewer, pull-request review, evaluation judge | tool calls; rated 3+ |
|
|
43
45
|
| `analysis` | Root cause of defects | tool calls; rated 5 |
|
|
44
|
-
| `planning` | Refine, finding tests, API scenarios, exploratory charters | tool calls; rated 3+ |
|
|
46
|
+
| `planning` | Refine, finding tests, API scenarios, exploratory charters (**lead**) | tool calls; rated 3+ |
|
|
45
47
|
|
|
46
48
|
## A default model for each agent
|
|
47
49
|
|
|
@@ -51,7 +53,7 @@ To give one agent its own model whatever `routing` says, name an `llms.json` pro
|
|
|
51
53
|
```yaml
|
|
52
54
|
llm:
|
|
53
55
|
agents:
|
|
54
|
-
forgeqe: azure-gpt4o #
|
|
56
|
+
forgeqe: azure-gpt4o # Atlas
|
|
55
57
|
engine: azure-gpt4o # the browser agent: pick a model that takes images
|
|
56
58
|
forgeqe-test: claude-opus # the coding agent
|
|
57
59
|
forgeqe-review: azure-mini # its reviewer
|
|
@@ -77,9 +79,22 @@ fails its check is replaced as for any area. `--profile` still names the model f
|
|
|
77
79
|
|
|
78
80
|
The facts come from `llms.json`, a live check, and the public model lists (models.dev and LiteLLM) that ForgeQE
|
|
79
81
|
already downloads for prices. A fact that nobody knows never rules a model out.
|
|
80
|
-
3. **Ratings pick among the rest.**
|
|
81
|
-
root causes ask for 5, because a weaker model there costs more in failed attempts than it saves.
|
|
82
|
-
|
|
82
|
+
3. **Ratings and the strategy pick among the rest.** Only models rated at the area's bar are considered. Writing code
|
|
83
|
+
and finding root causes ask for 5, because a weaker model there costs more in failed attempts than it saves. Among
|
|
84
|
+
them, `llm.strategy` picks:
|
|
85
|
+
|
|
86
|
+
| Strategy | Lead areas (`agent`, `planning`) | The other areas |
|
|
87
|
+
|---|---|---|
|
|
88
|
+
| `balanced` (the default) | the most capable model; the cheapest only among equally rated ones | the best value: a higher rating is worth paying for, up to 4× the price per rating point |
|
|
89
|
+
| `capability` | the most capable model | the most capable model |
|
|
90
|
+
| `cost` | the cheapest model rated at the bar | the cheapest model rated at the bar |
|
|
91
|
+
|
|
92
|
+
So with `balanced`, the planner is never a weak model because it was cheap, and a worker gets a stronger model when
|
|
93
|
+
the extra capability costs little more. For example, for review (bar 3) a model rated 5 at 3× the price of one rated
|
|
94
|
+
4 is picked; at 8× the price, the one rated 4 is. A GitHub Copilot seat counts only its premium requests per call as
|
|
95
|
+
price. If no model reaches the bar, the best-rated one is picked. With no ratings yet, the active profile is kept
|
|
96
|
+
unless a fact rules it out. To keep a fast model for one agent (for example Talk's voice agent, which works in
|
|
97
|
+
`planning`), give it its own model under `llm.agents`.
|
|
83
98
|
4. **A failed answer escalates once.** When a root-cause analysis finds nothing, or finds a cause with low confidence
|
|
84
99
|
although it could read the product's code, it runs again on a stronger model: one rated higher for the area, or rated
|
|
85
100
|
the same and priced higher. Both runs are counted in its cost.
|
|
@@ -126,9 +141,42 @@ llm:
|
|
|
126
141
|
A name in `routes` must be a profile in `llms.json`, and an area must be one of the six above. Anything else stops
|
|
127
142
|
ForgeQE at start with a message that names it.
|
|
128
143
|
|
|
144
|
+
## What routing cost, and what it saved
|
|
145
|
+
|
|
146
|
+
Every model call is recorded with the area it was made for and what chose its model — the router's own pick, an
|
|
147
|
+
`llm.agents` pin, a substitution after a model failed its check, the active profile kept because nothing else passed,
|
|
148
|
+
or an escalation. It goes in the usage ledger beside the tokens, so the question "which model wrote the tests, and
|
|
149
|
+
what did that cost" is answered from the calls themselves and not from the logs.
|
|
150
|
+
|
|
151
|
+
Where to see it:
|
|
152
|
+
|
|
153
|
+
- **Cost › By area of work** — what each area spent.
|
|
154
|
+
- **Cost › Routing** — each area's pick, and a *Ran on* column with the models that actually answered for it.
|
|
155
|
+
- **Cost › What routing cost** — each area against running everything on `llm.active`, which is what `routing: off`
|
|
156
|
+
does. Both sides are priced at today's prices, so the difference is the models' and not a price that moved since.
|
|
157
|
+
- `forgeqe models --routes` still shows the picks themselves.
|
|
158
|
+
|
|
159
|
+
Two things to read carefully:
|
|
160
|
+
|
|
161
|
+
- **An area can cost more, on purpose.** `coding` and `analysis` are routed to a model rated 5, which is usually the
|
|
162
|
+
dearest one configured. Measured against a cheap active profile, those areas show as costing *more*, and the total
|
|
163
|
+
can be negative. That is routing working, not a fault: the cheaper model there costs more in failed attempts than
|
|
164
|
+
it saves.
|
|
165
|
+
- **It is price arithmetic only.** Nothing in it checked that the cheaper model would have reached the same answer,
|
|
166
|
+
written a test that passed, or found the same root cause. A saving is what the tokens would have cost at another
|
|
167
|
+
price, nothing more.
|
|
168
|
+
|
|
169
|
+
Calls that cannot be compared are counted and named rather than folded in: a model with no known price, an active
|
|
170
|
+
profile with no known price, or a price in another currency, which there is no rate to convert with. Calls recorded
|
|
171
|
+
before ForgeQE kept the area, and any the router never touched, are their own **Not attributed** row.
|
|
172
|
+
|
|
129
173
|
## What it does not do
|
|
130
174
|
|
|
175
|
+
- The lead model does not choose the workers' models itself: each agent's model is picked by code, from the ratings
|
|
176
|
+
and the strategy, so the same configuration always gives the same models.
|
|
131
177
|
- ForgeQE's agent picks its model when its session starts and keeps it for the whole conversation. Changing the model
|
|
132
178
|
mid-conversation would drop the prompt cache and make every later turn cost more. The agent hands heavy work to the
|
|
133
179
|
other agents, and those are routed.
|
|
134
180
|
- A rating is one model's judgement. It is kept in a file that you can read and correct.
|
|
181
|
+
- It does not judge whether a cheaper model was good enough. The saving it reports is a price difference; whether the
|
|
182
|
+
model that answered was the right one is what a test's result, a review and a root cause tell you.
|
|
@@ -4,7 +4,7 @@ Status: phases 1 (structure graph, query, tool, command), 2 (model understanding
|
|
|
4
4
|
|
|
5
5
|
## Goal
|
|
6
6
|
|
|
7
|
-
Give every ForgeQE agent (
|
|
7
|
+
Give every ForgeQE agent (Atlas, planners, the browser agent, Quill, the API and defect agents) a clear,
|
|
8
8
|
queryable picture of how the product works, built from **all of the product's repositories and documents**, so a task
|
|
9
9
|
starts from what the product actually does instead of guesses.
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ starts from what the product actually does instead of guesses.
|
|
|
19
19
|
| Piece | Where | Used for |
|
|
20
20
|
|---|---|---|
|
|
21
21
|
| Product notes (Markdown) | `src/knowledge.ts`, `.forgeqe/knowledge/` | Sections matched to a task by shared words |
|
|
22
|
-
| Test-repo code graph (no model) | `src/code/graph/` |
|
|
22
|
+
| Test-repo code graph (no model) | `src/code/graph/` | Quill finds classes, tests, locators |
|
|
23
23
|
| tree-sitter parsers | `@vscode/tree-sitter-wasm`: TS, TSX, JS, C#, Java, Python | Parsing without a model |
|
|
24
24
|
| Confluence pages | `src/cases/confluence.ts` | Test cases today; documents here |
|
|
25
25
|
| Model routing | `src/router/` | Picks the model per area of work |
|
|
@@ -166,7 +166,7 @@ Rules for links (as built):
|
|
|
166
166
|
Both ways are tried, and an answer the other way round says so. Each step names the line it rests on, and a step only
|
|
167
167
|
inferred is marked. `ask` (op `ask`) runs the
|
|
168
168
|
investigator (PRODUCT_VIEWS.md, Investigation).
|
|
169
|
-
- **Prompts**: the planners, the explorer,
|
|
169
|
+
- **Prompts**: the planners, the explorer, Planner, and the browser agent get the matching block next to
|
|
170
170
|
today's knowledge sections.
|
|
171
171
|
- **Requirement_Agent** reads the same `product-graph.json` through a `GraphProvider` (its `ContextProvider` interface).
|
|
172
172
|
- **Web app**: a Knowledge page shows the graph, the generated pages, and build status, and starts a rebuild.
|
package/docs/PRODUCT_VIEWS.md
CHANGED
|
@@ -244,7 +244,7 @@ Same rules as PRODUCT_KNOWLEDGE.md. In addition:
|
|
|
244
244
|
|
|
245
245
|
1. **Fact store and evidence** (done). Evidence on every node and edge of `product-graph.json`; gaps for calls and
|
|
246
246
|
tables that cannot be settled; `graph/coverage.json`; `forgeqe knowledge gaps` and `check`; the tool's `gaps`.
|
|
247
|
-
2. **
|
|
247
|
+
2. **Digger** (done). `forgeqe-investigate` (prompts/product-investigate.md) with two read-only tools,
|
|
248
248
|
`product_knowledge` and `product_code` (src/mcp/investigatetools.ts); findings with quotes found again in code;
|
|
249
249
|
`graph/findings.json`, earlier findings in the next request, stale marking on build and check; `forgeqe knowledge
|
|
250
250
|
ask|findings`; the tool's `ask` and `findings`; `node` shows findings. The investigator also reads the text of
|
package/docs/WEB_APP.md
CHANGED
|
@@ -157,10 +157,10 @@ agent runtime is not installed), and the chips above filter by them or by Favour
|
|
|
157
157
|
**An agent's page** (Agents, in the sidebar) is the same box with the agent's icon, its name and what it does on
|
|
158
158
|
top, suggestions of its own, **Tools it can use** (the first five groups, folded, with **Show all** to its tools page,
|
|
159
159
|
`#/agents/<agent>/tools`, which lists every group and tool open; its own tools with what its permissions take away, and each tool
|
|
160
|
-
server its session gets: the live browser, the code map, databases, ForgeQE's tools, and for
|
|
160
|
+
server its session gets: the live browser, the code map, databases, ForgeQE's tools, and for Atlas
|
|
161
161
|
every capability and your systems' MCP servers; a group it cannot use here says why), **Connected to** (the test
|
|
162
162
|
repository, databases, test environments and systems it reaches), its instructions (the prompt it starts from,
|
|
163
|
-
changed in Prompts) and its recent runs. A request sent from there goes to
|
|
163
|
+
changed in Prompts) and its recent runs. A request sent from there goes to Atlas with the agent's
|
|
164
164
|
name before it, so it is handed on.
|
|
165
165
|
|
|
166
166
|
Every page and agent in the sidebar has one kind of icon, ForgeQE's 3D pixel icons; a page's is never an agent's.
|
|
@@ -205,7 +205,7 @@ In the box:
|
|
|
205
205
|
A reply shows the work as it happens:
|
|
206
206
|
|
|
207
207
|
- **The plan** as a chain: what is done (a tick), what is being worked on now, and what is next.
|
|
208
|
-
- **The agents**: each step under the agent doing it (
|
|
208
|
+
- **The agents**: each step under the agent doing it (Atlas, WebPilot, Quill), and each handoff
|
|
209
209
|
from one to another.
|
|
210
210
|
- **The latest activity**, live, with the full log a click away.
|
|
211
211
|
- **The result**: each test with its status, file and the command to run it; reports as links; every file changed with
|
|
@@ -223,12 +223,12 @@ and Ended as filters, a search, and 50 at a time.
|
|
|
223
223
|
|
|
224
224
|
| Page | What it is for |
|
|
225
225
|
|---|---|
|
|
226
|
-
| **Record** | Do a test's steps yourself in a browser or a Windows app ForgeQE opens; each click, entry and choice is recorded, with nothing to describe first: no panel in the page, only a small badge, with Pause, Undo and Stop on the Record page. A web recording is then reviewed with clicks: its name (written from what you did), steps to drop or add (in your words, a page to open, go back), notes on steps, instructions for
|
|
226
|
+
| **Record** | Do a test's steps yourself in a browser or a Windows app ForgeQE opens; each click, entry and choice is recorded, with nothing to describe first: no panel in the page, only a small badge, with Pause, Undo and Stop on the Record page. A web recording is then reviewed with clicks: its name (written from what you did), steps to drop or add (in your words, a page to open, go back), notes on steps, instructions for Quill, checks suggested from what each step brought to the page or picked on its picture (a text, a field's value, the page it leads to, or in your words), and where each typed value comes from (as typed, test data, new on each run, or a secret read from the environment, its typed text removed from the recording). Every change is a version to go back to. Steps used in many tests are kept as a **block**, put into another recording, or played first when one starts (**Start from a block**). **Record more from here** plays the steps up to one and records what comes next. Checks of the page's own server calls, and **Suggest with the model** (one call). ForgeQE makes the usual choices first, and finds saved blocks in the steps. **Re-run** replays the steps with Playwright, on another environment or with other test data if you like, or once for each row of a data file or kept request; **Stop** ends it, keeping the steps done. **Write the test** tries the steps first, then Quill writes it in the review, asking nothing: the plan and where the test goes follow the repository, and a block becomes one helper. Every web recording says what came of its test (**No test yet**, **Writing the test…**, **Test written** with its file to open, **Test out of date** after you change the recording, **Test not passing**, **Writing failed**); once a test is written, the button is **Update the test**, which asks first and changes that test instead of adding a second one. Writing is kept by forgeqe web, not the page: it plays the steps first (**Checking the steps…**), then a chat writes the test; you can leave and come back from the menu, and the recording still says where it is (**Steps failed, no test written** with the step that failed, or **Writing the test…** with the agent's work and **Open the chat**). The chat says which recording it writes, with **Back to the recording**. A refresh changes nothing. When something goes wrong the recording says why in words to act on: **Waiting for the model…** while the model is not answering and its calls are retried, **Model not reachable** (no internet, a proxy, the provider down), a refused sign-in (check the key in Settings › Models) or a busy model; a site that cannot be opened stops at the steps, before any model call. A writing that has only waited on the model for 10 minutes is stopped, and **Stop writing** stops it at once. When the model was not reachable or busy, ForgeQE checks every 30 seconds whether it answers again and then carries on by itself from where it stopped (**Carrying on…**), for up to 15 minutes after the first failure; a refused sign-in waits for you; either way what the agent changed so far is kept, and the next **Write** reopens its session and carries on from there instead of starting over. Closing forgeqe web stops the writing, and the recording says so. A desktop recording replays with no model. The recordings, searched and paged and filtered by **Test written** or **No test yet**, each with **Review**. |
|
|
227
227
|
| **Regression** | Regression packs for a release, in two tabs. **Agent**: a conversation where the agent reads the connected sources, says what is missing, asks for the details it needs (ticked off above the message box), and builds the pack. **Packs**: a table of the packs; a row opens the pack's page, with its numbers in one strip, the plan as a table (automated, manual, new automation, exploratory; filters, search, 50 rows a page, each row's evidence) and the release's changes, risk areas, runs and triage, history and a comparison beside it; save it, run it now or schedule it, refresh it, reuse it for the next release. |
|
|
228
228
|
| **API tests** | Two tabs. **Agent**: a conversation where you paste links, cURL or details (or attach a Postman collection or an API description) and the agent makes the API's calls in folders, sends them and says what it found, each API as a card to open. **Workbench**: like Postman, with an agent: APIs (from a description, a Postman collection, or the calls a recorded run saw) with their calls in folders and flows on the left, exported as a Postman collection; a call open to edit and **Send**, its answer, and what it must answer; an environment from env.yaml and one **Run**. Calls that change data ask first (once, or always on a test environment). Sign in once per API, the value kept as a secret. Flows built from the API's calls, passing values on. **Ask the agent** writes the tests or explains a failure, on the page. |
|
|
229
229
|
| **Quality** | What each browser run measured, as a table of runs (rules failed, critical and serious violations, slow pages, visual changes, budgets exceeded), with Trends beside it. A row opens the run's page: its numbers in one strip and three tabs, **Accessibility** (every failed WCAG rule with its criterion, level, elements and pages, each opening on the elements and how to fix it; the rules that passed), **Performance** (every page's Core Web Vitals, requests and size against the thresholds and budgets) and **Visual** (every page against its baseline, with the baseline, this run and the difference, and **Approve as the new baseline**). |
|
|
230
|
-
| **Data** | Databases (connection, tables, read-only queries), Ask (a question in words turned by
|
|
231
|
-
| **Agents ›
|
|
230
|
+
| **Data** | Databases (connection, tables, read-only queries), Ask (a question in words turned by Miner into a query and its rows, test data, a pytest or Playwright test script, or data checks, each kept to run again), and data flows. |
|
|
231
|
+
| **Agents › Miner** | The databases Miner is connected to (test each one), each one's schema as a diagram of its tables and foreign keys, Ask, every request the agents made of it, and its tools and runs, under the composer every agent's page has. |
|
|
232
232
|
| **Test data** | Every request for test data, from any agent, a test case, the web app or a terminal: who asked, what for, when, and the answer; kept requests fetched again; specs (preview, files, insert after your confirmation) and the batches inserted. |
|
|
233
233
|
| **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. |
|
|
234
234
|
| **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. |
|
package/docs/demo-qi-commerce.md
CHANGED
|
@@ -17,15 +17,15 @@ It is Wednesday 21 October 2026, in the middle of **Sprint 20** (19–30 Oct, re
|
|
|
17
17
|
| Agent | Job |
|
|
18
18
|
|---|---|
|
|
19
19
|
| ForgeQE's agent | Reads the request, calls the tools, talks to Azure DevOps through its MCP server |
|
|
20
|
-
|
|
|
20
|
+
| WebPilot | Drives the browser one step at a time and judges each expected result |
|
|
21
21
|
| Mobile agent | Drives the Android app through Appium for a goal and saves the run as a workflow |
|
|
22
|
-
| Repo reader (`forgeqe-read`) | Learns a repository's framework, page objects and helpers before
|
|
23
|
-
|
|
|
24
|
-
| Reviewer (`forgeqe-review`) | Approves
|
|
25
|
-
|
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
22
|
+
| Repo reader (`forgeqe-read`) | Learns a repository's framework, page objects and helpers before Quill writes |
|
|
23
|
+
| Quill (`forgeqe-test`) | Writes tests in the repository's own framework and style |
|
|
24
|
+
| Reviewer (`forgeqe-review`) | Approves Quill's test or sends issues back |
|
|
25
|
+
| Hound (`forgeqe-find`) | Picks existing tests by reading them and the git history |
|
|
26
|
+
| Patch (`forgeqe-pr-review`) | Reviews a pull request in a temporary checkout |
|
|
27
|
+
| Mender (`forgeqe-heal`) | Updates a test the app has outgrown, or reports an app bug instead |
|
|
28
|
+
| Sleuth | Writes a hypothesis for a new defect from the evidence and the product code |
|
|
29
29
|
|
|
30
30
|
Tools such as the test case check, impact analysis, regression packs, release readiness and notifications are called
|
|
31
31
|
by ForgeQE's agent; they are not agents themselves.
|
|
@@ -78,13 +78,13 @@ first time. After that, each works on its own.
|
|
|
78
78
|
| # | Scenario | Persona | Agents | Needs |
|
|
79
79
|
|---|---|---|---|---|
|
|
80
80
|
| 1 | Morning: what broke overnight | QA lead | ForgeQE, healer, browser | none |
|
|
81
|
-
| 2 | Pick up a story and leave it automated | QA engineer | ForgeQE, browser, repo reader,
|
|
81
|
+
| 2 | Pick up a story and leave it automated | QA engineer | ForgeQE, browser, repo reader, Quill, reviewer | none |
|
|
82
82
|
| 3 | Clean up test cases someone wrote in a hurry | QA engineer | ForgeQE, browser | 2 (page memory) |
|
|
83
83
|
| 4 | Break a feature before customers do | QA engineer | ForgeQE, browser | none |
|
|
84
|
-
| 5 | Review a developer's pull request | Developer and QA | ForgeQE,
|
|
85
|
-
| 6 | A pull request to the test framework | SDET | ForgeQE,
|
|
84
|
+
| 5 | Review a developer's pull request | Developer and QA | ForgeQE, Patch, browser | 2 or 4 (page memory) |
|
|
85
|
+
| 6 | A pull request to the test framework | SDET | ForgeQE, Quill | none |
|
|
86
86
|
| 7 | From a failed run to a fix | QA and developer | ForgeQE, browser ×2, root-cause, healer | none |
|
|
87
|
-
| 8 | Grow the API suite from a UI journey | SDET | ForgeQE, repo reader,
|
|
87
|
+
| 8 | Grow the API suite from a UI journey | SDET | ForgeQE, repo reader, Quill, reviewer | 2 (a browser run) |
|
|
88
88
|
| 9 | Friday: can Sprint 20 ship? | QA lead and release manager | ForgeQE, browser | 1–7 for a richer answer |
|
|
89
89
|
| 10 | One regression for web, API and app | QA lead | ForgeQE, test finder, browser | none |
|
|
90
90
|
| 11 | A known defect gets fixed | SDET and developer | ForgeQE, healer | none |
|
|
@@ -137,7 +137,7 @@ The nightly `e2e-tests-ci` run has failures. Priya wants to know which are real
|
|
|
137
137
|
| Match against history | `flaky_tests` | `.forgeqe/test-history.json` | Pass rate, flip-flops, likely cause per test |
|
|
138
138
|
| Explain sign-in failures | ForgeQE's agent | The report artifact: "Performing security verification" | Environment (bot protection on hosted agents), not a product defect |
|
|
139
139
|
| Rerun locally ⚠ | `run_tests` | The failed tests | Pass or fail from this machine; a retry that passes marks the test flaky |
|
|
140
|
-
| Heal or report ⚠ |
|
|
140
|
+
| Heal or report ⚠ | Mender, with the browser | A test that still fails | An updated test where the app changed on purpose, or an app bug |
|
|
141
141
|
| Quarantine ⚠ | `quarantine_tests` | Flakiness scores | The test keeps running; its failures stop failing CI |
|
|
142
142
|
| Tell the team ⚠ | `notify` | The summary | A Teams card |
|
|
143
143
|
|
|
@@ -147,7 +147,7 @@ The nightly `e2e-tests-ci` run has failures. Priya wants to know which are real
|
|
|
147
147
|
|
|
148
148
|
## 2. Pick up a story and leave it automated
|
|
149
149
|
|
|
150
|
-
**Persona:** Hannah, QA engineer on Catalog. **Agents:** ForgeQE's agent, browser agent, repo reader,
|
|
150
|
+
**Persona:** Hannah, QA engineer on Catalog. **Agents:** ForgeQE's agent, browser agent, repo reader, Quill, reviewer.
|
|
151
151
|
|
|
152
152
|
Story **3284** *Add a product to favourites* is Active in Sprint 20 with two manual cases and no automation. The web
|
|
153
153
|
suite already has `LoginPage`, `CatalogPage` and `registerCustomer()`.
|
|
@@ -169,11 +169,11 @@ suite already has `LoginPage`, `CatalogPage` and `registerCustomer()`.
|
|
|
169
169
|
| Run the cases | `run_test_cases`, browser agent | Steps with shared step 3236 inlined, login `toolshop` | Verdicts, `workflow.yaml`, screenshots, `network.json`, page memory |
|
|
170
170
|
| Post results ⚠ | write-back | Verdicts | A result comment on each case |
|
|
171
171
|
| Learn the repo | Repo reader | `pages/*.ts`, `fixtures/users.ts`, `playwright.config.ts`, the README's rules | How tests sign in, which helpers exist |
|
|
172
|
-
| Write the tests ⚠ |
|
|
173
|
-
| Review | Reviewer | The test and its run | Approval, or issues back to
|
|
172
|
+
| Write the tests ⚠ | Quill | The run's steps, the best locators from page memory | `tests/catalog/favourites.spec.ts` on the existing page objects and `registerCustomer()` |
|
|
173
|
+
| Review | Reviewer | The test and its run | Approval, or issues back to Quill |
|
|
174
174
|
| Record ⚠ | traceability | The passing tests | `.forgeqe/test-cases.json` updated; *Associated Automation* set on each case |
|
|
175
175
|
|
|
176
|
-
**What to point out:**
|
|
176
|
+
**What to point out:** Quill extended the team's suite in its own style. It added no new framework and no copied
|
|
177
177
|
login code.
|
|
178
178
|
|
|
179
179
|
---
|
|
@@ -220,7 +220,7 @@ Story **3267** *Filter products by brand* is Active, with open bugs 3348 (untick
|
|
|
220
220
|
|---|---|---|---|
|
|
221
221
|
| Read the story | `explore_story` | Story 3267, case 3270, wiki rule CAT-4, bugs 3348 and 3400 | What is scripted, what the rules promise |
|
|
222
222
|
| Plan | ForgeQE's agent | The above | 6 read-only charters |
|
|
223
|
-
| Explore and confirm |
|
|
223
|
+
| Explore and confirm | WebPilot, two runs per suspected defect | The charters on `qa-buggy` | Confirmed defects only |
|
|
224
224
|
| File bugs ⚠ | `sources.bugs` | Confirmed defects | Bugs with steps, screenshots, a fingerprint tag; 3348 and 3400 listed as possibly related, never merged |
|
|
225
225
|
| Save cases ⚠ | `save_test_cases` | Clean charters and one case per defect | New cases *Tested By* story 3267 |
|
|
226
226
|
|
|
@@ -228,7 +228,7 @@ Story **3267** *Filter products by brand* is Active, with open bugs 3348 (untick
|
|
|
228
228
|
|
|
229
229
|
## 5. Review a developer's pull request
|
|
230
230
|
|
|
231
|
-
**Persona:** Lena (developer) and Tom (QA). **Agents:** ForgeQE's agent,
|
|
231
|
+
**Persona:** Lena (developer) and Tom (QA). **Agents:** ForgeQE's agent, Patch, browser agent.
|
|
232
232
|
|
|
233
233
|
novamart-web **PR 52** adds Buy Now Pay Later instalments for story 3306. Run from `e2e-tests`, with `novamart-web`
|
|
234
234
|
next to it.
|
|
@@ -247,9 +247,9 @@ next to it.
|
|
|
247
247
|
|
|
248
248
|
| Step | Agent or tool | Data it reads | Data it passes on |
|
|
249
249
|
|---|---|---|---|
|
|
250
|
-
| Review |
|
|
250
|
+
| Review | Patch | The diff of `PaymentStep.tsx`, story 3306, the open reviewer threads | Findings with severity, file and line |
|
|
251
251
|
| Impact | `analyze_pr_impact` | The diff's `data-test` ids, page memory of the Payment page, the work item chain 3306 → 3293 → 3237 | The page, web test `ADO-3309`, API case 3374, manual case **3310** with no test |
|
|
252
|
-
| Run the gap |
|
|
252
|
+
| Run the gap | WebPilot | Case 3310 | Verdict and evidence |
|
|
253
253
|
| Post ⚠ | `post_pr_review`, `comment_on_pr` | Review, impact, result | Comments on PR 52; ForgeQE never approves or votes |
|
|
254
254
|
|
|
255
255
|
**What to point out:** page memory joined two repositories. The ids in the diff matched elements the browser agent
|
|
@@ -259,7 +259,7 @@ had seen.
|
|
|
259
259
|
|
|
260
260
|
## 6. A pull request to the test framework
|
|
261
261
|
|
|
262
|
-
**Persona:** Nadia, SDET. **Agents:** ForgeQE's agent,
|
|
262
|
+
**Persona:** Nadia, SDET. **Agents:** ForgeQE's agent, Quill (checks the selection).
|
|
263
263
|
|
|
264
264
|
e2e-tests **PR 54** changes the shared `CheckoutPage` page object.
|
|
265
265
|
|
|
@@ -275,7 +275,7 @@ cd e2e-tests && git fetch && git checkout feature/3311-gift-card-payment
|
|
|
275
275
|
|
|
276
276
|
| Step | Agent or tool | Data it reads | Data it passes on |
|
|
277
277
|
|---|---|---|---|
|
|
278
|
-
| Select | `select_pr_tests`,
|
|
278
|
+
| Select | `select_pr_tests`, Quill | The changed file, imports through page objects, `.forgeqe/test-cases.json` | The checkout tests that import `CheckoutPage`, each with its reason |
|
|
279
279
|
| Run ⚠ | `run_tests` | The list | Pass or fail; a retry that passes marks the test flaky and updates the history |
|
|
280
280
|
| Post ⚠ | `post_pr_test_results` | Results | A comment on PR 54 |
|
|
281
281
|
|
|
@@ -301,18 +301,18 @@ cd e2e-tests && git fetch && git checkout feature/3311-gift-card-payment
|
|
|
301
301
|
|
|
302
302
|
| Step | Agent or tool | Data it reads | Data it passes on |
|
|
303
303
|
|---|---|---|---|
|
|
304
|
-
| Run |
|
|
304
|
+
| Run | WebPilot ×2 | Cases tagged `smoke`, environment `qa-buggy` | Verdicts, failing requests in `network.json` |
|
|
305
305
|
| Group | Defect intelligence | Failing requests, page and console errors | One defect per signature |
|
|
306
|
-
| Reproduce and analyse |
|
|
306
|
+
| Reproduce and analyse | WebPilot (repeat run), root-cause agent | The first case of each defect, suspect commits in `../novamart-web` | "Always" or "intermittent", and a hypothesis with its confidence |
|
|
307
307
|
| File bugs ⚠ | `sources.bugs` | Each defect | Bugs with steps, a `curl` of the failing request, a screenshot; next failure comments "Still failing" |
|
|
308
|
-
| Heal ⚠ |
|
|
308
|
+
| Heal ⚠ | Mender | `npx playwright test --grep @smoke` on qa-buggy | Tests changed only where the app changed on purpose |
|
|
309
309
|
| Trends | `defect_trends`, `predict_defects` | `defect-history.json`, the novamart-web diff | New, known and returning defects; areas at risk and the cases to run first |
|
|
310
310
|
|
|
311
311
|
---
|
|
312
312
|
|
|
313
313
|
## 8. Grow the API suite from a UI journey
|
|
314
314
|
|
|
315
|
-
**Persona:** Nadia, SDET. **Agents:** ForgeQE's agent, repo reader,
|
|
315
|
+
**Persona:** Nadia, SDET. **Agents:** ForgeQE's agent, repo reader, Quill, reviewer.
|
|
316
316
|
|
|
317
317
|
The checkout journey has a UI test but the API suite has no checkout scenario. Run this in `api-tests`.
|
|
318
318
|
|
|
@@ -331,7 +331,7 @@ The checkout journey has a UI test but the API suite has no checkout scenario. R
|
|
|
331
331
|
| Contracts | `api_contracts` | `network.json` from scenario 2 (secrets already removed), the OpenAPI | One contract per operation |
|
|
332
332
|
| Scenario | `api_scenarios`, `run_api_scenarios` | The contract set, the plain-English steps | Chained calls with checks, run against qa |
|
|
333
333
|
| Learn the repo | Repo reader | `storefront/client.py`, `tests/conftest.py`, the README's rules (find products by name, fresh customers) | Which client methods and fixtures exist |
|
|
334
|
-
| Write ⚠ |
|
|
334
|
+
| Write ⚠ | Quill, `write_api_tests` | The scenario | `tests/test_checkout_flow.py` on `StorefrontApi` and `pliers`/`cart_id` fixtures; any new client method in the same style |
|
|
335
335
|
| Review and run | Reviewer, `run_tests` | The test, then the suite | Approval; the suite still green with the 3 expected failures |
|
|
336
336
|
|
|
337
337
|
**What to point out:** the browser run from scenario 2 became an API test in a different repository, language and
|
|
@@ -358,7 +358,7 @@ framework, written the way that team writes tests.
|
|
|
358
358
|
| Step | Agent or tool | Data it reads | Data it passes on |
|
|
359
359
|
|---|---|---|---|
|
|
360
360
|
| Pack and run ⚠ | `build_regression_pack`, `run_regression_pack` | Sprint 20 stories → cases → `.forgeqe/test-cases.json`; linked PRs in novamart-web | Tests with reasons, gaps, results compared with the last run |
|
|
361
|
-
| Manual cases |
|
|
361
|
+
| Manual cases | WebPilot | Manual Sprint 20 cases (3287, 3288, 3301, 3310) | Results that readiness uses as each case's last outcome |
|
|
362
362
|
| Readiness | `release_readiness` | Stories, cases, automation status, results, open bugs (3349 Sev-1, 3348 Sev-2), flaky tests | **NO-GO**, with blockers and risks |
|
|
363
363
|
| Publish ⚠ | `write_ado_wiki_page`, `create_ado_dashboard`, `notify` | The report | Wiki page, dashboard, Teams card |
|
|
364
364
|
|
|
@@ -420,7 +420,7 @@ Simulate the fix by running against an environment where it behaves correctly, o
|
|
|
420
420
|
| Step | Agent or tool | Data it reads | Data it passes on |
|
|
421
421
|
|---|---|---|---|
|
|
422
422
|
| Run ⚠ | `run_tests` | `tests/test_payments.py`; the strict expected failure on `test_ado_3375_…` | The run turns red if the test passes ("XPASS (strict)"): the fix is real |
|
|
423
|
-
| Update the suite ⚠ |
|
|
423
|
+
| Update the suite ⚠ | Mender | The marker `known_defect(bug="3398")`, `.forgeqe/test-cases.json` (status `known_defect` → `automated`) | The marker removed, the mapping updated |
|
|
424
424
|
| Close the loop ⚠ | ForgeQE's agent, Azure DevOps MCP | Bug 3398, the run | A comment with the result, the bug resolved |
|
|
425
425
|
| Report | ForgeQE's agent | Mapping entries with `known_defect`, the bugs' dates | Bugs 3397 and 3399, with their age |
|
|
426
426
|
|
|
@@ -28,7 +28,7 @@ One prompt for each ForgeQE feature, to check the agent end to end. Type each pr
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
## Automated tests (
|
|
31
|
+
## Automated tests (Quill)
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
| # | Feature | Prompt | What to check |
|
|
@@ -88,7 +88,7 @@ One prompt for each ForgeQE feature, to check the agent end to end. Type each pr
|
|
|
88
88
|
| --- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
89
89
|
| 26 | API and UI steps in one case | Run a case with these steps: `1. Open https://automationexercise.com/products 2. Call POST https://automationexercise.com/api/searchProduct with form body search_product=top, expect 200 3. Search "top" in the UI, expect "Searched Products"` | `api_request` is used and the server answers 200; workflow.yaml has an `api` step; the card says "API … saved as a reusable API scenario"; the replay passes |
|
|
90
90
|
| 27 | Reuse or extend existing tests | Run #9's flow again with one extra check added | ForgeQE offers reuse, extend, or new, with coverage evidence; no duplicate test file appears |
|
|
91
|
-
| 28 | Reviewer exchange | Any
|
|
91
|
+
| 28 | Reviewer exchange | Any Quill job that needs two or more attempts (for example #9 on a new flow) | "Reviewer asked for changes" lists each issue with its fix; "Quill tries again" shows the real error; then the verdict |
|
|
92
92
|
| 29 | Activities panel | During #24, press **ctrl+o** | Activity takes half the width: the plan with spinners, Now and Next, each call shown as it starts; each request has a header row and a result row |
|
|
93
93
|
| 30 | Refine | Type `run 2287 and write automation`, then press **ctrl+r** | The panel scrolls with ↑↓ and PgUp/PgDn; open questions come first; Use, Edit, and Keep stay visible |
|
|
94
94
|
|
|
@@ -117,4 +117,4 @@ These need an `env.yaml` with the apps named. The desktop prompts need Windows w
|
|
|
117
117
|
| 45 | Container guard rails | `Run docker run -v /:/host alpine` | The shell refuses it; the agent offers the services tool instead |
|
|
118
118
|
| 46 | Compose file | With `containers.compose: docker-compose.yml`: `Start the services from our compose file` | Services start in `depends_on` order; named volumes and read-only mounts are listed in notes; a `privileged` or `build` service is refused by name |
|
|
119
119
|
| 47 | Tests in a container | With `containers.tests` set: `Run the checkout tests` | The confirmation says "in a container (image)"; services start first; results are read as usual; files in the repo belong to you |
|
|
120
|
-
| 48 | Testcontainers (
|
|
120
|
+
| 48 | Testcontainers (Quill) | `Write an integration test for the order repository against a real Postgres` in a repo with Testcontainers | Quill reuses the repo's container fixture, pins the image, and uses the mapped port; no `docker` command in the test |
|
|
@@ -9,7 +9,7 @@ multi-service repository).
|
|
|
9
9
|
## Goal
|
|
10
10
|
|
|
11
11
|
ForgeQE builds a product knowledge graph from the product's repositories (`forgeqe knowledge build`, `ForgeQE/src/product/`).
|
|
12
|
-
The Engineering view (`web/src/pages/Product.tsx`),
|
|
12
|
+
The Engineering view (`web/src/pages/Product.tsx`), Digger (`src/product/investigate.ts`) and Evidence's domain check
|
|
13
13
|
(`src/evidence/product.ts`, `checkChange`: business rules, architecture, dependencies, regression, security) all read it.
|
|
14
14
|
|
|
15
15
|
ForgeQE's code readers are pattern matches (`src/product/patterns.ts`, `src/product/structure.ts`). They miss what a real
|
|
@@ -113,14 +113,14 @@ Put the findings in `ForgeQE/docs/GRAPHIFY.md` and show me the comparison before
|
|
|
113
113
|
- Tests: a change to a helper two calls below an endpoint is reported against that endpoint. A test reaching it through calls
|
|
114
114
|
counts. Where nothing calls a function (a module's top-level code), imports still carry the impact.
|
|
115
115
|
|
|
116
|
-
## Step 3: paths for
|
|
116
|
+
## Step 3: paths for Digger
|
|
117
117
|
|
|
118
118
|
- `pathBetween(ix, from, to, { maxHops })` in `src/product/query.ts` gives the shortest chain over calls, routes and imports, each
|
|
119
119
|
hop with its evidence.
|
|
120
120
|
- Exposed as:
|
|
121
121
|
- `forgeqe knowledge path <a> <b>`;
|
|
122
122
|
- a `path` op of the product MCP tool (`src/mcp/producttools.ts`);
|
|
123
|
-
- one of
|
|
123
|
+
- one of Digger's tools.
|
|
124
124
|
- On the Engineering view, "How does A reach B" on a service. Works on ForgeQE's own graph even without Graphify.
|
|
125
125
|
|
|
126
126
|
## Step 4: modules and hotspots in the Engineering view
|