@capagents/forgeqe 2.7.1 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/HOW_TO_USE.md +82 -18
  2. package/THIRD_PARTY_NOTICES.md +62 -22
  3. package/bin/forgeqe.js +1 -1
  4. package/dist/docs-site/docs/architecture/index.html +1 -1
  5. package/dist/docs-site/docs/containers/index.html +1 -1
  6. package/dist/docs-site/docs/index.html +71 -2
  7. package/dist/docs-site/docs/search.js +1 -1
  8. package/dist/forgeqe.js +1775 -1520
  9. package/dist/web/THIRD_PARTY_NOTICES.md +578 -51
  10. package/dist/web/assets/Agent-DU51Em-3.js +4 -0
  11. package/dist/web/assets/ApiTests-D6YhbfPF.js +10 -0
  12. package/dist/web/assets/Chat-CQsQvyDs.js +3 -0
  13. package/dist/web/assets/Data-Djj0u25X.js +3 -0
  14. package/dist/web/assets/Evidence-R2GZ5yW9.js +1 -0
  15. package/dist/web/assets/Features-C1qvr-oy.js +1 -0
  16. package/dist/web/assets/Jobs-BOr2nkQa.js +5 -0
  17. package/dist/web/assets/KindPage-CB2gMzhI.js +6 -0
  18. package/dist/web/assets/Migration-71lvv1zU.js +2 -0
  19. package/dist/web/assets/Product-BAQtMlzO.js +7 -0
  20. package/dist/web/assets/Product-DLioOiRN.css +1 -0
  21. package/dist/web/assets/Quality-DeUvoOND.js +1 -0
  22. package/dist/web/assets/Record-CPjgxHRX.js +2 -0
  23. package/dist/web/assets/Regression-D8V0CNAw.js +5 -0
  24. package/dist/web/assets/Reports-Bhv6gqFl.js +2 -0
  25. package/dist/web/assets/Response-CXyWQxrt.js +4 -0
  26. package/dist/web/assets/Runs-Ba8X4nId.js +2 -0
  27. package/dist/web/assets/Shell-BoXDubsc.js +3 -0
  28. package/dist/web/assets/TestCases-DEciDMh1.js +1 -0
  29. package/dist/web/assets/TestData-DY6MVYdx.js +2 -0
  30. package/dist/web/assets/Tosca-BzNnPm0_.js +2 -0
  31. package/dist/web/assets/WhatsNew-7O1MlqCy.js +1 -0
  32. package/dist/web/assets/dataParts-0a9Sjn2u.js +3 -0
  33. package/dist/web/assets/index-C9TchKsF.css +2 -0
  34. package/dist/web/assets/index-DcmN4YB2.js +43 -0
  35. package/dist/web/assets/logos-BnPN8M-S.js +1 -0
  36. package/dist/web/assets/parts-mP2z3tbH.js +1 -0
  37. package/dist/web/assets/productParts-B2wO-b1i.js +1 -0
  38. package/dist/web/assets/qualityParts-ByR8_rNE.js +1 -0
  39. package/dist/web/assets/segmented-BZcnZadS.js +1 -0
  40. package/dist/web/assets/{thread-CHhZJi-Y.js → thread-DLf1W085.js} +2 -2
  41. package/dist/web/assets/usePageChat-lpZh_ziF.js +1 -0
  42. package/dist/web/index.html +3 -3
  43. package/docs/ARCHITECTURE.md +1 -1
  44. package/docs/CONTAINERS.md +1 -1
  45. package/docs/EVIDENCE.md +9 -4
  46. package/docs/GRAPHIFY.md +178 -0
  47. package/docs/PRODUCT_KNOWLEDGE.md +25 -4
  48. package/docs/PRODUCT_VIEWS.md +5 -2
  49. package/docs/prompts/graphify-evidence.md +167 -0
  50. package/docs/user-guide.html +71 -2
  51. package/evals/evidence/domain/base/orders-api/src/report.ts +4 -0
  52. package/evals/evidence/domain/base/orders-api/src/routes/admin.ts +2 -1
  53. package/evals/evidence/domain/cases/bad-function-removed/after/src/workflow.ts +6 -0
  54. package/evals/evidence/domain/cases/bad-function-removed/case.json +14 -0
  55. package/evals/evidence/domain/cases/bad-signature-changed/after/src/workflow.ts +6 -0
  56. package/evals/evidence/domain/cases/bad-signature-changed/case.json +14 -0
  57. package/evals/evidence/domain/cases/bad-state-set-directly/after/src/routes/admin.ts +2 -1
  58. package/evals/evidence/domain/cases/bad-untested-change/after/src/routes/admin.ts +2 -1
  59. package/evals/evidence/domain/cases/bad-untested-helper/after/src/report.ts +4 -0
  60. package/evals/evidence/domain/cases/bad-untested-helper/case.json +14 -0
  61. package/evals/evidence/domain/cases/good-optional-parameter/after/src/workflow.ts +6 -0
  62. package/evals/evidence/domain/cases/good-optional-parameter/case.json +12 -0
  63. package/evals/evidence/domain/cases/good-tested-helper/after/src/clients/payments.ts +8 -0
  64. package/evals/evidence/domain/cases/good-tested-helper/case.json +12 -0
  65. package/forgeqe.example.yaml +14 -1
  66. package/package.json +17 -14
  67. package/prompts/README.md +1 -0
  68. package/prompts/product-investigate.md +1 -1
  69. package/prompts/tosca.md +64 -0
  70. package/py/forgeqe_desktop/models.py +14 -5
  71. package/py/forgeqe_engine/__init__.py +1 -1
  72. package/py/forgeqe_knowledge/graphify_bridge.py +156 -0
  73. package/py/forgeqe_tosca/__init__.py +85 -0
  74. package/py/forgeqe_tosca/__main__.py +50 -0
  75. package/py/forgeqe_tosca/ntir.py +484 -0
  76. package/py/forgeqe_tosca/render.py +128 -0
  77. package/py/forgeqe_tosca/tsu.py +187 -0
  78. package/py/forgeqe_tosca/vendor/toscatsu/LICENSE +26 -0
  79. package/py/forgeqe_tosca/vendor/toscatsu/UPSTREAM +7 -0
  80. package/py/forgeqe_tosca/vendor/toscatsu/gen_tsu.py +735 -0
  81. package/py/forgeqe_tosca/vendor/toscatsu/parse_tsu.py +1979 -0
  82. package/py/forgeqe_tosca/vendor/toscatsu/spec_to_manifest.py +878 -0
  83. package/py/forgeqe_tosca/vendored.py +50 -0
  84. package/skills/tosca-knowledge/SKILL.md +56 -0
  85. package/skills/tosca-knowledge/references/actions-and-values.md +63 -0
  86. package/skills/tosca-knowledge/references/locators.md +29 -0
  87. package/skills/tosca-knowledge/references/mapping-cypress.md +21 -0
  88. package/skills/tosca-knowledge/references/mapping-playwright.md +31 -0
  89. package/skills/tosca-knowledge/references/mapping-selenium-webdriverio.md +26 -0
  90. package/skills/tosca-knowledge/references/ntir.md +46 -0
  91. package/dist/web/assets/Agent-Ol1sf0Me.js +0 -4
  92. package/dist/web/assets/ApiTests-BfN5VysH.js +0 -10
  93. package/dist/web/assets/Chat-Bk2ECB9h.js +0 -3
  94. package/dist/web/assets/Data-DSZ9xkqr.js +0 -3
  95. package/dist/web/assets/Evidence-BVjGRwcr.js +0 -1
  96. package/dist/web/assets/Features-DQEzR0Mz.js +0 -1
  97. package/dist/web/assets/Jobs-chEiiqmE.js +0 -5
  98. package/dist/web/assets/KindPage-D-Jah0cx.js +0 -6
  99. package/dist/web/assets/Migration-DMIBgW27.js +0 -2
  100. package/dist/web/assets/Product-B3buEWja.js +0 -1
  101. package/dist/web/assets/Quality-DuELzB5I.js +0 -1
  102. package/dist/web/assets/Record-DLTuuxTP.js +0 -2
  103. package/dist/web/assets/Regression-Bjz4Xfbo.js +0 -5
  104. package/dist/web/assets/Reports-p8Qp2KwM.js +0 -2
  105. package/dist/web/assets/Response-DGJAmOI0.js +0 -4
  106. package/dist/web/assets/Runs-CnPPwEq7.js +0 -2
  107. package/dist/web/assets/Shell-Molb7AUz.js +0 -3
  108. package/dist/web/assets/TestCases-CUZ-kHja.js +0 -1
  109. package/dist/web/assets/TestData-B3P1fBRO.js +0 -2
  110. package/dist/web/assets/WhatsNew-CdiZ0Eob.js +0 -1
  111. package/dist/web/assets/arrow-down-D5oPK0MM.js +0 -1
  112. package/dist/web/assets/arrow-right-2yt0QgFJ.js +0 -1
  113. package/dist/web/assets/circle-DIklM9wF.js +0 -1
  114. package/dist/web/assets/circle-dashed-BZvX5dyl.js +0 -1
  115. package/dist/web/assets/circle-dot-Cd20PWQi.js +0 -1
  116. package/dist/web/assets/dataParts-D0dUqael.js +0 -3
  117. package/dist/web/assets/index-BC72t3H1.js +0 -43
  118. package/dist/web/assets/index-BiJ_Nvm1.css +0 -2
  119. package/dist/web/assets/keyboard-Dab5j5YB.js +0 -1
  120. package/dist/web/assets/pencil-DeEsXRZX.js +0 -1
  121. package/dist/web/assets/productParts-Ciuentrl.js +0 -1
  122. package/dist/web/assets/qualityParts-CZCG8hDs.js +0 -1
  123. package/dist/web/assets/segmented-BMOboT4H.js +0 -1
  124. package/dist/web/assets/usePageChat-eO0J5JlP.js +0 -1
