@capagents/forgeqe 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/HOW_TO_USE.md +435 -78
  2. package/README.md +21 -6
  3. package/THIRD_PARTY_NOTICES.md +210 -1
  4. package/dist/docs-site/CREDITS.md +6 -0
  5. package/dist/docs-site/architecture-map/index.html +1 -1
  6. package/dist/docs-site/docs/app-theme.css +100 -8
  7. package/dist/docs-site/docs/architecture/index.html +210 -214
  8. package/dist/docs-site/docs/area-api/index.html +350 -0
  9. package/dist/docs-site/docs/area-automated-tests/index.html +967 -0
  10. package/dist/docs-site/docs/area-browser/index.html +430 -0
  11. package/dist/docs-site/docs/area-data/index.html +605 -0
  12. package/dist/docs-site/docs/area-desktop/index.html +755 -0
  13. package/dist/docs-site/docs/area-mobile/index.html +631 -0
  14. package/dist/docs-site/docs/area-operations/index.html +1069 -0
  15. package/dist/docs-site/docs/area-pull-requests/index.html +208 -0
  16. package/dist/docs-site/docs/area-quality/index.html +365 -0
  17. package/dist/docs-site/docs/area-release/index.html +320 -0
  18. package/dist/docs-site/docs/area-setup/index.html +1192 -0
  19. package/dist/docs-site/docs/area-systems/index.html +207 -0
  20. package/dist/docs-site/docs/area-test-cases/index.html +694 -0
  21. package/dist/docs-site/docs/containers/index.html +97 -104
  22. package/dist/docs-site/docs/cost-architecture/index.html +108 -112
  23. package/dist/docs-site/docs/custom-agents-first-run/index.html +19 -23
  24. package/dist/docs-site/docs/desktop/index.html +172 -162
  25. package/dist/docs-site/docs/desktop-ci/index.html +26 -33
  26. package/dist/docs-site/docs/evidence/index.html +253 -257
  27. package/dist/docs-site/docs/feature-test-prompts/index.html +66 -70
  28. package/dist/docs-site/docs/get-started/index.html +495 -0
  29. package/dist/docs-site/docs/graphify/index.html +42 -46
  30. package/dist/docs-site/docs/guardrails/index.html +17 -21
  31. package/dist/docs-site/docs/index.html +17 -6729
  32. package/dist/docs-site/docs/mobile/index.html +155 -162
  33. package/dist/docs-site/docs/model-routing/index.html +44 -51
  34. package/dist/docs-site/docs/overview/index.html +176 -0
  35. package/dist/docs-site/docs/product-graph/index.html +52 -55
  36. package/dist/docs-site/docs/product-knowledge/index.html +11 -15
  37. package/dist/docs-site/docs/product-views/index.html +53 -57
  38. package/dist/docs-site/docs/reference/index.html +379 -0
  39. package/dist/docs-site/docs/search.js +1 -1
  40. package/dist/docs-site/docs/using/index.html +480 -0
  41. package/dist/docs-site/docs/web-app/index.html +147 -93
  42. package/dist/docs-site/security/index.html +930 -0
  43. package/dist/docs-site/security/security-theme.css +161 -0
  44. package/dist/docs-site/security/security.js +1465 -0
  45. package/dist/docs-site/vendor/react-18.3.1.production.min.js +31 -0
  46. package/dist/docs-site/vendor/react-dom-18.3.1.production.min.js +267 -0
  47. package/dist/docs-site/vendor/reactflow-11.11.4.umd.js +10 -0
  48. package/dist/forgeqe.js +1902 -1895
  49. package/dist/web/THIRD_PARTY_NOTICES.md +0 -136
  50. package/dist/web/assets/Agent-CPhmZdFX.js +8 -0
  51. package/dist/web/assets/AgentWork-BXdN9xgi.js +2 -0
  52. package/dist/web/assets/ApiTests-Do3xLjfB.js +10 -0
  53. package/dist/web/assets/Browse-WVkJT6Bs.js +2 -0
  54. package/dist/web/assets/Chat-CDc9UcQX.js +3 -0
  55. package/dist/web/assets/CommandPalette-BAZm62lV.js +1 -0
  56. package/dist/web/assets/Compare-Br6n9T9L.js +1 -0
  57. package/dist/web/assets/Cost-BBUyBu3Y.js +1 -0
  58. package/dist/web/assets/Data-Ch2DPEWp.js +6 -0
  59. package/dist/web/assets/Desktop-Qzoq-cQv.js +1 -0
  60. package/dist/web/assets/DesktopReview-CF_jQYAM.js +1 -0
  61. package/dist/web/assets/Evidence-C72Lj5_Q.js +1 -0
  62. package/dist/web/assets/Explore-ObkEpUyS.js +2 -0
  63. package/dist/web/assets/Features-CQzNo_WP.js +1 -0
  64. package/dist/web/assets/Flags-0-RniPJm.js +2 -0
  65. package/dist/web/assets/Flaky-BPJvNLCA.js +1 -0
  66. package/dist/web/assets/Impact-CfccsL_k.js +3 -0
  67. package/dist/web/assets/Jobs-T6m4zhDy.js +5 -0
  68. package/dist/web/assets/KindPage-BDUvWe2p.js +6 -0
  69. package/dist/web/assets/Migration-Dqeh4x5u.js +2 -0
  70. package/dist/web/assets/PageAgent-DNjzIgeY.js +1 -0
  71. package/dist/web/assets/Product-nYV_scOV.js +7 -0
  72. package/dist/web/assets/Production-CGSbEWVa.js +1 -0
  73. package/dist/web/assets/Quality-BIypojZm.js +1 -0
  74. package/dist/web/assets/Readiness-BlRjwJRg.js +1 -0
  75. package/dist/web/assets/Record-v2KLI-_Z.js +1 -0
  76. package/dist/web/assets/Regression-B-jSt4Jz.js +5 -0
  77. package/dist/web/assets/RelationGraph-8J98lOVG.js +1 -0
  78. package/dist/web/assets/Reports-GI4u6SyW.js +2 -0
  79. package/dist/web/assets/Response-mhBThq2b.js +9 -0
  80. package/dist/web/assets/Responsive-DXu7Ra7K.js +3 -0
  81. package/dist/web/assets/RunDiff-D0SHDNp0.js +1 -0
  82. package/dist/web/assets/Runs-C1Gjdi9M.js +2 -0
  83. package/dist/web/assets/Settings-BGGeuvyF.js +21 -0
  84. package/dist/web/assets/Steps-D-YG0eJy.js +2 -0
  85. package/dist/web/assets/TestCases-DC4w77eQ.js +1 -0
  86. package/dist/web/assets/TestData-CvKWRVVV.js +2 -0
  87. package/dist/web/assets/TestDebt-D8YzN29_.js +1 -0
  88. package/dist/web/assets/TestManagement-C5cDCqrD.js +1 -0
  89. package/dist/web/assets/Tosca-BGUv3RiJ.js +3 -0
  90. package/dist/web/assets/WhatsNew-B_Gyuv8O.js +1 -0
  91. package/dist/web/assets/agents-C0Jg2pN8.js +1 -0
  92. package/dist/web/assets/coverage-BMP6ELFJ.js +5 -0
  93. package/dist/web/assets/dataParts-DbeCj9ga.js +3 -0
  94. package/dist/web/assets/diff-BStuTmsN.js +2 -0
  95. package/dist/web/assets/families-BBFFrUlo.js +1 -0
  96. package/dist/web/assets/filters-CnAMr286.js +1 -0
  97. package/dist/web/assets/fold-D_O_VZui.js +1 -0
  98. package/dist/web/assets/head-CRo48rPt.js +1 -0
  99. package/dist/web/assets/highlight-BcFZIf59.js +4 -0
  100. package/dist/web/assets/index-B3JsM7tv.js +64 -0
  101. package/dist/web/assets/index-CafApcbZ.css +2 -0
  102. package/dist/web/assets/input-CtzK50ZF.js +1 -0
  103. package/dist/web/assets/jsx-runtime-LKYXHABd.js +1 -0
  104. package/dist/web/assets/line-icons-rdF8DYDJ.js +1 -0
  105. package/dist/web/assets/logos-D4oVWzqa.js +1 -0
  106. package/dist/web/assets/palette-DAaGSao7.js +1 -0
  107. package/dist/web/assets/paletteCommands-Co-RlQ8q.js +1 -0
  108. package/dist/web/assets/parts-D357Wolo.js +1 -0
  109. package/dist/web/assets/productParts-B8oHRCJF.js +1 -0
  110. package/dist/web/assets/qualityParts-BLkmIfDY.js +1 -0
  111. package/dist/web/assets/recordTest-Cez2sDJO.js +1 -0
  112. package/dist/web/assets/rolldown-runtime-XKyaHtl9.js +1 -0
  113. package/dist/web/assets/route-BloYJWgw.js +1 -0
  114. package/dist/web/index.html +12 -6
  115. package/docs/ARCHITECTURE.md +1 -1
  116. package/docs/BASAL.md +1 -1
  117. package/docs/DESKTOP.md +20 -1
  118. package/docs/EVIDENCE.md +1 -1
  119. package/docs/MOBILE.md +4 -4
  120. package/docs/PRODUCT_KNOWLEDGE.md +2 -0
  121. package/docs/WEB_APP.md +114 -51
  122. package/docs/user-guide.html +404 -81
  123. package/forgeqe.example.yaml +3 -3
  124. package/package.json +1 -1
  125. package/prompts/page-differs.md +1 -1
  126. package/prompts/requests-rule.md +1 -1
  127. package/prompts/test-reviewer.md +1 -1
  128. package/prompts/test-rules.md +3 -4
  129. package/skills/web-guidance/LICENSE +202 -0
  130. package/skills/web-guidance/SKILL.md +76 -0
  131. package/skills/web-guidance/UPSTREAM +67 -0
  132. package/skills/web-guidance/references/accessibility/accessibility.md +585 -0
  133. package/skills/web-guidance/references/accessibility/accessible-error-announcement.md +302 -0
  134. package/skills/web-guidance/references/accessibility/accessible-generated-content.md +41 -0
  135. package/skills/web-guidance/references/accessibility/respect-os-text-scale.md +127 -0
  136. package/skills/web-guidance/references/css/responsive-design.md +16 -0
  137. package/skills/web-guidance/references/forms/autofill-address-form.md +86 -0
  138. package/skills/web-guidance/references/forms/autofill-payment-form.md +142 -0
  139. package/skills/web-guidance/references/forms/autofill-sign-in-form.md +145 -0
  140. package/skills/web-guidance/references/forms/autofill-sign-up-form.md +155 -0
  141. package/skills/web-guidance/references/forms/forms.md +415 -0
  142. package/skills/web-guidance/references/forms/ime-safe-enter-submit.md +115 -0
  143. package/skills/web-guidance/references/forms/required-field-feedback.md +317 -0
  144. package/skills/web-guidance/references/forms/select-menu-interaction.md +310 -0
  145. package/skills/web-guidance/references/forms/slider.md +184 -0
  146. package/skills/web-guidance/references/forms/sms-otp-form.md +208 -0
  147. package/skills/web-guidance/references/forms/switch.md +60 -0
  148. package/skills/web-guidance/references/forms/validate-input-after-interaction.md +406 -0
  149. package/skills/web-guidance/references/performance/break-up-long-tasks.md +64 -0
  150. package/skills/web-guidance/references/performance/identify-heavy-scripts.md +69 -0
  151. package/skills/web-guidance/references/performance/identify-inp-causes.md +105 -0
  152. package/skills/web-guidance/references/performance/interaction-paint-timing.md +200 -0
  153. package/skills/web-guidance/references/performance/optimize-image-priority.md +73 -0
  154. package/skills/web-guidance/references/performance/performance.md +384 -0
  155. package/skills/web-guidance/references/privacy/privacy.md +247 -0
  156. package/skills/web-guidance/references/security/passkey-authentication.md +218 -0
  157. package/skills/web-guidance/references/security/passkey-management.md +310 -0
  158. package/skills/web-guidance/references/security/passkey-reauthentication.md +142 -0
  159. package/skills/web-guidance/references/security/passkey-registration.md +186 -0
  160. package/skills/web-guidance/references/security/passkeys.md +39 -0
  161. package/skills/web-guidance/references/security/sanitize-untrusted-html.md +105 -0
  162. package/skills/web-guidance/references/security/secure-external-subresources.md +202 -0
  163. package/skills/web-guidance/references/security/security.md +390 -0
  164. package/skills/web-guidance/references/security/trusted-types.md +141 -0
  165. package/skills/web-guidance/references/security/validate-origins.md +197 -0
  166. package/skills/web-guidance/references/security/verify-email-ownership.md +235 -0
  167. package/skills/web-guidance/references/ui-atoms/position-aware-tooltips.md +173 -0
  168. package/skills/web-guidance/references/ui-atoms/responsive-table.md +122 -0
  169. package/skills/web-guidance/references/ui-atoms/viewport-aware-dropdowns.md +178 -0
  170. package/skills/web-guidance/references/ui-behaviors/drag-and-drop.md +108 -0
  171. package/skills/web-guidance/references/ui-behaviors/light-dismiss-a-dialog.md +89 -0
  172. package/skills/web-guidance/references/ui-behaviors/motion.md +97 -0
  173. package/skills/web-guidance/references/ui-behaviors/platform-controls-dismiss-dialog.md +40 -0
  174. package/skills/web-guidance/references/ui-behaviors/prevent-page-scroll-under-modal-dialog.md +59 -0
  175. package/skills/web-guidance/references/ui-behaviors/search-hidden-content.md +141 -0
  176. package/skills/web-guidance/references/ui-behaviors/sortable-table.md +140 -0
  177. package/skills/web-guidance/references/ui-components/accordion.md +343 -0
  178. package/skills/web-guidance/references/ui-components/breadcrumbs.md +168 -0
  179. package/skills/web-guidance/references/ui-components/carousel.md +206 -0
  180. package/skills/web-guidance/references/ui-components/checkbox.md +144 -0
  181. package/skills/web-guidance/references/ui-components/dialog.md +218 -0
  182. package/skills/web-guidance/references/ui-components/hovercard.md +391 -0
  183. package/skills/web-guidance/references/ui-components/menu.md +415 -0
  184. package/skills/web-guidance/references/ui-components/navbar.md +281 -0
  185. package/skills/web-guidance/references/ui-components/navigation-drawer.md +429 -0
  186. package/skills/web-guidance/references/ui-components/persistent-toast-notifications.md +185 -0
  187. package/skills/web-guidance/references/ui-components/progress.md +181 -0
  188. package/skills/web-guidance/references/ui-components/spinner.md +179 -0
  189. package/skills/web-guidance/references/ui-components/tabs.md +371 -0
  190. package/skills/web-guidance/references/ui-components/toolbar.md +277 -0
  191. package/skills/web-guidance/references/user-experience/form-factor-adaptation.md +120 -0
  192. package/skills/web-guidance/references/user-experience/natural-interactions.md +155 -0
  193. package/skills/web-guidance/references/visual-design/color.md +43 -0
  194. package/skills/web-guidance/references/visual-design/dark-mode.md +350 -0
  195. package/dist/web/assets/AgentWork-DwAI0_Of.js +0 -2
  196. package/dist/web/assets/ApiTests-C0vFSHmM.js +0 -10
  197. package/dist/web/assets/Browse-5jfdtRc5.js +0 -2
  198. package/dist/web/assets/Chat-B3uhI94O.js +0 -3
  199. package/dist/web/assets/CommandPalette-D2J4nf5y.js +0 -1
  200. package/dist/web/assets/Compare-CN75w1p9.js +0 -1
  201. package/dist/web/assets/Cost-QoxyjR95.js +0 -1
  202. package/dist/web/assets/Data-BAvkcBVt.js +0 -6
  203. package/dist/web/assets/Desktop-BXdOIalN.js +0 -1
  204. package/dist/web/assets/DesktopReview-Bl2SrPP0.js +0 -1
  205. package/dist/web/assets/Evidence-BJ_I52CD.js +0 -1
  206. package/dist/web/assets/Explore-D9AuyTip.js +0 -2
  207. package/dist/web/assets/Features-CusGMDR9.js +0 -1
  208. package/dist/web/assets/Flags-CycGFuUP.js +0 -2
  209. package/dist/web/assets/Flaky-BcSzJogN.js +0 -1
  210. package/dist/web/assets/Impact-CJHnyZ21.js +0 -3
  211. package/dist/web/assets/Jobs-4xcFzEFo.js +0 -5
  212. package/dist/web/assets/KindPage-BielEIej.js +0 -6
  213. package/dist/web/assets/Migration-NwanKpJg.js +0 -2
  214. package/dist/web/assets/PageAgent-CNw4NXva.js +0 -1
  215. package/dist/web/assets/Product-DS3LJZ4P.js +0 -7
  216. package/dist/web/assets/Production-D3zsyNIS.js +0 -1
  217. package/dist/web/assets/Quality-Ctj2YpC4.js +0 -1
  218. package/dist/web/assets/Readiness-DGcRr_co.js +0 -1
  219. package/dist/web/assets/Record-Cc-wGe_Y.js +0 -1
  220. package/dist/web/assets/Regression-DcsbrRa1.js +0 -5
  221. package/dist/web/assets/Reports-BkCn0-Sf.js +0 -2
  222. package/dist/web/assets/Response-BP0UwQcW.js +0 -9
  223. package/dist/web/assets/Responsive-C8U7dumd.js +0 -3
  224. package/dist/web/assets/RunDiff-BhABuhF_.js +0 -1
  225. package/dist/web/assets/Runs-OwdWEYBv.js +0 -2
  226. package/dist/web/assets/Steps-BvzbQyoD.js +0 -2
  227. package/dist/web/assets/TestCases-CLq_6JA5.js +0 -1
  228. package/dist/web/assets/TestData-B0oKAhp6.js +0 -2
  229. package/dist/web/assets/TestDebt-8NLQ5YV_.js +0 -1
  230. package/dist/web/assets/TestManagement-2LYQ7vsN.js +0 -1
  231. package/dist/web/assets/Tosca-DfvMpPTG.js +0 -3
  232. package/dist/web/assets/WhatsNew-BGFNGwqN.js +0 -1
  233. package/dist/web/assets/families-DYlN5v0i.js +0 -1
  234. package/dist/web/assets/filters-faaSnoIq.js +0 -1
  235. package/dist/web/assets/fold-CUjwWAK3.js +0 -1
  236. package/dist/web/assets/frame-BLPdAXUq.js +0 -13
  237. package/dist/web/assets/head-CsTxBsO0.js +0 -1
  238. package/dist/web/assets/index-CxiCvGZq.js +0 -78
  239. package/dist/web/assets/index-dOIsrzhD.css +0 -2
  240. package/dist/web/assets/line-icons-CwZWt93L.js +0 -1
  241. package/dist/web/assets/logos-dGuc1jIM.js +0 -1
  242. package/dist/web/assets/markdown-BI3F-SJ1.js +0 -10
  243. package/dist/web/assets/paletteCommands-QJiCuUEr.js +0 -1
  244. package/dist/web/assets/parts-CdF1f7yS.js +0 -1
  245. package/dist/web/assets/productParts-hNLD9fN0.js +0 -1
  246. package/dist/web/assets/qualityParts-CT25lBWU.js +0 -1
  247. package/dist/web/assets/recordTest-P792aBUt.js +0 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@ forgeqe setup # optional: the first live run does this too
