@capagents/forgeqe 2.4.4 → 2.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +24 -4
- package/dist/docs-site/CREDITS.md +26 -0
- package/dist/docs-site/LICENSE.ubuntu.txt +96 -0
- package/dist/docs-site/architecture-map/arch.css +345 -0
- package/dist/docs-site/architecture-map/arch.js +119 -0
- package/dist/docs-site/architecture-map/index.html +184 -0
- package/dist/docs-site/docs/architecture/index.html +655 -0
- package/dist/docs-site/docs/containers/index.html +434 -0
- package/dist/docs-site/docs/cost-architecture/index.html +538 -0
- package/dist/docs-site/docs/desktop/index.html +496 -0
- package/dist/docs-site/docs/desktop-ci/index.html +225 -0
- package/dist/docs-site/docs/docs.css +307 -0
- package/dist/docs-site/docs/docs.js +206 -0
- package/dist/docs-site/docs/feature-test-prompts/index.html +255 -0
- package/dist/docs-site/docs/guardrails/index.html +155 -0
- package/dist/docs-site/docs/index.html +4706 -0
- package/dist/docs-site/docs/mobile/index.html +353 -0
- package/dist/docs-site/docs/model-routing/index.html +244 -0
- package/dist/docs-site/docs/product-knowledge/index.html +156 -0
- package/dist/docs-site/docs/search.js +4 -0
- package/dist/docs-site/docs/web-app/index.html +295 -0
- package/dist/docs-site/img/capgemini-color.svg +21 -0
- package/dist/docs-site/img/favicon.png +0 -0
- package/dist/docs-site/img/icons/api.svg +1 -0
- package/dist/docs-site/img/icons/architecture.svg +1 -0
- package/dist/docs-site/img/icons/branch.svg +1 -0
- package/dist/docs-site/img/icons/browser-agent.svg +1 -0
- package/dist/docs-site/img/icons/case.svg +1 -0
- package/dist/docs-site/img/icons/container.svg +1 -0
- package/dist/docs-site/img/icons/context-engine.svg +1 -0
- package/dist/docs-site/img/icons/desktop.svg +1 -0
- package/dist/docs-site/img/icons/download.svg +1 -0
- package/dist/docs-site/img/icons/explorer.svg +1 -0
- package/dist/docs-site/img/icons/feature.svg +1 -0
- package/dist/docs-site/img/icons/healer.svg +1 -0
- package/dist/docs-site/img/icons/knowledge-base.svg +1 -0
- package/dist/docs-site/img/icons/mobile.svg +1 -0
- package/dist/docs-site/img/icons/model.svg +1 -0
- package/dist/docs-site/img/icons/network.svg +1 -0
- package/dist/docs-site/img/icons/orchestrator.svg +1 -0
- package/dist/docs-site/img/icons/plug.svg +1 -0
- package/dist/docs-site/img/icons/pr-reviewer.svg +1 -0
- package/dist/docs-site/img/icons/replay.svg +1 -0
- package/dist/docs-site/img/icons/report.svg +1 -0
- package/dist/docs-site/img/icons/result.svg +1 -0
- package/dist/docs-site/img/icons/rule.svg +1 -0
- package/dist/docs-site/img/icons/scribe.svg +1 -0
- package/dist/docs-site/img/icons/shield.svg +1 -0
- package/dist/docs-site/img/icons/specs.svg +1 -0
- package/dist/docs-site/img/icons/speed.svg +1 -0
- package/dist/docs-site/img/icons/stories.svg +1 -0
- package/dist/docs-site/img/icons/terminal.svg +1 -0
- package/dist/docs-site/img/icons/test-finder.svg +1 -0
- package/dist/docs-site/img/icons/visual.svg +1 -0
- package/dist/docs-site/img/icons/web.svg +1 -0
- package/dist/docs-site/img/icons/wikis.svg +1 -0
- package/dist/docs-site/img/logos/android.svg +1 -0
- package/dist/docs-site/img/logos/appium.svg +1 -0
- package/dist/docs-site/img/logos/apple.svg +1 -0
- package/dist/docs-site/img/logos/azure.svg +1 -0
- package/dist/docs-site/img/logos/azuredevops.svg +12 -0
- package/dist/docs-site/img/logos/azurepipelines.svg +1 -0
- package/dist/docs-site/img/logos/browserstack.svg +1 -0
- package/dist/docs-site/img/logos/chrome.svg +1 -0
- package/dist/docs-site/img/logos/claudecode.svg +1 -0
- package/dist/docs-site/img/logos/confluence.svg +1 -0
- package/dist/docs-site/img/logos/docker.svg +1 -0
- package/dist/docs-site/img/logos/email.svg +1 -0
- package/dist/docs-site/img/logos/github.svg +1 -0
- package/dist/docs-site/img/logos/githubactions.svg +1 -0
- package/dist/docs-site/img/logos/jira.svg +1 -0
- package/dist/docs-site/img/logos/lmstudio.svg +1 -0
- package/dist/docs-site/img/logos/maestro.png +0 -0
- package/dist/docs-site/img/logos/ollama.svg +1 -0
- package/dist/docs-site/img/logos/openai.svg +1 -0
- package/dist/docs-site/img/logos/podman.svg +1 -0
- package/dist/docs-site/img/logos/qtest.svg +1 -0
- package/dist/docs-site/img/logos/teams.svg +1 -0
- package/dist/docs-site/img/logos/testmu.svg +1 -0
- package/dist/docs-site/img/logos/testrail.svg +1 -0
- package/dist/docs-site/img/logos/vllm.svg +1 -0
- package/dist/docs-site/img/logos/windows.svg +1 -0
- package/dist/docs-site/img/logos/wiremock.png +0 -0
- package/dist/docs-site/img/logos/xray.svg +1 -0
- package/dist/docs-site/img/logos/zephyr.png +0 -0
- package/dist/docs-site/img/wordmark-white.webp +0 -0
- package/dist/docs-site/site-header.css +29 -0
- package/dist/forgeqe.js +1010 -1048
- package/dist/template.html +4 -4
- package/dist/web/assets/ApiTests-CNUbGOAY.js +2 -0
- package/dist/web/assets/Chat-DU2a1lg2.js +3 -0
- package/dist/web/assets/{Data-BB-IahMh.js → Data-BMmaUggv.js} +4 -4
- package/dist/web/assets/Features-Ciy-CcIJ.js +1 -0
- package/dist/web/assets/Jobs-D6siJpbm.js +3 -0
- package/dist/web/assets/Quality-BrEGVxJH.js +1 -0
- package/dist/web/assets/Record-DrlDedsV.js +1 -0
- package/dist/web/assets/Regression-DpRx7yLr.js +2 -0
- package/dist/web/assets/Reports-BE4Jg3Pa.js +2 -0
- package/dist/web/assets/Response-pcvzCf4S.js +8 -0
- package/dist/web/assets/Runs-DemSYbtq.js +2 -0
- package/dist/web/assets/{circle-dashed-BzDi4lOK.js → circle-dashed-CEZcCi0T.js} +1 -1
- package/dist/web/assets/{external-link-7UCuXRch.js → external-link-NCKfigiH.js} +1 -1
- package/dist/web/assets/{file-chart-column-increasing-lJjSX1iR.js → file-chart-column-increasing-tV7y_ABu.js} +1 -1
- package/dist/web/assets/frame-Dq1wC8eF.js +3 -0
- package/dist/web/assets/index-C_8DS1Wt.js +26 -0
- package/dist/web/assets/index-E1pAbXe5.css +2 -0
- package/dist/web/assets/{markdown-DCFfynVM.js → markdown-BmsRBxB-.js} +8 -8
- package/dist/web/assets/{sticky-note-CJn6JUwD.js → sticky-note-CinvvKBc.js} +1 -1
- package/dist/web/assets/{terminal-CcBS6Zf0.js → terminal-EkGTrfG9.js} +1 -1
- package/dist/web/assets/{trending-up-GGhSrbVh.js → trending-up-BLA071mC.js} +1 -1
- package/dist/web/index.html +3 -3
- package/docs/WEB_APP.md +16 -2
- package/docs/user-guide.html +27 -6
- package/docs/walkthrough/hotfix-narration.md +752 -0
- package/docs/walkthrough/index.html +238 -39
- package/forgeqe.example.yaml +12 -0
- package/package.json +2 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_mobile/hyperexecute.py +1 -0
- package/dist/web/assets/ApiTests-CcCxkGF_.js +0 -2
- package/dist/web/assets/Chat-LTwJQfTv.js +0 -3
- package/dist/web/assets/Features-DtoKlY0g.js +0 -1
- package/dist/web/assets/Jobs-D6faC6C7.js +0 -3
- package/dist/web/assets/Quality-CuUpXKAD.js +0 -1
- package/dist/web/assets/Record-DZMZbuhu.js +0 -1
- package/dist/web/assets/Regression-BbNaH9Pg.js +0 -2
- package/dist/web/assets/Reports-D3RuBF6R.js +0 -2
- package/dist/web/assets/Response-BEbHVFJ7.js +0 -8
- package/dist/web/assets/Runs-LK-9464Y.js +0 -2
- package/dist/web/assets/frame-DqlMk9Ke.js +0 -3
- package/dist/web/assets/index-BBV4dkvi.css +0 -2
- package/dist/web/assets/index-DKn6ThbU.js +0 -26
- package/dist/web/assets/rotate-ccw-oBSoDTXr.js +0 -1
- package/dist/web/assets/trash-BOoKIhsY.js +0 -1
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Cost-aware execution · ForgeQE docs</title>
|
|
7
|
+
<meta name="description" content="Status:">
|
|
8
|
+
<meta name="theme-color" content="#080a10">
|
|
9
|
+
<link rel="canonical" href="https://forgeqe.qualityai.co.uk/docs/cost-architecture/">
|
|
10
|
+
<link rel="icon" type="image/png" href="../../img/favicon.png">
|
|
11
|
+
<link rel="stylesheet" href="../docs.css">
|
|
12
|
+
<script src="../search.js" defer></script>
|
|
13
|
+
<script src="../docs.js" defer></script>
|
|
14
|
+
</head>
|
|
15
|
+
<body class="docs">
|
|
16
|
+
<svg aria-hidden="true" style="position:absolute;width:0;height:0;overflow:hidden" xmlns="http://www.w3.org/2000/svg"><!-- Lucide icons v0.454.0, ISC licence (https://lucide.dev) -->
|
|
17
|
+
<symbol id="i-monitor" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="14" x="2" y="3" rx="2" />
|
|
18
|
+
<line x1="8" x2="16" y1="21" y2="21" />
|
|
19
|
+
<line x1="12" x2="12" y1="17" y2="21" /></symbol>
|
|
20
|
+
<symbol id="i-smartphone" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="20" x="5" y="2" rx="2" ry="2" />
|
|
21
|
+
<path d="M12 18h.01" /></symbol>
|
|
22
|
+
<symbol id="i-braces" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" />
|
|
23
|
+
<path d="M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" /></symbol>
|
|
24
|
+
<symbol id="i-container" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M22 7.7c0-.6-.4-1.2-.8-1.5l-6.3-3.9a1.72 1.72 0 0 0-1.7 0l-10.3 6c-.5.2-.9.8-.9 1.4v6.6c0 .5.4 1.2.8 1.5l6.3 3.9a1.72 1.72 0 0 0 1.7 0l10.3-6c.5-.3.9-1 .9-1.5Z" />
|
|
25
|
+
<path d="M10 21.9V14L2.1 9.1" />
|
|
26
|
+
<path d="m10 14 11.9-6.9" />
|
|
27
|
+
<path d="M14 19.8v-8.1" />
|
|
28
|
+
<path d="M18 17.5V9.4" /></symbol>
|
|
29
|
+
<symbol id="i-shield-check" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
|
|
30
|
+
<path d="m9 12 2 2 4-4" /></symbol>
|
|
31
|
+
<symbol id="i-file-text" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" />
|
|
32
|
+
<path d="M14 2v4a2 2 0 0 0 2 2h4" />
|
|
33
|
+
<path d="M10 9H8" />
|
|
34
|
+
<path d="M16 13H8" />
|
|
35
|
+
<path d="M16 17H8" /></symbol>
|
|
36
|
+
<symbol id="i-terminal" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 17 10 11 4 5" />
|
|
37
|
+
<line x1="12" x2="20" y1="19" y2="19" /></symbol>
|
|
38
|
+
<symbol id="i-brain" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z" />
|
|
39
|
+
<path d="M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z" />
|
|
40
|
+
<path d="M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4" />
|
|
41
|
+
<path d="M17.599 6.5a3 3 0 0 0 .399-1.375" />
|
|
42
|
+
<path d="M6.003 5.125A3 3 0 0 0 6.401 6.5" />
|
|
43
|
+
<path d="M3.477 10.896a4 4 0 0 1 .585-.396" />
|
|
44
|
+
<path d="M19.938 10.5a4 4 0 0 1 .585.396" />
|
|
45
|
+
<path d="M6 18a4 4 0 0 1-1.967-.516" />
|
|
46
|
+
<path d="M19.967 17.484A4 4 0 0 1 18 18" /></symbol>
|
|
47
|
+
<symbol id="i-git-branch" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><line x1="6" x2="6" y1="3" y2="15" />
|
|
48
|
+
<circle cx="18" cy="6" r="3" />
|
|
49
|
+
<circle cx="6" cy="18" r="3" />
|
|
50
|
+
<path d="M18 9a9 9 0 0 1-9 9" /></symbol>
|
|
51
|
+
<symbol id="i-database" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="12" cy="5" rx="9" ry="3" />
|
|
52
|
+
<path d="M3 5V19A9 3 0 0 0 21 19V5" />
|
|
53
|
+
<path d="M3 12A9 3 0 0 0 21 12" /></symbol>
|
|
54
|
+
<symbol id="i-zap" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z" /></symbol>
|
|
55
|
+
<symbol id="i-scan-search" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7V5a2 2 0 0 1 2-2h2" />
|
|
56
|
+
<path d="M17 3h2a2 2 0 0 1 2 2v2" />
|
|
57
|
+
<path d="M21 17v2a2 2 0 0 1-2 2h-2" />
|
|
58
|
+
<path d="M7 21H5a2 2 0 0 1-2-2v-2" />
|
|
59
|
+
<circle cx="12" cy="12" r="3" />
|
|
60
|
+
<path d="m16 16-1.9-1.9" /></symbol>
|
|
61
|
+
<symbol id="i-bug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m8 2 1.88 1.88" />
|
|
62
|
+
<path d="M14.12 3.88 16 2" />
|
|
63
|
+
<path d="M9 7.13v-1a3.003 3.003 0 1 1 6 0v1" />
|
|
64
|
+
<path d="M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6" />
|
|
65
|
+
<path d="M12 20v-9" />
|
|
66
|
+
<path d="M6.53 9C4.6 8.8 3 7.1 3 5" />
|
|
67
|
+
<path d="M6 13H2" />
|
|
68
|
+
<path d="M3 21c0-2.1 1.7-3.9 3.8-4" />
|
|
69
|
+
<path d="M20.97 5c0 2.1-1.6 3.8-3.5 4" />
|
|
70
|
+
<path d="M22 13h-4" />
|
|
71
|
+
<path d="M17.2 17c2.1.1 3.8 1.9 3.8 4" /></symbol>
|
|
72
|
+
<symbol id="i-repeat" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m17 2 4 4-4 4" />
|
|
73
|
+
<path d="M3 11v-1a4 4 0 0 1 4-4h14" />
|
|
74
|
+
<path d="m7 22-4-4 4-4" />
|
|
75
|
+
<path d="M21 13v1a4 4 0 0 1-4 4H3" /></symbol>
|
|
76
|
+
<symbol id="i-code" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="16 18 22 12 16 6" />
|
|
77
|
+
<polyline points="8 6 2 12 8 18" /></symbol>
|
|
78
|
+
<symbol id="i-lock" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
|
|
79
|
+
<path d="M7 11V7a5 5 0 0 1 10 0v4" /></symbol>
|
|
80
|
+
<symbol id="i-plug" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22v-5" />
|
|
81
|
+
<path d="M9 8V2" />
|
|
82
|
+
<path d="M15 8V2" />
|
|
83
|
+
<path d="M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z" /></symbol>
|
|
84
|
+
<symbol id="i-layers" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z" />
|
|
85
|
+
<path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65" />
|
|
86
|
+
<path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65" /></symbol>
|
|
87
|
+
<symbol id="i-chevron-right" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6" /></symbol>
|
|
88
|
+
<symbol id="i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
|
|
89
|
+
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></symbol>
|
|
90
|
+
<symbol id="i-play" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polygon points="6 3 20 12 6 21 6 3" /></symbol>
|
|
91
|
+
<symbol id="i-maximize" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 3 21 3 21 9" /><polyline points="9 21 3 21 3 15" /><line x1="21" x2="14" y1="3" y2="10" /><line x1="3" x2="10" y1="21" y2="14" /></symbol>
|
|
92
|
+
<symbol id="i-x" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18" /><path d="m6 6 12 12" /></symbol>
|
|
93
|
+
<symbol id="i-mail" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="20" height="16" x="2" y="4" rx="2" /><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" /></symbol>
|
|
94
|
+
<symbol id="i-message-square" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" /></symbol>
|
|
95
|
+
</svg>
|
|
96
|
+
|
|
97
|
+
<a class="skip" href="#main">Skip to content</a>
|
|
98
|
+
<header class="nav" id="navigation">
|
|
99
|
+
<div class="nav__bar">
|
|
100
|
+
<a class="nav__logo" href="https://forgeqe.github.io/" aria-label="ForgeQE by Capgemini, home"><img src="../../img/wordmark-white.webp" alt="" width="160" height="76"><span class="nav__by">by <img src="../../img/capgemini-color.svg" alt="" width="92" height="21"></span></a>
|
|
101
|
+
<nav aria-label="Main"><ul class="nav__links"><li><a href="https://forgeqe.github.io/"><img class="pix pix--nav" src="../../img/icons/context-engine.svg" alt="" width="40" height="40">Product</a></li><li><a href="../index.html" aria-current="page"><img class="pix pix--nav" src="../../img/icons/wikis.svg" alt="" width="40" height="40">Docs</a></li><li><a href="https://forgeqe.github.io/security/"><img class="pix pix--nav" src="../../img/icons/shield.svg" alt="" width="40" height="40">Security</a></li><li><a href="../../architecture-map/index.html"><img class="pix pix--nav" src="../../img/icons/architecture.svg" alt="" width="40" height="40">Architecture</a></li></ul></nav>
|
|
102
|
+
<div class="nav__end">
|
|
103
|
+
<button class="search-open" type="button" aria-haspopup="dialog"><svg class="icon" aria-hidden="true"><use href="#i-scan-search"></use></svg><span>Search</span><kbd>/</kbd></button>
|
|
104
|
+
<button class="nav__menu" type="button" aria-expanded="false" aria-controls="menu"><span class="sr-only">Open the menu</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 8h16M4 16h16"/></svg></button>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
<div class="menu" id="menu" hidden><ul><li><a href="https://forgeqe.github.io/"><img class="pix pix--nav" src="../../img/icons/context-engine.svg" alt="" width="40" height="40">Product</a></li><li><a href="../index.html" aria-current="page"><img class="pix pix--nav" src="../../img/icons/wikis.svg" alt="" width="40" height="40">Docs</a></li><li><a href="https://forgeqe.github.io/security/"><img class="pix pix--nav" src="../../img/icons/shield.svg" alt="" width="40" height="40">Security</a></li><li><a href="../../architecture-map/index.html"><img class="pix pix--nav" src="../../img/icons/architecture.svg" alt="" width="40" height="40">Architecture</a></li></ul></div>
|
|
108
|
+
</header>
|
|
109
|
+
<div class="container docs-layout">
|
|
110
|
+
<nav class="docs-side" aria-label="Docs">
|
|
111
|
+
<a class="side-home" href="../index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40">User guide</a>
|
|
112
|
+
<div class="side-group"><p class="side-head">Guide</p><ul><li><a href="../index.html#overview" data-chapter="overview"><img class="pix" src="../../img/icons/context-engine.svg" alt="" width="40" height="40"><span>Overview</span><b>01</b></a></li><li><a href="../index.html#get-started" data-chapter="get-started"><img class="pix" src="../../img/icons/download.svg" alt="" width="40" height="40"><span>Get started</span><b>02</b></a></li><li><a href="../index.html#using" data-chapter="using"><img class="pix" src="../../img/icons/orchestrator.svg" alt="" width="40" height="40"><span>Using ForgeQE</span><b>03</b></a></li></ul></div><div class="side-group"><p class="side-head">Capability areas</p><ul><li><a href="../index.html#area-browser" data-chapter="area-browser"><img class="pix" src="../../img/icons/browser-agent.svg" alt="" width="40" height="40"><span>Browser</span><b>04</b></a></li><li><a href="../index.html#area-test-cases" data-chapter="area-test-cases"><img class="pix" src="../../img/icons/case.svg" alt="" width="40" height="40"><span>Test cases</span><b>05</b></a></li><li><a href="../index.html#area-setup" data-chapter="area-setup"><img class="pix" src="../../img/icons/healer.svg" alt="" width="40" height="40"><span>Setup</span><b>06</b></a></li><li><a href="../index.html#area-desktop" data-chapter="area-desktop"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop</span><b>07</b></a></li><li><a href="../index.html#area-mobile" data-chapter="area-mobile"><img class="pix" src="../../img/icons/mobile.svg" alt="" width="40" height="40"><span>Mobile</span><b>08</b></a></li><li><a href="../index.html#area-operations" data-chapter="area-operations"><img class="pix" src="../../img/icons/network.svg" alt="" width="40" height="40"><span>Operations</span><b>09</b></a></li><li><a href="../index.html#area-data" data-chapter="area-data"><img class="pix" src="../../img/icons/knowledge-base.svg" alt="" width="40" height="40"><span>Data</span><b>10</b></a></li><li><a href="../index.html#area-automated-tests" data-chapter="area-automated-tests"><img class="pix" src="../../img/icons/scribe.svg" alt="" width="40" height="40"><span>Automated tests</span><b>11</b></a></li><li><a href="../index.html#area-pull-requests" data-chapter="area-pull-requests"><img class="pix" src="../../img/icons/pr-reviewer.svg" alt="" width="40" height="40"><span>Pull requests</span><b>12</b></a></li><li><a href="../index.html#area-api" data-chapter="area-api"><img class="pix" src="../../img/icons/api.svg" alt="" width="40" height="40"><span>API</span><b>13</b></a></li><li><a href="../index.html#area-quality" data-chapter="area-quality"><img class="pix" src="../../img/icons/result.svg" alt="" width="40" height="40"><span>Quality</span><b>14</b></a></li><li><a href="../index.html#area-release" data-chapter="area-release"><img class="pix" src="../../img/icons/speed.svg" alt="" width="40" height="40"><span>Release</span><b>15</b></a></li><li><a href="../index.html#area-systems" data-chapter="area-systems"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Systems</span><b>16</b></a></li></ul></div><div class="side-group"><p class="side-head">Reference</p><ul><li><a href="../index.html#reference" data-chapter="reference"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>Reference</span><b>17</b></a></li></ul></div>
|
|
113
|
+
<div class="side-group"><p class="side-head">More documentation</p><ul><li><a href="../web-app/index.html"><img class="pix" src="../../img/icons/wikis.svg" alt="" width="40" height="40"><span>The web app</span></a></li><li><a href="../desktop/index.html"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop apps</span></a></li><li><a href="../desktop-ci/index.html"><img class="pix" src="../../img/icons/desktop.svg" alt="" width="40" height="40"><span>Desktop in CI</span></a></li><li><a href="../mobile/index.html"><img class="pix" src="../../img/icons/mobile.svg" alt="" width="40" height="40"><span>Mobile apps</span></a></li><li><a href="../containers/index.html"><img class="pix" src="../../img/icons/knowledge-base.svg" alt="" width="40" height="40"><span>Containers</span></a></li><li><a href="../product-knowledge/index.html"><img class="pix" src="../../img/icons/context-engine.svg" alt="" width="40" height="40"><span>Product knowledge</span></a></li><li><a href="../guardrails/index.html"><img class="pix" src="../../img/icons/shield.svg" alt="" width="40" height="40"><span>Guardrails</span></a></li><li><a href="../feature-test-prompts/index.html"><img class="pix" src="../../img/icons/scribe.svg" alt="" width="40" height="40"><span>Feature test prompts</span></a></li><li><a href="../architecture/index.html"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Architecture</span></a></li><li><a href="index.html" aria-current="page"><img class="pix" src="../../img/icons/speed.svg" alt="" width="40" height="40"><span>Cost-aware execution</span></a></li><li><a href="../model-routing/index.html"><img class="pix" src="../../img/icons/orchestrator.svg" alt="" width="40" height="40"><span>Model routing</span></a></li></ul></div>
|
|
114
|
+
<div class="side-group"><p class="side-head">Pages of their own</p><ul>
|
|
115
|
+
<li><a href="https://forgeqe.github.io/security/"><img class="pix" src="../../img/icons/shield.svg" alt="" width="40" height="40"><span>Security and data flows</span></a></li>
|
|
116
|
+
<li><a href="../../architecture-map/index.html"><img class="pix" src="../../img/icons/architecture.svg" alt="" width="40" height="40"><span>Architecture map</span></a></li>
|
|
117
|
+
</ul></div>
|
|
118
|
+
</nav>
|
|
119
|
+
<main id="main" class="docs-main">
|
|
120
|
+
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>More documentation</p>
|
|
121
|
+
<h1 class="topic-h"><img class="pix pix--title" src="../../img/icons/speed.svg" alt="" width="40" height="40">Cost-aware execution</h1>
|
|
122
|
+
<article class="prose">
|
|
123
|
+
<p>Status: proposal · 2026-10-15</p>
|
|
124
|
+
<p>ForgeQE pays the model for work it has already done. This document sets out how ForgeQE decides when the
|
|
125
|
+
model is needed at all, and how much of it. The approach is built from published, measured techniques.
|
|
126
|
+
The goal for known work: <strong>a rerun of an existing test costs 0–5% of its first run</strong>, and the model is
|
|
127
|
+
paid only for what is new or broken.</p>
|
|
128
|
+
<h2 id="1-what-a-request-costs-today-measured"><a href="#1-what-a-request-costs-today-measured" class="hash">#</a>1. What a request costs today (measured)</h2>
|
|
129
|
+
<p>From the session logs in a live project (<code>.forgeqe/logs</code>, Azure OpenAI gpt-5.4):</p>
|
|
130
|
+
<div class="tbl"><table>
|
|
131
|
+
<thead>
|
|
132
|
+
<tr><th>Request</th><th>Agent calls</th><th>Input tokens</th><th>Output tokens</th><th>Cached</th></tr>
|
|
133
|
+
</thead>
|
|
134
|
+
<tbody>
|
|
135
|
+
<tr><td>"Are we ready to release?" (one release-readiness tool call)</td><td>12</td><td>577K</td><td>2.6K</td><td>518K</td></tr>
|
|
136
|
+
<tr><td>Test-authoring session</td><td>many</td><td>1.9M</td><td>8.9K</td><td>1.65M</td></tr>
|
|
137
|
+
</tbody>
|
|
138
|
+
</table></div>
|
|
139
|
+
<p>These numbers show three things:</p>
|
|
140
|
+
<ol>
|
|
141
|
+
<li><strong>Fixed overhead per call.</strong> Every chat-agent call resends about 45K tokens of system prompt, tool
|
|
142
|
+
definitions and history. Output is under 0.5% of tokens, so the cost is the context, not the work.</li>
|
|
143
|
+
<li><strong>Calls multiply.</strong> The deterministic release check took 12 calls, because the agent asked
|
|
144
|
+
questions, searched for files, read config and summarised.</li>
|
|
145
|
+
<li><strong>Known work is not recognised:</strong>
|
|
146
|
+
<ul>
|
|
147
|
+
<li>Every request goes through the chat agent, including the <strong>rerun</strong> link.</li>
|
|
148
|
+
<li>Page memory finds a saved flow only by the exact goal text plus the URL (<code>memory.py: goal_key</code>), so a
|
|
149
|
+
reworded goal misses it.</li>
|
|
150
|
+
<li><code>replay: verify</code> replays every step, then starts the browser agent to check the result.</li>
|
|
151
|
+
</ul>
|
|
152
|
+
</li>
|
|
153
|
+
</ol>
|
|
154
|
+
<p>Prompt caching already works (about 90% of input is cached). It lowers the price per token, but not the
|
|
155
|
+
number of tokens or calls, so on its own it cannot reach the target.</p>
|
|
156
|
+
<h2 id="2-the-approaches-this-design-uses"><a href="#2-the-approaches-this-design-uses" class="hash">#</a>2. The approaches this design uses</h2>
|
|
157
|
+
<div class="tbl"><table>
|
|
158
|
+
<thead>
|
|
159
|
+
<tr><th>Technique</th><th>Evidence</th><th>Where it applies here</th></tr>
|
|
160
|
+
</thead>
|
|
161
|
+
<tbody>
|
|
162
|
+
<tr><td><strong>Workflows before agents.</strong> Use fixed code paths for predictable tasks; keep agents for open-ended ones.</td><td>Anthropic, <a href="https://www.anthropic.com/research/building-effective-agents" class="ext" rel="noopener"><em>Building effective agents</em></a> (2024)</td><td>Tier 0: rerun, run case, run suite, release check</td></tr>
|
|
163
|
+
<tr><td><strong>Plan caching.</strong> Extract a plan template from a finished run, match new requests by key, and adapt the template with a small model.</td><td>Zhang et al., <a href="https://arxiv.org/abs/2506.14852" class="ext" rel="noopener"><em>Agentic Plan Caching</em></a>, NeurIPS 2025: 50.3% lower cost and 27.3% lower latency on average, performance maintained</td><td>Tier 1: known flow, new wording or new data</td></tr>
|
|
164
|
+
<tr><td><strong>Workflow memory.</strong> Turn successful trajectories into reusable routines.</td><td>Wang et al., <a href="https://arxiv.org/abs/2409.07429" class="ext" rel="noopener"><em>Agent Workflow Memory</em></a>, ICML 2025: +51.1% relative success on WebArena, fewer steps</td><td>Flows saved from passing runs, shared across cases</td></tr>
|
|
165
|
+
<tr><td><strong>Model cascade and routing.</strong> Try the cheapest model or step that can answer, and escalate only when a check fails.</td><td>Chen et al., <a href="https://arxiv.org/abs/2305.05176" class="ext" rel="noopener"><em>FrugalGPT</em></a> (up to 98% savings, task-dependent); Ong et al., <a href="https://arxiv.org/abs/2406.18665" class="ext" rel="noopener"><em>RouteLLM</em></a>, ICLR 2025 (over 2x savings at about 95% quality)</td><td>The <a href="../model-routing/index.html">router</a>; result checks on the reviewer model</td></tr>
|
|
166
|
+
<tr><td><strong>Content-addressed memoization.</strong> Key cached work by a fingerprint of its inputs; any change to the inputs invalidates it.</td><td>Standard in build systems (Bazel, Gradle remote cache) and in test impact analysis</td><td>Registry fingerprints, the tool-result cache</td></tr>
|
|
167
|
+
<tr><td><strong>Record–replay with self-healing locators.</strong></td><td>Already in ForgeQE (<code>replay.py</code>, ranked locators)</td><td>Tier 0 and Tier 2 execution</td></tr>
|
|
168
|
+
</tbody>
|
|
169
|
+
</table></div>
|
|
170
|
+
<p>The published figures come from the authors' own benchmarks. ForgeQE has to measure its own (section 7).</p>
|
|
171
|
+
<h2 id="3-the-execution-ladder"><a href="#3-the-execution-ladder" class="hash">#</a>3. The execution ladder</h2>
|
|
172
|
+
<p>Every request is resolved to the <strong>lowest tier that can do it</strong>. A tier escalates only on a concrete
|
|
173
|
+
failure signal, never on a guess.</p>
|
|
174
|
+
<div class="tbl"><table>
|
|
175
|
+
<thead>
|
|
176
|
+
<tr><th>Tier</th><th>When</th><th>Model use</th><th>Target cost vs. first run</th></tr>
|
|
177
|
+
</thead>
|
|
178
|
+
<tbody>
|
|
179
|
+
<tr><td><strong>0: Deterministic</strong></td><td>The request resolves to a known entity, and replay and end-state checks pass</td><td>None. The reply is filled in from the result.</td><td>0%</td></tr>
|
|
180
|
+
<tr><td><strong>1: Adapt</strong></td><td>A known flow, but with new wording, new test data, or an end-state check that is unsure</td><td>One call to the small (reviewer) model with a short prompt (about 2K tokens)</td><td>≤5%</td></tr>
|
|
181
|
+
<tr><td><strong>2: Heal</strong></td><td>Replay stopped at step <em>k</em>, or a check failed</td><td>The agent starts at step <em>k</em> with the steps so far as context, not from the beginning</td><td>Proportional to what broke</td></tr>
|
|
182
|
+
<tr><td><strong>3: Explore</strong></td><td>No match in the registry: a new goal or new kind of task</td><td>Full agent, as today</td><td>100%</td></tr>
|
|
183
|
+
</tbody>
|
|
184
|
+
</table></div>
|
|
185
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre><code>request ──► Resolver (no model) ──hit──► Tier 0 run ──checks pass──► reply from template
|
|
186
|
+
│ │ checks fail / replay stops
|
|
187
|
+
│ ambiguous ▼
|
|
188
|
+
▼ Tier 2 heal (agent from step k)
|
|
189
|
+
Router (small model, ~2K) ──known──► Tier 1 adapt
|
|
190
|
+
│ novel
|
|
191
|
+
▼
|
|
192
|
+
Tier 3 full agent ──passes──► registry learns the flow, plan and checks
|
|
193
|
+
</code></pre></div>
|
|
194
|
+
<p><strong>Resolver (no model).</strong> Matches IDs (<code>TC-123</code>, <code>SHOP-12</code>, plan/suite numbers, run folders,
|
|
195
|
+
<code>last</code>), file and test names, and aliases from the registry. The <strong>rerun</strong> link and <code>/rerun</code> call it
|
|
196
|
+
directly. Plain requests try it before any model is called.</p>
|
|
197
|
+
<p><strong>Router (small model).</strong> Runs only when the resolver is unsure. It sees the request and the top
|
|
198
|
+
registry candidates (ranked by alias and keyword match), not the full tool catalogue. It returns
|
|
199
|
+
<code>{entity, tier}</code> or <code>novel</code>.</p>
|
|
200
|
+
<p><strong>Safety rules (non-negotiable):</strong></p>
|
|
201
|
+
<ul>
|
|
202
|
+
<li>A Tier 0 pass needs evidence: replay complete <strong>and</strong> every recorded end-state check passing. Anything
|
|
203
|
+
else escalates.</li>
|
|
204
|
+
<li><strong>Freshness.</strong> A flow is marked <em>stale</em> when the app changes: a new deploy or build id (when
|
|
205
|
+
configured), a changed page fingerprint seen during replay, or the age limit
|
|
206
|
+
(<code>registry.maxAgeDays</code>). A stale flow runs at Tier 1 once to re-confirm it.</li>
|
|
207
|
+
<li><strong>Canary.</strong> Every <em>N</em>th Tier 0 run of an entity (default 10) runs at Tier 1, so a check that silently
|
|
208
|
+
passes is caught.</li>
|
|
209
|
+
<li>The user can always force a tier: <code>/rerun --verify</code>, <code>/rerun --fresh</code>.</li>
|
|
210
|
+
</ul>
|
|
211
|
+
<h2 id="4-the-registry-one-indexed-catalogue"><a href="#4-the-registry-one-indexed-catalogue" class="hash">#</a>4. The registry: one indexed catalogue</h2>
|
|
212
|
+
<p>The registry is one SQLite file per project: <code>.forgeqe/registry/registry.db</code>.</p>
|
|
213
|
+
<ul>
|
|
214
|
+
<li>Bun ships <code>bun:sqlite</code> and Python ships <code>sqlite3</code>, so there are no new dependencies.</li>
|
|
215
|
+
<li>It is local, and git-ignored by default (its folder carries its own <code>.gitignore</code>).</li>
|
|
216
|
+
<li>Existing JSON stores (page memory, code graph, quality history) stay where they are. The registry
|
|
217
|
+
<strong>indexes and links</strong> them, it does not replace them.</li>
|
|
218
|
+
</ul>
|
|
219
|
+
<h3 id="41-taxonomy"><a href="#41-taxonomy" class="hash">#</a>4.1 Taxonomy</h3>
|
|
220
|
+
<p>Every row has a <code>kind</code>, and every kind has a single source of truth:</p>
|
|
221
|
+
<div class="tbl"><table>
|
|
222
|
+
<thead>
|
|
223
|
+
<tr><th>Kind</th><th>Source of truth</th><th>Example</th></tr>
|
|
224
|
+
</thead>
|
|
225
|
+
<tbody>
|
|
226
|
+
<tr><td><code>test_case</code></td><td>ADO / Jira / Xray / TestRail / cases file</td><td><code>ado:QI-Claims:TC-4812</code></td></tr>
|
|
227
|
+
<tr><td><code>code_test</code></td><td>Repo test code (code graph)</td><td><code>PlaywrightPom.Web.Tests.LoginTests.ValidLogin</code></td></tr>
|
|
228
|
+
<tr><td><code>flow</code></td><td>Page memory <code>flows/</code></td><td>recorded steps for a goal</td></tr>
|
|
229
|
+
<tr><td><code>page</code>, <code>element</code></td><td>Page memory <code>pages/</code></td><td><code>/login</code>, <code>#username</code></td></tr>
|
|
230
|
+
<tr><td><code>suite</code>, <code>plan</code></td><td>ADO / cases file</td><td><code>plan 12 / suite 34</code></td></tr>
|
|
231
|
+
<tr><td><code>work_item</code></td><td>ADO / Jira</td><td>story, bug, feature</td></tr>
|
|
232
|
+
<tr><td><code>pipeline</code>, <code>environment</code>, <code>login</code></td><td>Config, ADO, saved sessions</td><td><code>QI-Claims nightly</code>, <code>staging</code>, <code>saucedemo-standard</code></td></tr>
|
|
233
|
+
<tr><td><code>run</code>, <code>report</code></td><td><code>.forgeqe/reports</code></td><td>run folders</td></tr>
|
|
234
|
+
</tbody>
|
|
235
|
+
</table></div>
|
|
236
|
+
<h3 id="42-tables"><a href="#42-tables" class="hash">#</a>4.2 Tables</h3>
|
|
237
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>sql</span><button class="copy-code" type="button">Copy</button></div><pre><code>-- Everything ForgeQE knows about, categorised. fingerprint = hash of the inputs that define it.
|
|
238
|
+
entities(id TEXT PK, kind TEXT, source TEXT, external_id TEXT, title TEXT,
|
|
239
|
+
path TEXT, fingerprint TEXT, version TEXT, updated_at TEXT)
|
|
240
|
+
-- Every name a person might use for an entity: ids, titles, file and method names, normalised.
|
|
241
|
+
aliases(alias TEXT, entity_id TEXT, weight REAL, PRIMARY KEY(alias, entity_id))
|
|
242
|
+
-- Links between entities: case↔code_test, case↔flow, flow↔page, test↔page_object, story↔case.
|
|
243
|
+
links(from_id TEXT, rel TEXT, to_id TEXT, PRIMARY KEY(from_id, rel, to_id))
|
|
244
|
+
-- Reusable plans (the plan cache): what to call, with which arguments, how to judge the result.
|
|
245
|
+
plans(id TEXT PK, entity_id TEXT, intent TEXT, tool TEXT, args_template TEXT,
|
|
246
|
+
checks TEXT, input_fingerprint TEXT, successes INT, failures INT,
|
|
247
|
+
last_success TEXT, stale INT DEFAULT 0)
|
|
248
|
+
-- End-state checks recorded from a passing run: url, visible text, element, API status.
|
|
249
|
+
checks(plan_id TEXT, kind TEXT, target TEXT, expected TEXT)
|
|
250
|
+
-- The cost ledger: every request, its tier, and what it cost.
|
|
251
|
+
runs(id TEXT PK, entity_id TEXT, plan_id TEXT, tier INT, outcome TEXT,
|
|
252
|
+
escalated_from INT, tokens_in INT, tokens_out INT, tokens_cached INT,
|
|
253
|
+
cost REAL, currency TEXT, ms INT, started_at TEXT)
|
|
254
|
+
-- Memoised reads from external systems (ADO, Jira, GitHub), keyed by arguments and source version.
|
|
255
|
+
tool_cache(tool TEXT, args_hash TEXT, source_version TEXT, result_path TEXT,
|
|
256
|
+
fetched_at TEXT, ttl_s INT, PRIMARY KEY(tool, args_hash, source_version))
|
|
257
|
+
-- Pre-built context briefs per entity, rebuilt only when the fingerprint changes.
|
|
258
|
+
context_packs(entity_id TEXT PK, fingerprint TEXT, brief TEXT, tokens INT, built_at TEXT)
|
|
259
|
+
</code></pre></div>
|
|
260
|
+
<h3 id="43-fingerprints-and-invalidation"><a href="#43-fingerprints-and-invalidation" class="hash">#</a>4.3 Fingerprints and invalidation</h3>
|
|
261
|
+
<p>A cached item is valid only while its fingerprint matches its source:</p>
|
|
262
|
+
<ul>
|
|
263
|
+
<li><strong>test_case:</strong> hash of the normalised steps plus expected results, together with the ADO <code>rev</code>.
|
|
264
|
+
This replaces matching on goal text, so rewording a request no longer misses the flow.</li>
|
|
265
|
+
<li><strong>code_test:</strong> git blob sha of the test file and of the page objects it reaches (from the code graph).</li>
|
|
266
|
+
<li><strong>flow:</strong> hash of its steps, together with the page fingerprints seen on its last pass.</li>
|
|
267
|
+
<li><strong>tool_cache:</strong> the source's own version (work item <code>rev</code>, sprint id, ETag) where one exists;
|
|
268
|
+
otherwise a short TTL. Writes always bypass it.</li>
|
|
269
|
+
</ul>
|
|
270
|
+
<h2 id="5-building-context-for-tiers-13"><a href="#5-building-context-for-tiers-13" class="hash">#</a>5. Building context (for Tiers 1–3)</h2>
|
|
271
|
+
<p>The agent's fixed 45K-token context is the main cost driver. Context is built from the registry instead
|
|
272
|
+
of being discovered by the agent:</p>
|
|
273
|
+
<ul>
|
|
274
|
+
<li><strong>Context packs.</strong> For each entity, a brief of a few hundred tokens: what it is, its linked case, code
|
|
275
|
+
test, flow, pages and last results. The agent gets the brief rather than spending calls on
|
|
276
|
+
<code>read</code>, <code>grep</code> and <code>code_outline</code>.</li>
|
|
277
|
+
<li><strong>Tool listing by tier:</strong>
|
|
278
|
+
<ul>
|
|
279
|
+
<li>Tier 1 gets one tool.</li>
|
|
280
|
+
<li>Tier 2 gets the tools of the capability that broke.</li>
|
|
281
|
+
<li>Tier 3 gets today's progressive listing (<code>routing.ts</code>).</li>
|
|
282
|
+
</ul>
|
|
283
|
+
</li>
|
|
284
|
+
<li><strong>Stable prefix first, variable last</strong>, so prompt caching keeps hitting.</li>
|
|
285
|
+
<li><strong>History compaction.</strong> After a request finishes, only its outcome and ids are carried forward, not
|
|
286
|
+
its tool results.</li>
|
|
287
|
+
</ul>
|
|
288
|
+
<h2 id="6-learning-how-the-registry-fills-itself"><a href="#6-learning-how-the-registry-fills-itself" class="hash">#</a>6. Learning: how the registry fills itself</h2>
|
|
289
|
+
<ul>
|
|
290
|
+
<li><strong>Indexing.</strong>
|
|
291
|
+
<ul>
|
|
292
|
+
<li>On <code>forgeqe init</code>, and incrementally on file change, the code graph and cases sources are indexed
|
|
293
|
+
into <code>entities</code>, <code>aliases</code> and <code>links</code>.</li>
|
|
294
|
+
<li>ADO and Jira items are indexed when they are first fetched.</li>
|
|
295
|
+
</ul>
|
|
296
|
+
</li>
|
|
297
|
+
<li><strong>Promotion.</strong> A Tier 2 or Tier 3 run that passes, and passes the judge when it is on, writes or updates
|
|
298
|
+
its <code>plan</code> and <code>checks</code>. A plan needs two passes, or one pass plus user confirmation, before it is
|
|
299
|
+
allowed to run at Tier 0.</li>
|
|
300
|
+
<li><strong>Demotion.</strong> Failures increment <code>failures</code>. Two failures in a row mark the plan <em>stale</em>, and the next
|
|
301
|
+
run goes to Tier 1 or 2.</li>
|
|
302
|
+
</ul>
|
|
303
|
+
<h2 id="7-measurement-and-acceptance"><a href="#7-measurement-and-acceptance" class="hash">#</a>7. Measurement and acceptance</h2>
|
|
304
|
+
<p>The ledger (<code>runs</code>) makes cost measurable per tier and per entity. <code>forgeqe cost</code> reports the following
|
|
305
|
+
metrics. Each must meet its target before a phase counts as done.</p>
|
|
306
|
+
<div class="tbl"><table>
|
|
307
|
+
<thead>
|
|
308
|
+
<tr><th>Metric</th><th>Target</th></tr>
|
|
309
|
+
</thead>
|
|
310
|
+
<tbody>
|
|
311
|
+
<tr><td>Cost of a rerun of a known passing test, vs. its first run</td><td>≤5% (Tier 0: 0 tokens)</td></tr>
|
|
312
|
+
<tr><td>Share of reruns served at Tier 0 or Tier 1</td><td>≥90%</td></tr>
|
|
313
|
+
<tr><td>Tier escalation rate on unchanged apps</td><td>≤5%</td></tr>
|
|
314
|
+
<tr><td><strong>False pass rate</strong> (Tier 0 pass that a Tier 1 canary then fails)</td><td>0 known; every one investigated</td></tr>
|
|
315
|
+
<tr><td>Release check ("are we ready", scope known)</td><td>0–1 agent calls</td></tr>
|
|
316
|
+
</tbody>
|
|
317
|
+
</table></div>
|
|
318
|
+
<p>The evaluation is an offline replay suite under <code>src/evals</code>. It holds recorded requests (rerun, reworded
|
|
319
|
+
rerun, changed app, new goal), each with an expected tier and outcome. It runs on every change to the
|
|
320
|
+
resolver, router or registry, and live against the real model before release.</p>
|
|
321
|
+
<h2 id="8-compatibility-and-rollout-safety"><a href="#8-compatibility-and-rollout-safety" class="hash">#</a>8. Compatibility and rollout safety</h2>
|
|
322
|
+
<p>Nothing here may change what ForgeQE does today until it has been shown to give the same results.</p>
|
|
323
|
+
<p><strong>Built alongside, never in place of</strong></p>
|
|
324
|
+
<ul>
|
|
325
|
+
<li><code>registry.mode: off | shadow | on</code> in <code>forgeqe.yaml</code>. It defaulted to <code>off</code> through phases 1 and 2,
|
|
326
|
+
and to <code>on</code> from 2026-10-15, after the live results in sections 9–10. With <code>off</code>, every request takes the
|
|
327
|
+
agent's path, unchanged.</li>
|
|
328
|
+
<li>The new code lives in <code>src/registry/</code>. Existing modules gain only small hooks at their entry points:
|
|
329
|
+
the chat request handler, the command parser and config. The chat agent, page memory, replay modes and
|
|
330
|
+
tools keep their behaviour.</li>
|
|
331
|
+
<li>Any registry error (missing, locked or corrupt database, an exception in the resolver) falls back to
|
|
332
|
+
today's path. The registry is a cache: deleting it loses savings, never behaviour.</li>
|
|
333
|
+
<li>Existing stores (page memory, code graph, quality history, run folders) keep their formats. The registry
|
|
334
|
+
reads and indexes them and never writes to them.</li>
|
|
335
|
+
<li>Tier 0 runs through the same <code>browser_run</code> tool the agent calls. Existing-test reuse, page memory
|
|
336
|
+
replay, the configured replay mode, reports and quality checks all apply as they do today.</li>
|
|
337
|
+
</ul>
|
|
338
|
+
<p><strong>Proven before it is switched on</strong></p>
|
|
339
|
+
<ul>
|
|
340
|
+
<li><strong>Tests that lock in today's behaviour.</strong> Written before the hooks, they pin down today's results:
|
|
341
|
+
a request with the registry <code>off</code> goes to the agent, and the <strong>rerun</strong> link goes to the agent.
|
|
342
|
+
They have to pass unchanged afterwards.</li>
|
|
343
|
+
<li><strong>Shadow mode.</strong> The resolver decides and records what it would do (<code>runs</code> with <code>mode = shadow</code>), while
|
|
344
|
+
the request still takes today's path. The decisions are compared with real outcomes before <code>on</code>.</li>
|
|
345
|
+
<li><strong>False pass check.</strong> During rollout, every Tier 0 pass is re-checked at Tier 1. Any disagreement blocks
|
|
346
|
+
the next phase.</li>
|
|
347
|
+
<li><strong>The full suite.</strong> Every existing test passes unchanged in every phase, with no existing test edited
|
|
348
|
+
to make it pass.</li>
|
|
349
|
+
</ul>
|
|
350
|
+
<p><strong>Switched on gradually</strong></p>
|
|
351
|
+
<ul>
|
|
352
|
+
<li>One phase per release. Each one can be turned off on its own.</li>
|
|
353
|
+
<li>A live check against the real model, Azure DevOps and Teams before each phase is called done.</li>
|
|
354
|
+
<li>Every reply says which tier answered it. <code>/rerun</code> is an explicit command, and the agent remains one
|
|
355
|
+
sentence away: anything the resolver is unsure of goes to it.</li>
|
|
356
|
+
</ul>
|
|
357
|
+
<h2 id="9-phase-1-live-result-2026-10-15"><a href="#9-phase-1-live-result-2026-10-15" class="hash">#</a>9. Phase 1 live result (2026-10-15)</h2>
|
|
358
|
+
<p>Live run against Azure OpenAI gpt-5.4 and a real headless Chrome: a <code>/rerun</code> of a 27-step practice-form run
|
|
359
|
+
whose first run used 242K tokens.</p>
|
|
360
|
+
<div class="tbl"><table>
|
|
361
|
+
<thead>
|
|
362
|
+
<tr><th></th><th>Result</th></tr>
|
|
363
|
+
</thead>
|
|
364
|
+
<tbody>
|
|
365
|
+
<tr><td>Resolver</td><td>Matched the run; no chat-agent calls</td></tr>
|
|
366
|
+
<tr><td>Page memory</td><td>Replayed 26 of 27 steps without the model</td></tr>
|
|
367
|
+
<tr><td>Step 27</td><td>A read-only <code>evaluate</code> (reading the fields to check them) is not replayable, so the browser agent took over for 14 model steps</td></tr>
|
|
368
|
+
<tr><td>Cost</td><td><strong>178K tokens: 74% of the first run.</strong> The target is not met</td></tr>
|
|
369
|
+
</tbody>
|
|
370
|
+
</table></div>
|
|
371
|
+
<p>The remaining cost is the browser agent's check after replay. Phase 2 is the step that reaches the target.
|
|
372
|
+
Read-only steps (<code>evaluate</code>, extract) and the final check must be answered from recorded end-state checks
|
|
373
|
+
(<code>run.json</code> already records <code>checks</code> with expected values). The agent comes in only when a check fails.</p>
|
|
374
|
+
<h2 id="10-phase-2-live-result-2026-10-15"><a href="#10-phase-2-live-result-2026-10-15" class="hash">#</a>10. Phase 2 live result (2026-10-15)</h2>
|
|
375
|
+
<p>What phase 2 adds, with <code>registry.mode: on</code> only:</p>
|
|
376
|
+
<ul>
|
|
377
|
+
<li><code>evaluate</code> steps whose script only reads the page are left out of a replay. The test is on the script's
|
|
378
|
+
source and conservative: any assignment, any page-changing call, any request or deferred code counts
|
|
379
|
+
as writing. Checked against every <code>evaluate</code> in a live project's flows: no write was classed as read-only.</li>
|
|
380
|
+
<li>A passing run's <code>record_check</code> results are kept in its flow, each with the step it was recorded after.</li>
|
|
381
|
+
<li>A replay finds each check on the page again after that step, with no model. If every check holds, the
|
|
382
|
+
run passes with no model. The first check that does not hold stops the replay there, and the agent
|
|
383
|
+
takes over on that page (today's path).</li>
|
|
384
|
+
<li>The agent still judges the run when: a check is dynamic, the flow has not passed for 30 days, or it is
|
|
385
|
+
every 10th replay of the flow (the canary).</li>
|
|
386
|
+
</ul>
|
|
387
|
+
<p>Live, Azure OpenAI gpt-5.4 and headless Chrome:</p>
|
|
388
|
+
<div class="tbl"><table>
|
|
389
|
+
<thead>
|
|
390
|
+
<tr><th>Flow</th><th>Run</th><th>Tokens</th><th>vs. first run</th></tr>
|
|
391
|
+
</thead>
|
|
392
|
+
<tbody>
|
|
393
|
+
<tr><td>Wikipedia search (3 steps, 1 check)</td><td>first run</td><td>50.3K</td><td>100%</td></tr>
|
|
394
|
+
<tr><td></td><td>rerun: the search suggestion did not show in time, so the agent took 2 steps</td><td>25.1K</td><td>50%</td></tr>
|
|
395
|
+
<tr><td></td><td>rerun: replay complete, the check held</td><td><strong>0</strong></td><td><strong>0%</strong> (6 s)</td></tr>
|
|
396
|
+
<tr><td></td><td>rerun with the saved check changed to text the page does not show</td><td>25.1K</td><td>the replay refused to pass it, and the agent judged the real page</td></tr>
|
|
397
|
+
<tr><td>Practice-form playground (27+ steps)</td><td>reruns</td><td>122K, 135K, 82K</td><td>50%, 56%, 34%</td></tr>
|
|
398
|
+
</tbody>
|
|
399
|
+
</table></div>
|
|
400
|
+
<p>The practice page is built to resist replay: double-click targets, clipboard paste and per-key typing that
|
|
401
|
+
replay's direct input does not reproduce. Its checks correctly never passed a replay that ended in a
|
|
402
|
+
different state. Flows like that stay with the agent until replay can repeat those inputs (a later phase).</p>
|
|
403
|
+
<h2 id="11-rollout"><a href="#11-rollout" class="hash">#</a>11. Rollout</h2>
|
|
404
|
+
<div class="tbl"><table>
|
|
405
|
+
<thead>
|
|
406
|
+
<tr><th>Phase</th><th>Scope</th><th>Done when</th></tr>
|
|
407
|
+
</thead>
|
|
408
|
+
<tbody>
|
|
409
|
+
<tr><td><strong>1</strong></td><td>Registry (entities, aliases, plans, runs). Resolver plus Tier 0 for <code>/rerun</code>, the rerun link, and case and run ids. Fingerprint matching for test cases. Reply filled in from the result.</td><td>A rerun of a known passing case logs 0 tokens; a reworded request still finds its flow</td></tr>
|
|
410
|
+
<tr><td><strong>2</strong></td><td>Recorded end-state checks replace the post-replay agent check. Canary and freshness rules.</td><td><code>verify</code> default costs one small-model call or none; the false pass suite stays green</td></tr>
|
|
411
|
+
<tr><td><strong>3</strong></td><td>Router (small model) plus Tier 1 adapt. Repo code tests run directly (<code>dotnet test</code> / <code>npx playwright test</code> with filters, results files parsed).</td><td>Reworded and new-data reruns at ≤5%</td></tr>
|
|
412
|
+
<tr><td><strong>4</strong></td><td>Tool-result cache, context packs, history compaction. Release check as a fixed workflow.</td><td>The release check takes 0–1 agent calls; the agent's average context per call is down by half</td></tr>
|
|
413
|
+
<tr><td><strong>5</strong></td><td><code>forgeqe cost</code> report and the evaluation suite in CI</td><td>Metrics in section 7 reported per release</td></tr>
|
|
414
|
+
</tbody>
|
|
415
|
+
</table></div>
|
|
416
|
+
<h2 id="12-per-turn-tool-scope-2026-10-17"><a href="#12-per-turn-tool-scope-2026-10-17" class="hash">#</a>12. Per-turn tool scope (2026-10-17)</h2>
|
|
417
|
+
<p>Tool definitions are part of the fixed overhead in section 1, and they grew with the desktop, mobile and
|
|
418
|
+
TestMu tools. The forgeqe agent's fixed context went past its budget. ForgeQE's agent now gets the tools of
|
|
419
|
+
the capabilities a turn needs, not all of them (<code>src/mcp/scope.ts</code>; see
|
|
420
|
+
<a href="../architecture/index.html#tool-scope-srcmcpscopets-srccapabilities">ARCHITECTURE.md</a>):</p>
|
|
421
|
+
<ul>
|
|
422
|
+
<li><strong>Every turn:</strong> the core (help and setup, <code>use_capabilities</code>, the test environments and their apps).</li>
|
|
423
|
+
<li><strong>Picked without a model call:</strong> up to four capabilities matched from the request's words, the apps it
|
|
424
|
+
names, its links and issue keys. A capability the project has no apps or tracker for is not picked from
|
|
425
|
+
words alone.</li>
|
|
426
|
+
<li><strong>Sticky:</strong> capabilities whose tools ran in the last three turns.</li>
|
|
427
|
+
<li><strong>On request:</strong> <code>use_capabilities</code> adds one when the request turns out to need it, and ForgeQE continues the
|
|
428
|
+
same request.</li>
|
|
429
|
+
</ul>
|
|
430
|
+
<p><code>forgeqe context</code>, measured on this repo:</p>
|
|
431
|
+
<div class="tbl"><table>
|
|
432
|
+
<thead>
|
|
433
|
+
<tr><th></th><th>Tokens</th></tr>
|
|
434
|
+
</thead>
|
|
435
|
+
<tbody>
|
|
436
|
+
<tr><td>The forgeqe agent's fixed context (prompt 6.2K + core tools 1.6K)</td><td>7.8K of a 10K budget</td></tr>
|
|
437
|
+
<tr><td>A turn with the four largest capabilities</td><td>14.7K</td></tr>
|
|
438
|
+
<tr><td>Every tool on every turn (<code>FORGEQE_TOOL_SCOPE=off</code>)</td><td>about 26.7K</td></tr>
|
|
439
|
+
<tr><td>Largest single capability (<code>api-testing</code>, <code>systems</code>)</td><td>1.8K of a 2.5K budget per capability</td></tr>
|
|
440
|
+
</tbody>
|
|
441
|
+
</table></div>
|
|
442
|
+
<p>A typical turn ("replay the courier login on Maestro") adds one or two capabilities, around 1–3K. Beyond
|
|
443
|
+
the cost, fewer tools in view keep the agent from mixing up similar ones (<code>browser_run</code>,
|
|
444
|
+
<code>desktop_explore</code>, <code>mobile_explore</code>). The test <code>tests/agents.test.ts</code> fails when an agent or a capability passes its
|
|
445
|
+
budget. That keeps new tools from bringing the fixed overhead back.</p>
|
|
446
|
+
<p><strong>Still to measure:</strong> live-model evaluations of the tool picks against <code>FORGEQE_TOOL_SCOPE=off</code>: the success
|
|
447
|
+
rate, the <code>use_capabilities</code> calls per request, and tokens per request.</p>
|
|
448
|
+
<h2 id="13-page-memory-at-every-step-2026-10-21"><a href="#13-page-memory-at-every-step-2026-10-21" class="hash">#</a>13. Page memory at every step (2026-10-21)</h2>
|
|
449
|
+
<p>A suite run in a live project (three Toolshop cases, Azure OpenAI gpt-5.4) showed why a rerun of a known case still
|
|
450
|
+
cost what its first run did:</p>
|
|
451
|
+
<div class="tbl"><table>
|
|
452
|
+
<thead>
|
|
453
|
+
<tr><th>Run</th><th>Model steps</th><th>Input tokens</th><th>Replayed</th></tr>
|
|
454
|
+
</thead>
|
|
455
|
+
<tbody>
|
|
456
|
+
<tr><td>ADO-3287, first run (an expected result did not hold at step 7)</td><td>11</td><td>88K</td><td>0</td></tr>
|
|
457
|
+
<tr><td>ADO-3287, the reproduce run straight after</td><td>29</td><td>243K</td><td>0</td></tr>
|
|
458
|
+
</tbody>
|
|
459
|
+
</table></div>
|
|
460
|
+
<p>Each model step costs about 8K input tokens, 6.3K of it the cached system prefix: the live page is a small part. So
|
|
461
|
+
page memory can only lower cost by taking steps away from the model, and two things kept it from doing that:</p>
|
|
462
|
+
<ol>
|
|
463
|
+
<li>
|
|
464
|
+
<p><strong>A failed case saved nothing to replay.</strong> <code>resume</code> steps were kept for errors only; a run that failed because an
|
|
465
|
+
expected result did not hold (<code>assertion_failed</code>, which is what a reproduce run or a rerun of a failing case is
|
|
466
|
+
about) saved no steps, and the next run explored the whole case again. Now the steps up to the first check that did
|
|
467
|
+
not hold are kept (<code>assertion_resume</code>, marked <code>assertion: true</code>), the next run replays them, and the handoff tells
|
|
468
|
+
the agent to check that result again where it is, not to redo the steps or try to make it true.</p>
|
|
469
|
+
</li>
|
|
470
|
+
<li>
|
|
471
|
+
<p><strong>Known controls were described, not addressable.</strong> The site-memory hints in the system prompt named the controls
|
|
472
|
+
earlier runs used, but an action needs the element's index in this step's list, which changes with every page load,
|
|
473
|
+
so the agent read the whole list anyway. Now each page memory knows gets a note after the element list, before the
|
|
474
|
+
model call, naming up to 10 controls earlier runs used with the index each has right now
|
|
475
|
+
(<code>MemoryStore.known_controls</code>, through the library's per-step context messages). The page is observed once per step
|
|
476
|
+
and that snapshot also scores the step's actions.</p>
|
|
477
|
+
</li>
|
|
478
|
+
<li>
|
|
479
|
+
<p><strong>A replay to a failed check handed the check to the agent.</strong> The page that failed often shows its message only
|
|
480
|
+
briefly (a toast), so it was gone by the agent's first step, and the agent spent six steps looking for it (live:
|
|
481
|
+
49.5K tokens, more than the first run). Now, with <code>registry.mode: on</code> and <code>replay: verify</code>, the run looks for the
|
|
482
|
+
text the page showed instead right after the replay, with no model (<code>reproduced_by_check</code>). Finding it again fails
|
|
483
|
+
the run the same way at 0 tokens; not finding it hands over to the agent as before. A failure text that a passing
|
|
484
|
+
check of that run also found (a heading, the product name) is never kept for this, since it shows whatever the outcome.</p>
|
|
485
|
+
</li>
|
|
486
|
+
</ol>
|
|
487
|
+
<p>Live, Toolshop, headless Chrome, Azure OpenAI gpt-5.4, a clean memory folder:</p>
|
|
488
|
+
<div class="tbl"><table>
|
|
489
|
+
<thead>
|
|
490
|
+
<tr><th>Run</th><th>Model steps</th><th>Tokens</th><th>Result</th></tr>
|
|
491
|
+
</thead>
|
|
492
|
+
<tbody>
|
|
493
|
+
<tr><td>A: first run of a 3-step case whose last expected result does not hold</td><td>5</td><td>37.1K</td><td>failed; kept the 3 steps up to the failed check</td></tr>
|
|
494
|
+
<tr><td>B: the same case again (a rerun or reproduce run)</td><td>0</td><td><strong>0</strong> (5 s)</td><td>replayed 3 steps, found the same failure text, failed the same way</td></tr>
|
|
495
|
+
<tr><td>C: a new goal on the same pages</td><td>4</td><td>30.1K</td><td>passed; the agent was told the known control on each page with its index</td></tr>
|
|
496
|
+
</tbody>
|
|
497
|
+
</table></div>
|
|
498
|
+
<p>Run C is a different task, so it explores; the per-step note saves steps on pages the site's earlier runs used, but
|
|
499
|
+
does not replace exploration of a new goal.</p>
|
|
500
|
+
<h3 id="131-every-case-every-area-2026-10-21"><a href="#131-every-case-every-area-2026-10-21" class="hash">#</a>13.1 Every case, every area (2026-10-21)</h3>
|
|
501
|
+
<p>The same project's history showed the wider gap: of 20 recorded web runs only 4 replayed anything (2.7M tokens in all),
|
|
502
|
+
almost every miss a goal worded differently from its flow. Mobile and desktop explores never read what an earlier one
|
|
503
|
+
saved, desktop and mobile heals were found again on every replay, API plans were made again for the same cases, and
|
|
504
|
+
only browser goals could be rerun without the agent. What now holds in every area:</p>
|
|
505
|
+
<div class="tbl"><table>
|
|
506
|
+
<thead>
|
|
507
|
+
<tr><th>Area</th><th>Before the model is called</th><th>No model at all when</th></tr>
|
|
508
|
+
</thead>
|
|
509
|
+
<tbody>
|
|
510
|
+
<tr><td>Browser</td><td>the goal's flow, its failed-run steps, an edited case's unchanged steps, else the start it shares with another goal on the host (<code>flowmatch</code>)</td><td>checks of a replayed flow hold (section 10); a failed check shows the same failure text again</td></tr>
|
|
511
|
+
<tr><td>Mobile, desktop</td><td>the goal's workflow, its failed-run steps, else the shared start in the app (app memory); known controls marked for the model</td><td>the goal's workflow replays and its checks hold</td></tr>
|
|
512
|
+
<tr><td>Replay heals</td><td>the target an earlier heal found</td><td>it is on screen</td></tr>
|
|
513
|
+
<tr><td>API</td><td>the plan made from the same cases or text and operations</td><td>always, for a repeated plan; saved API calls replay in browser flows when the status matches</td></tr>
|
|
514
|
+
<tr><td>Reruns</td><td>the registry runs the plan's own tool (browser, mobile, desktop, API) from the shell or <code>forgeqe run</code></td><td>the tool needs none</td></tr>
|
|
515
|
+
</tbody>
|
|
516
|
+
</table></div>
|
|
517
|
+
<p><code>forgeqe memory stats</code> reports it per area. On the live project before this change: browser 18 runs, 4 (22%) reused
|
|
518
|
+
history, none without the model. The memory gate workflow keeps it from regressing.</p>
|
|
519
|
+
|
|
520
|
+
</article>
|
|
521
|
+
<nav class="pager" aria-label="Previous and next">
|
|
522
|
+
<a class="prev" href="../architecture/index.html"><small>Previous</small><span>Architecture</span></a>
|
|
523
|
+
<a class="next" href="../model-routing/index.html"><small>Next</small><span>Model routing</span></a>
|
|
524
|
+
</nav>
|
|
525
|
+
</main>
|
|
526
|
+
<aside class="docs-toc" aria-label="On this page">
|
|
527
|
+
<p class="side-head">On this page</p><ul><li><a href="#1-what-a-request-costs-today-measured">1. What a request costs today (measured)</a></li><li><a href="#2-the-approaches-this-design-uses">2. The approaches this design uses</a></li><li><a href="#3-the-execution-ladder">3. The execution ladder</a></li><li><a href="#4-the-registry-one-indexed-catalogue">4. The registry: one indexed catalogue</a></li><li><a href="#5-building-context-for-tiers-13">5. Building context (for Tiers 1–3)</a></li><li><a href="#6-learning-how-the-registry-fills-itself">6. Learning: how the registry fills itself</a></li><li><a href="#7-measurement-and-acceptance">7. Measurement and acceptance</a></li><li><a href="#8-compatibility-and-rollout-safety">8. Compatibility and rollout safety</a></li><li><a href="#9-phase-1-live-result-2026-10-15">9. Phase 1 live result (2026-10-15)</a></li><li><a href="#10-phase-2-live-result-2026-10-15">10. Phase 2 live result (2026-10-15)</a></li><li><a href="#11-rollout">11. Rollout</a></li><li><a href="#12-per-turn-tool-scope-2026-10-17">12. Per-turn tool scope (2026-10-17)</a></li><li><a href="#13-page-memory-at-every-step-2026-10-21">13. Page memory at every step (2026-10-21)</a></li></ul>
|
|
528
|
+
</aside>
|
|
529
|
+
</div>
|
|
530
|
+
<footer class="foot">
|
|
531
|
+
<div class="container foot__row">
|
|
532
|
+
<a class="foot__brand" href="https://forgeqe.github.io/"><img src="../../img/wordmark-white.webp" alt="ForgeQE" width="160" height="76"><span>AI writes the code. <em>ForgeQE proves it works.</em></span></a>
|
|
533
|
+
<nav aria-label="Footer"><ul><li><a href="https://forgeqe.github.io/">Product</a></li><li><a href="../index.html">Docs</a></li><li><a href="https://forgeqe.github.io/security/">Security</a></li><li><a href="../../architecture-map/index.html">Architecture</a></li><li><a href="https://forgeqe.github.io/sample-report/">Sample report</a></li></ul></nav>
|
|
534
|
+
</div>
|
|
535
|
+
<p class="container foot__legal">© 2026 Capgemini · forgeqe.qualityai.co.uk · Built from ForgeQE's own docs</p>
|
|
536
|
+
</footer>
|
|
537
|
+
</body>
|
|
538
|
+
</html>
|