package/HOW_TO_USE.md CHANGED
@@ -54,6 +54,7 @@ agent:
54
54
  | a route between two points, violet | Test planner | `forgeqe-test-plan` | Plans how a test recorded by hand fits the repository | No |
55
55
  | a cross, lime | Healer | `forgeqe-heal` | Heals tests the application outgrew | Yes, the repository |
56
56
  | two arrows, one each way, jade | Migrator | `forgeqe-migrate` | Migrates a test suite to another framework or language, one file at a time | Yes, the target folder of a confirmed migration plan |
57
+ | an arch bridge, spruce | Tosca converter | `forgeqe-tosca` | Converts Tricentis Tosca test cases into tests of another framework, one file at a time | Yes, the target folder of a confirmed Tosca plan |
57
58
  | a magnifier, cyan | Test finder | `forgeqe-find` | Finds the repository tests a request means | No |
58
59
  | a comment bubble, rose | PR reviewer | `forgeqe-pr-review` | Reviews pull requests | No |
59
60
  | a plug, teal | API test writer | `forgeqe-api` | Writes API and contract tests | Yes, the repository |
@@ -84,32 +85,35 @@ The icons as the shell draws them, each in its agent's colour:
84
85
  ▚▖ Test planner ▗▟▙▖ Healer
85
86
  ▝▀▄ ▝▜▛▘
86
87
 
87
- ▄▄█▄ Migrator ▟█▖ Test finder
88
- ▀█▀▀ ▝▀▐▖
88
+ ▄▄█▄ Migrator ▗▀▀▖ Tosca converter
89
+ ▀█▀▀ ▌▘▝▐
89
90
 
90
- ▛▛▛█ PR reviewer ▗▙▟▖ API test writer
91
- ▜▛▀▀ ▝▜▛▘
91
+ ▟█▖ Test finder ▛▛▛█ PR reviewer
92
+ ▝▀▐▖ ▜▛▀▀
92
93
 
93
- ▘▀▀▀ API planner ███▘ Explorer
94
- ▘▀▀ █
94
+ ▗▙▟▖ API test writer ▘▀▀▀ API planner
95
+ ▝▜▛▘ ▘▀▀
95
96
 
96
- ▚▟▙▞ Root cause ▜██▛ Refine
97
- ▜██▛ ▜▛
97
+ ███▘ Explorer ▚▟▙▞ Root cause
98
+ █ ▜██▛
98
99
 
99
- █ █ Agent builder ▟██▙ DB agent
100
- █ █ ▚▄▄▞
100
+ ▜██▛ Refine █ █ Agent builder
101
+ ▜▛ █ █
101
102
 
102
- ▐█▙ Judge ▄▟▙▄ Model profiler
103
- ▄▖▝▙ ▙▖ ▙
103
+ ▟██▙ DB agent ▐█▙ Judge
104
+ ▚▄▄▞ ▄▖▝▙
104
105
 
105
- █ █ Content judge ▛▀█▖ Scenario drafter
106
- ▞ ▞ ▙█▄▌
106
+ ▄▟▙▄ Model profiler █ █ Content judge
107
+ ▙▖ ▙ ▞ ▞
107
108
 
108
- ▀▖▗▀ Knowledge builder ▗▜▛▖ Investigator
109
- ▄▝▘▄ ▝▄▄▙
109
+ ▛▀█▖ Scenario drafter ▀▖▗▀ Knowledge builder
110
+ ▙█▄▌ ▄▝▘▄
110
111
 
