@capagents/forgeqe 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +5003 -2077
- package/README.md +155 -449
- package/dist/docs-site/docs/app-theme.css +30 -9
- package/dist/docs-site/docs/architecture/index.html +45 -515
- package/dist/docs-site/docs/architecture-reference/index.html +1781 -0
- package/dist/docs-site/docs/area-api/index.html +257 -116
- package/dist/docs-site/docs/area-automated-tests/index.html +1229 -419
- package/dist/docs-site/docs/area-browser/index.html +167 -125
- package/dist/docs-site/docs/area-data/index.html +178 -188
- package/dist/docs-site/docs/area-desktop/index.html +329 -282
- package/dist/docs-site/docs/area-mobile/index.html +138 -86
- package/dist/docs-site/docs/area-operations/index.html +567 -393
- package/dist/docs-site/docs/area-pull-requests/index.html +114 -32
- package/dist/docs-site/docs/area-quality/index.html +111 -49
- package/dist/docs-site/docs/area-release/index.html +180 -65
- package/dist/docs-site/docs/area-setup/index.html +742 -339
- package/dist/docs-site/docs/area-systems/index.html +32 -48
- package/dist/docs-site/docs/area-test-cases/index.html +387 -154
- package/dist/docs-site/docs/containers/index.html +87 -101
- package/dist/docs-site/docs/cost-architecture/index.html +4 -3
- package/dist/docs-site/docs/custom-agents-first-run/index.html +108 -50
- package/dist/docs-site/docs/desktop/index.html +277 -297
- package/dist/docs-site/docs/desktop-ci/index.html +15 -5
- package/dist/docs-site/docs/docs-tabs.js +56 -0
- package/dist/docs-site/docs/evidence/index.html +50 -49
- package/dist/docs-site/docs/feature-test-prompts/index.html +34 -24
- package/dist/docs-site/docs/get-started/index.html +464 -168
- package/dist/docs-site/docs/graphify/index.html +8 -7
- package/dist/docs-site/docs/guardrails/index.html +20 -4
- package/dist/docs-site/docs/index.html +4 -3
- package/dist/docs-site/docs/mobile/index.html +96 -76
- package/dist/docs-site/docs/model-routing/index.html +44 -18
- package/dist/docs-site/docs/overview/index.html +23 -7
- package/dist/docs-site/docs/product-graph/index.html +13 -12
- package/dist/docs-site/docs/product-knowledge/index.html +16 -5
- package/dist/docs-site/docs/product-views/index.html +7 -6
- package/dist/docs-site/docs/reference/index.html +95 -65
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +444 -126
- package/dist/docs-site/docs/web-app/index.html +54 -51
- package/dist/forgeqe.js +1822 -1822
- package/dist/web/assets/Agent-3pV8Rwap.js +8 -0
- package/dist/web/assets/AgentWork-DAnmH0My.js +2 -0
- package/dist/web/assets/ApiTests-DW4MRFzG.js +10 -0
- package/dist/web/assets/Browse-Bd0ZZfc2.js +1 -0
- package/dist/web/assets/Chat-DnBUm_97.js +3 -0
- package/dist/web/assets/CommandPalette-B1O9aDTk.js +1 -0
- package/dist/web/assets/Compare-1v7_ca7z.js +1 -0
- package/dist/web/assets/Cost-CWrc4McH.js +1 -0
- package/dist/web/assets/Data-rWSiG4Cq.js +6 -0
- package/dist/web/assets/Desktop-3x6EQqos.js +1 -0
- package/dist/web/assets/DesktopReview-cSA10Rm3.js +1 -0
- package/dist/web/assets/Evidence-CKy3o7cw.js +1 -0
- package/dist/web/assets/{Explore-ObkEpUyS.js → Explore-CMAxWE_8.js} +2 -2
- package/dist/web/assets/Features-haQchkhA.js +1 -0
- package/dist/web/assets/{Flags-0-RniPJm.js → Flags-BaQjYi_t.js} +2 -2
- package/dist/web/assets/Flaky-DUuC0qTn.js +1 -0
- package/dist/web/assets/Impact-CP0H8ygo.js +3 -0
- package/dist/web/assets/Jobs-cYxoYd3i.js +5 -0
- package/dist/web/assets/KindPage-DWW8gN5_.js +6 -0
- package/dist/web/assets/Migration-Bsm7WU1d.js +2 -0
- package/dist/web/assets/PageAgent-c95zT2PJ.js +1 -0
- package/dist/web/assets/Product-BQSiR28a.js +7 -0
- package/dist/web/assets/Production-CAv0Vtoy.js +1 -0
- package/dist/web/assets/Quality-aQPaPYQc.js +1 -0
- package/dist/web/assets/Readiness-CkknP87n.js +1 -0
- package/dist/web/assets/Record-09IsC9U-.js +1 -0
- package/dist/web/assets/Regression-BL4MfN47.js +5 -0
- package/dist/web/assets/RelationGraph-Dg4fqt7l.js +1 -0
- package/dist/web/assets/Reports-CMV1l-iS.js +2 -0
- package/dist/web/assets/Response-DTBFBeKB.js +9 -0
- package/dist/web/assets/Responsive-DBRQ9FUO.js +3 -0
- package/dist/web/assets/RunDiff-CMDrnsA3.js +1 -0
- package/dist/web/assets/Runs-Dkeu6_vZ.js +2 -0
- package/dist/web/assets/Settings-KjKm8h-_.js +21 -0
- package/dist/web/assets/{Steps-D-YG0eJy.js → Steps-HYHK9psI.js} +1 -1
- package/dist/web/assets/TestCases-Cv6-OSv0.js +1 -0
- package/dist/web/assets/TestData-DbEfNlUE.js +2 -0
- package/dist/web/assets/TestDebt-DzHQIU4X.js +1 -0
- package/dist/web/assets/TestManagement-BgRTGHMT.js +1 -0
- package/dist/web/assets/Tosca-DZpHAtnH.js +3 -0
- package/dist/web/assets/WhatsNew-jp0c4WSV.js +1 -0
- package/dist/web/assets/coverage-BB9BLjGz.js +5 -0
- package/dist/web/assets/{dataParts-DbeCj9ga.js → dataParts-DEPK4eQE.js} +2 -2
- package/dist/web/assets/{diff-BStuTmsN.js → diff-CcNwLCX6.js} +1 -1
- package/dist/web/assets/{families-BBFFrUlo.js → families-gkpkloLT.js} +1 -1
- package/dist/web/assets/filters-C7phIFfd.js +1 -0
- package/dist/web/assets/fold-i73P-EDV.js +1 -0
- package/dist/web/assets/head-BtTqyLlj.js +1 -0
- package/dist/web/assets/{highlight-BcFZIf59.js → highlight-DZI39CzZ.js} +1 -1
- package/dist/web/assets/index-ClFOh63x.css +2 -0
- package/dist/web/assets/index-YGWJEkAT.js +64 -0
- package/dist/web/assets/input-C2vQ9O3a.js +1 -0
- package/dist/web/assets/logos-BmbNTDu2.js +1 -0
- package/dist/web/assets/palette-XFlqvgZl.js +1 -0
- package/dist/web/assets/{paletteCommands-Co-RlQ8q.js → paletteCommands-DsbD2ASU.js} +1 -1
- package/dist/web/assets/parts-DEVx2Sea.js +1 -0
- package/dist/web/assets/productParts-Bi-XjszL.js +1 -0
- package/dist/web/assets/qualityParts-Dbu01g7G.js +1 -0
- package/dist/web/assets/{recordTest-Cez2sDJO.js → recordTest--Wr40QdN.js} +1 -1
- package/dist/web/assets/route-Dg53WdFu.js +1 -0
- package/dist/web/index.html +6 -7
- package/docs/ARCHITECTURE.md +50 -563
- package/docs/ARCHITECTURE_REFERENCE.md +1484 -0
- package/docs/CONTAINERS.md +87 -87
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +125 -43
- package/docs/DESKTOP-CI.md +18 -3
- package/docs/DESKTOP.md +298 -297
- package/docs/MOBILE.md +103 -71
- package/docs/MODEL_ROUTING.md +48 -15
- package/docs/WEB_APP.md +49 -44
- package/docs/feature-test-prompts.md +29 -16
- package/docs/user-guide.html +5263 -2453
- package/guardrails/README.md +22 -2
- package/knowledge/README.md +15 -2
- package/package.json +1 -1
- package/prompts/brain.md +1 -0
- package/py/forgeqe_engine/recordsession.py +100 -24
- package/dist/web/assets/Agent-CPhmZdFX.js +0 -8
- package/dist/web/assets/AgentWork-BXdN9xgi.js +0 -2
- package/dist/web/assets/ApiTests-Do3xLjfB.js +0 -10
- package/dist/web/assets/Browse-WVkJT6Bs.js +0 -2
- package/dist/web/assets/Chat-CDc9UcQX.js +0 -3
- package/dist/web/assets/CommandPalette-BAZm62lV.js +0 -1
- package/dist/web/assets/Compare-Br6n9T9L.js +0 -1
- package/dist/web/assets/Cost-BBUyBu3Y.js +0 -1
- package/dist/web/assets/Data-Ch2DPEWp.js +0 -6
- package/dist/web/assets/Desktop-Qzoq-cQv.js +0 -1
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +0 -1
- package/dist/web/assets/Evidence-C72Lj5_Q.js +0 -1
- package/dist/web/assets/Features-CQzNo_WP.js +0 -1
- package/dist/web/assets/Flaky-BPJvNLCA.js +0 -1
- package/dist/web/assets/Impact-CfccsL_k.js +0 -3
- package/dist/web/assets/Jobs-T6m4zhDy.js +0 -5
- package/dist/web/assets/KindPage-BDUvWe2p.js +0 -6
- package/dist/web/assets/Migration-Dqeh4x5u.js +0 -2
- package/dist/web/assets/PageAgent-DNjzIgeY.js +0 -1
- package/dist/web/assets/Product-nYV_scOV.js +0 -7
- package/dist/web/assets/Production-CGSbEWVa.js +0 -1
- package/dist/web/assets/Quality-BIypojZm.js +0 -1
- package/dist/web/assets/Readiness-BlRjwJRg.js +0 -1
- package/dist/web/assets/Record-v2KLI-_Z.js +0 -1
- package/dist/web/assets/Regression-B-jSt4Jz.js +0 -5
- package/dist/web/assets/RelationGraph-8J98lOVG.js +0 -1
- package/dist/web/assets/Reports-GI4u6SyW.js +0 -2
- package/dist/web/assets/Response-mhBThq2b.js +0 -9
- package/dist/web/assets/Responsive-DXu7Ra7K.js +0 -3
- package/dist/web/assets/RunDiff-D0SHDNp0.js +0 -1
- package/dist/web/assets/Runs-C1Gjdi9M.js +0 -2
- package/dist/web/assets/Settings-BGGeuvyF.js +0 -21
- package/dist/web/assets/TestCases-DC4w77eQ.js +0 -1
- package/dist/web/assets/TestData-CvKWRVVV.js +0 -2
- package/dist/web/assets/TestDebt-D8YzN29_.js +0 -1
- package/dist/web/assets/TestManagement-C5cDCqrD.js +0 -1
- package/dist/web/assets/Tosca-BGUv3RiJ.js +0 -3
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +0 -1
- package/dist/web/assets/coverage-BMP6ELFJ.js +0 -5
- package/dist/web/assets/filters-CnAMr286.js +0 -1
- package/dist/web/assets/fold-D_O_VZui.js +0 -1
- package/dist/web/assets/head-CRo48rPt.js +0 -1
- package/dist/web/assets/index-B3JsM7tv.js +0 -64
- package/dist/web/assets/index-CafApcbZ.css +0 -2
- package/dist/web/assets/input-CtzK50ZF.js +0 -1
- package/dist/web/assets/line-icons-rdF8DYDJ.js +0 -1
- package/dist/web/assets/logos-D4oVWzqa.js +0 -1
- package/dist/web/assets/palette-DAaGSao7.js +0 -1
- package/dist/web/assets/parts-D357Wolo.js +0 -1
- package/dist/web/assets/productParts-B8oHRCJF.js +0 -1
- package/dist/web/assets/qualityParts-BLkmIfDY.js +0 -1
- package/dist/web/assets/route-BloYJWgw.js +0 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<link rel="stylesheet" href="../docs.css">
|
|
12
12
|
<script src="../search.js" defer></script>
|
|
13
13
|
<script src="../docs.js" defer></script>
|
|
14
|
+
<script src="../docs-tabs.js" defer></script>
|
|
14
15
|
<link rel="stylesheet" href="../../app-look.css">
|
|
15
16
|
<link rel="stylesheet" href="../app-theme.css">
|
|
16
17
|
</head>
|
|
@@ -112,11 +113,11 @@
|
|
|
112
113
|
<div class="container docs-layout">
|
|
113
114
|
<nav class="docs-side" aria-label="Docs">
|
|
114
115
|
<a class="side-home" href="../index.html" aria-current="page"><svg class="pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs home</a>
|
|
115
|
-
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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="index.html" aria-current="page"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
116
|
+
<div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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="index.html" aria-current="page"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div>
|
|
116
117
|
</nav>
|
|
117
118
|
<main id="main" class="docs-main guide chapter-page">
|
|
118
119
|
<p class="crumbs"><a href="../index.html">Docs</a><span>/</span>Setup and operations</p>
|
|
119
|
-
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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="index.html" aria-current="page"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li
|
|
120
|
+
<div class="page-bar"><details class="bar-menu"><summary>Docs menu</summary><nav class="bar-panel" aria-label="Docs menu"><div class="side-group"><p class="side-head">Start here</p><ul><li><a href="../overview/index.html"><span>What ForgeQE does</span></a></li><li><a href="../get-started/index.html"><span>Get started</span></a></li><li><a href="../using/index.html"><span>Using ForgeQE</span></a></li><li><a href="../web-app/index.html"><span>The web app</span></a></li></ul></div><div class="side-group"><p class="side-head">Browser and tests</p><ul><li><a href="../area-browser/index.html"><span>Browser testing</span></a></li><li><a href="../area-test-cases/index.html"><span>Test cases</span></a></li><li><a href="../area-automated-tests/index.html"><span>Automated tests</span></a></li><li><a href="../feature-test-prompts/index.html"><span>Feature test prompts</span></a></li><li><a href="../area-api/index.html"><span>API testing</span></a></li><li><a href="../area-quality/index.html"><span>Quality checks</span></a></li></ul></div><div class="side-group"><p class="side-head">Desktop and mobile</p><ul><li><a href="../area-desktop/index.html"><span>Desktop apps</span></a></li><li><a href="../area-mobile/index.html"><span>Mobile apps</span></a></li></ul></div><div class="side-group"><p class="side-head">Setup and operations</p><ul><li><a href="../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="index.html" aria-current="page"><span>Pull requests</span></a></li><li><a href="../area-release/index.html"><span>Release and reports</span></a></li></ul></div><div class="side-group"><p class="side-head">Agents and knowledge</p><ul><li><a href="../custom-agents-first-run/index.html"><span>Custom agents: a first run</span></a></li><li><a href="../product-knowledge/index.html"><span>Product knowledge</span></a></li></ul></div><div class="side-group"><p class="side-head">How ForgeQE works</p><ul><li><a href="../area-systems/index.html"><span>Connected systems</span></a></li><li><a href="../architecture/index.html"><span>How ForgeQE works</span></a></li><li><a href="../../architecture-map/index.html"><span>Architecture map</span></a></li><li><a href="../../security/index.html"><span>Security and data flows</span></a></li><li><a href="../guardrails/index.html"><span>Guardrails</span></a></li></ul></div><div class="side-group"><p class="side-head">Look it up</p><ul><li><a href="../reference/index.html"><span>Reference</span></a></li></ul></div><div class="side-group"><p class="side-head">For contributors</p><ul><li><a href="../architecture-reference/index.html"><span>Architecture reference</span></a></li><li><a href="../product-graph/index.html"><span>Product knowledge graph</span></a></li><li><a href="../product-views/index.html"><span>Product views</span></a></li><li><a href="../graphify/index.html"><span>Reading product code</span></a></li><li><a href="../evidence/index.html"><span>Evidence</span></a></li><li><a href="../cost-architecture/index.html"><span>Cost-aware execution</span></a></li></ul></div></nav></details><details class="bar-toc"><summary>On this page</summary><nav class="bar-panel" aria-label="On this page"><ul><li><a href="#cap-pr-review">Review pull requests</a></li><li><a href="#cap-pr-impact">Pull request impact and test selection</a></li><li><a href="#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</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-pr-reviewer"/></svg>Pull requests</h1>
|
|
121
122
|
<p class="guide-lead">Reviews, impact, and the tests a change can break</p>
|
|
122
123
|
<article class="spec feat" id="cap-pr-review">
|
|
@@ -124,30 +125,74 @@
|
|
|
124
125
|
<p class="ds">Reviews an Azure DevOps or GitHub pull request from the local clone for bugs, security, requirements, and tests, and posts the review once the user agrees.</p>
|
|
125
126
|
<div class="facts">
|
|
126
127
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Review PR 42 and focus on error handling</li></ul></div>
|
|
127
|
-
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model) and
|
|
128
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Quill: a live model profile (or code.model), and what forgeqe setup installs for it</span></li><li><span class="need input">You give</span><span>a local clone of the repository</span></li><li><span class="need req">Required</span><span>Azure DevOps, for Azure DevOps pull requests: set up under sources: in forgeqe.yaml, or sign in with /auth; or gh on PATH, for GitHub pull requests</span></li></ul></div>
|
|
128
129
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>review_pull_request</code> <code>post_pr_review</code></p></div>
|
|
129
130
|
</div>
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
|
|
132
|
+
</article>
|
|
133
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-reviewing-pull-requests">
|
|
132
134
|
<h4>Reviewing pull requests</h4>
|
|
133
|
-
<div class="prose"><p>Ask for a review with the pull request's link or its number in the
|
|
135
|
+
<div class="prose"><p>Ask for a review with the pull request's link, or its number in the repository you are in:</p>
|
|
134
136
|
<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">Review PR 42
|
|
135
137
|
</span></span><span class="ln"><span class="cmd">Review https://dev.azure.com/acme/Shop/_git/web/pullrequest/42 and focus on error handling
|
|
136
138
|
</span></span><span class="ln"><span class="cmd">Review my open pull requests
|
|
137
139
|
</span></span></code></pre></div>
|
|
140
|
+
<p><strong>Reviewing a pull request.</strong></p>
|
|
141
|
+
<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>
|
|
138
142
|
<ol>
|
|
139
|
-
<li>
|
|
140
|
-
<li>
|
|
141
|
-
<li>
|
|
142
|
-
Before it starts, ForgeQE's copy-paste check (<a href="https://github.com/kucherenko/jscpd" class="ext" rel="noopener">jscpd</a>, installed with ForgeQE) compares the pull request's head with the merge base and lists the code the change copies, from code already there or within itself (5 lines and 50 tokens or more). Quill gets that list as measured evidence and raises a finding only where the copies must stay the same; <code>review.md</code> lists them under <em>Copied code</em>. The check uses ForgeQE's own settings, never the repository's <code>.jscpd.json</code>, and leaves out hidden files, dependencies and build output. <code>code.duplicates: false</code> turns it off; without jscpd's binary for your machine it is skipped.</li>
|
|
143
|
-
<li>The findings appear as a card, and are saved in <code>.forgeqe/reports/reviews/<time>/</code> as <code>review.md</code> and <code>review.json</code>. Nothing is posted yet.</li>
|
|
144
|
-
<li>To post, say so. ForgeQE asks <strong>Post the review?</strong> with <strong>Post review</strong> and <strong>Don't post</strong>. Findings on a changed line become comments on that line; the rest go in one summary comment with the verdict. On GitHub this is one review with event <code>COMMENT</code>: ForgeQE never approves, requests changes, or votes in your name. If the pull request got new commits after the review, posting is refused; review it again.</li>
|
|
143
|
+
<li>Open <strong>New chat</strong>.</li>
|
|
144
|
+
<li>Ask for the review, for example <code>Review PR 42</code>.</li>
|
|
145
|
+
<li>Read the findings. To post them, say so, then answer <strong>Post the review?</strong> with <strong>Post review</strong> or <strong>Don't post</strong>.</li>
|
|
145
146
|
</ol>
|
|
146
|
-
|
|
147
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
148
|
+
<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> then: Review PR 42
|
|
149
|
+
</span></span><span class="ln"><span class="cmd">forgeqe run "Review PR 42"
|
|
150
|
+
</span></span></code></pre></div>
|
|
151
|
+
</div></div><p><strong>How it works.</strong></p>
|
|
152
|
+
<ol>
|
|
153
|
+
<li>
|
|
154
|
+
<p>ForgeQE reads the pull request: title, description, source and target branch, and the linked work items with their
|
|
155
|
+
acceptance criteria (Azure DevOps, through its REST API with <code>sources.azure_devops</code>), or the linked issues (GitHub,
|
|
156
|
+
through <code>gh</code>, which must be signed in with <code>gh auth login</code>).</p>
|
|
157
|
+
</li>
|
|
158
|
+
<li>
|
|
159
|
+
<p>It fetches both branches from your clone's remote and checks the pull request's head out in a temporary worktree.</p>
|
|
160
|
+
<ul>
|
|
161
|
+
<li>Your branch, your working tree and your uncommitted changes are not touched, and the worktree and fetched refs are
|
|
162
|
+
removed afterwards.</li>
|
|
163
|
+
<li>The working folder (or <code>repo</code>) must be a clone of the pull request's repository.</li>
|
|
164
|
+
<li>The reviewer's skills come from that clone and your own skill folders, never from the pull request, so a skill the
|
|
165
|
+
pull request adds cannot steer its own review.</li>
|
|
166
|
+
</ul>
|
|
167
|
+
</li>
|
|
168
|
+
<li>
|
|
169
|
+
<p>Quill reviews the diff read-only, reading the code around each change: bugs, security, what the linked work items ask
|
|
170
|
+
for, missing tests, performance and compatibility. Each finding has a severity (blocker, major, minor, nit), the file
|
|
171
|
+
and line, the problem, and a suggestion. <code>code.review_profile</code> (<strong>Settings › Code › Checker's model</strong>) picks a cheaper
|
|
172
|
+
model for it, as for test reviews.</p>
|
|
173
|
+
<p>Before it starts, ForgeQE's copy-paste check compares the pull request's head with the merge base and lists the code
|
|
174
|
+
the change copies, from code already there or within itself (5 lines and 50 tokens or more). Quill gets that list as
|
|
175
|
+
measured evidence and raises a finding only where the copies must stay the same; <code>review.md</code> lists them under
|
|
176
|
+
<em>Copied code</em>. The check uses ForgeQE's own settings, never the repository's <code>.jscpd.json</code>, and leaves out hidden
|
|
177
|
+
files, dependencies and build output. <code>code.duplicates: false</code> (<strong>Check for copied code</strong>) turns it off; where the
|
|
178
|
+
check has no build for your machine, it is skipped.</p>
|
|
179
|
+
</li>
|
|
180
|
+
<li>
|
|
181
|
+
<p>The findings appear as a card, and are saved in <code>.forgeqe/reports/reviews/<time>/</code> as <code>review.md</code> and <code>review.json</code>.
|
|
182
|
+
Nothing is posted yet.</p>
|
|
183
|
+
</li>
|
|
184
|
+
<li>
|
|
185
|
+
<p>To post, say so. ForgeQE asks <strong>Post the review?</strong> with <strong>Post review</strong> and <strong>Don't post</strong>. Findings on a changed line
|
|
186
|
+
become comments on that line; the rest go in one summary comment with the verdict. On GitHub this is one review with
|
|
187
|
+
event <code>COMMENT</code>: ForgeQE never approves, requests changes or votes in your name. If the pull request got new commits
|
|
188
|
+
after the review, posting is refused; review it again.</p>
|
|
189
|
+
</li>
|
|
190
|
+
</ol>
|
|
191
|
+
<p><strong>From another agent.</strong> Through <code>forgeqe mcp</code>, the <code>post_pr_review</code> tool posts only when called again with
|
|
192
|
+
<code>confirmed: true</code>. The MCP client should ask you first.</p>
|
|
147
193
|
</div>
|
|
148
194
|
</section>
|
|
149
195
|
</div>
|
|
150
|
-
</article>
|
|
151
196
|
<article class="spec feat" id="cap-pr-impact">
|
|
152
197
|
<div class="hd"><span class="mono">Pull requests</span><h3>Pull request impact and test selection</h3></div>
|
|
153
198
|
<p class="ds">Works out which product areas, pages, requirements, and tests a pull request touches, picks the tests it can break, runs them, and posts the impact or results on the pull request once the user agrees.</p>
|
|
@@ -156,46 +201,83 @@ Before it starts, ForgeQE's copy-paste check (<a href="https://github.com/kucher
|
|
|
156
201
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a local clone of the repository</span></li><li><span class="need req">Required</span><span>Azure DevOps, for Azure DevOps pull requests and their linked work items: set up under sources: in forgeqe.yaml, or sign in with /auth; or gh on PATH, for GitHub pull requests</span></li></ul></div>
|
|
157
202
|
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>analyze_pr_impact</code> <code>select_pr_tests</code> <code>post_pr_test_results</code> <code>comment_on_pr</code></p></div>
|
|
158
203
|
</div>
|
|
159
|
-
|
|
160
|
-
|
|
204
|
+
|
|
205
|
+
</article>
|
|
206
|
+
<div class="feat-detail"><section class="doc" data-topic id="doc-how_to_use-what-a-pull-request-impacts-in-the-product">
|
|
161
207
|
<h4>What a pull request impacts in the product</h4>
|
|
162
|
-
<div class="prose"><p>"What does PR 57 impact?"
|
|
208
|
+
<div class="prose"><p>"What does PR 57 impact?" says which parts of the product a pull request touches and what to test, also when the
|
|
209
|
+
product's code is in another repository than the tests. Ask from the automation repository; give a local clone of the
|
|
210
|
+
product when you have one, or just the pull request's link.</p>
|
|
211
|
+
<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>
|
|
212
|
+
<ol>
|
|
213
|
+
<li>Open <strong>New chat</strong>.</li>
|
|
214
|
+
<li>Ask, for example <code>What does PR 57 impact?</code>, and add the product clone's folder if you have one.</li>
|
|
215
|
+
<li>To post the report on the pull request, say so and agree when ForgeQE asks.</li>
|
|
216
|
+
</ol>
|
|
217
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
218
|
+
<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> then: What does PR 57 impact?
|
|
219
|
+
</span></span><span class="ln"><span class="cmd">forgeqe run "What does PR 57 impact? The product is in ../shop"
|
|
220
|
+
</span></span></code></pre></div>
|
|
221
|
+
</div></div><p><strong>What it reads.</strong></p>
|
|
163
222
|
<ul>
|
|
164
|
-
<li><strong>
|
|
223
|
+
<li><strong>The pull request:</strong> from a clone of the product repository (its diff, and its imports, so a change to a shared
|
|
224
|
+
component counts for every page that uses it), or, without one, through the GitHub (<code>gh pr diff</code>) or Azure DevOps API
|
|
225
|
+
(the changed files and their contents).</li>
|
|
165
226
|
<li><strong>Work items:</strong> the ones the pull request is linked to, up through feature and epic, with their Area Paths.</li>
|
|
166
|
-
<li><strong>Pages:</strong> the test ids, ids, labels, placeholders, button and link texts, and routes in the changed code, matched
|
|
167
|
-
|
|
227
|
+
<li><strong>Pages:</strong> the test ids, ids, labels, placeholders, button and link texts, and routes in the changed code, matched
|
|
228
|
+
against page memory (every element ForgeQE met on each page of the application). A changed
|
|
229
|
+
<code>data-testid="submit-order"</code> leads to every page that shows it; a changed route to the pages on that path; with a
|
|
230
|
+
clone, a changed shared component to the page files that import it, then to their routes.</li>
|
|
231
|
+
<li><strong>Tests:</strong> in the automation repository, the tests that visit those pages (by path, page title, or a changed selector
|
|
232
|
+
they use, directly or through a page object), the test cases they automate, and the stories those test cases test.</li>
|
|
168
233
|
<li><strong>Manual tests:</strong> the test cases of the impacted stories that no automated test covers yet.</li>
|
|
169
234
|
</ul>
|
|
170
|
-
<p>ForgeQE's agent writes the impact report from this: the areas with their evidence and a risk, side
|
|
235
|
+
<p><strong>The report.</strong> ForgeQE's agent writes the impact report from this: the areas with their evidence and a risk, side
|
|
236
|
+
effects the diff suggests, the automated and manual tests to run, and the areas with no test. It posts it on the pull
|
|
237
|
+
request only after you agree. Page memory is what ties code to pages, so the more of the application ForgeQE has run,
|
|
238
|
+
the more it can tie; changed UI files it cannot tie to a page are listed. Backend-only changes are tied through their
|
|
239
|
+
work items and the agent's reading of the diff.</p>
|
|
171
240
|
</div>
|
|
172
241
|
</section>
|
|
173
242
|
<section class="doc" id="doc-how_to_use-tests-for-a-pull-request">
|
|
174
243
|
<h4>Tests for a pull request</h4>
|
|
175
|
-
<div class="prose"><p>"Run the tests for PR 42"
|
|
244
|
+
<div class="prose"><p>"Run the tests for PR 42" picks the automated tests a pull request can break, so only those run:</p>
|
|
176
245
|
<ul>
|
|
177
246
|
<li>the test files it changes;</li>
|
|
178
|
-
<li>the tests that import a changed file, following imports through page objects and helpers (JavaScript, TypeScript,
|
|
247
|
+
<li>the tests that import a changed file, following imports through page objects and helpers (JavaScript, TypeScript,
|
|
248
|
+
Python);</li>
|
|
179
249
|
<li>the tests that name a changed class or page object (every language, C# and Java included);</li>
|
|
180
|
-
<li>the tests mapped in <code>.forgeqe/test-cases.json</code> to the test cases of the work items the pull request is linked to (Azure
|
|
250
|
+
<li>the tests mapped in <code>.forgeqe/test-cases.json</code> to the test cases of the work items the pull request is linked to (Azure
|
|
251
|
+
DevOps "Tested By").</li>
|
|
181
252
|
</ul>
|
|
182
|
-
<p>Each test comes with why it was picked, and the changed files no test reaches are listed as a coverage gap. With a
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
253
|
+
<p>Each test comes with why it was picked, and the changed files no test reaches are listed as a coverage gap. With a
|
|
254
|
+
model, Quill checks the candidates by reading the tests, adds tests that drive the changed behaviour through the UI, and
|
|
255
|
+
gives the exact list and run commands. ForgeQE then runs them after you agree, and puts the results on the pull request
|
|
256
|
+
(it asks first). The tests run from your working tree: check out the pull request's branch to run its versions of the
|
|
257
|
+
tests.</p>
|
|
258
|
+
<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>
|
|
259
|
+
<ol>
|
|
260
|
+
<li>Open <strong>New chat</strong>.</li>
|
|
261
|
+
<li>Ask <code>Run the tests for PR 42</code>.</li>
|
|
262
|
+
<li>Answer <strong>Run</strong> when ForgeQE asks, and agree if you want the results posted on the pull request.</li>
|
|
263
|
+
</ol>
|
|
264
|
+
</div><div class="view-panel" role="tabpanel" data-view="terminal"><p class="view-label"><strong>Terminal</strong></p>
|
|
265
|
+
<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> then: Run the tests for PR 42
|
|
266
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe pr-tests --base origin/main --run</span><span class="pad"> </span><span class="cm"><span class="h">#</span> in CI, without a model. Exit 0: passed or nothing affected; 1: a test failed
|
|
267
|
+
</span></span><span class="ln ln--pair"><span class="cmd">forgeqe pr-tests 42 --run --post</span><span class="pad"> </span><span class="cm"><span class="h">#</span> and post the results on pull request 42
|
|
186
268
|
</span></span></code></pre></div>
|
|
187
|
-
<p>Without <code>--agent</code>, the impacted files
|
|
188
|
-
</
|
|
269
|
+
<p>Without <code>--agent</code>, <code>pr-tests</code> runs the impacted files as they are. It builds the command for Playwright and pytest
|
|
270
|
+
projects; for other frameworks add <code>--agent</code>, or run the listed files.</p>
|
|
271
|
+
</div></div></div>
|
|
189
272
|
</section>
|
|
190
273
|
</div>
|
|
191
|
-
</article>
|
|
192
274
|
|
|
193
275
|
<nav class="pager" aria-label="Previous and next">
|
|
194
276
|
<a class="prev" href="../area-data/index.html"><small>Previous</small><span>Test data and databases</span></a>
|
|
195
277
|
<a class="next" href="../area-release/index.html"><small>Next</small><span>Release and reports</span></a>
|
|
196
278
|
</nav>
|
|
197
279
|
</main>
|
|
198
|
-
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-pr-review">Review pull requests</a></li><li><a href="#
|
|
280
|
+
<aside class="docs-toc" aria-label="On this page"><p class="side-head">On this page</p><ul><li><a href="#cap-pr-review">Review pull requests</a></li><li><a href="#cap-pr-impact">Pull request impact and test selection</a></li><li><a href="#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a></li></ul></aside>
|
|
199
281
|
</div>
|
|
200
282
|
<footer class="foot">
|
|
201
283
|
<div class="container foot__row">
|