@capagents/forgeqe 3.1.2 → 3.1.3
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 +5003 -2077
- package/README.md +155 -449
- package/dist/docs-site/docs/app-theme.css +30 -9
- package/dist/docs-site/docs/architecture/index.html +45 -515
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +257 -116
- package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
- package/dist/docs-site/docs/area-browser/index.html +167 -125
- package/dist/docs-site/docs/area-data/index.html +178 -188
- package/dist/docs-site/docs/area-desktop/index.html +329 -282
- package/dist/docs-site/docs/area-mobile/index.html +138 -86
- package/dist/docs-site/docs/area-operations/index.html +567 -393
- package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
- package/dist/docs-site/docs/area-quality/index.html +111 -49
- package/dist/docs-site/docs/area-release/index.html +180 -65
- package/dist/docs-site/docs/area-setup/index.html +742 -339
- package/dist/docs-site/docs/area-systems/index.html +32 -48
- package/dist/docs-site/docs/area-test-cases/index.html +387 -154
- package/dist/docs-site/docs/containers/index.html +87 -101
- package/dist/docs-site/docs/cost-architecture/index.html +4 -3
- package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
- package/dist/docs-site/docs/desktop/index.html +277 -297
- package/dist/docs-site/docs/desktop-ci/index.html +15 -5
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +50 -49
- package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
- package/dist/docs-site/docs/get-started/index.html +464 -168
- package/dist/docs-site/docs/graphify/index.html +8 -7
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +4 -3
- package/dist/docs-site/docs/mobile/index.html +96 -76
- package/dist/docs-site/docs/model-routing/index.html +44 -18
- package/dist/docs-site/docs/overview/index.html +23 -7
- package/dist/docs-site/docs/product-graph/index.html +13 -12
- package/dist/docs-site/docs/product-knowledge/index.html +16 -5
- package/dist/docs-site/docs/product-views/index.html +7 -6
- package/dist/docs-site/docs/reference/index.html +95 -65
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +444 -126
- package/dist/docs-site/docs/web-app/index.html +54 -51
- package/dist/forgeqe.js +1822 -1822
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
- package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
- package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +6 -7
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +298 -297
- package/docs/MOBILE.md +103 -71
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/WEB_APP.md +49 -44
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5263 -2453
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
- package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
- package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
- package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
- package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
- package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
- package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
- package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
- package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
- package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
- package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
- package/dist/web/assets/Features-CQzNo_WP.js +0 -1
- package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
- package/dist/web/assets/Impact-CfccsL_k.js +0 -3
- package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
- package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
- package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
- package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
- package/dist/web/assets/Product-nYV_scOV.js +0 -7
- package/dist/web/assets/Production-CGSbEWVa.js +0 -1
- package/dist/web/assets/Quality-BIypojZm.js +0 -1
- package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
- package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
- package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
- package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
- package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
- package/dist/web/assets/Response-mhBThq2b.js +0 -9
- package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
- package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
- package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
- package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
- package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
- package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
- package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
- package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
- package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
- package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
- package/dist/web/assets/filters-CnAMr286.js +0 -1
- package/dist/web/assets/fold-D_O_VZui.js +0 -1
- package/dist/web/assets/head-CRo48rPt.js +0 -1
- package/dist/web/assets/index-B3JsM7tv.js +0 -64
- package/dist/web/assets/index-CafApcbZ.css +0 -2
- package/dist/web/assets/input-CtzK50ZF.js +0 -1
- package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
- package/dist/web/assets/logos-D4oVWzqa.js +0 -1
- package/dist/web/assets/palette-DAaGSao7.js +0 -1
- package/dist/web/assets/parts-D357Wolo.js +0 -1
- package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
- package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
- package/dist/web/assets/route-BloYJWgw.js +0 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<link rel="stylesheet" href="../docs.css">
|
|
12
12
|
<script src="../search.js" defer></script>
|
|
13
13
|
<script src="../docs.js" defer></script>
|
|
14
|
+
<script src="../docs-tabs.js" defer></script>
|
|
14
15
|
<link rel="stylesheet" href="../../app-look.css">
|
|
15
16
|
<link rel="stylesheet" href="../app-theme.css">
|
|
16
17
|
</head>
|
|
@@ -112,11 +113,11 @@
|
|
|
112
113
|
<div class="container docs-layout">
|
|
113
114
|
<nav class="docs-side" aria-label="Docs">
|
|
114
115
|
<a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
115
|
-
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
116
|
+
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
|
|
116
117
|
</nav>
|
|
117
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
118
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
|
|
119
|
-
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
120
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="index.html" aria-current="page"><span>Setup and configuration</span></a></li><li><a href="../area-operations/index.html"><span>Operations and monitoring</span></a></li><li><a href="../area-data/index.html"><span>Test data and databases</span></a></li><li><a href="../area-pull-requests/index.html"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-test-apps">Test environments and their apps</a></li><li><a href="#cap-generated-code">What ForgeQE wrote</a></li><li><a href="#cap-forgeqe-commands">Every forgeqe command from the shell</a></li><li><a href="#doc-how_to_use-guardrails">Guardrails</a></li><li><a href="#doc-how_to_use-your-prompts-skills-and-product-knowledge">Your prompts, skills, and product knowledge</a></li><li><a href="#cap-product-knowledge">Product knowledge from the product's repositories</a></li><li><a href="#cap-knowledge-agent">Librarian: what ForgeQE understood, and your corrections</a></li><li><a href="#cap-document-search">Search the project's documents, without vectors</a></li><li><a href="#cap-web-search">Search the web</a></li><li><a href="#cap-setup-help">Setup, skills, and documentation</a></li><li><a href="#doc-how_to_use-model-routing">Model routing</a></li><li><a href="#doc-readme-privacy">Privacy</a></li><li><a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">Model routing: the right configured model for each task</a></li><li><a href="#doc-docs-model_routing-turn-it-on">Turn it on</a></li><li><a href="#doc-docs-model_routing-the-areas-of-work">The areas of work</a></li><li><a href="#doc-docs-model_routing-a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#doc-docs-model_routing-how-a-model-is-picked">How a model is picked</a></li><li><a href="#doc-docs-model_routing-how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#doc-docs-model_routing-limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#doc-docs-model_routing-what-routing-cost-and-what-it-saved">What routing cost, and what it saved</a></li><li><a href="#doc-docs-model_routing-what-it-does-not-do">What it does not do</a></li></ul></nav></details></div>
|
|
120
121
|
<h1 class="topic-h"><svg class="pix pix--title ph" aria-hidden="true" focusable="false"><use href="#ph-healer"/></svg>Setup and configuration</h1>
|
|
121
122
|
<p class="guide-lead">Configuration, skills, and help</p>
|
|
122
123
|
<article class="spec feat" id="cap-test-apps">
|
|
@@ -127,13 +128,18 @@
|
|
|
127
128
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>env.yaml with the environments and apps (forgeqe init writes one)</span></li></ul></div>
|
|
128
129
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>test_apps</code> <code>use_environment</code></p></div>
|
|
129
130
|
</div>
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
|
|
132
|
+
</article>
|
|
133
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-environments-and-apps">
|
|
132
134
|
<h4>Environments and apps</h4>
|
|
133
|
-
<div class="prose"><p><code>env.yaml</code>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
<div class="prose"><p><code>env.yaml</code> lists your test environments and the apps in each, each app with a short description of what it is for:</p>
|
|
136
|
+
<ul>
|
|
137
|
+
<li>web apps by URL;</li>
|
|
138
|
+
<li>APIs by base URL;</li>
|
|
139
|
+
<li>Windows desktop apps by <code>.exe</code>;</li>
|
|
140
|
+
<li>mobile apps by package id.</li>
|
|
141
|
+
</ul>
|
|
142
|
+
<p><code>forgeqe init</code> writes it, and <code>environments.file</code> in <code>forgeqe.yaml</code> names it. Plain values go under <code>variables</code>. Secrets never go in the file: only the names of the environment variables that hold them, under <code>secrets</code>.</p>
|
|
137
143
|
<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 class="lines"><code><span class="ln"><span class="cmd">default: qa
|
|
138
144
|
</span></span><span class="ln"><span class="cmd">environments:
|
|
139
145
|
</span></span><span class="ln"><span class="cmd"> qa:
|
|
@@ -147,13 +153,21 @@ environment variables that hold them, under <code>secrets</code>.</p>
|
|
|
147
153
|
</span></span><span class="ln"><span class="cmd"> uat:
|
|
148
154
|
</span></span><span class="ln"><span class="cmd"> apps: { ... }
|
|
149
155
|
</span></span></code></pre></div>
|
|
150
|
-
<p
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<
|
|
154
|
-
<
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
<p>In the web app, <strong>Settings › Environments</strong> edits the same file: each environment's <strong>Apps</strong>, <strong>Variables</strong>, <strong>Secrets</strong> (by name) and data files, and the active environment.</p>
|
|
157
|
+
<p>Your test cases stay the same in every environment; only where they run changes. The environment supplies the URLs, executables, accounts and values, and the same test, workflow or scenario runs against QA or UAT.</p>
|
|
158
|
+
<p><strong>A value kept in <code>.env</code>.</strong> A variable can take its value from an environment variable (<code>.env</code> or the shell) by naming it:</p>
|
|
159
|
+
<ul>
|
|
160
|
+
<li>under a password-, secret-, token-, key- or credential-like name, write the variable's name as the value: <code>TestPassword: password</code>;</li>
|
|
161
|
+
<li>under any name, write <code>${NAME}</code> or <code>env:NAME</code>.</li>
|
|
162
|
+
</ul>
|
|
163
|
+
<p>Such a variable is a secret:</p>
|
|
164
|
+
<ul>
|
|
165
|
+
<li>The browser agent types it as <code><secret>TestPassword</secret></code>, filled with that variable's value only on the environment's own sites.</li>
|
|
166
|
+
<li>A test case's <code>{{var.TestPassword}}</code> becomes that placeholder.</li>
|
|
167
|
+
<li>Tests read it from the variable itself (never <code>FORGEQE_VAR_*</code>).</li>
|
|
168
|
+
<li>Its value is never shown to a model or written into a report.</li>
|
|
169
|
+
<li>When the variable is not set, <code>forgeqe apps</code> and the agent say so, instead of typing the word written in the file.</li>
|
|
170
|
+
</ul>
|
|
157
171
|
<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 class="lines"><code><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> .env
|
|
158
172
|
</span></span><span class="ln"><span class="cmd">password=test@123
|
|
159
173
|
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> env.yaml
|
|
@@ -162,17 +176,12 @@ agent say so instead of the word written in the file being typed.</p>
|
|
|
162
176
|
</span></span><span class="ln"><span class="cmd"> variables:
|
|
163
177
|
</span></span><span class="ln ln--pair"><span class="cmd"> TestPassword: password</span><span class="pad"> </span><span class="cm"><span class="h">#</span> typed as test@123, never as "password"
|
|
164
178
|
</span></span></code></pre></div>
|
|
165
|
-
<p>Your test cases stay the same in every environment; only where they run changes. The environment supplies the URLs,
|
|
166
|
-
executables, accounts and values, and the same test, workflow or scenario runs against QA or UAT.</p>
|
|
167
179
|
<p><strong>Any layout works.</strong> The layout above is ForgeQE's own, but an <code>env.yaml</code> your team already keeps is read as it is:</p>
|
|
168
180
|
<ul>
|
|
169
|
-
<li>environments under <code>environments:</code> / <code>envs:</code>, as a list with a <code>name</code> each, or as top-level keys (<code>qa:</code>, <code>uat:</code>);
|
|
170
|
-
|
|
171
|
-
<li>
|
|
172
|
-
<li>
|
|
173
|
-
(with a sibling <code>args</code>); other values become variables</li>
|
|
174
|
-
<li>secrets: keys like <code>password</code>, <code>token</code> or <code>api_key</code> are never shown to a model. A reference (<code>${BILLING_PW}</code>,
|
|
175
|
-
<code>env:BILLING_PW</code>, <code>%BILLING_PW%</code>) is recorded as a secret name; a literal value is replaced with <code><redacted></code></li>
|
|
181
|
+
<li>environments under <code>environments:</code> / <code>envs:</code>, as a list with a <code>name</code> each, or as top-level keys (<code>qa:</code>, <code>uat:</code>); or one file per environment with <code>environments.dir</code> in forgeqe.yaml;</li>
|
|
182
|
+
<li>a <code>common:</code> / <code>defaults:</code> / <code>shared:</code> block merged into each environment;</li>
|
|
183
|
+
<li>any <code>http(s)</code> URL becomes a web app (an API when its key or path says api); an absolute <code>.exe</code> becomes a desktop app (with a sibling <code>args</code>); other values become variables;</li>
|
|
184
|
+
<li>secrets: keys like <code>password</code>, <code>token</code> or <code>api_key</code> are never shown to a model. A reference (<code>${BILLING_PW}</code>, <code>env:BILLING_PW</code>, <code>%BILLING_PW%</code>) is recorded as a secret name; a literal value is replaced with <code><redacted></code>.</li>
|
|
176
185
|
</ul>
|
|
177
186
|
<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 class="lines"><code><span class="ln"><span class="cmd">common: { company: Contoso }
|
|
178
187
|
</span></span><span class="ln"><span class="cmd">qa:
|
|
@@ -183,26 +192,30 @@ or one file per environment with <code>environments.dir</code> in forgeqe.yaml</
|
|
|
183
192
|
</span></span><span class="ln"><span class="cmd">uat:
|
|
184
193
|
</span></span><span class="ln"><span class="cmd"> url: https://uat.shop.example.com
|
|
185
194
|
</span></span></code></pre></div>
|
|
186
|
-
<p>ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it ("log in
|
|
187
|
-
|
|
188
|
-
<
|
|
189
|
-
|
|
190
|
-
into ForgeQE's layout
|
|
195
|
+
<p>ForgeQE's agent also sees the environment as written (secrets replaced), so a request can name anything in it ("log in as the <code>admin_user</code> of UAT").</p>
|
|
196
|
+
<p><strong>Link, import or paste the team's file.</strong> An environment can be read from a YAML file the team keeps elsewhere in the repository, in two ways:</p>
|
|
197
|
+
<ul>
|
|
198
|
+
<li><strong>Linked:</strong> read as it is on every run (<code>file:</code>, with this project's <code>description</code> and <code>data</code> added). A file of several environments gives the one of that name.</li>
|
|
199
|
+
<li><strong>Imported:</strong> converted once into ForgeQE's layout.</li>
|
|
200
|
+
</ul>
|
|
201
|
+
<p>A secret value written in the file is never copied: it is listed so you can move it to an environment variable. A linked environment looks like this in <code>env.yaml</code>:</p>
|
|
191
202
|
<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 class="lines"><code><span class="ln"><span class="cmd">environments:
|
|
192
203
|
</span></span><span class="ln"><span class="cmd"> qa:
|
|
193
204
|
</span></span><span class="ln ln--pair"><span class="cmd"> file: config/qa-portal.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> linked: read every run, any layout; a file of several picks qa from it
|
|
194
205
|
</span></span></code></pre></div>
|
|
206
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
207
|
+
<ol>
|
|
208
|
+
<li>Open <strong>Settings › Environments</strong>.</li>
|
|
209
|
+
<li>Press <strong>Add</strong> for a new environment, or edit one already there.</li>
|
|
210
|
+
<li>Pick how to bring the YAML in: <strong>Paste</strong>, <strong>Import a file</strong> or <strong>Link a project file</strong>.</li>
|
|
211
|
+
</ol>
|
|
212
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
195
213
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe env import config/uat.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> shows it in ForgeQE's layout
|
|
196
214
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe env import config/uat.yaml --write</span><span class="pad"> </span><span class="cm"><span class="h">#</span> adds it (--name NAME, --replace to overwrite one already there)
|
|
197
215
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe env link qa config/qa-portal.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> links it
|
|
198
216
|
</span></span></code></pre></div>
|
|
199
|
-
<p>In the shell, <code>/env import config/uat.yaml</code> shows the conversion and <code>/env import config/uat.yaml --write</code> adds it
|
|
200
|
-
the
|
|
201
|
-
secret value written in the file is never copied: it is listed so you can move it to an environment variable.</p>
|
|
202
|
-
<p><strong>Test data per environment.</strong> The same test often needs other rows in each environment: QA's customers are not UAT's.
|
|
203
|
-
List the files under <code>data:</code> (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder);
|
|
204
|
-
the tests ForgeQE runs read each one's absolute path from <code>FORGEQE_DATA_<NAME></code>, and the agents are told to read it
|
|
205
|
-
from there, never from a fixed path.</p>
|
|
217
|
+
<p>In the shell, <code>/env import config/uat.yaml</code> shows the conversion and <code>/env import config/uat.yaml --write</code> adds it.</p>
|
|
218
|
+
</div></div><p><strong>Test data per environment.</strong> The same test often needs other rows in each environment: QA's customers are not UAT's. List the files under <code>data:</code> (CSV, JSON, YAML, Excel, XML, SQL or text, inside the project and not in a hidden folder). The tests ForgeQE runs read each one's absolute path from <code>FORGEQE_DATA_<NAME></code>, and the agents are told to read it from there, never from a fixed path.</p>
|
|
206
219
|
<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 class="lines"><code><span class="ln"><span class="cmd">environments:
|
|
207
220
|
</span></span><span class="ln"><span class="cmd"> qa:
|
|
208
221
|
</span></span><span class="ln"><span class="cmd"> data:
|
|
@@ -212,10 +225,8 @@ from there, never from a fixed path.</p>
|
|
|
212
225
|
</span></span><span class="ln"><span class="cmd"> data:
|
|
213
226
|
</span></span><span class="ln"><span class="cmd"> customers: test-data/uat/customers.csv
|
|
214
227
|
</span></span></code></pre></div>
|
|
215
|
-
<p><code>forgeqe apps</code
|
|
216
|
-
<p><strong>Cloud accounts per environment.</strong> QA's resources are in one Azure subscription, AWS account or Google Cloud project,
|
|
217
|
-
UAT's in another. Name them under <code>cloud:</code>, so the agents look in the right account and tests read it instead of a fixed
|
|
218
|
-
id:</p>
|
|
228
|
+
<p><code>forgeqe apps</code>, <code>/env</code> and <strong>Settings › Environments</strong> list each environment's data files, and mark one that is not there yet.</p>
|
|
229
|
+
<p><strong>Cloud accounts per environment.</strong> QA's resources are in one Azure subscription, AWS account or Google Cloud project, UAT's in another. Name them under <code>cloud:</code> (in <strong>Settings › Environments</strong> too), so the agents look in the right account and tests read it instead of a fixed id:</p>
|
|
219
230
|
<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 class="lines"><code><span class="ln"><span class="cmd">environments:
|
|
220
231
|
</span></span><span class="ln"><span class="cmd"> qa:
|
|
221
232
|
</span></span><span class="ln"><span class="cmd"> cloud:
|
|
@@ -223,19 +234,27 @@ id:</p>
|
|
|
223
234
|
</span></span><span class="ln ln--pair"><span class="cmd"> aws: { account: "123456789012", region: eu-west-1, profile: shop-qa }</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the account in quotes: YAML drops a leading 0
|
|
224
235
|
</span></span><span class="ln"><span class="cmd"> gcp: { project: shop-qa-123, region: europe-west1 }
|
|
225
236
|
</span></span></code></pre></div>
|
|
226
|
-
<
|
|
227
|
-
nothing else is read: a key like <code>client_secret</code> or <code>access_key</code> stops the file loading
|
|
228
|
-
from env.yaml
|
|
229
|
-
|
|
230
|
-
<
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<
|
|
235
|
-
<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
<ul>
|
|
238
|
+
<li><strong>Identifiers only.</strong> Each setting is an identifier in its own shape (a GUID, a 12-digit account, a region, a profile's or project's name), and nothing else is read: a key like <code>client_secret</code> or <code>access_key</code> stops the file loading.</li>
|
|
239
|
+
<li><strong>No sign-in from env.yaml.</strong> The cloud tools use their own default credential chain (<code>az login</code>, a profile or role, Application Default Credentials), and ForgeQE leaves <code>AZURE_*</code>, <code>AWS_*</code> and <code>GOOGLE_*</code> as your shell has them.</li>
|
|
240
|
+
<li><strong>What tests read:</strong> <code>FORGEQE_CLOUD_AZURE_SUBSCRIPTION_ID</code>, <code>_AZURE_TENANT_ID</code>, <code>_AZURE_RESOURCE_GROUP</code>, <code>FORGEQE_CLOUD_AWS_ACCOUNT_ID</code>, <code>_AWS_REGION</code>, <code>_AWS_PROFILE</code>, <code>FORGEQE_CLOUD_GCP_PROJECT</code> and <code>_GCP_REGION</code>.</li>
|
|
241
|
+
<li><strong>Production's accounts.</strong> A test environment that names the same subscription, account or project as one named like production (<code>prod</code>, <code>live</code>) is reported, since a change made while testing it lands in production's.</li>
|
|
242
|
+
</ul>
|
|
243
|
+
<p><code>forgeqe apps</code> lists the active environment's accounts.</p>
|
|
244
|
+
<p><strong>Picking the environment.</strong> Without a pick, <code>default</code> is used. Any single request can also name an environment ("run the checkout tests in UAT"): it applies to that call only.</p>
|
|
245
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
246
|
+
<ol>
|
|
247
|
+
<li>Open <strong>Settings › Environments</strong>.</li>
|
|
248
|
+
<li>Pick the <strong>Active</strong> environment.</li>
|
|
249
|
+
</ol>
|
|
250
|
+
<p>Or ask in a chat: "from now on, use UAT".</p>
|
|
251
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
252
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe apps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the environments, and the active one's apps
|
|
253
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe suite cases.yaml --env uat</span><span class="pad"> </span><span class="cm"><span class="h">#</span> --env on any command: start, run, suite, monitor, mcp, …
|
|
254
|
+
</span></span><span class="ln ln--pair"><span class="cmd">FORGEQE_ENV=uat forgeqe run "…"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or the variable
|
|
255
|
+
</span></span></code></pre></div>
|
|
256
|
+
<p>In the shell, <code>/env</code> lists the environments and <code>/env uat</code> switches; "from now on, use UAT" works too.</p>
|
|
257
|
+
</div></div><p><strong>What each agent gets from the active environment.</strong></p>
|
|
239
258
|
<div class="tbl tbl--cols-2"><table>
|
|
240
259
|
<thead>
|
|
241
260
|
<tr><th>Agent</th><th>What it uses</th></tr>
|
|
@@ -248,32 +267,29 @@ environment ("run the checkout tests in UAT"): each test tool takes an
|
|
|
248
267
|
<tr><td data-label="Agent">Quill, the healer, the reviewer</td><td data-label="What it uses">Write tests that read <code>FORGEQE_APP_<APP>_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
|
|
249
268
|
<tr><td data-label="Agent">Tests ForgeQE runs, pack pipelines</td><td data-label="What it uses"><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_<APP>_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_<NAME></code>, <code>FORGEQE_DATA_<NAME></code>, <code>FORGEQE_CLOUD_*</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
|
|
250
269
|
<tr><td data-label="Agent">Reports</td><td data-label="What it uses">Every run's report names the test environment</td></tr>
|
|
251
|
-
<tr><td data-label="Agent">Test cases (
|
|
270
|
+
<tr><td data-label="Agent">Test cases (chat, <code>forgeqe suite</code>)</td><td data-label="What it uses"><code>{{var.NAME}}</code> and <code>{{app.NAME}}</code> in a case's title, steps and expected results become the environment's variable and the app's URL (below). A case with no address of its own starts at the web app its first step, preconditions or title names first, else at <code>start_app</code>. Ask the agent to start every case at one app to override that</td></tr>
|
|
252
271
|
</tbody>
|
|
253
272
|
</table></div>
|
|
254
|
-
<p>A test case can name the active environment's values, so one case runs in every environment:</p>
|
|
273
|
+
<p><strong>Values in a test case.</strong> A test case can name the active environment's values, so one case runs in every environment:</p>
|
|
255
274
|
<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 class="lines"><code><span class="ln"><span class="cmd">- title: Book an appointment for {{var.employer_name}}
|
|
256
275
|
</span></span><span class="ln"><span class="cmd"> steps:
|
|
257
276
|
</span></span><span class="ln"><span class="cmd"> - action: Open {{app.CorporatePortal}} and sign in
|
|
258
277
|
</span></span><span class="ln"><span class="cmd"> expected: The dashboard shows {{var.employer_name}}
|
|
259
278
|
</span></span></code></pre></div>
|
|
260
|
-
<p><code>{{var.NAME}}</code> takes a value of <code>variables:</code
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
<
|
|
264
|
-
|
|
265
|
-
their <code>domains</code> covering where the run opens)
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
<p>
|
|
269
|
-
the conversation kept
|
|
270
|
-
<p>There is no scenario file to write
|
|
271
|
-
Billing, in UAT") and ForgeQE's agent picks the apps from their descriptions, shows the plan, runs each step with the
|
|
272
|
-
right engine, and carries values from one app to the next.</p>
|
|
279
|
+
<p><code>{{var.NAME}}</code> takes a value of <code>variables:</code>, and <code>{{app.NAME}}</code> (or <code>{{app.NAME.url}}</code>) a web or API app's URL. The name can be written any way ("Corporate Portal" for <code>CorporatePortal</code>). A name the environment does not have, a desktop app, or a secret's name is left as written and listed in the run's log: secrets are never put into a case.</p>
|
|
280
|
+
<p><strong>Checked before a run.</strong> Before a browser run or a suite starts, ForgeQE checks what the request and its test cases name against env.yaml and forgeqe.yaml:</p>
|
|
281
|
+
<ul>
|
|
282
|
+
<li><code>{{var.…}}</code> and <code>{{app.…}}</code>;</li>
|
|
283
|
+
<li>test users named like <code>withdocs_user</code>;</li>
|
|
284
|
+
<li>saved logins (their variables set, and their <code>domains</code> covering where the run opens);</li>
|
|
285
|
+
<li><code><secret>…</secret></code> placeholders.</li>
|
|
286
|
+
</ul>
|
|
287
|
+
<p>Anything missing is listed, with its fix, before the browser opens. Stop and give the values (credentials become a login for the session, never part of a goal), or run anyway. With nobody to ask, nothing runs until the agent has asked you.</p>
|
|
288
|
+
<p><strong>Edits during a chat.</strong> Edit env.yaml or forgeqe.yaml during a chat (the web app's or the terminal's) and the next message reads them again, with the conversation kept. A file that no longer loads keeps the chat on what it read before, and says why.</p>
|
|
289
|
+
<p><strong>Scenarios across apps.</strong> There is no scenario file to write. Ask in plain language ("place an order in the shop, then check its invoice in Billing, in UAT") and ForgeQE's agent picks the apps from their descriptions, shows the plan, runs each step with the right agent, and carries values from one app to the next.</p>
|
|
273
290
|
</div>
|
|
274
291
|
</section>
|
|
275
292
|
</div>
|
|
276
|
-
</article>
|
|
277
293
|
<article class="spec feat" id="cap-generated-code">
|
|
278
294
|
<div class="hd"><span class="mono">Setup</span><h3>What ForgeQE wrote</h3></div>
|
|
279
295
|
<p class="ds">Says how much of the code ForgeQE wrote is still in the repository, and gives the trailer and footer that mark a commit message or pull request description covering code it wrote. Works with any repository, whatever system the team uses.</p>
|
|
@@ -282,14 +298,34 @@ right engine, and carries values from one app to the next.</p>
|
|
|
282
298
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
283
299
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>generated_attribution</code></p></div>
|
|
284
300
|
</div>
|
|
285
|
-
|
|
286
|
-
|
|
301
|
+
|
|
302
|
+
</article>
|
|
303
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-generated-code">
|
|
287
304
|
<h4>Generated code</h4>
|
|
288
|
-
<div class="prose"><p><strong>Generated code.</strong> What ForgeQE writes is marked, so the team can see it and measure it
|
|
289
|
-
|
|
305
|
+
<div class="prose"><p><strong>Generated code.</strong> What ForgeQE writes is marked, so the team can see it and measure it.</p>
|
|
306
|
+
<ul>
|
|
307
|
+
<li>A file ForgeQE created starts with one line in that language's comment, such as
|
|
308
|
+
<code>// Generated with ForgeQE · fq:k3x7m2qa4bdi · run 20261019-162847</code>. The <code>fq:</code> id is a hash of the file's contents
|
|
309
|
+
without that line, so it shows whether the file was changed since. To leave the line out, set <code>code.header: false</code>
|
|
310
|
+
(<strong>Settings › Code</strong>, <strong>Mark generated files</strong>); a JSON file never gets one. Files it only edited get no header.</li>
|
|
311
|
+
<li>Every file it created or edited is recorded per run in <code>.forgeqe/generated.jsonl</code> (commit it with the code): the lines
|
|
312
|
+
it added, as short hashes, never their text.</li>
|
|
313
|
+
<li>Commit messages ForgeQE's agent writes end with a <code>Generated-by: ForgeQE (fq:…)</code> trailer, and its pull request
|
|
314
|
+
descriptions with a line naming the runs' <code>fq:</code> ids and how much they wrote.</li>
|
|
315
|
+
<li>The ids are plain hashes anyone can recompute: they show what ForgeQE wrote, not who owns the code.</li>
|
|
316
|
+
</ul>
|
|
317
|
+
<p><strong>Seeing how much is still there.</strong> You see how many lines ForgeQE wrote, how many are still in the code, its share of
|
|
318
|
+
the files it touched, and which created files are as it wrote them.</p>
|
|
319
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
320
|
+
<ol>
|
|
321
|
+
<li>Open <strong>Settings › Generated code</strong>.</li>
|
|
322
|
+
</ol>
|
|
323
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
324
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe generated</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or /generated in the shell; --json for a pipeline
|
|
325
|
+
</span></span></code></pre></div>
|
|
326
|
+
</div></div></div>
|
|
290
327
|
</section>
|
|
291
328
|
</div>
|
|
292
|
-
</article>
|
|
293
329
|
<article class="spec feat" id="cap-forgeqe-commands">
|
|
294
330
|
<div class="hd"><span class="mono">Setup</span><h3>Every forgeqe command from the shell</h3></div>
|
|
295
331
|
<p class="ds">Runs the forgeqe commands no other tool covers when the user asks in words: the context budget, guardrails, prompts (show, diff, check, reset), the domain eval, skills on or off, session logs, saved API sets and packs, pack pipelines, the BI site, a test notification, desktop and mobile doctor and validate, and updating ForgeQE. Reading commands run at once; the others are shown and asked first.</p>
|
|
@@ -298,12 +334,13 @@ right engine, and carries values from one app to the next.</p>
|
|
|
298
334
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
299
335
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_command</code></p></div>
|
|
300
336
|
</div>
|
|
301
|
-
|
|
302
|
-
|
|
337
|
+
|
|
338
|
+
</article>
|
|
339
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-15-commands-cheat-sheet">
|
|
303
340
|
<h4>Commands cheat sheet</h4>
|
|
304
|
-
<div class="prose"><p>
|
|
305
|
-
|
|
306
|
-
|
|
341
|
+
<div class="prose"><p>Using the web app? Every page and what it does is in <a href="../web-app/index.html">docs/WEB_APP.md</a>.</p>
|
|
342
|
+
<p>Every command below also works from the shell in plain words ("show the context budget", "diff the brain prompt",
|
|
343
|
+
"upload builds/app.apk to TestMu for the courier app"). A command that only reads runs at once. One that changes
|
|
307
344
|
files, installs, costs model calls, or sends anything out shows you the exact command and runs only when you agree.
|
|
308
345
|
Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeqe bi export</code> and <code>forgeqe logs bundle</code> are <code>/report export</code> and
|
|
309
346
|
<code>/logs</code> there.</p>
|
|
@@ -314,7 +351,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
314
351
|
</thead>
|
|
315
352
|
<tbody>
|
|
316
353
|
<tr><td data-label="Command"><code>forgeqe init [--dir DIR] [--global] [--force] [--profile NAME]</code></td><td data-label="What it does">Write <code>forgeqe.yaml</code>, <code>llms.json</code>, <code>env.yaml</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
|
|
317
|
-
<tr><td data-label="Command"><code>forgeqe setup [--force]</code></td><td data-label="What it does">Download
|
|
354
|
+
<tr><td data-label="Command"><code>forgeqe setup [--force]</code></td><td data-label="What it does">Download everything ForgeQE runs on now, and Appium when mobile apps run on this computer (<code>--force</code> sets the browser part up again)</td></tr>
|
|
318
355
|
<tr><td data-label="Command"><code>forgeqe doctor</code></td><td data-label="What it does">Whether this computer and the network (proxy, inspected HTTPS, firewall) let ForgeQE reach what it needs</td></tr>
|
|
319
356
|
<tr><td data-label="Command"><code>forgeqe doctor --packages</code></td><td data-label="What it does">Every package ForgeQE installs on this computer, and which are missing or out of date</td></tr>
|
|
320
357
|
<tr><td data-label="Command"><code>forgeqe doctor browser [--headless]</code></td><td data-label="What it does">Start the local browser each way ForgeQE can, and write a report of what stops it</td></tr>
|
|
@@ -330,7 +367,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
330
367
|
<tr><td data-label="Command"><code>forgeqe prompts [list] | show|diff|reset <name> | check [name] | eval</code></td><td data-label="What it does">Every agent prompt and where it comes from; compare, reset, check, evaluate</td></tr>
|
|
331
368
|
<tr><td data-label="Command"><code>forgeqe apps [--env NAME]</code>, <code>forgeqe env import <file.yaml> [--write]</code>, <code>forgeqe env link <name> <file.yaml></code></td><td data-label="What it does">The test environments in env.yaml and their apps; an environment from the team's own YAML (see <a href="#doc-how_to_use-environments-and-apps">Environments and apps</a>)</td></tr>
|
|
332
369
|
<tr><td data-label="Command"><code>forgeqe knowledge [build|status|search|node|impact]</code></td><td data-label="What it does">The product knowledge graph (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
|
|
333
|
-
<tr><td data-label="Command"><code>forgeqe graph [status|setup [--yes]|sync|search "<words>"|stop|reset]</code></td><td data-label="What it does">
|
|
370
|
+
<tr><td data-label="Command"><code>forgeqe graph [status|setup [--yes]|sync|search "<words>"|stop|reset]</code></td><td data-label="What it does">The graph store for the product graph and BASAL's scenario graphs (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
|
|
334
371
|
<tr><td data-label="Command"><code>forgeqe auth login [system|NAME] [--no-browser]</code></td><td data-label="What it does">Sign in to Azure DevOps, GitHub, GitHub Copilot (<code>copilot</code>), Jira, Confluence, TestRail, Zephyr, qTest, Xray, BrowserStack, TestMu AI, GitLab, Postman, Sentry, Azure or Dataverse in the browser, or save one secret, in the system's credential store</td></tr>
|
|
335
372
|
<tr><td data-label="Command"><code>forgeqe auth [status]</code>, <code>forgeqe auth logout <system></code></td><td data-label="What it does">What is signed in; forget a sign-in</td></tr>
|
|
336
373
|
</tbody>
|
|
@@ -348,7 +385,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
348
385
|
<tr><td data-label="Command"><code>forgeqe suite <source...> [--parallel N] [--skill NAME]</code></td><td data-label="What it does">Run test cases the same way every time (pipelines)</td></tr>
|
|
349
386
|
<tr><td data-label="Command"><code>forgeqe cases <source...></code></td><td data-label="What it does">List the cases a source gives, without running them</td></tr>
|
|
350
387
|
<tr><td data-label="Command"><code>forgeqe bi [build] [--from FILE|DIR]... [--static|--evidence]</code></td><td data-label="What it does">The team report of every run here and the shared bundles (see <a href="../area-release/index.html#doc-how_to_use-team-report">Team report</a>)</td></tr>
|
|
351
|
-
<tr><td data-label="Command"><code>forgeqe bi init|sync</code></td><td data-label="What it does">
|
|
388
|
+
<tr><td data-label="Command"><code>forgeqe bi init|sync</code></td><td data-label="What it does">Set up the team report's project; refresh its datasets and pages without building</td></tr>
|
|
352
389
|
<tr><td data-label="Command"><code>forgeqe bi export [--out FILE|DIR]</code></td><td data-label="What it does">This machine's runs and readiness reports in one file to share</td></tr>
|
|
353
390
|
<tr><td data-label="Command"><code>forgeqe refine "<request>" [--json]</code></td><td data-label="What it does">The request made precise against what ForgeQE knows here; runs nothing</td></tr>
|
|
354
391
|
<tr><td data-label="Command"><code>forgeqe agent list | new | try | approve | run | approvals …</code></td><td data-label="What it does">The team's custom agents (see <a href="../area-operations/index.html#doc-how_to_use-custom-agents">Custom agents</a>)</td></tr>
|
|
@@ -445,7 +482,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
445
482
|
<tr><td data-label="Input"><code>/rerun [last|run]</code></td><td data-label="Action">Run a passed run again as recorded, without ForgeQE's agent</td></tr>
|
|
446
483
|
<tr><td data-label="Input"><code>/headed on|off</code></td><td data-label="Action">Show the browser window</td></tr>
|
|
447
484
|
<tr><td data-label="Input"><code>/theme light|dark|auto</code></td><td data-label="Action">Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td></tr>
|
|
448
|
-
<tr><td data-label="Input"><code>/details [on|off]</code></td><td data-label="Action">Show everything the agents do while they work: the browser agent's reasoning, page memory,
|
|
485
|
+
<tr><td data-label="Input"><code>/details [on|off]</code></td><td data-label="Action">Show everything the agents do while they work: the browser agent's reasoning, page memory, browser logs, every file the coding agent reads (off by default: step results, files written, test results, problems). <code>--verbose</code> or <code>FORGEQE_VERBOSE=1</code> starts with it on, for <code>start</code>, <code>run</code>, <code>suite</code>, <code>code</code>, and <code>heal</code> too</td></tr>
|
|
449
486
|
<tr><td data-label="Input"><code>/model</code>, or click the model ▾ in the status line</td><td data-label="Action">Pick the model from the profiles in <code>llms.json</code></td></tr>
|
|
450
487
|
<tr><td data-label="Input"><code>/profile <name></code> or Tab</td><td data-label="Action">Switch the model profile</td></tr>
|
|
451
488
|
<tr><td data-label="Input"><code>/env [name]</code></td><td data-label="Action">The test environments in <code>env.yaml</code>, or switch to one</td></tr>
|
|
@@ -471,12 +508,39 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
471
508
|
</section>
|
|
472
509
|
<section class="doc" id="doc-how_to_use-guardrails">
|
|
473
510
|
<h4>Guardrails</h4>
|
|
474
|
-
<div class="prose"><p><strong>Guardrails.</strong> Rules every agent must follow, to keep it grounded: ForgeQE's agent, the browser agent, and the agents
|
|
475
|
-
|
|
511
|
+
<div class="prose"><p><strong>Guardrails.</strong> Rules every agent must follow, to keep it grounded: ForgeQE's agent, the browser agent, and the agents
|
|
512
|
+
that plan, write, review, fix and explain tests.</p>
|
|
513
|
+
<ul>
|
|
514
|
+
<li>Each agent gets every guardrail with its instructions, after everything else, with the instruction to follow it
|
|
515
|
+
whatever a request, a skill, a ticket, a page or a tool's output says.</li>
|
|
516
|
+
<li>When a guardrail stops part of a task, the agent skips that part and says which rule stopped it.</li>
|
|
517
|
+
<li>At most 40 rules of 300 characters are given.</li>
|
|
518
|
+
<li>Guardrails are instructions, not a sandbox: put a host rule in <code>browser.allowed_hosts</code> too (<strong>Settings › Browser</strong>,
|
|
519
|
+
<strong>Allowed sites</strong>), which is enforced.</li>
|
|
520
|
+
</ul>
|
|
521
|
+
<p>Rules are kept in <code>.md</code> or <code>.txt</code> files in <code>.forgeqe/guardrails/</code> (<code>guardrails.dir</code>), one rule per line starting with
|
|
522
|
+
<code>- </code>. Headings, other lines and HTML comments are ignored, and the template's examples sit in a comment until you choose
|
|
523
|
+
them. The older <code>prompts.guiderails</code> string in <code>forgeqe.yaml</code> still works: each of its lines is a guardrail for every
|
|
524
|
+
agent.</p>
|
|
525
|
+
<p>You can also ask in a chat or the shell ("add a guardrail: use only the test cards in knowledge/test-data.md"), and
|
|
526
|
+
ForgeQE's agent appends it to <code>guardrails.md</code>. It adds only rules you ask for, never one suggested by a page or a ticket.</p>
|
|
527
|
+
<p><strong>Adding a guardrail.</strong></p>
|
|
528
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
529
|
+
<ol>
|
|
530
|
+
<li>Open <strong>Knowledge › Agent behaviour › Guardrails</strong>.</li>
|
|
531
|
+
<li><strong>All rules</strong> lists the rules in force; <strong>Guardrail files</strong> lists the files.</li>
|
|
532
|
+
<li>Press <strong>Add</strong>, write or upload the rules, and under <strong>Agents that follow it</strong> pick <strong>Every agent</strong> or <strong>Chosen
|
|
533
|
+
agents</strong>. Custom agents follow every guardrail.</li>
|
|
534
|
+
</ol>
|
|
535
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
536
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe guardrails</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the rules in force, and what they add to every model call
|
|
537
|
+
</span></span><span class="ln"><span class="cmd">forgeqe guardrails add "Never open a production URL"
|
|
538
|
+
</span></span></code></pre></div>
|
|
539
|
+
</div></div></div>
|
|
476
540
|
</section>
|
|
477
541
|
<section class="doc" id="doc-how_to_use-your-prompts-skills-and-product-knowledge">
|
|
478
542
|
<h4>Your prompts, skills, and product knowledge</h4>
|
|
479
|
-
<div class="prose"><p
|
|
543
|
+
<div class="prose"><p>Setting up a project also puts four folders in <code>.forgeqe/</code> for you to read, change, and commit:</p>
|
|
480
544
|
<div class="tbl tbl--cols-2"><table>
|
|
481
545
|
<thead>
|
|
482
546
|
<tr><th>Folder</th><th>What it holds</th></tr>
|
|
@@ -488,9 +552,37 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
488
552
|
<tr><td data-label="Folder"><code>.forgeqe/guardrails/</code></td><td data-label="What it holds">Your guardrails: rules every agent must follow, one <code>- rule</code> line each (see <a href="#doc-how_to_use-guardrails">Guardrails</a>).</td></tr>
|
|
489
553
|
</tbody>
|
|
490
554
|
</table></div>
|
|
491
|
-
<p><strong>Your copy or ForgeQE's.</strong> <code>.forgeqe-manifest.json</code> in each folder records what was copied
|
|
492
|
-
<
|
|
493
|
-
<
|
|
555
|
+
<p><strong>Your copy or ForgeQE's.</strong> <code>.forgeqe-manifest.json</code> in each folder records what was copied.</p>
|
|
556
|
+
<ul>
|
|
557
|
+
<li>A copy you have not changed still counts as ForgeQE's, so it keeps getting ForgeQE's improvements when you update.</li>
|
|
558
|
+
<li>Once you edit it, yours is used. When ForgeQE's version changes after you edited yours, ForgeQE says so at start-up.</li>
|
|
559
|
+
<li>Running <code>forgeqe init</code> again adds what is missing and never overwrites an edited file (with <code>--force</code> it refreshes
|
|
560
|
+
only unchanged copies).</li>
|
|
561
|
+
</ul>
|
|
562
|
+
<p><strong>Prompts.</strong> Each prompt file has a short header (<code>name</code>, <code>description</code>, <code>used_by</code>, <code>kind</code>) and the prompt text.
|
|
563
|
+
<code>{{> name}}</code> includes another prompt: <code>test-rules</code> is included in the test, reviewer and healing prompts, so one edit
|
|
564
|
+
changes all three. ForgeQE looks in <code>prompts.dir</code>, then <code>.forgeqe/prompts/</code>, then <code>~/.forgeqe/prompts/</code> (for every
|
|
565
|
+
project), then its own. Changes take effect on the next run or session.</p>
|
|
566
|
+
<p><strong>Reading and changing a prompt.</strong></p>
|
|
567
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
568
|
+
<ol>
|
|
569
|
+
<li>Open <strong>Knowledge › Agent behaviour › Prompts</strong>.</li>
|
|
570
|
+
<li>Under <strong>Show</strong>, pick <strong>All prompts</strong> or <strong>By agent</strong>, or use <strong>Find a prompt</strong>.</li>
|
|
571
|
+
<li>Open a prompt. Pick <strong>Read</strong> to see it as the agent gets it, or <strong>Edit</strong> to change it. <strong>Compare</strong> shows ForgeQE's own
|
|
572
|
+
version beside yours.</li>
|
|
573
|
+
<li>Press <strong>Save</strong>, or <strong>Reset</strong> to go back to ForgeQE's version.</li>
|
|
574
|
+
</ol>
|
|
575
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
576
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe prompts</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every prompt, what it is for, and where it comes from
|
|
577
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts show test-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the prompt as the agent gets it (includes expanded; --raw for the file)
|
|
578
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts diff test-rules</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how your copy differs from ForgeQE's
|
|
579
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts reset test-rules</span><span class="pad"> </span><span class="cm"><span class="h">#</span> back to ForgeQE's (yours is kept as test-rules.md.bak)
|
|
580
|
+
</span></span></code></pre></div>
|
|
581
|
+
</div></div><p><strong>Your team's prompts.</strong> Instructions of your own for chosen agents go in <code>.forgeqe/prompts/team/<name>.md</code> (or
|
|
582
|
+
<code>~/.forgeqe/prompts/team/</code> for every project; a name in the project wins). The header has <code>name</code>, <code>description</code>, and
|
|
583
|
+
<code>for</code>: the agents' prompts it joins (<code>brain</code> for ForgeQE's agent, <code>test-agent</code> for Quill, <code>browser-extra</code> for the browser
|
|
584
|
+
agent, and so on). Its text is added at the end of those prompts, under "Your team's instructions", as written: it is not
|
|
585
|
+
a template and includes nothing.</p>
|
|
494
586
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>markdown</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">---
|
|
495
587
|
</span></span><span class="ln"><span class="cmd">name: tag-work-items
|
|
496
588
|
</span></span><span class="ln"><span class="cmd">description: "Tests carry the work item they cover"
|
|
@@ -499,16 +591,18 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
499
591
|
</span></span><span class="ln"><span class="cmd">Tag every test with the Azure DevOps work item it covers.
|
|
500
592
|
</span></span><span class="ln"><span class="cmd">If the request names no work item, ask for it.
|
|
501
593
|
</span></span></code></pre></div>
|
|
502
|
-
<div class="
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
</
|
|
506
|
-
</
|
|
507
|
-
</
|
|
508
|
-
</
|
|
509
|
-
|
|
594
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
595
|
+
<ol>
|
|
596
|
+
<li>Open <strong>Knowledge › Agent behaviour › Prompts</strong>.</li>
|
|
597
|
+
<li>Press <strong>Add</strong>, give the prompt a name, a description, the agents that use it and its text, and press <strong>Add</strong>.</li>
|
|
598
|
+
<li>Under <strong>Show</strong>, <strong>Your prompts</strong> lists them; open one to edit or <strong>Delete</strong> it.</li>
|
|
599
|
+
</ol>
|
|
600
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
601
|
+
<p>Write the file in <code>.forgeqe/prompts/team/</code>, then check how an agent gets it:</p>
|
|
602
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe prompts show test-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the agent's whole prompt, team prompts included
|
|
510
603
|
</span></span></code></pre></div>
|
|
511
|
-
|
|
604
|
+
</div></div><p><strong>The prompting standard.</strong> Every prompt follows one standard, and each technique is used where it fits the kind of
|
|
605
|
+
prompt (<code>kind:</code> in its header):</p>
|
|
512
606
|
<div class="tbl tbl--cols-5"><table>
|
|
513
607
|
<thead>
|
|
514
608
|
<tr><th>Kind</th><th>Prompts</th><th>Structure</th><th>Few-shot examples</th><th>Execution contract</th></tr>
|
|
@@ -520,18 +614,53 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
520
614
|
</tbody>
|
|
521
615
|
</table></div>
|
|
522
616
|
<ul>
|
|
523
|
-
<li><strong>ASD-STE100</strong> Simplified Technical English everywhere, so each agent reads one clear instruction at a time: an
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
617
|
+
<li><strong>ASD-STE100</strong> Simplified Technical English everywhere, so each agent reads one clear instruction at a time: an
|
|
618
|
+
instruction has 20 words or fewer and a description 25 or fewer, one instruction per sentence, the active voice, and
|
|
619
|
+
approved words ("make sure", not "ensure"), in at least 80% of sentences. The check covers the rules that can be
|
|
620
|
+
measured in text and a list of common words the standard does not approve; the standard's full dictionary is licensed
|
|
621
|
+
and not included.</li>
|
|
622
|
+
<li><strong>RFC 2119</strong> key words state the strength of every rule: <strong>MUST</strong> / <strong>MUST NOT</strong> are absolute, <strong>SHOULD</strong> / <strong>SHOULD
|
|
623
|
+
NOT</strong> are strong defaults the agent may break only for a reason it states, <strong>MAY</strong> is a free choice, and a numbered
|
|
624
|
+
procedure step is a MUST. A lower-case "must" or "should" is flagged as ambiguous. <code>conventions.md</code> says this at the
|
|
625
|
+
top of every agent and structured prompt, and the browser agent gets it too.</li>
|
|
626
|
+
<li><strong>Structured prompting and few-shot examples</strong> make the output predictable: the same sections in the same order, and
|
|
627
|
+
worked examples where the shape of the answer matters.</li>
|
|
628
|
+
<li><strong>Execution contracts</strong> tell a tool-using agent what must be true before it starts, which tools it uses and in what
|
|
629
|
+
order (for systems: their own tools, then their API, then the browser), its procedure, when it stops, what it does
|
|
630
|
+
when something fails, and what evidence its answer gives.</li>
|
|
631
|
+
<li><strong>Evaluation-driven prompting</strong> measures reliability: evaluation cases give an input and checks decided by code (a
|
|
632
|
+
field matches or is empty, a tool was or was not used, the text keeps ASD-STE100), and each pass rate is compared with
|
|
633
|
+
the last run. ForgeQE's cases cover brain, refine, and explore-charters; add your own as
|
|
634
|
+
<code>.forgeqe/evals/prompts/<prompt>/<case>.yaml</code> (the same id replaces ForgeQE's). Results are kept in
|
|
635
|
+
<code><reports>/evals/prompts/</code>.</li>
|
|
528
636
|
</ul>
|
|
529
|
-
<p><
|
|
530
|
-
|
|
531
|
-
</div>
|
|
637
|
+
<p><strong>Checking a prompt against the standard.</strong> ForgeQE's own prompts meet the standard in its tests; write your edits the
|
|
638
|
+
same way, and run the evaluation before and after a change. This is done at a terminal only:</p>
|
|
639
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe prompts check</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each prompt in use against the standard for its kind (exits 1 when one falls short)
|
|
640
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts check brain</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what to fix in one prompt: sections, rules, examples, contract, sentences
|
|
641
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts eval</span><span class="pad"> </span><span class="cm"><span class="h">#</span> run the evaluation cases with the live model; pass rates against the last run
|
|
642
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe prompts eval refine --runs 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one prompt, three runs of each case
|
|
643
|
+
</span></span></code></pre></div>
|
|
644
|
+
<p><strong>Product knowledge.</strong> Fill in the templates in <code>.forgeqe/knowledge/</code>, or add your own <code>.md</code> and <code>.txt</code> files (in
|
|
645
|
+
folders if you like), one topic per <code>##</code> heading.</p>
|
|
646
|
+
<ul>
|
|
647
|
+
<li>ForgeQE's agent sees the list and reads what a request needs.</li>
|
|
648
|
+
<li>The exploratory and API scenario planners get the sections that match their story or scenario.</li>
|
|
649
|
+
<li>The browser agent gets the few sections that clearly match its goal, at most <code>knowledge.browser_max_chars</code> characters
|
|
650
|
+
(1500 by default; 0 turns it off; in the web app, <strong>Settings › Product knowledge</strong>, <strong>Knowledge per browser run</strong>).</li>
|
|
651
|
+
<li>Untouched templates are left out, so their examples never reach an agent.</li>
|
|
652
|
+
</ul>
|
|
653
|
+
<p>Never put passwords or tokens there: use sign-ins and environment variables.</p>
|
|
654
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
655
|
+
<ol>
|
|
656
|
+
<li>Open <strong>Knowledge › Product understanding › Knowledge</strong>.</li>
|
|
657
|
+
<li>Open the <strong>Notes</strong> tab to read, edit or add a knowledge file. Pick <strong>Read</strong>, <strong>Edit</strong> or <strong>Outline</strong>.</li>
|
|
658
|
+
</ol>
|
|
659
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
660
|
+
<p>Edit the files in <code>.forgeqe/knowledge/</code> with any editor.</p>
|
|
661
|
+
</div></div></div>
|
|
532
662
|
</section>
|
|
533
663
|
</div>
|
|
534
|
-
</article>
|
|
535
664
|
<article class="spec feat" id="cap-product-knowledge">
|
|
536
665
|
<div class="hd"><span class="mono">Setup</span><h3>Product knowledge from the product's repositories</h3></div>
|
|
537
666
|
<p class="ds">Reads every repository of the product, and its documents and links (folders, docs sites, API descriptions, Confluence, and the pages ForgeQE remembers of the apps), into one knowledge graph: its services, HTTP endpoints, database tables, classes, files, documents, and tests, and how they connect, across repositories (the web app's call to the API endpoint it reaches, the code that reads or writes a table). The configured model (a GitHub Copilot seat or any llms.json profile) then writes what each part does and the product's business domains, flows, rules, glossary and roles, as a graph and as pages. Agents search it by requirement, follow a flow step by step to its code, and see what a change reaches and which tests cover it.</p>
|
|
@@ -541,19 +670,32 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
541
670
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Reads local clones of the repositories named in product.repos; it does not clone or pull them</li><li>A docs site is read from its link in product.docs and the pages it links to on the same site only; pages that need a browser to draw are not read</li><li>Endpoints, calls and tables come from the code's patterns (Express, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, SQL); a route built at run time is not seen</li><li>The model reads at most product.max_model_files changed files a build (400 by default); the rest wait for the next build</li><li>Domains, flows and rules are what the model finds in the code and documents: a hypothesis to check, not a specification</li></ul></div>
|
|
542
671
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>product_knowledge</code></p></div>
|
|
543
672
|
</div>
|
|
544
|
-
|
|
545
|
-
|
|
673
|
+
|
|
674
|
+
</article>
|
|
675
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-product-knowledge-graph">
|
|
546
676
|
<h4>Product knowledge graph</h4>
|
|
547
|
-
<div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product
|
|
548
|
-
|
|
677
|
+
<div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product
|
|
678
|
+
works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover
|
|
679
|
+
it.</p>
|
|
680
|
+
<p><strong>Setting it up.</strong> You name the product's repositories, where requirements are searched, and the documents to read.</p>
|
|
681
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
682
|
+
<p>Open <strong>Settings › Product knowledge</strong> and go through its five steps in order:</p>
|
|
549
683
|
<ol>
|
|
550
|
-
<li><strong>Repositories.</strong> Add an account
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
684
|
+
<li><strong>1. Repositories.</strong> Press <strong>Add an account</strong> for GitHub, Azure DevOps, GitLab or Bitbucket (Cloud or Data Center).
|
|
685
|
+
Sign in in the browser or with a personal access token, then pick its repositories. In the browser, GitHub signs in
|
|
686
|
+
with the GitHub CLI, Azure DevOps with Microsoft through the Azure CLI, and GitLab and Bitbucket with Git Credential
|
|
687
|
+
Manager; ForgeQE fetches the repositories with the same sign-in. A local clone or a link can still be added by hand.
|
|
688
|
+
Each repository can be given its <strong>System</strong> (see the Landscape below).</li>
|
|
689
|
+
<li><strong>2. Search service.</strong> Where your requirements are searched (a RAG index): a service at an address, a tool of one of
|
|
690
|
+
your MCP servers, or a local command. <strong>Try a search</strong> on the page (a command runs only on a real search).</li>
|
|
691
|
+
<li><strong>3. Documents.</strong> Press <strong>Add Markdown files</strong> (kept in <code>.forgeqe/documents</code>), or name folders, links, Confluence
|
|
692
|
+
spaces and web apps.</li>
|
|
693
|
+
<li><strong>4. The product and its knowledge.</strong> Its industry and regulations, where the built knowledge is kept, the graph
|
|
694
|
+
store, and <strong>The team's knowledge</strong> (a shared pack).</li>
|
|
695
|
+
<li><strong>5. Advanced.</strong> What the build leaves out and how much the model reads.</li>
|
|
555
696
|
</ol>
|
|
556
|
-
|
|
697
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
698
|
+
<p>Name the repositories in <code>forgeqe.yaml</code>, each a local clone (<code>path</code>, relative to the file) or its link (<code>git</code>):</p>
|
|
557
699
|
<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 class="lines"><code><span class="ln"><span class="cmd">product:
|
|
558
700
|
</span></span><span class="ln"><span class="cmd"> name: Shop
|
|
559
701
|
</span></span><span class="ln"><span class="cmd"> repos:
|
|
@@ -571,56 +713,69 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
571
713
|
</span></span><span class="ln"><span class="cmd"> wiki: { confluence: SHOP }
|
|
572
714
|
</span></span><span class="ln"><span class="cmd"> shop: { app: shop-web }
|
|
573
715
|
</span></span></code></pre></div>
|
|
574
|
-
|
|
716
|
+
</div></div><p><strong>Building the graph.</strong> A build reads every repository (again: only files changed since the last build), then the model
|
|
717
|
+
reads what changed. Before anything goes to the model, ForgeQE says how many files and requests, and the cost, and asks.</p>
|
|
718
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
719
|
+
<ol>
|
|
720
|
+
<li>Open <strong>Knowledge › Product understanding › Product</strong>.</li>
|
|
721
|
+
<li>Press <strong>Build</strong> (or <strong>Refresh</strong> once it is built). The page says when it was built, from how many repositories, and
|
|
722
|
+
when the model last read it.</li>
|
|
723
|
+
</ol>
|
|
724
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
725
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read every repository, then the model
|
|
575
726
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build --yes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> without asking first (pipelines); --no-model: structure only
|
|
576
727
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge build --repo api</span><span class="pad"> </span><span class="cm"><span class="h">#</span> just one repository or source; the others keep their last reading
|
|
577
728
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge status</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what the graph holds, and when each repository was read (its link and commit)
|
|
578
|
-
</span></span
|
|
579
|
-
</
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge history</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each build: the commits it read, and the endpoints, screens, tables, rules that came and went
|
|
583
|
-
</span></span><span class="ln"><span class="cmd">forgeqe knowledge search "cancel an order"
|
|
729
|
+
</span></span></code></pre></div>
|
|
730
|
+
</div></div><p><strong>Exploring and asking.</strong> In the web app, the Product pages show the graph (see the Product page below). At the
|
|
731
|
+
terminal:</p>
|
|
732
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe knowledge search "cancel an order"
|
|
584
733
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge impact Services/OrderService.cs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what a change reaches: code across repositories, business flows, tests
|
|
585
734
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge path web/src/pages/Checkout.tsx api:table:orders</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how one part reaches another, each step with its line
|
|
586
735
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge flow "cancel an order"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a business flow, step by step, with the code of each step
|
|
736
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge landscape</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the product's systems and how they talk (REST, routes, events, shared data, SDK)
|
|
737
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge history</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each build: the commits it read, and the endpoints, screens, tables, rules that came and went
|
|
587
738
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge gaps</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what the build could not settle: calls no route or several fit, other hosts, unknown tables
|
|
588
739
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge check</span><span class="pad"> </span><span class="cm"><span class="h">#</span> find each quoted line again in its file: what moved, what is gone
|
|
589
740
|
</span></span><span class="ln"><span class="cmd">forgeqe knowledge ask "Can a customer cancel an order that has shipped?"
|
|
590
741
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge findings "cancel"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what earlier questions found; stale ones marked
|
|
591
742
|
</span></span></code></pre></div>
|
|
592
|
-
<p><strong>Repositories from their links.</strong> You do not need every repository cloned.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
743
|
+
<p><strong>Repositories from their links.</strong> You do not need every repository cloned. ForgeQE fetches a repository given by <code>git</code>
|
|
744
|
+
into its own cache (under <code>~/.forgeqe/cache/product-repos</code>), never into your workspace: the branch's latest commit only,
|
|
745
|
+
and only the files the graph reads (no images, archives, binaries, <code>node_modules</code> or <code>vendor</code>). Each build first asks the
|
|
746
|
+
server for the branch's commit and fetches only when it moved; then only the files that changed are read again. It works
|
|
747
|
+
with GitHub and GitHub Enterprise, Azure DevOps (Services and Server), GitLab, Bitbucket Cloud and Bitbucket Server /
|
|
748
|
+
Data Center, and any git server, over https or ssh.</p>
|
|
598
749
|
<ul>
|
|
599
|
-
<li><strong>Signing in
|
|
600
|
-
personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a
|
|
601
|
-
GitLab, an HTTP access token for Bitbucket Server, a repository access token for
|
|
602
|
-
with <code>user:</code>). It is sent to that host only,
|
|
603
|
-
as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.</li>
|
|
604
|
-
<li><strong>Pinned to a commit
|
|
605
|
-
page a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
|
|
750
|
+
<li><strong>Signing in.</strong> <code>token_env</code> names the variable that holds a token (save it in <strong>Settings › Secrets</strong>, or with
|
|
751
|
+
<code>forgeqe auth login ADO_PAT</code>): a personal access token for Azure DevOps, a fine-grained or classic token for GitHub, a
|
|
752
|
+
project or personal token for GitLab, an HTTP access token for Bitbucket Server, a repository access token for
|
|
753
|
+
Bitbucket Cloud (or an app password with <code>user:</code>). It is sent to that host only, never in the link or a file. Without
|
|
754
|
+
<code>token_env</code>, git signs in as it does for you (Git Credential Manager, ssh keys); it never stops at a prompt.</li>
|
|
755
|
+
<li><strong>Pinned to a commit.</strong> <code>forgeqe knowledge status</code> shows each repository's link, branch and commit. On the Product
|
|
756
|
+
page, a part's evidence opens the exact line on GitHub, Azure DevOps, GitLab or Bitbucket at the commit the graph was
|
|
606
757
|
built from.</li>
|
|
607
758
|
<li><strong>When a server cannot be reached,</strong> the build reads the last fetched commit and says so; a repository never fetched
|
|
608
759
|
keeps its graph from the last build. Neither stops the other repositories.</li>
|
|
609
|
-
<li><strong>What changed
|
|
760
|
+
<li><strong>What changed.</strong> Every build is kept in <code>graph/history.jsonl</code>; <code>forgeqe knowledge history</code> lists the commits each
|
|
610
761
|
build read and what came and went.</li>
|
|
611
|
-
<li><strong>Safety
|
|
612
|
-
|
|
762
|
+
<li><strong>Safety.</strong> Repository hooks, submodules, LFS downloads and symbolic links are off. Only https and ssh links are taken
|
|
763
|
+
(never <code>ext::</code>, <code>file://</code> or a local path), and none with a password or <code>..</code> in it.</li>
|
|
613
764
|
</ul>
|
|
614
765
|
<p><strong>What the runs did, against the code.</strong> Every build also reads the API calls ForgeQE's last 50 runs recorded
|
|
615
766
|
(<code>network.json</code> in the reports folder: method, host, path and status; never a body, header or query value, and a path
|
|
616
|
-
segment that is an email address or a long token is masked)
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
767
|
+
segment that is an email address or a long token is masked).</p>
|
|
768
|
+
<ul>
|
|
769
|
+
<li>A call whose route a repository declares marks that endpoint, the front end's call of it, and the screen the run was
|
|
770
|
+
on as seen in a run, with the call as evidence.</li>
|
|
771
|
+
<li>A call near a declared route but not it (one segment differs, or one more such as <code>/v2</code>) is listed as differing from
|
|
772
|
+
the code.</li>
|
|
773
|
+
<li>A call no repository declares is listed as shown only by the runs.</li>
|
|
774
|
+
</ul>
|
|
620
775
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge runtime</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what differs from the code, what only the runs show, endpoints no run reached
|
|
621
776
|
</span></span></code></pre></div>
|
|
622
|
-
<p><strong>Sharing the knowledge with the team.</strong> One machine builds the knowledge; everyone else pulls it, with no clone of
|
|
623
|
-
|
|
777
|
+
<p><strong>Sharing the knowledge with the team.</strong> One machine builds the knowledge; everyone else pulls it, with no clone of any
|
|
778
|
+
repository. Run this once, at a terminal, in the repository that holds <code>forgeqe.yaml</code>:</p>
|
|
624
779
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pipeline init</span><span class="pad"> </span><span class="cm"><span class="h">#</span> writes .github/workflows/forgeqe-knowledge.yml and pipelines/forgeqe-knowledge.yml
|
|
625
780
|
</span></span></code></pre></div>
|
|
626
781
|
<p>Commit the file for your CI (and <code>forgeqe.yaml</code>, <code>llms.json</code>), add the secrets it names (each repository's <code>token_env</code>,
|
|
@@ -632,9 +787,16 @@ each document link's, and the model's key), and run it once. Every night, and wh
|
|
|
632
787
|
<li>exports the pack (<code>forgeqe knowledge export</code>), keeps it as the run's artifact, and publishes it as the one file of
|
|
633
788
|
the <code>forgeqe-knowledge</code> branch.</li>
|
|
634
789
|
</ol>
|
|
635
|
-
<p>Repositories given by <code>path</code> (a local clone) are not read by the pipeline: give them <code>git:</code>. In Azure DevOps the build
|
|
790
|
+
<p>Repositories given by <code>path</code> (a local clone) are not read by the pipeline: give them <code>git:</code>. In Azure DevOps, the build
|
|
636
791
|
service needs Contribute on the repository to publish the branch.</p>
|
|
637
|
-
<p>Everyone else points
|
|
792
|
+
<p><strong>Pulling the team's knowledge.</strong> Everyone else points ForgeQE at the published pack and pulls it.</p>
|
|
793
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
794
|
+
<ol>
|
|
795
|
+
<li>Open <strong>Settings › Product knowledge</strong>.</li>
|
|
796
|
+
<li>Under <strong>4. The product and its knowledge</strong>, <strong>The team's knowledge</strong>, fill in the <strong>Repository</strong>, <strong>Branch</strong> and <strong>Pack
|
|
797
|
+
in it</strong> (or <strong>Or a link</strong>).</li>
|
|
798
|
+
</ol>
|
|
799
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
638
800
|
<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 class="lines"><code><span class="ln"><span class="cmd">product:
|
|
639
801
|
</span></span><span class="ln"><span class="cmd"> shared: { git: https://dev.azure.com/acme/Shop/_git/qa, branch: forgeqe-knowledge, file: shop.knowledge.forgeqe, token_env: ADO_PAT }
|
|
640
802
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> or { url: https://files.acme.local/shop.knowledge.forgeqe, token_env: FILES_TOKEN }, or { path: //share/qa/shop.knowledge.forgeqe }
|
|
@@ -642,78 +804,144 @@ service needs Contribute on the repository to publish the branch.</p>
|
|
|
642
804
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge pull</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the newest pack: the same graph, Landscape, views, history and findings
|
|
643
805
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge import shop.knowledge.forgeqe</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or a pack you were given (a file or an https link)
|
|
644
806
|
</span></span></code></pre></div>
|
|
645
|
-
|
|
646
|
-
your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is
|
|
647
|
-
anything is written: only the knowledge folder's own files, each matching its checksum, within a size
|
|
648
|
-
quotes of the code: share it only with people who may read those repositories. Without the
|
|
649
|
-
<
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
807
|
+
</div></div><p><strong>After a pull.</strong> <code>forgeqe knowledge status</code> and the Product page say "From the team's build of …" with the commits it
|
|
808
|
+
read; a build of your own replaces that. Your own Right/Wrong marks and questions are kept when you pull. A pack is
|
|
809
|
+
checked before anything is written: only the knowledge folder's own files, each matching its checksum, within a size
|
|
810
|
+
limit. It holds quotes of the code: share it only with people who may read those repositories. Without the
|
|
811
|
+
repositories, <code>forgeqe knowledge ask</code> answers from the graph and documents but cannot open the code itself.</p>
|
|
812
|
+
<p><strong>The Landscape.</strong> The Engineering view opens on the product's systems (CRM, Digital, Mobile, Payments), the outside
|
|
813
|
+
services it uses, and how they talk to each other. Each link is summed up by kind (REST calls, gateway routes, events on
|
|
814
|
+
a topic or queue, shared data, an outside SDK), with how often, how it is known, and examples you can trace to the
|
|
815
|
+
code. Select a system to see its services, with the parts of other systems they reach named with their system.</p>
|
|
816
|
+
<p><strong>Giving each repository its system.</strong></p>
|
|
817
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
818
|
+
<ol>
|
|
819
|
+
<li>Open <strong>Settings › Product knowledge</strong>, <strong>1. Repositories</strong>.</li>
|
|
820
|
+
<li>Fill in each repository's <strong>System</strong>.</li>
|
|
821
|
+
</ol>
|
|
822
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
653
823
|
<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 class="lines"><code><span class="ln"><span class="cmd">product:
|
|
654
824
|
</span></span><span class="ln"><span class="cmd"> repos:
|
|
655
825
|
</span></span><span class="ln"><span class="cmd"> crm-core: { git: https://bitbucket.acme.local/scm/crm/crm-core.git, system: CRM }
|
|
656
826
|
</span></span><span class="ln"><span class="cmd"> crm-api: { git: https://bitbucket.acme.local/scm/crm/crm-api.git, system: CRM }
|
|
657
827
|
</span></span><span class="ln"><span class="cmd"> shop-web: { path: ../shop-web, system: Digital }
|
|
658
828
|
</span></span></code></pre></div>
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
<
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
<
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
<
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
829
|
+
</div></div><p><strong>Letting the model propose the systems.</strong> The model reads what the graph knows of each repository (what it says it is,
|
|
830
|
+
its frameworks, endpoints, screens, tables, the outside services it uses, the repositories it calls) and the product's
|
|
831
|
+
documents, and names the systems in the business's words, each with why. You are asked first, as for every use of the
|
|
832
|
+
model; a build where the model reads the product also proposes one for each new repository.</p>
|
|
833
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
834
|
+
<ol>
|
|
835
|
+
<li>Open <strong>Knowledge › Product understanding › Product</strong>.</li>
|
|
836
|
+
<li>Under <strong>Systems proposed by the model</strong>, accept each, rename it, or reject it (or <strong>Accept</strong> them all).</li>
|
|
837
|
+
</ol>
|
|
838
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
839
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge systems --propose</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the model proposes the systems
|
|
840
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge systems --accept orders-api</span><span class="pad"> </span><span class="cm"><span class="h">#</span> accept one
|
|
841
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge systems --accept payments --as Payments</span><span class="pad"> </span><span class="cm"><span class="h">#</span> accept it under another name
|
|
842
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge systems --reject deploy</span><span class="pad"> </span><span class="cm"><span class="h">#</span> reject one; --undo deploy takes the decision back
|
|
843
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge landscape</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the systems and how they talk
|
|
844
|
+
</span></span></code></pre></div>
|
|
845
|
+
</div></div><p><strong>Which system wins.</strong> A system set in <code>forgeqe.yaml</code> always wins, then a person's decision, then the model's proposal;
|
|
846
|
+
the proposal and the decisions travel in the team's pack. A repository with none of these is grouped with those that
|
|
847
|
+
share the first word of its name (<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. The agents ask the Landscape
|
|
848
|
+
through ForgeQE's knowledge tool.</p>
|
|
849
|
+
<p><strong>The Product page.</strong> In the web app, <strong>Knowledge › Product understanding</strong> has the Product pages: <strong>Product</strong>,
|
|
850
|
+
<strong>Services</strong>, <strong>Code map</strong> and <strong>Business view</strong>. They are in the web app only. The Engineering view draws the graph as
|
|
851
|
+
an architecture map:</p>
|
|
852
|
+
<ul>
|
|
853
|
+
<li><strong>The parts.</strong> Each kind of part is a tinted band (front ends, gateways, services, data and messages), with the outside
|
|
854
|
+
services in a column on the right, and wires at right angles from card to card.</li>
|
|
855
|
+
<li><strong>The wires.</strong> A green wire is a call a run saw, a dotted amber one a call a run made differently, a dashed one goes to
|
|
856
|
+
an outside system, and a grey one is read in the code or configuration. Hover over or tab to a part to trace what it
|
|
857
|
+
sends and receives.</li>
|
|
858
|
+
<li><strong>How they talk.</strong> This tab draws every link as a relationship graph (each part coloured by its band, each line named by
|
|
859
|
+
what it does, a part or link picked showing how it is known), then lists them in words.</li>
|
|
860
|
+
<li><strong>Always the same layout.</strong> These graphs are laid out in order, not by forces, so the same product always comes out
|
|
861
|
+
the same: a full-width tier per band from top to bottom (front ends, gateways, services, data and messages, platform),
|
|
862
|
+
test suites in a column at the left and outside systems at the right, ordered so lines cross as little as they can.</li>
|
|
863
|
+
<li><strong>A service from the inside.</strong> Select a service to see its endpoints with the authentication they need, who calls them
|
|
864
|
+
and what a change to one reaches, and what it calls, reads, writes, publishes and uses.</li>
|
|
865
|
+
<li><strong>Evidence.</strong> Each part opens its evidence (the file and line, or the run's call), and each open question has
|
|
866
|
+
<strong>Investigate</strong>, which asks ForgeQE's agent in a chat.</li>
|
|
867
|
+
</ul>
|
|
868
|
+
<p><strong>The Code map.</strong> Its Graph view at All repositories draws the product: each repository (coloured by its band on the
|
|
869
|
+
services map, sized by its files), the data stores and outside systems they share, and a line for each kind of
|
|
870
|
+
connection with how many.</p>
|
|
871
|
+
<ul>
|
|
872
|
+
<li>Select a repository for what it holds (files, tests, lines, languages, main folders) and what it talks to and is used
|
|
873
|
+
by, then open it.</li>
|
|
874
|
+
<li>Inside a repository, click a folder's name in the graph (or pick it in Folder) to open that folder, and go back by the
|
|
875
|
+
path above the graph (All repositories › repository › folder).</li>
|
|
876
|
+
<li><strong>Arrange by</strong> draws a repository as an architecture diagram by default (Layers: front end, API and routes, services
|
|
877
|
+
and domain, data access and other code, from top to bottom, with tests at the left and shared code and config at the
|
|
878
|
+
right; each file's layer is a guess from its folders, name and kind) or as its folders (Folders).</li>
|
|
879
|
+
<li>The Graph and Cluster views colour and place files by folder, repository or cluster. A selected file's links are lit,
|
|
880
|
+
and the files a change to it reaches are ringed in orange.</li>
|
|
881
|
+
</ul>
|
|
882
|
+
<p>The <strong>Change impact</strong> page's map draws a change the same way: arranged by steps from the change by default, or by
|
|
883
|
+
folders (<strong>Arrange by</strong>), each file coloured by impact, steps from the change or how often it changes.</p>
|
|
884
|
+
<p><strong>The Business view.</strong> This is the product as the business sees it, in its own words:</p>
|
|
885
|
+
<ul>
|
|
886
|
+
<li>what the product does: each capability with the actions people take ("View an order", "Cancel an order"), what it
|
|
887
|
+
keeps and who it shares with;</li>
|
|
888
|
+
<li>journeys as a storyboard of steps (the ones ForgeQE's runs walked, and the ones the model named), with what each step
|
|
889
|
+
causes ("Saves the order", "Announces “order cancelled”") and when it is not allowed;</li>
|
|
890
|
+
<li>business rules as sentences ("Cancel an order is refused when: Order has shipped");</li>
|
|
891
|
+
<li>each record's life (placed → cancelled, with the states rules check);</li>
|
|
892
|
+
<li>the glossary, and the last result of your team questions (<code>forgeqe knowledge eval</code>).</li>
|
|
893
|
+
</ul>
|
|
894
|
+
<p>Before the model has read the product, these words come from the code: the action from each request, the rule from the
|
|
895
|
+
message the product answers with, the life from the states the code sets and checks. After, they are the model's names
|
|
896
|
+
and sentences, each citing what shows it. <strong>Show how it is built</strong> adds the requests, files, the capability map and the
|
|
897
|
+
sequence of calls under each.</p>
|
|
898
|
+
<p><strong>Correcting the graph.</strong> Mark a rule, journey, capability or term <strong>Right</strong> or <strong>Wrong</strong>, with what is right instead.
|
|
899
|
+
It is kept in <code>graph/feedback.json</code>, and from the next build the agents read it as a person's word, ahead of the
|
|
900
|
+
model's. You can also tell Librarian (see <a href="#doc-how_to_use-librarian">Librarian</a>).</p>
|
|
901
|
+
<p><strong>Asking the product a question.</strong> An investigator searches the graph, reads the code and document folders it needs,
|
|
902
|
+
follows the question across repositories, and asks again until it can answer. It runs on the analysis model (see
|
|
903
|
+
<a href="#doc-how_to_use-model-routing">Model routing</a>).</p>
|
|
904
|
+
<ul>
|
|
905
|
+
<li><strong>Findings with quotes.</strong> Its answer is a set of findings, each quoting the lines it rests on. ForgeQE finds every
|
|
906
|
+
quoted line again in its file before it keeps a finding; one whose quote is not there is shown as not kept.</li>
|
|
907
|
+
<li><strong>Unknowns.</strong> What it cannot settle it says is unknown, with what would settle it.</li>
|
|
908
|
+
<li><strong>Kept for next time.</strong> Findings are kept in <code>graph/findings.json</code>. The next question starts from them, and a build
|
|
909
|
+
marks a finding stale when a line it quotes is gone.</li>
|
|
910
|
+
<li><strong>What it may read.</strong> Only the repositories and document folders in <code>forgeqe.yaml</code>, never a hidden or credential
|
|
911
|
+
file, no shell and no web. It also reads the text of documents from links and Confluence (a build keeps it in
|
|
912
|
+
<code>graph/texts/</code>, secrets removed) and the API calls ForgeQE's runs recorded. A quote from a page or a run is checked the
|
|
913
|
+
same way, and the finding says where it came from.</li>
|
|
914
|
+
<li><strong>A browser run, if you agree.</strong> When only a run can settle a fact, it may ask to run one goal in the browser. You are
|
|
915
|
+
asked first, with the goal and what it settles, and can say no (evaluations never run one).</li>
|
|
916
|
+
<li><code>product.max_investigation_steps</code> (default 40) caps its tool calls.</li>
|
|
917
|
+
</ul>
|
|
918
|
+
<p>Ask in any chat ("can a customer cancel an order that has shipped?"), or at the terminal with <code>forgeqe knowledge ask</code>.</p>
|
|
703
919
|
<p><strong>Checking the answers.</strong> Write questions whose answers your team knows, with the words a right answer says and the
|
|
704
|
-
files it should quote, and score them
|
|
920
|
+
files it should quote, and score them. <code>evals/knowledge/shop/questions.yaml</code> shows the format. A question passes when
|
|
921
|
+
the answer says each group of words and a kept finding quotes one of the files named. A question the product cannot
|
|
922
|
+
answer passes only when the answer says it is unknown. Run it after you change the model or the setup, and compare. This
|
|
923
|
+
is done at a terminal only:</p>
|
|
705
924
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge eval questions.yaml</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each question on its own; pass, fail and why, kept in graph/evals/
|
|
706
925
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge eval --sample</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the sample product that ships with ForgeQE: 15 questions
|
|
707
926
|
</span></span></code></pre></div>
|
|
708
|
-
<p><
|
|
709
|
-
and
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
927
|
+
<p><strong>How each part is known.</strong> Every node and link says what it rests on: the file and line it was read from, with the line
|
|
928
|
+
itself, and whether it was read as written (a route, a table), worked out (a call matched to a route, an import,
|
|
929
|
+
anything the model wrote), or not known. A call is never shown as seen until a run sees it. What a build could not settle
|
|
930
|
+
is listed, not guessed: <code>forgeqe knowledge gaps</code>, and <code>status</code> says how much of the product is covered. Quotes keep no
|
|
931
|
+
URL query and no secret-looking value.</p>
|
|
932
|
+
<p><strong>What it reads from the code.</strong> Each repository's files as git tracks them, less <code>.gitignore</code>, a <code>.forgeqeignore</code> in the
|
|
933
|
+
repository (one pattern a line), and <code>product.exclude</code>. Hidden files and folders, files named like credentials
|
|
934
|
+
(<code>appsettings.*.json</code>, <code>*.pfx</code>, <code>secrets.*</code>, <code>*.tfvars</code> …), binaries, and links that lead out of the repository are
|
|
935
|
+
never read. No model is used for this part. From the code it takes:</p>
|
|
936
|
+
<ul>
|
|
937
|
+
<li>the files, classes, functions and tests (TypeScript, JavaScript, C#, Java, Python);</li>
|
|
938
|
+
<li>the HTTP endpoints of Express, Fastify, NestJS, Next.js, ASP.NET Core, Spring, FastAPI, Flask, Django, Go (net/http,
|
|
939
|
+
Gin, Echo, chi), Ruby on Rails (<code>config/routes.rb</code>), Laravel, Rust (axum, actix), and servers that route by hand
|
|
940
|
+
(<code>url.pathname === "/api/x"</code>);</li>
|
|
941
|
+
<li>the HTTP calls each file makes, in those languages too;</li>
|
|
942
|
+
<li>the tables SQL and migrations define, read and write;</li>
|
|
943
|
+
<li>the front end's screens: Next.js pages, and the routes of React Router, Angular and Vue Router.</li>
|
|
944
|
+
</ul>
|
|
717
945
|
<p><strong>How it is deployed and wired.</strong> From configuration files the build also reads, without a model:</p>
|
|
718
946
|
<div class="tbl tbl--cols-2"><table>
|
|
719
947
|
<thead>
|
|
@@ -727,17 +955,24 @@ keep no URL query and no secret-looking value.</p>
|
|
|
727
955
|
<tr><td data-label="File">Terraform <code>*.tf</code></td><td data-label="What it gives">cloud resources by kind (queues, topics, databases, tables, buckets, functions, container services, API gateway routes, caches, DNS), each with its name in the cloud; a queue or topic is tied to the code that uses it, a function or service to the repository its code or image comes from, a route to the endpoint it serves</td></tr>
|
|
728
956
|
</tbody>
|
|
729
957
|
</table></div>
|
|
730
|
-
<
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
<
|
|
958
|
+
<ul>
|
|
959
|
+
<li>Only addresses and topic names are kept, an address without its user name, password or query; no other value of a
|
|
960
|
+
setting is ever read into the graph.</li>
|
|
961
|
+
<li>From Terraform, only a few attributes written as plain strings are read (a name, an engine, a route, an image, the
|
|
962
|
+
code's path); <code>*.tfvars</code> and state files are never read.</li>
|
|
963
|
+
<li>A call whose URL starts with a variable (<code>${PAYMENTS_URL}/refunds</code>) reaches the service that address names, with both
|
|
964
|
+
lines as evidence.</li>
|
|
965
|
+
<li>From the code it reads the topics and queues each file publishes to and consumes (Kafka, RabbitMQ, Azure Service Bus,
|
|
966
|
+
SQS and SNS). A name read from a setting is looked up in the repository's settings files and its deployed service's
|
|
967
|
+
environment; one nothing here sets is an open question.</li>
|
|
968
|
+
<li>It also reads the outside services each file uses (Stripe, SendGrid, Twilio, Auth0, AWS and others, by SDK or API
|
|
969
|
+
host), and the authentication a route requires (<code>[Authorize]</code>, <code>@PreAuthorize</code>, <code>Depends(get_current_user)</code>,
|
|
970
|
+
<code>requireAuth</code> …).</li>
|
|
971
|
+
<li>A topic that is published but consumed by no repository here, and a gateway route to no known service, are open
|
|
972
|
+
questions in <code>forgeqe knowledge gaps</code>.</li>
|
|
973
|
+
</ul>
|
|
974
|
+
<p><strong>Documents and links.</strong> <code>product.docs</code> (in the web app, <strong>Settings › Product knowledge</strong>, <strong>3. Documents</strong>) adds what is
|
|
975
|
+
written about the product, each source by name:</p>
|
|
741
976
|
<div class="tbl tbl--cols-2"><table>
|
|
742
977
|
<thead>
|
|
743
978
|
<tr><th>Source</th><th>What it gives</th></tr>
|
|
@@ -745,35 +980,78 @@ here, and a gateway route to no known service, are open questions in <code>forge
|
|
|
745
980
|
<tbody>
|
|
746
981
|
<tr><td data-label="Source"><code>path:</code> a folder</td><td data-label="What it gives">A document per Markdown, text, or HTML file; an <code>openapi</code>/<code>swagger</code> file in it gives its endpoints</td></tr>
|
|
747
982
|
<tr><td data-label="Source"><code>url:</code> a docs site or help centre</td><td data-label="What it gives">The page and the pages it links to, <code>depth</code> links deep and <code>max_pages</code> at most, as text</td></tr>
|
|
748
|
-
<tr><td data-label="Source"><code>url:</code> an OpenAPI, Swagger, WSDL, or GraphQL description</td><td data-label="What it gives">Its endpoints,
|
|
983
|
+
<tr><td data-label="Source"><code>url:</code> an OpenAPI, Swagger, WSDL, or GraphQL description</td><td data-label="What it gives">Its endpoints, each joined to the code endpoint with its method and route</td></tr>
|
|
749
984
|
<tr><td data-label="Source"><code>confluence:</code> a space key, or a page's link</td><td data-label="What it gives">The space's pages, or the page and the pages under it, with the existing Confluence sign-in (25 at most)</td></tr>
|
|
750
985
|
<tr><td data-label="Source"><code>app:</code> a web app of <code>env.yaml</code></td><td data-label="What it gives">The pages ForgeQE's runs and <code>forgeqe explore</code> remember of it, with their buttons, links and fields, each joined to the front-end screen whose route it fits</td></tr>
|
|
751
986
|
</tbody>
|
|
752
987
|
</table></div>
|
|
753
|
-
<p>A document is joined to the endpoints, tables
|
|
754
|
-
|
|
755
|
-
<
|
|
756
|
-
<
|
|
757
|
-
|
|
758
|
-
<
|
|
988
|
+
<p>A document is joined to the endpoints, tables and classes it names, so <code>impact</code> and <code>node</code> show what is written about a
|
|
989
|
+
part, and the model reads the documents with the code.</p>
|
|
990
|
+
<ul>
|
|
991
|
+
<li>A link in the settings may be on your company network. What a page links to, and where it redirects, is followed only
|
|
992
|
+
on that same site, so a page cannot send ForgeQE elsewhere.</li>
|
|
993
|
+
<li>Only <code>http</code> and <code>https</code> links are read, never one with a user name or password in it (a token goes in <code>token_env</code>,
|
|
994
|
+
sent to that site only). <code>robots.txt</code> is honoured.</li>
|
|
995
|
+
<li>A page is read up to 2 MB and 20 seconds, only if it is text. A page that did not change since the last build (its
|
|
996
|
+
ETag or Last-Modified) is not read again.</li>
|
|
997
|
+
</ul>
|
|
998
|
+
<p><strong>What the model adds.</strong> After the structure, the model reads what changed: each file (what it does for the product),
|
|
999
|
+
each repository (what it does, its layers), and then the whole product: an overview, the business domains with their
|
|
1000
|
+
rules and entities, the business flows step by step, a glossary, and the roles.</p>
|
|
1001
|
+
<ul>
|
|
1002
|
+
<li>Every flow step and domain is tied to the endpoints, files and tables that do it; a reference the model makes up is
|
|
1003
|
+
dropped.</li>
|
|
1004
|
+
<li>It runs on the model routing gives the analysis area, or the model in use: a GitHub Copilot seat (no token cost) or
|
|
1005
|
+
any other model.</li>
|
|
1006
|
+
<li>It has no tools: all it reads is in its requests, and the code it is sent has secrets replaced first.</li>
|
|
1007
|
+
<li>Before anything is sent, ForgeQE says how many files and requests, and the cost at your model's price, and asks.
|
|
1008
|
+
<code>--yes</code> skips the question; without a terminal, nothing is sent unless <code>--yes</code> is given.</li>
|
|
1009
|
+
<li>What the model wrote is kept in <code>graph/understanding.json</code> by the content it read, so a rebuild sends only new and
|
|
1010
|
+
changed files, and teammates who pull the folder do not pay again.</li>
|
|
1011
|
+
<li>Its prompt is <code>.forgeqe/prompts/product-knowledge.md</code>.</li>
|
|
1012
|
+
</ul>
|
|
1013
|
+
<p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per
|
|
1014
|
+
domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their
|
|
1015
|
+
callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own
|
|
1016
|
+
notes. ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
|
|
1017
|
+
<p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL
|
|
1018
|
+
to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to
|
|
1019
|
+
the tests that import it.</p>
|
|
1020
|
+
<p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/<name>.json</code> (one per
|
|
1021
|
+
repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable.
|
|
1022
|
+
Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
|
|
1023
|
+
<p><strong>The graph store.</strong> ForgeQE can also keep the product graph, with BASAL's scenario graphs, in a graph store of its own,
|
|
1024
|
+
so they are searched by meaning as well as by words. Setting it up needs your agreement: in Docker (about 600 MB, once),
|
|
1025
|
+
or else a download checked by SHA-256 (about 200 MB). It listens on 127.0.0.1 port 7688 only, with a password ForgeQE
|
|
1026
|
+
makes and keeps in the credential store. Each build then puts the product graph into it; the JSON files stay, and are
|
|
1027
|
+
used when the store does not answer.</p>
|
|
1028
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1029
|
+
<ol>
|
|
1030
|
+
<li>Open <strong>Settings › Product knowledge</strong>, <strong>4. The product and its knowledge</strong>, <strong>The graph store</strong>.</li>
|
|
1031
|
+
<li>Set <strong>Graph store</strong>, <strong>Where it runs</strong>, <strong>Address</strong> and, to search by meaning, <strong>Embedding model</strong>.</li>
|
|
1032
|
+
</ol>
|
|
1033
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
759
1034
|
<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 class="lines"><code><span class="ln"><span class="cmd">graph:
|
|
760
|
-
</span></span><span class="ln ln--pair"><span class="cmd"> store: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> auto:
|
|
1035
|
+
</span></span><span class="ln ln--pair"><span class="cmd"> store: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> auto: the graph store when it answers, else the JSON graph | neo4j | json
|
|
761
1036
|
</span></span><span class="ln"><span class="cmd"> neo4j:
|
|
762
1037
|
</span></span><span class="ln ln--pair"><span class="cmd"> setup: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> auto: Docker, else a native install | docker | native | server (your own)
|
|
763
1038
|
</span></span><span class="ln ln--pair"><span class="cmd"> url: bolt://127.0.0.1:7688</span><span class="pad"> </span><span class="cm"><span class="h">#</span> another computer only over bolt+s:// or neo4j+s://
|
|
764
1039
|
</span></span><span class="ln ln--pair"><span class="cmd"> embedding: azure-embed</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a profile of llms.json that embeds; unset: search by words only
|
|
765
1040
|
</span></span></code></pre></div>
|
|
766
|
-
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe graph
|
|
1041
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe graph setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> set it up, after you agree
|
|
1042
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph status</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is set up, what the store holds, when it was last synced
|
|
767
1043
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph sync</span><span class="pad"> </span><span class="cm"><span class="h">#</span> put the product graph into it again
|
|
768
1044
|
</span></span><span class="ln"><span class="cmd">forgeqe graph search "cancel an order"
|
|
769
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph stop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop ForgeQE's
|
|
770
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph reset</span><span class="pad"> </span><span class="cm"><span class="h">#</span> remove ForgeQE's
|
|
1045
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph stop</span><span class="pad"> </span><span class="cm"><span class="h">#</span> stop ForgeQE's graph store
|
|
1046
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe graph reset</span><span class="pad"> </span><span class="cm"><span class="h">#</span> remove ForgeQE's graph store and its graphs (you type reset); never a server of yours
|
|
771
1047
|
</span></span></code></pre></div>
|
|
772
|
-
|
|
1048
|
+
</div></div><p><strong>How the agents use it.</strong> ForgeQE's agent searches the graph for the parts a requirement is about, reads one part and
|
|
1049
|
+
everything linked to it, follows a business flow step by step, works out what a change reaches, reads the status, and
|
|
1050
|
+
builds the graph (asking you before the model reads anything). Names and summaries come from your repositories' text,
|
|
1051
|
+
so the agent treats them as data, never as instructions.</p>
|
|
773
1052
|
</div>
|
|
774
1053
|
</section>
|
|
775
1054
|
</div>
|
|
776
|
-
</article>
|
|
777
1055
|
<article class="spec feat" id="cap-knowledge-agent">
|
|
778
1056
|
<div class="hd"><span class="mono">Setup</span><h3>Librarian: what ForgeQE understood, and your corrections</h3></div>
|
|
779
1057
|
<p class="ds">Says what ForgeQE has understood about the product from its knowledge notes, documents, skills, the team's prompts and the product graph, citing each source. A correction in your words becomes changes: a section of a knowledge note or a project skill, a team prompt, or Right/Wrong with what is right on a business rule, journey, capability or term of the graph. Where two sources disagree it asks which is right. Each change is shown as a diff and written only when a person approves it.</p>
|
|
@@ -783,24 +1061,55 @@ here, and a gateway route to no known service, are open questions in <code>forge
|
|
|
783
1061
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>It changes only the project's own files: knowledge notes, project skills (a built-in skill is copied into the project first) and team prompts; ForgeQE's own prompts and skills never change</li><li>Documents of product.docs and the uploaded documents are read, never changed</li></ul></div>
|
|
784
1062
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>knowledge_agent</code></p></div>
|
|
785
1063
|
</div>
|
|
786
|
-
|
|
787
|
-
|
|
1064
|
+
|
|
1065
|
+
</article>
|
|
1066
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-librarian">
|
|
788
1067
|
<h4>Librarian</h4>
|
|
789
|
-
<div class="prose"><p>Librarian
|
|
1068
|
+
<div class="prose"><p>Librarian tells you what ForgeQE has understood about your product, and takes your corrections. You can also ask in any
|
|
1069
|
+
chat ("what do you know about refunds?", "that's wrong: the supervisor limit is 1000 EUR"), and ForgeQE's agent hands it
|
|
1070
|
+
over.</p>
|
|
1071
|
+
<ul>
|
|
1072
|
+
<li>
|
|
1073
|
+
<p><strong>What it reads.</strong> The sections of your knowledge notes, documents and skills that your words are about (found as in
|
|
1074
|
+
<a href="#doc-how_to_use-searching-your-documents-without-vectors">Searching your documents, without vectors</a>), the team's prompts, and the
|
|
1075
|
+
business rules, journeys, capabilities and terms of the product graph. Each answer names the sources it rests on.</p>
|
|
1076
|
+
</li>
|
|
1077
|
+
<li>
|
|
1078
|
+
<p><strong>What a correction changes.</strong> Only what is the project's own:</p>
|
|
790
1079
|
<ul>
|
|
791
|
-
<li
|
|
792
|
-
<li
|
|
793
|
-
|
|
794
|
-
<li
|
|
1080
|
+
<li>one section of a knowledge note (or a section added after it, or a new note);</li>
|
|
1081
|
+
<li>one section of a project skill (a skill of ForgeQE's or yours is copied into <code>.forgeqe/skills</code> first, and that copy
|
|
1082
|
+
is used from then on);</li>
|
|
1083
|
+
<li>a team prompt (<code>.forgeqe/prompts/team</code>);</li>
|
|
1084
|
+
<li>Right or Wrong, with what is right, on a part of the product graph (<code>graph/feedback.json</code>, which outranks the model
|
|
1085
|
+
on the next build).</li>
|
|
1086
|
+
</ul>
|
|
1087
|
+
<p>Documents of <code>product.docs</code>, the uploaded documents and ForgeQE's own prompts are never changed.</p>
|
|
1088
|
+
</li>
|
|
1089
|
+
<li>
|
|
1090
|
+
<p><strong>When sources disagree.</strong> It shows both, with where each comes from, and asks which is right. It changes nothing
|
|
1091
|
+
until you say.</p>
|
|
1092
|
+
</li>
|
|
1093
|
+
<li>
|
|
1094
|
+
<p><strong>Nothing is written until you approve it.</strong> Each change is shown as a before-and-after and written only when you
|
|
1095
|
+
approve it, only if the file is still the one shown. It is kept in the audit log. A change that holds what looks like a
|
|
1096
|
+
password or a key is refused.</p>
|
|
1097
|
+
</li>
|
|
795
1098
|
</ul>
|
|
1099
|
+
<p>Without a model, Librarian lists what ForgeQE has about your words.</p>
|
|
1100
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1101
|
+
<ol>
|
|
1102
|
+
<li>Open <strong>Knowledge › Product understanding › Knowledge</strong>.</li>
|
|
1103
|
+
<li>On the <strong>Agent</strong> tab, ask your question or give your correction.</li>
|
|
1104
|
+
<li>Approve each change it shows before it is written.</li>
|
|
1105
|
+
</ol>
|
|
1106
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
796
1107
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge chat</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ask, correct, approve each change with y
|
|
797
1108
|
</span></span><span class="ln"><span class="cmd">forgeqe knowledge chat "what do you know about refunds?"
|
|
798
1109
|
</span></span></code></pre></div>
|
|
799
|
-
|
|
800
|
-
</div>
|
|
1110
|
+
</div></div></div>
|
|
801
1111
|
</section>
|
|
802
1112
|
</div>
|
|
803
|
-
</article>
|
|
804
1113
|
<article class="spec feat" id="cap-document-search">
|
|
805
1114
|
<div class="hd"><span class="mono">Setup</span><h3>Search the project's documents, without vectors</h3></div>
|
|
806
1115
|
<p class="ds">Finds the passages of the project's documents that answer a question: the team's notes, the documents added in Settings, the folders of product.docs and of rag.documents (Markdown, text, HTML, and PDF, Word and Excel once indexed). No vector database or embedding model: each document is read as a tree of its sections, ranked by keywords, and Skimmer picks the sections that answer from their outline. Each passage says its file, line and headings.</p>
|
|
@@ -810,55 +1119,92 @@ here, and a gateway route to no known service, are open questions in <code>forge
|
|
|
810
1119
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>PDF, Word and Excel files are read only by forgeqe knowledge docs index; a scanned page with no text is not read</li><li>Without a model, only the keywords rank the sections: a question in other words than the document may miss</li></ul></div>
|
|
811
1120
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>search_documents</code></p></div>
|
|
812
1121
|
</div>
|
|
813
|
-
|
|
814
|
-
|
|
1122
|
+
|
|
1123
|
+
</article>
|
|
1124
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-searching-your-documents-without-vectors">
|
|
815
1125
|
<h4>Searching your documents, without vectors</h4>
|
|
816
|
-
<div class="prose"><p>ForgeQE searches your project's own documents with no vector database, no embedding model and nothing to run beside
|
|
1126
|
+
<div class="prose"><p>ForgeQE searches your project's own documents with no vector database, no embedding model and nothing to run beside
|
|
1127
|
+
it. It reads a long document by its structure, not by chunks of a fixed size:</p>
|
|
817
1128
|
<ol>
|
|
818
|
-
<li><strong>Each document becomes a tree of its sections</strong>: its Markdown headings (<code>#</code> or underlined), else numbered headings
|
|
819
|
-
<
|
|
820
|
-
|
|
1129
|
+
<li><strong>Each document becomes a tree of its sections</strong>: its Markdown headings (<code>#</code> or underlined), else numbered headings
|
|
1130
|
+
(<code>3.2 Refunds</code>, as PDFs and Word documents have them), else parts of about 2,400 characters at paragraph breaks. A
|
|
1131
|
+
section knows the headings it is under ("Payments › Refunds › Limits") and its line.</li>
|
|
1132
|
+
<li><strong>Keywords rank the sections</strong>, as search engines rank them; a heading counts three times. Then a light re-rank with
|
|
1133
|
+
no model: a section that has more of the question's different words ranks higher, so "refund limits" finds the
|
|
1134
|
+
section on limits before one that only repeats "refund".</li>
|
|
1135
|
+
<li><strong>Reasoning, when a model is set up.</strong> Skimmer, a model call with no tools, gets your question and the outline of the
|
|
1136
|
+
documents and picks the sections that answer it, so "what can a customer get back" finds the section headed "Refund
|
|
1137
|
+
limits". No separate re-ranking model is needed. When the outline of every document fits (about 16,000 characters),
|
|
1138
|
+
Skimmer sees all of it; otherwise the documents step 2 found. Only sections from the outline are kept. Without a
|
|
1139
|
+
model, or when it fails, the keywords answer.</li>
|
|
821
1140
|
</ol>
|
|
822
|
-
<p><strong>What
|
|
823
|
-
<ul>
|
|
824
|
-
<li>
|
|
825
|
-
<p><strong>Skills.</strong> A browser skill longer than its share of <code>skills.browser_max_chars</code> is cut down to its introduction, the sections the goal needs, and a list of its other headings (before, it was left out whole). On ForgeQE's own skills that is 55–80% fewer characters. ForgeQE's agent finds a section of any skill or its references with <code>search_documents</code> and <code>in: skills</code>.</p>
|
|
826
|
-
</li>
|
|
827
|
-
<li>
|
|
828
|
-
<p><strong>Knowledge.</strong> The notes in <code>.forgeqe/knowledge</code> are split at every heading level, so the planners and the browser agent get only the matching sections, even of a long file. ForgeQE's agent searches them before it reads a whole file.</p>
|
|
829
|
-
</li>
|
|
830
|
-
<li>
|
|
831
|
-
<p><strong>Chat history.</strong> When a conversation continues in a new agent session (a web chat reopened, the profile switched, the settings changed), a long one is no longer sent as its last 20 turns whole: the last four turns and the earlier turns about the new message go in full, and every other turn as one line (what was asked → how the reply began), so nothing is dropped without a trace and a long chat costs a few thousand tokens. A short one is sent whole, as before. The agent runtime still summarises the live session itself when it nears the model's window.</p>
|
|
832
|
-
</li>
|
|
833
|
-
<li>
|
|
834
|
-
<p><strong>Earlier chats.</strong> The web app's kept chats (<code>.forgeqe/chats</code>) and the terminal shell's (<code>.forgeqe/terminal-chats</code>, one file per <code>forgeqe start</code> session) are indexed a turn each: <code>search_documents</code> with <code>in: chats</code> (or <code>forgeqe knowledge docs search "..." --in chats</code>) finds what was asked and decided before. What a chat says is what was said then, not what is true now. A terminal chat is kept like a web chat: ForgeQE's secrets and remembered passwords taken out, mode 0600, git-ignored, the newest 500.</p>
|
|
835
|
-
</li>
|
|
836
|
-
</ul>
|
|
837
|
-
<p><strong>What is cached, so it costs less the second time.</strong></p>
|
|
1141
|
+
<p><strong>What is searched.</strong></p>
|
|
838
1142
|
<ul>
|
|
839
|
-
<li>The
|
|
840
|
-
<li>
|
|
841
|
-
<li>
|
|
1143
|
+
<li>The knowledge folder (<code>.forgeqe/knowledge</code>).</li>
|
|
1144
|
+
<li>The documents added in <strong>Settings › Product knowledge</strong> (<code>.forgeqe/documents</code>).</li>
|
|
1145
|
+
<li>Every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project.</li>
|
|
842
1146
|
</ul>
|
|
843
|
-
<p>
|
|
1147
|
+
<p>Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files
|
|
1148
|
+
are read when you index the documents, and their text is kept for later searches. A folder is listed like a product's
|
|
1149
|
+
documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is
|
|
1150
|
+
kept in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
|
|
1151
|
+
<p><strong>Searching and indexing.</strong> ForgeQE's agent searches the documents by itself too ("what does the spec say about
|
|
1152
|
+
refunds?").</p>
|
|
1153
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1154
|
+
<ol>
|
|
1155
|
+
<li>Open <strong>Knowledge › Product understanding › Knowledge</strong>, <strong>Notes</strong> tab.</li>
|
|
1156
|
+
<li>Press <strong>Index PDFs, Word and Excel</strong> to read those files (it can take a few minutes).</li>
|
|
1157
|
+
<li>Type in <strong>Ask the documents</strong> and press <strong>Search</strong>. Turn on <strong>Let the model pick sections</strong> for Skimmer.</li>
|
|
1158
|
+
<li>To see one file's tree, open it and pick <strong>Outline</strong>.</li>
|
|
1159
|
+
</ol>
|
|
1160
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
844
1161
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs index</span><span class="pad"> </span><span class="cm"><span class="h">#</span> read the documents, PDF, Word and Excel included
|
|
845
1162
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs search "refund limits"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> passages with their file, line and headings
|
|
846
1163
|
</span></span><span class="ln"><span class="cmd">forgeqe knowledge docs search "refund limits" --no-model --limit 3 --json
|
|
847
1164
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs search "scenario outline" --in skills</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a section of a skill, not the whole skill
|
|
848
1165
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe knowledge docs outline specs/payments.md</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the tree of one document
|
|
849
1166
|
</span></span></code></pre></div>
|
|
850
|
-
|
|
1167
|
+
</div></div><p><strong>What it saves.</strong> Agents get sections, not whole files:</p>
|
|
1168
|
+
<ul>
|
|
1169
|
+
<li><strong>Skills.</strong> A browser skill longer than its share of <code>skills.browser_max_chars</code> is cut down to its introduction, the
|
|
1170
|
+
sections the goal needs, and a list of its other headings. On ForgeQE's own skills that is 55–80% fewer characters.
|
|
1171
|
+
ForgeQE's agent can find a section of any skill or its references.</li>
|
|
1172
|
+
<li><strong>Knowledge.</strong> The notes in <code>.forgeqe/knowledge</code> are split at every heading level, so the planners and the browser
|
|
1173
|
+
agent get only the matching sections, even of a long file. ForgeQE's agent searches them before it reads a whole file.</li>
|
|
1174
|
+
<li><strong>Chat history.</strong> When a conversation continues in a new agent session (a web chat reopened, the model switched, the
|
|
1175
|
+
settings changed), a long one is not sent as its last 20 turns whole. The last four turns, and the earlier turns about
|
|
1176
|
+
the new message, go in full; every other turn goes as one line (what was asked → how the reply began). Nothing is
|
|
1177
|
+
dropped without a trace, and a long chat costs a few thousand tokens. A short one is sent whole. The live session is
|
|
1178
|
+
still summarised when it nears the model's window.</li>
|
|
1179
|
+
<li><strong>Earlier chats.</strong> The web app's chats (<code>.forgeqe/chats</code>) and the terminal shell's (<code>.forgeqe/terminal-chats</code>, one
|
|
1180
|
+
file per <code>forgeqe start</code> session) are indexed a turn each, so ForgeQE's agent can find what was asked and decided
|
|
1181
|
+
before (<code>forgeqe knowledge docs search "..." --in chats</code> at the terminal). What a chat says is what was said then, not
|
|
1182
|
+
what is true now. A terminal chat is kept like a web chat: ForgeQE's secrets and remembered passwords taken out,
|
|
1183
|
+
readable only by you, git-ignored, the newest 500.</li>
|
|
1184
|
+
</ul>
|
|
1185
|
+
<p><strong>What is cached, so it costs less the second time.</strong></p>
|
|
1186
|
+
<ul>
|
|
1187
|
+
<li>The index: a document is read and split again only when it changes.</li>
|
|
1188
|
+
<li>Skimmer's answers: the same question over the same outline with the same model gets the kept answer with no model
|
|
1189
|
+
call (<code>~/.forgeqe/cache/doc-index/picks.json</code>, 30 days). A changed document or another model asks again; <code>--no-cache</code>
|
|
1190
|
+
asks anyway.</li>
|
|
1191
|
+
<li>The provider's prompt cache: the outline comes before the question and is the same text for every question while the
|
|
1192
|
+
documents do not change, so a provider that caches prompts (Anthropic, OpenAI, Azure OpenAI) charges less for it.</li>
|
|
1193
|
+
</ul>
|
|
1194
|
+
<p><strong>Giving the passages to more agents.</strong> To give the passages to the test case check, story test cases and exploratory
|
|
1195
|
+
charters too, make it the <code>rag:</code> search in <code>forgeqe.yaml</code> (in the web app, <strong>Settings › Product knowledge</strong>, <strong>2. Search
|
|
1196
|
+
service</strong>):</p>
|
|
851
1197
|
<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 class="lines"><code><span class="ln"><span class="cmd">rag:
|
|
852
1198
|
</span></span><span class="ln"><span class="cmd"> documents:
|
|
853
1199
|
</span></span><span class="ln ln--pair"><span class="cmd"> folders: [docs/requirements]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> beside the knowledge folder, the uploaded documents and product.docs
|
|
854
1200
|
</span></span><span class="ln ln--pair"><span class="cmd"> reasoning: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> true: Skimmer picks sections (one model call per search)
|
|
855
1201
|
</span></span><span class="ln"><span class="cmd"> top_k: 5
|
|
856
1202
|
</span></span></code></pre></div>
|
|
857
|
-
<p><code>documents: true</code> searches the default folders with keywords only. The passages are the documents' text: agents get
|
|
1203
|
+
<p><code>documents: true</code> searches the default folders with keywords only. The passages are the documents' text: agents get
|
|
1204
|
+
them as data, never as instructions.</p>
|
|
858
1205
|
</div>
|
|
859
1206
|
</section>
|
|
860
1207
|
</div>
|
|
861
|
-
</article>
|
|
862
1208
|
<article class="spec feat" id="cap-web-search">
|
|
863
1209
|
<div class="hd"><span class="mono">Setup</span><h3>Search the web</h3></div>
|
|
864
1210
|
<p class="ds">Finds what the public web says about a question: the titles, links and snippets of the top results, shown in the chat as a card, without opening a browser or any page. The results are read as data, and the answer says which site each fact came from. The query goes to DuckDuckGo; nothing else leaves the computer.</p>
|
|
@@ -868,24 +1214,32 @@ here, and a gateway route to no known service, are open questions in <code>forge
|
|
|
868
1214
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>Titles, links and snippets only: it opens no page, so a detail not in a snippet needs the page opened from its link</li><li>One public search service (DuckDuckGo): it may refuse or slow down when asked too often</li></ul></div>
|
|
869
1215
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>web_search</code></p></div>
|
|
870
1216
|
</div>
|
|
871
|
-
|
|
872
|
-
|
|
1217
|
+
|
|
1218
|
+
</article>
|
|
1219
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-searching-the-web">
|
|
873
1220
|
<h4>Searching the web</h4>
|
|
874
1221
|
<div class="prose"><p>ForgeQE's agent can look something up on the public web: "search the web for the latest Playwright release", typed or
|
|
875
|
-
said aloud
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
<
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
1222
|
+
said aloud, in a chat or the shell.</p>
|
|
1223
|
+
<ul>
|
|
1224
|
+
<li>It sends the words to DuckDuckGo and shows the top results in the chat (title, link and a short snippet), then answers
|
|
1225
|
+
from them and says which site each fact came from.</li>
|
|
1226
|
+
<li>It opens no browser and no page: a detail that is not in a snippet needs the page opened from its link.</li>
|
|
1227
|
+
<li>Nothing but the words of the search leaves your computer, and what comes back is read as information, never as
|
|
1228
|
+
instructions.</li>
|
|
1229
|
+
</ul>
|
|
1230
|
+
<p><strong>Reading a web page.</strong> When the agent needs a page's own text, ForgeQE decides whether it may read it:</p>
|
|
1231
|
+
<ul>
|
|
1232
|
+
<li>Only an http(s) address on the public internet, with no user name or password in it.</li>
|
|
1233
|
+
<li>A link you typed in the chat is read without asking.</li>
|
|
1234
|
+
<li>For any other address, you see it whole and choose <strong>Allow this once</strong> or <strong>Don't allow</strong>. With nobody to ask, it is
|
|
1235
|
+
not read.</li>
|
|
1236
|
+
<li>An address on this computer or your company network is refused, even when you typed it. The agent uses that system's
|
|
1237
|
+
tool or a browser run instead.</li>
|
|
1238
|
+
<li>Behind a company proxy, a name this computer cannot look up is left to the proxy.</li>
|
|
1239
|
+
</ul>
|
|
885
1240
|
</div>
|
|
886
1241
|
</section>
|
|
887
1242
|
</div>
|
|
888
|
-
</article>
|
|
889
1243
|
<article class="spec feat" id="cap-setup-help">
|
|
890
1244
|
<div class="hd"><span class="mono">Setup</span><h3>Setup, skills, and documentation</h3></div>
|
|
891
1245
|
<p class="ds">Shows the model profiles and MCP servers, installs or repairs the browser engine, creates a forgeqe.yaml, manages skills, and answers any question about ForgeQE from its documentation, this list, and its own code (the prompts, skills, and source it runs).</p>
|
|
@@ -894,9 +1248,10 @@ left to the proxy.</p>
|
|
|
894
1248
|
<div class="fact"><span class="mono">What it needs</span><p class="muted">Nothing beyond ForgeQE itself.</p></div>
|
|
895
1249
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>forgeqe_setup</code> <code>capabilities</code> <code>playbook</code> <code>use_capabilities</code> <code>app_action</code> <code>ui_change</code> <code>read_screen</code> <code>page_act</code> <code>hold_on</code></p></div>
|
|
896
1250
|
</div>
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
<
|
|
1251
|
+
|
|
1252
|
+
</article>
|
|
1253
|
+
<div class="feat-detail"><p class="see">See <a href="../get-started/index.html#doc-how_to_use-2-scaffold-config">2. Scaffold config</a>.</p>
|
|
1254
|
+
<section class="doc" data-topic id="doc-how_to_use-11-skills">
|
|
900
1255
|
<h4>Skills</h4>
|
|
901
1256
|
<div class="prose"><p>A skill is a folder with a <code>SKILL.md</code>: instructions that teach ForgeQE's agents something a prompt can't know, like your repo's test conventions, a framework, or how to drive an app such as Dynamics 365. The format is the Agent Skills one (Claude Code and others use it), with one ForgeQE field, <code>agents</code>:</p>
|
|
902
1257
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>markdown</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">---
|
|
@@ -910,10 +1265,33 @@ left to the proxy.</p>
|
|
|
910
1265
|
</span></span></code></pre></div>
|
|
911
1266
|
<p><code>name</code> is lowercase words joined by hyphens, the same as the folder. Agents choose skills by <code>description</code> alone, so name the concrete signs it applies (a framework, a config file, a host, a product). Quote it when it contains <code>: </code>.</p>
|
|
912
1267
|
<p><strong>Who uses it.</strong> <code>agents</code> lists <code>forgeqe</code> (ForgeQE's agent: how to handle a kind of request), <code>scribe</code> (writing, healing, finding and reviewing tests), and <code>browser</code> (the browser agent). Without <code>agents</code>, a skill is for <code>forgeqe</code> and <code>scribe</code>; a browser skill must ask for <code>browser</code>.</p>
|
|
1268
|
+
<p><strong>Seeing and adding skills.</strong></p>
|
|
1269
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1270
|
+
<ol>
|
|
1271
|
+
<li>Open <strong>Skills</strong> (under <strong>Knowledge</strong>). <strong>Show</strong> switches between <strong>By agent</strong> and <strong>All skills</strong>; <strong>Find a skill</strong> searches them.</li>
|
|
1272
|
+
<li>Press a skill to read it. A project skill has <strong>Edit</strong>; a built-in one has <strong>Copy to edit</strong>, which makes your own copy that replaces it in this project.</li>
|
|
1273
|
+
<li>Press <strong>Add</strong> to start one: fill in <strong>Name</strong>, <strong>Use when</strong> (the line the agents choose by), <strong>Who it is for</strong> and <strong>Instructions</strong>, then press <strong>Add</strong>.</li>
|
|
1274
|
+
<li>Turn a skill off or on with its <strong>On</strong> switch. <strong>Delete</strong> (in a project skill's editor) removes it.</li>
|
|
1275
|
+
</ol>
|
|
1276
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1277
|
+
<div class="tbl tbl--cols-2"><table>
|
|
1278
|
+
<thead>
|
|
1279
|
+
<tr><th>Command</th><th>What it does</th></tr>
|
|
1280
|
+
</thead>
|
|
1281
|
+
<tbody>
|
|
1282
|
+
<tr><td data-label="Command"><code>forgeqe skills</code></td><td data-label="What it does">The skills each agent can use, where each comes from (and what it replaces), disabled skills, problems, and the folders read</td></tr>
|
|
1283
|
+
<tr><td data-label="Command"><code>forgeqe skills show <name></code></td><td data-label="What it does">One skill's instructions</td></tr>
|
|
1284
|
+
<tr><td data-label="Command"><code>forgeqe skills new <name> --description "Use when …" [--agent browser] [--user]</code></td><td data-label="What it does">Start a skill in <code>.forgeqe/skills</code> (<code>--user</code>: <code>~/.forgeqe/skills</code>)</td></tr>
|
|
1285
|
+
<tr><td data-label="Command"><code>forgeqe skills check</code></td><td data-label="What it does">Validate every skill; exit 1 when one has a problem</td></tr>
|
|
1286
|
+
<tr><td data-label="Command"><code>forgeqe skills enable|disable <name></code></td><td data-label="What it does">Edit <code>skills.disable</code> in <code>forgeqe.yaml</code>, keeping its comments</td></tr>
|
|
1287
|
+
<tr><td data-label="Command"><code>/skills [name]</code></td><td data-label="What it does">The same list, or one skill, in the shell</td></tr>
|
|
1288
|
+
</tbody>
|
|
1289
|
+
</table></div>
|
|
1290
|
+
</div></div><p><strong>Asking the agent.</strong> In a chat or the shell you can also ask: "make a skill for our Dynamics date picker" or "teach Quill our test conventions". ForgeQE's agent gathers the facts and writes the skill into <code>.forgeqe/skills</code>; it applies from the next session. It writes skills only when you ask.</p>
|
|
913
1291
|
<p><strong>How skills are used.</strong></p>
|
|
914
1292
|
<ul>
|
|
915
|
-
<li>ForgeQE's agent and Quill see the name and description of each skill meant for them, and load the ones that fit the job
|
|
916
|
-
<li>Browser runs: ForgeQE's agent passes the browser skills a goal needs
|
|
1293
|
+
<li>ForgeQE's agent and Quill see the name and description of each skill meant for them, and load the ones that fit the job. A skill adds to their instructions and never overrides them. Quill can also read files next to <code>SKILL.md</code> (for example <code>references/locators.md</code>) when the skill points to them.</li>
|
|
1294
|
+
<li>Browser runs: ForgeQE's agent passes the browser skills a goal needs. For <code>forgeqe suite</code>, <code>forgeqe monitor</code> and <code>forgeqe run --direct</code>, ForgeQE picks them from the goal with one short model call (at most three), and remembers the choice for that goal, so a monitor's later rounds and repeated cases skip it. <code>--skill NAME</code> (repeatable) fixes the list; <code>--skill none</code> runs without any. The chosen skills' text is added to the browser agent's instructions, at most <code>skills.browser_max_chars</code> (6,000) characters in total; the browser agent reads only <code>SKILL.md</code>.</li>
|
|
917
1295
|
<li><code>run.json</code>, the <code>run.done</code> log line and the report list the skills a run used.</li>
|
|
918
1296
|
</ul>
|
|
919
1297
|
<p><strong>Where skills come from</strong>, lowest to highest precedence; a later source replaces a skill of the same name:</p>
|
|
@@ -922,7 +1300,7 @@ left to the proxy.</p>
|
|
|
922
1300
|
<tr><th>Source</th><th>Folder</th></tr>
|
|
923
1301
|
</thead>
|
|
924
1302
|
<tbody>
|
|
925
|
-
<tr><td data-label="Source">Built-in</td><td data-label="Folder">
|
|
1303
|
+
<tr><td data-label="Source">Built-in</td><td data-label="Folder">ForgeQE's own: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>web-guidance</code> (ForgeQE's agent and Quill: web platform guides from Modern Web Guidance, pinned, as advisory checks for forms, dialogs, accessibility, passkeys and speed), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
|
|
926
1304
|
<tr><td data-label="Source">Global, only with <code>skills.external: true</code></td><td data-label="Folder"><code>~/.claude/skills</code>, <code>~/.agents/skills</code>, and the repo's <code>.claude/skills</code> and <code>.agents/skills</code></td></tr>
|
|
927
1305
|
<tr><td data-label="Source">User</td><td data-label="Folder"><code>~/.forgeqe/skills</code> (or <code>$FORGEQE_HOME/skills</code>)</td></tr>
|
|
928
1306
|
<tr><td data-label="Source">Project</td><td data-label="Folder"><code>.forgeqe/skills</code> next to <code>forgeqe.yaml</code>, and the repo's own <code>.forgeqe/skills</code></td></tr>
|
|
@@ -930,7 +1308,7 @@ left to the proxy.</p>
|
|
|
930
1308
|
</tbody>
|
|
931
1309
|
</table></div>
|
|
932
1310
|
<p>Commit <code>.forgeqe/skills</code> so the team and CI share it. ForgeQE only ignores <code>.forgeqe/reports/</code>; if your <code>.gitignore</code> has <code>.forgeqe/</code>, replace it with <code>.forgeqe/*</code> and <code>!.forgeqe/skills/</code> (<code>forgeqe skills new</code> warns when git would ignore the new skill). To change a built-in skill, make a project skill with the same name.</p>
|
|
933
|
-
<p>Skills from anywhere else stay out:
|
|
1311
|
+
<p>Skills from anywhere else stay out: each agent may load only the skills ForgeQE gives it. Skill text is trusted like the repo's own files, so global skills are opt-in.</p>
|
|
934
1312
|
<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 class="lines"><code><span class="ln"><span class="cmd">skills:
|
|
935
1313
|
</span></span><span class="ln ln--pair"><span class="cmd"> enabled: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> false (or skills: false) turns skills off
|
|
936
1314
|
</span></span><span class="ln ln--pair"><span class="cmd"> dirs: [../shared-skills]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> more folders, read last
|
|
@@ -938,43 +1316,44 @@ left to the proxy.</p>
|
|
|
938
1316
|
</span></span><span class="ln ln--pair"><span class="cmd"> external: false</span><span class="pad"> </span><span class="cm"><span class="h">#</span> true: also the global folders above
|
|
939
1317
|
</span></span><span class="ln ln--pair"><span class="cmd"> browser_max_chars: 6000</span><span class="pad"> </span><span class="cm"><span class="h">#</span> most skill text added to one browser run
|
|
940
1318
|
</span></span></code></pre></div>
|
|
941
|
-
<p><strong>Commands.</strong></p>
|
|
942
|
-
<div class="tbl tbl--cols-2"><table>
|
|
943
|
-
<thead>
|
|
944
|
-
<tr><th>Command</th><th>What it does</th></tr>
|
|
945
|
-
</thead>
|
|
946
|
-
<tbody>
|
|
947
|
-
<tr><td data-label="Command"><code>forgeqe skills</code></td><td data-label="What it does">The skills each agent can use, where each comes from (and what it replaces), disabled skills, problems, and the folders read</td></tr>
|
|
948
|
-
<tr><td data-label="Command"><code>forgeqe skills show <name></code></td><td data-label="What it does">One skill's instructions</td></tr>
|
|
949
|
-
<tr><td data-label="Command"><code>forgeqe skills new <name> --description "Use when …" [--agent browser] [--user]</code></td><td data-label="What it does">Start a skill in <code>.forgeqe/skills</code> (<code>--user</code>: <code>~/.forgeqe/skills</code>)</td></tr>
|
|
950
|
-
<tr><td data-label="Command"><code>forgeqe skills check</code></td><td data-label="What it does">Validate every skill; exit 1 when one has a problem</td></tr>
|
|
951
|
-
<tr><td data-label="Command"><code>forgeqe skills enable|disable <name></code></td><td data-label="What it does">Edit <code>skills.disable</code> in <code>forgeqe.yaml</code>, keeping its comments</td></tr>
|
|
952
|
-
<tr><td data-label="Command"><code>/skills [name]</code></td><td data-label="What it does">The same list, or one skill, in the shell</td></tr>
|
|
953
|
-
</tbody>
|
|
954
|
-
</table></div>
|
|
955
|
-
<p>In the shell you can also ask: "make a skill for our Dynamics date picker" or "teach Quill our test conventions". ForgeQE's agent gathers the facts, writes the skill into <code>.forgeqe/skills</code> with <code>forgeqe_setup</code>, and it applies from the next session. It writes skills only when you ask.</p>
|
|
956
1319
|
</div>
|
|
957
1320
|
</section>
|
|
958
1321
|
<section class="doc" id="doc-how_to_use-model-routing">
|
|
959
1322
|
<h4>Model routing</h4>
|
|
960
|
-
<div class="prose"><p
|
|
961
|
-
<
|
|
1323
|
+
<div class="prose"><p>Routing gives each area of work the configured model it needs. It is <code>off</code> by default for existing projects
|
|
1324
|
+
(<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing.</p>
|
|
1325
|
+
<ul>
|
|
1326
|
+
<li><code>--profile</code> and <code>code.model</code> always win.</li>
|
|
1327
|
+
<li><code>llm.routes</code> limits or pins the models an area may use.</li>
|
|
1328
|
+
<li><code>llm.agents</code> gives one agent its own default model (ahead of routing and <code>code.model</code>; only <code>--profile</code> overrides it).</li>
|
|
1329
|
+
<li>ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the
|
|
1330
|
+
ratings).</li>
|
|
1331
|
+
</ul>
|
|
1332
|
+
<p>Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
|
|
1333
|
+
<p><strong>Setting up routing.</strong></p>
|
|
1334
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1335
|
+
<ol>
|
|
1336
|
+
<li>Open <strong>Settings › Routing</strong>.</li>
|
|
1337
|
+
<li>Set <strong>Routing</strong> (<strong>Off</strong>, <strong>Auto</strong> or <strong>Shadow (log only)</strong>) and its <strong>Strategy</strong> (balanced, most capable, or
|
|
1338
|
+
cheapest).</li>
|
|
1339
|
+
<li>Under <strong>Areas of work</strong>, pick the models an area may use, or an agent's own model.</li>
|
|
1340
|
+
<li><strong>Fall back to a working model</strong> replaces a model that does not work.</li>
|
|
1341
|
+
</ol>
|
|
1342
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
962
1343
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models
|
|
963
1344
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe models --routes</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the pick per area, and why
|
|
964
1345
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe models --routes --profile-models</span><span class="pad"> </span><span class="cm"><span class="h">#</span> check and rate the models again
|
|
965
1346
|
</span></span></code></pre></div>
|
|
966
|
-
</div>
|
|
1347
|
+
</div></div></div>
|
|
967
1348
|
</section>
|
|
968
1349
|
<section class="doc" id="doc-readme-privacy">
|
|
969
1350
|
<h4>Privacy</h4>
|
|
970
|
-
<div class="prose"><p>ForgeQE sends no telemetry and turns it off in everything it starts
|
|
971
|
-
<
|
|
972
|
-
|
|
973
|
-
<
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
</ul>
|
|
977
|
-
<p><code>OTEL_EXPORTER_OTLP_*</code> variables are removed from those processes, and your environment cannot turn any of this back on. The traffic is to your model endpoint and the sites the agent visits. Besides that, ForgeQE downloads only public files: the model price lists from models.dev and LiteLLM, once a day (<code>FORGEQE_PRICES=off</code> stops them); the agent runtime from its GitHub releases, when it is not installed; and the engine's ad-block and cookie-banner extensions from the Chrome Web Store, once. Nothing about your runs is sent.</p>
|
|
1351
|
+
<div class="prose"><p>ForgeQE sends no telemetry, and turns it off in everything it starts: the browser, the agents, GitHub Copilot sessions,
|
|
1352
|
+
and your repository's test command (<code>DO_NOT_TRACK=1</code>, plus the opt-outs for Next.js, Nuxt, Astro, Gatsby, Storybook,
|
|
1353
|
+
Turborepo, Angular, .NET and Cypress). Your environment cannot turn any of it back on.</p>
|
|
1354
|
+
<p>The traffic is to your model endpoint, the systems you connect, and the sites the agents visit. Besides that, ForgeQE
|
|
1355
|
+
downloads only public files: the model price lists once a day (<code>FORGEQE_PRICES=off</code> stops them), what it runs on when it
|
|
1356
|
+
is missing, and the browser's ad-block and cookie-banner extensions, once. Nothing about your runs is sent.</p>
|
|
978
1357
|
</div>
|
|
979
1358
|
</section>
|
|
980
1359
|
<section class="doc" id="doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">
|
|
@@ -988,13 +1367,23 @@ model can do: ForgeQE finds out.</p>
|
|
|
988
1367
|
</section>
|
|
989
1368
|
<section class="doc" id="doc-docs-model_routing-turn-it-on">
|
|
990
1369
|
<h4>Turn it on</h4>
|
|
991
|
-
<div class="prose"><p>
|
|
1370
|
+
<div class="prose"><p><strong>Choosing how models are routed.</strong></p>
|
|
1371
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1372
|
+
<ol>
|
|
1373
|
+
<li>Open <strong>Settings › Routing</strong>.</li>
|
|
1374
|
+
<li>Set <strong>Routing</strong> to <strong>Off: the profile in use</strong>, <strong>Auto</strong> or <strong>Shadow (log only)</strong>.</li>
|
|
1375
|
+
<li>Set <strong>Strategy</strong> to <strong>Balanced: capability weighed against price</strong>, <strong>Most capable for every area</strong> or <strong>Cheapest:
|
|
1376
|
+
good enough for each area</strong>.</li>
|
|
1377
|
+
<li>Leave <strong>Fall back to a working model</strong> on to use a working model when one has no key or its sign-in is refused.</li>
|
|
1378
|
+
</ol>
|
|
1379
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1380
|
+
<p>In <code>forgeqe.yaml</code>:</p>
|
|
992
1381
|
<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 class="lines"><code><span class="ln"><span class="cmd">llm:
|
|
993
1382
|
</span></span><span class="ln"><span class="cmd"> models_file: ./llms.json
|
|
994
1383
|
</span></span><span class="ln ln--pair"><span class="cmd"> routing: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> off (the default for existing projects) | shadow | auto
|
|
995
1384
|
</span></span><span class="ln ln--pair"><span class="cmd"> strategy: balanced</span><span class="pad"> </span><span class="cm"><span class="h">#</span> balanced (the default) | capability | cost
|
|
996
1385
|
</span></span></code></pre></div>
|
|
997
|
-
|
|
1386
|
+
</div></div><p><strong>What each setting does.</strong> <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
|
|
998
1387
|
(<code>model.route</code>) but changes nothing, so you can see what the router would do before you let it. Shadow still runs the
|
|
999
1388
|
live checks and the rating call described below.</p>
|
|
1000
1389
|
<p>Whatever <code>routing</code> says, the model an area gets must work: its key or sign-in is set and it passed a live call
|
|
@@ -1003,10 +1392,13 @@ check in <code>model-profile.json</code> is checked again). When it does not, th
|
|
|
1003
1392
|
profile first, and ForgeQE says why and how to fix the first. When none works, the error lists each model with the fix.
|
|
1004
1393
|
Only <code>--profile</code> skips this. With <code>auto</code>, a GitHub Copilot seat counts as costing nothing more per call, so it is picked
|
|
1005
1394
|
whenever it is rated good enough.</p>
|
|
1006
|
-
<p>
|
|
1007
|
-
<div class="
|
|
1395
|
+
<p><strong>Seeing the picks.</strong> Each area's pick, and every model's check with its fix.</p>
|
|
1396
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1397
|
+
<p>Open <strong>Cost</strong> and look at <strong>Model router</strong>: each area's pick and the models that actually answered for it.</p>
|
|
1398
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1399
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models --routes
|
|
1008
1400
|
</span></span></code></pre></div>
|
|
1009
|
-
</div>
|
|
1401
|
+
</div></div></div>
|
|
1010
1402
|
</section>
|
|
1011
1403
|
<section class="doc" id="doc-docs-model_routing-the-areas-of-work">
|
|
1012
1404
|
<h4>The areas of work</h4>
|
|
@@ -1027,8 +1419,14 @@ whenever it is rated good enough.</p>
|
|
|
1027
1419
|
</section>
|
|
1028
1420
|
<section class="doc" id="doc-docs-model_routing-a-default-model-for-each-agent">
|
|
1029
1421
|
<h4>A default model for each agent</h4>
|
|
1030
|
-
<div class="prose"><p>To give one agent its own model whatever <code>routing</code> says, name an <code>llms.json</code> profile for it
|
|
1031
|
-
|
|
1422
|
+
<div class="prose"><p>To give one agent its own model whatever <code>routing</code> says, name an <code>llms.json</code> profile for it.</p>
|
|
1423
|
+
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1424
|
+
<ol>
|
|
1425
|
+
<li>Open <strong>Settings › Routing</strong>.</li>
|
|
1426
|
+
<li>Under <strong>Areas of work</strong>, open the area and pick the agent's model (<strong>The area's model</strong> leaves it to the area).</li>
|
|
1427
|
+
</ol>
|
|
1428
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1429
|
+
<p>Name the profile under <code>llm.agents</code> in <code>forgeqe.yaml</code>:</p>
|
|
1032
1430
|
<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 class="lines"><code><span class="ln"><span class="cmd">llm:
|
|
1033
1431
|
</span></span><span class="ln"><span class="cmd"> agents:
|
|
1034
1432
|
</span></span><span class="ln ln--pair"><span class="cmd"> forgeqe: azure-gpt4o</span><span class="pad"> </span><span class="cm"><span class="h">#</span> Atlas
|
|
@@ -1036,7 +1434,7 @@ whenever it is rated good enough.</p>
|
|
|
1036
1434
|
</span></span><span class="ln ln--pair"><span class="cmd"> forgeqe-test: claude-opus</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the coding agent
|
|
1037
1435
|
</span></span><span class="ln ln--pair"><span class="cmd"> forgeqe-review: azure-mini</span><span class="pad"> </span><span class="cm"><span class="h">#</span> its reviewer
|
|
1038
1436
|
</span></span></code></pre></div>
|
|
1039
|
-
|
|
1437
|
+
</div></div><p><strong>Which agents can have their own model.</strong> An agent left out uses its area's pick. The agents are <code>forgeqe</code>, <code>engine</code>, <code>forgeqe-test</code>, <code>forgeqe-heal</code>,
|
|
1040
1438
|
<code>forgeqe-migrate</code>, <code>forgeqe-api</code>, <code>forgeqe-review</code>, <code>forgeqe-pr-review</code>, <code>forgeqe-judge</code>, <code>forgeqe-defect-rca</code>,
|
|
1041
1439
|
<code>forgeqe-refine</code>, <code>forgeqe-find</code>, <code>forgeqe-test-plan</code>, <code>forgeqe-api-plan</code>, <code>forgeqe-explore-plan</code>, <code>forgeqe-data</code>,
|
|
1042
1440
|
<code>forgeqe-agent-builder</code> and <code>forgeqe-bug-report</code>; <code>forgeqe models --routes</code> lists each with the model it gets. An unknown agent or a profile not
|
|
@@ -1097,7 +1495,7 @@ size of the prompt change. Each pick is shown once ("Model for planning: mi
|
|
|
1097
1495
|
<h4>How ForgeQE learns the models</h4>
|
|
1098
1496
|
<div class="prose"><p>The first routed call in a project with two or more usable profiles does this once:</p>
|
|
1099
1497
|
<ol>
|
|
1100
|
-
<li><strong>A live check of each model
|
|
1498
|
+
<li><strong>A live check of each model:</strong> one short structured answer and one image.
|
|
1101
1499
|
This finds a deployment that does not exist, a wrong key, and whether the model really takes images. It also
|
|
1102
1500
|
measures how fast the model answers.</li>
|
|
1103
1501
|
<li><strong>One rating call.</strong> The active profile's model receives the facts of every model, never a key, an endpoint or an
|
|
@@ -1110,21 +1508,28 @@ are dropped, and ratings are rounded to whole numbers from 1 to 5.</p>
|
|
|
1110
1508
|
<p>The live checks reach every profile in <code>llms.json</code> that has a key, whatever <code>llm.routes</code> pins. A pin keeps your runs'
|
|
1111
1509
|
data on one deployment; the checks carry nothing from your runs. To send nothing to the other profiles at all, use
|
|
1112
1510
|
<code>routing: off</code>, keep one profile with a key, or pass <code>--profile</code>.</p>
|
|
1113
|
-
<p>
|
|
1114
|
-
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>
|
|
1511
|
+
<p><strong>Checking and rating again</strong> (for example, after a deployment changed its model). This is done at a terminal only:</p>
|
|
1512
|
+
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe models --routes --profile-models
|
|
1115
1513
|
</span></span></code></pre></div>
|
|
1116
1514
|
</div>
|
|
1117
1515
|
</section>
|
|
1118
1516
|
<section class="doc" id="doc-docs-model_routing-limit-what-an-area-may-use">
|
|
1119
1517
|
<h4>Limit what an area may use</h4>
|
|
1120
|
-
<div class="prose"><div class="
|
|
1518
|
+
<div class="prose"><div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
1519
|
+
<ol>
|
|
1520
|
+
<li>Open <strong>Settings › Routing</strong>.</li>
|
|
1521
|
+
<li>Under <strong>Areas of work</strong>, pick one or more models for the area. None picked means any configured model; one model
|
|
1522
|
+
picked pins the area to it.</li>
|
|
1523
|
+
</ol>
|
|
1524
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
1525
|
+
<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 class="lines"><code><span class="ln"><span class="cmd">llm:
|
|
1121
1526
|
</span></span><span class="ln"><span class="cmd"> routing: auto
|
|
1122
1527
|
</span></span><span class="ln"><span class="cmd"> routes:
|
|
1123
1528
|
</span></span><span class="ln ln--pair"><span class="cmd"> browser: [gpt4o, gpt54]</span><span class="pad"> </span><span class="cm"><span class="h">#</span> only these two, the router picks between them
|
|
1124
1529
|
</span></span><span class="ln ln--pair"><span class="cmd"> coding: gpt54</span><span class="pad"> </span><span class="cm"><span class="h">#</span> pinned
|
|
1125
1530
|
</span></span><span class="ln ln--pair"><span class="cmd"> planning: auto</span><span class="pad"> </span><span class="cm"><span class="h">#</span> any configured model (the default)
|
|
1126
1531
|
</span></span></code></pre></div>
|
|
1127
|
-
|
|
1532
|
+
</div></div><p><strong>What is checked.</strong> 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
|
|
1128
1533
|
ForgeQE at start with a message that names it.</p>
|
|
1129
1534
|
</div>
|
|
1130
1535
|
</section>
|
|
@@ -1134,13 +1539,12 @@ ForgeQE at start with a message that names it.</p>
|
|
|
1134
1539
|
<code>llm.agents</code> pin, a substitution after a model failed its check, the active profile kept because nothing else passed,
|
|
1135
1540
|
or an escalation. It goes in the usage ledger beside the tokens, so the question "which model wrote the tests, and
|
|
1136
1541
|
what did that cost" is answered from the calls themselves and not from the logs.</p>
|
|
1137
|
-
<p>Where to see it:</p>
|
|
1542
|
+
<p>Where to see it, in the web app only (at a terminal, <code>forgeqe models --routes</code> shows the picks themselves):</p>
|
|
1138
1543
|
<ul>
|
|
1139
|
-
<li><strong>Cost › By area of work</strong
|
|
1140
|
-
<li><strong>Cost ›
|
|
1141
|
-
<li><strong>Cost › What routing cost</strong
|
|
1544
|
+
<li><strong>Cost › By area of work</strong>: what each area spent.</li>
|
|
1545
|
+
<li><strong>Cost › Model router</strong>: each area's pick, and a <strong>Ran on</strong> column with the models that actually answered for it.</li>
|
|
1546
|
+
<li><strong>Cost › What routing cost</strong>: each area against running everything on <code>llm.active</code>, which is what <code>routing: off</code>
|
|
1142
1547
|
does. Both sides are priced at today's prices, so the difference is the models' and not a price that moved since.</li>
|
|
1143
|
-
<li><code>forgeqe models --routes</code> still shows the picks themselves.</li>
|
|
1144
1548
|
</ul>
|
|
1145
1549
|
<p>Two things to read carefully:</p>
|
|
1146
1550
|
<ul>
|
|
@@ -1172,14 +1576,13 @@ model that answered was the right one is what a test's result, a review and a ro
|
|
|
1172
1576
|
</div>
|
|
1173
1577
|
</section>
|
|
1174
1578
|
</div>
|
|
1175
|
-
</article>
|
|
1176
1579
|
|
|
1177
1580
|
<nav class="pager" aria-label="Previous and next">
|
|
1178
1581
|
<a class="prev" href="../area-mobile/index.html"><small>Previous</small><span>Mobile apps</span></a>
|
|
1179
1582
|
<a class="next" href="../area-operations/index.html"><small>Next</small><span>Operations and monitoring</span></a>
|
|
1180
1583
|
</nav>
|
|
1181
1584
|
</main>
|
|
1182
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-test-apps">Test environments and their apps</a></li><li><a href="#
|
|
1585
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-test-apps">Test environments and their apps</a></li><li><a href="#cap-generated-code">What ForgeQE wrote</a></li><li><a href="#cap-forgeqe-commands">Every forgeqe command from the shell</a></li><li><a href="#doc-how_to_use-guardrails">Guardrails</a></li><li><a href="#doc-how_to_use-your-prompts-skills-and-product-knowledge">Your prompts, skills, and product knowledge</a></li><li><a href="#cap-product-knowledge">Product knowledge from the product's repositories</a></li><li><a href="#cap-knowledge-agent">Librarian: what ForgeQE understood, and your corrections</a></li><li><a href="#cap-document-search">Search the project's documents, without vectors</a></li><li><a href="#cap-web-search">Search the web</a></li><li><a href="#cap-setup-help">Setup, skills, and documentation</a></li><li><a href="#doc-how_to_use-model-routing">Model routing</a></li><li><a href="#doc-readme-privacy">Privacy</a></li><li><a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">Model routing: the right configured model for each task</a></li><li><a href="#doc-docs-model_routing-turn-it-on">Turn it on</a></li><li><a href="#doc-docs-model_routing-the-areas-of-work">The areas of work</a></li><li><a href="#doc-docs-model_routing-a-default-model-for-each-agent">A default model for each agent</a></li><li><a href="#doc-docs-model_routing-how-a-model-is-picked">How a model is picked</a></li><li><a href="#doc-docs-model_routing-how-forgeqe-learns-the-models">How ForgeQE learns the models</a></li><li><a href="#doc-docs-model_routing-limit-what-an-area-may-use">Limit what an area may use</a></li><li><a href="#doc-docs-model_routing-what-routing-cost-and-what-it-saved">What routing cost, and what it saved</a></li><li><a href="#doc-docs-model_routing-what-it-does-not-do">What it does not do</a></li></ul></aside>
|
|
1183
1586
|
</div>
|
|
1184
1587
|
<footer class="foot">
|
|
1185
1588
|
<div class="container foot__row">
|