111
- ▞▀▀▚ Acceptance reader ▛▀▀▜ Browser agent
112
- ▙██▟ ▙▄▄▟
112
+ ▗▜▛▖ Investigator ▞▀▀▚ Acceptance reader
113
+ ▝▄▄▙ ▙██▟
114
+
115
+ ▛▀▀▜ Browser agent
116
+ ▙▄▄▟
113
117
  ```
114
118
  <!-- subagents:end -->
115
119
 
@@ -138,6 +142,7 @@ Everything ForgeQE can do, by area. ForgeQE's agent answers "can you…?" questi
138
142
  | Automated tests | **Turn a passed run into an automated test**: Scribe, the coding agent, writes a test for a passed browser run in the repository's own framework, page objects, and helpers; ForgeQE runs it until it passes and a reviewer approves it. | `write_test`, `run_test` | [docs](#6-tests) |
139
143
  | Automated tests | **Heal failing tests**: Runs a repository's tests and updates the ones the application has outgrown against the live app, or reports a real application bug instead. | `heal_tests` | [docs](#fixing-broken-tests) |
140
144
  | Automated tests | **Migrate a test suite**: Moves a repository's automated tests to another framework or language (Selenium, Cypress, Protractor, WebdriverIO, Puppeteer, TestCafe, Nightwatch, Robot Framework or Playwright to Playwright, Cypress, WebdriverIO or Selenium), after a plan that says first what is possible and what is not and that the user confirms; ForgeQE runs each migrated test itself, in a job if the user wants to keep working. | `migrate_tests` | [docs](#migrating-a-test-suite) |
145
+ | Automated tests | **Convert Tosca test cases**: Reads a Tricentis Tosca export (.tsu) and converts its web test cases into Playwright, Cypress, Selenium or WebdriverIO tests with the Tosca agent, after a plan the user confirms; every Tosca step and check is marked in the converted test and checked, secrets become environment variables, and ForgeQE runs each test itself. | `convert_tosca` | [docs](#converting-tosca-tests) |
141
146
  | Automated tests | **Find and run existing tests**: Finds the automated tests that match a feature, tags, ids, a folder, or a sprint, confirms the selection, and runs it once the user agrees, with a verdict per test. | `find_tests`, `run_tests`, `list_sprints` | [docs](#finding-and-running-existing-tests) |
142
147
  | Automated tests | **Regression packs for a release**: Builds a regression pack from what goes into a release (an Azure DevOps sprint or work items, a commit range, pull requests, or changes read from any connected tool): the tests those changes can break, each with why, plus risk-area and smoke tests, and the changes no test covers. Runs it locally, on TestMu AI, or in a pipeline, compares each run with the last, and triages each failure: flaky, environment, broken test code, heal, or an AI browser re-run to tell a test the app outgrew from an app bug. | `build_regression_pack`, `run_regression_pack`, `list_regression_packs`, `regression_sources`, `edit_regression_pack` | [docs](#regression-packs-for-a-release) |
143
148
  | Automated tests | **Flaky test detection and quarantine**: Finds tests that flip between passing and failing in the repository's run history, with their likely cause, and quarantines them once the user agrees. | `flaky_tests`, `quarantine_tests` | [docs](#flaky-tests) |
@@ -535,6 +540,7 @@ forgeqe knowledge landscape # the product's systems and how they talk (
535
540
  forgeqe knowledge history # each build: the commits it read, and the endpoints, screens, tables, rules that came and went
536
541
  forgeqe knowledge search "cancel an order"
537
542
  forgeqe knowledge impact Services/OrderService.cs # what a change reaches: code across repositories, business flows, tests
543
+ forgeqe knowledge path web/src/pages/Checkout.tsx api:table:orders # how one part reaches another, each step with its line
538
544
  forgeqe knowledge flow "cancel an order" # a business flow, step by step, with the code of each step
539
545
  forgeqe knowledge gaps # what the build could not settle: calls no route or several fit, other hosts, unknown tables
540
546
  forgeqe knowledge check # find each quoted line again in its file: what moved, what is gone
@@ -1738,6 +1744,64 @@ Exit codes of `migrate run`: `0` every test migrated, `1` some or none, `2` stop
1738
1744
  the job: its stages, every file, the tests with Fix, the source and target side by side, and the activity as it happens.
1739
1745
  In the shell, "migrate our Selenium tests to Playwright" makes the plan and shows it. You confirm it yourself, and ForgeQE's agent can then run it or add the job.
1740
1746
 
1747
+ ### Converting Tosca tests
1748
+
1749
+ `forgeqe tosca` converts Tricentis Tosca test cases into Playwright, Cypress, Selenium or WebdriverIO tests, with the
1750
+ Tosca agent. It is a separate agent from `forgeqe migrate`: a Tosca export is not a folder of code but a graph of test
1751
+ cases, modules, reusable blocks and parameters. Put the export (`.tsu`) inside the repository, then:
1752
+
1753
+ ```bash
1754
+ forgeqe tosca inspect tosca/checkout.tsu # what the export holds; no model, nothing written
1755
+ forgeqe tosca plan tosca/checkout.tsu --to playwright-typescript [--only 1034698_submit_order] [--test-attribute data-qa]
1756
+ forgeqe tosca confirm tsc-20261105-151116-1f21 --accept-limits # a person at a terminal types the plan's id
1757
+ forgeqe tosca run tsc-20261105-151116-1f21 # here, or as a job:
1758
+ forgeqe jobs add tosca-ui --now -- tosca run tsc-20261105-151116-1f21
1759
+ forgeqe tosca verify tsc-… [--suite Smoke] # run the converted tests again, no model
1760
+ forgeqe tosca fix tsc-… --unit u004 --note "The cart badge is now a span" # one file back to the Tosca agent
1761
+ ```
1762
+
1763
+ 1. **Read.** ForgeQE reads the export with no model, through [ToscaTSU](https://github.com/bermudas/ToscaTSU)'s parser
1764
+ (MIT, included unchanged in `py/forgeqe_tosca/vendor/toscatsu`). It follows folders, reusable blocks with their
1765
+ parameter layers, If and Loop, buffers, and SelfHealingData, and writes each test case as NTIR, a neutral JSON form
1766
+ with numbered steps (`.forgeqe/tosca/<plan>/read/`). The export is data: nothing in it is run, and its size is capped.
1767
+ 2. **Secrets.** Tosca-encrypted values cannot be decrypted outside the Tosca workspace, and ForgeQE never tries. They
1768
+ and configuration parameters (`{CP[…]}`) become environment variables; the plan and `.env.example` name each one and
1769
+ where it comes from in Tosca. Values never reach the agent, the plan or the code.
1770
+ 3. **Plan.** One page object per Tosca module and one test per web test case, named by the target's conventions and
1771
+ placed under the test case's Tosca folders (`tests/orders/cart/…`; Tosca's own `TestCases` and similar folders left
1772
+ out). Tosca's execution lists become suites: each test is tagged with the lists that run it (Playwright
1773
+ `{ tag: ['@smoke'] }`, `@pytest.mark.smoke`, JUnit `@Tag`, NUnit `[Category]`, `@smoke` in a Cypress or WebdriverIO
1774
+ title), and ForgeQE checks the tags are there. Test
1775
+ cases whose steps are desktop, SAP, API or mobile are left out for now, and named. A step ForgeQE cannot convert
1776
+ (an unknown ActionMode or token, a TBox module with no web equivalent) is a limit: it stays in the test as a marked
1777
+ comment for a person to finish.
1778
+ 4. **Confirm.** As for a migration: a person types the plan's id at a terminal; the confirmation is kept under
1779
+ ForgeQE's home by the plan's digest, and a run refuses a plan whose export changed since.
1780
+ 5. **Run.** The setup, then each page object, then each test, each in a fresh session of the Tosca agent, which may edit
1781
+ only the target folder. The agent marks each line that does a Tosca step with its id (`// tosca: n12`). ForgeQE's
1782
+ fidelity check needs every step and check marked (only the branch that runs of an If that is always true or false),
1783
+ no skipped test, and assertions where Tosca checked; then it runs the test with the target's own command. A failure
1784
+ goes back to the agent with the output, up to `code.max_attempts` times. At the end every converted test runs again
1785
+ with all files in place.
1786
+ 6. **Check again.** `forgeqe tosca verify <plan>` runs the converted tests again with no model: all of them, one
1787
+ Tosca execution list (`--suite`), or named tests (`--unit`). Each test's steps and tags are checked again, it is run
1788
+ with the target's own command, and its outcome and whole output are kept. `tosca-suites.json` in the target folder
1789
+ lists each suite with its tag and test files, and each test with its Tosca folders, suites and last outcome.
1790
+ 7. **Report.** `tosca.md` in `.forgeqe/tosca/<plan>/`: each test case's outcome and fidelity (steps marked of steps
1791
+ required), the steps a person has to finish, and the environment variables to set. Running the plan again keeps the
1792
+ files that are done and unchanged.
1793
+
1794
+ Exit codes of `tosca run`: `0` every test converted, `1` some or none, `2` stopped. The Tosca page of `forgeqe web`
1795
+ (sidebar, Test) does the same in four steps (export, target, instructions, review): it lists the `.tsu` exports in
1796
+ the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
1797
+ with how many of its Tosca steps the test does and its whole output (Fix sends one back to the Tosca agent with a note),
1798
+ Run tests again for all of them or Run for one suite, each test case's
1799
+ Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
1800
+ happens. In the shell, "convert
1801
+ tosca/checkout.tsu to Playwright" inspects the export and makes the plan; you confirm it yourself. The Tosca agent
1802
+ knows Tosca from its skill `tosca-knowledge` (ActionModes, value tokens, expressions, locators, and how each maps to
1803
+ every target).
1804
+
1741
1805
  ### Finding and running existing tests
