@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="index.html" aria-current="page"><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="../area-setup/index.html"><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="index.html" aria-current="page"><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="../area-setup/index.html"><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>Start here</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="index.html" aria-current="page"><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="../area-setup/index.html"><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="index.html" aria-current="page"><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="../area-setup/index.html"><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="#doc-how_to_use-what-you-need-to-run">What you need to run</a></li><li><a href="#doc-how_to_use-quick-start">Quick start</a></li><li><a href="#doc-how_to_use-1-install">Get ForgeQE</a></li><li><a href="#doc-how_to_use-2-scaffold-config">Scaffold config</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-download"/></svg>Get started</h1>
|
|
121
122
|
<p class="guide-lead">Install, configure a model, and sign in to your tools</p>
|
|
122
123
|
<section class="doc" id="doc-how_to_use-what-you-need-to-run">
|
|
@@ -128,9 +129,9 @@
|
|
|
128
129
|
</thead>
|
|
129
130
|
<tbody>
|
|
130
131
|
|
|
131
|
-
<tr><td data-label="Requirement"><strong>A terminal</strong></td><td data-label="Notes">macOS Terminal, iTerm2, VS Code or Cursor's terminal, Windows Terminal</td></tr>
|
|
132
|
-
<tr><td data-label="Requirement"><strong>A model</strong></td><td data-label="Notes">A
|
|
133
|
-
<tr><td data-label="Requirement"><strong>Internet access on first use</strong></td><td data-label="Notes">ForgeQE downloads
|
|
132
|
+
<tr><td data-label="Requirement"><strong>A browser or a terminal</strong></td><td data-label="Notes">The web app opens in your browser. For the terminal: macOS Terminal, iTerm2, VS Code or Cursor's terminal, Windows Terminal</td></tr>
|
|
133
|
+
<tr><td data-label="Requirement"><strong>A model</strong></td><td data-label="Notes">A model with a working key, a Microsoft Entra ID sign-in for Azure (Azure OpenAI, OpenAI, an OpenAI-compatible gateway, or Ollama), or a GitHub Copilot seat (see <a href="index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>)</td></tr>
|
|
134
|
+
<tr><td data-label="Requirement"><strong>Internet access on first use</strong></td><td data-label="Notes">ForgeQE downloads what it runs with (Python, its browser engine and tools) into <code>~/.forgeqe</code> once</td></tr>
|
|
134
135
|
</tbody>
|
|
135
136
|
</table></div>
|
|
136
137
|
</div></section>
|
|
@@ -139,8 +140,8 @@
|
|
|
139
140
|
<tr><th>Optional</th><th>Why</th></tr>
|
|
140
141
|
</thead>
|
|
141
142
|
<tbody>
|
|
142
|
-
<tr><td data-label="Optional"><strong>Google Chrome</strong></td><td data-label="Why">Used when installed; otherwise ForgeQE installs Chromium. Or
|
|
143
|
-
<tr><td data-label="Optional"><strong>A microphone</strong></td><td data-label="Why">To talk to ForgeQE in the web app (Talk), after the one-time speech setup in Settings › Voice</td></tr>
|
|
143
|
+
<tr><td data-label="Optional"><strong>Google Chrome</strong></td><td data-label="Why">Used when installed; otherwise ForgeQE installs Chromium. Or run the browser on BrowserStack or TestMu AI (LambdaTest)</td></tr>
|
|
144
|
+
<tr><td data-label="Optional"><strong>A microphone</strong></td><td data-label="Why">To talk to ForgeQE in the web app (Talk), after the one-time speech setup in <strong>Settings › Voice</strong></td></tr>
|
|
144
145
|
<tr><td data-label="Optional"><strong>A repo with tests</strong></td><td data-label="Why">Where passed runs become tests (<code>--repo</code>, or <code>code.repo</code>); without one, tests go in the current folder</td></tr>
|
|
145
146
|
<tr><td data-label="Optional"><strong>Jira, Azure DevOps, Xray, TestRail, Zephyr Scale, qTest, Confluence</strong></td><td data-label="Why">Sources of test cases and requirements, and where results go back</td></tr>
|
|
146
147
|
<tr><td data-label="Optional"><strong><code>gh</code> or <code>az</code></strong></td><td data-label="Why">For pipelines: pushing, secrets, and triggering runs</td></tr>
|
|
@@ -149,7 +150,8 @@
|
|
|
149
150
|
</table></div>
|
|
150
151
|
</div></section>
|
|
151
152
|
<section class="doc sub" id="doc-how_to_use-not-required"><h4>Not required</h4><div class="prose"><ul>
|
|
152
|
-
<li>Installing Python,
|
|
153
|
+
<li>Installing Python, browsers or other tools yourself: ForgeQE downloads what it needs, without admin rights and
|
|
154
|
+
without touching PATH</li>
|
|
153
155
|
<li>A server, database, or Docker</li>
|
|
154
156
|
</ul>
|
|
155
157
|
<hr />
|
|
@@ -157,43 +159,119 @@
|
|
|
157
159
|
</section>
|
|
158
160
|
<section class="doc" id="doc-how_to_use-quick-start">
|
|
159
161
|
<h3>Quick start</h3>
|
|
160
|
-
<div class="prose"><
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
<div class="prose"><p><strong>Install ForgeQE</strong> first: see <a href="#doc-how_to_use-1-install">1. Install</a>.</p>
|
|
163
|
+
<p><strong>Set up a project and a model.</strong></p>
|
|
164
|
+
<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>
|
|
165
|
+
<ol>
|
|
166
|
+
<li>Run <code>forgeqe web</code> in the project folder. It opens <code>http://127.0.0.1:…/#token=…</code> in your browser, on <strong>Onboarding</strong>.</li>
|
|
167
|
+
<li>Work through its steps: <strong>Set up</strong>, <strong>Models</strong>, <strong>Product knowledge</strong> and <strong>Appearance</strong>. Only <strong>Set up</strong> cannot be
|
|
168
|
+
skipped.</li>
|
|
169
|
+
<li>In <strong>Set up</strong>, press <strong>Set up</strong> under <strong>3. ForgeQE in this folder</strong>, then <strong>Install</strong> under <strong>4. This computer</strong>.</li>
|
|
170
|
+
<li>Under <strong>6. A model</strong>, press <strong>Add</strong> and fill in the model and its key, or sign in to GitHub Copilot on <strong>Models</strong>.</li>
|
|
171
|
+
</ol>
|
|
172
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
173
|
+
<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 init</span><span class="pad"> </span><span class="cm"><span class="h">#</span> forgeqe.yaml, llms.json, and .forgeqe/ (prompts, skills, knowledge) in this folder
|
|
174
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth login WP_AZURE_API_KEY</span><span class="pad"> </span><span class="cm"><span class="h">#</span> save the key your llms.json profile names in the credential store
|
|
175
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe models</span><span class="pad"> </span><span class="cm"><span class="h">#</span> check the models
|
|
163
176
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe start</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the shell
|
|
164
177
|
</span></span></code></pre></div>
|
|
165
|
-
<p>
|
|
166
|
-
<
|
|
178
|
+
<p>You can also export the key for one terminal session instead: <code>export WP_AZURE_API_KEY=...</code> (PowerShell:
|
|
179
|
+
<code>$env:WP_AZURE_API_KEY = "..."</code>).</p>
|
|
180
|
+
</div></div><p><strong>With GitHub Copilot licences instead of a model key.</strong> Sign in instead of saving a key. The sign-in lists your seat's
|
|
181
|
+
models and recommends one (it takes screenshots and, where the plan has one, uses no premium requests). Your choice
|
|
182
|
+
becomes the <code>copilot</code> model and the default. Everything then runs on your Copilot seat: ForgeQE's agent, Quill, and the
|
|
183
|
+
browser, desktop and mobile agents. No other model is needed.</p>
|
|
184
|
+
<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>
|
|
185
|
+
<ol>
|
|
186
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
187
|
+
<li>Under <strong>Sign-ins</strong>, on the <strong>GitHub Copilot</strong> row, press <strong>Sign in</strong>.</li>
|
|
188
|
+
<li>Sign in to GitHub in the browser tab that opens, then pick the model.</li>
|
|
189
|
+
</ol>
|
|
190
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
191
|
+
<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 setup</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the browser engine and what Copilot needs
|
|
167
192
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth login copilot</span><span class="pad"> </span><span class="cm"><span class="h">#</span> opens GitHub in your browser to sign in, then pick the model
|
|
168
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> checks the
|
|
193
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe doctor</span><span class="pad"> </span><span class="cm"><span class="h">#</span> checks the setup, the sign-in and each model
|
|
169
194
|
</span></span></code></pre></div>
|
|
170
|
-
|
|
195
|
+
</div></div><p><strong>Making a request.</strong> Type what you want in plain words and send it:</p>
|
|
171
196
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>text</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">Go to booking.com and search for hotels in Mumbai for next weekend
|
|
172
197
|
</span></span><span class="ln"><span class="cmd">Run SHOP-12 and SHOP-14 from Jira, two browsers at once
|
|
173
198
|
</span></span><span class="ln"><span class="cmd">Write a Playwright test for that run in ../app
|
|
174
199
|
</span></span></code></pre></div>
|
|
175
|
-
<
|
|
176
|
-
<
|
|
200
|
+
<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>
|
|
201
|
+
<ol>
|
|
202
|
+
<li>Open <strong>New chat</strong> in the sidebar.</li>
|
|
203
|
+
<li>Type the request and press Enter.</li>
|
|
204
|
+
</ol>
|
|
205
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
206
|
+
<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 start</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the shell: type the request and press Enter
|
|
207
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe run "Search hotels in Mumbai on booking.com" --plain</span><span class="pad"> </span><span class="cm"><span class="h">#</span> one request, without the shell
|
|
208
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe suite cases.yaml --parallel 3</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what pipelines call
|
|
177
209
|
</span></span></code></pre></div>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
210
|
+
</div></div><p><strong>Checking the models.</strong> ForgeQE lists the models it sees and marks the one in use. With no model set up, the shell's
|
|
211
|
+
footer reads <strong>Model none set up</strong>, and any request explains how to add one.</p>
|
|
212
|
+
<p>With more than one model, routing (<code>llm.routing: auto</code>) gives each kind of work (agent, browser, coding, review,
|
|
213
|
+
analysis, planning) the configured model it needs. See <a href="../area-setup/index.html#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
|
|
214
|
+
<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>
|
|
215
|
+
<ol>
|
|
216
|
+
<li>Open <strong>Settings › Models</strong> to see each model and the default.</li>
|
|
217
|
+
<li>Open <strong>Settings › Routing</strong> to see which model each area of work gets.</li>
|
|
218
|
+
</ol>
|
|
219
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
220
|
+
<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 models</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the models, and the one in use
|
|
221
|
+
</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 model each area of work gets
|
|
181
222
|
</span></span></code></pre></div>
|
|
182
|
-
|
|
183
|
-
<p>With more than one profile, <code>llm.routing: auto</code> gives each kind of work (agent, browser, coding, review, analysis, planning) the configured model it needs; <code>forgeqe models --routes</code> shows the picks. See <a href="../area-setup/index.html#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
|
|
184
|
-
<hr />
|
|
223
|
+
</div></div>
|
|
185
224
|
</div>
|
|
186
225
|
</section>
|
|
187
226
|
<section class="doc" id="doc-how_to_use-1-install"><h3>Get ForgeQE</h3><div class="prose"><p>ForgeQE is set up with your team by Capgemini: we bring it to your project, connect your models and tools, and run the first proven tests with you. <span class="xref">Contact us</span> to get started.</p></div></section>
|
|
188
227
|
<section class="doc" id="doc-how_to_use-2-scaffold-config">
|
|
189
228
|
<h3>Scaffold config</h3>
|
|
190
|
-
<div class="prose"><
|
|
191
|
-
</
|
|
229
|
+
<div class="prose"><p><strong>Setting up ForgeQE in a project folder.</strong> ForgeQE writes <code>forgeqe.yaml</code>, <code>llms.json</code> (your models), <code>env.yaml</code> and a
|
|
230
|
+
<code>.forgeqe</code> folder with prompts, skills and guardrails to change. Files already there are kept.</p>
|
|
231
|
+
<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>
|
|
232
|
+
<ol>
|
|
233
|
+
<li>Run <code>forgeqe web</code> and open <strong>Settings › Set up</strong>.</li>
|
|
234
|
+
<li>Under <strong>1. Project folder</strong>, check the folder, or press <strong>Browse</strong> to choose or make another.</li>
|
|
235
|
+
<li>Under <strong>2. Repository</strong>, keep the folder's git repository, or in an empty folder press <strong>Clone a repository</strong> (or
|
|
236
|
+
<strong>Start a new repository</strong>).</li>
|
|
237
|
+
<li>Under <strong>3. ForgeQE in this folder</strong>, press <strong>Set up</strong>. Until it is set up, the other sections of Settings stay locked.</li>
|
|
238
|
+
</ol>
|
|
239
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
240
|
+
<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 init
|
|
241
|
+
</span></span><span class="ln ln--note"><span class="pad"></span><span class="cm"><span class="h">#</span> or, in ForgeQE's home for every project, with a given model profile:
|
|
192
242
|
</span></span><span class="ln"><span class="cmd">forgeqe init --global --profile azure-gpt4o
|
|
193
243
|
</span></span></code></pre></div>
|
|
194
|
-
|
|
195
|
-
</
|
|
196
|
-
|
|
244
|
+
</div></div><p><strong>Adding a model and its key.</strong> A model is a profile in <code>llms.json</code>: its provider, model name, endpoint and the name of
|
|
245
|
+
the variable that holds its key (such as <code>WP_AZURE_API_KEY</code>, <code>OPENAI_API_KEY</code> or <code>WP_API_KEY</code>). The key itself goes in
|
|
246
|
+
your system's credential store, never in <code>llms.json</code>.</p>
|
|
247
|
+
<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>
|
|
248
|
+
<ol>
|
|
249
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
250
|
+
<li>Press <strong>Add</strong> (or <strong>Edit</strong>, the pencil beside a model, to change it).</li>
|
|
251
|
+
<li>Give it a <strong>Name</strong>, pick its <strong>Provider</strong>, and fill in <strong>Model</strong>, <strong>Endpoint</strong> or <strong>Deployment</strong> as the provider asks.</li>
|
|
252
|
+
<li>Under <strong>API key</strong>, type the key. It is kept in your credential store, never in <code>llms.json</code>.</li>
|
|
253
|
+
<li>Pick it under <strong>Default model</strong> to make it the one the agents use.</li>
|
|
254
|
+
</ol>
|
|
255
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
256
|
+
<ol>
|
|
257
|
+
<li>Edit the endpoints in <code>llms.json</code>.</li>
|
|
258
|
+
<li>Save each key its profiles name:</li>
|
|
259
|
+
</ol>
|
|
260
|
+
<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 auth login WP_AZURE_API_KEY</span><span class="pad"> </span><span class="cm"><span class="h">#</span> saves it in your system's credential store
|
|
261
|
+
</span></span></code></pre></div>
|
|
262
|
+
<p>Or put the keys in a <code>.env</code> file next to <code>forgeqe.yaml</code>.</p>
|
|
263
|
+
</div></div></div>
|
|
264
|
+
<section class="doc sub" id="doc-how_to_use-signing-in-to-the-model-without-a-key-microsoft-entra-id"><h4>Signing in to the model without a key (Microsoft Entra ID)</h4><div class="prose"><p>Where keys are turned off (<code>disableLocalAuth</code> on the Azure OpenAI or Foundry resource, managed identities, zero
|
|
265
|
+
trust), an Azure model can sign in with Microsoft Entra ID instead of a key. Key models keep working, and both kinds can
|
|
266
|
+
sit side by side.</p>
|
|
267
|
+
<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>
|
|
268
|
+
<ol>
|
|
269
|
+
<li>Open <strong>Settings › Models</strong> and add or edit an Azure model.</li>
|
|
270
|
+
<li>Set <strong>Sign-in</strong> to <strong>Microsoft Entra ID</strong>.</li>
|
|
271
|
+
<li>Fill in <strong>Managed identity client id</strong> when it uses a user-assigned managed identity.</li>
|
|
272
|
+
</ol>
|
|
273
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
274
|
+
<p>Set <code>auth: entra</code> on an <code>azure</code> profile in <code>llms.json</code>, instead of <code>api_key_env</code>:</p>
|
|
197
275
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">"azure-entra": {
|
|
198
276
|
</span></span><span class="ln"><span class="cmd"> "provider": "azure",
|
|
199
277
|
</span></span><span class="ln"><span class="cmd"> "model": "gpt-4o",
|
|
@@ -203,7 +281,7 @@
|
|
|
203
281
|
</span></span><span class="ln"><span class="cmd"> "managed_identity_client_id": "00000000-0000-0000-0000-000000000000"
|
|
204
282
|
</span></span><span class="ln"><span class="cmd">}
|
|
205
283
|
</span></span></code></pre></div>
|
|
206
|
-
|
|
284
|
+
</div></div><p><strong>Which identity it uses.</strong> ForgeQE asks Microsoft Entra ID for a token wherever it runs, trying in this order:</p>
|
|
207
285
|
<div class="tbl tbl--cols-2"><table>
|
|
208
286
|
<thead>
|
|
209
287
|
<tr><th>Where ForgeQE runs</th><th>Identity it uses</th></tr>
|
|
@@ -217,10 +295,57 @@
|
|
|
217
295
|
<tr><td data-label="Where ForgeQE runs">Anything else</td><td data-label="Identity it uses">A service principal in <code>AZURE_TENANT_ID</code>, <code>AZURE_CLIENT_ID</code> and <code>AZURE_CLIENT_SECRET</code> (or <code>AZURE_CLIENT_CERTIFICATE_PATH</code>)</td></tr>
|
|
218
296
|
</tbody>
|
|
219
297
|
</table></div>
|
|
220
|
-
<p>Give that identity the <strong>Cognitive Services OpenAI User</strong> role on the resource. Tokens are renewed before they expire,
|
|
221
|
-
|
|
298
|
+
<p>Give that identity the <strong>Cognitive Services OpenAI User</strong> role on the resource. Tokens are renewed before they expire,
|
|
299
|
+
so long suites and coding sessions keep running. No key is stored anywhere.</p>
|
|
300
|
+
<p><strong>A gateway that checks Entra ID tokens.</strong> <code>auth: entra</code> also works on an <code>openai_compatible</code> profile, for a gateway
|
|
301
|
+
such as API Management. Set <code>token_scope</code> to the scope it expects (for example <code>api://<app id>/.default</code>; the default is
|
|
302
|
+
<code>https://cognitiveservices.azure.com/.default</code>). <code>forgeqe setup</code> installs what the sign-in needs; with
|
|
303
|
+
<code>FORGEQE_PYTHON</code>, install the <code>azure-identity</code> package there yourself.</p>
|
|
222
304
|
</div></section>
|
|
223
|
-
<section class="doc sub" id="doc-how_to_use-github-copilot-seats-as-the-model"><h4>GitHub Copilot seats as the model</h4><div class="prose"><p>With GitHub Copilot licences (Pro, Pro+, Business or Enterprise),
|
|
305
|
+
<section class="doc sub" id="doc-how_to_use-github-copilot-seats-as-the-model"><h4>GitHub Copilot seats as the model</h4><div class="prose"><p>With GitHub Copilot licences (Pro, Pro+, Business or Enterprise), ForgeQE can run on your Copilot seat: ForgeQE's agent,
|
|
306
|
+
Quill, and the browser, desktop and mobile agents. It signs in with GitHub, so no other app is authorized on your GitHub
|
|
307
|
+
account. It works on Windows, macOS and Linux.</p>
|
|
308
|
+
<p><strong>Signing in.</strong> Sign in once per computer. There are two ways, the ones GitHub recommends:</p>
|
|
309
|
+
<ul>
|
|
310
|
+
<li><strong>Sign in with GitHub in the browser</strong> (recommended on your own computer). Your browser opens GitHub; approve
|
|
311
|
+
<strong>GitHub Copilot CLI</strong> there and you are signed in. GitHub keeps the sign-in in your system's credential store
|
|
312
|
+
(Windows Credential Manager, the macOS Keychain); ForgeQE never sees a token. On a remote machine you get a code to
|
|
313
|
+
enter at github.com/login/device instead.</li>
|
|
314
|
+
<li><strong>A fine-grained token</strong>, for machines without a browser. On GitHub's token page, set <strong>Resource owner</strong> to your
|
|
315
|
+
personal account and add the <strong>Copilot Requests</strong> permission, then paste the token (<code>github_pat_...</code>). ForgeQE confirms
|
|
316
|
+
what it got (<code>github_pat_11AB…Wz9Q (93 characters)</code>) and keeps the token in your system's credential store. Classic
|
|
317
|
+
tokens (<code>ghp_</code>) do not work with Copilot.</li>
|
|
318
|
+
</ul>
|
|
319
|
+
<p>Either way, ForgeQE checks the sign-in by asking Copilot for your seat's models. Then it asks which one to use
|
|
320
|
+
(recommended first; models your seat has but has not turned on are named, with the settings page) and makes it the
|
|
321
|
+
default model. The first time, Copilot's runtime is downloaded from GitHub and checked against GitHub's checksums.</p>
|
|
322
|
+
<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>
|
|
323
|
+
<ol>
|
|
324
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
325
|
+
<li>Under <strong>Sign-ins</strong>, on the <strong>GitHub Copilot</strong> row, press <strong>Sign in</strong> (the browser), <strong>Enterprise</strong> (see below) or
|
|
326
|
+
<strong>Token</strong> (a fine-grained token).</li>
|
|
327
|
+
<li>For the browser sign-in, press <strong>Copy</strong> to copy your code, then <strong>Open</strong> (GitHub), paste it and approve.</li>
|
|
328
|
+
<li>Pick the model. The row then says who is signed in and with which model.</li>
|
|
329
|
+
</ol>
|
|
330
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
331
|
+
<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 auth login copilot</span><span class="pad"> </span><span class="cm"><span class="h">#</span> sign in, then pick the model
|
|
332
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the Copilot line shows the sign-in
|
|
333
|
+
</span></span></code></pre></div>
|
|
334
|
+
</div></div><p><strong>GitHub Enterprise Cloud</strong> (a <code>ghe.com</code> address, with data residency). In the web app press <strong>Enterprise</strong>; in the
|
|
335
|
+
terminal pick <strong>Sign in to your company's GitHub Enterprise</strong>. Type the address (<code>acme.ghe.com</code>). ForgeQE keeps it with
|
|
336
|
+
the sign-in as <code>COPILOT_GH_HOST</code>; an exported <code>COPILOT_GH_HOST</code> or <code>GH_HOST</code> works the same. Signing in to github.com
|
|
337
|
+
again forgets it.</p>
|
|
338
|
+
<p><strong>Signing out.</strong> Copilot removes the browser sign-in from this computer, the system's credential store included. GitHub
|
|
339
|
+
keeps the authorization until you revoke <strong>GitHub Copilot CLI</strong> at github.com/settings/applications.</p>
|
|
340
|
+
<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>
|
|
341
|
+
<ol>
|
|
342
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
343
|
+
<li>On the <strong>GitHub Copilot</strong> row, press <strong>Sign out</strong>.</li>
|
|
344
|
+
</ol>
|
|
345
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
346
|
+
<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 auth logout copilot
|
|
347
|
+
</span></span></code></pre></div>
|
|
348
|
+
</div></div><p><strong>The Copilot model in <code>llms.json</code>.</strong> The sign-in writes a profile like this one:</p>
|
|
224
349
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">"copilot": {
|
|
225
350
|
</span></span><span class="ln"><span class="cmd"> "provider": "github_copilot",
|
|
226
351
|
</span></span><span class="ln"><span class="cmd"> "model": "gpt-4.1"
|
|
@@ -231,103 +356,161 @@
|
|
|
231
356
|
<tr><th>Field</th><th>What it is</th></tr>
|
|
232
357
|
</thead>
|
|
233
358
|
<tbody>
|
|
234
|
-
<tr><td data-label="Field"><code>model</code></td><td data-label="What it is">The Copilot model, as
|
|
235
|
-
<tr><td data-label="Field"><code>engine_model</code></td><td data-label="What it is">Optional. Another Copilot model for the browser
|
|
359
|
+
<tr><td data-label="Field"><code>model</code></td><td data-label="What it is">The Copilot model, as Copilot names it (<code>gpt-4.1</code>, <code>claude-sonnet-4.6</code>). It must take screenshots. The sign-in lists your seat's models and which of them take images.</td></tr>
|
|
360
|
+
<tr><td data-label="Field"><code>engine_model</code></td><td data-label="What it is">Optional. Another Copilot model for the browser and the desktop agent.</td></tr>
|
|
236
361
|
<tr><td data-label="Field"><code>reasoning_effort</code></td><td data-label="What it is">Optional. How hard a reasoning model thinks: <code>low</code>, <code>medium</code>, <code>high</code>, <code>xhigh</code> or <code>max</code>. Sent only to a model your seat says takes one; unset, the model's default.</td></tr>
|
|
237
|
-
<tr><td data-label="Field"><code>api_key_env</code></td><td data-label="What it is">Optional. A variable that must hold the GitHub token for this profile. Without it ForgeQE uses <code>COPILOT_GITHUB_TOKEN</code>, then a token <code>forgeqe auth login copilot</code> saved, then the browser sign-in.</td></tr>
|
|
362
|
+
<tr><td data-label="Field"><code>api_key_env</code></td><td data-label="What it is">Optional. A variable that must hold the GitHub token for this profile. Without it, ForgeQE uses <code>COPILOT_GITHUB_TOKEN</code>, then a token <code>forgeqe auth login copilot</code> saved, then the browser sign-in.</td></tr>
|
|
238
363
|
</tbody>
|
|
239
364
|
</table></div>
|
|
240
|
-
<p>
|
|
241
|
-
|
|
365
|
+
<p><strong>Choosing the model.</strong> Your seat's models each show whether they take screenshots, their premium requests per call (0
|
|
366
|
+
is included in your plan) and the profiles that use them.</p>
|
|
367
|
+
<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>
|
|
368
|
+
<ol>
|
|
369
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
370
|
+
<li>Press <strong>Edit</strong> on the Copilot model.</li>
|
|
371
|
+
<li>Pick its <strong>Model</strong> and <strong>Engine model</strong> from your seat's list.</li>
|
|
372
|
+
</ol>
|
|
373
|
+
<p>To use another model for one chat, pick it in the chat's <strong>Model</strong> menu.</p>
|
|
374
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
375
|
+
<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 models --copilot</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the seat's models
|
|
376
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe models --copilot --add claude-sonnet-4.6 --as sonnet</span><span class="pad"> </span><span class="cm"><span class="h">#</span> keep one as a profile in llms.json
|
|
377
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe start --model claude-sonnet-4.6</span><span class="pad"> </span><span class="cm"><span class="h">#</span> another Copilot model for this session only (also run, chat)
|
|
242
378
|
</span></span></code></pre></div>
|
|
243
|
-
<p>
|
|
379
|
+
<p><code>--add</code> takes <code>--engine-model</code> (a model that takes screenshots, for the browser, desktop and mobile agents) and
|
|
380
|
+
<code>--default</code>. <code>--model</code> changes the model of the profile in use, which must be a Copilot one. In the shell, <code>/model</code>
|
|
381
|
+
picks any profile.</p>
|
|
382
|
+
</div></div><p><strong>Premium requests.</strong> Every Copilot call is one premium request times the model's multiplier. The usage records count
|
|
383
|
+
them with each call. Routing prefers a model with fewer per call when its rating is good enough. A premium-request budget
|
|
384
|
+
warns at 80, 90 and 100 percent like the money budgets (see <a href="../area-release/index.html#doc-how_to_use-spending-budgets">Spending budgets</a>). A rate limit or a
|
|
385
|
+
used-up allowance is reported as such (HTTP 429), so the agents wait or stop rather than retry.</p>
|
|
386
|
+
<p><strong>Your organization's policies.</strong> If your organization uses SAML single sign-on, GitHub asks you to authorize the
|
|
387
|
+
organization during the browser sign-in. A Copilot Business or Enterprise seat needs your organization to allow
|
|
388
|
+
<strong>Copilot CLI</strong> in its Copilot policies. If a model is refused, check that those policies allow it.</p>
|
|
389
|
+
<p><strong>What it costs.</strong> Each request is billed to the seat (GitHub AI credits or premium requests, by your plan), and GitHub
|
|
390
|
+
may rate-limit frequent automated requests. ForgeQE shows no cost for a Copilot model unless you give it a <code>price</code>. The
|
|
391
|
+
GitHub token never reaches the browser engine or the shell commands the agents run.</p>
|
|
392
|
+
<p><strong>Copilot and a key-based model side by side.</strong> Copilot comes first: a sign-in makes it the default, and without a
|
|
393
|
+
<code>"default"</code> it is the model in use. Before a model is used, ForgeQE checks that it works (its sign-in or key, and one live
|
|
394
|
+
call, kept for a day once it passes).</p>
|
|
244
395
|
<ul>
|
|
245
|
-
<li
|
|
246
|
-
|
|
396
|
+
<li>If Copilot does not work (not signed in, not set up, or the model not on your seat), the other model is used, and
|
|
397
|
+
ForgeQE says why and how to fix Copilot.</li>
|
|
398
|
+
<li>If a key-based model you made the default does not work, Copilot is tried first.</li>
|
|
399
|
+
<li>A model that fails its check is never used. When none works, the error lists each one with what to do.</li>
|
|
247
400
|
</ul>
|
|
248
|
-
<p>
|
|
249
|
-
|
|
250
|
-
<
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
</
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
<p>
|
|
259
|
-
<
|
|
260
|
-
<
|
|
261
|
-
<
|
|
262
|
-
<
|
|
263
|
-
</thead>
|
|
264
|
-
<tbody>
|
|
265
|
-
<tr><td data-label="Part">The browser engine (every browser run: <code>run --direct</code>, suites, monitoring)</td><td data-label="Model"><code>engine_model</code> or <code>model</code>, on the Copilot seat</td><td data-label="Signs in with"><code>forgeqe auth login copilot</code></td></tr>
|
|
266
|
-
<tr><td data-label="Part">The desktop and mobile agents</td><td data-label="Model"><code>engine_model</code> or <code>model</code>, on the Copilot seat</td><td data-label="Signs in with"><code>forgeqe auth login copilot</code></td></tr>
|
|
267
|
-
<tr><td data-label="Part">ForgeQE's agent and Quill</td><td data-label="Model"><code>model</code>, on the Copilot seat</td><td data-label="Signs in with"><code>forgeqe auth login copilot</code></td></tr>
|
|
268
|
-
</tbody>
|
|
269
|
-
</table></div>
|
|
270
|
-
<p>Copilot runs one SDK session per model request, with none of Copilot's own tools and your request's system prompt in place of Copilot's. The agent's tools are offered to the model as the session's only tools; when it calls one, the gateway ends the turn and hands the call back to ForgeQE's agent runtime, which runs it (with the same permissions as on any other model) and sends the result with the next request. The gateway itself runs nothing.</p>
|
|
271
|
-
<p><strong>With Copilot and a key-based model both in <code>llms.json</code></strong>, Copilot comes first: a sign-in makes it the default, and without a <code>"default"</code> it is the active profile. Before a model is used, ForgeQE checks that it works (its sign-in or key, and one live call, kept for a day once it passes). If Copilot does not work (not signed in, the Copilot SDK missing, the model not on your seat), the other model is used and ForgeQE says why and how to fix Copilot; if a key-based model you made the default does not work, Copilot is tried first. A model that fails its check is never used, and when none works the error lists each one with what to do. This happens with <code>llm.routing</code> off too: routing picks a model for each kind of work, the fallback only replaces one that does not work. <code>--profile</code> turns it off for one run, and <code>llm.fallback: false</code> in <code>forgeqe.yaml</code> for good: the model you chose is used as it is, and its own error is shown. Each request is billed to the seat (GitHub AI credits or premium requests, by your plan), and GitHub may rate-limit frequent automated requests. If a model is refused, check that your organization's Copilot policies allow it. ForgeQE shows no cost for a <code>github_copilot</code> profile unless you give it a <code>price</code>.</p>
|
|
272
|
-
<p><strong>In pipelines.</strong> <code>forgeqe suite ... --no-code</code> uses only the browser engine. Set <code>COPILOT_GITHUB_TOKEN</code> to a fine-grained token with the Copilot Requests permission, stored as a pipeline secret. GitHub also documents the workflow's own <code>GITHUB_TOKEN</code> with <code>permissions: copilot-requests: write</code> for organization repositories whose Copilot policy allows it (<a href="https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/server-to-server-tokens" class="ext" rel="noopener">server tokens</a>). A Copilot seat belongs to one person: prefer an organization-billed token over signing a shared pipeline in to someone's seat.</p>
|
|
273
|
-
<p>GitHub Models, which ForgeQE used for the engine before, was <a href="https://github.blog/changelog/2026-07-30-github-models-is-now-retired/" class="ext" rel="noopener">retired by GitHub</a> on July 30, 2026. A profile that still has <code>engine_model: "openai/..."</code> or <code>github_org</code> needs updating: drop <code>github_org</code>, and use a Copilot model id. A profile whose endpoint is GitHub Models (<code>models.github.ai</code>) is never called: remove it from <code>llms.json</code>. Copilot needs no <code>GITHUB_TOKEN</code> or <code>GH_TOKEN</code>; ForgeQE does not pass them to Copilot.</p>
|
|
401
|
+
<p>This happens with routing off too: routing picks a model for each kind of work, and the fallback only replaces one that
|
|
402
|
+
does not work. To turn the fallback off, use <code>--profile</code> for one run, or <code>llm.fallback: false</code> in <code>forgeqe.yaml</code> (in the
|
|
403
|
+
web app, <strong>Settings › Routing</strong>, <strong>Fall back to a working model</strong>). Then the model you chose is used as it is, and its
|
|
404
|
+
own error is shown.</p>
|
|
405
|
+
<p><strong>In pipelines.</strong> <code>forgeqe suite ... --no-code</code> uses only the browser agent. Set <code>COPILOT_GITHUB_TOKEN</code> to a
|
|
406
|
+
fine-grained token with the Copilot Requests permission, stored as a pipeline secret. GitHub also documents the
|
|
407
|
+
workflow's own <code>GITHUB_TOKEN</code> with <code>permissions: copilot-requests: write</code> for organization repositories whose Copilot
|
|
408
|
+
policy allows it (<a href="https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/server-to-server-tokens" class="ext" rel="noopener">server tokens</a>).
|
|
409
|
+
A Copilot seat belongs to one person: prefer an organization-billed token over signing a shared pipeline in to someone's
|
|
410
|
+
seat.</p>
|
|
411
|
+
<p><strong>Moving off GitHub Models.</strong> GitHub Models was
|
|
412
|
+
<a href="https://github.blog/changelog/2026-07-30-github-models-is-now-retired/" class="ext" rel="noopener">retired by GitHub</a> on July 30, 2026. A profile
|
|
413
|
+
that still has <code>engine_model: "openai/..."</code> or <code>github_org</code> needs updating: drop <code>github_org</code>, and use a Copilot model
|
|
414
|
+
id. A profile whose endpoint is GitHub Models (<code>models.github.ai</code>) is never called: remove it from <code>llms.json</code>. Copilot
|
|
415
|
+
needs no <code>GITHUB_TOKEN</code> or <code>GH_TOKEN</code>; ForgeQE does not pass them to Copilot.</p>
|
|
274
416
|
<p><strong>When something goes wrong.</strong></p>
|
|
275
417
|
<div class="tbl tbl--cols-2"><table>
|
|
276
418
|
<thead>
|
|
277
419
|
<tr><th>ForgeQE says</th><th>What to do</th></tr>
|
|
278
420
|
</thead>
|
|
279
421
|
<tbody>
|
|
280
|
-
<tr><td data-label="ForgeQE says"><code>GitHub Copilot is not signed in</code></td><td data-label="What to do">
|
|
281
|
-
<tr><td data-label="ForgeQE says"><code>The GitHub sign-in did not finish</code></td><td data-label="What to do">The browser sign-in was cancelled or denied.
|
|
422
|
+
<tr><td data-label="ForgeQE says"><code>GitHub Copilot is not signed in</code></td><td data-label="What to do">Sign in on <strong>Settings › Models</strong>, or run <code>forgeqe auth login copilot</code> (<code>/auth copilot</code> in the shell), or set <code>COPILOT_GITHUB_TOKEN</code>.</td></tr>
|
|
423
|
+
<tr><td data-label="ForgeQE says"><code>The GitHub sign-in did not finish</code></td><td data-label="What to do">The browser sign-in was cancelled or denied. Sign in again; with SAML single sign-on, authorize your organization when GitHub asks.</td></tr>
|
|
282
424
|
<tr><td data-label="ForgeQE says"><code>GitHub Copilot does not take classic tokens (ghp_)</code></td><td data-label="What to do">Sign in in the browser instead, or make a fine-grained token with the Copilot Requests permission, owned by your personal account.</td></tr>
|
|
283
425
|
<tr><td data-label="ForgeQE says"><code>GitHub Copilot did not accept the token</code></td><td data-label="What to do">The token has no Copilot Requests permission, has expired, or the account has no Copilot seat.</td></tr>
|
|
284
|
-
<tr><td data-label="ForgeQE says"><code>GitHub Copilot refused the sign-in</code> or <code>refused the token</code> (<code>Authorization error. Your credentials may be expired or invalid</code>)</td><td data-label="What to do">Copilot received the credential and would not take it. A token wins over the browser sign-in: if <code>COPILOT_GITHUB_TOKEN</code> is set, or you once pasted a token, that is what was refused
|
|
285
|
-
<tr><td data-label="ForgeQE says"><code>… must be a Copilot model id</code>, <code>engine_model must be a Copilot model id</code></td><td data-label="What to do">Fix that field in <code>llms.json</code
|
|
426
|
+
<tr><td data-label="ForgeQE says"><code>GitHub Copilot refused the sign-in</code> or <code>refused the token</code> (<code>Authorization error. Your credentials may be expired or invalid</code>)</td><td data-label="What to do">Copilot received the credential and would not take it. A token wins over the browser sign-in: if <code>COPILOT_GITHUB_TOKEN</code> is set, or you once pasted a token, that is what was refused. Remove it and sign in in the browser. Otherwise sign in again. If it still fails and your seat comes from your company, a GitHub admin must allow Copilot CLI in the Copilot policies.</td></tr>
|
|
427
|
+
<tr><td data-label="ForgeQE says"><code>… must be a Copilot model id</code>, <code>engine_model must be a Copilot model id</code></td><td data-label="What to do">Fix that field in <code>llms.json</code> (or pick the model on <strong>Settings › Models</strong>): the sign-in lists the seat's models. A GitHub Models id such as <code>openai/gpt-4.1</code> is not a Copilot id; use <code>gpt-4.1</code>.</td></tr>
|
|
286
428
|
<tr><td data-label="ForgeQE says"><code>No model in llms.json can … right now</code></td><td data-label="What to do">Each model is listed with why it cannot be used and the fix. <code>forgeqe doctor</code> checks everything at once.</td></tr>
|
|
287
|
-
<tr><td data-label="ForgeQE says"><code>GitHub Copilot could not start: … failed to load runtime cdylib … LoadLibraryExW failed</code> (Windows)</td><td data-label="What to do">Windows would not load Copilot's runtime library. ForgeQE tries
|
|
288
|
-
<tr><td data-label="ForgeQE says"><code>GitHub Copilot: … (the seat's rate limit or premium request allowance …)</code></td><td data-label="What to do">Copilot is rate limiting the seat, or its premium requests for the month are used up. Wait, or pick a model with a lower multiplier
|
|
289
|
-
<tr><td data-label="ForgeQE says"><code>GitHub's Copilot SDK is not installed in the ForgeQE engine</code></td><td data-label="What to do">Run <code>forgeqe setup</code
|
|
429
|
+
<tr><td data-label="ForgeQE says"><code>GitHub Copilot could not start: … failed to load runtime cdylib … LoadLibraryExW failed</code> (Windows)</td><td data-label="What to do">Windows would not load Copilot's runtime library. ForgeQE tries again to learn Windows' reason and says it on the next line. It is one of: your organisation's application control (AppLocker, Windows Defender Application Control) or antivirus blocking it, so IT must allow GitHub-signed files in <code>%LOCALAPPDATA%\github-copilot-sdk</code>; DirectX 12 missing (Windows Server without the Desktop Experience, some virtual desktops); or a damaged download, fixed by deleting <code>%LOCALAPPDATA%\github-copilot-sdk\cli</code> and signing in again.</td></tr>
|
|
430
|
+
<tr><td data-label="ForgeQE says"><code>GitHub Copilot: … (the seat's rate limit or premium request allowance …)</code></td><td data-label="What to do">Copilot is rate limiting the seat, or its premium requests for the month are used up. Wait, or pick a model with a lower multiplier; one included in your plan uses none.</td></tr>
|
|
431
|
+
<tr><td data-label="ForgeQE says"><code>GitHub's Copilot SDK is not installed in the ForgeQE engine</code></td><td data-label="What to do">Run <code>forgeqe setup</code> (or <strong>Install</strong> on <strong>Settings › Set up</strong>). If pypi.org is blocked, <code>forgeqe doctor</code> says what to ask IT for.</td></tr>
|
|
290
432
|
<tr><td data-label="ForgeQE says"><code>Model for agent: main, because copilot failed its live check …</code></td><td data-label="What to do">ForgeQE used your other model because Copilot did not answer; the message ends with the fix.</td></tr>
|
|
291
433
|
<tr><td data-label="ForgeQE says">The model is refused, or not found</td><td data-label="What to do">The seat's plan or your organization's Copilot policies do not allow that model: pick one the sign-in listed, or ask a Copilot admin to enable it.</td></tr>
|
|
292
|
-
<tr><td data-label="ForgeQE says"><code>GitHub Copilot runs through the ForgeQE engine, which is not set up</code> (or <code>could not be set up (…)</code>)</td><td data-label="What to do">Run <code>forgeqe setup</code
|
|
293
|
-
<tr><td data-label="ForgeQE says">Copilot is slow, or a run waits on it ("Starting the browser…", "working out the first step…")</td><td data-label="What to do"><code>~/.forgeqe/logs/copilot-gateway.log</code> has a line for each Copilot request: when it started,
|
|
434
|
+
<tr><td data-label="ForgeQE says"><code>GitHub Copilot runs through the ForgeQE engine, which is not set up</code> (or <code>could not be set up (…)</code>)</td><td data-label="What to do">Run <code>forgeqe setup</code> (or <strong>Install</strong> on <strong>Settings › Set up</strong>); the reason in brackets says what failed.</td></tr>
|
|
435
|
+
<tr><td data-label="ForgeQE says">Copilot is slow, or a run waits on it ("Starting the browser…", "working out the first step…")</td><td data-label="What to do"><code>~/.forgeqe/logs/copilot-gateway.log</code> has a line for each Copilot request: when it started, when each turn ended, and how long it took. It never holds prompts, replies or tokens. A turn that ends without Copilot saying it is idle (a known Copilot issue) is answered 5 seconds later instead of after the 5-minute limit, and a request the run no longer needs (Stop, an error) is stopped.</td></tr>
|
|
294
436
|
<tr><td data-label="ForgeQE says"><code>CERTIFICATE_VERIFY_FAILED</code> while downloading Copilot's runtime</td><td data-label="What to do">Your network inspects HTTPS. Update ForgeQE and run <code>forgeqe setup</code>, then sign in again: it uses the certificates your computer trusts (see <a href="../index.html">Company networks</a>). If it still fails, run <code>forgeqe doctor</code> and send its output to IT.</td></tr>
|
|
295
|
-
<tr><td data-label="ForgeQE says"><code>The model ended its turn without a reply, also after being asked to carry on.</code></td><td data-label="What to do">The model (most often a Copilot one) ended a step with no words and no tool call; ForgeQE asked it twice to carry on. Ask again or say "continue"
|
|
437
|
+
<tr><td data-label="ForgeQE says"><code>The model ended its turn without a reply, also after being asked to carry on.</code></td><td data-label="What to do">The model (most often a Copilot one) ended a step with no words and no tool call; ForgeQE asked it twice to carry on. Ask again or say "continue". If it keeps happening, pick another model in the chat's model menu.</td></tr>
|
|
296
438
|
</tbody>
|
|
297
439
|
</table></div>
|
|
298
440
|
</div></section>
|
|
299
441
|
<section class="doc sub" id="doc-how_to_use-evidence-what-an-agent-did-decided-and-used"><h4>Evidence: what an agent did, decided and used</h4><div class="prose"><p>Evidence records what an AI agent did, how, what it decided and the reason it gave, and what data it used, so it can be
|
|
300
|
-
checked rather than taken on its word
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
442
|
+
checked rather than taken on its word. It works for ForgeQE's own agents and for any other team's or platform's.</p>
|
|
443
|
+
<p><strong>What it reads.</strong></p>
|
|
444
|
+
<ul>
|
|
445
|
+
<li>An agent's OpenTelemetry traces while it runs.</li>
|
|
446
|
+
<li>OpenTelemetry exports (generative AI conventions), Langfuse and LangSmith exports.</li>
|
|
447
|
+
<li>An agent's own JSON log, with a mapping file that says which field means what.</li>
|
|
448
|
+
<li>ForgeQE's own sessions.</li>
|
|
449
|
+
</ul>
|
|
450
|
+
<p>A record is written once to <code>.forgeqe/evidence/runs/</code>. What the source does not say is listed as a gap, never guessed.
|
|
451
|
+
What the agent took in is kept as a fingerprint unless you ask for its content (<code>--content</code>, with secrets cut out).</p>
|
|
452
|
+
<p><strong>A contract.</strong> A contract (<code>.forgeqe/evidence/contracts/<name>.yaml</code>) says what an agent's owner agreed:</p>
|
|
453
|
+
<ul>
|
|
454
|
+
<li>the steps it must take and before what, the tools and agents it may and may never use, its limits, and what a person
|
|
455
|
+
decides;</li>
|
|
456
|
+
<li>what its statements need behind them ("approved" needs an approval step that worked);</li>
|
|
457
|
+
<li>what each decision must have read first, the data it may and may never take in (personal data too), that the amounts
|
|
458
|
+
and ids it states are in its data, and what its reasons may cite;</li>
|
|
459
|
+
<li>in its <code>content</code> section, what the run's answer must be: rules code checks (its length, phrases it must and must never
|
|
460
|
+
say), whether every sentence rests on what it took in, and a rubric a judge scores.</li>
|
|
461
|
+
</ul>
|
|
462
|
+
<p>Each run is checked against it in two lenses: behaviour (required steps, allowed actions, limits, hand-over, statements)
|
|
463
|
+
and decisions and data (grounded decisions, data allowed, facts from its data, stated reasons, and instructions hidden in
|
|
464
|
+
data, which every run is checked for).</p>
|
|
465
|
+
<ul>
|
|
466
|
+
<li>A check fails a run only under an approved contract, and only once it is measured on labelled runs at the bar its
|
|
467
|
+
owner set; otherwise it warns.</li>
|
|
468
|
+
<li>A rubric's misses count only once the judge agrees with people's grades of 10 answers or more.</li>
|
|
469
|
+
<li>What a record cannot settle is "not known", never a pass.</li>
|
|
470
|
+
</ul>
|
|
471
|
+
<p><a href="../evidence/index.html#the-contract">docs/EVIDENCE.md</a> has the format, and <a href="../evidence/index.html">docs/EVIDENCE.md</a> the design
|
|
472
|
+
and the phases still to come.</p>
|
|
473
|
+
<p><strong>Seeing the records.</strong></p>
|
|
474
|
+
<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>
|
|
475
|
+
<p>Open the <strong>AI Assurance</strong> category in the sidebar:</p>
|
|
476
|
+
<ol>
|
|
477
|
+
<li><strong>Overview</strong>: each agent, its runs judged and where trust stands.</li>
|
|
478
|
+
<li><strong>Agent runs</strong>: each run as a timeline, with its verdict.</li>
|
|
479
|
+
<li><strong>Review queue</strong>: runs waiting for a person. On a run's page, a person grades the answer or overrules a finding, with a reason.</li>
|
|
480
|
+
<li><strong>Contracts</strong>: each contract, and how well each check is measured.</li>
|
|
481
|
+
<li><strong>Releases</strong>, <strong>Learn</strong> and <strong>Monitor</strong>: release gates per version, causes and fixes proven on replays, baselines and
|
|
482
|
+
trust.</li>
|
|
483
|
+
</ol>
|
|
484
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
485
|
+
<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 evidence runs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is recorded, newest first
|
|
486
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence show <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> one run: steps, inputs, decisions, statements, gaps
|
|
487
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence check --all</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each run against its agent's contract (exit 1 when one fails)
|
|
488
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence dashboard claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> per version: verdicts, checks, what keeps going wrong, by week; each number with its runs
|
|
489
|
+
</span></span></code></pre></div>
|
|
490
|
+
</div></div><p><strong>Recording, contracts and the rest.</strong> These are done at a terminal. Approving a contract, a harness, a verify file, a
|
|
491
|
+
proposal or a fix needs a person at a terminal who types its name or id.</p>
|
|
305
492
|
<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 evidence receive</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an agent's traces as it runs: prints the OTEL_* settings to give it
|
|
306
493
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence record langfuse-trace.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a Langfuse trace (GET /api/public/traces/<id>) or observations
|
|
307
494
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence record langsmith-runs.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> LangSmith runs (list_runs, or read_run with child runs)
|
|
308
495
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence record --latest</span><span class="pad"> </span><span class="cm"><span class="h">#</span> ForgeQE's own last session (--latest 5 for five)
|
|
309
496
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence record trace.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> an OpenTelemetry export: one record per trace
|
|
310
497
|
</span></span><span class="ln"><span class="cmd">forgeqe evidence record agent.jsonl --mapping mapping.yaml --content
|
|
311
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence runs</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is recorded, newest first
|
|
312
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence show <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> one run: steps, inputs, decisions, statements, gaps
|
|
313
498
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence contract new "claims-agent"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a contract to edit: what was agreed for the agent
|
|
314
499
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence contract approve claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person types its name; only then can its checks fail a run
|
|
315
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence check --all</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each run against its agent's contract (exit 1 when one fails)
|
|
316
500
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence measure</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how well each check is measured on labelled runs
|
|
317
501
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence findings <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> the findings as a file the agent reads to fix them
|
|
318
502
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence check <id2> --attempt-of <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> a fix attempt (two at most, then a person takes over)
|
|
319
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence overrule <id> <finding> --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person overrules one finding
|
|
503
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence overrule <id> <finding> --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person overrules one finding
|
|
320
504
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence judge <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> a model reads the answer: grounded in its inputs, and the owner's rubric
|
|
321
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence grade <id> R2 misses --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person grades the answer
|
|
505
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence grade <id> R2 misses --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person grades the answer
|
|
322
506
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence calibrate claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> how often the rubric's judge agrees with people's grades
|
|
323
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence dashboard claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> per version: verdicts, checks, what keeps going wrong, by week; each number with its runs
|
|
324
507
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence causes <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> where each open finding may come from: its instructions, a tool, its data
|
|
325
508
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence replay-kit <id> H1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the change to make for a replay, as data for your harness
|
|
326
509
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence replay <id> H1 <r1> <r2> <r3></span><span class="pad"> </span><span class="cm"><span class="h">#</span> the replays: proven when the finding is gone in 3 and nothing else broke
|
|
327
510
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence learn claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> proposals: guidance from rules broken again and again, fixes from proven causes
|
|
328
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence decide claims-agent <proposal> approve --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person decides
|
|
511
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence decide claims-agent <proposal> approve --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person decides
|
|
329
512
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence guidance claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what was approved, as Markdown to put into the agent
|
|
330
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence baseline claims-agent --reason "released 2.2.0"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person keeps the baseline
|
|
513
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence baseline claims-agent --reason "released 2.2.0"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person keeps the baseline
|
|
331
514
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence drift --all --notify</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the nightly job: what changed since each baseline (exit 1 on an alert)
|
|
332
515
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence trust claims-agent assist --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> grant a level, never above what its evidence supports
|
|
333
516
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence audit claims-agent --out claims.audit.json</span><span class="pad"> </span><span class="cm"><span class="h">#</span> every decision with its evidence and approver
|
|
@@ -338,115 +521,193 @@ agent took in is kept as a fingerprint unless you ask for its content (<code>--c
|
|
|
338
521
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence verify approve orders-api</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person approves how a repository is built and tested clean
|
|
339
522
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence build-check orders-api --base main --head agent/fix-123 --run <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> the change built and tested, test by test
|
|
340
523
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence trajectory claims-agent storm-roof --version 2.2.0</span><span class="pad"> </span><span class="cm"><span class="h">#</span> each run's path against the scenario's, step by step
|
|
341
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0</span><span class="pad"> </span><span class="cm"><span class="h">#</span> scenario by scenario, with run-to-run noise said
|
|
342
524
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence draft claims-agent --from jira:SHOP-12 --defect jira:SHOP-40</span><span class="pad"> </span><span class="cm"><span class="h">#</span> scenarios drafted from acceptance criteria and defects
|
|
343
525
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence draft --run <id></span><span class="pad"> </span><span class="cm"><span class="h">#</span> a run that failed, drafted as a scenario by code
|
|
344
526
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence draft support-agent --from-product --about shipped,refund</span><span class="pad"> </span><span class="cm"><span class="h">#</span> scenarios from the product graph's business rules
|
|
345
527
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence drafts accept <draft> --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person adds a draft to the suite (or reject), typing its id
|
|
346
528
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence fix <id> H1</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the cause's instruction added to a copy of the agent's prompt, proven by the harness
|
|
347
529
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence fix apply <fix> --reason "why"</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a person applies a proven fix (typing its id); nothing is committed
|
|
348
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence demo ~/evidence-demo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a demo project
|
|
530
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence demo ~/evidence-demo</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a demo project filling every Evidence page (then forgeqe web there)
|
|
349
531
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence ci orders-api --base origin/main --report report.md --sarif out.sarif</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the pull request check
|
|
350
532
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence ci init github</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the pipeline that runs it on every pull request (or azure)
|
|
351
533
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence scenarios claims-agent</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the scenario suite's requests, to run through a version
|
|
352
|
-
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the release gate (exit 1 when held)
|
|
534
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe evidence release claims-agent --candidate 2.2.0 --live 2.1.0</span><span class="pad"> </span><span class="cm"><span class="h">#</span> the release gate, scenario by scenario, with run-to-run noise said (exit 1 when held)
|
|
353
535
|
</span></span><span class="ln"><span class="cmd">forgeqe evidence product-check orders-api --base main --run <id>
|
|
354
536
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> an agent's change against the product graph (rules, architecture,
|
|
355
537
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> dependencies, regression, security), kept beside its run; and against
|
|
356
538
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> its work items' acceptance criteria (--work-item ado:123,jira:SHOP-12,
|
|
357
539
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> else the ids its commits name), read by the model, quotes checked
|
|
358
540
|
</span></span></code></pre></div>
|
|
359
|
-
<p>A <strong>contract</strong> (<code>.forgeqe/evidence/contracts/<name>.yaml</code>) says what an agent's owner agreed: the steps it must take
|
|
360
|
-
and before what, the tools and agents it may use and never may, its limits, what a person decides, and what its
|
|
361
|
-
statements need behind them ("approved" needs an approval step that worked); and what each decision must have read
|
|
362
|
-
first, the data it may and may never take in (personal data too), that the amounts and ids it states are in its data,
|
|
363
|
-
and what its reasons may cite. Each run is checked against it in two lenses, behaviour (required steps, allowed
|
|
364
|
-
actions, limits, hand-over, statements) and decisions and data (grounded decisions, data allowed, facts from its data,
|
|
365
|
-
stated reasons, and instructions hidden in data, which every run is checked for). A contract's <code>content</code> section says
|
|
366
|
-
what the run's answer must be: rules code checks (its length, phrases it must and must never say), whether every
|
|
367
|
-
sentence rests on what it took in, and a rubric a judge scores; the rubric's misses count only once the judge agrees with
|
|
368
|
-
people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
|
|
369
|
-
once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
|
|
370
|
-
"not known", never a pass. <a href="../evidence/index.html#the-contract">docs/EVIDENCE.md</a> has the format.</p>
|
|
371
|
-
<p>In <code>forgeqe web</code> the <strong>AI Assurance</strong> category has the Overview (each agent), Agent runs (each run as a timeline, with its
|
|
372
|
-
verdict) and Contracts (each contract, and how well each check is measured).
|
|
373
|
-
<a href="../evidence/index.html">docs/EVIDENCE.md</a> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
|
|
374
541
|
</div></section>
|
|
375
|
-
<section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Quill, the reviewer, and the browser agent each keep their own
|
|
376
|
-
|
|
542
|
+
<section class="doc sub" id="doc-how_to_use-the-models-context-window"><h4>The model's context window</h4><div class="prose"><p>Each agent has its own context: ForgeQE's agent, Quill, the reviewer, and the browser agent each keep their own
|
|
543
|
+
conversation with the model. When a conversation nears the model's window, it is compacted: the conversation so far is
|
|
544
|
+
summarised to make room, the activity says so, and details from early on may be gone. The browser agent never compacts:
|
|
545
|
+
it keeps its last steps only.</p>
|
|
546
|
+
<p><strong>Seeing how full it is.</strong></p>
|
|
547
|
+
<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>
|
|
548
|
+
<ol>
|
|
549
|
+
<li>Open a chat.</li>
|
|
550
|
+
<li>In the chat's side panel, each agent that worked shows <strong>Context N% full</strong>, with its tokens of the model's window.</li>
|
|
551
|
+
</ol>
|
|
552
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
553
|
+
<p>In the shell, the Context panel shows the working agent's context (or the last one to call the model), named on its
|
|
554
|
+
Agent row, as a share of what it can hold before it is compacted.</p>
|
|
555
|
+
</div></div><p><strong>Each model's window.</strong> ForgeQE takes each model's window from its name (GPT-5: 400K, of which a prompt may take 272K;
|
|
556
|
+
GPT-4.1: 1M; GPT-4o: 128K; o-series and Claude: 200K; Gemini: 1M; anything else: 200K), and compacts at that window less
|
|
557
|
+
room for the answer. Where a deployment or server allows less, say so.</p>
|
|
558
|
+
<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>
|
|
559
|
+
<ol>
|
|
560
|
+
<li>Open <strong>Settings › Models</strong> and edit an Ollama model.</li>
|
|
561
|
+
<li>Set its <strong>Context window</strong> in tokens.</li>
|
|
562
|
+
</ol>
|
|
563
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
564
|
+
<p>Set <code>"context"</code> on the profile in <code>llms.json</code> (any provider):</p>
|
|
377
565
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>json</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">"ollama-llama": { "provider": "ollama", "model": "llama3.2", "endpoint": "http://127.0.0.1:11434/v1", "context": 32768 }
|
|
378
566
|
</span></span></code></pre></div>
|
|
379
|
-
|
|
567
|
+
</div></div><p><strong>For Ollama this matters.</strong> A prompt longer than the server's context length is cut from the start without an error.
|
|
568
|
+
Without a context window set, ForgeQE assumes 32K for an Ollama model; start the server with <code>OLLAMA_CONTEXT_LENGTH</code> set to
|
|
569
|
+
the same number.</p>
|
|
380
570
|
</div></section>
|
|
381
|
-
<section class="doc sub" id="doc-how_to_use-signing-in-to-your-tools"><h4>Signing in to your tools</h4><div class="prose"><p>Instead of copying tokens into <code>.env</code>, sign in once and ForgeQE saves the token in your system's credential store: the
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
<
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
variable's name (and a JSON field, for a secret that holds JSON) and Pull: the value goes from the vault straight to
|
|
395
|
-
the credential store. Pull all again reads each one's newest value. Vault connections are kept on this computer for
|
|
396
|
-
this project (<code>~/.forgeqe/secrets</code>), never in the repository, so a repository cannot make ForgeQE read your vault; a
|
|
397
|
-
value is read only when you pull it. ForgeQE calls only the provider's own https address, follows no redirect, and an
|
|
398
|
-
error never repeats what the provider sent.</p>
|
|
399
|
-
<p>To give teammates the same vaults, <strong>Export</strong> on the Vaults tab saves a file of the connections (<code>forgeqe-vaults.json</code>):
|
|
400
|
-
each vault's provider, place and how it signs in (key variables by name), and which vault secret each variable is
|
|
401
|
-
pulled from. It holds no value, token or time, so it can be shared. A teammate's <strong>Import</strong> checks every vault again,
|
|
402
|
-
keeps a vault they already have by that name as it is (one that differs is skipped, never replaced), and lists each
|
|
403
|
-
secret to pull on Saved as "not pulled yet": they sign in with their own account and press Pull. A file that holds
|
|
404
|
-
anything but connections is refused whole.</p>
|
|
405
|
-
<p><strong>Repository tokens.</strong> The git repositories ForgeQE clones (Tosca exports, a migration's source, the product's
|
|
406
|
-
repositories) sign in with a personal access token named by its variable. They are secrets like the others: Settings ›
|
|
407
|
-
Secrets › <strong>Repository tokens</strong> (a filter of its Saved list) shows each one by name, saved by ForgeQE (Edit, Remove)
|
|
408
|
-
or set in your shell, with what uses it, and first the ones a clone or product repository needs that have no value
|
|
409
|
-
yet. Add a token saves its value straight to the credential store; the page never shows it again, and the agents see
|
|
410
|
-
only its name. The old address <code>#/settings/repo-tokens</code> opens this filter. A name is capital letters,
|
|
411
|
-
digits and <code>_</code> (<code>GITHUB_TOKEN</code>, <code>AZURE_DEVOPS_PAT</code>); names that change how programs start, <code>GIT_*</code> among them, are
|
|
412
|
-
refused. Give each token read access to the repositories only.</p>
|
|
571
|
+
<section class="doc sub" id="doc-how_to_use-signing-in-to-your-tools"><h4>Signing in to your tools</h4><div class="prose"><p>Instead of copying tokens into <code>.env</code>, sign in once and ForgeQE saves the token in your system's credential store: the
|
|
572
|
+
macOS Keychain, Windows Credential Manager, or the Secret Service keyring on Linux. On a machine without one, such as a
|
|
573
|
+
headless Linux box, it uses <code>~/.forgeqe/credentials.json</code>, readable only by you.</p>
|
|
574
|
+
<p><strong>Signing in to a system.</strong></p>
|
|
575
|
+
<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>
|
|
576
|
+
<ol>
|
|
577
|
+
<li>Open <strong>Settings › Integrations</strong> (or <strong>Settings › MCP servers</strong>).</li>
|
|
578
|
+
<li>Press <strong>Edit</strong> on the system's card.</li>
|
|
579
|
+
<li>Under <strong>Sign-in</strong>, press <strong>Sign in</strong>, and answer its questions on the page. A token goes into a password field and
|
|
580
|
+
never comes back; the page to open is shown as a link.</li>
|
|
581
|
+
<li><strong>Sign out</strong> removes the sign-in.</li>
|
|
582
|
+
</ol>
|
|
583
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
413
584
|
<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 auth login</span><span class="pad"> </span><span class="cm"><span class="h">#</span> pick a system
|
|
414
585
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth login jira</span><span class="pad"> </span><span class="cm"><span class="h">#</span> or name it: azure_devops, github, copilot, jira, confluence, testrail, zephyr, qtest, xray,
|
|
415
586
|
</span></span><span class="ln ln--more"><span class="pad"> </span><span class="cm"><span class="h">#</span> browserstack, testmu, gitlab, postman, sentry, azure, dataverse
|
|
416
587
|
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe auth</span><span class="pad"> </span><span class="cm"><span class="h">#</span> what is signed in, and how
|
|
417
588
|
</span></span><span class="ln"><span class="cmd">forgeqe auth logout jira
|
|
418
589
|
</span></span></code></pre></div>
|
|
419
|
-
<p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed
|
|
590
|
+
<p>In the shell, type <code>/auth jira</code> (or <code>/auth</code> alone for the status). Tokens are typed unseen, shown as dots, and never
|
|
591
|
+
sent to the agent.</p>
|
|
592
|
+
</div></div><p><strong>How each system signs in.</strong></p>
|
|
420
593
|
<div class="tbl tbl--cols-2"><table>
|
|
421
594
|
<thead>
|
|
422
595
|
<tr><th>System</th><th>How you sign in</th></tr>
|
|
423
596
|
</thead>
|
|
424
597
|
<tbody>
|
|
425
598
|
<tr><td data-label="System">Azure DevOps</td><td data-label="How you sign in"><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>); ForgeQE saves nothing, and the Azure CLI renews the sign-in. Or paste a personal access token: the token page opens with the scopes to tick. Azure DevOps Server (on-premises) uses a personal access token.</td></tr>
|
|
426
|
-
<tr><td data-label="System">GitHub</td><td data-label="How you sign in"><strong>Sign in with GitHub in the browser</strong> through the GitHub CLI (<code>gh auth login</code>): ForgeQE shows the one-time code and opens the page. Or paste a token. Needs <code>gh</code> installed.
|
|
427
|
-
<tr><td data-label="System">GitHub Copilot</td><td data-label="How you sign in"><
|
|
599
|
+
<tr><td data-label="System">GitHub</td><td data-label="How you sign in"><strong>Sign in with GitHub in the browser</strong> through the GitHub CLI (<code>gh auth login</code>): ForgeQE shows the one-time code and opens the page. Or paste a token. Needs <code>gh</code> installed. The Copilot sign-in can use this sign-in for a Copilot model.</td></tr>
|
|
600
|
+
<tr><td data-label="System">GitHub Copilot</td><td data-label="How you sign in"><strong>Sign in with GitHub in the browser</strong> (GitHub's own Copilot sign-in), or paste a fine-grained token with the Copilot Requests permission. ForgeQE checks it with Copilot and lists the models your seat has. In the web app it is on <strong>Settings › Models</strong>; see <a href="index.html#doc-how_to_use-github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>.</td></tr>
|
|
428
601
|
<tr><td data-label="System">Jira, Confluence</td><td data-label="How you sign in">Jira Cloud: <strong>Sign in with Atlassian in the browser</strong>, for Atlassian's Rovo MCP server (Jira and Confluence tools for ForgeQE's agent), or an API token. ForgeQE's own Jira calls (finding and running test cases, posting results) still need the API token. Otherwise your Atlassian API tokens page opens (Cloud) or your personal access tokens page (Server/Data Center); create one and paste it. Confluence on the same Cloud site as Jira reuses the Jira sign-in.</td></tr>
|
|
429
602
|
<tr><td data-label="System">TestMu AI</td><td data-label="How you sign in"><strong>Sign in in the browser</strong> for its MCP server (it takes no key), or paste the user name and access key for remote browsers and devices.</td></tr>
|
|
430
603
|
<tr><td data-label="System">GitLab, Sentry, Postman, BrowserStack</td><td data-label="How you sign in"><strong>Sign in in the browser</strong>, with the system's own sign-in, for its MCP server; or paste a token or key. The browser sign-in is GitLab's (GitLab.com or your own), Sentry's (sentry.io), Postman's (US) and BrowserStack's: self-hosted Sentry and Postman's EU server take a token only. BrowserStack's remote browsers still need the user name and access key.</td></tr>
|
|
431
604
|
<tr><td data-label="System">Azure</td><td data-label="How you sign in"><strong>Sign in with Microsoft in the browser</strong> through the Azure CLI (<code>az login</code>), for Microsoft's Azure MCP server.</td></tr>
|
|
432
|
-
<tr><td data-label="System">Dataverse</td><td data-label="How you sign in"><strong>Sign in with Microsoft in the browser</strong> through the Dataverse CLI
|
|
605
|
+
<tr><td data-label="System">Dataverse</td><td data-label="How you sign in"><strong>Sign in with Microsoft in the browser</strong> through the Dataverse CLI, for the environment <code>integrations.dataverse.url</code> names.</td></tr>
|
|
433
606
|
<tr><td data-label="System">TestRail, Zephyr Scale, qTest, Xray Cloud</td><td data-label="How you sign in">The page with your API key opens, or ForgeQE says where to find it; paste it.</td></tr>
|
|
434
|
-
<tr><td data-label="System">Anything else</td><td data-label="How you sign in"
|
|
607
|
+
<tr><td data-label="System">Anything else</td><td data-label="How you sign in">Any variable name saves that one secret: a model key, a Teams webhook URL, an SMTP or saved-login password. In the web app, <strong>Settings › Secrets</strong>, <strong>Add a secret</strong>; at the terminal, <code>forgeqe auth login OPENAI_API_KEY</code>.</td></tr>
|
|
435
608
|
</tbody>
|
|
436
609
|
</table></div>
|
|
437
|
-
<p><strong>Browser sign-ins of MCP servers.</strong> GitLab, Sentry, Postman, BrowserStack, TestMu AI and Atlassian's Rovo server
|
|
438
|
-
|
|
439
|
-
<
|
|
610
|
+
<p><strong>Browser sign-ins of MCP servers.</strong> GitLab, Sentry, Postman, BrowserStack, TestMu AI and Atlassian's Rovo server open the
|
|
611
|
+
system's own sign-in page in your browser and return to ForgeQE on this computer. Every address involved must be https.</p>
|
|
612
|
+
<ul>
|
|
613
|
+
<li>The tokens are kept in the credential store and renewed before each session.</li>
|
|
614
|
+
<li>A sign-in is used only with the server it was given for, so changing the GitLab address needs a new sign-in.</li>
|
|
615
|
+
<li>Signing out removes it; the system may still list ForgeQE among your authorized apps until you revoke it there.</li>
|
|
616
|
+
<li>A token variable, when set, is used instead.</li>
|
|
617
|
+
</ul>
|
|
618
|
+
<p>ForgeQE's own Jira and Confluence calls use API tokens, which are what Atlassian recommends for scripts and tools:
|
|
619
|
+
Atlassian's sign-in for its REST API needs a client secret, which a command-line tool cannot keep secret.</p>
|
|
620
|
+
<p><strong>Which value wins.</strong> Each token is checked against the system before it is saved, and the system is switched on: a saved
|
|
621
|
+
Jira sign-in sets the site URL too, so <code>sources.jira</code> is not needed in <code>forgeqe.yaml</code>. Saved values go in under the
|
|
622
|
+
variable names the config already reads (<code>JIRA_API_TOKEN</code>, <code>ADO_PAT</code>, ...). A variable exported in the terminal is used
|
|
623
|
+
before a saved sign-in, and a saved sign-in before a <code>.env</code> file, so pipelines keep using their secrets. The shell
|
|
624
|
+
commands the agents run never see the saved secrets.</p>
|
|
625
|
+
<p><strong>Secrets.</strong> <strong>Settings › Secrets</strong> lists every password, key and token ForgeQE keeps in your credential store, by name:
|
|
626
|
+
typed in Settings, pulled from a vault, or kept by a sign-in (removed by signing out of it). ForgeQE never shows a value
|
|
627
|
+
again, and the agents see only its name. Agents and tests use a secret by its name: in a sign-in (<code>logins:</code>), an
|
|
628
|
+
environment's <code>secrets:</code>, or a test's variables (model-run shells never get one a test does not read).</p>
|
|
629
|
+
<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>
|
|
630
|
+
<ol>
|
|
631
|
+
<li>Open <strong>Settings › Secrets</strong>, <strong>Saved</strong> tab.</li>
|
|
632
|
+
<li>Press <strong>Add a secret</strong>, type its <strong>Name</strong> (capital letters, digits and <code>_</code>) and its value. The value goes one way, to
|
|
633
|
+
the credential store.</li>
|
|
634
|
+
<li>Press <strong>Edit</strong> on a secret to replace or remove it.</li>
|
|
635
|
+
</ol>
|
|
636
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
637
|
+
<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 auth login SHOP_PASSWORD</span><span class="pad"> </span><span class="cm"><span class="h">#</span> saves that one secret in the credential store
|
|
638
|
+
</span></span></code></pre></div>
|
|
639
|
+
</div></div><p><strong>Repository tokens.</strong> The git repositories ForgeQE clones (Tosca exports, a migration's source, the product's
|
|
640
|
+
repositories) sign in with a personal access token named by its variable. They are secrets like the others.</p>
|
|
641
|
+
<ul>
|
|
642
|
+
<li>A name is capital letters, digits and <code>_</code> (<code>GITHUB_TOKEN</code>, <code>AZURE_DEVOPS_PAT</code>). Names that change how programs start,
|
|
643
|
+
<code>GIT_*</code> among them, are refused.</li>
|
|
644
|
+
<li>A token set only in your shell is listed, and never removed there.</li>
|
|
645
|
+
<li>Give each token read access to the repositories only.</li>
|
|
646
|
+
</ul>
|
|
647
|
+
<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>
|
|
648
|
+
<ol>
|
|
649
|
+
<li>Open <strong>Settings › Secrets</strong> and pick the <strong>Repository tokens</strong> filter of the <strong>Saved</strong> list. It shows each token by
|
|
650
|
+
name, with what uses it, and first the ones a clone or product repository needs that have no value yet.</li>
|
|
651
|
+
<li>Press <strong>Add a token</strong> and type its name and value; or <strong>Edit</strong> or remove one ForgeQE saved.</li>
|
|
652
|
+
</ol>
|
|
653
|
+
<p>The old address <code>#/settings/repo-tokens</code> opens this filter.</p>
|
|
654
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
655
|
+
<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 auth login GITHUB_TOKEN
|
|
656
|
+
</span></span></code></pre></div>
|
|
657
|
+
</div></div><p><strong>Vaults.</strong> ForgeQE can pull secrets from Azure Key Vault (a vault's name), Google Secret Manager (a project) and AWS
|
|
658
|
+
Secrets Manager (a region). This is done in the web app only.</p>
|
|
659
|
+
<ul>
|
|
660
|
+
<li><strong>Signing in with your browser</strong> (recommended): <strong>Sign in</strong> starts the provider's own browser sign-in on this computer
|
|
661
|
+
(<code>az login</code>, <code>gcloud auth login</code>, or <code>aws sso login</code> for an SSO profile set up once with <code>aws configure sso</code>; AWS CLI
|
|
662
|
+
2.9 or later), showing its link and one-time code when there is one. The cloud's CLI keeps the sign-in and renews it;
|
|
663
|
+
ForgeQE saves nothing.</li>
|
|
664
|
+
<li><strong>Signing in with keys</strong>, for a computer with nobody to sign in, such as a build agent: keys that are themselves saved
|
|
665
|
+
secrets (a service principal's tenant, client id and secret; a service account's JSON key; access keys).</li>
|
|
666
|
+
<li>Vault connections are kept on this computer for this project (<code>~/.forgeqe/secrets</code>), never in the repository, so a
|
|
667
|
+
repository cannot make ForgeQE read your vault. A value is read only when you pull it.</li>
|
|
668
|
+
</ul>
|
|
669
|
+
<ol>
|
|
670
|
+
<li>Open <strong>Settings › Secrets</strong>, <strong>Vaults</strong> tab, and press <strong>Add a vault</strong>.</li>
|
|
671
|
+
<li>On the vault's row, check whether ForgeQE can sign in, and press <strong>Sign in</strong> if needed.</li>
|
|
672
|
+
<li>Press <strong>Browse</strong> to list the vault's secret names (never a value). Pick one, give it a variable's name (and a JSON
|
|
673
|
+
field, for a secret that holds JSON) and press <strong>Pull secret</strong>: the value goes from the vault straight to the
|
|
674
|
+
credential store.</li>
|
|
675
|
+
<li>On the <strong>Saved</strong> tab, <strong>Pull all again</strong> reads each pulled secret's newest value.</li>
|
|
676
|
+
</ol>
|
|
677
|
+
<p><strong>Sharing vault connections.</strong> <strong>Export</strong> on the <strong>Vaults</strong> tab saves a file of the connections (<code>forgeqe-vaults.json</code>):
|
|
678
|
+
each vault's provider, place and how it signs in (key variables by name), and which vault secret each variable is pulled
|
|
679
|
+
from. It holds no value, token or time, so it can be shared. A teammate's <strong>Import</strong> checks every vault again and keeps a
|
|
680
|
+
vault they already have by that name as it is (one that differs is skipped, never replaced). It lists each secret to pull
|
|
681
|
+
on <strong>Saved</strong> as "not pulled yet": they sign in with their own account and press <strong>Pull</strong>. A file that holds anything but
|
|
682
|
+
connections is refused whole.</p>
|
|
440
683
|
</div></section>
|
|
441
|
-
<section class="doc sub" id="doc-how_to_use-choosing-the-model-and-the-browser"><h4>Choosing the model and the browser</h4><div class="prose"><p><
|
|
684
|
+
<section class="doc sub" id="doc-how_to_use-choosing-the-model-and-the-browser"><h4>Choosing the model and the browser</h4><div class="prose"><p><strong>Choosing the model in use.</strong></p>
|
|
685
|
+
<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>
|
|
686
|
+
<ol>
|
|
687
|
+
<li>Open <strong>Settings › Models</strong>.</li>
|
|
688
|
+
<li>Pick the model under <strong>Default model</strong>, or set <strong>Profile in use</strong> to override the default.</li>
|
|
689
|
+
</ol>
|
|
690
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
691
|
+
<p>In <code>forgeqe.yaml</code>:</p>
|
|
442
692
|
<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:
|
|
443
693
|
</span></span><span class="ln"><span class="cmd"> models_file: ./llms.json
|
|
444
694
|
</span></span><span class="ln"><span class="cmd"> active: azure-gpt4o
|
|
445
695
|
</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 | shadow | auto: each area of work gets the model it needs
|
|
446
696
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> routes: # limit or pin an area: browser: [gpt4o, gpt54], coding: gpt54
|
|
447
697
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> agents: # an agent's own default model: forgeqe: gpt54, engine: gpt4o, forgeqe-test: gpt54
|
|
448
|
-
</span></span
|
|
449
|
-
</
|
|
698
|
+
</span></span></code></pre></div>
|
|
699
|
+
<p><code>--profile</code> picks another model for one command.</p>
|
|
700
|
+
</div></div><p><strong>Setting up the browser.</strong></p>
|
|
701
|
+
<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>
|
|
702
|
+
<ol>
|
|
703
|
+
<li>Open <strong>Settings › Browser</strong>.</li>
|
|
704
|
+
<li>Set <strong>Browser</strong> (Chrome on this machine, Chrome in Docker, BrowserStack, TestMu AI), <strong>Local browser</strong>, <strong>How it
|
|
705
|
+
starts</strong>, <strong>Start page</strong>, <strong>Allowed sites</strong>, <strong>Run without a window</strong>, <strong>Visible window</strong>, <strong>Show what the agent
|
|
706
|
+
does</strong>, <strong>Steps before a checkpoint</strong>, <strong>Time limit per run</strong>, <strong>Record a video</strong> and <strong>Second check of each result</strong>.</li>
|
|
707
|
+
</ol>
|
|
708
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
709
|
+
<p>In <code>forgeqe.yaml</code>:</p>
|
|
710
|
+
<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">browser:
|
|
450
711
|
</span></span><span class="ln"><span class="cmd"> headless: true
|
|
451
712
|
</span></span><span class="ln ln--pair"><span class="cmd"> max_steps: 40</span><span class="pad"> </span><span class="cm"><span class="h">#</span> a checkpoint: a run still making progress carries on, up to 3x
|
|
452
713
|
</span></span><span class="ln"><span class="cmd"> timeout_seconds: 600
|
|
@@ -458,22 +719,57 @@ refused. Give each token read access to the repositories only.</p>
|
|
|
458
719
|
</span></span><span class="ln ln--pair"><span class="cmd"> video: true</span><span class="pad"> </span><span class="cm"><span class="h">#</span> video.mp4 of each run, shown in its report
|
|
459
720
|
</span></span><span class="ln ln--note"><span class="pad"> </span><span class="cm"><span class="h">#</span> start_url: https://staging.example.com
|
|
460
721
|
</span></span></code></pre></div>
|
|
461
|
-
|
|
722
|
+
</div></div><p><strong>Reaching a limit.</strong> A run that reaches <code>max_steps</code> (after carrying on while it makes progress) or <code>timeout_seconds</code>
|
|
462
723
|
asks whether to carry on when someone can answer: in a chat, on the web app's pages, or in a terminal (<code>--yes</code> does not
|
|
463
|
-
ask)
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
<
|
|
472
|
-
|
|
473
|
-
<
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
<p><
|
|
724
|
+
ask).</p>
|
|
725
|
+
<ul>
|
|
726
|
+
<li><strong>Carry on</strong> gives it as many steps, or as long, again. The browser stays open and paused while it asks, and the time
|
|
727
|
+
spent waiting does not count.</li>
|
|
728
|
+
<li><strong>Stop</strong> ends it there, keeping everything it did (its steps, screenshots, report and what it recorded, such as an
|
|
729
|
+
accessibility persona's barriers). No answer in 10 minutes is a stop.</li>
|
|
730
|
+
<li>A run nobody can be asked about (a schedule, CI, <code>--yes</code>) stops at its limit. A run that stops at a limit is not
|
|
731
|
+
counted as passed.</li>
|
|
732
|
+
<li>A run that has made no progress by a checkpoint (its recent steps all failed) asks the same way before it stops: you
|
|
733
|
+
may know the page is slow or the form is long.</li>
|
|
734
|
+
<li><code>code.max_tokens</code> asks the same way for the coding agent and Link. <code>forgeqe suite</code> in a terminal asks too, for each
|
|
735
|
+
case's browser run and coding job, one question at a time when cases run side by side.</li>
|
|
736
|
+
</ul>
|
|
737
|
+
<p><strong>A second check.</strong> <code>judge</code> is off by default. When it is on, one more model call reads the finished run's steps and
|
|
738
|
+
screenshots and can fail a run the agent completed, for example when five scores were read off one results page rather
|
|
739
|
+
than one step per item. That strictness sent runs into loops of re-checking, so turn it on only when you want that second
|
|
740
|
+
opinion.</p>
|
|
741
|
+
<p><strong>Waiting for a page.</strong> Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that
|
|
742
|
+
stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
|
|
743
|
+
<p><strong>A visible browser.</strong> With a visible browser (<code>headless: false</code> or <code>--headed</code>), ForgeQE opens on its own start page.
|
|
744
|
+
Every page it drives gets a glowing edge and a bar along the bottom showing, in plain words, what the step is for and what
|
|
745
|
+
the agent is doing ("Step 19 · Check whether the results can be sorted by Fastest · Looking through the page's
|
|
746
|
+
buttons").</p>
|
|
747
|
+
<ul>
|
|
748
|
+
<li>Your mouse and keyboard are locked while the agent thinks and unlocked while it clicks and types, so a stray click
|
|
749
|
+
can't change the test.</li>
|
|
750
|
+
<li>None of this appears in the screenshots the model sees or in the report. <code>overlay: false</code> turns it off.</li>
|
|
751
|
+
<li><code>forgeqe login <name></code> shows the same bar without the lock, since you are the one signing in.</li>
|
|
752
|
+
</ul>
|
|
753
|
+
<p><strong>Window size and video.</strong> A visible browser opens maximized. <code>window: viewport</code> opens it at <code>viewport</code>'s width and height
|
|
754
|
+
instead; a headless page is always that size (1280×800 by default). Each run is recorded to <code>video.mp4</code> in its run folder,
|
|
755
|
+
and the report plays it on the run's page; <code>video: false</code> turns recording off. <code>forgeqe setup</code> adds what the video needs
|
|
756
|
+
(an engine set up before this version gets it on its next run).</p>
|
|
757
|
+
<p><strong>Which local browser.</strong> <code>local_browser</code> picks the browser on this computer: <code>auto</code> (the default) starts installed Chrome,
|
|
758
|
+
then Microsoft Edge, then Playwright's Chromium when one does not start; <code>chrome</code>, <code>edge</code> or <code>chromium</code> starts that one
|
|
759
|
+
only. <code>launch</code> says how:</p>
|
|
760
|
+
<ul>
|
|
761
|
+
<li><code>auto</code> (the default) starts it directly and, when this computer stops a browser started that way, through Playwright,
|
|
762
|
+
and remembers what worked;</li>
|
|
763
|
+
<li><code>direct</code> or <code>playwright</code>: only that way;</li>
|
|
764
|
+
<li><code>attach</code> connects to a browser you started on this computer with <code>--remote-debugging-port</code>, on <code>attach_port</code> (for
|
|
765
|
+
example 9222).</li>
|
|
766
|
+
</ul>
|
|
767
|
+
<p>When the browser does not start, <code>forgeqe doctor browser</code> (at a terminal) tries each way and writes a report of what
|
|
768
|
+
stops it.</p>
|
|
769
|
+
<p><strong>Start page and allowed sites.</strong> <code>start_url</code> is optional. Leave it out and the agent picks the site from the goal;
|
|
770
|
+
ForgeQE never guesses a URL from the goal text. <code>allowed_hosts</code> empty allows every host. Set <code>["example.com"]</code> to keep the
|
|
771
|
+
browser on that domain and its subdomains. <code>prompts.step_instruction</code> is added to the browser agent's instructions; the
|
|
772
|
+
lines of <code>prompts.guiderails</code> are guardrails for every agent (see <a href="../area-setup/index.html#doc-how_to_use-guardrails">Guardrails</a>).</p>
|
|
477
773
|
</div></section>
|
|
478
774
|
</section>
|
|
479
775
|
|