20
20
 
21
21
  Everything else is downloaded on first use into `~/.forgeqe/tools` (`%USERPROFILE%\.forgeqe\tools` on Windows), checksum verified, without admin rights and without touching PATH or shell profiles:
22
22
 
23
- - **Bun** (the CLI and the OpenTUI shell run on it). A Bun 1.3+ already on PATH or in `~/.bun/bin` is used instead. `FORGEQE_BUN` points at a specific one.
23
+ - **Bun** (the CLI and the OpenTUI shell run on it). npm installs it with ForgeQE through your npm registry; with pip, or when npm skipped it, it is downloaded here. A Bun 1.3+ already on PATH or in `~/.bun/bin` is used instead. `FORGEQE_BUN` points at a specific one.
24
24
  - **The agent runtime** that ForgeQE's agent and Quill, the coding agent, run on, at the version ForgeQE is tested with. `code.runtime` points at a specific binary.
25
25
  - **uv**, which then fetches **Python** for the engine. A uv already installed is used instead; when uv cannot be downloaded, a Python 3.11+ on PATH (or the Windows `py` launcher) is the fallback.
26
26
  - **The ForgeQE engine** and its Python libraries in `~/.forgeqe/engine/.venv`. Installed Google Chrome is used, or Chromium is installed when Chrome is missing. `FORGEQE_PYTHON` points at an existing Python that already has the engine's libraries; when that Python cannot run the engine (missing, too old, or without them), ForgeQE says so and uses its own environment. A broken environment is rebuilt on the next run.