1742
1806
 
1743
1807
  Ask for the tests you want in your own words, in the shell or with `forgeqe run`:
@@ -8,7 +8,7 @@ Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships;
8
8
 
9
9
  | Package | Version | Licence | Where |
10
10
  |---------|---------|---------|-------|
11
- | @opentui/core | 0.5.12 | MIT | ForgeQE (installed with it) |
11
+ | @opentui/core | 0.8.2 | MIT | ForgeQE (installed with it) |
12
12
  | bun-ffi-structs | 0.3.1 | MIT | @opentui/core |
13
13
  | diff | 9.0.0 | BSD-3-Clause | @opentui/core |
14
14
  | marked | 17.0.1 | MIT | @opentui/core |
@@ -17,31 +17,31 @@ Most of these libraries are inside `dist/forgeqe.js`, the bundle ForgeQE ships;
17
17
  | get-east-asian-width | 1.7.0 | MIT | string-width |
18
18
  | strip-ansi | 7.1.2 | MIT | string-width |
19
19
  | ansi-regex | 6.4.0 | MIT | strip-ansi |
20
- | @opentui/core-darwin-x64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
21
- | @opentui/core-darwin-arm64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
22
- | @opentui/core-linux-x64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
23
- | @opentui/core-linux-arm64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
24
- | @opentui/core-win32-x64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
25
- | @opentui/core-win32-arm64 | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
26
- | @opentui/core-linux-x64-musl | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
27
- | @opentui/core-linux-arm64-musl | 0.5.12 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
28
- | jscpd | 5.4.1 | MIT | ForgeQE (installed with it) |
29
- | jscpd-linux-x64-gnu | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
30
- | jscpd-linux-arm64-gnu | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
31
- | jscpd-linux-x64-musl | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
32
- | jscpd-linux-arm64-musl | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
33
- | jscpd-darwin-arm64 | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
34
- | jscpd-darwin-x64 | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
35
- | jscpd-windows-x64-msvc | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
36
- | jscpd-windows-arm64-msvc | 5.4.1 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
37
- | @opencode-ai/sdk | 1.18.33 | MIT | ForgeQE (inside dist/forgeqe.js) |
20
+ | @opentui/core-darwin-x64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
21
+ | @opentui/core-darwin-arm64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
22
+ | @opentui/core-linux-x64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
23
+ | @opentui/core-linux-arm64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
24
+ | @opentui/core-win32-x64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
25
+ | @opentui/core-win32-arm64 | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
26
+ | @opentui/core-linux-x64-musl | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
27
+ | @opentui/core-linux-arm64-musl | 0.8.2 | MIT | A build of @opentui/core for another platform, installed there in its place; same licence. |
28
+ | jscpd | 5.4.2 | MIT | ForgeQE (installed with it) |
29
+ | jscpd-linux-x64-gnu | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
30
+ | jscpd-linux-arm64-gnu | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
31
+ | jscpd-linux-x64-musl | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
32
+ | jscpd-linux-arm64-musl | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
33
+ | jscpd-darwin-arm64 | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
34
+ | jscpd-darwin-x64 | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
35
+ | jscpd-windows-x64-msvc | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
36
+ | jscpd-windows-arm64-msvc | 5.4.2 | MIT | A build of jscpd for another platform, installed there in its place; same licence. |
37
+ | @opencode-ai/sdk | 1.19.5 | MIT | ForgeQE (inside dist/forgeqe.js) |
38
38
  | cross-spawn | 7.0.6 | MIT | @opencode-ai/sdk |
39
39
  | path-key | 3.1.1 | MIT | cross-spawn |
40
40
  | shebang-command | 2.0.0 | MIT | cross-spawn |
41
41
  | shebang-regex | 3.0.0 | MIT | shebang-command |
42
42
  | which | 2.0.2 | ISC | cross-spawn |
43
43
  | isexe | 2.0.0 | ISC | which |
44
- | @opentui/react | 0.5.12 | MIT | ForgeQE (inside dist/forgeqe.js) |
44
+ | @opentui/react | 0.8.2 | MIT | ForgeQE (inside dist/forgeqe.js) |
45
45
  | react-reconciler | 0.33.0 | MIT | @opentui/react |
46
46
  | scheduler | 0.27.0 | MIT | react-reconciler |
