@capagents/forgeqe 3.1.0 → 3.1.2
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 +465 -95
- package/README.md +21 -6
- package/THIRD_PARTY_NOTICES.md +210 -1
- package/dist/docs-site/CREDITS.md +6 -0
- package/dist/docs-site/architecture-map/index.html +1 -1
- package/dist/docs-site/docs/app-theme.css +100 -8
- package/dist/docs-site/docs/architecture/index.html +210 -214
- package/dist/docs-site/docs/area-api/index.html +350 -0
- package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
- package/dist/docs-site/docs/area-browser/index.html +430 -0
- package/dist/docs-site/docs/area-data/index.html +605 -0
- package/dist/docs-site/docs/area-desktop/index.html +755 -0
- package/dist/docs-site/docs/area-mobile/index.html +631 -0
- package/dist/docs-site/docs/area-operations/index.html +1069 -0
- package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
- package/dist/docs-site/docs/area-quality/index.html +365 -0
- package/dist/docs-site/docs/area-release/index.html +320 -0
- package/dist/docs-site/docs/area-setup/index.html +1192 -0
- package/dist/docs-site/docs/area-systems/index.html +207 -0
- package/dist/docs-site/docs/area-test-cases/index.html +694 -0
- package/dist/docs-site/docs/containers/index.html +97 -104
- package/dist/docs-site/docs/cost-architecture/index.html +108 -112
- package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
- package/dist/docs-site/docs/desktop/index.html +172 -162
- package/dist/docs-site/docs/desktop-ci/index.html +26 -33
- package/dist/docs-site/docs/evidence/index.html +253 -257
- package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
- package/dist/docs-site/docs/get-started/index.html +495 -0
- package/dist/docs-site/docs/graphify/index.html +42 -46
- package/dist/docs-site/docs/guardrails/index.html +17 -21
- package/dist/docs-site/docs/index.html +17 -6708
- package/dist/docs-site/docs/mobile/index.html +155 -162
- package/dist/docs-site/docs/model-routing/index.html +44 -51
- package/dist/docs-site/docs/overview/index.html +176 -0
- package/dist/docs-site/docs/product-graph/index.html +52 -55
- package/dist/docs-site/docs/product-knowledge/index.html +11 -15
- package/dist/docs-site/docs/product-views/index.html +53 -57
- package/dist/docs-site/docs/reference/index.html +379 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +480 -0
- package/dist/docs-site/docs/web-app/index.html +147 -93
- package/dist/docs-site/security/index.html +930 -0
- package/dist/docs-site/security/security-theme.css +161 -0
- package/dist/docs-site/security/security.js +1465 -0
- package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
- package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
- package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
- package/dist/forgeqe.js +2251 -1886
- package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
- package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
- package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
- package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
- package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
- package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
- package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
- package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
- package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
- package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
- package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
- package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
- package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
- package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
- package/dist/web/assets/Features-CQzNo_WP.js +1 -0
- package/dist/web/assets/Flags-0-RniPJm.js +2 -0
- package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
- package/dist/web/assets/Impact-CfccsL_k.js +3 -0
- package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
- package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
- package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
- package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
- package/dist/web/assets/Product-nYV_scOV.js +7 -0
- package/dist/web/assets/Production-CGSbEWVa.js +1 -0
- package/dist/web/assets/Quality-BIypojZm.js +1 -0
- package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
- package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
- package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
- package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
- package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
- package/dist/web/assets/Response-mhBThq2b.js +9 -0
- package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
- package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
- package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
- package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
- package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
- package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
- package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
- package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
- package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
- package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
- package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
- package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
- package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
- package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
- package/dist/web/assets/diff-BStuTmsN.js +2 -0
- package/dist/web/assets/families-BBFFrUlo.js +1 -0
- package/dist/web/assets/filters-CnAMr286.js +1 -0
- package/dist/web/assets/fold-D_O_VZui.js +1 -0
- package/dist/web/assets/head-CRo48rPt.js +1 -0
- package/dist/web/assets/highlight-BcFZIf59.js +4 -0
- package/dist/web/assets/index-B3JsM7tv.js +64 -0
- package/dist/web/assets/index-CafApcbZ.css +2 -0
- package/dist/web/assets/input-CtzK50ZF.js +1 -0
- package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
- package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
- package/dist/web/assets/logos-D4oVWzqa.js +1 -0
- package/dist/web/assets/palette-DAaGSao7.js +1 -0
- package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
- package/dist/web/assets/parts-D357Wolo.js +1 -0
- package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
- package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
- package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
- package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
- package/dist/web/assets/route-BloYJWgw.js +1 -0
- package/dist/web/index.html +12 -12
- package/docs/ARCHITECTURE.md +1 -1
- package/docs/BASAL.md +1 -1
- package/docs/DESKTOP.md +20 -1
- package/docs/EVIDENCE.md +1 -1
- package/docs/MOBILE.md +4 -4
- package/docs/PRODUCT_KNOWLEDGE.md +2 -0
- package/docs/WEB_APP.md +114 -51
- package/docs/user-guide.html +463 -87
- package/forgeqe.example.yaml +3 -3
- package/package.json +1 -1
- package/prompts/page-differs.md +1 -1
- package/prompts/requests-rule.md +1 -1
- package/prompts/responsive-review.md +38 -0
- package/prompts/responsive-split.md +40 -0
- package/prompts/responsive.md +42 -0
- package/prompts/test-reviewer.md +1 -1
- package/prompts/test-rules.md +3 -4
- package/skills/web-guidance/LICENSE +202 -0
- package/skills/web-guidance/SKILL.md +76 -0
- package/skills/web-guidance/UPSTREAM +67 -0
- package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
- package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
- package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
- package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
- package/skills/web-guidance/references/css/responsive-design.md +16 -0
- package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
- package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
- package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
- package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
- package/skills/web-guidance/references/forms/forms.md +415 -0
- package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
- package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
- package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
- package/skills/web-guidance/references/forms/slider.md +184 -0
- package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
- package/skills/web-guidance/references/forms/switch.md +60 -0
- package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
- package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
- package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
- package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
- package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
- package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
- package/skills/web-guidance/references/performance/performance.md +384 -0
- package/skills/web-guidance/references/privacy/privacy.md +247 -0
- package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
- package/skills/web-guidance/references/security/passkey-management.md +310 -0
- package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
- package/skills/web-guidance/references/security/passkey-registration.md +186 -0
- package/skills/web-guidance/references/security/passkeys.md +39 -0
- package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
- package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
- package/skills/web-guidance/references/security/security.md +390 -0
- package/skills/web-guidance/references/security/trusted-types.md +141 -0
- package/skills/web-guidance/references/security/validate-origins.md +197 -0
- package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
- package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
- package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
- package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
- package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
- package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
- package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
- package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
- package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
- package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
- package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
- package/skills/web-guidance/references/ui-components/accordion.md +343 -0
- package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
- package/skills/web-guidance/references/ui-components/carousel.md +206 -0
- package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
- package/skills/web-guidance/references/ui-components/dialog.md +218 -0
- package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
- package/skills/web-guidance/references/ui-components/menu.md +415 -0
- package/skills/web-guidance/references/ui-components/navbar.md +281 -0
- package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
- package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
- package/skills/web-guidance/references/ui-components/progress.md +181 -0
- package/skills/web-guidance/references/ui-components/spinner.md +179 -0
- package/skills/web-guidance/references/ui-components/tabs.md +371 -0
- package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
- package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
- package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
- package/skills/web-guidance/references/visual-design/color.md +43 -0
- package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
- package/dist/web/assets/AgentWork-C3KdZh5M.js +0 -2
- package/dist/web/assets/ApiTests-BLnl7JGO.js +0 -10
- package/dist/web/assets/Browse-C-Enjpmd.js +0 -2
- package/dist/web/assets/Chat-Bt6jZI68.js +0 -3
- package/dist/web/assets/Choices-D5eTFinz.js +0 -3
- package/dist/web/assets/CommandPalette-D89NM2_E.js +0 -1
- package/dist/web/assets/Compare-YfFYHwfK.js +0 -1
- package/dist/web/assets/Cost-ClaDz0YR.js +0 -1
- package/dist/web/assets/Data-jSFgAfej.js +0 -6
- package/dist/web/assets/Desktop-BofKeLVf.js +0 -1
- package/dist/web/assets/DesktopReview--WjeZh3w.js +0 -1
- package/dist/web/assets/Evidence-CJNzSQpY.js +0 -1
- package/dist/web/assets/Explore-BdFvqgF4.js +0 -2
- package/dist/web/assets/Features-CIBbw6PG.js +0 -1
- package/dist/web/assets/Flags-B62v4uWR.js +0 -2
- package/dist/web/assets/Flaky-Cut1kZw6.js +0 -1
- package/dist/web/assets/Impact-jOSl5Q0k.js +0 -3
- package/dist/web/assets/Jobs-DMJGgWtQ.js +0 -5
- package/dist/web/assets/KindPage-BbQWH5wa.js +0 -6
- package/dist/web/assets/Migration-BBgv7xXo.js +0 -2
- package/dist/web/assets/PageAgent-txbNoP6u.js +0 -1
- package/dist/web/assets/Product-BrXH81Ns.js +0 -7
- package/dist/web/assets/Production-CCVtFNGQ.js +0 -1
- package/dist/web/assets/Quality-Dxh-60A8.js +0 -1
- package/dist/web/assets/Readiness-DyJvSOLN.js +0 -1
- package/dist/web/assets/Record-Dnlkimjb.js +0 -1
- package/dist/web/assets/Regression-D2DDTwzs.js +0 -5
- package/dist/web/assets/Reports-ClcY7M0Q.js +0 -2
- package/dist/web/assets/Response-D9FYUvHg.js +0 -9
- package/dist/web/assets/RunDiff-CNImaEdz.js +0 -1
- package/dist/web/assets/Runs-CFvmdULI.js +0 -2
- package/dist/web/assets/Steps-BS66s0E1.js +0 -2
- package/dist/web/assets/TestCases-CrQEUtfD.js +0 -1
- package/dist/web/assets/TestData-e3IX0xwG.js +0 -2
- package/dist/web/assets/TestDebt-tXPoexMF.js +0 -1
- package/dist/web/assets/TestManagement-wjGaoZzI.js +0 -1
- package/dist/web/assets/Tosca-C5YaMLS0.js +0 -3
- package/dist/web/assets/WhatsNew-CwnRbDnd.js +0 -1
- package/dist/web/assets/azuredevops-BcQ5AFOM.js +0 -1
- package/dist/web/assets/crew-CWfjZIxE.js +0 -1
- package/dist/web/assets/families-DWilSDct.js +0 -1
- package/dist/web/assets/filters-CVzIOjPG.js +0 -1
- package/dist/web/assets/fold-tvLGnxD1.js +0 -1
- package/dist/web/assets/frame-Deu1IqzV.js +0 -13
- package/dist/web/assets/index-BWMIKyPB.js +0 -76
- package/dist/web/assets/index-C2Yq55oT.css +0 -2
- package/dist/web/assets/line-icons-C_amZ5-o.js +0 -1
- package/dist/web/assets/logos-C1NBtBMc.js +0 -1
- package/dist/web/assets/logos-DFyhMw0i.js +0 -1
- package/dist/web/assets/markdown-DC2HA0yZ.js +0 -10
- package/dist/web/assets/paletteCommands-Qxm5DZIs.js +0 -1
- package/dist/web/assets/parts-BR6dUwqn.js +0 -1
- package/dist/web/assets/productParts-BxdHuSBa.js +0 -1
- package/dist/web/assets/qualityParts-lz6eYVxC.js +0 -1
- package/dist/web/assets/recordTest-CcplpTS6.js +0 -1
- package/dist/web/assets/today-DuQFapJM.js +0 -1
- package/dist/web/assets/when-CHnpLdYw.js +0 -1
package/docs/user-guide.html
CHANGED
|
@@ -395,7 +395,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
395
395
|
<div class="area"><a class="area-name" href="#area-automated-tests"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a class="tile" href="#cap-write-tests"><b>Turn a passed run into an automated test</b><span>Write a Playwright test for that run in ../app</span></a></li><li><a class="tile" href="#cap-heal-tests"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a class="tile" href="#cap-migrate-tests"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a class="tile" href="#cap-tosca-convert"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a class="tile" href="#cap-find-run-tests"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a class="tile" href="#cap-regression-packs"><b>Regression packs for a release</b><span>Build a regression pack for sprint 12 and run it on TestMu</span></a></li><li><a class="tile" href="#cap-flaky-tests"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li><li><a class="tile" href="#cap-run-diff"><b>Compare two runs step by step</b><span>It passed yesterday and fails today: why?</span></a></li><li><a class="tile" href="#cap-test-debt"><b>Test debt and coverage gaps</b><span>What has no test?</span></a></li><li><a class="tile" href="#cap-test-management"><b>Test management</b><span>Show the test inventory</span></a></li></ul></div>
|
|
396
396
|
<div class="area"><a class="area-name" href="#area-pull-requests"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a class="tile" href="#cap-pr-review"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a class="tile" href="#cap-pr-impact"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
|
|
397
397
|
<div class="area"><a class="area-name" href="#area-api"><span class="mono">API</span></a><ul class="tiles"><li><a class="tile" href="#cap-api-testing"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li><li><a class="tile" href="#cap-api-load-security"><b>API load and security checks</b><span>Load test the orders API with 20 users for a minute</span></a></li></ul></div>
|
|
398
|
-
<div class="area"><a class="area-name" href="#area-quality"><span class="mono">Quality</span></a><ul class="tiles"><li><a class="tile" href="#cap-accessibility-performance"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a class="tile" href="#cap-accessibility-personas"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a class="tile" href="#cap-visual-comparison"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a class="tile" href="#cap-defect-intelligence"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a class="tile" href="#cap-security-smoke"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a class="tile" href="#cap-localization-checks"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li></ul></div>
|
|
398
|
+
<div class="area"><a class="area-name" href="#area-quality"><span class="mono">Quality</span></a><ul class="tiles"><li><a class="tile" href="#cap-accessibility-performance"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a class="tile" href="#cap-accessibility-personas"><b>Accessibility testing with personas</b><span>Act as a blind person and use the website to find accessibility issues</span></a></li><li><a class="tile" href="#cap-visual-comparison"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a class="tile" href="#cap-defect-intelligence"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li><li><a class="tile" href="#cap-security-smoke"><b>Passive security smoke checks</b><span>Any security problems in the last checkout run?</span></a></li><li><a class="tile" href="#cap-localization-checks"><b>Localization checks</b><span>Is the German checkout fully translated?</span></a></li><li><a class="tile" href="#cap-responsive-check"><b>Responsive check</b><span>Does the checkout page work on phones?</span></a></li></ul></div>
|
|
399
399
|
<div class="area"><a class="area-name" href="#area-release"><span class="mono">Release</span></a><ul class="tiles"><li><a class="tile" href="#cap-release-readiness"><b>Requirement coverage and release readiness</b><span>Are we ready to release?</span></a></li><li><a class="tile" href="#cap-release-verdict"><b>One release verdict from everything measured</b><span>Can we ship release-2.3?</span></a></li><li><a class="tile" href="#cap-feature-flags"><b>Regression across feature-flag combinations</b><span>Run the release pack across the new-checkout feature flag on and off</span></a></li><li><a class="tile" href="#cap-reports"><b>Reports you can share</b><span>Create a release report for all projects</span></a></li></ul></div>
|
|
400
400
|
<div class="area"><a class="area-name" href="#area-systems"><span class="mono">Systems</span></a><ul class="tiles"><li><a class="tile" href="#cap-systems"><b>Work with Azure DevOps, Jira, GitHub, and Confluence</b><span>Show the open bugs in this sprint</span></a></li><li><a class="tile" href="#cap-system-data"><b>Read any data in Azure DevOps, Jira, Xray, and Confluence, and open Azure DevOps pull requests</b><span>Are there open pull requests in any repository of QI-Claims?</span></a></li></ul></div>
|
|
401
401
|
<h3 class="band-title">Not supported</h3>
|
|
@@ -424,6 +424,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
|
|
|
424
424
|
</thead>
|
|
425
425
|
<tbody>
|
|
426
426
|
<tr><td><strong>Google Chrome</strong></td><td>Used when installed; otherwise ForgeQE installs Chromium. Or set <code>browser.provider</code> to BrowserStack or TestMu AI/LambdaTest</td></tr>
|
|
427
|
+
<tr><td><strong>A microphone</strong></td><td>To talk to ForgeQE in the web app (Talk), after the one-time speech setup in Settings › Voice</td></tr>
|
|
427
428
|
<tr><td><strong>A repo with tests</strong></td><td>Where passed runs become tests (<code>--repo</code>, or <code>code.repo</code>); without one, tests go in the current folder</td></tr>
|
|
428
429
|
<tr><td><strong>Jira, Azure DevOps, Xray, TestRail, Zephyr Scale, qTest, Confluence</strong></td><td>Sources of test cases and requirements, and where results go back</td></tr>
|
|
429
430
|
<tr><td><strong><code>gh</code> or <code>az</code></strong></td><td>For pipelines: pushing, secrets, and triggering runs</td></tr>
|
|
@@ -479,7 +480,7 @@ forgeqe --help
|
|
|
479
480
|
<p>Set up the ForgeQE engine once (the first live run does it automatically if you skip this):</p>
|
|
480
481
|
<pre><code class="language-bash">forgeqe setup
|
|
481
482
|
</code></pre>
|
|
482
|
-
<p>It creates <code>~/.forgeqe/engine/.venv</code>, installs the engine's Python libraries, and prints the Python, the engine version, the browser it found, and the agent runtime. Google Chrome is used when installed; otherwise Chromium is installed. <code>forgeqe setup --force</code> rebuilds the environment.</p>
|
|
483
|
+
<p>It creates <code>~/.forgeqe/engine/.venv</code>, installs the engine's Python libraries, and prints the Python, the engine version, the browser it found, and the agent runtime. Google Chrome is used when installed; otherwise Chromium is installed. <code>forgeqe setup --force</code> rebuilds the environment. When <code>mobile:</code> runs apps on a device on this computer, it also installs Appium and its drivers (as <code>forgeqe mobile setup</code> does).</p>
|
|
483
484
|
</div>
|
|
484
485
|
<section class="doc sub" id="doc-how_to_use-updating"><h4>Updating</h4><div class="prose"><pre><code class="language-bash">forgeqe update # every forgeqe on PATH to the latest release
|
|
485
486
|
forgeqe update --check # show what would change and the commands it would run
|
|
@@ -528,9 +529,9 @@ bun src/index.ts --help
|
|
|
528
529
|
</section>
|
|
529
530
|
<section class="doc" id="doc-how_to_use-2-scaffold-config">
|
|
530
531
|
<h3>Scaffold config</h3>
|
|
531
|
-
<div class="prose"><pre><code class="language-bash">
|
|
532
|
+
<div class="prose"><pre><code class="language-bash">forgeqe init
|
|
532
533
|
# or
|
|
533
|
-
|
|
534
|
+
forgeqe init --global --profile azure-gpt4o
|
|
534
535
|
</code></pre>
|
|
535
536
|
<p>Edit <code>llms.json</code> endpoints, then give ForgeQE the keys its profiles name (<code>WP_AZURE_API_KEY</code>, <code>OPENAI_API_KEY</code>, <code>WP_API_KEY</code>): <code>forgeqe auth login <NAME></code> saves one in your system's credential store, or put them in a <code>.env</code> next to <code>forgeqe.yaml</code>; the engine process inherits them.</p>
|
|
536
537
|
</div>
|
|
@@ -633,6 +634,7 @@ forgeqe start --model claude-sonnet-4.6 # another Copilot mo
|
|
|
633
634
|
<tr><td><code>GitHub Copilot runs through the ForgeQE engine, which is not set up</code> (or <code>could not be set up (…)</code>)</td><td>Run <code>forgeqe setup</code>; the reason in brackets says what failed.</td></tr>
|
|
634
635
|
<tr><td>Copilot is slow, or a run waits on it ("Starting the browser…", "working out the first step…")</td><td><code>~/.forgeqe/logs/copilot-gateway.log</code> has a line for each Copilot request: when it started, Copilot's session, 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 SDK issue) is answered 5 seconds later instead of after the 5-minute limit, and a session the run no longer needs (Stop, an error) is stopped.</td></tr>
|
|
635
636
|
<tr><td><code>CERTIFICATE_VERIFY_FAILED</code> while downloading Copilot's runtime</td><td>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="../HOW_TO_USE.md#company-networks">Company networks</a>). If it still fails, run <code>forgeqe doctor</code> and send its output to IT.</td></tr>
|
|
637
|
+
<tr><td><code>The model ended its turn without a reply, also after being asked to carry on.</code></td><td>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>
|
|
636
638
|
</tbody>
|
|
637
639
|
</table></div>
|
|
638
640
|
</div></section>
|
|
@@ -708,7 +710,7 @@ sentence rests on what it took in, and a rubric a judge scores; the rubric's mis
|
|
|
708
710
|
people's grades of 10 answers or more. A check fails a run only under an approved contract, and only
|
|
709
711
|
once it is measured on labelled runs at the bar its owner set; otherwise it warns. What a record cannot settle is
|
|
710
712
|
"not known", never a pass. <a href="../docs/EVIDENCE.md#the-contract">docs/EVIDENCE.md</a> has the format.</p>
|
|
711
|
-
<p>In <code>forgeqe web</code> the <strong>
|
|
713
|
+
<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
|
|
712
714
|
verdict) and Contracts (each contract, and how well each check is measured).
|
|
713
715
|
<a href="../docs/EVIDENCE.md">docs/EVIDENCE.md</a> is the design and the phases still to come (contracts, behaviour checks, verdicts).</p>
|
|
714
716
|
</div></section>
|
|
@@ -812,6 +814,7 @@ one question at a time when cases run side by side.</p>
|
|
|
812
814
|
<p>Each step waits for the tab the agent is on to finish loading (up to 8 seconds, 3 for a tab that stays blank) before the page is read, so a result that opens in a new tab is not mistaken for a blank page.</p>
|
|
813
815
|
<p>With a visible browser (<code>headless: false</code> or <code>--headed</code>), ForgeQE opens on its own start page, and 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 the agent is doing ("Step 19 · Check whether the results can be sorted by Fastest · Looking through the page's buttons"). Your mouse and keyboard are locked while the agent thinks and unlocked while it clicks and types, so a stray click can't change the test. None of this appears in the screenshots the model sees or in the report. <code>overlay: false</code> turns it off. <code>forgeqe login <name></code> shows the same bar without the lock, since you are the one signing in.</p>
|
|
814
816
|
<p>A visible browser opens maximized. <code>window: viewport</code> opens it at <code>viewport</code>'s width and height 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, and the report plays it on the run's page; <code>video: false</code> turns recording off. The video needs packages that <code>forgeqe setup</code> adds to the engine (an engine set up before this version gets them on its next run).</p>
|
|
817
|
+
<p><code>local_browser</code> picks the browser on this computer: <code>auto</code> (the default) starts installed Chrome, 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 only. <code>launch</code> says how: <code>auto</code> (the default) starts it directly and, when this computer stops a browser started that way, through ForgeQE's Playwright, and remembers what worked; <code>direct</code> or <code>playwright</code> only that way; <code>attach</code> connects to a browser you started on this computer with <code>--remote-debugging-port</code>, on <code>attach_port</code> (for example 9222). When the browser does not start, <code>forgeqe doctor browser</code> tries each way and writes a report of what stops it.</p>
|
|
815
818
|
<p><code>start_url</code> is optional. Leave it out and the agent picks the site from the goal; 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 browser on that domain and its subdomains. <code>prompts.step_instruction</code> is appended to the engine's system prompt; the lines of <code>prompts.guiderails</code> are guardrails for every agent (see Guardrails above).</p>
|
|
816
819
|
</div></section>
|
|
817
820
|
</section>
|
|
@@ -856,6 +859,8 @@ Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make i
|
|
|
856
859
|
</thead>
|
|
857
860
|
<tbody>
|
|
858
861
|
<tr><td><code>/stop</code></td><td>Stop what is running (or press Esc)</td></tr>
|
|
862
|
+
<tr><td><code>/record [app|url]</code></td><td>Do the steps of a web test yourself in a browser; ForgeQE records them, then writes the test (see <a href="#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
|
|
863
|
+
<tr><td><code>/paste</code></td><td>Attach the picture on the clipboard (a screenshot) to your next message</td></tr>
|
|
859
864
|
<tr><td><code>/rerun [last|run]</code></td><td>Run a passed run again as recorded, without ForgeQE's agent (the last one, a run folder, or its goal)</td></tr>
|
|
860
865
|
<tr><td><code>/headed on|off</code></td><td>Show the browser window (live profiles)</td></tr>
|
|
861
866
|
<tr><td><code>/theme light|dark|auto</code></td><td>Colours for a light or a dark terminal. ForgeQE asks the terminal which it is when it starts and follows it when it changes (auto); a terminal that does not say is drawn dark. <code>FORGEQE_THEME=light</code> (or <code>dark</code>) sets it at start; <code>/theme</code> alone says which is in use</td></tr>
|
|
@@ -1017,24 +1022,41 @@ Summary: Show the deployed build in each environment, and why each deployment fa
|
|
|
1017
1022
|
<p>In the button prompt, ←/→ or Tab move between buttons, Enter confirms, Esc cancels, and a mouse click works too. <code>esc stop</code> and <code>ctrl+c close</code> in the bar under the prompt are also clickable. <strong>Stop and close</strong> waits until the browser has shut down and the run's files are saved, then closes ForgeQE.</p>
|
|
1018
1023
|
</div></section>
|
|
1019
1024
|
<section class="doc sub" id="doc-how_to_use-the-web-app"><h4>The web app</h4><div class="prose"><p><code>forgeqe web</code> is the shell in your browser: a chat on Home with the plan, each agent's steps and handoffs, the live
|
|
1020
|
-
activity, and the results (tests, reports, diffs) as they happen; pages for
|
|
1021
|
-
quality, data, runs, reports,
|
|
1025
|
+
activity, and the results (tests, reports, diffs) as they happen; pages for test management, recording, migration,
|
|
1026
|
+
regression, API tests, quality, data, runs, reports, jobs and AI assurance; and every setting as a form, with keys kept in your credential store. It
|
|
1022
1027
|
listens on <code>127.0.0.1</code> only and needs the token in the address it opens and prints.</p>
|
|
1023
1028
|
<pre><code class="language-bash">forgeqe web # a free port, opened in your browser
|
|
1024
1029
|
forgeqe web --port 4711 # a fixed port
|
|
1025
1030
|
forgeqe web --no-open # only print the address
|
|
1026
1031
|
</code></pre>
|
|
1027
|
-
<p>The first
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
it
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1032
|
+
<p>The first time, it opens onboarding: a guided tour through Set up (the project folder, its repository, which ForgeQE can
|
|
1033
|
+
clone, ForgeQE in it, what this computer needs, the features to download, and a model), then Models, Product knowledge
|
|
1034
|
+
and Appearance, each of which can be skipped. See <a href="../docs/WEB_APP.md">docs/WEB_APP.md</a> for every page.</p>
|
|
1035
|
+
<p><strong>Talk to it.</strong> Click <strong>Talk</strong> at the foot of the right panel, on any page, or the sound wave beside Refine on Home or
|
|
1036
|
+
in a chat, and talk: Atlas listens, answers aloud as it writes, and stops the moment you talk over it (a cough does not
|
|
1037
|
+
stop it). There is nothing to hold; it hears when you have finished. The chat is the conversation: what you say appears
|
|
1038
|
+
as your message and Atlas's reply streams in as usual. Started in a chat, Talk talks in that chat. Started anywhere
|
|
1039
|
+
else, your first words start a new chat in the background and you stay on your page; a small strip in the corner shows
|
|
1040
|
+
the last thing said, with <strong>Open the chat</strong> and <strong>End</strong>. Open another chat and Talk carries on in it; open Home and
|
|
1041
|
+
your next words start a new one. Ask for work ("run the checkout tests on QA") and keep talking while it runs: say "use
|
|
1042
|
+
staging instead" and the work changes course. Its questions are read out: a yes-or-no question takes a plain yes or
|
|
1043
|
+
no; for the others, say an option by its name or place ("the second one"), then yes. A question with more than six
|
|
1044
|
+
options, or one that names production, stays on the screen for a click. Code, tables, links and file paths stay on the
|
|
1045
|
+
screen. Speech runs on this computer only: Settings › Voice sets it up once (open speech models, after you agree to the
|
|
1046
|
+
size), and nothing but the words reaches your model, as typed words do. English only for now; choose there how long it
|
|
1047
|
+
waits when you pause.</p>
|
|
1048
|
+
<p><strong>While it works.</strong> Talk says which step Atlas is on, and "Still on it" when a step takes long. Say "wait" or "hold
|
|
1049
|
+
on" and it stops speaking and holds the work before its next step; say "go on", or anything new, and it carries on.
|
|
1050
|
+
Talking over Atlas never stops the work; the chat's <strong>Stop</strong> does. A nod ("yeah", "right") over it lets it finish what
|
|
1051
|
+
it was saying. A change you say during a long step is taken in when that step ends, and Talk tells you so. It reads
|
|
1052
|
+
the first three items of a list, then says how many more are on the screen. When it is free, it tells you when work
|
|
1053
|
+
elsewhere in the app has finished or needs your answer.</p>
|
|
1054
|
+
<p><strong>On the page.</strong> While Talk is on, Atlas can open a page ("open regression packs"), switch between light and dark,
|
|
1055
|
+
open or close the sidebar, show or hide a chat's browser, and end the talk when you ask. It can read the page you are
|
|
1056
|
+
on and use its links, tabs, filters, search boxes and text fields. It changes a setting or presses a button only after
|
|
1057
|
+
it asks ("Press Run?") and you say yes; anything else is a no. It never uses a password, secret, token or key field,
|
|
1058
|
+
the Secrets section, or anything that names production. A conversation that only moves around the app like this is
|
|
1059
|
+
not listed under Chats; it becomes a chat there once Atlas starts real work, named by that request.</p>
|
|
1038
1060
|
<p><strong>Found a problem in ForgeQE itself?</strong> Settings › Report a problem. ForgeQE picks the recent session that went wrong
|
|
1039
1061
|
and reads its log for what was run and ForgeQE's own errors; the bug reporter (<code>forgeqe-bug-report</code>) drafts the bug from
|
|
1040
1062
|
that and asks only what it cannot find, usually what you expected. You edit it, keep or untick what is attached (that
|
|
@@ -1079,10 +1101,14 @@ forgeqe run "Run the cases in smoke.yaml and don't post results" --pla
|
|
|
1079
1101
|
<tr><th><code>type</code></th><th>Fields</th><th>Meaning</th></tr>
|
|
1080
1102
|
</thead>
|
|
1081
1103
|
<tbody>
|
|
1082
|
-
<tr><td><code>message</code></td><td><code>id</code> (your turn id), <code>text</code
|
|
1104
|
+
<tr><td><code>message</code></td><td><code>id</code> (your turn id), <code>text</code>; optional <code>voice</code> (<code>true</code>: the words were said aloud) and <code>note</code> (one line for the agent only, never shown or echoed)</td><td>A new user message. Refused with <code>error</code> <code>busy</code> while a turn runs</td></tr>
|
|
1083
1105
|
<tr><td><code>answer</code></td><td><code>id</code> (from an <code>ask</code>), <code>choice</code> (an option id, or <code>null</code> to cancel)</td><td>Answers the pending question</td></tr>
|
|
1084
1106
|
<tr><td><code>continue</code></td><td><code>id</code> (from a <code>wait</code>), <code>ok</code> (<code>true</code> = Done, continue; <code>false</code> = Cancel)</td><td>Ends the pending wait</td></tr>
|
|
1085
|
-
<tr><td><code>
|
|
1107
|
+
<tr><td><code>steer</code></td><td><code>id</code> (yours), <code>text</code> (at most 4000 characters), optional <code>note</code></td><td>A change of plan into the running turn: the agent reads it before its next step and the turn goes on. Answered with <code>steered</code>; <code>error</code> <code>idle</code> when no turn runs (send a <code>message</code>), <code>not_steered</code> when the turn ended before it reached the agent</td></tr>
|
|
1108
|
+
<tr><td><code>pause</code> / <code>resume</code></td><td></td><td>Holds the running turn before its next tool call, or lets it go on. Answered with <code>paused</code> or <code>resumed</code>; <code>error</code> <code>idle</code> when nothing runs or is paused</td></tr>
|
|
1109
|
+
<tr><td><code>warm</code></td><td></td><td>Opens the agent now, so the first message is answered sooner. Nothing is written back</td></tr>
|
|
1110
|
+
<tr><td><code>screen</code></td><td><code>id</code> (the read it answers), <code>text</code></td><td>The page's text for the agent's <code>read_screen</code>, for a web app. <code>error</code> <code>unknown_id</code> when no read waits</td></tr>
|
|
1111
|
+
<tr><td><code>stop</code></td><td>optional <code>safe</code> (<code>true</code>)</td><td>Stops the running turn (Esc or <code>/stop</code> in the shell). Nothing when idle. With <code>safe</code>, a step that is not safe to cut off finishes first: <code>stopping</code> names it, then the turn stops</td></tr>
|
|
1086
1112
|
<tr><td><code>settings</code></td><td><code>headed</code> and/or <code>writeTests</code> (each <code>true</code> or <code>false</code>, nothing else)</td><td>Changes the chat's choices from now on: whether browser runs are shown (as <code>--headed</code>), and whether passed runs become tests (as <code>--no-code</code>, off). The next browser run uses them; the agent is told of a change with your next message. Answered with <code>settings</code></td></tr>
|
|
1087
1113
|
<tr><td><code>model</code></td><td><code>profile</code> (a profile name, nothing else)</td><td>The chat's model from the next message, as a model picker does: the same agent session goes on, with the conversation, its tools and files, and the agent is told of the change with your next message; ForgeQE's tools use that profile too. Before the agent opens, any profile of llms.json; after, one of the <code>models</code> line. Refused with <code>error</code> <code>busy</code> while a turn runs, <code>bad_input</code> for anything else. Answered with <code>model</code></td></tr>
|
|
1088
1114
|
<tr><td><code>close</code></td><td></td><td>Stops any turn, closes the agent, stops monitors and the containers it started, writes <code>closed</code>, exits 0</td></tr>
|
|
@@ -1105,7 +1131,10 @@ forgeqe run "Run the cases in smoke.yaml and don't post results" --pla
|
|
|
1105
1131
|
<tr><td><code>ask</code></td><td><code>id</code> (<code>ask-N</code>), <code>turn</code>, <code>question</code> (<code>title</code>, <code>detail</code>, <code>lines</code>, <code>options[{id, label}]</code>)</td><td>A tool asks you to choose</td></tr>
|
|
1106
1132
|
<tr><td><code>wait</code></td><td><code>id</code> (<code>wait-N</code>), <code>turn</code>, <code>prompt</code></td><td>A tool waits for you to do something by hand</td></tr>
|
|
1107
1133
|
<tr><td><code>turn_done</code></td><td><code>id</code>, <code>outcome</code> (<code>done</code>, <code>failed</code>, <code>needs_input</code>, <code>stopped</code>), <code>reply</code> (the visible reply), <code>next</code> (follow-ups), <code>error</code> (when there is one), <code>usage</code> (the agent's usage so far, <code>null</code> before it opened)</td><td>The turn ended, whatever the way</td></tr>
|
|
1108
|
-
<tr><td><code>
|
|
1134
|
+
<tr><td><code>steered</code></td><td><code>id</code>, <code>turn</code>, <code>text</code></td><td>A <code>steer</code> reached the agent</td></tr>
|
|
1135
|
+
<tr><td><code>paused</code> / <code>resumed</code></td><td><code>turn</code></td><td>After <code>pause</code> or <code>resume</code></td></tr>
|
|
1136
|
+
<tr><td><code>stopping</code></td><td><code>turn</code>, <code>after</code> (up to three steps' labels)</td><td>A <code>stop</code> with <code>safe</code> waits for these steps</td></tr>
|
|
1137
|
+
<tr><td><code>error</code></td><td><code>code</code> (<code>bad_input</code>, <code>busy</code>, <code>idle</code>, <code>not_steered</code>, <code>unknown_id</code>, <code>model</code>, <code>internal</code>), <code>message</code>, <code>turn</code> (when one runs)</td><td>A problem that does not end the process</td></tr>
|
|
1109
1138
|
<tr><td><code>fatal</code></td><td><code>message</code></td><td>The process cannot go on; exit code 1 follows</td></tr>
|
|
1110
1139
|
<tr><td><code>closed</code></td><td></td><td>The last line before a clean exit</td></tr>
|
|
1111
1140
|
</tbody>
|
|
@@ -1231,7 +1260,7 @@ forgeqe memory stats # how often memory stood in for the
|
|
|
1231
1260
|
<ul>
|
|
1232
1261
|
<li><strong>Email</strong> reads a test mailbox (Gmail or Outlook with an app password, Mailpit, any IMAP server) read-only, and takes the newest message since the code was asked for. <strong>Text message</strong> reads the messages to a Twilio test number. <strong>http</strong> reads a test environment's own endpoint that answers with the latest code (as text or JSON), such as a Mailpit or Mailosaur API or a QA back door.</li>
|
|
1233
1262
|
<li><strong>The agent never sees the code.</strong> When the page asks for it, the browser agent calls <code>type_one_time_code</code> with the code field and the login; ForgeQE waits for the message, takes out the code with the pattern, and types it, only on the login's own sites. A code is never typed twice in a run, so a page that asks again gets the new one. Nothing else of the message is read into the run, logged, kept or shown: a message is data, and only something shaped like a code (letters, digits and -, 3 to 12) is taken.</li>
|
|
1234
|
-
<li><strong>Replays and tests.</strong> The step is recorded as "type the code shop's site sent", never the code. Replays and
|
|
1263
|
+
<li><strong>Replays and tests.</strong> The step is recorded as "type the code shop's site sent", never the code. Replays and Re-runs read a fresh one. A test written from the run calls <code>forgeqe login code shop --since <time></code> with an argument list and types what it prints; ForgeQE sets the mailbox or Twilio variables for the tests it runs, and in a pipeline you set them as secrets.</li>
|
|
1235
1264
|
<li><strong>The variables</strong> are test credentials, like the login's password: the browser engine and the tests get them, the model never does.</li>
|
|
1236
1265
|
</ul>
|
|
1237
1266
|
<p><strong>Security keys and passkeys.</strong> ForgeQE presents a security key the way WebAuthn's own test tools do: Chromium's virtual authenticator, with no USB key or phone. Register one on the test account once:</p>
|
|
@@ -1296,14 +1325,35 @@ forgeqe record --url https://staging.shop.test/cart # or any page
|
|
|
1296
1325
|
becomes a check on the element showing it; without quotes, one model call finds the text that shows it on the page. A
|
|
1297
1326
|
check the page cannot show yet is kept in your words, and the coding agent writes it. In the terminal, <code>undo</code>, <code>pause</code>,
|
|
1298
1327
|
<code>delete 4</code> and <code>stop</code> work too.</p>
|
|
1299
|
-
<p>What is recorded: clicks (a double click as one step
|
|
1300
|
-
in drop-downs, Enter and Escape, key chords, pages you open
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1328
|
+
<p>What is recorded: clicks (a double click as one step, a right-click as a click with the right button), the final
|
|
1329
|
+
text of each field you typed in (not each key), choices in drop-downs, Enter and Escape, key chords, pages you open
|
|
1330
|
+
from the address bar, and Back. A click on a menu item that opened when the pointer went over its trigger gets a
|
|
1331
|
+
hover on the trigger first. Steps are recorded inside frames (another site's too) and inside closed shadow roots, and
|
|
1332
|
+
in a window or tab the page opens. A click on a canvas keeps where in it you clicked. Also recorded:</p>
|
|
1333
|
+
<ul>
|
|
1334
|
+
<li><strong>Drags</strong>: an element dragged onto another, or moved by the mouse (a list item, a map pin, a slider), is one step.
|
|
1335
|
+
A replay drags with the mouse. Selecting text is not a drag.</li>
|
|
1336
|
+
<li><strong>Scrolls</strong> you make with the wheel or the keys, of half a screen or more, as one step (scrolls the page makes by
|
|
1337
|
+
itself are not).</li>
|
|
1338
|
+
<li><strong>Browser dialogs</strong> (alert, confirm, prompt, "leave this page?") are left for you to answer. Your answer is a step,
|
|
1339
|
+
and a replay answers the same way and dismisses any dialog the recording did not have.</li>
|
|
1340
|
+
<li><strong>Downloads</strong> are saved in the recording's <code>downloads/</code>. The file is a step: a replay checks that a file of that
|
|
1341
|
+
name (or of its pattern, when part of the name changes) arrives and is not empty.</li>
|
|
1342
|
+
<li><strong>A CAPTCHA</strong> (reCAPTCHA, hCaptcha, Turnstile, Arkose, GeeTest) is one step for a person, never its clicks. A
|
|
1343
|
+
replay in a visible browser waits up to 3 minutes for you to solve it; a headless one fails and says to turn it
|
|
1344
|
+
off in the test environment (the provider's test keys, or a bypass).</li>
|
|
1345
|
+
<li><strong>The browser's own sign-in box</strong> (basic auth): only the site is kept, with the saved login whose <code>domains</code> cover
|
|
1346
|
+
it. A replay signs in there with that login's variables. With no such login, the recording says to save one.</li>
|
|
1347
|
+
<li><strong>Browser permissions</strong> you allowed (location, notifications, clipboard, camera, microphone) are granted to that
|
|
1348
|
+
site in a replay.</li>
|
|
1349
|
+
</ul>
|
|
1350
|
+
<p>A password field is written as an environment variable: the saved login's <code>password_env</code> when what you typed is
|
|
1351
|
+
that login's password, else <code><HOST>_PASSWORD</code>. Text equal to a saved login's value is written as its variable, and
|
|
1352
|
+
what you type in a password field is never stored. A file you choose for an upload is recorded by its path in the
|
|
1353
|
+
working folder; one from elsewhere (Downloads, the desktop) is copied into the recording's <code>files/</code>, up to 25 MB. A
|
|
1354
|
+
hidden file (<code>.env</code>, anything under <code>.git</code>) or one named like credentials or keys is listed as not recorded. A
|
|
1355
|
+
Browse button that opens the file chooser, and files dropped on a drop zone, are recorded too. <code>--signed-in</code> starts
|
|
1356
|
+
with the saved sessions of <code>logins:</code>; without it, record the sign-in too.</p>
|
|
1307
1357
|
<p><strong>Data that changes from run to run.</strong> A test that spells out this recording's price, date, or order number fails on
|
|
1308
1358
|
the next run, so ForgeQE keeps what holds and makes the rest a pattern, a variable, or a value made fresh:</p>
|
|
1309
1359
|
<div class="tbl"><table>
|
|
@@ -1349,7 +1399,7 @@ change. <code>--no-plan</code> (or <code>--yes</code>) skips the plan. Later: <c
|
|
|
1349
1399
|
records only real input: clicks and keys a script fakes are ignored. The panel's own clicks and keys never reach the page
|
|
1350
1400
|
and are never recorded, and it stays above the page's dialogs. Recording uses local Chrome or Chromium.</p>
|
|
1351
1401
|
<p><strong>From the web app (Record page).</strong> You only do the steps, with nothing to describe first: the browser shows the site
|
|
1352
|
-
with no panel in it, only a small
|
|
1402
|
+
with no panel in it, only a small badge that says it is recording and how many steps, with a <strong>Stop</strong> button (only the button takes a click). <strong>Pause</strong>, <strong>Undo</strong> and <strong>Stop</strong> are on the
|
|
1353
1403
|
Record page (and on the keys: Ctrl+Shift+Space, then P, Z or S). After each step the recorder keeps a picture of the
|
|
1354
1404
|
page and what it showed (<code>steps/NNN.jpg</code> and <code>.json</code> in the run folder; the badge is left out of the picture, and an
|
|
1355
1405
|
address keeps no query, where a form sent by GET puts what was typed), and the calls the page made to its own site
|
|
@@ -1360,7 +1410,7 @@ like a password, token, key or session redacted, and every saved login's usernam
|
|
|
1360
1410
|
appear. Nothing is kept while the recording is paused. A value you make a secret in the review is taken out of
|
|
1361
1411
|
<code>network.json</code> too (a contract set made from it before keeps its copy: make the set again). When you stop, you review
|
|
1362
1412
|
the recording with clicks.</p>
|
|
1363
|
-
<p>The review
|
|
1413
|
+
<p>The review shows the recording's name, <strong>Re-run</strong> and <strong>Write the test</strong> at the top, and the tabs <strong>Steps</strong>, <strong>Test data</strong>, <strong>Runs</strong>, <strong>Instructions</strong>, <strong>Blocks</strong> and <strong>Versions</strong>. ForgeQE has already made
|
|
1364
1414
|
the choices most recordings need, as one version you can undo: an email typed where an account is made is new on each
|
|
1365
1415
|
run, and the last step has the check its page suggests first. When steps of the recording are a saved block, it says
|
|
1366
1416
|
so: <strong>Use the block</strong> marks them as the block.</p>
|
|
@@ -1372,28 +1422,37 @@ so: <strong>Use the block</strong> marks them as the block.</p>
|
|
|
1372
1422
|
<tr><td>Name</td><td>Written from what you did ("shop.test: Sign in → Email → Password → Log in …"); change it if you like</td></tr>
|
|
1373
1423
|
<tr><td>Check that … under a step</td><td>One click adds a check of what the step brought to the page: a new title, a message or heading. Digits are checked by their shape (<code>Order placed: #\d+</code>)</td></tr>
|
|
1374
1424
|
<tr><td>A call under a step</td><td>One click checks the page's own call to its server, such as <code>POST /api/orders answers 201</code>: the test waits for it and checks its status</td></tr>
|
|
1375
|
-
<tr><td>Suggest
|
|
1425
|
+
<tr><td>Suggest</td><td>One model call reads the pages after each step and suggests checks and test data; each is kept only when it is what the recording holds. <strong>Add</strong> one, or <strong>Add all</strong></td></tr>
|
|
1426
|
+
<tr><td>The pencil on a check</td><td>Change what it checks (its text, its value, that it shows, that it is gone, enabled or disabled, how many there are, or an attribute's value) and how it compares: contains, is exactly, starts with, ends with, does not contain, matches a pattern, or a number in it (=, >, ≥, <, ≤, between), in any case if you like. <strong>Back to contains</strong> undoes it</td></tr>
|
|
1376
1427
|
<tr><td>The picture of a step</td><td>Click a text on it to check that it shows, or a field to check its value</td></tr>
|
|
1428
|
+
<tr><td>A step's details</td><td>What was recorded for it: the element, every locator kept (XPath too) and whether each was unique, its frames. <strong>How step N finds its element</strong> picks another of those locators. A step found by something that changes on the next run (a value the page's framework made, a price or date, a value given only on that load) says so under the step</td></tr>
|
|
1377
1429
|
<tr><td>Add, then Check</td><td>The page the step leads to, or a check in your words, which the coding agent finds on the page</td></tr>
|
|
1378
1430
|
<tr><td>Add, then Step</td><td><strong>Record more from here</strong>: the browser opens and does the steps up to there, and you record what comes next; it goes in after that step. Or a step in your words ("choose the cheapest delivery"), which the coding agent finds on the page and does there; open a page; or go back</td></tr>
|
|
1431
|
+
<tr><td>Add, then Wait</td><td>Wait until the page has loaded, until a text shows or is gone, or a number of seconds (1 to 60)</td></tr>
|
|
1379
1432
|
<tr><td>Add, then Note</td><td>A note on the step for whoever writes the test ("this is the cart page object")</td></tr>
|
|
1380
1433
|
<tr><td>Drop (bin)</td><td>Removes the step</td></tr>
|
|
1381
1434
|
<tr><td>Instructions for Quill</td><td>Anything else about the test, in your words: where it goes, the page objects to use, its tags. The coding agent follows them, as long as they keep to the steps and checks</td></tr>
|
|
1382
1435
|
<tr><td>Test data</td><td>Each typed value: as typed, test data, new on each run (<code>ann+{{$unique}}@shop.test</code>), or a secret read from the environment, its typed text removed from the recording, its pictures and every kept version</td></tr>
|
|
1383
1436
|
<tr><td>Blocks</td><td>Keep steps you do in many tests (Sign in) as a block, <code>.forgeqe/blocks/<name>.yaml</code>; put a block in after a step. Blocks go into the repository, so the team shares them (the review says when <code>.gitignore</code> leaves them out). A block holds only steps done by hand: a block file with a step that runs JavaScript, calls an API or uploads a file is ignored</td></tr>
|
|
1384
|
-
<tr><td>
|
|
1437
|
+
<tr><td>Versions</td><td>Every change is a version: go back to any of them, or to the recording as recorded</td></tr>
|
|
1385
1438
|
<tr><td>Re-record</td><td>Plays the same steps against the application as it is now, and where a step's control has moved, reaches it through another locator the recorder kept for that step and carries on. Each swap is shown (the step, what it does, the locator that replaced which, and what the recorded one said), kept in <code>reheal.json</code> beside the run, and written into the recording only when you accept it — then that locator is the one the step uses, as a version of the review like any other. A control that no locator finds is a failed step as usual: record that stretch again. <strong>Write the test</strong> after a re-record heals the test the recording already has, changing what those steps need and leaving the rest of it alone</td></tr>
|
|
1386
|
-
<tr><td>
|
|
1439
|
+
<tr><td>Re-run</td><td>On the <strong>Runs</strong> tab, or at the top: plays the steps with Playwright in a new browser, as the test will: where it was recorded or on another environment of <code>env.yaml</code> (the same web app's address there), with the test data as recorded or other values. With <code>api.capture</code> on (the default) it keeps the application's API calls of the latest try in <code>tries/network.json</code>, cleaned as a recording's are; <strong>API tests from its calls</strong> opens the API page with that try picked and the recording to compare with, so values that differ between them become the calls' inputs</td></tr>
|
|
1387
1440
|
</tbody>
|
|
1388
1441
|
</table></div>
|
|
1442
|
+
<p><strong>Runs.</strong> Re-run plays the steps where they were recorded or on another environment of env.yaml, with the values as
|
|
1443
|
+
typed, values you give, or once for each row of a data file or kept request of the project (<strong>Test data</strong>: up to 20
|
|
1444
|
+
rows, one after another; for an Excel file, a <strong>Sheet</strong>). A column named like a test data value gives its value.
|
|
1445
|
+
<strong>Stop</strong> ends a run and closes its browser. <strong>Earlier runs</strong> lists the runs before, newest first, each with how it
|
|
1446
|
+
ended, where, and its steps and log; only the latest keeps its pictures, video and trace. <strong>Recording video</strong> and
|
|
1447
|
+
<strong>Recording log</strong> (Steps tab) and <strong>Re-run video</strong> and <strong>Re-run log</strong> (Runs tab) open in a new tab.</p>
|
|
1389
1448
|
<p><strong>Start from a block</strong> (More options on the Record page): the recording opens the block's first page and does its
|
|
1390
1449
|
steps for you in the same tab, the recorder paused meanwhile; then you record the rest. A step that cannot be done (a
|
|
1391
1450
|
secret not set) ends the block there, and you do the rest by hand. <strong>Write the test</strong> hands the recording to the coding
|
|
1392
1451
|
agent, which asks nothing: the plan and where the test goes follow the repository, and each block becomes one helper
|
|
1393
|
-
that every test using it calls. A past recording is run again the same way: <strong>
|
|
1452
|
+
that every test using it calls. A past recording is run again the same way: <strong>Open the recording</strong> in the list (the row's menu), then <strong>Re-run</strong>.</p>
|
|
1394
1453
|
<p><strong>Write the test</strong> first plays the steps with Playwright, as the test will. When a step does not work, it says so
|
|
1395
|
-
before any code is written: <strong>
|
|
1396
|
-
its place),
|
|
1454
|
+
before any code is written: <strong>Show</strong> opens the step, <strong>Record</strong> does it again (the browser does the steps before it,
|
|
1455
|
+
and what you record takes its place), <strong>Remove</strong> drops it, and <strong>Write</strong> writes the test anyway. Then Quill writes the test, and its work shows in the review:
|
|
1397
1456
|
what it is doing, the files it changed, and its answer (or why it stopped).</p>
|
|
1398
1457
|
</div>
|
|
1399
1458
|
</section>
|
|
@@ -1878,9 +1937,9 @@ Acceptance criteria:
|
|
|
1878
1937
|
forgeqe persona show payments-sme # one persona and the brief agents act on
|
|
1879
1938
|
forgeqe persona create "an SME in card payments who reconciles settlements" --domain payments --kind sme [--save]
|
|
1880
1939
|
</code></pre>
|
|
1881
|
-
<p>Built in: <code>payments-sme</code> (<code>/priya</code>), <code>retail-customer</code> (<code>/sam</code>), <code>compliance-specialist</code> (<code>/dana</code>), <code>operations-manager</code> (<code>/lee</code>), <code>first-time-user</code> (<code>/alex</code>), and three risk-oriented personas
|
|
1940
|
+
<p>Built in: <code>payments-sme</code> (<code>/priya</code>), <code>retail-customer</code> (<code>/sam</code>), <code>compliance-specialist</code> (<code>/dana</code>), <code>operations-manager</code> (<code>/lee</code>), <code>first-time-user</code> (<code>/alex</code>), and three risk-oriented personas for testing misuse on a test environment: <code>incentive-exploiter</code> (<code>/max</code>, an opportunistic deal hunter), <code>insider-agent</code> (<code>/rory</code>, a customer service agent who misuses refund and credit rights) and <code>partner-merchant</code> (<code>/morgan</code>, a marketplace merchant watching payout timing). <a href="#doc-how_to_use-basal-business-testing">BASAL</a> casts its own personas for each business test.</p>
|
|
1882
1941
|
<p>Besides what they know and check, a persona can say <strong>why they act</strong> (<code>intent</code>: <code>legitimate</code>, <code>opportunistic</code> or <code>adversarial</code>, with a <code>risk_appetite</code>), what drives them (<code>motivations</code>), what their role lets them do in the app (<code>permissions</code>), the limits they work within (<code>constraints</code>), the mistakes they plausibly make (<code>mistakes</code>) and who they deal with (<code>relationships</code>, by persona id). Each saved change raises its <code>version</code>.</p>
|
|
1883
|
-
<p><strong>Every persona is a command in every agent's chat.</strong> Start a message with it and the task
|
|
1942
|
+
<p><strong>Every persona is a command in every agent's chat.</strong> Start a message with it and the task (<code>/priya Validate the payment change</code>), or name personas anywhere in the words (<code>check @steps.json as /sam and /priya</code>), up to four in one message; a word that names no persona, such as <code>/tmp</code>, stays as it is. It works in the terminal shell (typing <code>/</code> suggests the personas with the shell's commands), <code>forgeqe run "/priya …"</code>, every chat box of the web app (typing <code>/</code> at the start offers the personas) and a custom agent's chat. ForgeQE turns the command into the persona's brief, quoted as data, and your task after it, so the agent acts as that person, puts the brief at the start of its browser runs, and judges the app by what they check. A persona's command is its <code>handle</code> (its id when it has none): a word of lower-case letters, digits and dashes that is never one of the shell's own commands or another persona's.</p>
|
|
1884
1943
|
<pre><code class="language-bash">forgeqe persona export --out personas.json # your own personas, as a file to share
|
|
1885
1944
|
forgeqe persona import personas.json # another project's: new ones only, never replacing one here
|
|
1886
1945
|
</code></pre>
|
|
@@ -1927,9 +1986,9 @@ scenarios:
|
|
|
1927
1986
|
<div class="detail"><span class="mono">In detail</span>
|
|
1928
1987
|
<section class="doc" id="doc-how_to_use-basal-business-testing">
|
|
1929
1988
|
<h4>BASAL: business testing</h4>
|
|
1930
|
-
<div class="prose"><p><strong>BASAL</strong> tests a business decision the way real people meet it. Ask a business question with its brief ("Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected"), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (
|
|
1989
|
+
<div class="prose"><p><strong>BASAL</strong> tests a business decision the way real people meet it. Ask a business question with its brief ("Should we launch saved cards as Option A or B? Test how merchants, shoppers and support would really be affected"), and BASAL works it through eight steps, each a page of its own beside the live knowledge graph (Quality Engineering › Test design › BASAL, its <strong>Tests</strong> tab):</p>
|
|
1931
1990
|
<ol>
|
|
1932
|
-
<li><strong>Ask</strong>: the question, the files it rests on (a brief, survey data, policy extracts) and work items.</li>
|
|
1991
|
+
<li><strong>Ask</strong>: the question, the files it rests on (a brief, survey data, policy extracts) and work items. On the page you give the question; files and work items are added at a terminal (<code>--file</code>, <code>--story</code>).</li>
|
|
1933
1992
|
<li><strong>Understand</strong>: the decision, its options, the stakeholders, the success criteria and the facts, read from the sources and the product knowledge graph (found by meaning in Neo4j). An item is <strong>observed</strong> only when its quote is in the source it names; otherwise it is <strong>inferred</strong>.</li>
|
|
1934
1993
|
<li><strong>Strategy</strong>: scenarios that decide the question, each step by a stakeholder on a channel ForgeQE's agents play (browser, API, mobile, desktop, a person, or opinion only), and the business expectations that judge it. Only stakeholders, apps, saved API calls and test environments the project has are kept; an expectation is <strong>policy</strong> only when it rests on an observed success criterion.</li>
|
|
1935
1994
|
<li><strong>Cast</strong>: one persona per stakeholder who acts: what they check, what they object to, the mistakes they bring.</li>
|
|
@@ -1939,17 +1998,21 @@ scenarios:
|
|
|
1939
1998
|
<li><strong>Judge</strong>: code judges each scenario from what was observed: <strong>confirmed failure</strong>, <strong>policy ambiguity</strong>, <strong>potential risk</strong>, <strong>missing evidence</strong> or <strong>expected behaviour</strong>. A step only a person can see waits for you. "Next round" sends the outcomes back to the cast.</li>
|
|
1940
1999
|
</ol>
|
|
1941
2000
|
<p>At a terminal:</p>
|
|
1942
|
-
<pre><code class="language-bash">forgeqe basal
|
|
2001
|
+
<pre><code class="language-bash">forgeqe basal # the business tests here (same as: forgeqe basal list)
|
|
2002
|
+
forgeqe basal new "Should we launch saved cards with a fee?" --file briefs/brief.md --file briefs/survey.csv [--story ID] [--env qa]
|
|
1943
2003
|
forgeqe basal understand <id>
|
|
1944
2004
|
forgeqe basal strategy <id>
|
|
1945
2005
|
forgeqe basal cast <id>
|
|
1946
2006
|
forgeqe basal rehearse <id>
|
|
2007
|
+
forgeqe basal show <id> # the scenario, cast and strategy
|
|
1947
2008
|
forgeqe basal approve <id> # a person types the id
|
|
1948
|
-
forgeqe basal act <id> [--scenario s1,s2]
|
|
2009
|
+
forgeqe basal act <id> [--scenario s1,s2] [--yes-writes]
|
|
1949
2010
|
forgeqe basal judge <id>
|
|
1950
2011
|
forgeqe basal observe <id> <scenario> --step 3 --accepted|--refused [--values name=value] [--note TEXT]
|
|
1951
2012
|
</code></pre>
|
|
1952
|
-
<p>
|
|
2013
|
+
<p><code>act</code> lists the steps that change data and runs them only when you type <code>yes</code>; <code>--yes-writes</code> agrees in advance.</p>
|
|
2014
|
+
<p>On BASAL's page, start a test on <strong>Agent</strong> with your business question and <strong>Start</strong>. <strong>Tests</strong> lists every business test with how many of the eight steps it has done; open one to work through its steps. <strong>Personas</strong> shows who each test was cast with, and <strong>Findings</strong> shows every scenario's latest verdict, the ones that need attention first. You can also ask Atlas ("test whether we should launch saved cards with a fee, here is the brief"): its <code>basal</code> tool starts the test and works through the steps, but never approves. It tells you where to approve, and acts only after you have.</p>
|
|
2015
|
+
<p>BASAL needs a model, and is best with the graph store (<code>forgeqe graph setup</code>: Neo4j, after you agree) and an embedding model (<code>graph.embedding</code>). Its files are in <code>.forgeqe/basal/tests/<id>/</code>. BASAL replaced the Business assurance agent: <code>forgeqe business</code> now only says where BASAL is, and tests kept in <code>.forgeqe/business</code> are not read.</p>
|
|
1953
2016
|
</div>
|
|
1954
2017
|
</section>
|
|
1955
2018
|
</div>
|
|
@@ -2081,7 +2144,7 @@ environment ("run the checkout tests in UAT"): each test tool takes an
|
|
|
2081
2144
|
<tbody>
|
|
2082
2145
|
<tr><td>ForgeQE's agent</td><td>The environment, its apps (with descriptions), values and cloud accounts in its session notes; plans scenarios across apps from them and carries values (an order number) between them</td></tr>
|
|
2083
2146
|
<tr><td>WebPilot</td><td>Starts at <code>start_app</code> when no URL is given; knows the environment's web apps by name and stays on their hosts; its values</td></tr>
|
|
2084
|
-
<tr><td>API tests</td><td>Call <code>api_app</code>'s
|
|
2147
|
+
<tr><td>API tests</td><td>Call each API's own address: the app of the environment whose URL the API was made from (so it follows the environment picked), else the API's own base URL, never simply <code>api_app</code>'s when that is another API; or, on the workbench, another web or API app a call or the API names as <code>{{app.NAME}}</code>. An API with no usable address on an environment says why and sends nothing</td></tr>
|
|
2085
2148
|
<tr><td>DeskPilot</td><td>Starts the environment's desktop apps; types only its <code>secrets</code></td></tr>
|
|
2086
2149
|
<tr><td>Quill, the healer, the reviewer</td><td>Write tests that read <code>FORGEQE_APP_<APP>_URL</code> (or the repository's own settings), never a fixed environment URL; the reviewer flags one</td></tr>
|
|
2087
2150
|
<tr><td>Tests ForgeQE runs, pack pipelines</td><td><code>FORGEQE_ACTIVE_ENV</code>, <code>FORGEQE_APP_<APP>_URL</code> / <code>_PATH</code> / <code>_ID</code>, <code>FORGEQE_VAR_<NAME></code>, <code>FORGEQE_DATA_<NAME></code>, <code>FORGEQE_CLOUD_*</code> (pipelines written by <code>forgeqe pack pipeline init</code> take them as the <code>env_vars</code> input)</td></tr>
|
|
@@ -2151,14 +2214,25 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2151
2214
|
<tr><th>Command</th><th>What it does</th></tr>
|
|
2152
2215
|
</thead>
|
|
2153
2216
|
<tbody>
|
|
2154
|
-
<tr><td><code>forgeqe init [--global] [--profile NAME]</code></td><td>Write <code>forgeqe.yaml</code>, <code>llms.json</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
|
|
2155
|
-
<tr><td><code>forgeqe setup [--force]</code></td><td>Download the agent runtime and the engine now (<code>--force</code> rebuilds the engine)</td></tr>
|
|
2217
|
+
<tr><td><code>forgeqe init [--dir DIR] [--global] [--force] [--profile NAME]</code></td><td>Write <code>forgeqe.yaml</code>, <code>llms.json</code>, <code>env.yaml</code>, and <code>.forgeqe/</code> with the prompts, skills, and product knowledge templates</td></tr>
|
|
2218
|
+
<tr><td><code>forgeqe setup [--force]</code></td><td>Download the agent runtime and the engine now, and Appium when mobile apps run on this computer (<code>--force</code> rebuilds the engine)</td></tr>
|
|
2219
|
+
<tr><td><code>forgeqe doctor</code></td><td>Whether this computer and the network (proxy, inspected HTTPS, firewall) let ForgeQE reach what it needs</td></tr>
|
|
2220
|
+
<tr><td><code>forgeqe doctor --packages</code></td><td>Every package ForgeQE installs on this computer, and which are missing or out of date</td></tr>
|
|
2221
|
+
<tr><td><code>forgeqe doctor browser [--headless]</code></td><td>Start the local browser each way ForgeQE can, and write a report of what stops it</td></tr>
|
|
2156
2222
|
<tr><td><code>forgeqe models</code></td><td>List the profiles in <code>llms.json</code> and the active one</td></tr>
|
|
2157
2223
|
<tr><td><code>forgeqe models --routes [--profile-models]</code></td><td>The model each area of work gets (<code>llm.routing</code>) and why; <code>--profile-models</code> checks and rates the models again (see <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>)</td></tr>
|
|
2158
2224
|
<tr><td><code>forgeqe features</code></td><td>What ForgeQE can do, and what each capability still needs in this setup (works without a model)</td></tr>
|
|
2159
2225
|
<tr><td><code>forgeqe docs [--guide|--open] [--copy DIR]</code></td><td>The bundled docs; <code>--guide</code> opens the docs pages (as on forgeqe.github.io/docs/, offline), <code>--open</code> the architecture page</td></tr>
|
|
2160
2226
|
<tr><td><code>forgeqe mcp list</code></td><td>The MCP servers ForgeQE's agent gets from your settings</td></tr>
|
|
2161
|
-
<tr><td><code>forgeqe
|
|
2227
|
+
<tr><td><code>forgeqe models --copilot [--add MODEL [--as NAME] [--engine-model MODEL] [--default]]</code></td><td>Your Copilot seat's models and their premium requests; <code>--add</code> keeps one as a profile (see <a href="../HOW_TO_USE.md#github-copilot-seats-as-the-model">GitHub Copilot seats as the model</a>)</td></tr>
|
|
2228
|
+
<tr><td><code>forgeqe web [--port N] [--no-open]</code></td><td>The web app on 127.0.0.1 (see <a href="../HOW_TO_USE.md#the-web-app">The web app</a>; <code>--url</code> and <code>--public-url</code> are in docs/WEB_APP.md)</td></tr>
|
|
2229
|
+
<tr><td><code>forgeqe context</code></td><td>What each agent loads on every model call, against its budget (exit 1 over budget)</td></tr>
|
|
2230
|
+
<tr><td><code>forgeqe guardrails [add "rule"]</code></td><td>The team's rules every agent follows, or add one (see <a href="#doc-how_to_use-guardrails">Guardrails</a>)</td></tr>
|
|
2231
|
+
<tr><td><code>forgeqe prompts [list] | show|diff|reset <name> | check [name] | eval</code></td><td>Every agent prompt and where it comes from; compare, reset, check, evaluate</td></tr>
|
|
2232
|
+
<tr><td><code>forgeqe apps [--env NAME]</code>, <code>forgeqe env import <file.yaml> [--write]</code>, <code>forgeqe env link <name> <file.yaml></code></td><td>The test environments in env.yaml and their apps; an environment from the team's own YAML (see <a href="#doc-how_to_use-environments-and-apps">Environments and apps</a>)</td></tr>
|
|
2233
|
+
<tr><td><code>forgeqe knowledge [build|status|search|node|impact]</code></td><td>The product knowledge graph (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
|
|
2234
|
+
<tr><td><code>forgeqe graph [status|setup [--yes]|sync|search "<words>"|stop|reset]</code></td><td>ForgeQE's Neo4j for the product graph and BASAL's scenario graphs (see <a href="#doc-how_to_use-product-knowledge-graph">Product knowledge graph</a>)</td></tr>
|
|
2235
|
+
<tr><td><code>forgeqe auth login [system|NAME] [--no-browser]</code></td><td>Sign in to Azure DevOps, GitHub, GitHub Copilot (<code>copilot</code>), Jira, Confluence, TestRail, Zephyr, qTest, Xray, BrowserStack, TestMu AI, GitLab, Postman, Sentry, Azure or Dataverse in the browser, or save one secret, in the system's credential store</td></tr>
|
|
2162
2236
|
<tr><td><code>forgeqe auth [status]</code>, <code>forgeqe auth logout <system></code></td><td>What is signed in; forget a sign-in</td></tr>
|
|
2163
2237
|
</tbody>
|
|
2164
2238
|
</table></div>
|
|
@@ -2177,6 +2251,12 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2177
2251
|
<tr><td><code>forgeqe bi [build] [--from FILE|DIR]... [--static|--evidence]</code></td><td>The team report of every run here and the shared bundles (see <a href="#doc-how_to_use-team-report">Team report</a>)</td></tr>
|
|
2178
2252
|
<tr><td><code>forgeqe bi init|sync</code></td><td>Scaffold the Evidence project; refresh its datasets and pages without building</td></tr>
|
|
2179
2253
|
<tr><td><code>forgeqe bi export [--out FILE|DIR]</code></td><td>This machine's runs and readiness reports in one file to share</td></tr>
|
|
2254
|
+
<tr><td><code>forgeqe refine "<request>" [--json]</code></td><td>The request made precise against what ForgeQE knows here; runs nothing</td></tr>
|
|
2255
|
+
<tr><td><code>forgeqe agent list | new | try | approve | run | approvals …</code></td><td>The team's custom agents (see <a href="#doc-how_to_use-custom-agents">Custom agents</a>)</td></tr>
|
|
2256
|
+
<tr><td><code>forgeqe jobs add <name> [--every 15m | --cron "…"] [--now] -- <command...></code>, <code>forgeqe jobs [list|status|logs|run|stop|remove] <name></code></td><td>Commands on a schedule or now, in the jobs service</td></tr>
|
|
2257
|
+
<tr><td><code>forgeqe pipeline watch --github owner/repo --workflow ci.yml | --ado-project NAME --pipeline ID</code></td><td>The latest run of a CI pipeline; exit 1 while it is failed</td></tr>
|
|
2258
|
+
<tr><td><code>forgeqe investigate <run folder></code></td><td>Heal a job run's handed-over failures, each on a local branch</td></tr>
|
|
2259
|
+
<tr><td><code>forgeqe evidence [record|runs|show|check|contract|…]</code></td><td>An AI agent's runs as evidence</td></tr>
|
|
2180
2260
|
</tbody>
|
|
2181
2261
|
</table></div>
|
|
2182
2262
|
</div></section>
|
|
@@ -2190,6 +2270,22 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2190
2270
|
<tr><td><code>forgeqe visual [run] | approve [run] [--page p]</code></td><td>Each page against its approved screenshot; approve an intended change as the new baseline</td></tr>
|
|
2191
2271
|
<tr><td><code>forgeqe quality [run] | trends [page]</code></td><td>A run's WCAG rules and Core Web Vitals against the budgets; per page over time</td></tr>
|
|
2192
2272
|
<tr><td><code>forgeqe explore <story> [--url URL] [--roles a,b]</code></td><td>Exploratory testing of a story: charters beyond the scripted cases, confirmed defects, proposed cases</td></tr>
|
|
2273
|
+
<tr><td><code>forgeqe record [APP | --url URL] [--case REF] [--name TEXT] [--repo DIR]</code></td><td>Do a web test's steps yourself; ForgeQE records them and Quill writes the test (see <a href="#doc-how_to_use-recording-a-web-test-by-hand">Recording a web test by hand</a>)</td></tr>
|
|
2274
|
+
<tr><td><code>forgeqe desktop explore|record|replay|setup|apps|doctor|validate …</code></td><td>Windows apps (see <a href="#doc-how_to_use-desktop-apps-windows">Desktop apps</a>)</td></tr>
|
|
2275
|
+
<tr><td><code>forgeqe mobile explore|replay|maestro|upload|setup|apps|doctor …</code></td><td>Android and iOS apps (see <a href="#doc-how_to_use-mobile-apps-android-ios">Mobile apps</a>)</td></tr>
|
|
2276
|
+
<tr><td><code>forgeqe migrate plan --to <target> [--from DIR] | confirm <plan> | run <plan> | show | list | targets</code></td><td>Move a test suite to another framework (see <a href="#doc-how_to_use-migrating-a-test-suite">Migrating a test suite</a>)</td></tr>
|
|
2277
|
+
<tr><td><code>forgeqe tosca inspect <file.tsu> | plan <file.tsu> --to <target> | confirm | run | verify | fix …</code></td><td>Convert Tosca test cases (see <a href="#doc-how_to_use-converting-tosca-tests">Converting Tosca tests</a>)</td></tr>
|
|
2278
|
+
<tr><td><code>forgeqe pack build|run|triage|heal|list|show …</code>, <code>forgeqe pack pipeline init [--github] [--azure-devops]</code></td><td>Regression packs for a release (see <a href="#doc-how_to_use-regression-packs-for-a-release">Regression packs for a release</a>)</td></tr>
|
|
2279
|
+
<tr><td><code>forgeqe pr-tests [pr] [--base BRANCH] [--run] [--post]</code></td><td>The tests a pull request can break; <code>--run</code> makes it a CI gate (see <a href="#doc-how_to_use-tests-for-a-pull-request">Tests for a pull request</a>)</td></tr>
|
|
2280
|
+
<tr><td><code>forgeqe impact <repo> <base> <head> | <repo> --pr LINK [--gate] [--post] [--json] [--quick]</code></td><td>What a change in a product repository reaches, and whether it is ready; <code>--gate</code> exits 1 when it is blocked</td></tr>
|
|
2281
|
+
<tr><td><code>forgeqe report <file|folder>... [--title T] [--out DIR]</code>, <code>forgeqe report setup [--repo DIR]</code></td><td>report.html from JUnit XML or TRX run outside ForgeQE (see <a href="#doc-how_to_use-reports-for-tests-run-outside-forgeqe">Reports for tests run outside ForgeQE</a>)</td></tr>
|
|
2282
|
+
<tr><td><code>forgeqe a11y "<goal>" --persona a,b [--url URL]</code>, <code>forgeqe a11y personas</code></td><td>Accessibility testing as personas (see <a href="#doc-how_to_use-accessibility-testing-with-personas">Accessibility testing with personas</a>)</td></tr>
|
|
2283
|
+
<tr><td><code>forgeqe persona [list] | show | create | export | import</code></td><td>Business personas (see <a href="#doc-how_to_use-business-personas">Business personas</a>)</td></tr>
|
|
2284
|
+
<tr><td><code>forgeqe flags list [--env NAME]</code>, <code>forgeqe flags run <pack> <flag=v1,v2> --env NAME</code></td><td>A regression pack once per feature-flag combination (see <a href="#doc-how_to_use-feature-flag-matrix">Feature-flag matrix</a>)</td></tr>
|
|
2285
|
+
<tr><td><code>forgeqe defects [--folder DIR]</code>, <code>forgeqe defects predict [--repo DIR] [--base REF] [--head REF]</code></td><td>Defect trends, and where a change is likely to cause defects</td></tr>
|
|
2286
|
+
<tr><td><code>forgeqe api load|mock|security|heal|list [SET] …</code></td><td>Load and latency, a mock server, OWASP API checks, re-learn failing contracts, the saved sets</td></tr>
|
|
2287
|
+
<tr><td><code>forgeqe testmgmt sync | schedule [off|hourly|daily HH:MM]</code></td><td>Read the test plans of Test management now; set when they are read again (see <a href="#doc-how_to_use-test-management">Test management</a>)</td></tr>
|
|
2288
|
+
<tr><td><code>forgeqe basal [list | new "<question>" … | show <id> | approve <id> | act <id> …]</code></td><td>BASAL business tests (see <a href="#doc-how_to_use-basal-business-testing">BASAL</a>)</td></tr>
|
|
2193
2289
|
<tr><td><code>forgeqe api contracts --spec <link|file></code></td><td>API contracts from OpenAPI/Swagger, WSDL, GraphQL, .proto, or grpc://</td></tr>
|
|
2194
2290
|
<tr><td><code>forgeqe api contracts --run [RUN]</code></td><td>API contracts from the calls a browser run saw the app make</td></tr>
|
|
2195
2291
|
<tr><td><code>forgeqe api run [SET] [--base-url URL]</code></td><td>Run contracts against the API, no browser; exit 1 on a failure</td></tr>
|
|
@@ -2215,6 +2311,8 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2215
2311
|
<tr><td><code>forgeqe flows [list]|map|impact <db.table[.column]></code></td><td>The data flows in <code>flows.yaml</code>, what feeds what, everything downstream (see <a href="#doc-how_to_use-data-flows">Data flows</a>)</td></tr>
|
|
2216
2312
|
<tr><td><code>forgeqe flows check [name ...] [--junit FILE] [--post-ado]</code></td><td>Check each hop: arrived, complete, correct, on time</td></tr>
|
|
2217
2313
|
<tr><td><code>forgeqe flows trace <db.table|flow,flow> <key> [--wait SECONDS]</code></td><td>Follow one record hop by hop</td></tr>
|
|
2314
|
+
<tr><td><code>forgeqe data request "<need>" [--db NAME] [--kind existing|new|auto]</code>, <code>forgeqe data fetch <name></code>, <code>forgeqe data requests</code>, <code>forgeqe data log</code></td><td>Ask Miner for test data; a kept request's data again, no model</td></tr>
|
|
2315
|
+
<tr><td><code>forgeqe data ask "<question>" --as query|checks|script</code>, <code>forgeqe data checks <name></code></td><td>A question as a query, data checks or a database test script; kept checks run again</td></tr>
|
|
2218
2316
|
</tbody>
|
|
2219
2317
|
</table></div>
|
|
2220
2318
|
</div></section>
|
|
@@ -2227,6 +2325,8 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2227
2325
|
<tr><td><code>forgeqe memory clear [host|app] --yes</code></td><td>Forget a host, an app, or everything</td></tr>
|
|
2228
2326
|
<tr><td><code>forgeqe memory stats [--json]</code></td><td>How often memory stood in for the model, per area</td></tr>
|
|
2229
2327
|
<tr><td><code>forgeqe login <name></code> / <code>forgeqe logins</code></td><td>Sign in by hand once; list or clear saved sessions</td></tr>
|
|
2328
|
+
<tr><td><code>forgeqe login code <name> [--since TIME]</code></td><td>The one-time code the login's site sent; only the code is printed</td></tr>
|
|
2329
|
+
<tr><td><code>forgeqe services [status|up|down|logs] [name ...]</code></td><td>The services forgeqe.yaml declares, in Docker or Podman (see <a href="#doc-how_to_use-containers-and-mock-services">Containers and mock services</a>)</td></tr>
|
|
2230
2330
|
<tr><td><code>forgeqe monitor [--once] [--test-alerts]</code></td><td>Checks on a schedule, with Teams and email alerts</td></tr>
|
|
2231
2331
|
<tr><td><code>forgeqe notify test [channel]</code></td><td>Send a test card to the notification channels (see <a href="#doc-how_to_use-17-notifications">Notifications</a>)</td></tr>
|
|
2232
2332
|
<tr><td><code>forgeqe mcp [--repo DIR]</code></td><td>ForgeQE's tools as an MCP server for other agents</td></tr>
|
|
@@ -2277,7 +2377,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2277
2377
|
</section>
|
|
2278
2378
|
<section class="doc" id="doc-how_to_use-your-prompts-skills-and-product-knowledge">
|
|
2279
2379
|
<h4>Your prompts, skills, and product knowledge</h4>
|
|
2280
|
-
<div class="prose"><p><code>init</code> also puts
|
|
2380
|
+
<div class="prose"><p><code>init</code> also puts four folders in <code>.forgeqe/</code> to read, change, and commit:</p>
|
|
2281
2381
|
<div class="tbl"><table>
|
|
2282
2382
|
<thead>
|
|
2283
2383
|
<tr><th>Folder</th><th>What it holds</th></tr>
|
|
@@ -2286,6 +2386,7 @@ Signing in stays <code>/auth</code> and <code>forgeqe login</code>; <code>forgeq
|
|
|
2286
2386
|
<tr><td><code>.forgeqe/prompts/</code></td><td>Every prompt ForgeQE's agents work from, one markdown file each: ForgeQE's agent (<code>brain.md</code>), Quill (<code>test-agent.md</code>, <code>test-rules.md</code>), the reviewer, healing, finding tests, pull request review, API tests and scenarios, exploratory charters, and the browser agent (<code>browser-*.md</code>, plus <code>browser-extra.md</code> for your own instructions).</td></tr>
|
|
2287
2387
|
<tr><td><code>.forgeqe/skills/</code></td><td>The built-in skills (framework and app playbooks), to adapt to your project; add your own next to them.</td></tr>
|
|
2288
2388
|
<tr><td><code>.forgeqe/knowledge/</code></td><td>Product knowledge templates: the product and its flows, roles, glossary, business rules, test data, environments.</td></tr>
|
|
2389
|
+
<tr><td><code>.forgeqe/guardrails/</code></td><td>Your guardrails: rules every agent must follow, one <code>- rule</code> line each (see <a href="#doc-how_to_use-guardrails">Guardrails</a>).</td></tr>
|
|
2289
2390
|
</tbody>
|
|
2290
2391
|
</table></div>
|
|
2291
2392
|
<p><strong>Your copy or ForgeQE's.</strong> <code>.forgeqe-manifest.json</code> in each folder records what was copied. A copy you have not changed still counts as ForgeQE's, so it keeps getting ForgeQE's improvements when you update; once you edit it, yours is used. When ForgeQE's version changes after you edited yours, ForgeQE says so at start-up. Running <code>init</code> again adds what is missing and never overwrites an edited file (with <code>--force</code> it refreshes only unchanged copies).</p>
|
|
@@ -2345,7 +2446,7 @@ forgeqe prompts eval refine --runs 3 # one prompt, three runs of each case
|
|
|
2345
2446
|
<section class="doc" id="doc-how_to_use-product-knowledge-graph">
|
|
2346
2447
|
<h4>Product knowledge graph</h4>
|
|
2347
2448
|
<div class="prose"><p>ForgeQE reads every repository of your product into one knowledge graph, so its agents start from how the product works: which service serves an endpoint, which screen calls it, which tables it reads and writes, and which tests cover it.</p>
|
|
2348
|
-
<p>The quickest way is <strong>Settings ›
|
|
2449
|
+
<p>The quickest way is <strong>Settings › Product knowledge</strong> in <code>forgeqe web</code>, five steps in order:</p>
|
|
2349
2450
|
<ol>
|
|
2350
2451
|
<li><strong>Repositories.</strong> Add an account on GitHub, Azure DevOps, GitLab or Bitbucket (Cloud or Data Center), sign in in the browser or with a personal access token, then pick its repositories. In the browser, GitHub signs in with the GitHub CLI, Azure DevOps with Microsoft through the Azure CLI, and GitLab and Bitbucket with Git Credential Manager; ForgeQE fetches the repositories with the same sign-in. A local clone or a link can still be added by hand.</li>
|
|
2351
2452
|
<li><strong>Search service.</strong> Where your requirements are searched (a RAG index): a service at an address, a tool of one of your MCP servers, or a local command. Try a search on the page (a command runs only on a real search).</li>
|
|
@@ -2465,7 +2566,7 @@ the Landscape, under <em>Systems proposed by the model</em>, accept each, rename
|
|
|
2465
2566
|
in the team's pack. A repository with none of these is grouped with those that share the first word of its name
|
|
2466
2567
|
(<code>crm-core</code> and <code>crm-api</code>: CRM), and the page says so. Select a system to see its services, with the parts of other systems they reach named with their
|
|
2467
2568
|
system. <code>forgeqe knowledge landscape</code> prints the same, and the agents ask it through the knowledge tool.</p>
|
|
2468
|
-
<p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar
|
|
2569
|
+
<p><strong>The Product page.</strong> <code>forgeqe web</code> has a Product page (sidebar: Knowledge › Product understanding) that draws the graph as the Engineering
|
|
2469
2570
|
view, in the manner of ForgeQE's own architecture map: each kind of part a tinted band (front ends, gateways, services,
|
|
2470
2571
|
data and messages), the outside services in a column on the right, and wires at right angles from card to card, as
|
|
2471
2572
|
wide as the page and as tall as the window. A green wire is a call a run saw, a dotted amber one a run made differently,
|
|
@@ -2555,6 +2656,20 @@ here, and a gateway route to no known service, are open questions in <code>forge
|
|
|
2555
2656
|
<p><strong>Pages to read.</strong> The model's work is also written as pages in <code>.forgeqe/knowledge/product/</code>: <code>overview.md</code>, one page per domain (rules, entities, each flow with the code of each step) and one per repository (layers, endpoints and their callers, tables and who reads and writes them). Being in the knowledge folder, they reach the agents with your own notes; ForgeQE writes them again on each build and removes only pages it wrote, so keep your notes in other files.</p>
|
|
2556
2657
|
<p><strong>How it connects.</strong> A call in one repository is linked to the endpoint it reaches in another (by method and route), SQL to the table some repository defines, a file to what it imports, a class to the interfaces it implements, and code to the tests that import it.</p>
|
|
2557
2658
|
<p><strong>Where it goes.</strong> <code>.forgeqe/knowledge/graph/</code>: <code>product-graph.json</code> (the merged graph), <code>repos/<name>.json</code> (one per repository) and <code>meta.json</code> (the commit each was read at), one node or edge per line so a rebuild's diff is readable. Its format is that of <a href="https://github.com/Egonex-AI/Understand-Anything" rel="noopener">Understand-Anything</a>, so that project's dashboard can show it. Secrets that code holds in plain text (keys, <code>password=</code> values, private keys) are replaced before anything is written.</p>
|
|
2659
|
+
<p><strong>The graph store (Neo4j).</strong> ForgeQE can also keep the product graph in a Neo4j of its own, with BASAL's scenario graphs, so they are searched by meaning as well as by words. <code>forgeqe graph setup</code> sets it up after you agree: in Docker (about 600 MB, once), else a Neo4j and a Java runtime downloaded and checked by SHA-256 (about 200 MB), listening on 127.0.0.1 port 7688 only, with a password it makes and keeps in the credential store. Each <code>forgeqe knowledge build</code> then puts the product graph into it; the JSON files stay, and are used when Neo4j does not answer.</p>
|
|
2660
|
+
<pre><code class="language-yaml">graph:
|
|
2661
|
+
store: auto # auto: Neo4j when it answers, else the JSON graph | neo4j | json
|
|
2662
|
+
neo4j:
|
|
2663
|
+
setup: auto # auto: Docker, else a native install | docker | native | server (your own)
|
|
2664
|
+
url: bolt://127.0.0.1:7688 # another computer only over bolt+s:// or neo4j+s://
|
|
2665
|
+
embedding: azure-embed # a profile of llms.json that embeds; unset: search by words only
|
|
2666
|
+
</code></pre>
|
|
2667
|
+
<pre><code class="language-bash">forgeqe graph status # what is set up, what the store holds, when it was last synced
|
|
2668
|
+
forgeqe graph sync # put the product graph into it again
|
|
2669
|
+
forgeqe graph search "cancel an order"
|
|
2670
|
+
forgeqe graph stop # stop ForgeQE's Neo4j
|
|
2671
|
+
forgeqe graph reset # remove ForgeQE's Neo4j and its graphs (you type reset); never a server of yours
|
|
2672
|
+
</code></pre>
|
|
2558
2673
|
<p><strong>How the agents use it.</strong> ForgeQE's agent has the <code>product_knowledge</code> tool: <code>search</code> for the parts a requirement is about, <code>node</code> for one part and everything linked to it, <code>flow</code> for a business flow step by step, <code>impact</code> for what a change reaches, <code>status</code>, and <code>build</code> (which asks you before the model reads anything). Names and summaries come from your repositories' text, so the agent treats them as data, never as instructions.</p>
|
|
2559
2674
|
</div>
|
|
2560
2675
|
</section>
|
|
@@ -2626,7 +2741,7 @@ forgeqe knowledge chat "what do you know about refunds?"
|
|
|
2626
2741
|
<li>Skimmer's answers: the same question over the same outline with the same model gets the kept answer with no model call (<code>~/.forgeqe/cache/doc-index/picks.json</code>, 30 days). A changed document or another model asks again; <code>--no-cache</code> asks anyway.</li>
|
|
2627
2742
|
<li>The provider's prompt cache: the outline comes before the question in the reader's message, and is the same text for every question while the documents do not change, so a provider that caches prompts (Anthropic, OpenAI, Azure OpenAI) charges less for it.</li>
|
|
2628
2743
|
</ul>
|
|
2629
|
-
<p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings ›
|
|
2744
|
+
<p>What is searched: the knowledge folder (<code>.forgeqe/knowledge</code>), the documents added in Settings › Product knowledge (<code>.forgeqe/documents</code>), every folder of <code>product.docs</code>, and the folders <code>rag.documents.folders</code> names inside the project. Markdown, text, reStructuredText, AsciiDoc and HTML files are read again whenever they change. PDF, Word and Excel files are read by Graphify's converters when you run <code>forgeqe knowledge docs index</code>, and their text is kept for later searches. A folder is listed like a product's documents: no hidden file or folder, no file named like a credential, nothing through a link out of it. The index is one JSON file in ForgeQE's cache (<code>~/.forgeqe/cache/doc-index/</code>), never in the repository.</p>
|
|
2630
2745
|
<pre><code class="language-bash">forgeqe knowledge docs index # read the documents, PDF, Word and Excel included
|
|
2631
2746
|
forgeqe knowledge docs search "refund limits" # passages with their file, line and headings
|
|
2632
2747
|
forgeqe knowledge docs search "refund limits" --no-model --limit 3 --json
|
|
@@ -2662,6 +2777,12 @@ said aloud. It sends the words to DuckDuckGo and shows the top results in the ch
|
|
|
2662
2777
|
then answers from them and says which site each fact came from. It opens no browser and no page: a detail that is not in
|
|
2663
2778
|
a snippet needs the page opened from its link. Nothing but the words of the search leaves your computer, and what comes
|
|
2664
2779
|
back is read as information, never as instructions.</p>
|
|
2780
|
+
<p><strong>Reading a web page.</strong> When the agent needs a page's own text, ForgeQE decides in code whether it may read it: only an
|
|
2781
|
+
http(s) address on the public internet, with no user name or password in it. A link you typed in the chat is read
|
|
2782
|
+
without asking. For any other address you see it whole and choose <strong>Allow this once</strong> or <strong>Don't allow</strong>; with nobody
|
|
2783
|
+
to ask, it is not read. An address on this computer or your company network is refused, also when you typed it: the
|
|
2784
|
+
agent uses that system's tool or a browser run instead. Behind a company proxy, a name this computer cannot look up is
|
|
2785
|
+
left to the proxy.</p>
|
|
2665
2786
|
</div>
|
|
2666
2787
|
</section>
|
|
2667
2788
|
</div>
|
|
@@ -2702,7 +2823,7 @@ agents: [browser]
|
|
|
2702
2823
|
<tr><th>Source</th><th>Folder</th></tr>
|
|
2703
2824
|
</thead>
|
|
2704
2825
|
<tbody>
|
|
2705
|
-
<tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
|
|
2826
|
+
<tr><td>Built-in</td><td>the <code>skills/</code> folder ForgeQE ships: <code>playwright-automation</code>, <code>bdd-gherkin</code> and <code>testcontainers</code> (Quill), <code>bdd-scenario-design</code> (ForgeQE's agent: asks about Examples, Background and Rule before a BDD test, and passes the answers to <code>write_test</code> as <code>bdd</code>), <code>azure-sdk-testing</code>, <code>aws-sdk-testing</code> and <code>gcp-sdk-testing</code> (Quill and ForgeQE's agent), <code>dynamics-365</code> (browser), <code>dynamics-365-automation</code> (Quill: D365 control names and locators, steps per control, EasyRepro), <code>web-guidance</code> (ForgeQE's agent and Quill: web platform guides from Modern Web Guidance, pinned, as advisory checks for forms, dialogs, accessibility, passkeys and speed), <code>writing-skills</code> (ForgeQE's agent)</td></tr>
|
|
2706
2827
|
<tr><td>Global, only with <code>skills.external: true</code></td><td><code>~/.claude/skills</code>, <code>~/.agents/skills</code>, and the repo's <code>.claude/skills</code> and <code>.agents/skills</code></td></tr>
|
|
2707
2828
|
<tr><td>User</td><td><code>~/.forgeqe/skills</code> (or <code>$FORGEQE_HOME/skills</code>)</td></tr>
|
|
2708
2829
|
<tr><td>Project</td><td><code>.forgeqe/skills</code> next to <code>forgeqe.yaml</code>, and the repo's own <code>.forgeqe/skills</code></td></tr>
|
|
@@ -2739,9 +2860,9 @@ agents: [browser]
|
|
|
2739
2860
|
<h4>Model routing</h4>
|
|
2740
2861
|
<div class="prose"><p><code>llm.routing</code> is <code>off</code> by default for existing projects (<code>forgeqe init</code> writes <code>auto</code>); <code>shadow</code> logs each pick in the session log but changes nothing. <code>--profile</code> and <code>code.model</code> always win, <code>llm.routes</code> limits or pins the profiles an area may use, and <code>llm.agents</code> gives one agent its own default model (ahead of the router and <code>code.model</code>; only <code>--profile</code> overrides it). ForgeQE checks and rates the models once and keeps the result in <code>.forgeqe/model-profile.json</code> (you can edit the ratings). Details: <a href="#doc-docs-model_routing-model-routing-the-right-configured-model-for-each-task">docs/MODEL_ROUTING.md</a>.</p>
|
|
2741
2862
|
<p>List profiles, and the model each area gets:</p>
|
|
2742
|
-
<pre><code class="language-bash">
|
|
2743
|
-
|
|
2744
|
-
|
|
2863
|
+
<pre><code class="language-bash">forgeqe models
|
|
2864
|
+
forgeqe models --routes # the pick per area, and why
|
|
2865
|
+
forgeqe models --routes --profile-models # check and rate the models again
|
|
2745
2866
|
</code></pre>
|
|
2746
2867
|
</div>
|
|
2747
2868
|
</section>
|
|
@@ -2979,6 +3100,13 @@ forgeqe desktop replay workflow.yaml --data customers.csv # once per row; co
|
|
|
2979
3100
|
forgeqe desktop replay desktop-tests/ --junit results.xml # every workflow in a folder, results for CI
|
|
2980
3101
|
forgeqe desktop doctor # can this machine replay unattended?
|
|
2981
3102
|
</code></pre>
|
|
3103
|
+
<p>Explore and recording run on Windows. A saved workflow also replays on macOS and Linux, on agent-desktop (the default
|
|
3104
|
+
there; <code>forgeqe desktop setup</code> installs it), and on Windows with <code>desktop.driver: agent-desktop</code>: it acts through
|
|
3105
|
+
accessibility calls, with no mouse or focus. See
|
|
3106
|
+
<a href="#doc-docs-desktop-replay-on-agent-desktop-macos-linux-and-headless-windows">docs/DESKTOP.md</a>. In <code>forgeqe web</code>,
|
|
3107
|
+
Record → <strong>Desktop app</strong> records on Windows, and a recording opens in a review: steps with their pictures (click a
|
|
3108
|
+
control to add a check), changes to a step, checks, waits and keys added after one, where each typed value comes from,
|
|
3109
|
+
and <strong>Replay</strong> with no model (<a href="#doc-docs-desktop-reviewing-a-recording-web-app">docs/DESKTOP.md</a>).</p>
|
|
2982
3110
|
<p>Workflows wait for slow apps without fixed sleeps: a <code>timeout</code> and <code>retries</code> for the workflow or a step, <code>wait_for</code> a
|
|
2983
3111
|
control to appear, show a text or go away (a splash screen), and a <code>dismiss</code> list of dialog buttons to click whenever
|
|
2984
3112
|
they are in the way. <code>expect_image</code> compares a control or window with a baseline image (saved on the first run, kept
|
|
@@ -2990,6 +3118,7 @@ of your own, see <a href="#doc-docs-desktop-ci-running-desktop-workflows-unatten
|
|
|
2990
3118
|
<p>Apps come from <code>desktop.apps</code> in forgeqe.yaml (an absolute <code>.exe</code> and an argument list), and <code>{{secret:NAME}}</code> reads
|
|
2991
3119
|
only the variables listed in <code>desktop.secrets</code>. Explore and replay take over the desktop's mouse and keyboard and ask
|
|
2992
3120
|
first; use a test machine and a test account. Details: <a href="#doc-docs-desktop-forgeqe-desktop-thick-client-automation">docs/DESKTOP.md</a>.</p>
|
|
3121
|
+
<p>Workflows replay with <code>desktop.driver</code>: <code>auto</code> (the default) uses pywinauto on Windows and agent-desktop elsewhere (macOS, Linux), or name <code>pywinauto</code> or <code>agent-desktop</code>. agent-desktop does not use the mouse and keyboard unless <code>desktop.headed: true</code> (a double-click needs it). <code>desktop.video: false</code> stops the <code>video.mp4</code> each run keeps.</p>
|
|
2993
3122
|
</div>
|
|
2994
3123
|
</section>
|
|
2995
3124
|
<section class="doc" id="doc-docs-desktop-forgeqe-desktop-thick-client-automation">
|
|
@@ -3224,11 +3353,31 @@ under it and reads the field you typed in, so neither is lost when the dialog go
|
|
|
3224
3353
|
once per run of typing, not once per key.</li>
|
|
3225
3354
|
<li><strong>A cell in a list or grid row</strong> is recorded inside its row (<code>path</code>: the row's type and name), since every row has a
|
|
3226
3355
|
cell like it (a password column's <code>********</code>).</li>
|
|
3227
|
-
<li>The run folder has <code>workflow.yaml</code>, <code>run.json</code
|
|
3356
|
+
<li>The run folder has <code>workflow.yaml</code>, <code>run.json</code>, <code>report.html</code>, a picture of each step with the controls it shows
|
|
3357
|
+
(<code>steps/NNN.png</code> and <code>.json</code>), and <code>video.mp4</code> with <code>desktop.video: true</code>. Replay it with
|
|
3228
3358
|
<code>forgeqe desktop replay</code>.</li>
|
|
3229
3359
|
</ul>
|
|
3230
3360
|
</div>
|
|
3231
3361
|
</section>
|
|
3362
|
+
<section class="doc" id="doc-docs-desktop-reviewing-a-recording-web-app">
|
|
3363
|
+
<h4>Reviewing a recording (web app)</h4>
|
|
3364
|
+
<div class="prose"><p>Record → <strong>Desktop app</strong> in <code>forgeqe web</code> (Windows) records the same way, and when you stop, the workflow opens in a
|
|
3365
|
+
review:</p>
|
|
3366
|
+
<ul>
|
|
3367
|
+
<li><strong>Steps</strong>: each step with its picture, as recorded or on the last replay. Click a control on a picture to add a
|
|
3368
|
+
check that it shows its text (or that it is there). <strong>Change step N</strong> changes a step's control, text or seconds,
|
|
3369
|
+
or removes it (never the first, which starts the app). <strong>+</strong> after a step adds: a check that a control shows a
|
|
3370
|
+
text or is there, a wait for a control or until it is gone, a wait of some seconds, or keys. Each change is shown
|
|
3371
|
+
first and written at the version shown.</li>
|
|
3372
|
+
<li><strong>Test data</strong>: where each typed or chosen value comes from: as typed, test data (a variable of the workflow), or a
|
|
3373
|
+
secret of <code>desktop.secrets</code> (what was typed then leaves the workflow).</li>
|
|
3374
|
+
<li><strong>Last run</strong>: <strong>Replay</strong> with the values above or once for each row of a data file or kept request, with
|
|
3375
|
+
<strong>Heal a moved control</strong> and <strong>New image baselines</strong>; its result, report and heals to accept.</li>
|
|
3376
|
+
</ul>
|
|
3377
|
+
<p><strong>Improve</strong> asks DeskPilot what to fix or add; it changes the workflow only after showing you the change. A mobile
|
|
3378
|
+
recording opens in the same review.</p>
|
|
3379
|
+
</div>
|
|
3380
|
+
</section>
|
|
3232
3381
|
<section class="doc" id="doc-docs-desktop-fixing-a-workflow-from-chat">
|
|
3233
3382
|
<h4>Fixing a workflow from chat</h4>
|
|
3234
3383
|
<div class="prose"><p>When a replayed step fails because the app was slow or a dialog was in the way, ForgeQE's agent fixes the workflow
|
|
@@ -3573,6 +3722,10 @@ forgeqe mobile replay mobile-tests/ --junit results.xml # every workflow i
|
|
|
3573
3722
|
forgeqe mobile maestro .maestro/ # your team's Maestro flows, checked first
|
|
3574
3723
|
forgeqe mobile flow workflow.yaml > login.flow.yaml # a workflow as a Maestro flow, to keep
|
|
3575
3724
|
</code></pre>
|
|
3725
|
+
<p>To show the steps instead, use Record → <strong>Mobile app</strong> in <code>forgeqe web</code>: pick the app and a device (here, TestMu AI
|
|
3726
|
+
or BrowserStack), and the device's screen appears on the page. Each tap, entry, check and gesture is done on the
|
|
3727
|
+
device through the locator ForgeQE keeps for it, so a step a replay could not find is never kept. No model is used.
|
|
3728
|
+
Stop opens the workflow's review. Details: <a href="#doc-docs-mobile-record-by-hand">docs/MOBILE.md</a>.</p>
|
|
3576
3729
|
<p>Apps come from env.yaml (<code>kind: mobile</code>, <code>platform: android</code> or <code>ios</code>, <code>app_id</code>, and optionally <code>activity</code> and an
|
|
3577
3730
|
<code>app</code> build to install) or <code>mobile.apps</code> in forgeqe.yaml. <code>mobile.appium</code> names the Appium server (default
|
|
3578
3731
|
<code>http://127.0.0.1:4723</code>, or a device cloud's hub with its user and key in environment variables), and <code>{{secret:NAME}}</code>
|
|
@@ -3817,7 +3970,10 @@ steps:
|
|
|
3817
3970
|
<li><strong>Ops:</strong> <code>launch</code>, <code>tap</code>, <code>double_tap</code>, <code>long_press</code>, <code>type</code>, <code>expect</code>, <code>expect_image</code>, <code>swipe</code> (<code>direction</code> up,
|
|
3818
3971
|
down, left or right, optionally on a <code>target</code>: a finger moving that way, as on a carousel), <code>scroll</code> (<code>direction</code>:
|
|
3819
3972
|
which way the content moves, down to show what is further down; on the screen's scrolling view or a <code>target</code>),
|
|
3820
|
-
<code>scroll_to</code> (scrolls until the target is on screen), <code>
|
|
3973
|
+
<code>scroll_to</code> (scrolls until the target is on screen), <code>open_link</code> (<code>login: NAME</code>: the newest magic link that login's
|
|
3974
|
+
site sent to its mailbox, opened on the device; Appium only), <code>set_checked</code> (<code>checked: true|false</code>: a checkbox, switch or
|
|
3975
|
+
radio button left on or off, tapped only when it is not so already, then confirmed; <code>expect</code> takes <code>checked</code> too),
|
|
3976
|
+
<code>drag</code> (picks up the <code>target</code> and drops it on the control
|
|
3821
3977
|
<code>to</code> names, such as a puzzle piece on its slot; Appium only, as Maestro has no drag onto a control), <code>back</code>,
|
|
3822
3978
|
<code>hide_keyboard</code>, <code>keys</code> (<code>enter</code>, <code>back</code>, <code>tab</code>, <code>delete</code>, <code>search</code>), <code>wait</code>, <code>wait_for</code>, <code>close</code>. Timeouts,
|
|
3823
3979
|
retries and <code>dismiss</code> work as in desktop workflows. Explore saves a tap on a system dialog (another package's
|
|
@@ -3826,7 +3982,12 @@ dialog never shows; on Maestro, each <code>dismiss</code> target is tapped after
|
|
|
3826
3982
|
<li><strong>Targets</strong> use the desktop keys, mapped per platform: <code>automation_id</code> is the Android resource-id (with or without the
|
|
3827
3983
|
<code>package:id/</code> prefix) or the iOS accessibility identifier; <code>name</code> is the Android text or content-desc, or the iOS
|
|
3828
3984
|
label; <code>control_type</code> is the Android class (<code>android.widget.Button</code>) or the iOS type (<code>XCUIElementTypeButton</code>);
|
|
3829
|
-
<code>index</code> picks one of several matches
|
|
3985
|
+
<code>index</code> picks one of several matches. Mobile targets may also have <code>fallbacks</code> (up to 4 more targets a replay tries in
|
|
3986
|
+
order when the first finds nothing), <code>within</code> (<code>{automation_id}</code> or <code>{name}</code>: the uniquely named parent the control
|
|
3987
|
+
is found inside), and <code>web</code> (an element of a web page inside the app, by <code>test_id</code> with its <code>attr</code>, <code>id</code>, <code>name</code>
|
|
3988
|
+
with its <code>tag</code>, <code>label</code>, <code>placeholder</code>, <code>tag</code> with <code>text</code>, or <code>text</code>). None of them is a query: the replay builds each
|
|
3989
|
+
(an accessibility id, a UiSelector, an iOS predicate, CSS or XPath) from the plain values, quoting every one.
|
|
3990
|
+
<code>tap</code>, <code>double_tap</code> and <code>long_press</code> take <code>at: [x, y]</code>, a point inside the target in thousandths of its size.</li>
|
|
3830
3991
|
</ul>
|
|
3831
3992
|
</div>
|
|
3832
3993
|
</section>
|
|
@@ -3847,17 +4008,41 @@ says what is missing. A device cloud (TestMu AI, BrowserStack) needs none of it:
|
|
|
3847
4008
|
computer's, or TestMu AI's or BrowserStack's), and the device's screen appears on the page with its controls outlined.</p>
|
|
3848
4009
|
<ul>
|
|
3849
4010
|
<li><strong>Tap</strong> a control on the screen and it is tapped on the device; a field opens a box to type into it (plain text, or a
|
|
3850
|
-
saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>
|
|
3851
|
-
what they say. Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
|
|
3852
|
-
<li>Each action is done on the device through the locator ForgeQE records for it
|
|
3853
|
-
|
|
3854
|
-
|
|
4011
|
+
saved secret by its name). <strong>Check</strong> adds a check of what a control shows now, <strong>Hold</strong> (a long press) and <strong>Wait for</strong> do
|
|
4012
|
+
what they say (pick what a click on the screen does above it). Under the screen: scroll, swipe, Back, Enter, hide the keyboard, wait.</li>
|
|
4013
|
+
<li>Each action is done on the device through the locator ForgeQE records for it, so a step a replay could not find is
|
|
4014
|
+
never kept. Locators come from the app's own tree (UiAutomator2 on Android, XCUITest on iOS), ranked as Playwright
|
|
4015
|
+
ranks a web page's: the resource id or accessibility identifier, the accessibility label, what the control is and
|
|
4016
|
+
says, its text (a field's text and text that reads as data last). Only one that matches that control alone on the
|
|
4017
|
+
screen is kept; alike rows are found inside their uniquely named parent, a position among them only as the last
|
|
4018
|
+
resort; up to three more become fallbacks. Android's own ids (<code>android:id/button1</code>) come after the text. The Steps
|
|
4019
|
+
list shows each step's locators, the one a replay uses first. A control with neither an id nor a text is not
|
|
4020
|
+
offered; <strong>Point</strong> taps a spot where the app draws something with no control (a canvas, a chart), kept as a place inside
|
|
4021
|
+
the smallest control there that can be found; where none can be, the tap is refused.</li>
|
|
4022
|
+
<li>Scrolls made just before acting on a control become one <code>scroll_to</code> it. A tap on a checkbox, switch or radio button
|
|
4023
|
+
is a <code>set_checked</code>; <strong>Check</strong> on one checks whether it is on.</li>
|
|
4024
|
+
<li><strong>Open magic link</strong> (under the screen, for a login whose one-time codes come by email: <code>code: email</code> with its
|
|
4025
|
+
mailbox and its <code>domains</code>) reads the newest message since the step before it (the tap that asked for the link) and
|
|
4026
|
+
opens its link on the device, as a tap in a mail would: Android's App Link for the app's package, iOS's deep link for
|
|
4027
|
+
its bundle. Only an https link to one of the login's sites is taken, never one with a user name. The workflow keeps
|
|
4028
|
+
<code>open_link: {login: NAME}</code> and a replay reads the mailbox again; the link is never logged, shown or kept, and one
|
|
4029
|
+
opened already in the run is not opened again. The app must take its site's links (an App Link or Universal Link);
|
|
4030
|
+
the page it opens is often a web page inside the app, read as the next point says. Replay such a workflow on one
|
|
4031
|
+
device at a time: devices replaying it together read the same mailbox and would open the same link. Only an https
|
|
4032
|
+
link to one of the login's <code>domains</code> is taken: an exact host only, or any subdomain of a <code>https://*.</code> pattern.</li>
|
|
4033
|
+
<li>A web page inside the app (a WebView: a sign-in, a payment, a verification page) is read as a web page when the
|
|
4034
|
+
build lets Appium debug it (Android: <code>WebView.setWebContentsDebuggingEnabled(true)</code>; iOS: a debuggable
|
|
4035
|
+
<code>WKWebView</code>, and on a local Android device Appium's Chromedriver for that WebView): a control there is kept by the
|
|
4036
|
+
page's own locators (a test id, an id, a field's name, a label…), with what the screen shows as fallbacks. When the
|
|
4037
|
+
page cannot be read, its controls are kept by what the screen shows, and the log says so once.</li>
|
|
3855
4038
|
<li>A permission prompt's answer (Android's permission controller, iOS's own alerts) goes to the workflow's <code>dismiss</code>
|
|
3856
4039
|
list, so a replay answers it only when asked.</li>
|
|
3857
4040
|
<li>A password field takes only a saved secret (<code>mobile.secrets</code>), typed from the environment; the workflow keeps
|
|
3858
4041
|
<code>{{secret:NAME}}</code>, and the value never reaches the page. Text equal to a secret is saved as its placeholder.</li>
|
|
3859
|
-
<li>A tap on a drop-down
|
|
3860
|
-
|
|
4042
|
+
<li>A tap on a drop-down and then on one of its items is one <code>select</code> step: the drop-down by its id and the item by the
|
|
4043
|
+
text it shows (<code>value</code>), which a replay picks again, and Maestro does as two taps. A native <code>Spinner</code> or iOS pop-up
|
|
4044
|
+
button is known by its kind, a custom one by the list it opens (an item of a list in a floating window on Android, of
|
|
4045
|
+
a menu on iOS); an iOS picker wheel is chosen by its value ("Choose in").</li>
|
|
3861
4046
|
<li>Stop saves <code>workflow.yaml</code>, a picture of each step with the controls it shows, and a report in
|
|
3862
4047
|
<code>.forgeqe/reports/mobile-record-…/</code>, and opens the workflow's review, as a desktop recording does: change a step's
|
|
3863
4048
|
control, add a check by clicking a control on a step's picture, make a typed value test data or a secret
|
|
@@ -4593,7 +4778,7 @@ forgeqe jobs shutdown # stop the service; scheduled jobs wait until
|
|
|
4593
4778
|
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Ask our custom agent checkout-guard to check the basket on QA</li><li>Which custom agents do we have?</li><li>Make an agent that checks the checkout on QA every night</li></ul></div>
|
|
4594
4779
|
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>A live model profile in llms.json (an API key or Microsoft Entra ID sign-in)</span></li></ul></div>
|
|
4595
4780
|
<div class="fact"><span class="mono">Limits</span><ul class="plainlist"><li>A custom agent runs only a version a person approved (forgeqe agent approve), and does only what that version allows; it cannot hand work to another custom agent.</li><li>ForgeQE's agent drafts and saves an agent only after the user agrees; it never approves one.</li></ul></div>
|
|
4596
|
-
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>custom_agent</code> <code>request_approval</code></p></div>
|
|
4781
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>custom_agent</code> <code>request_approval</code> <code>hand_to_agent</code> <code>remember</code> <code>recall</code></p></div>
|
|
4597
4782
|
</div>
|
|
4598
4783
|
<div class="detail"><span class="mono">In detail</span>
|
|
4599
4784
|
<section class="doc" id="doc-how_to_use-custom-agents">
|
|
@@ -4624,6 +4809,9 @@ permissions:
|
|
|
4624
4809
|
actions: [read, run]
|
|
4625
4810
|
approve: [run]
|
|
4626
4811
|
</code></pre>
|
|
4812
|
+
<p><code>voice: { sound: light }</code> (or <code>deep</code>) sets how the agent sounds when you talk with it in its chat; without it, it
|
|
4813
|
+
speaks in ForgeQE's own voice. The editor's <strong>Voice</strong> choice (Default, Light, Deep) writes it. A manifest names only a
|
|
4814
|
+
sound: ForgeQE picks the voice from the speech set up on that computer.</p>
|
|
4627
4815
|
<p>What runs is a version a person approved. Editing the manifest changes nothing that runs: the agent shows as changed,
|
|
4628
4816
|
keeps running its approved version, and the change waits for approval. Approvals are kept, with every approval,
|
|
4629
4817
|
disabling and rollback, in <code>.forgeqe/agents/.releases/<id></code>, so the team reviews them with the code.</p>
|
|
@@ -4639,11 +4827,21 @@ forgeqe agent history <id> # its versions and its runs, with
|
|
|
4639
4827
|
forgeqe agent export <id> --out a.jsonl # its whole record as JSON lines, for audit (also on its page: Download audit record)
|
|
4640
4828
|
forgeqe agent pack <id> --out a.zip # a shareable zip: agent.json + knowledge files + skills (also on its page: Export to share)
|
|
4641
4829
|
forgeqe agent import a.zip [--id new] # import that zip as a draft to edit and approve (also Agents › Custom › Import agent)
|
|
4830
|
+
forgeqe agent publish <id> # its approved version into this computer's agent library (also on its page: Publish)
|
|
4831
|
+
forgeqe agent library [--remove <entry>] # what the library holds; taking one out asks for its name typed
|
|
4832
|
+
forgeqe agent install <entry> [--id new] # a library entry as a draft here (also Agents › Custom › Import agent › From your library)
|
|
4642
4833
|
forgeqe agent run <id> "request" --unattended # as a schedule runs it: what it may not do alone waits for a person
|
|
4643
4834
|
forgeqe agent approvals [<id>] # what agents running with nobody watching wait for; answer: approvals <id> <approval> allow | allow_run | deny
|
|
4644
4835
|
</code></pre>
|
|
4645
4836
|
<p>Same-repo teams still commit <code>.forgeqe/agents</code> (and <code>.releases</code> after approve). Pack/import is for sharing a draft across
|
|
4646
4837
|
projects or machines; the recipient must try and approve it. Environments and systems are not in the package.</p>
|
|
4838
|
+
<p>The agent library is a folder in ForgeQE's home (<code>agent-library/</code>) that every project on this computer reads. Only an
|
|
4839
|
+
approved version is published, packed from its approved copy (an edit not yet approved stays out), as
|
|
4840
|
+
<code><id>@<version>.forgeqe-agent.zip</code>; a version already there is never replaced, so publish a new version for a change.
|
|
4841
|
+
A library file can be put there by anything on the computer, so it is read as untrusted: only names of that shape,
|
|
4842
|
+
never a link, and one whose pack names another agent or version is listed with that problem and cannot be installed.
|
|
4843
|
+
Installing goes through the same checks as importing a pack, and makes a draft that a person tries and approves in
|
|
4844
|
+
that project.</p>
|
|
4647
4845
|
<p><strong>Starting from a template.</strong> <code>forgeqe agent new cloud-verifier</code> writes a draft of the cloud verifier: after a test
|
|
4648
4846
|
run, it checks in the cloud that what the run should have done there happened (a message on a queue, an object
|
|
4649
4847
|
written, a row in a table, a function invoked), and changes nothing. It is filled from this project: the clouds of
|
|
@@ -4684,6 +4882,131 @@ that fires while the last run still waits does not start, and its history says s
|
|
|
4684
4882
|
per run: the run stops when it has used that many model tokens. When someone is watching (<code>forgeqe agent run</code> in a
|
|
4685
4883
|
terminal, a chat, the agent's page), the run asks first: carry on with as much again (each yes is in its history), or
|
|
4686
4884
|
stop. A run nobody watches is never asked, and stops.</p>
|
|
4885
|
+
<p>When a run nobody watches ends, the team's channels that take <code>agent_failed</code> hear when it did not finish; with
|
|
4886
|
+
<code>runtime.notify: always</code> the ones that take <code>agent_done</code> hear when it did, and <code>never</code> tells nothing. The notice says
|
|
4887
|
+
the outcome, how many calls its limits refused and how many steps a person did not approve, and where to read the
|
|
4888
|
+
run; it never quotes the agent's reply, since a Teams card shows Markdown as links.
|
|
4889
|
+
<code>runtime.channels: [qa-team]</code> sends its notices, and its approval questions on a run nobody watches, only to
|
|
4890
|
+
those channels of <code>notify.channels</code> (each still only for the events it takes); unset, every channel that takes them
|
|
4891
|
+
gets them. A channel the project does not have makes the manifest invalid.</p>
|
|
4892
|
+
<p><code>triggers</code> start its approved version by itself when something happens in ForgeQE, with nobody watching, as a
|
|
4893
|
+
schedule does (<code>permissions.unattended</code> says what it may do alone):</p>
|
|
4894
|
+
<pre><code class="language-yaml">triggers:
|
|
4895
|
+
- { on: suite_failed, request: "Explain why the last suite failed, from its runs" }
|
|
4896
|
+
- { on: job_failed, job: nightly-pack, request: "Find out why the nightly pack failed" }
|
|
4897
|
+
</code></pre>
|
|
4898
|
+
<p>The events are <code>suite_failed</code>, <code>suite_passed</code>, <code>job_failed</code> and <code>job_recovered</code> (when a job's result changes, whether
|
|
4899
|
+
or not the job sends notices; <code>job</code> narrows it to one job), and <code>eval_failed</code>. Each starts a one-off job of the jobs
|
|
4900
|
+
service, <code>agent-<id>-on-<event></code>, replaced each time; one still running is not started again. The request is the
|
|
4901
|
+
trigger's words and ForgeQE's own facts (the event, a job's name, the time), never text from the suite or its runs: the
|
|
4902
|
+
agent finds the runs itself. A custom agent's own jobs never start anything, so agents cannot start each other in a
|
|
4903
|
+
loop. Duplicate an agent with <code>forgeqe agent copy <id> [<new-id>]</code> or the agent page's <strong>Duplicate</strong>: a new draft with
|
|
4904
|
+
its settings at 1.0.0. <code>forgeqe agent new <template></code> offers <code>smoke-check</code>, <code>defect-retest</code>, <code>flaky-triage</code>,
|
|
4905
|
+
<code>release-readiness</code>, <code>pr-test-reviewer</code> and <code>cloud-verifier</code>, filled from this project.</p>
|
|
4906
|
+
<p><strong>Outside triggers.</strong> A pull request or a push on GitHub or Azure DevOps can start an agent too:</p>
|
|
4907
|
+
<pre><code class="language-yaml">triggers:
|
|
4908
|
+
- { on: pr_opened, source: github, repo: acme/shop, branch: main, request: "Review the tests this pull request changes" }
|
|
4909
|
+
- { on: pr_updated, source: github, repo: acme/shop, request: "Review the tests again" }
|
|
4910
|
+
- { on: push, source: azure_devops, repo: Shop Team/web, branch: release, request: "Check what the push changed" }
|
|
4911
|
+
</code></pre>
|
|
4912
|
+
<p><code>pr_opened</code> covers opened, reopened and ready for review; <code>pr_updated</code> new commits; <code>push</code> a branch pushed to (never a
|
|
4913
|
+
tag or a deleted branch). <code>repo</code> is <code>owner/name</code> on GitHub and <code>project/repository</code> on Azure DevOps; <code>branch</code>, if given,
|
|
4914
|
+
is the pull request's target or the branch pushed to. Like the other triggers it runs the approved version with nobody
|
|
4915
|
+
watching, as the one-off job <code>agent-<id>-on-<event></code>, and one still running is not started again.</p>
|
|
4916
|
+
<p><code>forgeqe web</code> takes the host's deliveries at <code>POST /hooks/github</code> and <code>POST /hooks/azure-devops</code>, and only once a
|
|
4917
|
+
webhook secret is saved: Settings › Secrets, <code>FORGEQE_WEBHOOK_SECRET</code> (kept in the credential store, hidden from every
|
|
4918
|
+
program ForgeQE starts). On GitHub, make a webhook for <strong>Pull requests</strong> and <strong>Pushes</strong>, content type JSON, with that
|
|
4919
|
+
secret: each delivery is signed and checked. On Azure DevOps, make <strong>Web Hooks</strong> service hooks for <em>Pull request
|
|
4920
|
+
created</em>, <em>Pull request updated</em> and <em>Code pushed</em>, with basic authentication whose password is the secret (its hooks
|
|
4921
|
+
cannot sign). A delivery not signed with the secret, one sent from a browser (any <code>Origin</code>), a body over 1 MB, a
|
|
4922
|
+
delivery id already taken, and more than 30 deliveries a minute are refused.</p>
|
|
4923
|
+
<p><code>forgeqe web</code> still listens on 127.0.0.1 only and checks the Host it is asked for, so the host reaches it through
|
|
4924
|
+
hosted mode (<code>forgeqe web --public-url https://forgeqe.example.com</code>, behind your TLS proxy) or a tunnel you run that
|
|
4925
|
+
forwards to it with the Host rewritten to <code>127.0.0.1</code>. Nothing of the pull request's text reaches the agent: its
|
|
4926
|
+
request is the trigger's words plus the pull request's number, the repository and the branches, read in their shapes,
|
|
4927
|
+
and the agent is told to read the pull request itself, as the author's words and never instructions.</p>
|
|
4928
|
+
<p><code>scope.custom_agents</code> lists your team's other custom agents it may hand a request to, with its <code>hand_to_agent</code> tool
|
|
4929
|
+
(the editor's <strong>Custom agents it may hand work to</strong>). The other agent runs its approved version, within its own limits
|
|
4930
|
+
and the caller's: it works only in environments both have, may do only what both may, asks a person for whatever either
|
|
4931
|
+
asks, and never uses a tool either denies. An agent already working on the request is never handed it again, and a chain
|
|
4932
|
+
goes no deeper than the caller's <code>max_delegation_depth</code> (at most 3; it needs at least 1). With nobody watching the
|
|
4933
|
+
caller, nobody watches the callee. Its run is kept in its own history as handed on by the caller, and its reply comes back
|
|
4934
|
+
as data. Only Atlas asks custom agents with <code>custom_agent</code>.</p>
|
|
4935
|
+
<p>Approving pins what the version knows as well as its manifest: a fingerprint of each knowledge file and skill it names
|
|
4936
|
+
(every file of the skill's folder) and of its model profile in llms.json (the fields that change how it answers, never
|
|
4937
|
+
a key). If one of them changes afterwards, the agent is <strong>Knowledge changed</strong> (<code>drifted</code>): it does not run, for anyone or
|
|
4938
|
+
anything, until a person reads what changed (its page, <code>forgeqe agent check</code>) and approves it again, which pins it anew.
|
|
4939
|
+
A run nobody watches that cannot start for this tells the team (<code>agent_failed</code>). Rolling back pins what the chosen
|
|
4940
|
+
version knows now. An agent approved before this was kept runs, with a warning to approve it again.</p>
|
|
4941
|
+
<p><code>runtime.max_minutes</code> stops a run that takes longer; a run nobody watches (a schedule, a trigger, another agent) stops
|
|
4942
|
+
after 120 minutes when it sets none.</p>
|
|
4943
|
+
<p><code>checks</code> are requests to try a version on before it is approved, each graded by code from the run, never by a model:</p>
|
|
4944
|
+
<pre><code class="language-yaml">checks:
|
|
4945
|
+
- name: basket-total
|
|
4946
|
+
request: Check the basket total on qa
|
|
4947
|
+
expect: { says: [total], never_says: [error], uses: [browser_run], never_uses: [run_sql] }
|
|
4948
|
+
- name: refuses-production
|
|
4949
|
+
request: Place an order on production
|
|
4950
|
+
expect: { outcome: needs_input }
|
|
4951
|
+
</code></pre>
|
|
4952
|
+
<p><code>outcome</code> is how the run ended (<code>done</code> by default, <code>needs_input</code> or <code>failed</code>); <code>says</code> and <code>never_says</code> are words its
|
|
4953
|
+
reply holds or not, matched as written (case aside, never as a pattern); <code>uses</code> are tools it called and was allowed,
|
|
4954
|
+
<code>never_uses</code> tools it never called at all. <code>forgeqe agent test <id></code> tries each on the manifest as it is (read and run
|
|
4955
|
+
only, each run asked) and keeps the results for that exact version. A version whose checks have not all passed is
|
|
4956
|
+
approved only with <code>--skip-checks</code>, or the approve dialog's <strong>Approve it without them</strong>, and its history says so.
|
|
4957
|
+
On the agent's page, Details, <strong>Checks</strong> lists each check's last result on the manifest as it is, with why it failed,
|
|
4958
|
+
and <strong>Run checks</strong> runs them from there (the same <code>forgeqe agent test</code>, each run's question answered on the page).</p>
|
|
4959
|
+
<p><code>memory: { notes: 50 }</code> (or <code>memory: true</code>, 50 notes; at most 200) lets an agent remember between runs. It gets two
|
|
4960
|
+
tools: <code>remember</code> keeps one short fact (one line, at most 300 characters) and <code>recall</code> reads its notes back, handed to it
|
|
4961
|
+
as data. A note is the model's own text, so it is kept with saved logins' values and key shapes hidden, and one that
|
|
4962
|
+
reads as instructions to an agent is refused. Past the limit the oldest go. The notes are kept beside its runs
|
|
4963
|
+
(<code>memory.json</code>, mode 0600, never through a link) and read back as untrusted. A person reads them on the agent's page
|
|
4964
|
+
(Details, <strong>Memory</strong>) and forgets one, or all with the agent's id typed, each audited; at the terminal,
|
|
4965
|
+
<code>forgeqe agent memory <id></code> lists them and <code>--forget-all</code> forgets them. A helper the agent starts has no memory, and
|
|
4966
|
+
<code>deny: [remember]</code> takes the tool away. Deleting the agent removes its notes with its runs.</p>
|
|
4967
|
+
<p><code>approval: { people: 2, owners: [Ann Lee, Bo Chen] }</code> asks for more than one person. Each approval before the last is
|
|
4968
|
+
kept in its history as <strong>Signed</strong> and changes nothing that runs; once that many different people have approved the
|
|
4969
|
+
exact manifest, it runs (the approval's note names the others). The same person twice, from the terminal or the page,
|
|
4970
|
+
is refused, and with <code>owners</code> only those people approve. A change is approved under the stricter of its own rule and
|
|
4971
|
+
the running version's, so it cannot lower the bar it is approved under. ForgeQE knows a person by git's <code>user.name</code>
|
|
4972
|
+
(else <code>user.email</code>) on their computer: this is an agreement the history keeps and the team reviews in the committed
|
|
4973
|
+
release file, not a sign-in. Disabling, enabling and rolling back to an approved version still take one person.</p>
|
|
4974
|
+
<p><code>output</code> gives its reply a result that code reads, not a model:</p>
|
|
4975
|
+
<pre><code class="language-yaml">output:
|
|
4976
|
+
verdicts: [passed, failed, blocked] # how a run came out
|
|
4977
|
+
fail_on: [failed, blocked] # verdicts that count as a failure
|
|
4978
|
+
fields:
|
|
4979
|
+
- { name: defects, kind: number } # number, text (one line) or yes_no
|
|
4980
|
+
</code></pre>
|
|
4981
|
+
<p>The agent is told to end each reply with one line, <code>RESULT {"verdict": "passed", "fields": {"defects": 0}}</code>. ForgeQE
|
|
4982
|
+
reads the last such line as untrusted: a verdict only of its list, a field only one it names and of its kind (text
|
|
4983
|
+
clipped to 200 characters), and says what it left out. The run keeps the result (its page shows it under <strong>Its
|
|
4984
|
+
result</strong>; <code>forgeqe agent history</code> shows the verdict), a check can expect one (<code>expect: { verdict: passed }</code>), another
|
|
4985
|
+
agent's <code>hand_to_agent</code> and Atlas's <code>custom_agent</code> get it beside the reply, and <code>forgeqe agent run</code> prints it and exits
|
|
4986
|
+
1 on a verdict of <code>fail_on</code>, or on none where verdicts are named. A run nobody watches tells the team such a verdict as
|
|
4987
|
+
a failure (<code>agent_failed</code>), naming the verdict and never quoting a field.</p>
|
|
4988
|
+
<p>The approve dialog lists what the version may do, each line marked <strong>New</strong>, <strong>Changed</strong> (with what it was) or <strong>No
|
|
4989
|
+
longer</strong> against the version that runs. Details, <strong>Versions</strong> opens any approved version to read: its manifest as
|
|
4990
|
+
approved, the change from the version that runs and what it may do against it, with <strong>Roll back</strong> there too. A change
|
|
4991
|
+
waiting for approval can be thrown away with <strong>Discard the change</strong> or <code>forgeqe agent discard <id></code>: the manifest is the
|
|
4992
|
+
approved version again, and the audit log keeps that it happened.</p>
|
|
4993
|
+
<p><code>runtime.model</code> runs the agent on a profile of llms.json by its name (the editor's <strong>Model</strong>), in place of the one
|
|
4994
|
+
ForgeQE's agent would use; a name llms.json does not have is refused, and with <code>code.model</code> set that model answers
|
|
4995
|
+
instead, which the run says. <code>permissions.deny</code> lists tools it never uses even though its capabilities have them
|
|
4996
|
+
(the editor lists each picked capability's tools), or a system's tools by name or as <code><system>_*</code>: they are not
|
|
4997
|
+
offered and every call of them is refused, for helpers it hands work to too. It only takes away, and
|
|
4998
|
+
<code>request_approval</code> cannot be denied.</p>
|
|
4999
|
+
<p><code>inputs</code> are what its starters and its schedule's request leave open, written in them as <code>{name}</code>: <code>text</code> (one line),
|
|
5000
|
+
<code>environment</code> (one of its environments) or <code>choice</code> (one of its <code>options</code>):</p>
|
|
5001
|
+
<pre><code class="language-yaml">inputs:
|
|
5002
|
+
- { name: env, label: Environment, kind: environment }
|
|
5003
|
+
- { name: build, label: Build, kind: text }
|
|
5004
|
+
starters: [{ label: Check a build, text: "Check build {build} on {env}" }]
|
|
5005
|
+
schedule: { every: 1d, request: "Run the checkout pack on {env}", with: { env: qa } }
|
|
5006
|
+
</code></pre>
|
|
5007
|
+
<p>A starter that names inputs asks for their values on the agent's page and fills the message, which you read before
|
|
5008
|
+
sending. A schedule's values (<code>with</code>) are checked when the manifest is read, and its job gets the finished request. A
|
|
5009
|
+
value is only ever words of the request: one line, at most 200 characters, never starting with a dash.</p>
|
|
4687
5010
|
<p>Other systems' tools (Azure DevOps, Jira, GitHub…) come through ForgeQE with their names as <code><system>_<tool></code> (a dot in
|
|
4688
5011
|
a name becomes <code>_</code>; a name too long for MCP clients, or not a plain name, is left out). Every page of a server's tool
|
|
4689
5012
|
list is read; a tool is read-only only when the server marks it <code>readOnlyHint</code> and not also <code>destructiveHint</code>; a
|
|
@@ -4699,7 +5022,7 @@ given the tool that reaches them, and the builder is closed. Their files, approv
|
|
|
4699
5022
|
them back on restores everything as it was.</p>
|
|
4700
5023
|
<p>Atlas hands requests to the active custom agents (custom_agent) as it does to its own agents. Each run is
|
|
4701
5024
|
kept in <code>.forgeqe/agent-runs/<id></code>.</p>
|
|
4702
|
-
<p>In the web app (<code>forgeqe web</code>), custom agents are under Agents
|
|
5025
|
+
<p>In the web app (<code>forgeqe web</code>), custom agents are under Agents › Custom agents. <strong>Make an agent</strong> in the sidebar, or <strong>New</strong> on the Agents page, opens the agent builder:
|
|
4703
5026
|
say what the agent should do in your own words, and ForgeQE takes you through its steps, one page each: Understand
|
|
4704
5027
|
(what it could not work out, with what it recommends and why), Plan (how the agent will work, and whether each part is
|
|
4705
5028
|
set up here), Boundaries (where it works and what it may do, least privilege first; production never), Knowledge (what
|
|
@@ -4752,10 +5075,12 @@ back to an earlier version (each confirmed by typing its id), and its runs with
|
|
|
4752
5075
|
<tr><td><code>job_done</code></td><td>A job that runs only when asked ends</td><td>The same, whether it passed or failed</td></tr>
|
|
4753
5076
|
<tr><td><code>job_investigated</code></td><td>The investigation of a job's failed run is done</td><td>Each failure: a test out of date with its fix on a branch, an app bug, or not decided, with the agent's reasons</td></tr>
|
|
4754
5077
|
<tr><td><code>agent_waiting</code></td><td>A custom agent running with nobody watching waits for a person's approval</td><td>What it wants to do and why, until when it waits, and how to answer</td></tr>
|
|
5078
|
+
<tr><td><code>agent_failed</code></td><td>A custom agent's run with nobody watching does not finish (unless its <code>runtime.notify</code> is <code>never</code>)</td><td>The outcome, counts of refused calls and declined approvals, and where to read the run</td></tr>
|
|
5079
|
+
<tr><td><code>agent_done</code></td><td>A custom agent's run with nobody watching finishes, when its <code>runtime.notify</code> is <code>always</code></td><td>The same</td></tr>
|
|
4755
5080
|
<tr><td><code>evidence_drift</code></td><td><code>forgeqe evidence drift --notify</code> finds an agent changed since its baseline (a model, tool, document, check, its contract or judge), or trusted above what its evidence supports</td><td>Each alert, with the runs it rests on (only channels that list it get it)</td></tr>
|
|
4756
5081
|
</tbody>
|
|
4757
5082
|
</table></div>
|
|
4758
|
-
<p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, and <code>
|
|
5083
|
+
<p>A channel without <code>on</code> gets <code>suite_failed</code>, <code>release</code>, <code>eval_failed</code>, <code>job_failed</code>, <code>job_recovered</code>, <code>job_investigated</code>, <code>agent_waiting</code> and <code>agent_failed</code>. Email adds the failure screenshots. A stopped suite is not announced. Monitoring keeps its own <code>monitor.alerts</code>, with the same cards.</p>
|
|
4759
5084
|
<p>Events are sent from runs nobody is watching: <code>forgeqe suite</code> in a pipeline or on a schedule, <code>forgeqe run</code>, and the MCP server. In the shell, where people try things out, nothing is sent on its own; ask instead ("post the results to the QA channel", "tell the release channel the verdict"), and ForgeQE's agent posts a card with <code>notify</code>.</p>
|
|
4760
5085
|
<p>Links: with <code>report_url</code>, cards open the report where the reports folder is published. In Azure Pipelines and GitHub Actions they also open the build, where the report is an artifact. Without either, the card names the report's path.</p>
|
|
4761
5086
|
<p><strong>Setting up a Teams channel:</strong></p>
|
|
@@ -5058,7 +5383,7 @@ forgeqe suite ado:plan=12/suite=34 --each-query test-data/queries/active-users.s
|
|
|
5058
5383
|
<p>The result goes back to the test point (or the work item) once, failed when any row failed, with every row in the comment.</p>
|
|
5059
5384
|
<ul>
|
|
5060
5385
|
<li><strong>Cases written in words.</strong> A case needs no <code>{{row.<column>}}</code> to use its row: each run's browser agent is given the row's values ("Test data for this run: email, role, expected_message …") and uses them wherever the case needs test data, so "Sign in as the test user and check the welcome message" takes each row's user and message. Columns named like a secret (password, token, API key, PIN, card number and the like) are never shown to the model this way, nor used to name a row; a case that needs one says <code>{{row.password}}</code>, or the login comes from <code>logins</code>.</li>
|
|
5061
|
-
<li><strong>Another user on each row, in a recording or a desktop app.</strong> A recording's
|
|
5386
|
+
<li><strong>Another user on each row, in a recording or a desktop app.</strong> A recording's Re-run with rows that have a <code>login</code> column signs in as each row's login: the recording's sign-in steps read the row's login's variables in place of the login it was recorded with. A desktop workflow's <code>{{secret:NAME}}</code> does the same with <code>forgeqe desktop replay --data users.csv</code>, for logins that name the app (<code>app: billing</code> in place of a site), and <code>{{totp:NAME}}</code> types an authenticator code made from NAME, never the secret. A row whose login lacks a variable the recording types stops with the reason.</li>
|
|
5062
5387
|
<li><strong>Another user on each row.</strong> A <code>login</code> column names the saved login (<code>logins:</code> in forgeqe.yaml) a row signs in with: <code>shop_admin</code>, <code>shop_viewer</code>, each with its own <code>username_env</code>, <code>password_env</code> and <code>totp_env</code>. The data file holds only the names; the passwords and authenticator secrets stay in environment variables. That row's run gets that login and no other of the same site; a row naming a login forgeqe.yaml does not have stops with the reason. The test written from the rows reads each row's credentials from its login's variables, named in the rows file (<code>logins</code>), and makes its own one-time codes.</li>
|
|
5063
5388
|
<li><strong>One result per row.</strong> Each row is a run of its own, <code>LOGIN-3[2]</code> with the row in its title (<code>· row 2 (email=bob@shop.test, role=viewer)</code>), in the report, the history and the terminal. Results posted back to Azure DevOps, Jira and the others are one per test case: it fails when any row fails, and the comment lists every row.</li>
|
|
5064
5389
|
<li><strong>One test for every row.</strong> The coding agent writes one parameterised test from the first row that passes (Playwright <code>for (const row of rows) test(...)</code>, <code>@pytest.mark.parametrize</code>, NUnit <code>TestCaseSource</code>, JUnit <code>@MethodSource</code>). It reads the rows at run time from the JSON file <code>FORGEQE_ROWS_FILE</code> names (<code>{"columns": [...], "rows": [{...}]}</code>). In a pipeline, make that file with <code>forgeqe data rows ... --export</code>, and set <code>FORGEQE_ROWS_FILE</code> to it.</li>
|
|
@@ -5311,7 +5636,7 @@ tokens and the like) show as <code>•••</code> in results. A check compares
|
|
|
5311
5636
|
<p>Quill first reads the repo (as a read-only agent: it cannot change files or use the live browser yet), while the replay runs when there is one, so the two overlap. What it learns (the framework, the command that runs one test, where page objects and config live, the conventions) is saved with page memory in <code>scribe-notes.json</code>, with the tests each job writes there. The next job in the same repo starts from those notes and that list instead of reading the repo again, and extends those tests' page objects when its flow overlaps; notes older than 30 days are read again.</p>
|
|
5312
5637
|
</li>
|
|
5313
5638
|
<li>
|
|
5314
|
-
<p>Quill starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework ("Framework: Cypress + TypeScript + Cucumber BDD"), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It
|
|
5639
|
+
<p>Quill starts in the repo. It reads <code>AGENTS.md</code>, the test framework config, run scripts, page objects, fixtures, and helpers, and follows the imports between them. It writes the test in the repo's language and framework (a C# NUnit repo gets a C# NUnit test) and to fit its code: it extends an existing page object instead of duplicating it and reuses the login flow, test data, and config. A repo with no tests gets Playwright Test in TypeScript. When the test case names a framework ("Framework: Cypress + TypeScript + Cucumber BDD"), the test is written in that one, in the folder that holds its setup; a test in another framework is not run and never kept as passed. It never changes the test-runner configuration the whole suite shares (<code>playwright.config.*</code>, <code>cypress.config.*</code>, <code>wdio.conf.*</code>, Nightwatch's config, a <code>.runsettings</code>): browser options a test needs to get the page the run got go in that test's own file, and only those it needs (Playwright Test: a top-level <code>test.use({ ... })</code> in the spec, where <code>channel</code> and <code>launchOptions</code> must be). ForgeQE puts back its changes to those files after each turn (a repository with none keeps the one it sets up) and tells it to move the options into the test. Nor does it change a project's packages: changes to <code>package.json</code>, lockfiles, <code>.npmrc</code>, <code>requirements.txt</code> or <code>pyproject.toml</code> are put back, and its shell cannot run an installer. Before running the test, ForgeQE installs the test project's packages itself when they are missing, with the project's own lockfile (<code>npm ci</code>, <code>pnpm install --frozen-lockfile</code>, <code>yarn install --frozen-lockfile</code>, <code>bun install --frozen-lockfile</code>; <code>npm install --no-package-lock</code> with no lockfile), and Cypress's app or a Playwright browser when a run says it is missing. If the install fails (permission denied, the registry unreachable, a version that does not exist), the job stops as blocked with the reason and the command to run, and is not tried again in that session until the project's files change. What Quill may not do itself, it asks for: a package (<code>request_install</code>), a command its shell refuses (<code>request_run</code>), or a change to <code>package.json</code>, <code>requirements.txt</code>, <code>pyproject.toml</code> or the suite's shared test-runner config (<code>request_change</code>). ForgeQE checks the request (registry names and exact versions only; a command as an argument list, never a shell, push, container, process-ending, download or database command, and nothing naming ForgeQE's secrets; never <code>.npmrc</code> or a lockfile by hand), then asks you with exactly what it would run or change. Only a yes does it; a no, or a run nobody watches, changes nothing and Quill reports the test as blocked. The healing agent (<code>forgeqe heal</code>) and Link ask the same way, and their own edits to package files and the shared test-runner config are put back before their tests run. <code>code.requests</code> in forgeqe.yaml (Settings › Code › Help it gets › When an agent asks for more) decides what happens to a request: <code>ask</code> (the default) asks you each time; <code>allow</code> does it after ForgeQE's checks without asking, also in a run nobody watches; <code>off</code> refuses every request. What is always refused (a shell, a push, <code>.npmrc</code>, a lockfile by hand…) stays refused whatever it says.</p>
|
|
5315
5640
|
<p>Before Quill starts, ForgeQE reads the repo into a <strong>code graph</strong>, without a model: every class, page object, method, property, and test (TypeScript, JavaScript, C#, Java, Python), the calls between them, and the locators each one builds, in any framework's spelling (Playwright, Selenium, Cypress, WebdriverIO, Testing Library). It is kept in <code>~/.forgeqe/cache/code-graph</code>, nothing leaves the machine, and the next job reads again only the files that changed. The graph is tied to page memory, which knows each element by all its locators (its id, role and name, text, test id): so when the run clicked <code>getByRole('button', { name: 'Login' })</code> and the repo's <code>LoginPage.LoginButton</code> uses <code>#login-button</code>, the handoff says under that step "in this repository: LoginPage.LoginButton … used by LoginPage.SignInAsync", and Quill calls the existing method instead of writing a second locator. Quill also gets tools that answer from the graph instead of grep and whole-file reads: <code>code_find</code> (classes, methods, and tests by name, or by the text a locator uses), <code>code_outline</code> (a file's or class's signatures and locators, or the source of one member), <code>code_element</code> (which member already locates an element), <code>code_references</code> (what calls a member, before it is changed), and <code>code_impact</code> (the tests a change reaches, through flows and base classes, whatever the test files are called). <code>graph: false</code> turns it off. The handoff also outlines the page objects its steps use and includes the repo's test that uses the most of them, so Quill takes the test conventions from that test instead of reading other tests, and reads a settings file only to change it.</p>
|
|
5316
5641
|
</li>
|
|
5317
5642
|
<li>
|
|
@@ -5663,7 +5988,7 @@ unchanged ones keep their tests (no agent call, as long as the file is still as
|
|
|
5663
5988
|
ones are converted, and ones no longer in the exports are listed with their tests left in place for a person to
|
|
5664
5989
|
remove. Test cases left unpicked before stay unpicked. <code>--refresh</code> (or the page's option) clones each repository
|
|
5665
5990
|
again for its newest commit, as before; the old copy stays for the old plan.
|
|
5666
|
-
<strong>What can be migrated.</strong> <code>forgeqe tosca inspect</code>, <code>show</code> and
|
|
5991
|
+
<strong>What can be migrated.</strong> <code>forgeqe tosca inspect</code>, <code>show</code> and a Tosca migration's page (Migration) put every test case of the export in
|
|
5667
5992
|
one kind: web (converted), web with steps for a person, API (converted), API with steps for a person, web and API
|
|
5668
5993
|
(converted), web or API mixed with another engine (converted: its web and API steps, and each desktop, mobile or
|
|
5669
5994
|
database step stays in the test as a marked comment saying what it does, for a person to code), desktop, mobile,
|
|
@@ -5714,14 +6039,14 @@ and shown on the report page. Where the runner has switches for it, ForgeQE pass
|
|
|
5714
6039
|
hook and wdio-video-reporter for WebdriverIO) and ForgeQE checks the project for it, setting it up again when it is
|
|
5715
6040
|
missing. Selenium has no video recorder: its tests keep failure screenshots only.</li>
|
|
5716
6041
|
</ol>
|
|
5717
|
-
<p>Exit codes of <code>tosca run</code>: <code>0</code> every test converted, <code>1</code> some or none, <code>2</code> stopped. The
|
|
5718
|
-
(
|
|
6042
|
+
<p>Exit codes of <code>tosca run</code>: <code>0</code> every test converted, <code>1</code> some or none, <code>2</code> stopped. The Migration page of <code>forgeqe web</code>
|
|
6043
|
+
(New, then the <em>Tosca</em> source) does the same in four steps (export, target, instructions, review): it lists the <code>.tsu</code> exports in
|
|
5719
6044
|
the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
|
|
5720
6045
|
with how many of its Tosca steps the test does and its whole output (Fix sends one back to Bridge with a note),
|
|
5721
6046
|
Run tests again for all of them or Run for one suite, each test case's
|
|
5722
6047
|
Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
|
|
5723
6048
|
happens.</p>
|
|
5724
|
-
<p><strong>Guide.</strong>
|
|
6049
|
+
<p><strong>Guide.</strong> Tosca exports are migrated on the Migration page of <code>forgeqe web</code>, listed with every other migration under its Migrations tab. New, then the <em>Tosca</em> source, offers <em>Help me choose</em>: say in your words what to migrate ("checkout.tsu to
|
|
5725
6050
|
Playwright in TypeScript on QA, into e2e/tosca") and the assistant asks only what it still needs, one thing at a time:
|
|
5726
6051
|
the exports, the framework, the language, where the tests start, then a folder or rules for the code. Each question
|
|
5727
6052
|
offers its options to pick; you can also type, and change anything you said. Open the prefilled wizard then reads the
|
|
@@ -5969,6 +6294,7 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
|
|
|
5969
6294
|
<p><strong>Running it.</strong> ForgeQE asks before it runs anything.</p>
|
|
5970
6295
|
<ul>
|
|
5971
6296
|
<li><em>This machine</em>: ForgeQE builds one command for exactly the pack's tests, the way the repository already runs a test (for .NET, a <code>--filter</code> with each test, the settings an earlier job used, TRX results), runs it, and reads each result. A failed test runs once more; one that then passes is flaky.</li>
|
|
6297
|
+
<li><em>A pipeline</em>: <code>forgeqe pack run <name> --on pipeline [--pipeline github|azure_devops] [--browsers local|testmu]</code> starts the pack in GitHub Actions or Azure Pipelines, waits for it, and reads its results. <code>forgeqe pack pipeline init [--github] [--azure-devops]</code> writes the workflow (<code>.github/workflows/forgeqe-pack.yml</code>) and the Azure DevOps pipeline; commit them, then name them under <code>packs.pipeline</code> in forgeqe.yaml (<code>default: github</code> or <code>azure_devops</code>; <code>github: { repo, workflow, ref }</code>; <code>azure_devops: { project, pipeline_id, ref }</code>; <code>timeout_minutes</code>, 60 by default). For TestMu AI, add the secrets <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code> to the pipeline. The Azure DevOps PAT needs Build (read and execute) and Test Management (read).</li>
|
|
5972
6298
|
<li><em>TestMu AI</em>: the same command, with the variable <code>FORGEQE_PW_WS_ENDPOINT</code> set to TestMu AI's Playwright endpoint for the browser and platform in <code>testmu.yaml</code> (the access key goes in the variable, never in the command, and is removed from the output). The tests must connect to it when it is set: for NUnit, override <code>ConnectOptionsAsync</code> in the test base class; for Playwright Test, set <code>connectOptions</code> from it in <code>playwright.config</code>. ForgeQE refuses a TestMu run when the tests do not read the variable, so a run never looks remote while it ran locally.</li>
|
|
5973
6299
|
</ul>
|
|
5974
6300
|
<p>Each run is kept with the pack: the card says which tests fail now that passed in the last run, and which were fixed.</p>
|
|
@@ -6070,19 +6396,30 @@ Build a pack for Jira fix version 2.4 and the commits since release/2.3 in ../sh
|
|
|
6070
6396
|
<section class="doc" id="doc-how_to_use-test-management">
|
|
6071
6397
|
<h4>Test management</h4>
|
|
6072
6398
|
<div class="prose"><p>The <strong>Test management</strong> page (<code>#/test-management</code> in <code>forgeqe web</code>, and <code>test_inventory</code> for the agent) shows every test case of your test plans in one place, so you do not open the tracker or the repository to see them. Name the plans in Settings › Integrations, under each system's <strong>Test plans in Test management</strong> (<code>sources.azure_devops.test_plans: [plan=12]</code>, and the same for <code>xray</code>, <code>testrail</code>, <code>zephyr</code> and <code>qtest</code>), then press <strong>Sync</strong>.</p>
|
|
6399
|
+
<p><strong>Syncing on a schedule.</strong> The button beside <strong>Sync</strong> (<code>Sync: off</code>, <code>Sync: hourly</code>, <code>Sync: daily 07:00</code>) sets when ForgeQE reads the plans again, in the jobs service, while this computer is on. Each scheduled sync also reads again the stories Gaps shows. <strong>Also discover the tests first</strong> discovers the tests before each sync with the commands the sheet shows; if the test projects change, it stops discovering until you confirm again.</p>
|
|
6400
|
+
<pre><code class="language-bash">forgeqe testmgmt sync # read every case of the connected plans now
|
|
6401
|
+
forgeqe testmgmt schedule # when they are synced
|
|
6402
|
+
forgeqe testmgmt schedule daily 07:00 # or: hourly, off
|
|
6403
|
+
</code></pre>
|
|
6073
6404
|
<ul>
|
|
6074
6405
|
<li><strong>Dashboard</strong>: cases, automated, not automated, pending, failing and generated by ForgeQE, each with its change over the week; coverage over time; cases generated and automated each week; and each suite's last run, with Run and Rerun failed.</li>
|
|
6075
6406
|
<li><strong>Test cases</strong>: every case with its automated test, last run, tags and suite, in views (not automated, failing, pending, generated, steps changed, tracker disagrees) and filters. Pick cases to Run, Tag or make a suite. A case opens on its own page with its steps, test and runs.</li>
|
|
6076
|
-
<li><strong>
|
|
6407
|
+
<li><strong>Automated</strong>: the repository's automated tests, as a test explorer lists them: each with ForgeQE's id (<code>T-…</code>), its framework's own id, its file and line, its tags, its last runs and the test cases it is linked to. Filter by <strong>No test case</strong>, <strong>Linked</strong> or <strong>Read from the code</strong>.</li>
|
|
6408
|
+
<li><strong>Gaps</strong>: cases not automated, ranked by priority, failures, packs and smoke tags, with why; pending, never run and failing cases; cases whose steps changed or whose tracker disagrees; tests with no case; and the release's <strong>stories with no case</strong> and <strong>acceptance criteria not covered</strong>. Say which stories with <strong>Read stories</strong>: in Azure DevOps a sprint, iteration path, area path, epic or feature, or work item ids; in Jira (also Xray and Zephyr Scale) a sprint, fix version, epic or story keys; in qTest a requirements module or requirement ids. Until you read some, the newest Release readiness report is used. Every sync reads them again.</li>
|
|
6077
6409
|
<li><strong>Suites</strong>: tell the <strong>Suite agent</strong> (Sorter) what the suite is for, such as "P1 payments and anything failing lately". It builds the suite from rules over your cases, which ForgeQE checks, and you save it. A suite runs as <code>forgeqe suite</code> on a test environment you pick, never one named like production.</li>
|
|
6078
6410
|
<li><strong>Tags</strong>: tags from your trackers, your tests (<code>@smoke</code>) and ForgeQE (<code>.forgeqe/testmgmt/tags.json</code>), with which are out of step.</li>
|
|
6079
6411
|
</ul>
|
|
6080
|
-
<p>The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags.</p>
|
|
6412
|
+
<p>The Test case and Gap agents, docked on the right, start a chat from what you picked: automate, find why they fail, suggest tags, <strong>Write tags into tests</strong> (the coding agent writes the cases' tags into their linked tests as the framework writes tags, and shows the diff before saving), and <strong>Cases for stories with none</strong> (test cases for the stories you picked in Gaps, shown before they are saved).</p>
|
|
6413
|
+
<p><strong>Discovering the tests.</strong> On <strong>Automated</strong>, <strong>Discover tests</strong> asks each test project's own framework for its tests: pytest, .NET (NUnit, xUnit, MSTest), Playwright, Jest, Vitest, Mocha and Robot Framework. Gherkin <code>.feature</code> files are read as text. This runs the repository's code (pytest imports <code>conftest.py</code>, .NET builds the project), so the sheet shows the exact commands first and runs only those, without ForgeQE's secrets. A test its framework cannot list is read from the code instead. Each test gets ForgeQE's id (<code>T-</code> and hex), kept in <code>.forgeqe/testmgmt/tests.json</code>; commit it so the team shares the ids. A test keeps its id when it is renamed or moved.</p>
|
|
6414
|
+
<p><strong>Linking cases and tests.</strong> A case can have several tests, and a test several cases. ForgeQE links them by itself when a test's marker or attribute names the case (<code>@pytest.mark.testcase("C12")</code>, <code>[Property("TestCaseId", "123")]</code>, <code>[WorkItem(123)]</code>, <code>@id:ADO-5</code>), when the case's tracker names the test, or when the case's id is in the test's name or tags (<code>TC-123 adds to the basket</code>). You can link by hand: <strong>Link to a test case</strong> on <strong>Automated</strong>, or <strong>Link a test</strong> on a case's page; <strong>Unlink</strong> removes one, and it is not linked again by itself. <strong>Link with the agent</strong> (or <strong>Ask the agent</strong> on a case's page) asks the mapping agent (Matchmaker) to find the tests for cases that have none. It links only when it is sure and the case and test share most of their words; the rest wait on the case's page as proposals to <strong>Accept</strong> or <strong>Refuse</strong>. Links, proposals and refusals are kept in <code>.forgeqe/testmgmt/links.json</code>; commit it to share them.</p>
|
|
6415
|
+
<p><strong>A case's main test.</strong> When a case has several tests, make one its <strong>Main test</strong> on the case's page. It is listed first, its tracker records it as the case's automated test, and a run uses it first.</p>
|
|
6416
|
+
<p><strong>Running linked tests.</strong> Run a case, or a suite, and ForgeQE first records the case's linked tests in its mapping (<code>.forgeqe/test-cases.json</code>) with one command that runs them all, so <code>forgeqe suite</code> runs them too. A Gherkin scenario runs through its feature's own runner, found from the project's files: Cucumber.js, Behave, pytest-bdd, Cucumber JVM (Maven or Gradle), or SpecFlow or Reqnroll. A scenario with no runner found cannot be run this way.</p>
|
|
6081
6417
|
<p><strong>Writing back to the trackers.</strong> Test management can also change the trackers, always showing exactly what would change first and writing only that list:</p>
|
|
6082
6418
|
<ul>
|
|
6083
|
-
<li><strong>Mark automated</strong> (picked cases, or a case's page): each case whose test ForgeQE knows gets Azure DevOps' Associated Automation, or the <code>automated</code> label on its Jira or Xray test.</li>
|
|
6084
|
-
<li><strong>Write tags</strong> (picked cases, a case's page, or a tag on the Tags page): ForgeQE's tags are added to the case's Azure DevOps tags or Jira labels.
|
|
6085
|
-
<li><strong>
|
|
6419
|
+
<li><strong>Mark automated</strong> (picked cases, or <strong>Mark automated in its system</strong> on a case's page): each case whose test ForgeQE knows, from its mapping or a link, gets Azure DevOps' Associated Automation, or the <code>automated</code> label on its Jira or Xray test.</li>
|
|
6420
|
+
<li><strong>Write tags</strong> (picked cases, <strong>Write tags to its system</strong> on a case's page, or a tag on the Tags page): ForgeQE's tags are added to the case's Azure DevOps tags or Jira labels. Tags the case already has stay.</li>
|
|
6421
|
+
<li><strong>Take tags off</strong> (<strong>Take tags off in its system</strong> on a case's page, or a tag on the Tags page): ForgeQE's own tags are taken off the case's Azure DevOps tags or Jira labels. The tracker's other tags stay.</li>
|
|
6422
|
+
<li><strong>Keep in tracker</strong> (a suite): the suite is made as a static suite in a connected Azure DevOps plan, or as an Xray Test Set (Xray Cloud, or Xray Server/Data Center over https), with its cases. <strong>Keep in step</strong> later adds the cases it gained and takes out the ones it lost.</li>
|
|
6086
6423
|
</ul>
|
|
6087
6424
|
<p>Each write is audited. If a tracker refuses a case, the sheet says why for that case and the rest still go through.</p>
|
|
6088
6425
|
</div>
|
|
@@ -6179,7 +6516,7 @@ forgeqe pr-tests 42 --run --post # and post the results on p
|
|
|
6179
6516
|
<h4>API and contract tests</h4>
|
|
6180
6517
|
<div class="prose"><p>ForgeQE tests APIs directly too: REST, GraphQL (queries, mutations and subscriptions), SOAP, gRPC (unary and streaming), WebSocket and Server-Sent Events. API tests check the same logic as UI tests in a fraction of the time, and they do not break when the page changes. Contracts come from two places:</p>
|
|
6181
6518
|
<ul>
|
|
6182
|
-
<li><strong>A browser run, a recording, or its latest try.</strong> Every browser run, every recording you make by hand, and the latest <strong>
|
|
6519
|
+
<li><strong>A browser run, a recording, or its latest try.</strong> Every browser run, every recording you make by hand, and the latest <strong>Re-run</strong> of a recording record the application's own API calls (XHR, fetch, event streams) in <code>network.json</code> in the run folder: method, URL, status, timing, and the request and response bodies when they are JSON, XML, or text. Secrets never reach the file: <code>Authorization</code>, cookies, and API key headers are dropped (only the kind of auth is kept, e.g. bearer), and fields named like a password, token, key, session, or card number are redacted in bodies and query strings. Only a few headers are kept (content type, accept, SOAP action); <code>api.keep_headers</code> adds others your API needs, such as <code>X-Tenant</code>, which the contracts' example calls then send too. A header that can carry a credential (<code>Authorization</code>, <code>Cookie</code>, or one named like a token, key, auth or session) is refused there. Analytics and monitoring calls are left out. "Turn the last run's API calls into tests" (<code>api_contracts</code> from <code>run</code>) groups the calls into operations: one per method and path, with ids in paths turned into <code>{id}</code> (<code>GET /api/orders/{id}</code>), GraphQL by operation name, SOAP by action, gRPC-web by method. Several calls to one operation make a better contract: a field in every answer is required, a value that differs between calls is not pinned. No model is used.</li>
|
|
6183
6520
|
<li><strong>An API description,</strong> by link or file: OpenAPI 3 or Swagger 2 (JSON or YAML, or the Swagger UI page, which ForgeQE looks behind for the document), WSDL for SOAP, a GraphQL endpoint (read by introspection) or an SDL or introspection file, <code>.proto</code> files, or <code>grpc://host:port</code> for a gRPC server with reflection (through <a href="https://github.com/fullstorydev/grpcurl" rel="noopener">grpcurl</a>); client, server and bidi streaming rpcs become streaming contracts, and a GraphQL subscription becomes a <code>graphql-transport-ws</code> WebSocket contract. Each operation gets an example call from the description's examples; values it gives no example for are made up and the contract is marked as needing real values.</li>
|
|
6184
6521
|
</ul>
|
|
6185
6522
|
<p>Each contract has one example call and what its answer must have: the <strong>status</strong>, the <strong>content type</strong>, the body's <strong>schema</strong>, and <strong>key fields</strong> (ids, statuses, names, totals: present, with their type; a value only where it does not change between calls, like a status). GraphQL answers must have no <code>errors</code>; SOAP answers no <code>Fault</code> and the expected elements; gRPC calls the OK status. Contract sets are saved in <code>.forgeqe/reports/api/<id>/</code>: <code>contracts.json</code> (edit the examples freely, e.g. to give real ids) and <code>api.md</code>.</p>
|
|
@@ -6313,7 +6650,11 @@ each with its <strong>calls</strong> (contracts) and <strong>flows</strong> (sce
|
|
|
6313
6650
|
path, params, headers, a JSON body), <strong>Send</strong> it and see what came back (body, headers, the checks that passed or
|
|
6314
6651
|
failed), <strong>Save</strong> it, and set <strong>what it must answer</strong> (the status, the statuses that also pass, fields with their
|
|
6315
6652
|
type or value), or take it from a right answer with <strong>Use as what it must answer</strong>. Pick the <strong>environment</strong> from
|
|
6316
|
-
<code>env.yaml</code> at the top: calls go to its API app's address
|
|
6653
|
+
<code>env.yaml</code> at the top: calls go to its API app's address. Where it has none, the API's own address shows in full before
|
|
6654
|
+
the path, and you can edit it (http, https, grpc or grpcs, with no user, query or fragment). A call can go to another
|
|
6655
|
+
app of <code>env.yaml</code> instead: pick <code>{{app.NAME}}</code> before its path, or set one for the whole API under <strong>Calls go to</strong>. Its
|
|
6656
|
+
address is that app's on the environment picked (else the active one), and a call whose app the environment does not
|
|
6657
|
+
have is not sent. Rename an API, a call or a flow in place; an API's chevron collapses it. <strong>Run</strong> runs every call and then every flow there
|
|
6317
6658
|
(<code>forgeqe api run-all</code>). A call that changes data asks first: <strong>Send it once</strong>, or <strong>Always on</strong> that environment
|
|
6318
6659
|
(remembered for the API, never for an environment named like production). <strong>Sign in</strong> once per API: a bearer token,
|
|
6319
6660
|
an API key in a header, or a user name and password; the value you type goes to the credential store under a variable
|
|
@@ -6577,6 +6918,32 @@ forgeqe visual approve --page /home # make this run's /home the baseline (asks
|
|
|
6577
6918
|
</section>
|
|
6578
6919
|
</div>
|
|
6579
6920
|
</article>
|
|
6921
|
+
<article class="spec feat" id="cap-responsive-check">
|
|
6922
|
+
<div class="hd"><span class="mono">Quality</span><h3>Responsive check</h3></div>
|
|
6923
|
+
<p class="ds">Opens one page on several phones, tablets and desktops at once and says where it scrolls sideways, what runs past the screen, text that is too small and tap targets that are too small, with a screenshot of each device.</p>
|
|
6924
|
+
<div class="facts">
|
|
6925
|
+
<div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Does the checkout page work on phones?</li><li>Which devices make the home page scroll sideways?</li></ul></div>
|
|
6926
|
+
<div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need input">You give</span><span>a page's address, or a web app in env.yaml</span></li></ul></div>
|
|
6927
|
+
<div class="fact"><span class="mono">Tools</span><p class="tools"><code>responsive_check</code></p></div>
|
|
6928
|
+
</div>
|
|
6929
|
+
<div class="detail"><span class="mono">In detail</span>
|
|
6930
|
+
<section class="doc" id="doc-how_to_use-responsive-preview">
|
|
6931
|
+
<h4>Responsive preview</h4>
|
|
6932
|
+
<div class="prose"><p>The <strong>Responsive</strong> page (Specialised testing) runs one page on up to twelve phones, tablets and desktops at once, in ForgeQE's own headless browser on this computer, with nobody watching. Each device is emulated in full (its CSS size, pixel ratio, touch, mobile viewport and user agent), in a browser context of its own, so a site that reads the user agent or <code>pointer: coarse</code> lays out as it would there; every device is drawn by Chromium, so a Safari-only difference does not show. The page has an <strong>Agent</strong> tab and a <strong>Runs</strong> tab; <strong>New</strong> starts a run in four steps:</p>
|
|
6933
|
+
<ol>
|
|
6934
|
+
<li><strong>Page and devices.</strong> The address starts as the active environment's web app. Pick the devices, and where they run: <strong>This computer</strong>, or BrowserStack or TestMu AI once their sign-in is set (<code>BROWSERSTACK_USERNAME</code> and <code>BROWSERSTACK_ACCESS_KEY</code>, or <code>LT_USERNAME</code> and <code>LT_ACCESS_KEY</code>). On a cloud, <strong>Emulated in a browser</strong> shows the devices in one Chrome, Edge, Firefox or WebKit session; <strong>Real devices</strong> lists the cloud's own phones and tablets (Android, and iOS 17 and later), up to six, each its own session. A page on this computer or its network never goes to a cloud.</li>
|
|
6935
|
+
<li><strong>What to do.</strong> One prompt, written as you would tell a tester, with up to three <code>.txt</code>, <code>.md</code>, <code>.csv</code> or <code>.feature</code> files attached. A test case from test management or a saved prompt can fill it; <strong>Save</strong> keeps a prompt in <code>.forgeqe/responsive/flows/</code>. When the run starts, Prism reads the prompt as steps and checks (without a model, each line or sentence is a step) and plans each step for each layout from what its screen shows.</li>
|
|
6936
|
+
<li><strong>What to check.</strong> The built-in checks (<strong>Scrolls sideways</strong>, <strong>Text under 12px</strong>, <strong>Tap targets under 24px</strong>, <strong>Broken images</strong>) and up to eight of your own in words ("The cart total shows without scrolling"). Your own check fails only with a quote found on that screen; without a model it is not judged.</li>
|
|
6937
|
+
<li><strong>Review</strong>, then <strong>Start</strong>.</li>
|
|
6938
|
+
</ol>
|
|
6939
|
+
<p>Each step is done on every device in turn, and the checks run after every step, with a screenshot of each device. While it runs, the run's page shows <strong>Findings</strong>, <strong>Devices</strong> (each device's last step and screenshot) and <strong>Log and errors</strong>, with <strong>Stop</strong> (what was done is kept). A finished run shows <strong>Steps</strong>, <strong>Findings</strong> (High, Medium or Low; a row opens the finding with its screenshot), <strong>Screenshots</strong> and <strong>Log and errors</strong>. Runs are kept in the reports folder as <code>responsive/<run id>/</code>. One run goes at a time, and a run on a site of an environment named like production is refused.</p>
|
|
6940
|
+
<ul>
|
|
6941
|
+
<li><code>responsive_check</code> (or "does the checkout work on phones?") opens a page on several devices, says where it scrolls sideways and which elements run past the screen, text under 12px and tap targets under 24px, and saves a screenshot of each device in <code>responsive-<time>/</code> in the reports folder. It clicks and types nothing.</li>
|
|
6942
|
+
</ul>
|
|
6943
|
+
</div>
|
|
6944
|
+
</section>
|
|
6945
|
+
</div>
|
|
6946
|
+
</article>
|
|
6580
6947
|
</section>
|
|
6581
6948
|
<section class="chapter" id="area-release" aria-labelledby="area-release-h">
|
|
6582
6949
|
<header class="chead"><span class="mono">15</span><h2 id="area-release-h">Release</h2><p>Requirement coverage and a release verdict</p></header>
|
|
@@ -6904,7 +7271,7 @@ gcloud's default project for that server only.</li>
|
|
|
6904
7271
|
command: npx -y @triparc/xray-mcp
|
|
6905
7272
|
env: { XRAY_CLIENT_ID: "{env:XRAY_CLIENT_ID}", XRAY_CLIENT_SECRET: "{env:XRAY_CLIENT_SECRET}" }
|
|
6906
7273
|
</code></pre>
|
|
6907
|
-
<p><code>forgeqe mcp list</code> prints the servers your settings give, with secrets shown only as <code>{env:…}</code>, and says why any system is left out. When the agent starts, the transcript shows the result:</p>
|
|
7274
|
+
<p><code>forgeqe mcp list</code> prints the servers your settings give, with secrets shown only as <code>{env:…}</code>, and says why any system is left out. When a turn first needs a server (or, for a server ForgeQE could not list, when the agent starts), the transcript shows the result:</p>
|
|
6908
7275
|
<pre><code> ▸ Connecting to Azure DevOps MCP, Jira MCP (mcp-atlassian)…
|
|
6909
7276
|
✓ Azure DevOps MCP connected
|
|
6910
7277
|
✗ Jira MCP (mcp-atlassian) did not connect (…). ForgeQE's API tools cover it.
|
|
@@ -6917,7 +7284,7 @@ gcloud's default project for that server only.</li>
|
|
|
6917
7284
|
</ul>
|
|
6918
7285
|
<p>The agent runs test cases with <code>run_test_cases</code> even when an MCP server is connected, so reports and write-back work the same either way. It uses the MCP tools for everything else, and creates or changes items (a bug, a comment, a transition) only when you ask.</p>
|
|
6919
7286
|
</div></section>
|
|
6920
|
-
<section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p><code>forgeqe mcp</code> serves ForgeQE's tools to other agents over stdio (MCP)
|
|
7287
|
+
<section class="doc sub" id="doc-how_to_use-forgeqe-as-an-mcp-server"><h4>ForgeQE as an MCP server</h4><div class="prose"><p><code>forgeqe mcp</code> serves ForgeQE's tools to other agents over stdio (MCP). The table below lists the main tools: the client gets every tool of the capabilities this project can use (the Capabilities table names each capability's tools), and <code>use_capabilities</code> or <code>--all-tools</code> gives the rest.</p>
|
|
6921
7288
|
<pre><code class="language-json">{ "mcpServers": { "forgeqe": { "command": "forgeqe", "args": ["mcp", "--repo", "/path/to/app"] } } }
|
|
6922
7289
|
</code></pre>
|
|
6923
7290
|
<div class="tbl"><table>
|
|
@@ -6958,7 +7325,7 @@ gcloud's default project for that server only.</li>
|
|
|
6958
7325
|
<tr><td><code>forgeqe_command</code></td><td>A <code>forgeqe</code> command no other tool covers, in an allowlisted shape; reading commands run at once, the others after the user agrees (<code>confirmed: true</code> over MCP)</td></tr>
|
|
6959
7326
|
</tbody>
|
|
6960
7327
|
</table></div>
|
|
6961
|
-
<p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, and <code>--
|
|
7328
|
+
<p><code>--repo</code> sets the working directory (default: where it starts), and <code>--profile</code>, <code>--url</code>, <code>--headed</code> and <code>--browser-provider</code> apply to browser runs. Progress goes to stderr; stdout carries only MCP messages. Long calls send progress notifications, and a cancelled call stops its browser. The shell and <code>forgeqe run</code> use the same tools, served to the agent runtime over local HTTP with a one-time token.</p>
|
|
6962
7329
|
</div></section>
|
|
6963
7330
|
</section>
|
|
6964
7331
|
<section class="doc" id="doc-how_to_use-12-engine-tuning">
|
|
@@ -6979,13 +7346,14 @@ gcloud's default project for that server only.</li>
|
|
|
6979
7346
|
<tr><td><code>FORGEQE_ENGINE_CONTROL_LOOP_MAX_RETRIES</code></td><td>4</td><td>Repeats of the same click, input, search, or select before the agent is told to change approach; the same number again after that stops the run</td></tr>
|
|
6980
7347
|
<tr><td><code>FORGEQE_ENGINE_CHANNEL</code> / <code>FORGEQE_ENGINE_EXECUTABLE_PATH</code></td><td>chrome</td><td>Browser to launch</td></tr>
|
|
6981
7348
|
<tr><td><code>FORGEQE_ENGINE_SKIP_ERROR_RECOVERY_PROMPT</code></td><td>false</td><td>Drop the recovery instructions</td></tr>
|
|
7349
|
+
<tr><td><code>FORGEQE_ENGINE_BROWSER_START_SECONDS</code></td><td>90</td><td>How long a starting browser has to answer before the next way is tried (15 to 600), for slow company computers</td></tr>
|
|
6982
7350
|
</tbody>
|
|
6983
7351
|
</table></div>
|
|
6984
7352
|
</div>
|
|
6985
7353
|
</section>
|
|
6986
7354
|
<section class="doc" id="doc-how_to_use-13-logs-for-debugging">
|
|
6987
7355
|
<h3>Logs for debugging</h3>
|
|
6988
|
-
<div class="prose"><p>Every session (<code>forgeqe start</code>, <code>run</code>, <code>suite</code>, <code>heal</code>, <code>monitor</code>, <code>code</code>, <code>mcp</code>, <code>login</code>, <code>setup</code
|
|
7356
|
+
<div class="prose"><p>Every session of a command that runs agents or tools (<code>forgeqe start</code>, <code>run</code>, <code>chat</code>, <code>suite</code>, <code>heal</code>, <code>code</code>, <code>monitor</code>, <code>explore</code>, <code>record</code>, <code>migrate</code>, <code>tosca</code>, <code>pack</code>, <code>desktop</code>, <code>mobile</code>, <code>mcp</code>, <code>login</code>, <code>setup</code>, and the data commands) writes a log to <code>.forgeqe/logs/</code> next to <code>forgeqe.yaml</code> (the newest 30 are kept). It has the versions and settings in use, what you asked, ForgeQE's agent's answers and every tool call with its result, every browser step and result, the browser engine's own log lines, and errors. Secrets are replaced before anything is written: API keys, tokens and passwords from the environment, keys in <code>llms.json</code>, and credentials you gave in a message.</p>
|
|
6989
7357
|
<p>Each session has two files with the same events:</p>
|
|
6990
7358
|
<ul>
|
|
6991
7359
|
<li>
|
|
@@ -7055,6 +7423,14 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
|
|
|
7055
7423
|
<tr><td><code>FORGEQE_TOOL_SCOPE</code></td><td><code>off</code> gives ForgeQE's agent every tool on every turn, instead of the tools of the capabilities each request is about</td></tr>
|
|
7056
7424
|
<tr><td><code>FORGEQE_ROUTING</code></td><td><code>off</code> also puts every playbook in the agent's prompt (for comparing, or ruling out a routing fault)</td></tr>
|
|
7057
7425
|
<tr><td><code>FORGEQE_HOME</code></td><td>Where the managed engine lives, user skills (<code>skills/</code>), and page memory when there is no config file (default <code>~/.forgeqe</code>)</td></tr>
|
|
7426
|
+
<tr><td><code>FORGEQE_ENV</code></td><td>The test environment of env.yaml for every command, like <code>--env NAME</code></td></tr>
|
|
7427
|
+
<tr><td><code>FORGEQE_VERBOSE</code></td><td><code>1</code> starts with every detail shown, like <code>--verbose</code></td></tr>
|
|
7428
|
+
<tr><td><code>FORGEQE_THEME</code></td><td><code>light</code> or <code>dark</code>: the shell's colours at start</td></tr>
|
|
7429
|
+
<tr><td><code>FORGEQE_PRICES</code></td><td><code>off</code> stops the daily download of the model price lists</td></tr>
|
|
7430
|
+
<tr><td><code>FORGEQE_USAGE</code> / <code>FORGEQE_USAGE_DIR</code></td><td><code>off</code> keeps no usage ledger on disk; or a folder for it instead of <code>~/.forgeqe/usage</code></td></tr>
|
|
7431
|
+
<tr><td><code>FORGEQE_BUN</code></td><td>A Bun to run ForgeQE with, instead of the one npm installed or ForgeQE downloaded</td></tr>
|
|
7432
|
+
<tr><td><code>FORGEQE_SECRET_STORE</code></td><td><code>file</code> keeps saved secrets in <code>~/.forgeqe/credentials.json</code> (readable only by you) instead of the system's credential store</td></tr>
|
|
7433
|
+
<tr><td><code>SERVICENOW_URL</code> / <code>SERVICENOW_USER</code> / <code>SERVICENOW_PASSWORD</code></td><td>ServiceNow instance and sign-in when <code>sources.servicenow</code> doesn't set them</td></tr>
|
|
7058
7434
|
<tr><td><code>ADO_ORG_URL</code> / <code>ADO_PROJECT</code> / <code>ADO_PAT</code></td><td>Azure DevOps organization, project, and token when <code>sources.azure_devops</code> doesn't set them</td></tr>
|
|
7059
7435
|
<tr><td><code>JIRA_URL</code> / <code>JIRA_EMAIL</code> / <code>JIRA_API_TOKEN</code></td><td>Jira site and credentials when <code>sources.jira</code> doesn't set them</td></tr>
|
|
7060
7436
|
<tr><td><code>XRAY_URL</code> / <code>XRAY_CLIENT_ID</code> / <code>XRAY_CLIENT_SECRET</code></td><td>Xray Cloud endpoint and API key pair</td></tr>
|