@@ -58,6 +58,7 @@ ForgeQE sends no telemetry and turns it off in everything it starts:
58
58
  |------|---------|
59
59
  | `forgeqe.yaml` | Browser, prompts, export, active profile |
60
60
  | `llms.json` | Named LLM profiles (azure, openai, ollama, openai_compatible, github_copilot) |
61
+ | `env.yaml` | Your test environments and the apps in each (`forgeqe apps` lists them) |
61
62
  | `.forgeqe/prompts/` | Every agent prompt as a markdown file, to change how an agent works (`forgeqe prompts` lists them) |
62
63
  | `.forgeqe/skills/` | The built-in skills, to adapt; add your own beside them |
63
64
  | `.forgeqe/knowledge/` | Product knowledge templates: product, roles, glossary, business rules, test data, environments |
@@ -85,7 +86,7 @@ The active profile is `llm.active` in `forgeqe.yaml`, else `default` in `llms.js
85
86
 
86
87
  **Model router.** With more than one model in `llms.json`, `llm.routing: auto` gives each area of work (ForgeQE's agent, browser runs, coding, review, analysis, planning) the cheapest configured model that is good enough for it. ForgeQE checks each model once and rates it, and keeps the result in `.forgeqe/model-profile.json`. `forgeqe models --routes` shows the model each area gets, and why. `--profile` and `code.model` still win. See [docs/MODEL_ROUTING.md](docs/MODEL_ROUTING.md).
87
88
 
88
- **GitHub Copilot.** With Copilot licences, a `github_copilot` profile runs the browser engine and the desktop and mobile agents on the Copilot seat through GitHub's Copilot SDK, behind a gateway on `127.0.0.1`. It signs in with a GitHub token (`forgeqe auth login copilot`: a fine-grained token with the Copilot Requests permission, or the GitHub CLI's sign-in), so no third-party app is authorized on the account. ForgeQE's agent and Quill do not run on Copilot yet. See HOW_TO_USE.md, *GitHub Copilot seats as the model*.
89
+ **GitHub Copilot.** With Copilot licences, a `github_copilot` profile runs the browser engine and the desktop and mobile agents on the Copilot seat through GitHub's Copilot SDK, behind a gateway on `127.0.0.1`. It signs in with `forgeqe auth login copilot` (GitHub's Copilot sign-in in the browser, or a fine-grained token with the Copilot Requests permission), so no third-party app is authorized on the account. ForgeQE's agent and Quill run on it too, with `model`; the engines use `engine_model` when it is set. See HOW_TO_USE.md, *GitHub Copilot seats as the model*.
89
90
 
90
91
  ## CLI
91
92
 
@@ -105,7 +106,7 @@ There are no commands to pick a source or a mode. ForgeQE's agent reads the requ
105
106
 
106
107
  **Tools per turn.** ForgeQE's agent does not carry every tool on every turn. Each turn gets the core (help, setup, the environments) and the capabilities the request is about, picked from its words, the apps it names and its links, plus those used in the last few turns. When it needs another, it calls `use_capabilities` and carries on with the same request. Fewer tools mean a smaller prompt and no mix-ups between similar ones (`browser_run`, `desktop_explore`, `mobile_explore`). `agent.capabilities.always` and `off` in `forgeqe.yaml` pin or remove capabilities, and `FORGEQE_TOOL_SCOPE=off` gives every tool. See [HOW_TO_USE.md](HOW_TO_USE.md#which-tools-forgeqes-agent-gets).
107
108
 
108
- Inside the shell, type the request and press Enter (Ctrl+J starts a new line). The only commands are for the session: `/stop`, `/rerun`, `/headed`, `/details`, `/model`, `/profile`, `/env`, `/logs`, `/features`, `/generated`, `/init`, `/skills`, `/db`, `/report`, `/auth`, `/clear`, `/help`, `/exit` (`/help` says what each does). Clicking the model ▾ in the status line opens the model picker, as `/model` and Tab do. Everything the other commands do can be asked for in the shell too, since each one is a tool the agent calls: "heal the checkout tests", "check the smoke cases once", "monitor them every 10 minutes", "sign in to shop", "forget the shop session", "which profiles do I have?". While the agents work, the shell shows each step's result, the files the coding agent writes, test results, and problems, with what is happening now on the activity line; `/details on` (or `--verbose`) adds the browser agent's reasoning, page memory, engine logs, and every file the coding agent reads. Results appear as cards in the transcript, and when a step needs you (signing in by hand), a **Your turn** prompt waits until you pick **Done, continue** or **Cancel**.
109
+ Inside the shell, type the request and press Enter (Ctrl+J starts a new line). The only commands are for the session: `/stop`, `/rerun`, `/record`, `/paste`, `/headed`, `/theme`, `/details`, `/model`, `/profile`, `/env`, `/logs`, `/features`, `/runs`, `/reports`, `/jobs`, `/knowledge`, `/memory`, `/guardrails`, `/doctor`, `/settings`, `/home`, `/docs`, `/generated`, `/init`, `/skills`, `/db`, `/report`, `/auth`, `/clear`, `/help`, `/exit` (`/help` says what each does). Clicking the model ▾ in the status line opens the model picker, as `/model` and Tab do. Everything the other commands do can be asked for in the shell too, since each one is a tool the agent calls: "heal the checkout tests", "check the smoke cases once", "monitor them every 10 minutes", "sign in to shop", "forget the shop session", "which profiles do I have?". While the agents work, the shell shows each step's result, the files the coding agent writes, test results, and problems, with what is happening now on the activity line; `/details on` (or `--verbose`) adds the browser agent's reasoning, page memory, engine logs, and every file the coding agent reads. Results appear as cards in the transcript, and when a step needs you (signing in by hand), a **Your turn** prompt waits until you pick **Done, continue** or **Cancel**.
109
110
 
110
111
  ForgeQE's agent needs the agent runtime (downloaded automatically, see Install) and a live profile. It uses the active `llms.json` profile, or the model the router picks for its area when `llm.routing` is `auto`; `--profile` and `code.model: provider/model` still win. Without the agent runtime, the request runs as one browser goal.
111
112
 
@@ -121,6 +122,20 @@ ForgeQE's agent needs the agent runtime (downloaded automatically, see Install)
121
122
 
122
123
  `forgeqe --help` lists every command, among them `forgeqe db`, `forgeqe data` and `forgeqe flows` (see [Databases, test data, and data flows](#databases-test-data-and-data-flows)) and `forgeqe generated`, which says how much of the code ForgeQE wrote and how much is still there (`--json` for a pipeline).
123
124
 
125
+ ## More in the guide
126
+
127
+ - **The web app** (`forgeqe web`): the shell in your browser, a page for each kind of work, and every setting as a form. See [HOW_TO_USE.md](HOW_TO_USE.md#the-web-app).
128
+ - **Recording a web test by hand** (`forgeqe record`): you do the steps, ForgeQE keeps them with your checks, and Quill writes the test.
129
+ - **Regression packs** (`forgeqe pack`): the tests a release's changes can break, run here, on TestMu AI or in a pipeline, with each failure triaged.
130
+ - **Test management**: every case of your test plans in one place, with the repository's tests linked, gaps, tags and suites (`forgeqe testmgmt sync`).
131
+ - **Migrating a test suite** (`forgeqe migrate`) and **converting Tosca tests** (`forgeqe tosca`), after a plan a person confirms.
132
+ - **BASAL** (`forgeqe basal`): business tests from a business question, played by ForgeQE's agents as the people it affects.
133
+ - **Responsive preview**: one page on many phones, tablets and desktops at once, here or on BrowserStack or TestMu AI.
134
+ - **Custom agents** (`forgeqe agent`): the team's own agents, each run as an approved version.
135
+ - **Evidence** (`forgeqe evidence`): what an AI agent did, decided and used, checked against its contract.
136
+ - **The jobs service** (`forgeqe jobs`): commands on a schedule, apart from the shell.
137
+ - **Product knowledge graph** (`forgeqe knowledge build`): what the product's code does, for every agent.
138
+
124
139
  ## Page memory
125
140
 
126
141
  Every live run records each page it visits in `.forgeqe/memory` next to `forgeqe.yaml` (`~/.forgeqe/memory` when there is no config file): every interactive element, with all of its locators (test id, id, role and name, label, placeholder, alt, title, href, text, CSS, XPath), a confidence % for each, and when it was first seen, last seen, and last used. Confidence rises when a locator keeps matching exactly one element and works when used, and falls when it goes missing or fails.
@@ -141,7 +156,7 @@ A new goal on a site ForgeQE knows replays the start it shares with an earlier g
141
156
 
142
157
  ## Skills
143
158
 
144
- Skills teach the agents what a prompt can't know: your repo's test conventions, a framework, or how to drive an app. A skill is a folder with a `SKILL.md` (the Agent Skills format: `name`, `description`, then instructions), plus ForgeQE's `agents: [forgeqe, scribe, browser]` to say who uses it. ForgeQE ships `playwright-automation` (Playwright in TypeScript, Python, Java and .NET, with a per-language reference file each), `bdd-gherkin` (Reqnroll, SpecFlow, Cucumber, behave and pytest-bdd: Gherkin, step reuse and page objects behind steps) and `testcontainers` for Quill, `bdd-scenario-design` for ForgeQE's agent (it asks whether you want a Scenario Outline with Examples, a Background or Rule blocks before a feature file is written), `azure-sdk-testing`, `aws-sdk-testing` and `gcp-sdk-testing` for Quill and ForgeQE's agent (code that uses a cloud SDK: emulators first, the default credential chain, cleanup of only what a test made), `dynamics-365` for the browser agent (D365's own names for its controls: Quick Find, lookups and Advanced lookup, the command bar's More commands, Quick Create, the header flyout, business process flows), `dynamics-365-automation` for Quill (a catalogue of D365 controls and their stable locators from Microsoft's EasyRepro, steps for each control, page objects, waiting for the app to be idle, and EasyRepro's API), and `writing-skills` for ForgeQE's agent. Your own go in `.forgeqe/skills` next to `forgeqe.yaml` (commit them) or `~/.forgeqe/skills`; a project skill replaces a built-in one with the same name. Skills in `~/.claude/skills` and `~/.agents/skills` are used only with `skills.external: true`.
159
+ Skills teach the agents what a prompt can't know: your repo's test conventions, a framework, or how to drive an app. A skill is a folder with a `SKILL.md` (the Agent Skills format: `name`, `description`, then instructions), plus ForgeQE's `agents: [forgeqe, scribe, browser]` to say who uses it. ForgeQE ships `playwright-automation` (Playwright in TypeScript, Python, Java and .NET, with a per-language reference file each), `bdd-gherkin` (Reqnroll, SpecFlow, Cucumber, behave and pytest-bdd: Gherkin, step reuse and page objects behind steps) and `testcontainers` for Quill, `bdd-scenario-design` for ForgeQE's agent (it asks whether you want a Scenario Outline with Examples, a Background or Rule blocks before a feature file is written), `azure-sdk-testing`, `aws-sdk-testing` and `gcp-sdk-testing` for Quill and ForgeQE's agent (code that uses a cloud SDK: emulators first, the default credential chain, cleanup of only what a test made), `dynamics-365` for the browser agent (D365's own names for its controls: Quick Find, lookups and Advanced lookup, the command bar's More commands, Quick Create, the header flyout, business process flows), `dynamics-365-automation` for Quill (a catalogue of D365 controls and their stable locators from Microsoft's EasyRepro, steps for each control, page objects, waiting for the app to be idle, and EasyRepro's API), `web-guidance` for ForgeQE's agent and Quill (web platform guides from Modern Web Guidance, pinned: what forms, dialogs, menus, accessibility, passkeys and interaction speed should do, turned into advisory test cases and review comments), and `writing-skills` for ForgeQE's agent. Your own go in `.forgeqe/skills` next to `forgeqe.yaml` (commit them) or `~/.forgeqe/skills`; a project skill replaces a built-in one with the same name. Skills in `~/.claude/skills` and `~/.agents/skills` are used only with `skills.external: true`.
145
160
 
146
161
  Each agent sees the skills meant for it and loads the ones whose description fits the job. For browser runs, ForgeQE's agent passes the skills a goal needs; in `forgeqe suite`, `monitor` and `run --direct` the engine picks them from the goal once, and `--skill NAME` (or `--skill none`) fixes the list. Reports and `run.json` show which skills a run used.
147
162
 
@@ -231,7 +246,7 @@ See [docs/DESKTOP.md](docs/DESKTOP.md) and [docs/DESKTOP-CI.md](docs/DESKTOP-CI.
231
246
 
232
247
  ### Mobile apps (Android, iOS)
233
248
 
234
- One workflow format (`forgeqe-mobile-v1`) runs on **Appium** (explore with the model, replay step by step, healing, visual checks) and on **Maestro** (the workflow becomes a Maestro flow). Your team's own Maestro flows run too, after an allowlist check that refuses scripts, AI commands and file access. Both run on a local emulator or device, or on TestMu AI's devices: `forgeqe mobile upload app.apk` uploads a build and returns its `lt://` id, and Maestro runs there through HyperExecute. Or ask in the shell ("upload courier.apk to TestMu for courier"): the `mobile_upload` tool asks you first, then, for an app listed under `mobile.apps` in `forgeqe.yaml`, writes the `lt://` id to its `app:`. `samples/mobile-testmu/` is a ready project that reads `LT_USERNAME` and `LT_ACCESS_KEY` from a `.env` file.
249
+ Record a workflow by hand on the web app's Record page (**Mobile app**): the device's screen on the page, each tap, entry and check done on the device and kept as a step, with no model. One workflow format (`forgeqe-mobile-v1`) runs on **Appium** (explore with the model, replay step by step, healing, visual checks) and on **Maestro** (the workflow becomes a Maestro flow). Your team's own Maestro flows run too, after an allowlist check that refuses scripts, AI commands and file access. Both run on a local emulator or device, or on TestMu AI's devices: `forgeqe mobile upload app.apk` uploads a build and returns its `lt://` id, and Maestro runs there through HyperExecute. Or ask in the shell ("upload courier.apk to TestMu for courier"): the `mobile_upload` tool asks you first, then, for an app listed under `mobile.apps` in `forgeqe.yaml`, writes the `lt://` id to its `app:`. `samples/mobile-testmu/` is a ready project that reads `LT_USERNAME` and `LT_ACCESS_KEY` from a `.env` file.
235
250
 
