froid-plane-test-architecture-enterprise 1.23.4

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 (945) hide show
  1. package/.claude-plugin/marketplace.json +52 -0
  2. package/.coderabbit.yaml +40 -0
  3. package/.github/CODE_OF_CONDUCT.md +128 -0
  4. package/.github/FUNDING.yaml +15 -0
  5. package/.github/ISSUE_TEMPLATE/config.yaml +8 -0
  6. package/.github/ISSUE_TEMPLATE/feature_request.md +70 -0
  7. package/.github/ISSUE_TEMPLATE/issue.md +61 -0
  8. package/.github/ISSUE_TEMPLATE/rule_quality_report.md +46 -0
  9. package/.github/workflows/docs.yaml +66 -0
  10. package/.github/workflows/publish.yaml +193 -0
  11. package/.github/workflows/quality.yaml +171 -0
  12. package/.github/workflows/tea-test-review.yaml +240 -0
  13. package/.husky/pre-commit +20 -0
  14. package/.markdownlint-cli2.yaml +36 -0
  15. package/.nvmrc +1 -0
  16. package/.prettierignore +9 -0
  17. package/.vscode/settings.json +47 -0
  18. package/AGENTS.md +32 -0
  19. package/CHANGELOG.md +582 -0
  20. package/CONTRIBUTING.md +268 -0
  21. package/DESIGN-CRITERIA-REGISTRY.md +336 -0
  22. package/LICENSE +26 -0
  23. package/README.md +782 -0
  24. package/SECURITY.md +85 -0
  25. package/cli/examples/README.md +53 -0
  26. package/cli/examples/pr-test-review.yml +315 -0
  27. package/cli/lib/agent-adapters.js +256 -0
  28. package/cli/lib/build-prompt.js +327 -0
  29. package/cli/lib/changed-tests.js +479 -0
  30. package/cli/lib/convention-baseline.js +237 -0
  31. package/cli/lib/isolate.js +353 -0
  32. package/cli/lib/parse-report.js +1081 -0
  33. package/cli/lib/registry-rows.js +60 -0
  34. package/cli/lib/resolve-skill.js +44 -0
  35. package/cli/lib/resolve-tea-config.js +229 -0
  36. package/cli/lib/run-agent.js +146 -0
  37. package/cli/test-review.js +874 -0
  38. package/docs/404.md +20 -0
  39. package/docs/explanation/engagement-models.md +191 -0
  40. package/docs/explanation/eval-quality-roadmap.md +164 -0
  41. package/docs/explanation/fixture-architecture.md +350 -0
  42. package/docs/explanation/knowledge-base-system.md +158 -0
  43. package/docs/explanation/network-first-patterns.md +342 -0
  44. package/docs/explanation/risk-based-testing.md +189 -0
  45. package/docs/explanation/step-file-architecture.md +227 -0
  46. package/docs/explanation/tea-overview.md +244 -0
  47. package/docs/explanation/test-quality-standards.md +475 -0
  48. package/docs/explanation/test-review-cli-architecture.md +159 -0
  49. package/docs/explanation/testing-as-engineering.md +124 -0
  50. package/docs/explanation/verification-architecture.md +129 -0
  51. package/docs/glossary/index.md +160 -0
  52. package/docs/how-to/brownfield/use-tea-for-enterprise.md +394 -0
  53. package/docs/how-to/brownfield/use-tea-with-existing-tests.md +499 -0
  54. package/docs/how-to/customization/configure-browser-automation.md +213 -0
  55. package/docs/how-to/customization/extend-tea-with-custom-workflows.md +102 -0
  56. package/docs/how-to/customization/integrate-pactjs-utils.md +184 -0
  57. package/docs/how-to/customization/integrate-playwright-utils.md +886 -0
  58. package/docs/how-to/install-behind-firewall.md +43 -0
  59. package/docs/how-to/workflows/run-atdd.md +453 -0
  60. package/docs/how-to/workflows/run-automate.md +673 -0
  61. package/docs/how-to/workflows/run-nfr-assess.md +723 -0
  62. package/docs/how-to/workflows/run-test-design.md +155 -0
  63. package/docs/how-to/workflows/run-test-review.md +622 -0
  64. package/docs/how-to/workflows/run-trace.md +973 -0
  65. package/docs/how-to/workflows/setup-ci.md +741 -0
  66. package/docs/how-to/workflows/setup-test-framework.md +130 -0
  67. package/docs/how-to/workflows/teach-me-testing.md +287 -0
  68. package/docs/index.md +67 -0
  69. package/docs/reference/commands.md +394 -0
  70. package/docs/reference/configuration.md +561 -0
  71. package/docs/reference/execution-targets.md +106 -0
  72. package/docs/reference/knowledge-base.md +271 -0
  73. package/docs/reference/live-verification-results.md +193 -0
  74. package/docs/reference/tea-test-review-cli.md +282 -0
  75. package/docs/reference/troubleshooting.md +362 -0
  76. package/docs/tutorials/learn-testing-tea-academy.md +67 -0
  77. package/docs/tutorials/tea-lite-quickstart.md +459 -0
  78. package/eslint.config.mjs +146 -0
  79. package/package.json +139 -0
  80. package/prettier.config.mjs +32 -0
  81. package/src/agents/froid-tea/SKILL.md +86 -0
  82. package/src/agents/froid-tea/customize.toml +108 -0
  83. package/src/agents/froid-tea/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  84. package/src/agents/froid-tea/resources/knowledge/api-request.md +572 -0
  85. package/src/agents/froid-tea/resources/knowledge/api-testing-patterns.md +931 -0
  86. package/src/agents/froid-tea/resources/knowledge/auth-session.md +553 -0
  87. package/src/agents/froid-tea/resources/knowledge/burn-in.md +273 -0
  88. package/src/agents/froid-tea/resources/knowledge/ci-burn-in.md +717 -0
  89. package/src/agents/froid-tea/resources/knowledge/component-tdd.md +522 -0
  90. package/src/agents/froid-tea/resources/knowledge/confidence-gate.md +73 -0
  91. package/src/agents/froid-tea/resources/knowledge/contract-testing.md +1066 -0
  92. package/src/agents/froid-tea/resources/knowledge/data-factories.md +539 -0
  93. package/src/agents/froid-tea/resources/knowledge/email-auth.md +721 -0
  94. package/src/agents/froid-tea/resources/knowledge/error-handling.md +725 -0
  95. package/src/agents/froid-tea/resources/knowledge/evidence-integrity.md +265 -0
  96. package/src/agents/froid-tea/resources/knowledge/feature-flags.md +750 -0
  97. package/src/agents/froid-tea/resources/knowledge/file-utils.md +456 -0
  98. package/src/agents/froid-tea/resources/knowledge/fixture-architecture.md +401 -0
  99. package/src/agents/froid-tea/resources/knowledge/fixtures-composition.md +385 -0
  100. package/src/agents/froid-tea/resources/knowledge/intercept-network-call.md +426 -0
  101. package/src/agents/froid-tea/resources/knowledge/library-integration-mandate.md +93 -0
  102. package/src/agents/froid-tea/resources/knowledge/log.md +432 -0
  103. package/src/agents/froid-tea/resources/knowledge/maestro-flows.md +540 -0
  104. package/src/agents/froid-tea/resources/knowledge/mobile-ci-device-lab.md +208 -0
  105. package/src/agents/froid-tea/resources/knowledge/mobile-test-strategy.md +127 -0
  106. package/src/agents/froid-tea/resources/knowledge/network-error-monitor.md +402 -0
  107. package/src/agents/froid-tea/resources/knowledge/network-first.md +486 -0
  108. package/src/agents/froid-tea/resources/knowledge/network-recorder.md +527 -0
  109. package/src/agents/froid-tea/resources/knowledge/nfr-criteria.md +670 -0
  110. package/src/agents/froid-tea/resources/knowledge/overview.md +290 -0
  111. package/src/agents/froid-tea/resources/knowledge/pact-broker-webhooks.md +237 -0
  112. package/src/agents/froid-tea/resources/knowledge/pact-consumer-di.md +310 -0
  113. package/src/agents/froid-tea/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  114. package/src/agents/froid-tea/resources/knowledge/pact-mcp.md +242 -0
  115. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  116. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-mandate.md +204 -0
  117. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-overview.md +219 -0
  118. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  119. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  120. package/src/agents/froid-tea/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  121. package/src/agents/froid-tea/resources/knowledge/playwright-cli.md +280 -0
  122. package/src/agents/froid-tea/resources/knowledge/playwright-config.md +734 -0
  123. package/src/agents/froid-tea/resources/knowledge/playwright-utils-mandate.md +183 -0
  124. package/src/agents/froid-tea/resources/knowledge/probability-impact.md +593 -0
  125. package/src/agents/froid-tea/resources/knowledge/recurse.md +433 -0
  126. package/src/agents/froid-tea/resources/knowledge/risk-governance.md +625 -0
  127. package/src/agents/froid-tea/resources/knowledge/selective-testing.md +732 -0
  128. package/src/agents/froid-tea/resources/knowledge/selector-resilience.md +527 -0
  129. package/src/agents/froid-tea/resources/knowledge/test-healing-patterns.md +644 -0
  130. package/src/agents/froid-tea/resources/knowledge/test-levels-framework.md +473 -0
  131. package/src/agents/froid-tea/resources/knowledge/test-priorities-matrix.md +382 -0
  132. package/src/agents/froid-tea/resources/knowledge/test-quality.md +848 -0
  133. package/src/agents/froid-tea/resources/knowledge/timing-debugging.md +464 -0
  134. package/src/agents/froid-tea/resources/knowledge/visual-debugging.md +527 -0
  135. package/src/agents/froid-tea/resources/knowledge/webhook-module-setup.md +122 -0
  136. package/src/agents/froid-tea/resources/knowledge/webhook-providers.md +155 -0
  137. package/src/agents/froid-tea/resources/knowledge/webhook-risk-guidance.md +114 -0
  138. package/src/agents/froid-tea/resources/knowledge/webhook-template-matchers.md +160 -0
  139. package/src/agents/froid-tea/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  140. package/src/agents/froid-tea/resources/knowledge/webhook-timeout-error.md +130 -0
  141. package/src/agents/froid-tea/resources/knowledge/webhook-waiting-querying.md +167 -0
  142. package/src/agents/froid-tea/resources/tea-index.csv +60 -0
  143. package/src/module-help.csv +11 -0
  144. package/src/module.yaml +332 -0
  145. package/src/workflows/testarch/froid-teach-me-testing/SKILL.md +129 -0
  146. package/src/workflows/testarch/froid-teach-me-testing/checklist.md +198 -0
  147. package/src/workflows/testarch/froid-teach-me-testing/customize.toml +38 -0
  148. package/src/workflows/testarch/froid-teach-me-testing/data/curriculum.yaml +129 -0
  149. package/src/workflows/testarch/froid-teach-me-testing/data/quiz-questions.yaml +206 -0
  150. package/src/workflows/testarch/froid-teach-me-testing/data/role-paths.yaml +136 -0
  151. package/src/workflows/testarch/froid-teach-me-testing/data/session-content-map.yaml +222 -0
  152. package/src/workflows/testarch/froid-teach-me-testing/data/tea-resources-index.yaml +483 -0
  153. package/src/workflows/testarch/froid-teach-me-testing/instructions.md +129 -0
  154. package/src/workflows/testarch/froid-teach-me-testing/resources/tea-completion-summary.example.md +102 -0
  155. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-01-init.md +235 -0
  156. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-01b-continue.md +147 -0
  157. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-02-assess.md +258 -0
  158. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-03-session-menu.md +219 -0
  159. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-01.md +460 -0
  160. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-02.md +465 -0
  161. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-03.md +301 -0
  162. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-04.md +234 -0
  163. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-05.md +234 -0
  164. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-06.md +209 -0
  165. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-04-session-07.md +243 -0
  166. package/src/workflows/testarch/froid-teach-me-testing/steps-c/step-05-completion.md +343 -0
  167. package/src/workflows/testarch/froid-teach-me-testing/steps-e/step-e-01-assess-workflow.md +141 -0
  168. package/src/workflows/testarch/froid-teach-me-testing/steps-e/step-e-02-apply-edits.md +130 -0
  169. package/src/workflows/testarch/froid-teach-me-testing/steps-v/step-v-01-validate.md +278 -0
  170. package/src/workflows/testarch/froid-teach-me-testing/templates/completion-summary-template.md +82 -0
  171. package/src/workflows/testarch/froid-teach-me-testing/templates/progress-template.yaml +95 -0
  172. package/src/workflows/testarch/froid-teach-me-testing/templates/session-notes-template.md +83 -0
  173. package/src/workflows/testarch/froid-testarch-atdd/SKILL.md +85 -0
  174. package/src/workflows/testarch/froid-testarch-atdd/atdd-checklist-template.md +394 -0
  175. package/src/workflows/testarch/froid-testarch-atdd/checklist.md +408 -0
  176. package/src/workflows/testarch/froid-testarch-atdd/customize.toml +38 -0
  177. package/src/workflows/testarch/froid-testarch-atdd/instructions.md +44 -0
  178. package/src/workflows/testarch/froid-testarch-atdd/resources/atdd-checklist-2-4-guest-checkout.example.md +594 -0
  179. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  180. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/api-request.md +572 -0
  181. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/api-testing-patterns.md +931 -0
  182. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/auth-session.md +553 -0
  183. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/burn-in.md +273 -0
  184. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/ci-burn-in.md +717 -0
  185. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/component-tdd.md +522 -0
  186. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/confidence-gate.md +73 -0
  187. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/contract-testing.md +1066 -0
  188. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/data-factories.md +539 -0
  189. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/email-auth.md +721 -0
  190. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/error-handling.md +725 -0
  191. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/evidence-integrity.md +265 -0
  192. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/feature-flags.md +750 -0
  193. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/file-utils.md +456 -0
  194. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/fixture-architecture.md +401 -0
  195. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/fixtures-composition.md +385 -0
  196. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/intercept-network-call.md +426 -0
  197. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/library-integration-mandate.md +93 -0
  198. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/log.md +432 -0
  199. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/maestro-flows.md +540 -0
  200. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/mobile-ci-device-lab.md +208 -0
  201. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/mobile-test-strategy.md +127 -0
  202. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/network-error-monitor.md +402 -0
  203. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/network-first.md +486 -0
  204. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/network-recorder.md +527 -0
  205. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/nfr-criteria.md +670 -0
  206. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/overview.md +290 -0
  207. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pact-broker-webhooks.md +237 -0
  208. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pact-consumer-di.md +310 -0
  209. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  210. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pact-mcp.md +242 -0
  211. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  212. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-mandate.md +204 -0
  213. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-overview.md +219 -0
  214. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  215. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  216. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  217. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/playwright-cli.md +280 -0
  218. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/playwright-config.md +734 -0
  219. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/playwright-utils-mandate.md +183 -0
  220. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/probability-impact.md +593 -0
  221. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/recurse.md +433 -0
  222. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/risk-governance.md +625 -0
  223. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/selective-testing.md +732 -0
  224. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/selector-resilience.md +527 -0
  225. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/test-healing-patterns.md +644 -0
  226. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/test-levels-framework.md +473 -0
  227. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/test-priorities-matrix.md +382 -0
  228. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/test-quality.md +848 -0
  229. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/timing-debugging.md +464 -0
  230. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/visual-debugging.md +527 -0
  231. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-module-setup.md +122 -0
  232. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-providers.md +155 -0
  233. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-risk-guidance.md +114 -0
  234. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-template-matchers.md +160 -0
  235. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  236. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-timeout-error.md +130 -0
  237. package/src/workflows/testarch/froid-testarch-atdd/resources/knowledge/webhook-waiting-querying.md +167 -0
  238. package/src/workflows/testarch/froid-testarch-atdd/resources/tea-index.csv +60 -0
  239. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-01-preflight-and-context.md +256 -0
  240. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-01b-resume.md +96 -0
  241. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-02-generation-mode.md +125 -0
  242. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-03-test-strategy.md +110 -0
  243. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-04-generate-tests.md +362 -0
  244. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-04a-subagent-api-failing.md +323 -0
  245. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-04b-subagent-e2e-failing.md +305 -0
  246. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-04c-aggregate.md +430 -0
  247. package/src/workflows/testarch/froid-testarch-atdd/steps-c/step-05-validate-and-complete.md +123 -0
  248. package/src/workflows/testarch/froid-testarch-atdd/steps-e/step-01-assess.md +65 -0
  249. package/src/workflows/testarch/froid-testarch-atdd/steps-e/step-02-apply-edit.md +68 -0
  250. package/src/workflows/testarch/froid-testarch-atdd/steps-v/step-01-validate.md +85 -0
  251. package/src/workflows/testarch/froid-testarch-atdd/workflow.yaml +46 -0
  252. package/src/workflows/testarch/froid-testarch-automate/SKILL.md +85 -0
  253. package/src/workflows/testarch/froid-testarch-automate/checklist.md +645 -0
  254. package/src/workflows/testarch/froid-testarch-automate/customize.toml +38 -0
  255. package/src/workflows/testarch/froid-testarch-automate/instructions.md +49 -0
  256. package/src/workflows/testarch/froid-testarch-automate/resources/automation-summary.example.md +76 -0
  257. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  258. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/api-request.md +572 -0
  259. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/api-testing-patterns.md +931 -0
  260. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/auth-session.md +553 -0
  261. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/burn-in.md +273 -0
  262. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/ci-burn-in.md +717 -0
  263. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/component-tdd.md +522 -0
  264. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/confidence-gate.md +73 -0
  265. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/contract-testing.md +1066 -0
  266. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/data-factories.md +539 -0
  267. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/email-auth.md +721 -0
  268. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/error-handling.md +725 -0
  269. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/evidence-integrity.md +265 -0
  270. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/feature-flags.md +750 -0
  271. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/file-utils.md +456 -0
  272. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/fixture-architecture.md +401 -0
  273. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/fixtures-composition.md +385 -0
  274. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/intercept-network-call.md +426 -0
  275. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/library-integration-mandate.md +93 -0
  276. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/log.md +432 -0
  277. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/maestro-flows.md +540 -0
  278. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/mobile-ci-device-lab.md +208 -0
  279. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/mobile-test-strategy.md +127 -0
  280. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/network-error-monitor.md +402 -0
  281. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/network-first.md +486 -0
  282. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/network-recorder.md +527 -0
  283. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/nfr-criteria.md +670 -0
  284. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/overview.md +290 -0
  285. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pact-broker-webhooks.md +237 -0
  286. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pact-consumer-di.md +310 -0
  287. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  288. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pact-mcp.md +242 -0
  289. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  290. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-mandate.md +204 -0
  291. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-overview.md +219 -0
  292. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  293. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  294. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  295. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/playwright-cli.md +280 -0
  296. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/playwright-config.md +734 -0
  297. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/playwright-utils-mandate.md +183 -0
  298. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/probability-impact.md +593 -0
  299. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/recurse.md +433 -0
  300. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/risk-governance.md +625 -0
  301. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/selective-testing.md +732 -0
  302. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/selector-resilience.md +527 -0
  303. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/test-healing-patterns.md +644 -0
  304. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/test-levels-framework.md +473 -0
  305. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/test-priorities-matrix.md +382 -0
  306. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/test-quality.md +848 -0
  307. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/timing-debugging.md +464 -0
  308. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/visual-debugging.md +527 -0
  309. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-module-setup.md +122 -0
  310. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-providers.md +155 -0
  311. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-risk-guidance.md +114 -0
  312. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-template-matchers.md +160 -0
  313. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  314. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-timeout-error.md +130 -0
  315. package/src/workflows/testarch/froid-testarch-automate/resources/knowledge/webhook-waiting-querying.md +167 -0
  316. package/src/workflows/testarch/froid-testarch-automate/resources/tea-index.csv +60 -0
  317. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-01-preflight-and-context.md +261 -0
  318. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-01b-resume.md +94 -0
  319. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-02-identify-targets.md +182 -0
  320. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03-generate-tests.md +458 -0
  321. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03a-subagent-api.md +333 -0
  322. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03b-subagent-backend.md +248 -0
  323. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03b-subagent-e2e.md +282 -0
  324. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03b-subagent-mobile.md +162 -0
  325. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-03c-aggregate.md +494 -0
  326. package/src/workflows/testarch/froid-testarch-automate/steps-c/step-04-validate-and-summarize.md +120 -0
  327. package/src/workflows/testarch/froid-testarch-automate/steps-e/step-01-assess.md +65 -0
  328. package/src/workflows/testarch/froid-testarch-automate/steps-e/step-02-apply-edit.md +68 -0
  329. package/src/workflows/testarch/froid-testarch-automate/steps-v/step-01-validate.md +85 -0
  330. package/src/workflows/testarch/froid-testarch-automate/workflow.yaml +53 -0
  331. package/src/workflows/testarch/froid-testarch-ci/SKILL.md +85 -0
  332. package/src/workflows/testarch/froid-testarch-ci/azure-pipelines-template.yaml +155 -0
  333. package/src/workflows/testarch/froid-testarch-ci/checklist.md +289 -0
  334. package/src/workflows/testarch/froid-testarch-ci/customize.toml +38 -0
  335. package/src/workflows/testarch/froid-testarch-ci/github-actions-template.yaml +328 -0
  336. package/src/workflows/testarch/froid-testarch-ci/gitlab-ci-template.yaml +158 -0
  337. package/src/workflows/testarch/froid-testarch-ci/harness-pipeline-template.yaml +160 -0
  338. package/src/workflows/testarch/froid-testarch-ci/instructions.md +44 -0
  339. package/src/workflows/testarch/froid-testarch-ci/jenkins-pipeline-template.groovy +129 -0
  340. package/src/workflows/testarch/froid-testarch-ci/resources/ci-pipeline-progress.example.md +121 -0
  341. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  342. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/api-request.md +572 -0
  343. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/api-testing-patterns.md +931 -0
  344. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/auth-session.md +553 -0
  345. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/burn-in.md +273 -0
  346. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/ci-burn-in.md +717 -0
  347. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/component-tdd.md +522 -0
  348. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/confidence-gate.md +73 -0
  349. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/contract-testing.md +1066 -0
  350. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/data-factories.md +539 -0
  351. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/email-auth.md +721 -0
  352. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/error-handling.md +725 -0
  353. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/evidence-integrity.md +265 -0
  354. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/feature-flags.md +750 -0
  355. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/file-utils.md +456 -0
  356. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/fixture-architecture.md +401 -0
  357. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/fixtures-composition.md +385 -0
  358. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/intercept-network-call.md +426 -0
  359. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/library-integration-mandate.md +93 -0
  360. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/log.md +432 -0
  361. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/maestro-flows.md +540 -0
  362. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/mobile-ci-device-lab.md +208 -0
  363. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/mobile-test-strategy.md +127 -0
  364. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/network-error-monitor.md +402 -0
  365. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/network-first.md +486 -0
  366. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/network-recorder.md +527 -0
  367. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/nfr-criteria.md +670 -0
  368. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/overview.md +290 -0
  369. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pact-broker-webhooks.md +237 -0
  370. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pact-consumer-di.md +310 -0
  371. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  372. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pact-mcp.md +242 -0
  373. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  374. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-mandate.md +204 -0
  375. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-overview.md +219 -0
  376. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  377. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  378. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  379. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/playwright-cli.md +280 -0
  380. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/playwright-config.md +734 -0
  381. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/playwright-utils-mandate.md +183 -0
  382. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/probability-impact.md +593 -0
  383. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/recurse.md +433 -0
  384. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/risk-governance.md +625 -0
  385. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/selective-testing.md +732 -0
  386. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/selector-resilience.md +527 -0
  387. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/test-healing-patterns.md +644 -0
  388. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/test-levels-framework.md +473 -0
  389. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/test-priorities-matrix.md +382 -0
  390. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/test-quality.md +848 -0
  391. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/timing-debugging.md +464 -0
  392. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/visual-debugging.md +527 -0
  393. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-module-setup.md +122 -0
  394. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-providers.md +155 -0
  395. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-risk-guidance.md +114 -0
  396. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-template-matchers.md +160 -0
  397. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  398. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-timeout-error.md +130 -0
  399. package/src/workflows/testarch/froid-testarch-ci/resources/knowledge/webhook-waiting-querying.md +167 -0
  400. package/src/workflows/testarch/froid-testarch-ci/resources/tea-index.csv +60 -0
  401. package/src/workflows/testarch/froid-testarch-ci/steps-c/step-01-preflight.md +173 -0
  402. package/src/workflows/testarch/froid-testarch-ci/steps-c/step-01b-resume.md +110 -0
  403. package/src/workflows/testarch/froid-testarch-ci/steps-c/step-02-generate-pipeline.md +305 -0
  404. package/src/workflows/testarch/froid-testarch-ci/steps-c/step-03-configure-quality-gates.md +164 -0
  405. package/src/workflows/testarch/froid-testarch-ci/steps-c/step-04-validate-and-summary.md +100 -0
  406. package/src/workflows/testarch/froid-testarch-ci/steps-e/step-01-assess.md +65 -0
  407. package/src/workflows/testarch/froid-testarch-ci/steps-e/step-02-apply-edit.md +68 -0
  408. package/src/workflows/testarch/froid-testarch-ci/steps-v/step-01-validate.md +99 -0
  409. package/src/workflows/testarch/froid-testarch-ci/workflow.yaml +48 -0
  410. package/src/workflows/testarch/froid-testarch-framework/SKILL.md +85 -0
  411. package/src/workflows/testarch/froid-testarch-framework/checklist.md +370 -0
  412. package/src/workflows/testarch/froid-testarch-framework/customize.toml +38 -0
  413. package/src/workflows/testarch/froid-testarch-framework/instructions.md +44 -0
  414. package/src/workflows/testarch/froid-testarch-framework/resources/framework-setup-progress.example.md +195 -0
  415. package/src/workflows/testarch/froid-testarch-framework/resources/hooks/tea-enforce.cjs +1098 -0
  416. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  417. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/api-request.md +572 -0
  418. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/api-testing-patterns.md +931 -0
  419. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/auth-session.md +553 -0
  420. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/burn-in.md +273 -0
  421. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/ci-burn-in.md +717 -0
  422. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/component-tdd.md +522 -0
  423. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/confidence-gate.md +73 -0
  424. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/contract-testing.md +1066 -0
  425. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/data-factories.md +539 -0
  426. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/email-auth.md +721 -0
  427. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/error-handling.md +725 -0
  428. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/evidence-integrity.md +265 -0
  429. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/feature-flags.md +750 -0
  430. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/file-utils.md +456 -0
  431. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/fixture-architecture.md +401 -0
  432. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/fixtures-composition.md +385 -0
  433. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/intercept-network-call.md +426 -0
  434. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/library-integration-mandate.md +93 -0
  435. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/log.md +432 -0
  436. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/maestro-flows.md +540 -0
  437. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/mobile-ci-device-lab.md +208 -0
  438. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/mobile-test-strategy.md +127 -0
  439. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/network-error-monitor.md +402 -0
  440. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/network-first.md +486 -0
  441. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/network-recorder.md +527 -0
  442. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/nfr-criteria.md +670 -0
  443. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/overview.md +290 -0
  444. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pact-broker-webhooks.md +237 -0
  445. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pact-consumer-di.md +310 -0
  446. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  447. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pact-mcp.md +242 -0
  448. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  449. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-mandate.md +204 -0
  450. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-overview.md +219 -0
  451. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  452. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  453. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  454. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/playwright-cli.md +280 -0
  455. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/playwright-config.md +734 -0
  456. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/playwright-utils-mandate.md +183 -0
  457. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/probability-impact.md +593 -0
  458. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/recurse.md +433 -0
  459. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/risk-governance.md +625 -0
  460. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/selective-testing.md +732 -0
  461. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/selector-resilience.md +527 -0
  462. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/test-healing-patterns.md +644 -0
  463. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/test-levels-framework.md +473 -0
  464. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/test-priorities-matrix.md +382 -0
  465. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/test-quality.md +848 -0
  466. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/timing-debugging.md +464 -0
  467. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/visual-debugging.md +527 -0
  468. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-module-setup.md +122 -0
  469. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-providers.md +155 -0
  470. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-risk-guidance.md +114 -0
  471. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-template-matchers.md +160 -0
  472. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  473. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-timeout-error.md +130 -0
  474. package/src/workflows/testarch/froid-testarch-framework/resources/knowledge/webhook-waiting-querying.md +167 -0
  475. package/src/workflows/testarch/froid-testarch-framework/resources/tea-index.csv +60 -0
  476. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-01-preflight.md +145 -0
  477. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-01b-resume.md +116 -0
  478. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-02-select-framework.md +131 -0
  479. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-03-scaffold-framework.md +444 -0
  480. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-04-docs-and-scripts.md +210 -0
  481. package/src/workflows/testarch/froid-testarch-framework/steps-c/step-05-validate-and-summary.md +101 -0
  482. package/src/workflows/testarch/froid-testarch-framework/steps-e/step-01-assess.md +65 -0
  483. package/src/workflows/testarch/froid-testarch-framework/steps-e/step-02-apply-edit.md +68 -0
  484. package/src/workflows/testarch/froid-testarch-framework/steps-v/step-01-validate.md +85 -0
  485. package/src/workflows/testarch/froid-testarch-framework/workflow.yaml +48 -0
  486. package/src/workflows/testarch/froid-testarch-nfr/SKILL.md +85 -0
  487. package/src/workflows/testarch/froid-testarch-nfr/checklist.md +405 -0
  488. package/src/workflows/testarch/froid-testarch-nfr/customize.toml +38 -0
  489. package/src/workflows/testarch/froid-testarch-nfr/instructions.md +45 -0
  490. package/src/workflows/testarch/froid-testarch-nfr/nfr-report-template.md +454 -0
  491. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  492. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/api-request.md +572 -0
  493. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/api-testing-patterns.md +931 -0
  494. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/auth-session.md +553 -0
  495. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/burn-in.md +273 -0
  496. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/ci-burn-in.md +717 -0
  497. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/component-tdd.md +522 -0
  498. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/confidence-gate.md +73 -0
  499. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/contract-testing.md +1066 -0
  500. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/data-factories.md +539 -0
  501. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/email-auth.md +721 -0
  502. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/error-handling.md +725 -0
  503. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/evidence-integrity.md +265 -0
  504. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/feature-flags.md +750 -0
  505. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/file-utils.md +456 -0
  506. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/fixture-architecture.md +401 -0
  507. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/fixtures-composition.md +385 -0
  508. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/intercept-network-call.md +426 -0
  509. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/library-integration-mandate.md +93 -0
  510. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/log.md +432 -0
  511. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/maestro-flows.md +540 -0
  512. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/mobile-ci-device-lab.md +208 -0
  513. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/mobile-test-strategy.md +127 -0
  514. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/network-error-monitor.md +402 -0
  515. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/network-first.md +486 -0
  516. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/network-recorder.md +527 -0
  517. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/nfr-criteria.md +670 -0
  518. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/overview.md +290 -0
  519. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pact-broker-webhooks.md +237 -0
  520. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pact-consumer-di.md +310 -0
  521. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  522. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pact-mcp.md +242 -0
  523. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  524. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-mandate.md +204 -0
  525. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-overview.md +219 -0
  526. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  527. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  528. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  529. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/playwright-cli.md +280 -0
  530. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/playwright-config.md +734 -0
  531. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/playwright-utils-mandate.md +183 -0
  532. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/probability-impact.md +593 -0
  533. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/recurse.md +433 -0
  534. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/risk-governance.md +625 -0
  535. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/selective-testing.md +732 -0
  536. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/selector-resilience.md +527 -0
  537. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/test-healing-patterns.md +644 -0
  538. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/test-levels-framework.md +473 -0
  539. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/test-priorities-matrix.md +382 -0
  540. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/test-quality.md +848 -0
  541. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/timing-debugging.md +464 -0
  542. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/visual-debugging.md +527 -0
  543. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-module-setup.md +122 -0
  544. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-providers.md +155 -0
  545. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-risk-guidance.md +114 -0
  546. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-template-matchers.md +160 -0
  547. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  548. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-timeout-error.md +130 -0
  549. package/src/workflows/testarch/froid-testarch-nfr/resources/knowledge/webhook-waiting-querying.md +167 -0
  550. package/src/workflows/testarch/froid-testarch-nfr/resources/nfr-assessment.example.md +497 -0
  551. package/src/workflows/testarch/froid-testarch-nfr/resources/tea-index.csv +60 -0
  552. package/src/workflows/testarch/froid-testarch-nfr/steps-c/nfr-status-definitions.md +37 -0
  553. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-01-load-context.md +138 -0
  554. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-01b-resume.md +106 -0
  555. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-02-define-thresholds.md +120 -0
  556. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-03-gather-evidence.md +108 -0
  557. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04-evaluate-and-score.md +254 -0
  558. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04a-subagent-security.md +135 -0
  559. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04b-subagent-performance.md +97 -0
  560. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04c-subagent-reliability.md +93 -0
  561. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04d-subagent-maintainability.md +104 -0
  562. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-04e-aggregate-nfr.md +294 -0
  563. package/src/workflows/testarch/froid-testarch-nfr/steps-c/step-05-generate-report.md +116 -0
  564. package/src/workflows/testarch/froid-testarch-nfr/steps-e/step-01-assess.md +65 -0
  565. package/src/workflows/testarch/froid-testarch-nfr/steps-e/step-02-apply-edit.md +68 -0
  566. package/src/workflows/testarch/froid-testarch-nfr/steps-v/step-01-validate.md +85 -0
  567. package/src/workflows/testarch/froid-testarch-nfr/workflow.yaml +48 -0
  568. package/src/workflows/testarch/froid-testarch-test-design/SKILL.md +89 -0
  569. package/src/workflows/testarch/froid-testarch-test-design/checklist.md +486 -0
  570. package/src/workflows/testarch/froid-testarch-test-design/customize.toml +38 -0
  571. package/src/workflows/testarch/froid-testarch-test-design/instructions.md +104 -0
  572. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  573. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/api-request.md +572 -0
  574. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/api-testing-patterns.md +931 -0
  575. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/auth-session.md +553 -0
  576. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/burn-in.md +273 -0
  577. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/ci-burn-in.md +717 -0
  578. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/component-tdd.md +522 -0
  579. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/confidence-gate.md +73 -0
  580. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/contract-testing.md +1066 -0
  581. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/data-factories.md +539 -0
  582. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/email-auth.md +721 -0
  583. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/error-handling.md +725 -0
  584. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/evidence-integrity.md +265 -0
  585. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/feature-flags.md +750 -0
  586. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/file-utils.md +456 -0
  587. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/fixture-architecture.md +401 -0
  588. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/fixtures-composition.md +385 -0
  589. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/intercept-network-call.md +426 -0
  590. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/library-integration-mandate.md +93 -0
  591. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/log.md +432 -0
  592. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/maestro-flows.md +540 -0
  593. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/mobile-ci-device-lab.md +208 -0
  594. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/mobile-test-strategy.md +127 -0
  595. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/network-error-monitor.md +402 -0
  596. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/network-first.md +486 -0
  597. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/network-recorder.md +527 -0
  598. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/nfr-criteria.md +670 -0
  599. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/overview.md +290 -0
  600. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pact-broker-webhooks.md +237 -0
  601. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pact-consumer-di.md +310 -0
  602. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  603. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pact-mcp.md +242 -0
  604. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  605. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-mandate.md +204 -0
  606. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-overview.md +219 -0
  607. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  608. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  609. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  610. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/playwright-cli.md +280 -0
  611. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/playwright-config.md +734 -0
  612. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/playwright-utils-mandate.md +183 -0
  613. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/probability-impact.md +593 -0
  614. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/recurse.md +433 -0
  615. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/risk-governance.md +625 -0
  616. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/selective-testing.md +732 -0
  617. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/selector-resilience.md +527 -0
  618. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/test-healing-patterns.md +644 -0
  619. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/test-levels-framework.md +473 -0
  620. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/test-priorities-matrix.md +382 -0
  621. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/test-quality.md +848 -0
  622. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/timing-debugging.md +464 -0
  623. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/visual-debugging.md +527 -0
  624. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-module-setup.md +122 -0
  625. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-providers.md +155 -0
  626. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-risk-guidance.md +114 -0
  627. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-template-matchers.md +160 -0
  628. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  629. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-timeout-error.md +130 -0
  630. package/src/workflows/testarch/froid-testarch-test-design/resources/knowledge/webhook-waiting-querying.md +167 -0
  631. package/src/workflows/testarch/froid-testarch-test-design/resources/tea-index.csv +60 -0
  632. package/src/workflows/testarch/froid-testarch-test-design/resources/test-design-epic-3.example.md +300 -0
  633. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-01-detect-mode.md +187 -0
  634. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-01b-resume.md +141 -0
  635. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-02-load-context.md +268 -0
  636. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-03-risk-and-testability.md +133 -0
  637. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-04-coverage-plan.md +148 -0
  638. package/src/workflows/testarch/froid-testarch-test-design/steps-c/step-05-generate-output.md +241 -0
  639. package/src/workflows/testarch/froid-testarch-test-design/steps-e/step-01-assess.md +65 -0
  640. package/src/workflows/testarch/froid-testarch-test-design/steps-e/step-02-apply-edit.md +68 -0
  641. package/src/workflows/testarch/froid-testarch-test-design/steps-v/step-01-validate.md +85 -0
  642. package/src/workflows/testarch/froid-testarch-test-design/test-design-architecture-template.md +250 -0
  643. package/src/workflows/testarch/froid-testarch-test-design/test-design-handoff-template.md +70 -0
  644. package/src/workflows/testarch/froid-testarch-test-design/test-design-qa-template.md +414 -0
  645. package/src/workflows/testarch/froid-testarch-test-design/test-design-template.md +367 -0
  646. package/src/workflows/testarch/froid-testarch-test-design/workflow.yaml +77 -0
  647. package/src/workflows/testarch/froid-testarch-test-review/SKILL.md +97 -0
  648. package/src/workflows/testarch/froid-testarch-test-review/checklist.md +506 -0
  649. package/src/workflows/testarch/froid-testarch-test-review/customize.toml +66 -0
  650. package/src/workflows/testarch/froid-testarch-test-review/instructions.md +50 -0
  651. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  652. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/api-request.md +572 -0
  653. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/api-testing-patterns.md +931 -0
  654. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/auth-session.md +553 -0
  655. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/burn-in.md +273 -0
  656. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/ci-burn-in.md +717 -0
  657. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/component-tdd.md +522 -0
  658. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/confidence-gate.md +73 -0
  659. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/contract-testing.md +1066 -0
  660. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/data-factories.md +539 -0
  661. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/email-auth.md +721 -0
  662. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/error-handling.md +725 -0
  663. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/evidence-integrity.md +265 -0
  664. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/feature-flags.md +750 -0
  665. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/file-utils.md +456 -0
  666. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/fixture-architecture.md +401 -0
  667. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/fixtures-composition.md +385 -0
  668. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/intercept-network-call.md +426 -0
  669. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/library-integration-mandate.md +93 -0
  670. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/log.md +432 -0
  671. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/maestro-flows.md +540 -0
  672. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/mobile-ci-device-lab.md +208 -0
  673. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/mobile-test-strategy.md +127 -0
  674. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/network-error-monitor.md +402 -0
  675. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/network-first.md +486 -0
  676. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/network-recorder.md +527 -0
  677. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/nfr-criteria.md +670 -0
  678. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/overview.md +290 -0
  679. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pact-broker-webhooks.md +237 -0
  680. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pact-consumer-di.md +310 -0
  681. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  682. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pact-mcp.md +242 -0
  683. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  684. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-mandate.md +204 -0
  685. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-overview.md +219 -0
  686. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  687. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  688. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  689. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/playwright-cli.md +280 -0
  690. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/playwright-config.md +734 -0
  691. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/playwright-utils-mandate.md +183 -0
  692. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/probability-impact.md +593 -0
  693. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/recurse.md +433 -0
  694. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/risk-governance.md +625 -0
  695. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/selective-testing.md +732 -0
  696. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/selector-resilience.md +527 -0
  697. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/test-healing-patterns.md +644 -0
  698. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/test-levels-framework.md +473 -0
  699. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/test-priorities-matrix.md +382 -0
  700. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/test-quality.md +848 -0
  701. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/timing-debugging.md +464 -0
  702. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/visual-debugging.md +527 -0
  703. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-module-setup.md +122 -0
  704. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-providers.md +155 -0
  705. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-risk-guidance.md +114 -0
  706. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-template-matchers.md +160 -0
  707. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  708. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-timeout-error.md +130 -0
  709. package/src/workflows/testarch/froid-testarch-test-review/resources/knowledge/webhook-waiting-querying.md +167 -0
  710. package/src/workflows/testarch/froid-testarch-test-review/resources/tea-index.csv +60 -0
  711. package/src/workflows/testarch/froid-testarch-test-review/resources/test-review.example.md +297 -0
  712. package/src/workflows/testarch/froid-testarch-test-review/steps-c/criteria-registry.md +230 -0
  713. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-01-load-context.md +236 -0
  714. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-01b-resume.md +104 -0
  715. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-02-discover-tests.md +271 -0
  716. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03-quality-evaluation.md +296 -0
  717. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03a-subagent-determinism.md +336 -0
  718. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03b-subagent-isolation.md +142 -0
  719. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03c-subagent-maintainability.md +173 -0
  720. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03e-subagent-performance.md +145 -0
  721. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-03f-aggregate-scores.md +409 -0
  722. package/src/workflows/testarch/froid-testarch-test-review/steps-c/step-04-generate-report.md +122 -0
  723. package/src/workflows/testarch/froid-testarch-test-review/steps-e/step-01-assess.md +65 -0
  724. package/src/workflows/testarch/froid-testarch-test-review/steps-e/step-02-apply-edit.md +68 -0
  725. package/src/workflows/testarch/froid-testarch-test-review/steps-v/step-01-validate.md +85 -0
  726. package/src/workflows/testarch/froid-testarch-test-review/test-review-template.md +469 -0
  727. package/src/workflows/testarch/froid-testarch-test-review/workflow.yaml +55 -0
  728. package/src/workflows/testarch/froid-testarch-trace/SKILL.md +87 -0
  729. package/src/workflows/testarch/froid-testarch-trace/checklist.md +677 -0
  730. package/src/workflows/testarch/froid-testarch-trace/customize.toml +38 -0
  731. package/src/workflows/testarch/froid-testarch-trace/instructions.md +45 -0
  732. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/adr-quality-readiness-checklist.md +377 -0
  733. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/api-request.md +572 -0
  734. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/api-testing-patterns.md +931 -0
  735. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/auth-session.md +553 -0
  736. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/burn-in.md +273 -0
  737. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/ci-burn-in.md +717 -0
  738. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/component-tdd.md +522 -0
  739. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/confidence-gate.md +73 -0
  740. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/contract-testing.md +1066 -0
  741. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/data-factories.md +539 -0
  742. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/email-auth.md +721 -0
  743. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/error-handling.md +725 -0
  744. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/evidence-integrity.md +265 -0
  745. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/feature-flags.md +750 -0
  746. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/file-utils.md +456 -0
  747. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/fixture-architecture.md +401 -0
  748. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/fixtures-composition.md +385 -0
  749. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/intercept-network-call.md +426 -0
  750. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/library-integration-mandate.md +93 -0
  751. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/log.md +432 -0
  752. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/maestro-flows.md +540 -0
  753. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/mobile-ci-device-lab.md +208 -0
  754. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/mobile-test-strategy.md +127 -0
  755. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/network-error-monitor.md +402 -0
  756. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/network-first.md +486 -0
  757. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/network-recorder.md +527 -0
  758. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/nfr-criteria.md +670 -0
  759. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/overview.md +290 -0
  760. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pact-broker-webhooks.md +237 -0
  761. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pact-consumer-di.md +310 -0
  762. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pact-consumer-framework-setup.md +704 -0
  763. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pact-mcp.md +242 -0
  764. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-consumer-helpers.md +379 -0
  765. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-mandate.md +204 -0
  766. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-overview.md +219 -0
  767. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-provider-verifier.md +397 -0
  768. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-request-filter.md +224 -0
  769. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/pactjs-utils-zod-to-pact.md +262 -0
  770. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/playwright-cli.md +280 -0
  771. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/playwright-config.md +734 -0
  772. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/playwright-utils-mandate.md +183 -0
  773. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/probability-impact.md +593 -0
  774. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/recurse.md +433 -0
  775. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/risk-governance.md +625 -0
  776. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/selective-testing.md +732 -0
  777. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/selector-resilience.md +527 -0
  778. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/test-healing-patterns.md +644 -0
  779. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/test-levels-framework.md +473 -0
  780. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/test-priorities-matrix.md +382 -0
  781. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/test-quality.md +848 -0
  782. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/timing-debugging.md +464 -0
  783. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/visual-debugging.md +527 -0
  784. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-module-setup.md +122 -0
  785. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-providers.md +155 -0
  786. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-risk-guidance.md +114 -0
  787. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-template-matchers.md +160 -0
  788. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-testing-fundamentals.md +42 -0
  789. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-timeout-error.md +130 -0
  790. package/src/workflows/testarch/froid-testarch-trace/resources/knowledge/webhook-waiting-querying.md +167 -0
  791. package/src/workflows/testarch/froid-testarch-trace/resources/live-verification-results.example.json +37 -0
  792. package/src/workflows/testarch/froid-testarch-trace/resources/tea-index.csv +60 -0
  793. package/src/workflows/testarch/froid-testarch-trace/resources/traceability-matrix.example.md +346 -0
  794. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-01-load-context.md +166 -0
  795. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-01b-resume.md +102 -0
  796. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-02-discover-tests.md +292 -0
  797. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-03-map-criteria.md +149 -0
  798. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-04-analyze-gaps.md +795 -0
  799. package/src/workflows/testarch/froid-testarch-trace/steps-c/step-05-gate-decision.md +795 -0
  800. package/src/workflows/testarch/froid-testarch-trace/steps-e/step-01-assess.md +65 -0
  801. package/src/workflows/testarch/froid-testarch-trace/steps-e/step-02-apply-edit.md +68 -0
  802. package/src/workflows/testarch/froid-testarch-trace/steps-v/step-01-validate.md +85 -0
  803. package/src/workflows/testarch/froid-testarch-trace/trace-template.md +716 -0
  804. package/src/workflows/testarch/froid-testarch-trace/workflow.yaml +98 -0
  805. package/test/README.md +57 -0
  806. package/test/eval-all.js +213 -0
  807. package/test/eval-fragment-selection.js +521 -0
  808. package/test/eval-test-review.js +525 -0
  809. package/test/evals/froid-testarch-atdd/evals.json +98 -0
  810. package/test/evals/froid-testarch-automate/evals.json +198 -0
  811. package/test/evals/froid-testarch-ci/evals.json +78 -0
  812. package/test/evals/froid-testarch-framework/evals.json +111 -0
  813. package/test/evals/froid-testarch-nfr/evals.json +78 -0
  814. package/test/evals/froid-testarch-test-design/evals.json +136 -0
  815. package/test/evals/froid-testarch-test-review/evals.json +76 -0
  816. package/test/evals/froid-testarch-trace/evals.json +62 -0
  817. package/test/fixtures/agent-schema/invalid/critical-actions/actions-as-string.agent.yaml +27 -0
  818. package/test/fixtures/agent-schema/invalid/critical-actions/empty-string-in-actions.agent.yaml +30 -0
  819. package/test/fixtures/agent-schema/invalid/menu/empty-menu.agent.yaml +22 -0
  820. package/test/fixtures/agent-schema/invalid/menu/missing-menu.agent.yaml +20 -0
  821. package/test/fixtures/agent-schema/invalid/menu-commands/empty-command-target.agent.yaml +25 -0
  822. package/test/fixtures/agent-schema/invalid/menu-commands/no-command-target.agent.yaml +24 -0
  823. package/test/fixtures/agent-schema/invalid/menu-triggers/camel-case.agent.yaml +25 -0
  824. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +25 -0
  825. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +25 -0
  826. package/test/fixtures/agent-schema/invalid/menu-triggers/duplicate-triggers.agent.yaml +31 -0
  827. package/test/fixtures/agent-schema/invalid/menu-triggers/empty-trigger.agent.yaml +25 -0
  828. package/test/fixtures/agent-schema/invalid/menu-triggers/leading-asterisk.agent.yaml +25 -0
  829. package/test/fixtures/agent-schema/invalid/menu-triggers/snake-case.agent.yaml +25 -0
  830. package/test/fixtures/agent-schema/invalid/menu-triggers/trigger-with-spaces.agent.yaml +25 -0
  831. package/test/fixtures/agent-schema/invalid/metadata/empty-module-string.agent.yaml +26 -0
  832. package/test/fixtures/agent-schema/invalid/metadata/empty-name.agent.yaml +24 -0
  833. package/test/fixtures/agent-schema/invalid/metadata/extra-metadata-fields.agent.yaml +27 -0
  834. package/test/fixtures/agent-schema/invalid/metadata/missing-id.agent.yaml +23 -0
  835. package/test/fixtures/agent-schema/invalid/persona/empty-principles-array.agent.yaml +24 -0
  836. package/test/fixtures/agent-schema/invalid/persona/empty-string-in-principles.agent.yaml +27 -0
  837. package/test/fixtures/agent-schema/invalid/persona/extra-persona-fields.agent.yaml +27 -0
  838. package/test/fixtures/agent-schema/invalid/persona/missing-role.agent.yaml +24 -0
  839. package/test/fixtures/agent-schema/invalid/prompts/empty-content.agent.yaml +29 -0
  840. package/test/fixtures/agent-schema/invalid/prompts/extra-prompt-fields.agent.yaml +31 -0
  841. package/test/fixtures/agent-schema/invalid/prompts/missing-content.agent.yaml +28 -0
  842. package/test/fixtures/agent-schema/invalid/prompts/missing-id.agent.yaml +28 -0
  843. package/test/fixtures/agent-schema/invalid/top-level/empty-file.agent.yaml +5 -0
  844. package/test/fixtures/agent-schema/invalid/top-level/extra-top-level-keys.agent.yaml +28 -0
  845. package/test/fixtures/agent-schema/invalid/top-level/missing-agent-key.agent.yaml +11 -0
  846. package/test/fixtures/agent-schema/invalid/yaml-errors/invalid-indentation.agent.yaml +19 -0
  847. package/test/fixtures/agent-schema/invalid/yaml-errors/malformed-yaml.agent.yaml +18 -0
  848. package/test/fixtures/agent-schema/valid/critical-actions/empty-critical-actions.agent.yaml +24 -0
  849. package/test/fixtures/agent-schema/valid/critical-actions/no-critical-actions.agent.yaml +22 -0
  850. package/test/fixtures/agent-schema/valid/critical-actions/valid-critical-actions.agent.yaml +27 -0
  851. package/test/fixtures/agent-schema/valid/menu/multiple-menu-items.agent.yaml +31 -0
  852. package/test/fixtures/agent-schema/valid/menu/single-menu-item.agent.yaml +22 -0
  853. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +38 -0
  854. package/test/fixtures/agent-schema/valid/menu-commands/multiple-commands.agent.yaml +24 -0
  855. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +31 -0
  856. package/test/fixtures/agent-schema/valid/menu-triggers/kebab-case-triggers.agent.yaml +34 -0
  857. package/test/fixtures/agent-schema/valid/metadata/core-agent-with-module.agent.yaml +24 -0
  858. package/test/fixtures/agent-schema/valid/metadata/empty-module-name-in-path.agent.yaml +24 -0
  859. package/test/fixtures/agent-schema/valid/metadata/malformed-path-treated-as-core.agent.yaml +24 -0
  860. package/test/fixtures/agent-schema/valid/metadata/module-agent-correct.agent.yaml +24 -0
  861. package/test/fixtures/agent-schema/valid/metadata/module-agent-missing-module.agent.yaml +23 -0
  862. package/test/fixtures/agent-schema/valid/metadata/wrong-module-value.agent.yaml +24 -0
  863. package/test/fixtures/agent-schema/valid/persona/complete-persona.agent.yaml +24 -0
  864. package/test/fixtures/agent-schema/valid/prompts/empty-prompts.agent.yaml +24 -0
  865. package/test/fixtures/agent-schema/valid/prompts/no-prompts.agent.yaml +22 -0
  866. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-minimal.agent.yaml +28 -0
  867. package/test/fixtures/agent-schema/valid/prompts/valid-prompts-with-description.agent.yaml +30 -0
  868. package/test/fixtures/agent-schema/valid/top-level/minimal-core-agent.agent.yaml +24 -0
  869. package/test/fixtures/test-review-cli/project/_froid/tea/workflows/testarch/froid-testarch-test-review/SKILL.md +1 -0
  870. package/test/fixtures/test-review-cli/project-claude/.claude/skills/froid-testarch-test-review/SKILL.md +1 -0
  871. package/test/fixtures/test-review-cli/project-empty/.gitkeep +0 -0
  872. package/test/fixtures/test-review-cli/reports/approve-low-score.md +54 -0
  873. package/test/fixtures/test-review-cli/reports/approve-with-high.md +61 -0
  874. package/test/fixtures/test-review-cli/reports/approve.md +54 -0
  875. package/test/fixtures/test-review-cli/reports/bad-value.md +38 -0
  876. package/test/fixtures/test-review-cli/reports/block.md +102 -0
  877. package/test/fixtures/test-review-cli/reports/bonus-not-multiple.md +71 -0
  878. package/test/fixtures/test-review-cli/reports/colon-in-bold.md +51 -0
  879. package/test/fixtures/test-review-cli/reports/conflicting.md +38 -0
  880. package/test/fixtures/test-review-cli/reports/context-basis-without-manifest.md +61 -0
  881. package/test/fixtures/test-review-cli/reports/context-none-with-manifest.md +66 -0
  882. package/test/fixtures/test-review-cli/reports/context-overlaps-reviewed.md +67 -0
  883. package/test/fixtures/test-review-cli/reports/context-pr-diff.md +86 -0
  884. package/test/fixtures/test-review-cli/reports/convention-baseline-unavailable.md +61 -0
  885. package/test/fixtures/test-review-cli/reports/convention-fabricated.md +62 -0
  886. package/test/fixtures/test-review-cli/reports/convention-honest-absent.md +61 -0
  887. package/test/fixtures/test-review-cli/reports/critical-approve.md +38 -0
  888. package/test/fixtures/test-review-cli/reports/duplicate-breakdown-heading.md +87 -0
  889. package/test/fixtures/test-review-cli/reports/empty-steps-flow.md +56 -0
  890. package/test/fixtures/test-review-cli/reports/fenced-recommendation.md +59 -0
  891. package/test/fixtures/test-review-cli/reports/key-strengths-weaknesses.md +72 -0
  892. package/test/fixtures/test-review-cli/reports/lowercase.md +53 -0
  893. package/test/fixtures/test-review-cli/reports/malformed.md +12 -0
  894. package/test/fixtures/test-review-cli/reports/missing-breakdown.md +46 -0
  895. package/test/fixtures/test-review-cli/reports/missing-context-basis.md +59 -0
  896. package/test/fixtures/test-review-cli/reports/missing-decision.md +53 -0
  897. package/test/fixtures/test-review-cli/reports/missing-frontmatter.md +45 -0
  898. package/test/fixtures/test-review-cli/reports/missing-reviewed-files.md +49 -0
  899. package/test/fixtures/test-review-cli/reports/missing-score.md +52 -0
  900. package/test/fixtures/test-review-cli/reports/missing-violations.md +36 -0
  901. package/test/fixtures/test-review-cli/reports/plain-bullets-key-strengths.md +62 -0
  902. package/test/fixtures/test-review-cli/reports/request-changes-critical.md +98 -0
  903. package/test/fixtures/test-review-cli/reports/request-changes.md +91 -0
  904. package/test/fixtures/test-review-cli/reports/score-140.md +38 -0
  905. package/test/fixtures/test-review-cli/reports/score-mismatch.md +57 -0
  906. package/test/fixtures/test-review-cli/reports/table-breakdown.md +65 -0
  907. package/test/fixtures/test-review-cli/reports/wrapped-steps-flow.md +58 -0
  908. package/test/fixtures/test-review-cli/stub-agent.js +398 -0
  909. package/test/fixtures/test-review-eval/clean/profile.spec.ts +36 -0
  910. package/test/fixtures/test-review-eval/ground-truth.json +60 -0
  911. package/test/fixtures/test-review-eval/seeded/checkout.spec.ts +42 -0
  912. package/test/fixtures/test-review-eval/seeded/orders.service.spec.ts +40 -0
  913. package/test/schema/agent.js +491 -0
  914. package/test/test-agent-schema.js +387 -0
  915. package/test/test-enforce-hook.js +413 -0
  916. package/test/test-installation-components.js +510 -0
  917. package/test/test-knowledge-base.js +445 -0
  918. package/test/test-release-metadata.js +71 -0
  919. package/test/test-stamp-changelog.js +102 -0
  920. package/test/test-test-review-cli.js +4830 -0
  921. package/tools/build-docs.js +575 -0
  922. package/tools/fix-doc-links.js +288 -0
  923. package/tools/schema/agent.js +491 -0
  924. package/tools/stamp-changelog.js +123 -0
  925. package/tools/validate-agent-schema.js +284 -0
  926. package/tools/validate-criteria-fragments.js +446 -0
  927. package/tools/validate-doc-links.js +440 -0
  928. package/tools/validate-tea-workflow-descriptions.js +123 -0
  929. package/website/README.md +137 -0
  930. package/website/astro.config.mjs +189 -0
  931. package/website/package-lock.json +6856 -0
  932. package/website/package.json +24 -0
  933. package/website/public/favicon.ico +0 -0
  934. package/website/public/img/tea-logo.svg +7 -0
  935. package/website/public/robots.txt +37 -0
  936. package/website/src/components/Banner.astro +74 -0
  937. package/website/src/components/Header.astro +121 -0
  938. package/website/src/components/MobileMenuFooter.astro +53 -0
  939. package/website/src/content/config.ts +6 -0
  940. package/website/src/lib/site-url.js +25 -0
  941. package/website/src/pages/404.astro +11 -0
  942. package/website/src/rehype-base-paths.js +89 -0
  943. package/website/src/rehype-markdown-links.js +117 -0
  944. package/website/src/styles/custom.css +518 -0
  945. package/website/tsconfig.json +9 -0