47
47
  | @vscode/tree-sitter-wasm | 0.3.1 | MIT | ForgeQE (inside dist/forgeqe.js) |
@@ -70,11 +70,51 @@ ForgeQE downloads these onto the machine it runs on, from their own sources, whe
70
70
  | OpenCode | the agent runtime for ForgeQE's agent and Scribe (src/code/runtime.ts) | MIT | https://opencode.ai |
71
71
  | uv and Python | the browser engine's interpreter (src/engine/setup.ts) | MIT or Apache-2.0; PSF | https://github.com/astral-sh/uv |
72
72
  | browser-use, Playwright, PyYAML, azure-identity, github-copilot-sdk, truststore | the browser engine's libraries and Chromium (src/engine/setup.ts) | MIT; Apache-2.0; MIT; MIT; MIT; MIT | https://pypi.org |
73
+ | Graphify (graphifyy), its tree-sitter grammars, NetworkX, NumPy, RapidFuzz, PyYAML, pypdf, python-docx, openpyxl, markdownify | reads the product's code structure, and PDF, Word and Excel documents, for the knowledge graph, in its own environment (src/product/graphify.ts) | Apache-2.0; MIT; BSD-3-Clause; BSD-3-Clause; MIT; MIT; BSD-3-Clause; MIT; MIT; MIT | https://github.com/Graphify-Labs/graphify |
73
74
  | GitHub Copilot CLI and its runtime | the runtime downloaded by GitHub's Copilot SDK for github_copilot profiles (src/copilot.ts), and the CLI for the browser sign-in (src/auth/copilotLogin.ts) | GitHub Copilot CLI license (GitHub) | https://github.com/github/copilot-cli |
74
75
 
76
+ ## Source code included unchanged
77
+
78
+ | Software | What for | Licence | Source |
79
+ |----------|----------|---------|--------|
80
+ | ToscaTSU | The Tosca agent's .tsu reader (parse_tsu.py, gen_tsu.py, spec_to_manifest.py) | MIT | https://github.com/bermudas/ToscaTSU (commit 338f4dd062f0) |
81
+
75
82
  ## Licence texts
76
83
 
77
- ### @opentui/core 0.5.12
84
+ ### ToscaTSU (commit 338f4dd062f0)
85
+
86
+ MIT. https://github.com/bermudas/ToscaTSU
87
+
88
+ ```text
89
+ MIT License
90
+
91
+ Copyright (c) 2026 ToscaTSU contributors
92
+
93
+ Permission is hereby granted, free of charge, to any person obtaining a copy
94
+ of this software and associated documentation files (the "Software"), to deal
95
+ in the Software without restriction, including without limitation the rights
96
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
97
+ copies of the Software, and to permit persons to whom the Software is
98
+ furnished to do so, subject to the following conditions:
99
+
100
+ The above copyright notice and this permission notice shall be included in all
101
+ copies or substantial portions of the Software.
102
+
103
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
104
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
105
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
106
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
107
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
108
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
109
+ SOFTWARE.
110
+
111
+ ---
112
+
113
+ Tricentis Tosca is a trademark of Tricentis GmbH. This project is independent
114
+ and not affiliated with, endorsed by, or sponsored by Tricentis.
115
+ ```
116
+
117
+ ### @opentui/core 0.8.2
78
118
 
79
119
  MIT. https://github.com/anomalyco/opentui
80
120
 
@@ -387,7 +427,7 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
387
427
  IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