236
251
  ```bash
237
252
  forgeqe mobile explore "Sign in as the courier and accept the first delivery" --app courier
@@ -259,7 +274,7 @@ List your databases under `databases:` in `forgeqe.yaml`, or under an environmen
259
274
 
260
275
  Test data comes from a spec that fits the schema: a preview, CSV, JSON or SQL files, or rows inserted into a writable database as a batch that `forgeqe data clean` removes again. Before they run, the agents ask Miner for the data they need (`request_test_data`): it returns the rows, found by a read-only query or made from a spec, and the SQL or INSERT script that gets them again (`forgeqe data fetch <name>`). Data flows (`flows.yaml`) describe how records move between databases; ForgeQE checks each hop (arrived, complete, correct, on time) and follows one record across the systems.
261
276
 
262
- A test can also run once for each row of its test data (data-driven): `each:` on a test case, or `forgeqe suite --each`, takes the rows from a CSV, TSV, Excel or JSON file in the project, a read-only query, a kept Miner request or a spec. Each row is a run of its own (`LOGIN-3[2]`) with its values as `{{row.<column>}}`, and the test written for it is one parameterised test that reads every row from `FORGEQE_ROWS_FILE`. A recording's Try it plays with each row too. See [HOW_TO_USE.md](HOW_TO_USE.md#running-a-test-once-for-each-row).
277
+ A test can also run once for each row of its test data (data-driven): `each:` on a test case, or `forgeqe suite --each`, takes the rows from a CSV, TSV, Excel or JSON file in the project, a read-only query, a kept Miner request or a spec. Each row is a run of its own (`LOGIN-3[2]`) with its values as `{{row.<column>}}`, and the test written for it is one parameterised test that reads every row from `FORGEQE_ROWS_FILE`. A recording's Re-run plays with each row too. See [HOW_TO_USE.md](HOW_TO_USE.md#running-a-test-once-for-each-row).
263
278
 
264
279
  ```bash