@@ -0,0 +1,540 @@
1
+ # Maestro Flow Patterns
2
+
3
+ ## Principle
4
+
5
+ A Maestro flow is a declarative YAML sequence run against a real app on a simulator, emulator, or device. Flows must be **self-contained** (each starts from a known app state via `clearState`), **selector-resilient** (accessibility identifiers before visible text, visible text before index), and **assertion-bearing** (a flow that only taps and never asserts proves nothing).
6
+
7
+ ## Rationale
8
+
9
+ **The Problem**: Mobile UI automation fails differently from browser automation. There is no DOM to query, no network layer to intercept from inside the test, and no single "page loaded" event. The common failure modes are index-based taps that break when a list reorders, hardcoded sleeps standing in for real synchronization, and flows that navigate through five screens without asserting anything, so they pass while the feature is broken.
10
+
11
+ **The Solution**: Maestro already retries and waits on element lookup, so explicit sleeps are almost always a workaround for a missing assertion. Anchor every step on a stable identifier, assert the state you navigated to reach, and reset app state at the start of each flow rather than relying on the flow that ran before it.
12
+
13
+ **Why This Matters**:
14
+
15
+ - Flows survive UI reordering and copy changes (identifier-first selection)
16
+ - Flows fail for the real reason instead of timing out three screens later
17
+ - Flows can run in any order and in parallel (state isolation)
18
+ - A green run means the behavior works, not that the taps landed somewhere
19
+
20
+ ## Pattern Examples
21
+
22
+ ### Example 1: Flow Structure and State Isolation
23
+
24
+ **Context**: Every flow declares its app and resets state before the first interaction.
25
+
26
+ **Implementation**:
27
+
28
+ ```yaml
29
+ # maestro/login-success.yaml
30
+ appId: com.example.app
31
+ name: Login with valid credentials
32
+ tags:
33
+ - P0
34
+ - auth
35
+ ---
36
+ - clearState # isolation: no leftover session from a prior flow
37
+ - clearKeychain
38
+ - launchApp
39
+
40
+ - assertVisible:
41
+ id: 'login_screen_title'
42
+
43
+ - tapOn:
44
+ id: 'email_input'
45
+ - inputText: 'user@example.com'
46
+
47
+ - tapOn:
48
+ id: 'password_input'
49
+ - inputText: '${MAESTRO_TEST_PASSWORD}' # never hardcode a credential
50
+
51
+ - tapOn:
52
+ id: 'login_submit_button'
53
+
54
+ # assert the outcome, not just that the tap happened
55
+ - assertVisible:
56
+ id: 'home_dashboard'
57
+ - assertVisible:
58
+ text: 'Welcome back'
59
+ ```
60
+
61
+ **Key points**:
62
+
63
+ - `clearState` before `launchApp` makes the flow independent of execution order
64
+ - `id` refers to the accessibility identifier (`testID` in React Native, `accessibilityIdentifier` on iOS, `resource-id` on Android)
65
+ - The flow ends on an assertion about the destination state
66
+
67
+ ### Example 2: Selector Hierarchy
68
+
69
+ **Context**: Choosing the most resilient way to address an element.
70
+
71
+ **Implementation**:
72
+
73
+ ```yaml
74
+ # ✅ Level 1: accessibility identifier (survives copy and layout changes)
75
+ - tapOn:
76
+ id: 'checkout_submit_button'
77
+
78
+ # ✅ Level 2: visible text, when no identifier exists and the copy is stable
79
+ - tapOn:
80
+ text: 'Place order'
81
+
82
+ # ✅ Level 3: text with a scoping container, for repeated labels
83
+ - tapOn:
84
+ text: 'Remove'
85
+ below:
86
+ text: 'Blue running shoes'
87
+
88
+ # ⚠️ Level 4: regex, for dynamic content
89
+ - assertVisible:
90
+ text: 'Order #\d+ confirmed'
91
+
92
+ # ❌ Avoid: positional index breaks the moment the list reorders
93
+ - tapOn:
94
+ index: 2
95
+ text: 'Item'
96
+
97
+ # ❌ Avoid: absolute coordinates break on every other screen size
98
+ - tapOn:
99
+ point: '50%,73%'
100
+ ```
101
+
102
+ **Rule**: `id` > `text` > scoped `text` (`below`/`above`/`leftOf`/`rightOf`/`containsChild`) > regex. Index and point coordinates are last resorts and must carry a comment explaining why nothing better exists.
103
+
104
+ ### Example 3: Synchronization Without Sleeps
105
+
106
+ **Context**: Waiting for an async result (network call, animation, background job).
107
+
108
+ **Implementation**:
109
+
110
+ ```yaml
111
+ # ❌ Wrong: a fixed sleep is either flaky or slow, and usually both
112
+ - tapOn:
113
+ id: 'sync_button'
114
+ - sleep: 5000
115
+ - assertVisible:
116
+ id: 'sync_complete_badge'
117
+
118
+ # ✅ Right: wait for the condition that actually matters
119
+ - tapOn:
120
+ id: 'sync_button'
121
+ - extendedWaitUntil:
122
+ visible:
123
+ id: 'sync_complete_badge'
124
+ timeout: 30000
125
+
126
+ # ✅ Right: assert the negative case explicitly
127
+ - extendedWaitUntil:
128
+ notVisible:
129
+ id: 'loading_spinner'
130
+ timeout: 10000
131
+ - assertVisible:
132
+ id: 'results_list'
133
+ ```
134
+
135
+ **Key points**:
136
+
137
+ - `extendedWaitUntil` with an explicit `timeout` states the real service-level expectation
138
+ - Maestro's default element lookup already retries; a bare `sleep` on top of that hides the actual wait condition
139
+ - A long timeout on a specific condition is honest. A long `sleep` is not.
140
+
141
+ ### Example 4: Composition and Reuse
142
+
143
+ **Context**: Login is a precondition for a dozen flows and must not be copy-pasted.
144
+
145
+ **Implementation**:
146
+
147
+ ```yaml
148
+ # maestro/subflows/login.yaml
149
+ appId: com.example.app
150
+ ---
151
+ - tapOn:
152
+ id: 'email_input'
153
+ - inputText: ${EMAIL}
154
+ - tapOn:
155
+ id: 'password_input'
156
+ - inputText: ${PASSWORD}
157
+ - tapOn:
158
+ id: 'login_submit_button'
159
+ - assertVisible:
160
+ id: 'home_dashboard'
161
+ ```
162
+
163
+ ```yaml
164
+ # maestro/checkout-happy-path.yaml
165
+ appId: com.example.app
166
+ name: Checkout with a saved card
167
+ tags:
168
+ - P0
169
+ - checkout
170
+ ---
171
+ - clearState
172
+ - launchApp
173
+ - runFlow:
174
+ file: subflows/login.yaml
175
+ env:
176
+ EMAIL: 'user@example.com'
177
+ PASSWORD: ${MAESTRO_TEST_PASSWORD}
178
+
179
+ - tapOn:
180
+ id: 'product_card_0'
181
+ - tapOn:
182
+ id: 'add_to_cart_button'
183
+ - assertVisible:
184
+ text: 'Added to cart'
185
+ ```
186
+
187
+ **Key points**:
188
+
189
+ - Subflows are the mobile equivalent of a fixture: one owner, many consumers
190
+ - Pass data through `env` rather than baking values into the subflow
191
+ - Keep subflows in a dedicated directory so a flow-count metric does not treat them as tests
192
+
193
+ ### Example 5: Conditional and Platform-Specific Steps
194
+
195
+ **Context**: A permission dialog appears on a first run, and only on one platform.
196
+
197
+ **Implementation**:
198
+
199
+ ```yaml
200
+ - launchApp
201
+
202
+ # Handle an optional dialog without failing when it is absent
203
+ - runFlow:
204
+ when:
205
+ visible:
206
+ id: 'com.android.permissioncontroller:id/permission_allow_button'
207
+ commands:
208
+ - tapOn:
209
+ id: 'com.android.permissioncontroller:id/permission_allow_button'
210
+
211
+ # Platform-specific branch
212
+ - runFlow:
213
+ when:
214
+ platform: iOS
215
+ commands:
216
+ - tapOn: 'Allow While Using App'
217
+ ```
218
+
219
+ **Key points**:
220
+
221
+ - `runFlow: when:` is the supported way to express "only if present"
222
+ - Do not wrap a genuinely required assertion in a `when:` guard; that converts a real failure into a silent skip
223
+
224
+ ### Example 6: Commands Whose Behavior Is Not What the Name Suggests
225
+
226
+ **Context**: Four commands that read as cross-platform and are not, each of which has produced a flow that passed while proving nothing.
227
+
228
+ **Implementation**:
229
+
230
+ ```yaml
231
+ # ❌ `back` is documented for Android and Web only. The iOS driver's back
232
+ # implementation is an empty method: it does nothing and still reports COMPLETED,
233
+ # so a flow that pops a screen this way silently no-ops on one platform.
234
+ - back
235
+ - assertVisible:
236
+ id: 'previous_screen_root'
237
+
238
+ # ✅ Split it. Android gets the system gesture; iOS gets the app's own control.
239
+ - runFlow:
240
+ when:
241
+ platform: Android
242
+ commands:
243
+ - back
244
+ - runFlow:
245
+ when:
246
+ platform: iOS
247
+ commands:
248
+ - tapOn:
249
+ id: 'nav_back_button'
250
+ - assertVisible:
251
+ id: 'previous_screen_root'
252
+ ```
253
+
254
+ ```yaml
255
+ # ❌ On Android `hideKeyboard` is documented as identical to `back`, implemented
256
+ # as the system back key event. In React Native that also fires a Modal's
257
+ # onRequestClose, so this closes the dialog the flow is trying to fill in.
258
+ - inputText: 'user@example.com'
259
+ - hideKeyboard
260
+ - tapOn:
261
+ id: 'dialog_submit_button' # gone; the modal was dismissed
262
+
263
+ # ✅ The documented workaround, and it happens to be cross-platform: dismiss the
264
+ # keyboard by tapping something that does not respond to taps.
265
+ - inputText: 'user@example.com'
266
+ - tapOn:
267
+ id: 'dialog_title' # non-interactive element
268
+ - tapOn:
269
+ id: 'dialog_submit_button'
270
+ ```
271
+
272
+ ```yaml
273
+ # ❌ `index` counts CURRENTLY-RENDERED matches, not items in the underlying list.
274
+ # Under React Native list virtualization the mapping drifts with scroll position
275
+ # and viewport, so this taps a different row on a different device.
276
+ - tapOn:
277
+ text: 'Order .*'
278
+ index: 3
279
+
280
+ # ✅ Address the item by what makes it that item
281
+ - tapOn:
282
+ id: 'order_row_${ORDER_ID}'
283
+ # or scope relationally when no id exists
284
+ - tapOn:
285
+ text: 'View'
286
+ below:
287
+ text: 'Order #10432'
288
+ ```
289
+
290
+ ```yaml
291
+ # `point` is a sanctioned escape hatch for an element that is genuinely not in the
292
+ # accessibility tree (a canvas, a map overlay, a video surface). The docs warn it
293
+ # is device-dependent, and percentage coordinates rot as soon as the device
294
+ # profile changes. Use it only with the reason written down.
295
+ - tapOn:
296
+ point: '50%,73%' # map canvas: no accessibility node exists for the pin
297
+ ```
298
+
299
+ ```yaml
300
+ # `scrollUntilVisible` travels in ONE direction (default `DOWN`, 20s timeout, and a
301
+ # 100% visibility threshold) and stops where it stopped. A later search for an
302
+ # element ABOVE the current position keeps scrolling down and times out, which
303
+ # reads as "element missing" rather than "wrong direction".
304
+ - scrollUntilVisible:
305
+ element:
306
+ id: 'garment_row_9'
307
+ - scrollUntilVisible:
308
+ element:
309
+ id: 'garment_row_1' # already scrolled past; this fails as if the row were gone
310
+
311
+ # ✅ Name the direction, or return to a known position before searching again
312
+ - scrollUntilVisible:
313
+ element:
314
+ id: 'garment_row_1'
315
+ direction: UP
316
+ ```
317
+
318
+ **Waiting, precisely**:
319
+
320
+ - Assertions carry a **default timeout of about 7 seconds**. `extendedWaitUntil` is the sanctioned way to ask for longer, and it names the condition while doing so.
321
+ - **There is no "wait until the app is ready" command.** The documented idiom is to wait on the first piece of the app's own chrome that paints. A flow that waits on a launch marker the app never renders will wait for the full timeout and then fail somewhere unrelated.
322
+ - `waitForAnimationToEnd` defaults to a 15-second cap and **succeeds when that cap is reached**, so a bare use of it cannot fail the flow. That makes it safe as a settle step and useless as an assertion.
323
+ - Wrapping a large part of a flow in `retry` is an anti-pattern in the documentation's own words, and the retry count is capped at a small number. Retry a genuinely nondeterministic step, never a journey.
324
+
325
+ **Key points**:
326
+
327
+ - Before relying on a command across platforms, check its documented platform support; "runs without error" is not the same claim as "did something"
328
+ - A command that reports COMPLETED while doing nothing turns every assertion downstream of it into decoration
329
+ - Prefer commands whose failure is observable over commands whose success is unconditional
330
+
331
+ ### Example 7: `text:` Selectors Are Regular Expressions
332
+
333
+ **Context**: An assertion that reads exactly like the label on screen and could never have matched it.
334
+
335
+ **Implementation**:
336
+
337
+ ```yaml
338
+ # ❌ Every `text:` value is a regex, and it must match the element's ENTIRE text.
339
+ # The parentheses here are a capture group, so this pattern demands the literal
340
+ # string `Garments 2 of <anything> selected`, while the label on screen reads
341
+ # `Garments (2 of 10 selected)`. It could not have matched at any selection count.
342
+ - assertVisible:
343
+ text: 'Garments (2 of .* selected)'
344
+
345
+ # ✅ Escape the characters that are literal
346
+ - assertVisible:
347
+ text: 'Garments \(2 of .* selected\)'
348
+
349
+ # ✅ Or match on the stable part, padded to cover the whole element
350
+ - assertVisible:
351
+ text: '.*2 of 10 selected.*'
352
+ ```
353
+
354
+ **Key points**:
355
+
356
+ - `(`, `)`, `[`, `]`, `.`, `*`, `+`, `?`, `|`, `{`, `}`, `^`, `$` are all pattern syntax inside a `text:` value. Any label containing one needs escaping.
357
+ - Matching is against the **entire** element text, so a substring that is plainly on screen still fails without `.*` on both sides.
358
+ - The defect is invisible in review, because the YAML reads as the sentence a human sees on screen. Add the pattern to whatever lint the repository can host, because human review is demonstrably not the control that catches it.
359
+ - **Which direction it breaks depends on the command.** In `assertVisible` the impossible pattern fails after the default timeout and reads as a missing element, sending the diagnosis at the app rather than at the selector. In `assertNotVisible` it passes unconditionally, which is a check that cannot fail: see `evidence-integrity.md`.
360
+
361
+ ### Example 8: A COMPLETED Tap Is Not a Handled Tap
362
+
363
+ **Context**: A checkbox in a virtualized list. Maestro reported the tap COMPLETED and the app never saw it.
364
+
365
+ Measured in isolation: the tap completed in 2.4 seconds, the target was present at `[45,1807][1035,1924]` with `clickable=true`, nothing sat above it in the hierarchy at the point tapped, and the count label still read `0 of 10` ten seconds later. `tapOn` reports COMPLETED once it has resolved the element and dispatched a touch, so its status describes the driver's action and not the app's response. One passing run recorded five taps for two selections, which makes the loss frequent rather than exotic.
366
+
367
+ **The mechanism is not established.** Those measurements rule out a missing element and an occluding overlay; they do not say where between the driver and the app's handler the touch went. Gesture-responder interaction with a list that has visually stopped moving is a plausible candidate and has not been tested. Treat that as an open question rather than a cause, and treat the pattern below as what it is: a countermeasure that keeps the flow honest while the cause is unknown, per the `evidence-integrity.md` rule that a stated mechanism is a claim needing a source.
368
+
369
+ **Implementation**:
370
+
371
+ ```yaml
372
+ # ❌ The tap's status is not evidence that the state changed, and a single
373
+ # assertion at the end cannot say WHICH tap was lost.
374
+ - tapOn:
375
+ id: 'garment_checkbox_0'
376
+ - tapOn:
377
+ id: 'garment_checkbox_1'
378
+ - assertVisible:
379
+ text: '.*2 of 10 selected.*'
380
+
381
+ # ✅ Pair each tap with the assertion that proves it landed, inside a small retry.
382
+ # The assertion is a real one, so a genuinely broken selection still fails.
383
+ - retry:
384
+ maxRetries: 3
385
+ commands:
386
+ - tapOn:
387
+ id: 'garment_checkbox_0'
388
+ - assertVisible:
389
+ text: '.*1 of 10 selected.*'
390
+ - retry:
391
+ maxRetries: 3
392
+ commands:
393
+ - tapOn:
394
+ id: 'garment_checkbox_1'
395
+ - assertVisible:
396
+ text: '.*2 of 10 selected.*'
397
+ ```
398
+
399
+ **Key points**:
400
+
401
+ - `retry` takes `maxRetries` between `0` and `3`, defaulting to `1`. Retrying one nondeterministic step is the sanctioned use; the documentation calls wrapping a large part of a flow an anti-pattern, and wrapping the entire flow explicitly unpredictable.
402
+ - **Assert per action, not once at the end.** An end-of-sequence assertion cannot name which tap was lost, and that ambiguity is what produces a confident wrong first hypothesis.
403
+ - The retry does not weaken the check. The assertion inside it has to pass on its own, so what the retry absorbs is a lost touch, which is a property of the driver rather than of the app.
404
+ - If a step routinely needs its retry to land, that is a finding about the driver or the list, not an ordinary step. Record it rather than letting the retry hide it.
405
+
406
+ ### Example 9: Visible Means Inside the Viewport, Not Present in the Hierarchy
407
+
408
+ **Context**: An element that is rendered, correct, and below the fold. `assertVisible` fails on it.
409
+
410
+ `assertVisible` and `extendedWaitUntil: visible` require the element to be **on screen**, not merely present in the view tree. An element in a scrolling section that has not been scrolled to is present, correct, and not visible, and the failure reads as "the feature is broken" rather than "the flow never scrolled".
411
+
412
+ **Implementation**:
413
+
414
+ ```yaml
415
+ # ❌ Latent screen-height dependency: passes on a tall device, fails on a short one
416
+ - extendedWaitUntil:
417
+ visible:
418
+ id: 'premium_unavailable'
419
+ timeout: 20000
420
+
421
+ # ✅ Scroll to what you assert on
422
+ - scrollUntilVisible:
423
+ element:
424
+ id: 'premium_unavailable'
425
+ - assertVisible:
426
+ id: 'premium_unavailable'
427
+ ```
428
+
429
+ **Key points**:
430
+
431
+ - **The diagnostic tell is cheap and decisive.** Dump the failing step's `screen-hierarchy` entry and look for the id. Present with bounds outside the screen is a scroll problem; absent is a different bug entirely. Checking this first is worth more than any hypothesis about the feature, and one investigation built three separate plausible mechanisms for such a failure (a remote flag answer, an unresolved dynamic import, a stuck initialization call) before two measurements killed all three and left the viewport.
432
+ - **Any `assertVisible` on an element inside a scrolling section is a screen-height dependency** until the flow scrolls to it. It will pass wherever it was written and fail on the first shorter device.
433
+ - This is the failure mode most likely to reproduce only in CI, because the runner's device profile is rarely the one the flow was written against. `mobile-ci-device-lab.md` carries the profile-parity rule.
434
+
435
+ ### Example 10: Assert the Change, Not a State That May Already Hold
436
+
437
+ **Context**: A deep-link flow named "Widget Deep Link Hydration" that opened a link and asserted the home screen's own container was visible. The container was there before the link, so the assertion held whether or not the link did anything. On one platform it did nothing, and the suite reported 18 of 18.
438
+
439
+ Two shapes are stacked here, and the second one catches people who have already fixed the first.
440
+
441
+ **Shape one: the assertion targets something that predates the action.** A container, a screen root, or a nav bar that was on screen before the step cannot be evidence that the step worked. The tell is that the flow's name describes an effect the assertions never mention.
442
+
443
+ **Shape two: the assertion targets the right thing, in a state the app might already be in.** Asserting "morning is selected" after a link that selects morning passes whenever morning is the default. The check is about the action but still cannot fail.
444
+
445
+ **Implementation**:
446
+
447
+ ```yaml
448
+ # ❌ Both shapes. The container predates the link, and even a corrected
449
+ # assertion on the default scenario would pass without the link doing anything.
450
+ - openLink: ${WIDGET_URL_AM}
451
+ - assertVisible:
452
+ id: 'scenario-toggles' # already on screen before the link
453
+
454
+ # ✅ Assert the transition. State the precondition, act, then assert both that
455
+ # the new state holds and that the old one no longer does. Every link in the
456
+ # flow has to earn its own pass this way, including the first.
457
+ - assertVisible:
458
+ id: 'scenario-toggle-morning'
459
+ selected: true # PRECONDITION, not the outcome: names the state moved FROM
460
+
461
+ - openLink: ${WIDGET_URL_EVENING}
462
+ - assertVisible:
463
+ id: 'scenario-toggle-evening'
464
+ selected: true
465
+ - assertNotVisible:
466
+ id: 'scenario-toggle-morning'
467
+ selected: true # the move is what proves this link was applied
468
+
469
+ - openLink: ${WIDGET_URL_AM}
470
+ - assertVisible:
471
+ id: 'scenario-toggle-morning'
472
+ selected: true
473
+ - assertNotVisible:
474
+ id: 'scenario-toggle-evening'
475
+ selected: true # and the second link proves itself the same way
476
+ ```
477
+
478
+ **Key points**:
479
+
480
+ - **Prefer asserting a change over asserting a state.** Where a single state is all you have, pick an input whose expected result differs from the app's default, so agreement with the default cannot carry the pass.
481
+ - **A precondition assertion is legitimate, and it is not the outcome.** Naming the state being moved from is what makes the following change meaningful, so mark it as a precondition and never let it stand in for proof that the action worked. Ordering the links so the first one also moves the selection is what stops the first step passing on the default, which is the trap the corrected block above is arranged to avoid.
482
+ - **Choose a deterministic input.** The same flow had link variants resolving from the current time and the day's forecast, which cannot be asserted without freezing the clock. Two other variants mapped fixed values straight through the same parse-route-apply path. Reach for the deterministic input rather than reaching for a clock stub: it exercises the identical code path and needs no test-only seam.
483
+ - `selected`, `checked`, `enabled`, and `focused` are documented state selectors and compose with `id` and `text` on `tapOn`, `assertVisible`, and `assertNotVisible`. `assertNotVisible` with a state selector is how "no longer selected" is expressed.
484
+ - **Check the syntax before the run.** `maestro check-syntax` validates flow files without a device, which is the cheap way to confirm a selector or field exists on the version you pin rather than discovering it in a red run.
485
+
486
+ ## Anti-Patterns
487
+
488
+ | Anti-pattern | Why it fails | Fix |
489
+ | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
490
+ | Flow with no `assertVisible`/`assertTrue` | Passes as long as taps land; proves nothing about behavior | Assert the destination state of every flow |
491
+ | `sleep` used as synchronization | Flaky under load, slow when not | `extendedWaitUntil` on the real condition |
492
+ | `tapOn: index:` on a list | Breaks when the list reorders or the backend returns a different order | Scope by `text` with `below`/`containsChild` |
493
+ | `tapOn: point:` coordinates | Breaks on a different screen size or density | Address the element by `id` |
494
+ | No `clearState` | Flow depends on whatever ran before it; unreproducible in isolation | `clearState` before `launchApp` |
495
+ | Hardcoded credential or PII | Leaks in the repo and in CI logs | `${ENV_VAR}` sourced from the CI secret store |
496
+ | One flow covering six user journeys | A failure names the flow, not the behavior; slow to diagnose | One journey per flow, composed from subflows |
497
+ | Required assertion inside `when:` | Turns a real failure into a silent pass | Guard only genuinely optional UI (permission dialogs, upsells) |
498
+ | `back` used as a cross-platform step | Documented for Android and Web only; on iOS it does nothing and reports COMPLETED | Split with `runFlow: when: platform:`; tap the app's own control on iOS |
499
+ | `hideKeyboard` with a modal open | The Android implementation is the system back key, which dismisses a React Native modal | Tap a non-interactive element to drop the keyboard |
500
+ | `optional: true` on the assertion that carries the outcome | The step cannot fail, so the flow reports coverage it does not have | Assert hard; reserve `optional` for genuinely optional UI |
501
+ | `waitForAnimationToEnd` used as a wait-for-content | It succeeds when its cap is reached, so it cannot fail | `extendedWaitUntil` on the content that must appear |
502
+ | Unescaped regex characters in a `text:` selector | The value is a regex matched against the element's entire text, so it can never pass | Escape literal `(`, `)`, `[`, `]`, `.`; pad partial matches with `.*` |
503
+ | Tap status treated as proof the app handled the tap | `tapOn` reports COMPLETED once the touch is dispatched, and touches do get lost | Pair each state-changing tap with its own assertion inside a `retry` |
504
+ | One assertion at the end of a tap sequence | Cannot name which tap was lost, so the first hypothesis is a guess | Assert after every action that changes state |
505
+ | `scrollUntilVisible` reused after an earlier search moved the list | It travels only in the direction given, so the second search scrolls away from the target | Name the opposite `direction`, or return to a known position first |
506
+ | `assertVisible` on an element inside a scrolling section, with no scroll | Visible means inside the viewport; the element is present, correct, and below the fold | `scrollUntilVisible` first, then assert |
507
+ | Assertion targets a container that predates the action | It was on screen before the step, so it cannot be evidence the step worked | Assert the action's own effect; the flow's name should name what it asserts |
508
+ | Assertion on a state the app may already be in | Passes whenever the expected value is the default, so the action is not under test | Assert the transition, or pick an input whose expected state differs from the default |
509
+ | Time- or forecast-dependent input in a flow assertion | The expected value cannot be stated without freezing the clock | Pick a deterministic input through the same code path |
510
+
511
+ ## Maestro Flow Checklist
512
+
513
+ Before merging a flow:
514
+
515
+ - [ ] **Isolated**: starts with `clearState` (or documents why it must not)
516
+ - [ ] **Asserts an outcome**: at least one `assertVisible`/`assertNotVisible`/`assertTrue` about the destination state
517
+ - [ ] **Identifier-first selectors**: `id` used wherever an accessibility identifier exists
518
+ - [ ] **No positional selection**: no bare `index:` or `point:` without a comment justifying it
519
+ - [ ] **No `sleep` as synchronization**: waits are `extendedWaitUntil` on a named condition with an explicit timeout
520
+ - [ ] **No secrets in the file**: credentials and tokens come from `${ENV}`
521
+ - [ ] **Single journey**: one user-visible outcome per flow, shared setup extracted to a subflow
522
+ - [ ] **Tagged by priority**: `P0`-`P3` tag present so CI can run the risk-appropriate subset
523
+ - [ ] **Runs on both target platforms**, or declares its platform branch explicitly
524
+ - [ ] **Cross-platform commands verified**: every command used on both platforms is documented for both, or split by `runFlow: when: platform:`
525
+ - [ ] **Every assertion can fail**: no `optional: true` on the assertion that carries the flow's outcome, and no assertion sitting downstream of a command that no-ops on that platform
526
+ - [ ] **`text:` selectors read as regex**: literal `(`, `)`, `[`, `]`, `.` escaped, and whole-element matching accounted for
527
+ - [ ] **Every state-changing tap has its own assertion**, rather than one assertion covering a sequence
528
+ - [ ] **`retry` scoped to a single step**, with `maxRetries` inside the documented 0-3 range
529
+ - [ ] **Nothing asserted below the fold**: every assertion on an element inside a scrolling section is preceded by a scroll to it
530
+ - [ ] **The assertion carrying the outcome post-dates its action**: a precondition assertion is allowed when it is labelled as one, and nothing already true before the step is presented as proof of it
531
+ - [ ] **Transitions asserted where possible**: a single-state assertion is justified only when the expected value differs from the default
532
+ - [ ] **Syntax checked**: `maestro check-syntax` run against the pinned version before the flow reaches a device
533
+
534
+ ## Integration Points
535
+
536
+ - **Used in workflows**: `*framework` (scaffold a Maestro suite), `*automate` (generate flows), `*atdd` (red-phase mobile acceptance flows), `*test-review` (score flow quality), `*ci` (device pipeline)
537
+ - **Related fragments**: `mobile-test-strategy.md` (what belongs in a flow at all), `mobile-ci-device-lab.md` (the build artifact the flows run against, and the CI mechanics around them), `evidence-integrity.md` (why a step that cannot fail is the most expensive defect in a suite), `test-priorities-matrix.md` (P0-P3 tagging), `test-quality.md` (determinism and isolation standards), `selector-resilience.md` (the browser analogue of the selector hierarchy)
538
+ - **Tools**: `maestro test`, `maestro studio` (interactive flow authoring and element inspection), `maestro record`
539
+
540
+ _Source: Maestro 2.8.0 flow syntax and command reference (selectors, `retry`, `scrollUntilVisible`), mobile test-isolation practice, TEA test-quality standards applied to declarative flows, and defects measured in a live Maestro suite_