@capagents/forgeqe 3.3.9 → 3.4.1
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 +53 -5
- package/dist/docs-site/docs/area-browser/index.html +6 -3
- package/dist/docs-site/docs/area-quality/index.html +37 -0
- package/dist/docs-site/docs/cost-architecture/index.html +45 -1
- package/dist/docs-site/docs/reference/index.html +1 -0
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/using/index.html +4 -2
- package/dist/docs-site/docs/web-app/index.html +11 -7
- package/dist/forgeqe.js +2069 -2046
- package/dist/template.html +63 -63
- package/dist/web/assets/{3d-force-graph-BPsVSYjw.js → 3d-force-graph-B-g_aIro.js} +1 -1
- package/dist/web/assets/Agent-FGPuvhc5.js +10 -0
- package/dist/web/assets/AgentWork-CFw0XcKd.js +2 -0
- package/dist/web/assets/ApiTests-D5rqD6gA.js +17 -0
- package/dist/web/assets/{Browse-DbIFxsy8.js → Browse-DLECqaFU.js} +1 -1
- package/dist/web/assets/Chat-DS4jyAH3.js +3 -0
- package/dist/web/assets/{CommandPalette-DfoEUEL6.js → CommandPalette-x_RA-vYW.js} +1 -1
- package/dist/web/assets/Compare-BFDv-NmH.js +1 -0
- package/dist/web/assets/Cost-_h1bxSj0.js +1 -0
- package/dist/web/assets/{Data-DZlKsTwA.js → Data-BuIpjLOr.js} +4 -4
- package/dist/web/assets/Desktop-F-PyYzC0.js +1 -0
- package/dist/web/assets/DesktopReview-CODdFSMN.js +2 -0
- package/dist/web/assets/Evidence-BXr78jgr.js +1 -0
- package/dist/web/assets/Explore-AAssIdGu.js +2 -0
- package/dist/web/assets/Features-Ce2hYdNS.js +1 -0
- package/dist/web/assets/Flags-DRXJnHt4.js +2 -0
- package/dist/web/assets/Flaky-BGUyv4_b.js +1 -0
- package/dist/web/assets/Impact-B6F9nuZt.js +3 -0
- package/dist/web/assets/Jobs-BsP-lQnC.js +5 -0
- package/dist/web/assets/KindPage-jQ0mJt7b.js +6 -0
- package/dist/web/assets/LiveDevice-C0OpjAg0.js +1 -0
- package/dist/web/assets/Migration-yiY2-7f3.js +8 -0
- package/dist/web/assets/Mobile-DcL2FOJg.js +1 -0
- package/dist/web/assets/Observability-BdpwjRNO.js +1 -0
- package/dist/web/assets/{OwnItems-CqCOuvba.js → OwnItems-DRV4_VbL.js} +3 -3
- package/dist/web/assets/PageAgent-C_DrJ3kc.js +1 -0
- package/dist/web/assets/Product-BoLtQxi6.js +6 -0
- package/dist/web/assets/Production-DgMWWNd_.js +1 -0
- package/dist/web/assets/Quality-Dfh-gpB-.js +1 -0
- package/dist/web/assets/Readiness-BzlzH-RQ.js +1 -0
- package/dist/web/assets/Record-BpL7Br8t.js +1 -0
- package/dist/web/assets/Regression-VL1J4PQB.js +5 -0
- package/dist/web/assets/{RelationGraph-ClPBGuMw.js → RelationGraph-CrEnF6ZB.js} +1 -1
- package/dist/web/assets/Reports-CzJULGPA.js +2 -0
- package/dist/web/assets/Requirements-CsfwSrgh.js +2 -0
- package/dist/web/assets/Responsive-GfKHZLev.js +3 -0
- package/dist/web/assets/RunDiff-DZw8Jja0.js +1 -0
- package/dist/web/assets/Settings-CiMIX_QR.js +21 -0
- package/dist/web/assets/SiteScan-Cydt89Ja.js +5 -0
- package/dist/web/assets/Steps-BoyXqIqo.js +2 -0
- package/dist/web/assets/TestData-Jwowbnv2.js +2 -0
- package/dist/web/assets/TestManagement-BPx01M_H.js +4 -0
- package/dist/web/assets/{WhatsNew-DrPf6l9-.js → WhatsNew-DAtb7FTn.js} +1 -1
- package/dist/web/assets/{agentSettingsSheet-DyaVNewv.js → agentSettingsSheet-DxBRwlvu.js} +1 -1
- package/dist/web/assets/{api-Dr3U7W5w.js → api-B8AQ8-Gb.js} +1 -1
- package/dist/web/assets/dataParts-DvgtfSmo.js +3 -0
- package/dist/web/assets/{desktopAppPath-kQmQOW6a.js → desktopAppPath-Mg0cuo3X.js} +1 -1
- package/dist/web/assets/{flowTheme-CVnIjV_m.js → flowTheme-BcMJKyow.js} +1 -1
- package/dist/web/assets/frame-Z5TaJY7O.js +23 -0
- package/dist/web/assets/index-BEY6ZWQm.css +2 -0
- package/dist/web/assets/index-nbjwmmih.js +47 -0
- package/dist/web/assets/{nav-DVPiPhOy.js → nav-DRpijFeN.js} +1 -1
- package/dist/web/assets/pageBack-CINGjBHZ.js +9 -0
- package/dist/web/assets/{palette-DwrGI2Fp.js → palette-DOQemIAv.js} +1 -1
- package/dist/web/assets/{paletteCommands-DOF2o-rv.js → paletteCommands-Bx61jZay.js} +1 -1
- package/dist/web/assets/{parts-DgJ2y_ic.js → parts-BNAiSyF0.js} +1 -1
- package/dist/web/assets/{productParts-B78jij3z.js → productParts-tf1w_F1S.js} +1 -1
- package/dist/web/assets/qualityParts-O56nH8FQ.js +3 -0
- package/dist/web/assets/{recordTest-BbXVOuGZ.js → recordTest-S5MOLSrL.js} +1 -1
- package/dist/web/assets/sectionList-BPBmSZXk.js +1 -0
- package/dist/web/assets/{stepper-CE4yOLqn.js → stepper-B7sbuU1Q.js} +1 -1
- package/dist/web/assets/{wizardParts-Bxb9UG5k.js → wizardParts-OhFd_xL2.js} +1 -1
- package/dist/web/index.html +8 -11
- package/docs/COST_ARCHITECTURE.md +48 -0
- package/docs/WEB_APP.md +12 -7
- package/docs/demo-perf-insurance/Acme_Insurance_NFRs.docx +0 -0
- package/docs/demo-perf-insurance/Acme_Insurance_NFRs.xlsx +0 -0
- package/docs/demo-perf-insurance/README.md +181 -0
- package/docs/demo-perf-insurance/env.yaml +16 -0
- package/docs/demo-perf-insurance/nft-month-end-summary.csv +12 -0
- package/docs/demo-perf-insurance/nft-run-1-summary.csv +12 -0
- package/docs/demo-perf-insurance/nft-soak-results.jtl +4801 -0
- package/docs/demo-perf-insurance/nft-storm-surge-summary.csv +5 -0
- package/docs/demo-perf-insurance/nft-stress-summary.csv +5 -0
- package/docs/user-guide.html +48 -5
- package/forgeqe.example.yaml +2 -1
- package/package.json +1 -1
- package/prompts/brain.md +1 -1
- package/prompts/perf-strategy.md +3 -1
- package/py/forgeqe_engine/busy.py +109 -0
- package/py/forgeqe_engine/capture.py +5 -0
- package/py/forgeqe_engine/checks.py +30 -0
- package/py/forgeqe_engine/d365.py +6 -4
- package/py/forgeqe_engine/diagnostics.py +87 -6
- package/py/forgeqe_engine/flowmatch.py +45 -3
- package/py/forgeqe_engine/logins.py +28 -0
- package/py/forgeqe_engine/memory.py +29 -7
- package/py/forgeqe_engine/recordsession.py +29 -3
- package/py/forgeqe_engine/service.py +112 -9
- package/py/forgeqe_engine/webrecord_page.py +19 -1
- package/dist/web/assets/Agent-DY6pRvcD.js +0 -10
- package/dist/web/assets/AgentWork-Brch_Mn3.js +0 -2
- package/dist/web/assets/ApiTests-BtWKVPw5.js +0 -17
- package/dist/web/assets/Chat-BWiH0XGV.js +0 -3
- package/dist/web/assets/Compare-DTZ_BW1P.js +0 -1
- package/dist/web/assets/Cost-DDghPWch.js +0 -1
- package/dist/web/assets/Desktop-DTIZ62Pi.js +0 -1
- package/dist/web/assets/DesktopReview-B8-dSGJH.js +0 -2
- package/dist/web/assets/Evidence-BYw_Q4Ul.js +0 -1
- package/dist/web/assets/Explore-BL_c5WK1.js +0 -2
- package/dist/web/assets/Features-DrFNrvbh.js +0 -1
- package/dist/web/assets/Flags-CHrDwhqG.js +0 -2
- package/dist/web/assets/Flaky-DtcLf8h6.js +0 -1
- package/dist/web/assets/Impact-CMU_ijo2.js +0 -3
- package/dist/web/assets/Jobs-BjybdQb_.js +0 -5
- package/dist/web/assets/KindPage-VK-Vgkzv.js +0 -6
- package/dist/web/assets/LiveDevice-BqL1P33F.js +0 -1
- package/dist/web/assets/Migration-7BI7iXIv.js +0 -8
- package/dist/web/assets/Mobile-AgAhvlVL.js +0 -1
- package/dist/web/assets/Observability-5r36Xf3d.js +0 -1
- package/dist/web/assets/PageAgent-00NQxK49.js +0 -1
- package/dist/web/assets/Product-B75ztJFn.js +0 -6
- package/dist/web/assets/Production-lIUlcjf0.js +0 -1
- package/dist/web/assets/Quality-BlRpB6mx.js +0 -1
- package/dist/web/assets/Readiness-CesaSDtp.js +0 -1
- package/dist/web/assets/Record-CLy9jQ5N.js +0 -1
- package/dist/web/assets/Regression-BjpZrkfK.js +0 -5
- package/dist/web/assets/Reports-Du8SNiHM.js +0 -2
- package/dist/web/assets/Requirements-Dr1iLoMc.js +0 -2
- package/dist/web/assets/Responsive-DcD6MLzG.js +0 -3
- package/dist/web/assets/RunDiff-cLSFOsfC.js +0 -1
- package/dist/web/assets/Settings-CUT5ggDd.js +0 -21
- package/dist/web/assets/SiteScan-iUfWBeLV.js +0 -5
- package/dist/web/assets/Steps-DJYwIiDu.js +0 -2
- package/dist/web/assets/TestData-DqEcL5o4.js +0 -2
- package/dist/web/assets/TestManagement-mBcfWTVH.js +0 -4
- package/dist/web/assets/code-Jek8uWUO.js +0 -1
- package/dist/web/assets/dataParts-Bdf97ZOD.js +0 -3
- package/dist/web/assets/frame-CavkQick.js +0 -13
- package/dist/web/assets/index-BaEsXdFc.css +0 -2
- package/dist/web/assets/index-C1kXcI0E.js +0 -57
- package/dist/web/assets/markdown-Bvv6oj4v.js +0 -7
- package/dist/web/assets/pageBack-Blig1Uqs.js +0 -3
- package/dist/web/assets/poll-CHpac9Fb.js +0 -1
- package/dist/web/assets/qualityParts-t5t9kEKG.js +0 -2
- package/dist/web/assets/sectionList-DMyhAqst.js +0 -1
- package/dist/web/assets/when-BuWCTaKm.js +0 -1
package/HOW_TO_USE.md
CHANGED
|
@@ -3655,7 +3655,8 @@ every page.
|
|
|
3655
3655
|
- **Changes**: the files the chat changed, with **Pull request** to ask ForgeQE to open one with them;
|
|
3656
3656
|
- **Outputs**: what the chat produced (reports, tests, recordings).
|
|
3657
3657
|
|
|
3658
|
-
**
|
|
3658
|
+
**Atlas's mascot** is at the bottom-right corner of every page: click it to ask Atlas from where you are, by typing
|
|
3659
|
+
or with **Talk**.
|
|
3659
3660
|
|
|
3660
3661
|
**While a chat works.** When ForgeQE is working on your message, the button beside the box is **Stop**: it stops the
|
|
3661
3662
|
turn. You can type your next message meanwhile, but it is sent only once the turn has ended; typed words cannot change
|
|
@@ -3682,7 +3683,8 @@ called **Tools and conversations**. A custom agent's page lists its **Recent run
|
|
|
3682
3683
|
|
|
3683
3684
|
1. Set it up once in **Settings › Voice**: it downloads open speech models after you agree to the size. There you also
|
|
3684
3685
|
choose how long it waits when you pause. English only for now.
|
|
3685
|
-
2. Click
|
|
3686
|
+
2. Click the mascot at the corner of any page and then the sound wave in its box, or the sound wave beside Refine on
|
|
3687
|
+
Home or in a chat. **Talk in the mascot** in Settings › Voice turns it off or on in the mascot.
|
|
3686
3688
|
3. Talk. There is nothing to hold; it hears when you have finished. Atlas listens, answers aloud as it writes, and
|
|
3687
3689
|
stops the moment you talk over it (a cough does not stop it).
|
|
3688
3690
|
|
|
@@ -3986,9 +3988,12 @@ changed and a step no longer works, the AI takes over and finishes the run, and
|
|
|
3986
3988
|
until a run passes again.
|
|
3987
3989
|
|
|
3988
3990
|
A replay starts only when the request clearly names a run that passed: **Run this goal again** on a run, "run it again"
|
|
3989
|
-
or "rerun the last test", a run folder, or the goal word for word.
|
|
3990
|
-
|
|
3991
|
-
|
|
3991
|
+
or "rerun the last test", a run folder, or the goal word for word. A rerun asked in your own words works too, such as
|
|
3992
|
+
"run the Heathrow hotel search by review score again" or "redo the login test": every word you use (and any date, number
|
|
3993
|
+
or quoted text) must be in the recorded goal, its site or its app. Anything else goes to the agent as usual. The AI also
|
|
3994
|
+
runs a request when it was not run before, when its last run failed, when its saved steps are out of date, when it was
|
|
3995
|
+
saved from more than one start page, when your words fit several different recorded goals (say a little more, or "the
|
|
3996
|
+
last …"), or when you ask for something different ("but", "instead", a new date).
|
|
3992
3997
|
|
|
3993
3998
|
**Web app**
|
|
3994
3999
|
|
|
@@ -8182,6 +8187,44 @@ its id (on the page, or `forgeqe perf strategy approve <id>` at a terminal); the
|
|
|
8182
8187
|
content approved, so a change since needs approving again. Then **Write N plans** (or `forgeqe perf strategy write
|
|
8183
8188
|
<id>`) has the coding agent write, check and smoke-run a plan for each journey that has none.
|
|
8184
8189
|
|
|
8190
|
+
**A strategy from the team's NFRs (Plan from NFRs).** Give the strategy the file the team keeps its performance
|
|
8191
|
+
non-functional requirements in: **NFR file in the project** on the Strategy form, `forgeqe perf strategy --nfr
|
|
8192
|
+
docs/nfrs.xlsx`, or the agent's perf_strategy with `nfr_file`. ForgeQE reads two layouts: the NFR template workbook (one
|
|
8193
|
+
story a row: Key, Summary, Description, Acceptance Criteria, Labels, Testable, Assumptions, Dependencies, Questions) and
|
|
8194
|
+
tables of a workbook or a Word document (ID, Transaction or Requirement, P90, P95, Max, Error rate, Target). ForgeQE's
|
|
8195
|
+
code, not the model, reads each NFR: its kind (response time, throughput, spike, scalability, stress, soak, load,
|
|
8196
|
+
resource, resilience), its transaction, and its targets (p90, p95, p99, mean and max times, the error rate, a rate per
|
|
8197
|
+
hour or per second, a factor of the peak such as "5x peak" or "70% of peak", a duration), and the peak's concurrent
|
|
8198
|
+
users. The file is a .xlsx, .xlsm or .docx inside the project (no hidden part, no link out, never named like a
|
|
8199
|
+
credential, at most 5 MB). A row whose words read as an instruction to an agent or hold a credential keeps only its id
|
|
8200
|
+
and numbers, and is listed. The model links journeys and tests to the NFR ids; code then works out:
|
|
8201
|
+
|
|
8202
|
+
- **The workload model**: each journey's rate from the throughput NFRs it runs (split between the journeys that share
|
|
8203
|
+
one), else the draft's assumption or the median rate, marked "assumed"; its users, the peak's in proportion to its
|
|
8204
|
+
rate; and its pacing, the time between one user's journeys that gives that rate (users × 3600 ÷ rate). A rate per
|
|
8205
|
+
second that no journey runs is an API's open model, its threads rate × response time.
|
|
8206
|
+
- **The response time NFRs** per transaction, and the journeys that run each.
|
|
8207
|
+
- **Coverage**: each NFR covered by a test, by monitoring (resource NFRs, in the APM: `forgeqe perf analyse`), by hand
|
|
8208
|
+
(resilience NFRs: a fault made during a load test), or not covered, with why.
|
|
8209
|
+
- **Open questions**: the file's own questions, NFRs marked as needing more detail, and gaps code found.
|
|
8210
|
+
|
|
8211
|
+
A test that asks for more users than one run takes (5,000) is kept at 5,000 with what it asked and a note; one longer
|
|
8212
|
+
than a run (240 minutes) says to run it in parts. Written plans name each transaction's Transaction Controller after its
|
|
8213
|
+
NFR (`NFR-RT-02 Motor quote – calculate premium`), so `forgeqe perf strategy check <id> <plan> [RUN]` (or **Check a run
|
|
8214
|
+
against the NFRs** on the strategy) checks a run, or imported results, against each NFR's targets by code. A demo set is
|
|
8215
|
+
in `docs/demo-perf-insurance/`.
|
|
8216
|
+
|
|
8217
|
+
**Where the execution stands (the summary).** A strategy from NFRs has an **Execution summary**: pick a run (of a plan,
|
|
8218
|
+
or results you imported) for each of its tests in the **Run** column, or `forgeqe perf strategy link <id> <test#> <plan>
|
|
8219
|
+
[RUN]`. ForgeQE's code then judges every NFR from its own test's run: response times against their targets, throughput
|
|
8220
|
+
from the requests' count over the run's length, a spike's error rate, p95 and rate, scalability and the breaking point
|
|
8221
|
+
once the run reached the users they need, and a soak's length, error rate and drift (the first tenth of its timeline
|
|
8222
|
+
against the last; it needs a JMeter results file, not a summary table). What a run cannot show is "not measured", with
|
|
8223
|
+
why. Resource and resilience NFRs are marked by a person (**Mark**, or `forgeqe perf strategy mark <id> <nfr>
|
|
8224
|
+
met|missed|clear --note "…"`). The counts at the top say how many are met, missed and not yet measured; **Export** (or
|
|
8225
|
+
`forgeqe perf strategy summary <id> --export`) writes it as a page and as Markdown beside the strategy. The links and
|
|
8226
|
+
marks are kept apart from the strategy, so they never touch its approval.
|
|
8227
|
+
|
|
8185
8228
|
**Converting LoadRunner scripts (ScriptBridge).** **Convert** on the Load tests tab, `forgeqe perf convert
|
|
8186
8229
|
<vugen-folder> --name <name>`, or the agent's perf_convert turns a LoadRunner VuGen **Web (HTTP/HTML)** script into a
|
|
8187
8230
|
JMeter plan, by code: `web_url`, `web_submit_data` and `web_custom_request` become requests (`web_add_header` and
|
|
@@ -8231,6 +8274,10 @@ few minutes late: a run that just ended says so.
|
|
|
8231
8274
|
forgeqe perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
8232
8275
|
forgeqe perf strategy approve black-friday-checkout-and-search
|
|
8233
8276
|
forgeqe perf strategy write black-friday-checkout-and-search
|
|
8277
|
+
forgeqe perf strategy --nfr docs/nfrs.xlsx
|
|
8278
|
+
forgeqe perf strategy check nfrs checkout.jmx
|
|
8279
|
+
forgeqe perf strategy link nfrs 2 checkout.jmx
|
|
8280
|
+
forgeqe perf strategy summary nfrs --export
|
|
8234
8281
|
forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
8235
8282
|
forgeqe perf export checkout.jmx --env qa
|
|
8236
8283
|
forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
@@ -9670,6 +9717,7 @@ These environment variables change where ForgeQE reads its settings and how it s
|
|
|
9670
9717
|
| `FORGEQE_PYTHON` | A Python to run the browser with instead of the one ForgeQE sets up (skipped, with a note, when it cannot) |
|
|
9671
9718
|
| `FORGEQE_DEBUG` | `1` logs at debug level, like `--debug` |
|
|
9672
9719
|
| `FORGEQE_TOOL_SCOPE` | `off` gives ForgeQE's agent every tool on every turn, instead of the tools of the capabilities each request is about |
|
|
9720
|
+
| `FORGEQE_RENEW_AT` | Tokens of context after which a chat's next turn starts a new session given the earlier turns in brief (default 40000; a whole number from 8000 to 1000000) |
|
|
9673
9721
|
| `FORGEQE_ROUTING` | `off` also puts every playbook in the agent's instructions (for comparing, or ruling out a routing fault) |
|
|
9674
9722
|
| `FORGEQE_HOME` | ForgeQE's own folder: what it downloads, user skills (`skills/`), and page memory when there is no config file (default `~/.forgeqe`) |
|
|
9675
9723
|
| `FORGEQE_ENV` | The test environment of env.yaml for every command, like `--env NAME` |
|
|
@@ -207,9 +207,12 @@ thing again repeats those steps with no model call, so it costs nothing and does
|
|
|
207
207
|
changed and a step no longer works, the AI takes over and finishes the run, and the saved steps are marked out of date
|
|
208
208
|
until a run passes again.</p>
|
|
209
209
|
<p>A replay starts only when the request clearly names a run that passed: <strong>Run this goal again</strong> on a run, "run it again"
|
|
210
|
-
or "rerun the last test", a run folder, or the goal word for word.
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
or "rerun the last test", a run folder, or the goal word for word. A rerun asked in your own words works too, such as
|
|
211
|
+
"run the Heathrow hotel search by review score again" or "redo the login test": every word you use (and any date, number
|
|
212
|
+
or quoted text) must be in the recorded goal, its site or its app. Anything else goes to the agent as usual. The AI also
|
|
213
|
+
runs a request when it was not run before, when its last run failed, when its saved steps are out of date, when it was
|
|
214
|
+
saved from more than one start page, when your words fit several different recorded goals (say a little more, or "the
|
|
215
|
+
last …"), or when you ask for something different ("but", "instead", a new date).</p>
|
|
213
216
|
<div class="views" data-views><div class="view-tabs" role="tablist" aria-label="Show the steps for" hidden><button type="button" role="tab" class="view-tab" data-view="web" aria-selected="true">Web app</button><button type="button" role="tab" class="view-tab" data-view="terminal" aria-selected="false">Terminal</button></div><div class="view-panel" role="tabpanel" data-view="web"><p class="view-label"><strong>Web app</strong></p>
|
|
214
217
|
<ol>
|
|
215
218
|
<li>Open <strong>Settings › Replays</strong> (under <strong>Testing</strong>).</li>
|
|
@@ -238,6 +238,39 @@ from your words (the users, minutes and p95 you give; soak and spike tests when
|
|
|
238
238
|
<code><perf.folder>/strategies/<id>.json</code> and <code>.md</code>. Nothing is written or run from it until a person approves it by typing
|
|
239
239
|
its id (on the page, or <code>forgeqe perf strategy approve <id></code> at a terminal); the approval holds only for the very
|
|
240
240
|
content approved, so a change since needs approving again. Then <strong>Write N plans</strong> (or <code>forgeqe perf strategy write <id></code>) has the coding agent write, check and smoke-run a plan for each journey that has none.</p>
|
|
241
|
+
<p><strong>A strategy from the team's NFRs (Plan from NFRs).</strong> Give the strategy the file the team keeps its performance
|
|
242
|
+
non-functional requirements in: <strong>NFR file in the project</strong> on the Strategy form, <code>forgeqe perf strategy --nfr docs/nfrs.xlsx</code>, or the agent's perf_strategy with <code>nfr_file</code>. ForgeQE reads two layouts: the NFR template workbook (one
|
|
243
|
+
story a row: Key, Summary, Description, Acceptance Criteria, Labels, Testable, Assumptions, Dependencies, Questions) and
|
|
244
|
+
tables of a workbook or a Word document (ID, Transaction or Requirement, P90, P95, Max, Error rate, Target). ForgeQE's
|
|
245
|
+
code, not the model, reads each NFR: its kind (response time, throughput, spike, scalability, stress, soak, load,
|
|
246
|
+
resource, resilience), its transaction, and its targets (p90, p95, p99, mean and max times, the error rate, a rate per
|
|
247
|
+
hour or per second, a factor of the peak such as "5x peak" or "70% of peak", a duration), and the peak's concurrent
|
|
248
|
+
users. The file is a .xlsx, .xlsm or .docx inside the project (no hidden part, no link out, never named like a
|
|
249
|
+
credential, at most 5 MB). A row whose words read as an instruction to an agent or hold a credential keeps only its id
|
|
250
|
+
and numbers, and is listed. The model links journeys and tests to the NFR ids; code then works out:</p>
|
|
251
|
+
<ul>
|
|
252
|
+
<li><strong>The workload model</strong>: each journey's rate from the throughput NFRs it runs (split between the journeys that share
|
|
253
|
+
one), else the draft's assumption or the median rate, marked "assumed"; its users, the peak's in proportion to its
|
|
254
|
+
rate; and its pacing, the time between one user's journeys that gives that rate (users × 3600 ÷ rate). A rate per
|
|
255
|
+
second that no journey runs is an API's open model, its threads rate × response time.</li>
|
|
256
|
+
<li><strong>The response time NFRs</strong> per transaction, and the journeys that run each.</li>
|
|
257
|
+
<li><strong>Coverage</strong>: each NFR covered by a test, by monitoring (resource NFRs, in the APM: <code>forgeqe perf analyse</code>), by hand
|
|
258
|
+
(resilience NFRs: a fault made during a load test), or not covered, with why.</li>
|
|
259
|
+
<li><strong>Open questions</strong>: the file's own questions, NFRs marked as needing more detail, and gaps code found.</li>
|
|
260
|
+
</ul>
|
|
261
|
+
<p>A test that asks for more users than one run takes (5,000) is kept at 5,000 with what it asked and a note; one longer
|
|
262
|
+
than a run (240 minutes) says to run it in parts. Written plans name each transaction's Transaction Controller after its
|
|
263
|
+
NFR (<code>NFR-RT-02 Motor quote – calculate premium</code>), so <code>forgeqe perf strategy check <id> <plan> [RUN]</code> (or <strong>Check a run
|
|
264
|
+
against the NFRs</strong> on the strategy) checks a run, or imported results, against each NFR's targets by code. A demo set is
|
|
265
|
+
in <code>docs/demo-perf-insurance/</code>.</p>
|
|
266
|
+
<p><strong>Where the execution stands (the summary).</strong> A strategy from NFRs has an <strong>Execution summary</strong>: pick a run (of a plan,
|
|
267
|
+
or results you imported) for each of its tests in the <strong>Run</strong> column, or <code>forgeqe perf strategy link <id> <test#> <plan> [RUN]</code>. ForgeQE's code then judges every NFR from its own test's run: response times against their targets, throughput
|
|
268
|
+
from the requests' count over the run's length, a spike's error rate, p95 and rate, scalability and the breaking point
|
|
269
|
+
once the run reached the users they need, and a soak's length, error rate and drift (the first tenth of its timeline
|
|
270
|
+
against the last; it needs a JMeter results file, not a summary table). What a run cannot show is "not measured", with
|
|
271
|
+
why. Resource and resilience NFRs are marked by a person (<strong>Mark</strong>, or <code>forgeqe perf strategy mark <id> <nfr> met|missed|clear --note "…"</code>). The counts at the top say how many are met, missed and not yet measured; <strong>Export</strong> (or
|
|
272
|
+
<code>forgeqe perf strategy summary <id> --export</code>) writes it as a page and as Markdown beside the strategy. The links and
|
|
273
|
+
marks are kept apart from the strategy, so they never touch its approval.</p>
|
|
241
274
|
<p><strong>Converting LoadRunner scripts (ScriptBridge).</strong> <strong>Convert</strong> on the Load tests tab, <code>forgeqe perf convert <vugen-folder> --name <name></code>, or the agent's perf_convert turns a LoadRunner VuGen <strong>Web (HTTP/HTML)</strong> script into a
|
|
242
275
|
JMeter plan, by code: <code>web_url</code>, <code>web_submit_data</code> and <code>web_custom_request</code> become requests (<code>web_add_header</code> and
|
|
243
276
|
<code>web_add_auto_header</code> their headers), <code>web_reg_save_param</code> and <code>_ex</code>/<code>_regexp</code> extractors, <code>web_reg_find</code> text checks,
|
|
@@ -280,6 +313,10 @@ few minutes late: a run that just ended says so.</p>
|
|
|
280
313
|
<div class="code"><div class="code-bar"><i></i><i></i><i></i><span>bash</span><button class="copy-code" type="button">Copy</button></div><pre class="lines"><code><span class="ln"><span class="cmd">forgeqe perf strategy "Black Friday: checkout and search must hold 500 users with p95 under 1 s"
|
|
281
314
|
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy approve black-friday-checkout-and-search
|
|
282
315
|
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy write black-friday-checkout-and-search
|
|
316
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy --nfr docs/nfrs.xlsx
|
|
317
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy check nfrs checkout.jmx
|
|
318
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy link nfrs 2 checkout.jmx
|
|
319
|
+
</span></span><span class="ln"><span class="cmd">forgeqe perf strategy summary nfrs --export
|
|
283
320
|
</span></span><span class="ln"><span class="cmd">forgeqe perf convert loadrunner/Checkout --name checkout --map https://shop.old.test=shop
|
|
284
321
|
</span></span><span class="ln"><span class="cmd">forgeqe perf export checkout.jmx --env qa
|
|
285
322
|
</span></span><span class="ln"><span class="cmd">forgeqe perf steps checkout.jmx --users 10,25,50,100
|
|
@@ -516,6 +516,50 @@ only browser goals could be rerun without the agent. What now holds in every are
|
|
|
516
516
|
</table></div>
|
|
517
517
|
<p><code>forgeqe memory stats</code> reports it per area. On the live project before this change: browser 18 runs, 4 (22%) reused
|
|
518
518
|
history, none without the model. The memory gate workflow keeps it from regressing.</p>
|
|
519
|
+
<h2 id="14-reruns-in-other-words-2026-12-01"><a href="#14-reruns-in-other-words-2026-12-01" class="hash">#</a>14. Reruns in other words (2026-12-01)</h2>
|
|
520
|
+
<p>The registry's ledger in two live projects held 241 requests and answered none of them: every one was logged as "not a
|
|
521
|
+
recorded goal". The rerun shortcut took only the rerun link, <code>/rerun</code>, "run it again" and a goal word for word, and
|
|
522
|
+
nobody types a 400-character goal again. Now a request asked as a rerun ("run … again", "redo …", "repeat …", "retry …",
|
|
523
|
+
"one more time") is also matched by its words (<code>matchWords</code>, <code>src/registry/resolve.ts</code>), by code and with no model:</p>
|
|
524
|
+
<ul>
|
|
525
|
+
<li>Every word of the request is in the recorded goal, its site's host or its app, after plurals and -ing/-ed endings
|
|
526
|
+
and a few spellings of one action ("log in", "sign in", "login"; "verify", "confirm", "check") are made one.</li>
|
|
527
|
+
<li>Every value of it (a number, a date, quoted text) is in the recorded goal exactly; a different date is new work.</li>
|
|
528
|
+
<li>A goal's words just after a negation ("do not log in") are not its own, and the agent's carry-on goals
|
|
529
|
+
("Continue …") are never matched.</li>
|
|
530
|
+
<li>It fails closed. A request that asks for a change ("but", "instead", "different", "not"), matches nothing, matches
|
|
531
|
+
goals on more than one site or app, or is one word that fits several goals goes to the agent. Several matches on one
|
|
532
|
+
site run the latest only when they are one goal reworded (<code>SAME_GOAL</code>, a Jaccard of 0.6 on their words and values)
|
|
533
|
+
or the request says "the last …".</li>
|
|
534
|
+
<li>A request not asked as a rerun still needs the goal word for word: a new task worded like an old one never skips
|
|
535
|
+
the agent.</li>
|
|
536
|
+
</ul>
|
|
537
|
+
<p>On a copy of the live playwright project's registry (29 plans), "run the Heathrow hotel search by review score again",
|
|
538
|
+
"redo the Heathrow hotels under £100 search", "run the Hyde Park search for 2 nights again" and "run the Google homepage
|
|
539
|
+
check again" resolve to their recorded runs at Tier 0. "Run the Heathrow hotel search again" goes to the agent: three
|
|
540
|
+
recorded Heathrow goals differ in their filters and dates, and picking the latest would have run a different task.</p>
|
|
541
|
+
<h2 id="15-history-compaction-and-result-size-2026-12-01"><a href="#15-history-compaction-and-result-size-2026-12-01" class="hash">#</a>15. History compaction and result size (2026-12-01)</h2>
|
|
542
|
+
<p>Phase 4's history compaction, measured first. In 42 live chat sessions (two projects) a session opened at about 22K
|
|
543
|
+
tokens and grew to 40-61K over 4-13 turns, each model call resending every earlier tool result. The agent runtime's
|
|
544
|
+
own compaction waits until the context is nearly full (about 250K for gpt-5, <code>compactsAt</code>), so it never ran.</p>
|
|
545
|
+
<ul>
|
|
546
|
+
<li><strong>A new session between turns</strong> (<code>RENEW_AT</code>, <code>src/brain/index.ts</code>). When a turn ended with a reply or a failure and
|
|
547
|
+
the context is past 40K, the next turn starts a new session in the same runtime (<code>renew</code>, <code>src/code/runtime.ts</code>): the
|
|
548
|
+
tools, their server, the permissions, the model and the cached prompt prefix stay; the conversation goes to it as
|
|
549
|
+
<code>carryOver</code> gives it (the last 4 turns in full, earlier turns about the new message in full, every other turn as one
|
|
550
|
+
line), under <code>RENEWED</code>, which says earlier tool results are not repeated and that what they started may still run.
|
|
551
|
+
Never after a question the agent waits on (<code>needs_input</code>) or a stop. The web chat (<code>src/chat/jsonl.ts</code>) and the
|
|
552
|
+
shell (<code>src/tui/App.tsx</code>) both do it; <code>agent.renew</code> in the session log records each.</li>
|
|
553
|
+
<li><strong>Compact tool results</strong> (<code>resultText</code>, <code>src/mcp/resultsize.ts</code>). Results went as JSON indented by two spaces.
|
|
554
|
+
Re-encoded, the live results were 9% fewer tokens (o200k), 13% for nested API answers such as a work item.</li>
|
|
555
|
+
<li><strong>A ceiling on one result</strong> (<code>MAX_RESULT_CHARS</code>, 60K characters, about 15K tokens). A larger result is shortened by
|
|
556
|
+
its structure, step by step until it fits: lists keep their first items and say how many more, texts their start and
|
|
557
|
+
how much more, and a note after it tells the agent to ask again more narrowly and not to guess. It stays valid JSON.
|
|
558
|
+
The Evidence record keeps what the agent was given. <code>tool.result</code> in the session log now carries the whole result's
|
|
559
|
+
size (<code>chars</code>) and <code>shortened</code>, since the log clips the text at 8K and so hid how large results are.</li>
|
|
560
|
+
</ul>
|
|
561
|
+
<p><strong>Still to measure:</strong> tokens per turn of long live chats before and after (the usage ledger, <code>forgeqe usage</code>), and how
|
|
562
|
+
often the agent asks again after a shortened result.</p>
|
|
519
563
|
|
|
520
564
|
</article>
|
|
521
565
|
<nav class="pager" aria-label="Previous and next">
|
|
@@ -524,7 +568,7 @@ history, none without the model. The memory gate workflow keeps it from regressi
|
|
|
524
568
|
</nav>
|
|
525
569
|
</main>
|
|
526
570
|
<aside class="docs-toc" aria-label="On this page">
|
|
527
|
-
<p class="side-head">On this page</p><ul><li><a href="#1-what-a-request-costs-today-measured">1. What a request costs today (measured)</a></li><li><a href="#2-the-approaches-this-design-uses">2. The approaches this design uses</a></li><li><a href="#3-the-execution-ladder">3. The execution ladder</a></li><li><a href="#4-the-registry-one-indexed-catalogue">4. The registry: one indexed catalogue</a></li><li><a href="#5-building-context-for-tiers-13">5. Building context (for Tiers 1–3)</a></li><li><a href="#6-learning-how-the-registry-fills-itself">6. Learning: how the registry fills itself</a></li><li><a href="#7-measurement-and-acceptance">7. Measurement and acceptance</a></li><li><a href="#8-compatibility-and-rollout-safety">8. Compatibility and rollout safety</a></li><li><a href="#9-phase-1-live-result-2026-10-15">9. Phase 1 live result (2026-10-15)</a></li><li><a href="#10-phase-2-live-result-2026-10-15">10. Phase 2 live result (2026-10-15)</a></li><li><a href="#11-rollout">11. Rollout</a></li><li><a href="#12-per-turn-tool-scope-2026-10-17">12. Per-turn tool scope (2026-10-17)</a></li><li><a href="#13-page-memory-at-every-step-2026-10-21">13. Page memory at every step (2026-10-21)</a></li></ul>
|
|
571
|
+
<p class="side-head">On this page</p><ul><li><a href="#1-what-a-request-costs-today-measured">1. What a request costs today (measured)</a></li><li><a href="#2-the-approaches-this-design-uses">2. The approaches this design uses</a></li><li><a href="#3-the-execution-ladder">3. The execution ladder</a></li><li><a href="#4-the-registry-one-indexed-catalogue">4. The registry: one indexed catalogue</a></li><li><a href="#5-building-context-for-tiers-13">5. Building context (for Tiers 1–3)</a></li><li><a href="#6-learning-how-the-registry-fills-itself">6. Learning: how the registry fills itself</a></li><li><a href="#7-measurement-and-acceptance">7. Measurement and acceptance</a></li><li><a href="#8-compatibility-and-rollout-safety">8. Compatibility and rollout safety</a></li><li><a href="#9-phase-1-live-result-2026-10-15">9. Phase 1 live result (2026-10-15)</a></li><li><a href="#10-phase-2-live-result-2026-10-15">10. Phase 2 live result (2026-10-15)</a></li><li><a href="#11-rollout">11. Rollout</a></li><li><a href="#12-per-turn-tool-scope-2026-10-17">12. Per-turn tool scope (2026-10-17)</a></li><li><a href="#13-page-memory-at-every-step-2026-10-21">13. Page memory at every step (2026-10-21)</a></li><li><a href="#14-reruns-in-other-words-2026-12-01">14. Reruns in other words (2026-12-01)</a></li><li><a href="#15-history-compaction-and-result-size-2026-12-01">15. History compaction and result size (2026-12-01)</a></li></ul>
|
|
528
572
|
</aside>
|
|
529
573
|
</div>
|
|
530
574
|
<footer class="foot">
|
|
@@ -396,6 +396,7 @@ the list again. For a client that ignores it, <code>forgeqe mcp --all-tools</cod
|
|
|
396
396
|
<tr><td data-label="Variable"><code>FORGEQE_PYTHON</code></td><td data-label="Effect">A Python to run the browser with instead of the one ForgeQE sets up (skipped, with a note, when it cannot)</td></tr>
|
|
397
397
|
<tr><td data-label="Variable"><code>FORGEQE_DEBUG</code></td><td data-label="Effect"><code>1</code> logs at debug level, like <code>--debug</code></td></tr>
|
|
398
398
|
<tr><td data-label="Variable"><code>FORGEQE_TOOL_SCOPE</code></td><td data-label="Effect"><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>
|
|
399
|
+
<tr><td data-label="Variable"><code>FORGEQE_RENEW_AT</code></td><td data-label="Effect">Tokens of context after which a chat's next turn starts a new session given the earlier turns in brief (default 40000; a whole number from 8000 to 1000000)</td></tr>
|
|
399
400
|
<tr><td data-label="Variable"><code>FORGEQE_ROUTING</code></td><td data-label="Effect"><code>off</code> also puts every playbook in the agent's instructions (for comparing, or ruling out a routing fault)</td></tr>
|
|
400
401
|
<tr><td data-label="Variable"><code>FORGEQE_HOME</code></td><td data-label="Effect">ForgeQE's own folder: what it downloads, user skills (<code>skills/</code>), and page memory when there is no config file (default <code>~/.forgeqe</code>)</td></tr>
|
|
401
402
|
<tr><td data-label="Variable"><code>FORGEQE_ENV</code></td><td data-label="Effect">The test environment of env.yaml for every command, like <code>--env NAME</code></td></tr>
|