265
280
  forgeqe db test orders
@@ -84,11 +84,12 @@ ForgeQE downloads these onto the machine it runs on, from their own sources, whe
84
84
  | 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 |
85
85
  | 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 |
86
86
 
87
- ## Source code included unchanged
87
+ ## Source code and text included
88
88
 
89
89
  | Software | What for | Licence | Source |
90
90
  |----------|----------|---------|--------|
91
91
  | ToscaTSU | Bridge's .tsu reader (parse_tsu.py, gen_tsu.py, spec_to_manifest.py) | MIT | https://github.com/bermudas/ToscaTSU (commit 338f4dd062f0) |
92
+ | Modern Web Guidance | the web-guidance skill's guides (skills/web-guidance/references; each cross-reference to its npx command made a path in the skill or dropped, scripts/sync-web-guidance.ts) | Apache-2.0 | https://github.com/GoogleChrome/modern-web-guidance (commit 64a6d708f5a4) |
92
93
 
93
94
  ## Licence texts
94
95
 
@@ -125,6 +126,214 @@ Tricentis Tosca is a trademark of Tricentis GmbH. This project is independent
125
126
  and not affiliated with, endorsed by, or sponsored by Tricentis.
126
127
  ```
127
128
 
129
+ ### Modern Web Guidance (commit 64a6d708f5a4)
130
+
131
+ Apache-2.0. https://github.com/GoogleChrome/modern-web-guidance
132
+
133
+ ```text
134
+ Apache License
135
+ Version 2.0, January 2004
136
+ http://www.apache.org/licenses/
137
+
138
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
139
+
140
+ 1. Definitions.
141
+
142
+ "License" shall mean the terms and conditions for use, reproduction,
143
+ and distribution as defined by Sections 1 through 9 of this document.
144
+
145
+ "Licensor" shall mean the copyright owner or entity authorized by
146
+ the copyright owner that is granting the License.
147
+
148
+ "Legal Entity" shall mean the union of the acting entity and all
149
+ other entities that control, are controlled by, or are under common
150
+ control with that entity. For the purposes of this definition,
151
+ "control" means (i) the power, direct or indirect, to cause the
152
+ direction or management of such entity, whether by contract or
153
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
154
+ outstanding shares, or (iii) beneficial ownership of such entity.
155
+
156
+ "You" (or "Your") shall mean an individual or Legal Entity
157
+ exercising permissions granted by this License.
158
+
159
+ "Source" form shall mean the preferred form for making modifications,
160
+ including but not limited to software source code, documentation
161
+ source, and configuration files.
162
+
163
+ "Object" form shall mean any form resulting from mechanical
164
+ transformation or translation of a Source form, including but
165
+ not limited to compiled object code, generated documentation,
166
+ and conversions to other media types.
167
+
168
+ "Work" shall mean the work of authorship, whether in Source or
169
+ Object form, made available under the License, as indicated by a
170
+ copyright notice that is included in or attached to the work
171
+ (an example is provided in the Appendix below).
172
+
173
+ "Derivative Works" shall mean any work, whether in Source or Object
174
+ form, that is based on (or derived from) the Work and for which the
175
+ editorial revisions, annotations, elaborations, or other modifications
176
+ represent, as a whole, an original work of authorship. For the purposes
177
+ of this License, Derivative Works shall not include works that remain
178
+ separable from, or merely link (or bind by name) to the interfaces of,
179
+ the Work and Derivative Works thereof.
180
+
181
+ "Contribution" shall mean any work of authorship, including
182
+ the original version of the Work and any modifications or additions
183
+ to that Work or Derivative Works thereof, that is intentionally
184
+ submitted to Licensor for inclusion in the Work by the copyright owner
185
+ or by an individual or Legal Entity authorized to submit on behalf of
186
+ the copyright owner. For the purposes of this definition, "submitted"
187
+ means any form of electronic, verbal, or written communication sent
188
+ to the Licensor or its representatives, including but not limited to
189
+ communication on electronic mailing lists, source code control systems,
190
+ and issue tracking systems that are managed by, or on behalf of, the
191
+ Licensor for the purpose of discussing and improving the Work, but
192
+ excluding communication that is conspicuously marked or otherwise
193
+ designated in writing by the copyright owner as "Not a Contribution."
194
+
195
+ "Contributor" shall mean Licensor and any individual or Legal Entity
196
+ on behalf of whom a Contribution has been received by Licensor and
197
+ subsequently incorporated within the Work.
198
+
199
+ 2. Grant of Copyright License. Subject to the terms and conditions of
200
+ this License, each Contributor hereby grants to You a perpetual,
201
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
202
+ copyright license to reproduce, prepare Derivative Works of,
203
+ publicly display, publicly perform, sublicense, and distribute the
204
+ Work and such Derivative Works in Source or Object form.
205
+
206
+ 3. Grant of Patent License. Subject to the terms and conditions of
207
+ this License, each Contributor hereby grants to You a perpetual,
208
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
209
+ (except as stated in this section) patent license to make, have made,
210
+ use, offer to sell, sell, import, and otherwise transfer the Work,
211
+ where such license applies only to those patent claims licensable
212
+ by such Contributor that are necessarily infringed by their
213
+ Contribution(s) alone or by combination of their Contribution(s)
214
+ with the Work to which such Contribution(s) was submitted. If You
215
+ institute patent litigation against any entity (including a
216
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
217
+ or a Contribution incorporated within the Work constitutes direct
218
+ or contributory patent infringement, then any patent licenses
219
+ granted to You under this License for that Work shall terminate
220
+ as of the date such litigation is filed.
221
+
222
+ 4. Redistribution. You may reproduce and distribute copies of the
223
+ Work or Derivative Works thereof in any medium, with or without
224
+ modifications, and in Source or Object form, provided that You
225
+ meet the following conditions:
226
+
227
+ (a) You must give any other recipients of the Work or
228
+ Derivative Works a copy of this License; and
229
+
230
+ (b) You must cause any modified files to carry prominent notices
231
+ stating that You changed the files; and
232
+
233
+ (c) You must retain, in the Source form of any Derivative Works
234
+ that You distribute, all copyright, patent, trademark, and
235
+ attribution notices from the Source form of the Work,
236
+ excluding those notices that do not pertain to any part of
237
+ the Derivative Works; and
238
+
239
+ (d) If the Work includes a "NOTICE" text file as part of its
240
+ distribution, then any Derivative Works that You distribute must
241
+ include a readable copy of the attribution notices contained
242
+ within such NOTICE file, excluding those notices that do not
243
+ pertain to any part of the Derivative Works, in at least one
244
+ of the following places: within a NOTICE text file distributed
245
+ as part of the Derivative Works; within the Source form or
246
+ documentation, if provided along with the Derivative Works; or,
247
+ within a display generated by the Derivative Works, if and
248
+ wherever such third-party notices normally appear. The contents
249
+ of the NOTICE file are for informational purposes only and
250
+ do not modify the License. You may add Your own attribution
251
+ notices within Derivative Works that You distribute, alongside
252
+ or as an addendum to the NOTICE text from the Work, provided
253
+ that such additional attribution notices cannot be construed
254
+ as modifying the License.
255
+
256
+ You may add Your own copyright statement to Your modifications and
257
+ may provide additional or different license terms and conditions
258
+ for use, reproduction, or distribution of Your modifications, or
259
+ for any such Derivative Works as a whole, provided Your use,
260
+ reproduction, and distribution of the Work otherwise complies with
261
+ the conditions stated in this License.
262
+
263
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
264
+ any Contribution intentionally submitted for inclusion in the Work
265
+ by You to the Licensor shall be under the terms and conditions of
266
+ this License, without any additional terms or conditions.
267
+ Notwithstanding the above, nothing herein shall supersede or modify
268
+ the terms of any separate license agreement you may have executed
269
+ with Licensor regarding such Contributions.
270
+
271
+ 6. Trademarks. This License does not grant permission to use the trade
272
+ names, trademarks, service marks, or product names of the Licensor,
273
+ except as required for reasonable and customary use in describing the
274
+ origin of the Work and reproducing the content of the NOTICE file.
275
+
276
+ 7. Disclaimer of Warranty. Unless required by applicable law or
277
+ agreed to in writing, Licensor provides the Work (and each
278
+ Contributor provides its Contributions) on an "AS IS" BASIS,
279
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
280
+ implied, including, without limitation, any warranties or conditions
281
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
282
+ PARTICULAR PURPOSE. You are solely responsible for determining the
283
+ appropriateness of using or redistributing the Work and assume any
284
+ risks associated with Your exercise of permissions under this License.
285
+
286
+ 8. Limitation of Liability. In no event and under no legal theory,
287
+ whether in tort (including negligence), contract, or otherwise,
288
+ unless required by applicable law (such as deliberate and grossly
289
+ negligent acts) or agreed to in writing, shall any Contributor be
290
+ liable to You for damages, including any direct, indirect, special,
291
+ incidental, or consequential damages of any character arising as a
292
+ result of this License or out of the use or inability to use the
293
+ Work (including but not limited to damages for loss of goodwill,
294
+ work stoppage, computer failure or malfunction, or any and all
295
+ other commercial damages or losses), even if such Contributor
296
+ has been advised of the possibility of such damages.
297
+
298
+ 9. Accepting Warranty or Additional Liability. While redistributing
299
+ the Work or Derivative Works thereof, You may choose to offer,
300
+ and charge a fee for, acceptance of support, warranty, indemnity,
301
+ or other liability obligations and/or rights consistent with this
302
+ License. However, in accepting such obligations, You may act only
303
+ on Your own behalf and on Your sole responsibility, not on behalf
304
+ of any other Contributor, and only if You agree to indemnify,
305
+ defend, and hold each Contributor harmless for any liability
306
+ incurred by, or claims asserted against, such Contributor by reason
307
+ of your accepting any such warranty or additional liability.
308
+
309
+ END OF TERMS AND CONDITIONS
310
+
311
+ APPENDIX: How to apply the Apache License to your work.
312
+
313
+ To apply the Apache License to your work, attach the following
314
+ boilerplate notice, with the fields enclosed by brackets "[]"
315
+ replaced with your own identifying information. (Don't include
316
+ the brackets!) The text should be enclosed in the appropriate
317
+ comment syntax for the file format. We also recommend that a
318
+ file or class name and description of purpose be included on the
319
+ same "printed page" as the copyright notice for easier
320
+ identification within third-party archives.
321
+
322
+ Copyright [yyyy] [name of copyright owner]
323
+
324
+ Licensed under the Apache License, Version 2.0 (the "License");
325
+ you may not use this file except in compliance with the License.
326
+ You may obtain a copy of the License at
327
+
328
+ http://www.apache.org/licenses/LICENSE-2.0
329
+
330
+ Unless required by applicable law or agreed to in writing, software
331
+ distributed under the License is distributed on an "AS IS" BASIS,
332
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
333
+ See the License for the specific language governing permissions and
334
+ limitations under the License.
335
+ ```
336
+
128
337
  ### @opentui/core 0.8.2
129
338
 
130
339
  MIT. https://github.com/anomalyco/opentui
@@ -8,6 +8,12 @@ The icons of each page and the architecture map are the web app's (web/src/flatI
8
8
  @iconify-json/ph, and a few of ForgeQE's own drawn to match it. Phosphor by Phosphor Icons
9
9
  (https://github.com/phosphor-icons/core), under the MIT licence: https://github.com/phosphor-icons/core/blob/main/LICENSE
10
10
 
11
+ ## React and React Flow (MIT)
12
+
13
+ The security page draws its diagrams with React 18.3.1 and React DOM 18.3.1 (https://github.com/facebook/react,
14
+ Copyright (c) Meta Platforms, Inc. and affiliates) and React Flow 11.11.4 (https://github.com/xyflow/xyflow, Copyright
15
+ (c) 2019-2024 webkid GmbH), in vendor/, each under the MIT licence: https://opensource.org/license/mit
16
+
11
17
  ## Fonts (SIL Open Font License 1.1)
12
18
 
13
19
  DM Sans (https://github.com/googlefonts/dm-fonts) and JetBrains Mono (https://github.com/JetBrains/JetBrainsMono), from
@@ -31,7 +31,7 @@
31
31
  <nav aria-label="Main"><ul class="site-nav__links">
32
32
  <li><a href="https://forgeqe.github.io/"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-context-engine"/></svg>Product</a></li>
33
33
  <li><a href="../docs/index.html"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-wikis"/></svg>Docs</a></li>
34
- <li><a href="https://forgeqe.github.io/security/"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li>
34
+ <li><a href="../security/index.html"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-shield"/></svg>Security</a></li>
35
35
  <li><a href="index.html" aria-current="page"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-architecture"/></svg>Architecture</a></li>
36
36
  <li><a href="https://forgeqe.github.io/contact/"><svg class="site-pix ph" aria-hidden="true" focusable="false"><use href="#ph-mail"/></svg>Contact us</a></li>
37
37
  </ul></nav>
@@ -42,6 +42,10 @@ body::after { display: none; }
42
42
  .docs-side li a:hover { color: var(--text); background: var(--panel); }
43
43
  .docs-side li a[aria-current="page"], .docs-side li a.on { color: var(--text); background: var(--panel-2); box-shadow: none; font-weight: 500; }
44
44
  .docs-side li a.on b, .docs-side li a[aria-current="page"] b { color: var(--text-2); }
45
+ /* One menu by subject (docsSidebar in scripts/build-docs-site.ts): each subject's name, then its rows indented behind
46
+ a thin line, chapters of the user guide and pages of their own alike. */
47
+ .docs-side .side-group ul { margin-left: 12px; padding-left: 8px; border-left: 1px solid var(--line-soft); }
48
+ .docs-side .side-head { margin: 20px 0 4px 12px; color: var(--text); font-weight: 600; }
45
49
  .docs-toc { font-size: 13px; }
46
50
  .docs-toc li a { padding: 4px 0 4px 16px; border-left-color: var(--line); color: var(--muted); }
47
51
  .docs-toc li a.on { color: var(--blue-2); border-left-color: var(--blue); }
@@ -87,22 +91,63 @@ body::after { display: none; }
87
91
  .prose hr { border-top-color: var(--line-soft); }
88
92
  .prose blockquote { border-radius: 12px; background: var(--panel); box-shadow: inset 3px 0 0 var(--edge); color: var(--text-2); }
89
93
 
90
- /* Code: the app's terminal block. A grey box with its language and a Copy button; no window dots. */
91
- .code { border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
94
+ /* Code: the app's terminal block. A grey box with its language and a Copy button; no window dots. Its outline is a
95
+ border, not an inset shadow: the bar's background would paint over a shadow, so only half the block had a line. */
96
+ .code { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: none; }
92
97
  .code-bar { height: 40px; padding: 0 8px 0 16px; border-bottom-color: var(--line); background: var(--panel); }
93
98
  .code-bar i { display: none; }
94
99
  .code-bar span { margin-left: 0; font: 400 13px/1 var(--font); }
95
100
  .copy-code { min-height: 28px; padding: 0 8px; border-radius: 8px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 13px; font-weight: 500; }
96
101
  .copy-code:hover, .copy-code:focus-visible { color: var(--text); box-shadow: inset 0 0 0 1px var(--edge); }
97
102
  .copy-code.done { color: var(--pass); background: var(--pass-soft); box-shadow: none; }
98
- .code pre { padding: 16px; color: var(--text); font: 400 13px/1.6 var(--mono); }
103
+ .code pre { padding: 16px; color: var(--text); font: 400 14px/1.65 var(--mono); }
104
+ /* Each line its own row (readableBlocks in scripts/build-docs-site.ts): it wraps instead of running past the edge, and
105
+ a wrapped line hangs under its start. A comment after a command sits in a column of its own in the page's font, in
106
+ quiet ink, so the command reads first; a comment that carries on stays in that column; one of its own spans the
107
+ block. On a narrow block the comment goes under its command. The text is the same, so Copy copies it as written. */
108
+ .code { container-type: inline-size; }
109
+ .code pre.lines { overflow-x: visible; padding: 14px 16px; }
110
+ .code pre.lines code { display: grid; grid-template-columns: fit-content(58%) minmax(0, 1fr); column-gap: 28px; white-space: pre-wrap; overflow-wrap: anywhere; }
111
+ .code .ln { display: contents; }
112
+ .code .pad { display: none; }
113
+ .code .cmd { grid-column: 1 / -1; padding-left: 2ch; text-indent: -2ch; color: var(--text); }
114
+ .code .ln--pair .cmd { grid-column: 1; padding-top: 3px; padding-bottom: 3px; }
115
+ .code .cm { grid-column: 1 / -1; padding-left: 1.4em; text-indent: -1.4em; white-space: normal; color: var(--muted); font: 400 14px/1.55 var(--font); }
116
+ .code .cm .h { display: inline-block; width: 1.4em; text-indent: 0; color: var(--edge); font-family: var(--mono); }
117
+ .code .ln--pair .cm { grid-column: 2; padding-top: 3px; padding-bottom: 3px; }
118
+ .code .ln--more .cm { grid-column: 2; margin-top: -3px; padding-bottom: 3px; }
119
+ .code .ln--more .cm .h { visibility: hidden; }
120
+ .code .ln--note .pad { display: inline; }
121
+ .code .ln--note .pad, .code .ln--note .cm { grid-column: auto; padding: 0; text-indent: 0; white-space: pre-wrap; font: inherit; color: var(--muted); }
122
+ .code .ln--note { display: block; grid-column: 1 / -1; padding-left: 2ch; text-indent: -2ch; }
123
+ .code .ln--note .cm .h { display: inline; width: auto; color: var(--muted); }
124
+ .code .ln--gap { display: block; grid-column: 1 / -1; height: 10px; overflow: hidden; color: transparent; }
125
+ @container (max-width: 640px) {
126
+ .code pre.lines code { grid-template-columns: minmax(0, 1fr); }
127
+ .code .ln--pair .cmd { padding-bottom: 0; }
128
+ .code .ln--pair .cm, .code .ln--more .cm { grid-column: 1; margin: 0 0 0 2ch; padding-top: 0; padding-bottom: 6px; }
129
+ }
99
130
 
100
- /* Tables: the app's DataTable. A 10px bordered box, a grey head of 13px labels, 13px rows on thin lines. */
101
- .tbl { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
102
- .tbl table { font-size: 13px; }
103
- .tbl th { padding: 8px 16px; background: var(--panel); border-bottom-color: var(--line); color: var(--muted); font-weight: 500; font-size: 13px; }
104
- .tbl td { padding: 8px 16px; border-bottom-color: var(--line-soft); color: var(--text); }
131
+ /* Tables: the app's DataTable, made to read. A 10px bordered box (a border, not an inset shadow: the head's grey
132
+ covered the shadow's sides), a grey head of 13px labels, rows of 14px text with room around it. The first column
133
+ names the row, in ink; the others are in ink-2. On a narrow block each row is a card, every cell under its column's
134
+ name (data-label, from readableBlocks). */
135
+ .tbl { border-radius: 10px; border: 1px solid var(--line); box-shadow: none; container-type: inline-size; }
136
+ .tbl table { font-size: 14px; line-height: 1.6; }
137
+ .tbl th { padding: 10px 16px; background: var(--panel); border-bottom-color: var(--line); color: var(--muted); font-weight: 500; font-size: 13px; }
138
+ .tbl td { padding: 12px 16px; border-bottom-color: var(--line-soft); color: var(--text-2); vertical-align: top; }
139
+ .tbl td:first-child { color: var(--text); font-weight: 500; min-width: 8em; }
140
+ .tbl.tbl--cols-2 td:first-child { width: 28%; }
141
+ .tbl td code { font-size: 0.85em; }
105
142
  .tbl tbody tr:hover { background: var(--panel); }
143
+ @container (max-width: 560px) {
144
+ .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; width: auto; }
145
+ .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
146
+ .tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
147
+ .tbl tr:last-child { border-bottom: 0; }
148
+ .tbl td, .tbl.tbl--cols-2 td:first-child { width: auto; min-width: 0; padding: 2px 0; border: 0; }
149
+ .tbl td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
150
+ }
106
151
 
107
152
  /* Search: the app's palette. */
108
153
  .search { border-radius: 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-menu); }
@@ -164,3 +209,50 @@ svg.ph { display: block; flex: none; }
164
209
  .nav__links svg.ph, .docs-side li a svg.ph, .docs-toc svg.ph { color: inherit; }
165
210
  .side-home svg.ph, .topic-h svg.ph, .guide .chead svg.ph, .start__card svg.ph, .menu svg.ph { color: var(--blue-2); }
166
211
  .docs-side li a[aria-current="page"] svg.ph, .docs-side li a.on svg.ph, .nav__links a[aria-current="page"] svg.ph { color: var(--blue-2); }
212
+
213
+ /* The docs' home (homePage in scripts/docs-pages.ts): search, "What do you want to do?" as two columns of tasks, each a
214
+ row with its title and one line, then every subject as a bordered card with its pages. */
215
+ .docs-home .home-h { margin: 48px 0 16px; color: var(--text); font: 600 20px/1.2 var(--font); letter-spacing: 0; }
216
+ .tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
217
+ .tasks a { display: grid; gap: 4px; height: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; transition: background-color .15s, border-color .15s; }
218
+ .tasks a:hover { background: var(--panel); border-color: var(--edge); }
219
+ .tasks a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
220
+ .tasks b { font-size: 16px; font-weight: 600; }
221
+ .tasks span { color: var(--muted); font-size: 13px; line-height: 1.5; }
222
+ .subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; align-items: start; }
223
+ .subject { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
224
+ .subject h3 { margin: 0 0 8px; color: var(--text); font: 600 16px/1.3 var(--font); }
225
+ .subject ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
226
+ .subject a { display: block; margin: 0 -8px; padding: 4px 8px; border-radius: 8px; color: var(--text-2); font-size: 13px; text-decoration: none; }
227
+ .subject a:hover { background: var(--panel); color: var(--text); }
228
+ @media (max-width: 720px) { .tasks { grid-template-columns: minmax(0, 1fr); } }
229
+
230
+ /* A chapter's page and a page of its own share one head: "Docs / subject", the title, a lead in ink-2. Previous and
231
+ Next are the app's bordered blocks, no lift. */
232
+ .chapter-page .guide-lead { margin: 8px 0 32px; }
233
+ .pager a { border-radius: 12px; }
234
+ .pager small { font: 400 13px/1 var(--font); }
235
+
236
+ /* The page bar (pageBar in scripts/docs-pages.ts): where a column is hidden, it folds open at the top of the page.
237
+ Below 1280px the "On this page" column goes, so its bar shows; below 900px the menu, which the website's stylesheet
238
+ would move under the whole page, goes too, and "Docs menu" takes its place. */
239
+ .page-bar { display: none; gap: 8px; margin: 0 0 24px; }
240
+ .page-bar details { border: 1px solid var(--line); border-radius: 10px; }
241
+ .page-bar summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; color: var(--text); font-size: 13px; font-weight: 500; cursor: pointer; list-style: none; }
242
+ .page-bar summary::-webkit-details-marker { display: none; }
243
+ .page-bar summary::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
244
+ .page-bar details[open] summary::after { transform: rotate(-135deg); }
245
+ .page-bar summary:hover { background: var(--panel); border-radius: 10px; }
246
+ .page-bar summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
247
+ .bar-panel { max-height: 60vh; overflow-y: auto; padding: 4px 12px 12px; border-top: 1px solid var(--line-soft); }
248
+ .bar-panel ul { margin: 0; padding: 0; list-style: none; }
249
+ .bar-panel a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--text-2); font-size: 14px; text-decoration: none; }
250
+ .bar-panel a:hover { background: var(--panel); color: var(--text); }
251
+ .bar-panel a[aria-current="page"] { background: var(--panel-2); color: var(--text); font-weight: 500; }
252
+ .bar-panel .side-head { margin: 12px 0 4px 8px; color: var(--text); font: 600 13px/1.2 var(--font); }
253
+ .bar-menu { display: none; }
254
+ @media (max-width: 1280px) { .page-bar { display: grid; } }
255
+ @media (max-width: 900px) {
256
+ .bar-menu { display: block; }
257
+ .docs-side { display: none; }
258
+ }