388
428
  ```
389
429
 
390
- ### @opentui/react 0.5.12
430
+ ### @opentui/react 0.8.2
391
431
 
392
432
  MIT. https://github.com/anomalyco/opentui
393
433
 
package/bin/forgeqe.js CHANGED
@@ -19,7 +19,7 @@ import { packageVersion, resolveBundleRoot } from "./bundle.js";
19
19
  import { activateWithKey, authorize, canPrompt, DEFAULT_LICENSE_URL, loadCachedToken, promptKeyTTY } from "./license.js";
20
20
  import { serveActivation } from "./activate-web.js";
21
21
 
22
- export const BUN_VERSION = "1.4.2";
22
+ export const BUN_VERSION = "1.4.4";
23
23
 
24
24
  /** The CLI's entry: the TypeScript in a checkout of the source, else the bundle the shipped package holds in dist/. */
25
25
  export function cliEntry(root) {
@@ -305,7 +305,7 @@
305
305
  <tr><td><code>prompt.ts</code></td><td><code>TEST_RULES</code> (shared with healing: browser set up like ForgeQE's, the debugging steps when the test's page differs, generic page objects, data in tests, rules not values, pop-ups handled wherever they appear, every A/B version of a page handled), the test agent's system prompt (start from the notes, port the replay script, assert the handoff's checks and nothing else, never guess locators, reuse and extend page objects, do not run the test: ForgeQE runs it; look at the live page with the <code>live_browser_*</code> tools once a step has failed), the result JSON schema (<code>status</code>, <code>blocked_reason</code>, <code>remote_browser</code>, <code>test_file</code>, <code>command</code>, <code>reused</code>, <code>changed</code>, <code>notes</code>), and the prepare prompt (notes of at most 25 lines), the first (with the repo notes, naming the live browser's output folder when it is on), fix (the short output plus the saved log and page snapshot), missing-command, no-browser, blocked-challenge, stall, and review-fix prompts</td></tr>
306
306
  <tr><td><code>review.ts</code></td><td>The <code>forgeqe-review</code> agent: prompt, <code>REVIEW_SCHEMA</code> (<code>approved</code>, <code>summary</code>, <code>issues[{file, problem, fix}]</code>), and <code>openReviewer</code>, a second, read-only Scribe session opened on the first passing run and kept for later attempts. <code>reviewPrompt</code> inlines the checks from the handoff and the changed files (<code>changedFiles</code>: up to 12 KB each, 40 KB in all), so the reviewer reads nothing again. It may load Scribe's skills and judges the test against their conventions too</td></tr>
307
307
  <tr><td><code>runtime.ts</code></td><td>Maps the <code>llms.json</code> profile to an agent runtime provider, builds the config, starts the agent runtime server, and drives one session over the SDK. With <code>resume</code>, <code>openSession</code> reopens that session with <code>session.get</code> (the runtime keeps sessions on disk, so their messages survive a restart) and sets <code>resumed</code>; when it is gone, a new one is created. <code>FailedCommands</code> counts each exact shell command the agent runs that exits non-zero; at <code>stallAfter</code> failures of one command the turn is aborted and <code>prompt()</code> returns <code>stalled</code> (<code>command</code>, <code>count</code>, the last 40 lines of output). <code>resetStall()</code> clears the counts <code>READ_AGENT</code> (<code>forgeqe-read</code>) has the test agent's instructions with <code>edit</code> and <code>live_*</code> denied; the config builder takes it in <code>agents</code>, and a prompt picks it with <code>agent</code>. <code>PromptOptions</code> also carries <code>structured</code> (off: no JSON answer) and <code>tools</code> (per-prompt switches, used only for <code>live_*</code>: the agent runtime keeps them for later prompts, and <code>true</code> would override the agent's path rules for file tools)</td></tr>
308
- <tr><td><code>livebrowser.ts</code></td><td><code>liveBrowser(runDir)</code>: the <code>live</code> MCP server for the agent, Microsoft's Playwright MCP (<code>npx -y @playwright/mcp@0.0.83 --config …</code>), with a config written to <code>&amp;lt;run&gt;/live-browser/config.json</code> from <code>run.json</code> <code>browser</code> (channel or executable, headless, viewport, locale, time zone, user agent) and snapshots and screenshots saved in that folder. <code>null</code> without <code>npx</code>. The loop switches its tools (<code>live_*</code>) on per prompt once a step fails</td></tr>
308
+ <tr><td><code>livebrowser.ts</code></td><td><code>liveBrowser(runDir)</code>: the <code>live</code> MCP server for the agent, Microsoft's Playwright MCP (<code>npx -y @playwright/mcp@0.0.84 --config …</code>), with a config written to <code>&amp;lt;run&gt;/live-browser/config.json</code> from <code>run.json</code> <code>browser</code> (channel or executable, headless, viewport, locale, time zone, user agent) and snapshots and screenshots saved in that folder. <code>null</code> without <code>npx</code>. The loop switches its tools (<code>live_*</code>) on per prompt once a step fails</td></tr>
309
309
  <tr><td><code>pagefacts.ts</code></td><td>What a step met that a test handles differently: <code>frameSelector</code> for a step's frame, <code>isAdStep</code> (an ad host's frame, or <code>#google_vignette</code>), and <code>AD_HOSTS</code> / <code>AD_ROUTE</code> for blocking them. <code>handoff.ts</code> renders <code>covered_by</code>, <code>bypass</code> and <code>frame</code> under each step and adds &quot;What covered the page before a click&quot;, &quot;Ads on these pages&quot;, and &quot;State the run started with&quot; (from <code>run.json</code> <code>sessions_restored</code>); <code>replay.ts</code> skips ad steps and reaches frame steps through <code>frameLocator</code></td></tr>
310
310
  <tr><td><code>replay.ts</code></td><td>The replay check. <code>replayScript(steps)</code> turns <code>workflow.yaml</code> into <code>flow.mjs</code>, one <code>step(n, action, run)</code> per recorded step, with each locator rebuilt from its type and value (<code>locatorExpr</code>), text typed with <code>pressSequentially</code>, secrets read with <code>env(NAME)</code> and one-time codes made with <code>totp(NAME)</code>; actions with no Playwright equivalent are marked &quot;not replayed&quot;. <code>alternatives.mjs</code> holds each step's other locators. <code>ensurePlaywright</code> installs <code>playwright-core</code> (<code>PLAYWRIGHT_VERSION</code>) with Bun into <code>~/.forgeqe/tools</code> and removes older versions. <code>replayRun</code> writes a runner that launches the run's browser (<code>replayOptions</code>: channel or executable, headless, viewport, locale, time zone, user agent, extra headers), runs each step with a 10 s timeout, keeps an aria snapshot of each page after each step that worked (by host and path, the latest one; the final page's taken once two snapshots a second apart agree, up to 6 s, since a page can change its URL at once and re-render later) and writes them as <code>&amp;lt;setup&gt;-page-N.aria.yml</code> in <code>ReplayPass.pages</code>, and on a failure saves a screenshot and an aria snapshot, counts the other locators' matches, and records console errors, failed requests, and HTTP errors; three failures in a row stop it. It runs under Bun with the session logins' env, 180 s per pass. The first pass uses Playwright's default launch; if it does not reach the run's final page (host and path), a second pass leaves out <code>--enable-automation</code> and adds <code>--disable-blink-features=AutomationControlled</code>. <code>replaySection</code> renders the handoff section (the page snapshots listed; a pass whose failed steps were followed by steps that all worked and that reached the final page, <code>reachedPastFailures</code>, reads as a working script with those steps to judge, and <code>replayFailed</code> is false for it so the live browser stays off): each pass, the failed steps with Playwright's reason, the page, the open dialogs from the snapshot, the other locators' matches, and the saved files, and the launch settings to copy when only the second pass got through. After the last step the runner looks up each recorded check on the page (<code>findCheck</code>: a visible exact heading, then exact text, then a looser heading or text, then a form field holding the value) and returns its locator, match count, and up to 3 containers in <code>ReplayPass.checks</code>; for a heading match, <code>sectionOf</code> adds <code>section</code> (the element <code>aria-labelledby</code> the heading, else the <code>section</code>/<code>article</code>/region it heads, else the element after it or after its only-child wrapper) with a stable locator (test id, id, or <code>aria-label</code>, else empty) and its visible link and list item counts</td></tr>
311
311
  <tr><td><code>testrun.ts</code></td><td>Runs the reported command with <code>sh -c</code> in the repo (<code>CI=1</code>, <code>PLAYWRIGHT_HTML_OPEN=never</code>, no colour), with a timeout. <code>promptOutput</code> makes the prompt's copy of a failed run: <code>withoutPageDumps</code> takes out each &quot;Aria snapshot:&quot; block Playwright puts in a failed assertion, then <code>headAndTail</code> keeps the first 8 KB and the last 4 KB; the full output goes to <code>&amp;lt;run&gt;/test-runs/attempt-N.log</code> and the first page dump to <code>attempt-N-page.aria.yml</code>. While it runs it samples the process tree (<code>ps -A -o pid=,ppid=,args=</code> every 250 ms; <code>Win32_Process</code> every 1.5 s on Windows) for browsers at or below the command that carry an automation switch (<code>--remote-debugging-pipe</code>, <code>--remote-debugging-port</code>, <code>-juggler-pipe</code>, <code>--inspector-pipe</code>, <code>-marionette</code>) and returns them as <code>browsers</code></td></tr>
@@ -300,7 +300,7 @@ workspace's image.</li>
300
300
  provider: docker # or per run: --browser-provider docker
301
301
  containers:
302
302
  browser: # optional
303
- image: mcr.microsoft.com/playwright:v1.63.0-noble # default; needs Node.js and /ms-playwright
303
+ image: mcr.microsoft.com/playwright:v1.65.0-noble # default; needs Node.js and /ms-playwright
304
304
  headless: false # default: browser.headless; a visible browser runs on a virtual display (Xvfb)
305
305
  </code></pre></div>
306
306
  <ul>
@@ -157,7 +157,7 @@ forgeqe docs --copy ./docs # copy the guide, the architecture page, the refere
157
157
  <div class="area"><a href="#area-mobile" class="area-name"><span class="mono">Mobile</span></a><ul class="tiles"><li><a href="#cap-mobile-apps" class="tile"><b>Automate Android and iOS apps</b><span>Sign in to the courier app and accept the first delivery, and save it as a test</span></a></li></ul></div>
158
158
  <div class="area"><a href="#area-operations" class="area-name"><span class="mono">Operations</span></a><ul class="tiles"><li><a href="#cap-containers" class="tile"><b>Services, mocks, workspace and browser in Docker or Podman</b><span>Start the database and the queue in Docker</span></a></li><li><a href="#cap-monitoring" class="tile"><b>Scheduled monitoring with alerts</b><span>Check the login flow every 15 minutes and alert Teams</span></a></li><li><a href="#cap-jobs" class="tile"><b>Background jobs on a schedule</b><span>Run the release-2.3 pack every weekday at 2am in the background</span></a></li><li><a href="#cap-custom-agents" class="tile"><b>Your team's custom agents</b><span>Ask our custom agent checkout-guard to check the basket on QA</span></a></li><li><a href="#cap-notifications" class="tile"><b>Teams and email notifications</b><span>Post the results to the QA channel</span></a></li><li><a href="#cap-pipelines" class="tile"><b>CI pipelines</b><span>Add a GitHub Actions workflow that runs tests/cases.yaml on every PR, and make it green</span></a></li></ul></div>
159
159
  <div class="area"><a href="#area-data" class="area-name"><span class="mono">Data</span></a><ul class="tiles"><li><a href="#cap-databases" class="tile"><b>Ask a database in plain language</b><span>Which customers in India have paid orders? Ask the orders database</span></a></li><li><a href="#cap-test-data" class="tile"><b>Test data on demand</b><span>Generate test data: 20 customers with 1 to 3 orders each in the shop database</span></a></li><li><a href="#cap-data-flows" class="tile"><b>Data flows between systems</b><span>Check that customers from the digital database reach the CRM correctly</span></a></li></ul></div>
160
- <div class="area"><a href="#area-automated-tests" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="#cap-write-tests" class="tile"><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 href="#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="#cap-regression-packs" class="tile"><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 href="#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li></ul></div>
160
+ <div class="area"><a href="#area-automated-tests" class="area-name"><span class="mono">Automated tests</span></a><ul class="tiles"><li><a href="#cap-write-tests" class="tile"><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 href="#cap-heal-tests" class="tile"><b>Heal failing tests</b><span>Heal the failing tests in ../app</span></a></li><li><a href="#cap-migrate-tests" class="tile"><b>Migrate a test suite</b><span>Migrate the Selenium tests in tests/ to Playwright TypeScript</span></a></li><li><a href="#cap-tosca-convert" class="tile"><b>Convert Tosca test cases</b><span>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</span></a></li><li><a href="#cap-find-run-tests" class="tile"><b>Find and run existing tests</b><span>Run the checkout tests</span></a></li><li><a href="#cap-regression-packs" class="tile"><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 href="#cap-flaky-tests" class="tile"><b>Flaky test detection and quarantine</b><span>Which tests are flaky?</span></a></li></ul></div>
161
161
  <div class="area"><a href="#area-pull-requests" class="area-name"><span class="mono">Pull requests</span></a><ul class="tiles"><li><a href="#cap-pr-review" class="tile"><b>Review pull requests</b><span>Review PR 42 and focus on error handling</span></a></li><li><a href="#cap-pr-impact" class="tile"><b>Pull request impact and test selection</b><span>What does PR 42 impact?</span></a></li></ul></div>
162
162
  <div class="area"><a href="#area-api" class="area-name"><span class="mono">API</span></a><ul class="tiles"><li><a href="#cap-api-testing" class="tile"><b>API and contract testing</b><span>Turn the last run's API calls into tests</span></a></li></ul></div>
163
163
  <div class="area"><a href="#area-quality" class="area-name"><span class="mono">Quality</span></a><ul class="tiles"><li><a href="#cap-accessibility-performance" class="tile"><b>Accessibility and page performance</b><span>Is the checkout page accessible?</span></a></li><li><a href="#cap-accessibility-personas" class="tile"><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 href="#cap-visual-comparison" class="tile"><b>Visual comparison with baselines</b><span>What changed visually since the last run?</span></a></li><li><a href="#cap-defect-intelligence" class="tile"><b>Defect intelligence: trends and prediction</b><span>Which defects keep coming back?</span></a></li></ul></div>
@@ -1815,6 +1815,7 @@ forgeqe knowledge landscape # the product's systems and how they talk (
1815
1815
  forgeqe knowledge history # each build: the commits it read, and the endpoints, screens, tables, rules that came and went
1816
1816
  forgeqe knowledge search &quot;cancel an order&quot;
1817
1817
  forgeqe knowledge impact Services/OrderService.cs # what a change reaches: code across repositories, business flows, tests
1818
+ forgeqe knowledge path web/src/pages/Checkout.tsx api:table:orders # how one part reaches another, each step with its line
1818
1819
  forgeqe knowledge flow &quot;cancel an order&quot; # a business flow, step by step, with the code of each step
1819
1820
  forgeqe knowledge gaps # what the build could not settle: calls no route or several fit, other hosts, unknown tables
1820
1821
  forgeqe knowledge check # find each quoted line again in its file: what moved, what is gone
@@ -3355,7 +3356,7 @@ workspace's image.</li>
3355
3356
  provider: docker # or per run: --browser-provider docker
3356
3357
  containers:
3357
3358
  browser: # optional
3358
- image: mcr.microsoft.com/playwright:v1.63.0-noble # default; needs Node.js and /ms-playwright
3359
+ image: mcr.microsoft.com/playwright:v1.65.0-noble # default; needs Node.js and /ms-playwright
3359
3360
  headless: false # default: browser.headless; a visible browser runs on a virtual display (Xvfb)
3360
3361
  </code></pre></div>
3361
3362
  <ul>
@@ -4455,6 +4456,74 @@ In the shell, &quot;migrate our Selenium tests to Playwright&quot; makes the pla
4455
4456
  </section>
4456
4457
  </div>
4457
4458
  </article>
4459
+ <article class="spec feat" id="cap-tosca-convert">
4460
+ <div class="hd"><span class="mono">Automated tests</span><h3>Convert Tosca test cases</h3></div>
4461
+ <p class="ds">Reads a Tricentis Tosca export (.tsu) and converts its web test cases into Playwright, Cypress, Selenium or WebdriverIO tests with the Tosca agent, after a plan the user confirms; every Tosca step and check is marked in the converted test and checked, secrets become environment variables, and ForgeQE runs each test itself.</p>
4462
+ <div class="facts">
4463
+ <div class="fact"><span class="mono">Ask it</span><ul class="asks"><li>Convert the Tosca export tosca/checkout.tsu to Playwright TypeScript</li></ul></div>
4464
+ <div class="fact"><span class="mono">What it needs</span><ul class="needs"><li><span class="need req">Required</span><span>The coding agent, Scribe: a live model profile (or code.model) and the agent runtime, which forgeqe setup installs</span></li><li><span class="need input">You give</span><span>a Tosca .tsu export inside a git repository</span></li></ul></div>
4465
+ <div class="fact"><span class="mono">Tools</span><p class="tools"><code>convert_tosca</code></p></div>
4466
+ </div>
4467
+ <div class="detail"><span class="mono">In detail</span>
4468
+ <section class="doc" id="doc-how_to_use-converting-tosca-tests">
4469
+ <h4>Converting Tosca tests</h4>
4470
+ <div class="prose"><p><code>forgeqe tosca</code> converts Tricentis Tosca test cases into Playwright, Cypress, Selenium or WebdriverIO tests, with the
4471
+ Tosca agent. It is a separate agent from <code>forgeqe migrate</code>: a Tosca export is not a folder of code but a graph of test
4472
+ cases, modules, reusable blocks and parameters. Put the export (<code>.tsu</code>) inside the repository, then:</p>
4473
+ <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><code>forgeqe tosca inspect tosca/checkout.tsu # what the export holds; no model, nothing written
4474
+ forgeqe tosca plan tosca/checkout.tsu --to playwright-typescript [--only 1034698_submit_order] [--test-attribute data-qa]
4475
+ forgeqe tosca confirm tsc-20261105-151116-1f21 --accept-limits # a person at a terminal types the plan's id
4476
+ forgeqe tosca run tsc-20261105-151116-1f21 # here, or as a job:
4477
+ forgeqe jobs add tosca-ui --now -- tosca run tsc-20261105-151116-1f21
4478
+ forgeqe tosca verify tsc-… [--suite Smoke] # run the converted tests again, no model
4479
+ forgeqe tosca fix tsc-… --unit u004 --note &quot;The cart badge is now a span&quot; # one file back to the Tosca agent
4480
+ </code></pre></div>
4481
+ <ol>
4482
+ <li><strong>Read.</strong> ForgeQE reads the export with no model, through <a href="https://github.com/bermudas/ToscaTSU" class="ext" rel="noopener">ToscaTSU</a>'s parser
4483
+ (MIT, included unchanged in <code>py/forgeqe_tosca/vendor/toscatsu</code>). It follows folders, reusable blocks with their
4484
+ parameter layers, If and Loop, buffers, and SelfHealingData, and writes each test case as NTIR, a neutral JSON form
4485
+ with numbered steps (<code>.forgeqe/tosca/&lt;plan&gt;/read/</code>). The export is data: nothing in it is run, and its size is capped.</li>
4486
+ <li><strong>Secrets.</strong> Tosca-encrypted values cannot be decrypted outside the Tosca workspace, and ForgeQE never tries. They
4487
+ and configuration parameters (<code>{CP[…]}</code>) become environment variables; the plan and <code>.env.example</code> name each one and
4488
+ where it comes from in Tosca. Values never reach the agent, the plan or the code.</li>
4489
+ <li><strong>Plan.</strong> One page object per Tosca module and one test per web test case, named by the target's conventions and
4490
+ placed under the test case's Tosca folders (<code>tests/orders/cart/…</code>; Tosca's own <code>TestCases</code> and similar folders left
4491
+ out). Tosca's execution lists become suites: each test is tagged with the lists that run it (Playwright
4492
+ <code>{ tag: ['@smoke'] }</code>, <code>@pytest.mark.smoke</code>, JUnit <code>@Tag</code>, NUnit <code>[Category]</code>, <code>@smoke</code> in a Cypress or WebdriverIO
4493
+ title), and ForgeQE checks the tags are there. Test
4494
+ cases whose steps are desktop, SAP, API or mobile are left out for now, and named. A step ForgeQE cannot convert
4495
+ (an unknown ActionMode or token, a TBox module with no web equivalent) is a limit: it stays in the test as a marked
4496
+ comment for a person to finish.</li>
4497
+ <li><strong>Confirm.</strong> As for a migration: a person types the plan's id at a terminal; the confirmation is kept under
4498
+ ForgeQE's home by the plan's digest, and a run refuses a plan whose export changed since.</li>
4499
+ <li><strong>Run.</strong> The setup, then each page object, then each test, each in a fresh session of the Tosca agent, which may edit
4500
+ only the target folder. The agent marks each line that does a Tosca step with its id (<code>// tosca: n12</code>). ForgeQE's
4501
+ fidelity check needs every step and check marked (only the branch that runs of an If that is always true or false),
4502
+ no skipped test, and assertions where Tosca checked; then it runs the test with the target's own command. A failure
4503
+ goes back to the agent with the output, up to <code>code.max_attempts</code> times. At the end every converted test runs again
4504
+ with all files in place.</li>
4505
+ <li><strong>Check again.</strong> <code>forgeqe tosca verify &lt;plan&gt;</code> runs the converted tests again with no model: all of them, one
4506
+ Tosca execution list (<code>--suite</code>), or named tests (<code>--unit</code>). Each test's steps and tags are checked again, it is run
4507
+ with the target's own command, and its outcome and whole output are kept. <code>tosca-suites.json</code> in the target folder
4508
+ lists each suite with its tag and test files, and each test with its Tosca folders, suites and last outcome.</li>
4509
+ <li><strong>Report.</strong> <code>tosca.md</code> in <code>.forgeqe/tosca/&lt;plan&gt;/</code>: each test case's outcome and fidelity (steps marked of steps
4510
+ required), the steps a person has to finish, and the environment variables to set. Running the plan again keeps the
4511
+ files that are done and unchanged.</li>
4512
+ </ol>
4513
+ <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 Tosca page of <code>forgeqe web</code>
4514
+ (sidebar, Test) does the same in four steps (export, target, instructions, review): it lists the <code>.tsu</code> exports in
4515
+ the project, reads the one you pick and lets you choose its test cases, then follows the job: its stages, every file
4516
+ with how many of its Tosca steps the test does and its whole output (Fix sends one back to the Tosca agent with a note),
4517
+ Run tests again for all of them or Run for one suite, each test case's
4518
+ Tosca steps beside the converted code with a step's lines marked and the locators Tosca recorded, and the activity as it
4519
+ happens. In the shell, &quot;convert
4520
+ tosca/checkout.tsu to Playwright&quot; inspects the export and makes the plan; you confirm it yourself. The Tosca agent
4521
+ knows Tosca from its skill <code>tosca-knowledge</code> (ActionModes, value tokens, expressions, locators, and how each maps to
4522
+ every target).</p>
4523
+ </div>
4524
+ </section>
4525
+ </div>
4526
+ </article>
4458
4527
  <article class="spec feat" id="cap-find-run-tests">
4459
4528
  <div class="hd"><span class="mono">Automated tests</span><h3>Find and run existing tests</h3></div>
4460
4529
  <p class="ds">Finds the automated tests that match a feature, tags, ids, a folder, or a sprint, confirms the selection, and runs it once the user agrees, with a verdict per test.</p>