@capagents/forgeqe 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1851 -1820
- package/dist/template.html +69 -69
- package/dist/web/assets/Agent-CKlqZ4Eq.js +8 -0
- package/dist/web/assets/ApiTests-MARHrxdT.js +10 -0
- package/dist/web/assets/Browse-B2QYflth.js +2 -0
- package/dist/web/assets/Chat-DRkmiF4r.js +5 -0
- package/dist/web/assets/{CommandPalette-CAAPFMZn.js → CommandPalette-DMpA8mBk.js} +1 -1
- package/dist/web/assets/{Compare-DZfbMjDK.js → Compare-DD1mmRB4.js} +1 -1
- package/dist/web/assets/Cost-B6BCZIxQ.js +1 -0
- package/dist/web/assets/Data-CpKR98gM.js +6 -0
- package/dist/web/assets/{Desktop-sXYXYwRy.js → Desktop-xUqFsJPz.js} +1 -1
- package/dist/web/assets/{DesktopReview-Bz6bfPkM.js → DesktopReview-CnLC9yMR.js} +1 -1
- package/dist/web/assets/{Evidence-CijYL67k.js → Evidence-CWcZvoOu.js} +1 -1
- package/dist/web/assets/{Explore-DZ5PoVZp.js → Explore-DuDQqmEn.js} +2 -2
- package/dist/web/assets/{Features-BvZfZIb7.js → Features-BJTX7utr.js} +1 -1
- package/dist/web/assets/{Flags-B_-HOAeZ.js → Flags-BeG_gA9O.js} +2 -2
- package/dist/web/assets/{Flaky-CWyV0rE3.js → Flaky-DulQuBGi.js} +1 -1
- package/dist/web/assets/Impact-BvGp2rYG.js +3 -0
- package/dist/web/assets/Jobs-BXqBtH8C.js +5 -0
- package/dist/web/assets/KindPage-BGEobnS3.js +6 -0
- package/dist/web/assets/Migration-D1JVUQM0.js +2 -0
- package/dist/web/assets/{Product-BeHmrA7Z.js → Product-Y1dUpFfW.js} +2 -2
- package/dist/web/assets/{Production-Dakb3WS-.js → Production-DY9Gddm8.js} +1 -1
- package/dist/web/assets/{Quality-CcrANX20.js → Quality-B7M1Zna2.js} +1 -1
- package/dist/web/assets/{Readiness-DvYQ17Oh.js → Readiness-BtQ8RbJh.js} +1 -1
- package/dist/web/assets/Record-W7ojjKNu.js +2 -0
- package/dist/web/assets/Regression-eV2N8m2P.js +5 -0
- package/dist/web/assets/{RelationGraph-evMcSFoO.js → RelationGraph-C7K_BfEF.js} +1 -1
- package/dist/web/assets/{Reports--eyV0Gfp.js → Reports-D4v66mJR.js} +2 -2
- package/dist/web/assets/Response-B_2R4FjH.js +4 -0
- package/dist/web/assets/{RunDiff-DwEopDsx.js → RunDiff-Br5uN0Gu.js} +1 -1
- package/dist/web/assets/Runs-DvjM0xfG.js +2 -0
- package/dist/web/assets/{Steps-DxPqrmZK.js → Steps-DULf0k5w.js} +1 -1
- package/dist/web/assets/{TestCases-93xQKkMT.js → TestCases-Dc6bjNO5.js} +1 -1
- package/dist/web/assets/TestData-DWPcmhz4.js +2 -0
- package/dist/web/assets/{TestDebt-CE62ftuJ.js → TestDebt-BpYav19x.js} +1 -1
- package/dist/web/assets/Tosca-Bw-j_W-Q.js +3 -0
- package/dist/web/assets/{WhatsNew-lX-LhWKt.js → WhatsNew-CRaJjaut.js} +1 -1
- package/dist/web/assets/agentLink-Dxy-IYQv.js +1 -0
- package/dist/web/assets/{dataParts-LCnV1x8c.js → dataParts-Bwh_DOs0.js} +1 -1
- package/dist/web/assets/{families-DLmHA4rL.js → families-C47Nrp6j.js} +1 -1
- package/dist/web/assets/filters-Ca7by1u0.js +1 -0
- package/dist/web/assets/{fold-pif2b5qg.js → fold-Bd5-4sjR.js} +1 -1
- package/dist/web/assets/frame-BliO67Wd.js +18 -0
- package/dist/web/assets/index-B1U2Jkz_.js +67 -0
- package/dist/web/assets/index-Ce2EYROA.css +2 -0
- package/dist/web/assets/{logos-gqcS1A90.js → logos-CgYEz85j.js} +1 -1
- package/dist/web/assets/{markdown-BcuknPlh.js → markdown-DSp3tP8i.js} +5 -5
- package/dist/web/assets/{paletteCommands-qeRU49pp.js → paletteCommands-CGFwmBxN.js} +1 -1
- package/dist/web/assets/{parts-C7nGHnut.js → parts-DlmbVDzO.js} +1 -1
- package/dist/web/assets/{productParts-3lWHIbdH.js → productParts-CL2tDIGF.js} +1 -1
- package/dist/web/assets/{qualityParts-B-TQusS6.js → qualityParts-Bs34Dzva.js} +1 -1
- package/dist/web/assets/recordTest-DHsT3pOe.js +1 -0
- package/dist/web/assets/{rows-vVKLONno.js → rows-Baid_ASt.js} +1 -1
- package/dist/web/assets/{segmented-Bi4QAoQY.js → segmented-D0PvwMW_.js} +1 -1
- package/dist/web/assets/{usePageChat-De5Fn1X3.js → usePageChat-lmgkgnb4.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/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/Record-V7x9VxRQ.js +0 -2
- package/dist/web/assets/Regression-DgXh0V-X.js +0 -5
- package/dist/web/assets/Response-B1S-n787.js +0 -4
- package/dist/web/assets/Runs-B6bSGdrI.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
|
@@ -120,10 +120,10 @@
|
|
|
120
120
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>More documentation</p>
|
|
121
121
|
<h1 class="topic-h"><img class="pix pix--title" src="../../img/icons/mobile.svg" alt="" width="40" height="40">Mobile apps</h1>
|
|
122
122
|
<article class="prose">
|
|
123
|
-
<p>Status: the engine and its tests run on any OS, against a fake Appium server and a stand-in for Maestro.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
123
|
+
<p>Status: the engine and its tests run on any OS, against a fake Appium server and a stand-in for Maestro. On an
|
|
124
|
+
Android emulator the live tests go further: Appium explores and replays the emulator's Settings app, and Maestro
|
|
125
|
+
replays the same workflow. iOS runs the same code with the XCUITest driver, but is untested (it needs a macOS machine
|
|
126
|
+
with a simulator).</p>
|
|
127
127
|
<p>ForgeQE drives mobile apps two ways, and one workflow format runs on both:</p>
|
|
128
128
|
<div class="tbl"><table>
|
|
129
129
|
<thead>
|
|
@@ -448,8 +448,8 @@ environment); run it with a local <code>maestro</code>.</li>
|
|
|
448
448
|
run folder. Neither the user name nor the key is passed to the flows' environment.</li>
|
|
449
449
|
<li><code>maestro</code> and the <code>hyperexecute</code> CLI are started without ForgeQE's own secrets (the model's key, service tokens) in
|
|
450
450
|
their environment; only the mobile engine itself holds them.</li>
|
|
451
|
-
<li
|
|
452
|
-
|
|
451
|
+
<li><code>samples/mobile-testmu</code> runs all three on TestMu (Appium, Maestro with a workflow, a team flow) with TestMu's
|
|
452
|
+
Wikipedia sample app, once <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> are set.</li>
|
|
453
453
|
</ul>
|
|
454
454
|
<h2 id="security"><a href="#security" class="hash">#</a>Security</h2>
|
|
455
455
|
<ul>
|
|
@@ -120,8 +120,9 @@
|
|
|
120
120
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>More documentation</p>
|
|
121
121
|
<h1 class="topic-h"><img class="pix pix--title" src="../../img/icons/orchestrator.svg" alt="" width="40" height="40">Model routing</h1>
|
|
122
122
|
<article class="prose">
|
|
123
|
-
<p>With more than one model in <code>llms.json</code>, ForgeQE can give each kind of work the model it needs.
|
|
124
|
-
|
|
123
|
+
<p>With more than one model in <code>llms.json</code>, ForgeQE can give each kind of work the model it needs. The most capable model
|
|
124
|
+
plans the work and leads the chat, then hands the tasks to the agents, each on the model that suits it: a strong model
|
|
125
|
+
writes code and finds root causes, a cheaper one that is good enough reviews. A model that takes screenshots
|
|
125
126
|
drives the browser, and a model with a large window reads a large pull request. You do not need to know what each
|
|
126
127
|
model can do: ForgeQE finds out.</p>
|
|
127
128
|
<h2 id="turn-it-on"><a href="#turn-it-on" class="hash">#</a>Turn it on</h2>
|
|
@@ -129,6 +130,7 @@ model can do: ForgeQE finds out.</p>
|
|
|
129
130
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>llm:
|
|
130
131
|
models_file: ./llms.json
|
|
131
132
|
routing: auto # off (the default for existing projects) | shadow | auto
|
|
133
|
+
strategy: balanced # balanced (the default) | capability | cost
|
|
132
134
|
</code></pre></div>
|
|
133
135
|
<p><code>forgeqe init</code> writes <code>routing: auto</code> for new projects. With no <code>routing</code> line it is off. <code>shadow</code> decides and logs each pick in the session log
|
|
134
136
|
(<code>model.route</code>) but changes nothing, so you can see what the router would do before you let it. Shadow still runs the
|
|
@@ -148,12 +150,12 @@ whenever it is rated good enough.</p>
|
|
|
148
150
|
<tr><th>Area</th><th>What runs in it</th><th>Needs</th></tr>
|
|
149
151
|
</thead>
|
|
150
152
|
<tbody>
|
|
151
|
-
<tr><td><code>agent</code></td><td>ForgeQE's agent: the shell, <code>forgeqe run</code>, <code>forgeqe mcp</code
|
|
153
|
+
<tr><td><code>agent</code></td><td>ForgeQE's agent: the shell, <code>forgeqe run</code>, <code>forgeqe mcp</code> (plans and hands out work: <strong>lead</strong>)</td><td>tool calls; rated 4+</td></tr>
|
|
152
154
|
<tr><td><code>browser</code></td><td>Browser, desktop and mobile runs, from screenshots</td><td>images; rated 4+</td></tr>
|
|
153
|
-
<tr><td><code>coding</code></td><td>
|
|
155
|
+
<tr><td><code>coding</code></td><td>Quill writing and healing tests, API tests</td><td>tool calls; rated 5</td></tr>
|
|
154
156
|
<tr><td><code>review</code></td><td>Test reviewer, pull-request review, evaluation judge</td><td>tool calls; rated 3+</td></tr>
|
|
155
157
|
<tr><td><code>analysis</code></td><td>Root cause of defects</td><td>tool calls; rated 5</td></tr>
|
|
156
|
-
<tr><td><code>planning</code></td><td>Refine, finding tests, API scenarios, exploratory charters</td><td>tool calls; rated 3+</td></tr>
|
|
158
|
+
<tr><td><code>planning</code></td><td>Refine, finding tests, API scenarios, exploratory charters (<strong>lead</strong>)</td><td>tool calls; rated 3+</td></tr>
|
|
157
159
|
</tbody>
|
|
158
160
|
</table></div>
|
|
159
161
|
<h2 id="a-default-model-for-each-agent"><a href="#a-default-model-for-each-agent" class="hash">#</a>A default model for each agent</h2>
|
|
@@ -161,7 +163,7 @@ whenever it is rated good enough.</p>
|
|
|
161
163
|
(Settings → Routing → Areas of work, under each area, does the same):</p>
|
|
162
164
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>yaml</span><button class="copy-code" type="button">Copy</button></div><pre><code>llm:
|
|
163
165
|
agents:
|
|
164
|
-
forgeqe: azure-gpt4o #
|
|
166
|
+
forgeqe: azure-gpt4o # Atlas
|
|
165
167
|
engine: azure-gpt4o # the browser agent: pick a model that takes images
|
|
166
168
|
forgeqe-test: claude-opus # the coding agent
|
|
167
169
|
forgeqe-review: azure-mini # its reviewer
|
|
@@ -191,9 +193,25 @@ fails its check is replaced as for any area. <code>--profile</code> still names
|
|
|
191
193
|
already downloads for prices. A fact that nobody knows never rules a model out.</p>
|
|
192
194
|
</li>
|
|
193
195
|
<li>
|
|
194
|
-
<p><strong>Ratings pick among the rest.</strong>
|
|
195
|
-
root causes ask for 5, because a weaker model there costs more in failed attempts than it saves.
|
|
196
|
-
|
|
196
|
+
<p><strong>Ratings and the strategy pick among the rest.</strong> Only models rated at the area's bar are considered. Writing code
|
|
197
|
+
and finding root causes ask for 5, because a weaker model there costs more in failed attempts than it saves. Among
|
|
198
|
+
them, <code>llm.strategy</code> picks:</p>
|
|
199
|
+
<div class="tbl"><table>
|
|
200
|
+
<thead>
|
|
201
|
+
<tr><th>Strategy</th><th>Lead areas (<code>agent</code>, <code>planning</code>)</th><th>The other areas</th></tr>
|
|
202
|
+
</thead>
|
|
203
|
+
<tbody>
|
|
204
|
+
<tr><td><code>balanced</code> (the default)</td><td>the most capable model; the cheapest only among equally rated ones</td><td>the best value: a higher rating is worth paying for, up to 4× the price per rating point</td></tr>
|
|
205
|
+
<tr><td><code>capability</code></td><td>the most capable model</td><td>the most capable model</td></tr>
|
|
206
|
+
<tr><td><code>cost</code></td><td>the cheapest model rated at the bar</td><td>the cheapest model rated at the bar</td></tr>
|
|
207
|
+
</tbody>
|
|
208
|
+
</table></div>
|
|
209
|
+
<p>So with <code>balanced</code>, the planner is never a weak model because it was cheap, and a worker gets a stronger model when
|
|
210
|
+
the extra capability costs little more. For example, for review (bar 3) a model rated 5 at 3× the price of one rated
|
|
211
|
+
4 is picked; at 8× the price, the one rated 4 is. A GitHub Copilot seat counts only its premium requests per call as
|
|
212
|
+
price. If no model reaches the bar, the best-rated one is picked. With no ratings yet, the active profile is kept
|
|
213
|
+
unless a fact rules it out. To keep a fast model for one agent (for example Talk's voice agent, which works in
|
|
214
|
+
<code>planning</code>), give it its own model under <code>llm.agents</code>.</p>
|
|
197
215
|
</li>
|
|
198
216
|
<li>
|
|
199
217
|
<p><strong>A failed answer escalates once.</strong> When a root-cause analysis finds nothing, or finds a cause with low confidence
|
|
@@ -232,12 +250,42 @@ data on one deployment; the checks carry nothing from your runs. To send nothing
|
|
|
232
250
|
</code></pre></div>
|
|
233
251
|
<p>A name in <code>routes</code> must be a profile in <code>llms.json</code>, and an area must be one of the six above. Anything else stops
|
|
234
252
|
ForgeQE at start with a message that names it.</p>
|
|
253
|
+
<h2 id="what-routing-cost-and-what-it-saved"><a href="#what-routing-cost-and-what-it-saved" class="hash">#</a>What routing cost, and what it saved</h2>
|
|
254
|
+
<p>Every model call is recorded with the area it was made for and what chose its model — the router's own pick, an
|
|
255
|
+
<code>llm.agents</code> pin, a substitution after a model failed its check, the active profile kept because nothing else passed,
|
|
256
|
+
or an escalation. It goes in the usage ledger beside the tokens, so the question "which model wrote the tests, and
|
|
257
|
+
what did that cost" is answered from the calls themselves and not from the logs.</p>
|
|
258
|
+
<p>Where to see it:</p>
|
|
259
|
+
<ul>
|
|
260
|
+
<li><strong>Cost › By area of work</strong> — what each area spent.</li>
|
|
261
|
+
<li><strong>Cost › Routing</strong> — each area's pick, and a <em>Ran on</em> column with the models that actually answered for it.</li>
|
|
262
|
+
<li><strong>Cost › What routing cost</strong> — each area against running everything on <code>llm.active</code>, which is what <code>routing: off</code>
|
|
263
|
+
does. Both sides are priced at today's prices, so the difference is the models' and not a price that moved since.</li>
|
|
264
|
+
<li><code>forgeqe models --routes</code> still shows the picks themselves.</li>
|
|
265
|
+
</ul>
|
|
266
|
+
<p>Two things to read carefully:</p>
|
|
267
|
+
<ul>
|
|
268
|
+
<li><strong>An area can cost more, on purpose.</strong> <code>coding</code> and <code>analysis</code> are routed to a model rated 5, which is usually the
|
|
269
|
+
dearest one configured. Measured against a cheap active profile, those areas show as costing <em>more</em>, and the total
|
|
270
|
+
can be negative. That is routing working, not a fault: the cheaper model there costs more in failed attempts than
|
|
271
|
+
it saves.</li>
|
|
272
|
+
<li><strong>It is price arithmetic only.</strong> Nothing in it checked that the cheaper model would have reached the same answer,
|
|
273
|
+
written a test that passed, or found the same root cause. A saving is what the tokens would have cost at another
|
|
274
|
+
price, nothing more.</li>
|
|
275
|
+
</ul>
|
|
276
|
+
<p>Calls that cannot be compared are counted and named rather than folded in: a model with no known price, an active
|
|
277
|
+
profile with no known price, or a price in another currency, which there is no rate to convert with. Calls recorded
|
|
278
|
+
before ForgeQE kept the area, and any the router never touched, are their own <strong>Not attributed</strong> row.</p>
|
|
235
279
|
<h2 id="what-it-does-not-do"><a href="#what-it-does-not-do" class="hash">#</a>What it does not do</h2>
|
|
236
280
|
<ul>
|
|
281
|
+
<li>The lead model does not choose the workers' models itself: each agent's model is picked by code, from the ratings
|
|
282
|
+
and the strategy, so the same configuration always gives the same models.</li>
|
|
237
283
|
<li>ForgeQE's agent picks its model when its session starts and keeps it for the whole conversation. Changing the model
|
|
238
284
|
mid-conversation would drop the prompt cache and make every later turn cost more. The agent hands heavy work to the
|
|
239
285
|
other agents, and those are routed.</li>
|
|
240
286
|
<li>A rating is one model's judgement. It is kept in a file that you can read and correct.</li>
|
|
287
|
+
<li>It does not judge whether a cheaper model was good enough. The saving it reports is a price difference; whether the
|
|
288
|
+
model that answered was the right one is what a test's result, a review and a root cause tell you.</li>
|
|
241
289
|
</ul>
|
|
242
290
|
|
|
243
291
|
</article>
|
|
@@ -247,7 +295,7 @@ other agents, and those are routed.</li>
|
|
|
247
295
|
</nav>
|
|
248
296
|
</main>
|
|
249
297
|
<aside class="docs-toc" aria-label="On this page">
|
|
250
|
-
<p class="side-head">On this page</p><ul><li><a href="#turn-it-on">Turn it on</a></li><li><a href="#the-areas-of-work">The areas of work</a></li><li><a href="#a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#how-a-model-is-picked">How a model is picked</a></li><li><a href="#how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#what-it-does-not-do">What it does not do</a></li></ul>
|
|
298
|
+
<p class="side-head">On this page</p><ul><li><a href="#turn-it-on">Turn it on</a></li><li><a href="#the-areas-of-work">The areas of work</a></li><li><a href="#a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#how-a-model-is-picked">How a model is picked</a></li><li><a href="#how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#what-routing-cost-and-what-it-saved">What routing cost, and what it saved</a></li><li><a href="#what-it-does-not-do">What it does not do</a></li></ul>
|
|
251
299
|
</aside>
|
|
252
300
|
</div>
|
|
253
301
|
<footer class="foot">
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
<article class="prose">
|
|
123
123
|
<p>Status: phases 1 (structure graph, query, tool, command), 2 (model understanding, pages, flows) and 3 (documents and links) built; phases 4 and 5 are design. Branch <code>knowledge-graph</code>.</p>
|
|
124
124
|
<h2 id="goal"><a href="#goal" class="hash">#</a>Goal</h2>
|
|
125
|
-
<p>Give every ForgeQE agent (
|
|
125
|
+
<p>Give every ForgeQE agent (Atlas, planners, the browser agent, Quill, the API and defect agents) a clear,
|
|
126
126
|
queryable picture of how the product works, built from <strong>all of the product's repositories and documents</strong>, so a task
|
|
127
127
|
starts from what the product actually does instead of guesses.</p>
|
|
128
128
|
<ul>
|
|
@@ -139,7 +139,7 @@ matter, with <code>repo:file:line</code> references they can open.</li>
|
|
|
139
139
|
</thead>
|
|
140
140
|
<tbody>
|
|
141
141
|
<tr><td>Product notes (Markdown)</td><td><code>src/knowledge.ts</code>, <code>.forgeqe/knowledge/</code></td><td>Sections matched to a task by shared words</td></tr>
|
|
142
|
-
<tr><td>Test-repo code graph (no model)</td><td><code>src/code/graph/</code></td><td>
|
|
142
|
+
<tr><td>Test-repo code graph (no model)</td><td><code>src/code/graph/</code></td><td>Quill finds classes, tests, locators</td></tr>
|
|
143
143
|
<tr><td>tree-sitter parsers</td><td><code>@vscode/tree-sitter-wasm</code>: TS, TSX, JS, C#, Java, Python</td><td>Parsing without a model</td></tr>
|
|
144
144
|
<tr><td>Confluence pages</td><td><code>src/cases/confluence.ts</code></td><td>Test cases today; documents here</td></tr>
|
|
145
145
|
<tr><td>Model routing</td><td><code>src/router/</code></td><td>Picks the model per area of work</td></tr>
|
|
@@ -278,7 +278,7 @@ between services, table reads and writes, inheritance, and imports, which cost t
|
|
|
278
278
|
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
|
|
279
279
|
inferred is marked. <code>ask</code> (op <code>ask</code>) runs the
|
|
280
280
|
investigator (PRODUCT_VIEWS.md, Investigation).</li>
|
|
281
|
-
<li><strong>Prompts</strong>: the planners, the explorer,
|
|
281
|
+
<li><strong>Prompts</strong>: the planners, the explorer, Planner, and the browser agent get the matching block next to
|
|
282
282
|
today's knowledge sections.</li>
|
|
283
283
|
<li><strong>Requirement_Agent</strong> reads the same <code>product-graph.json</code> through a <code>GraphProvider</code> (its <code>ContextProvider</code> interface).</li>
|
|
284
284
|
<li><strong>Web app</strong>: a Knowledge page shows the graph, the generated pages, and build status, and starts a rebuild.</li>
|
|
@@ -352,7 +352,7 @@ first. It has no shell and no network beyond ForgeQE's own runs.</li>
|
|
|
352
352
|
<ol>
|
|
353
353
|
<li><strong>Fact store and evidence</strong> (done). Evidence on every node and edge of <code>product-graph.json</code>; gaps for calls and
|
|
354
354
|
tables that cannot be settled; <code>graph/coverage.json</code>; <code>forgeqe knowledge gaps</code> and <code>check</code>; the tool's <code>gaps</code>.</li>
|
|
355
|
-
<li><strong>
|
|
355
|
+
<li><strong>Digger</strong> (done). <code>forgeqe-investigate</code> (prompts/product-investigate.md) with two read-only tools,
|
|
356
356
|
<code>product_knowledge</code> and <code>product_code</code> (src/mcp/investigatetools.ts); findings with quotes found again in code;
|
|
357
357
|
<code>graph/findings.json</code>, earlier findings in the next request, stale marking on build and check; <code>forgeqe knowledge ask|findings</code>; the tool's <code>ask</code> and <code>findings</code>; <code>node</code> shows findings. The investigator also reads the text of
|
|
358
358
|
pages from links and Confluence (kept in <code>graph/texts/</code>) and the API calls of ForgeQE's runs (<code>product_docs</code>,
|