ai-driven-e2e 0.5.0rc0__tar.gz → 0.6.1__tar.gz

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 (580) hide show
  1. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.claude/CLAUDE.md +22 -0
  2. ai_driven_e2e-0.6.1/.claude/skills/code-review/SKILL.md +97 -0
  3. ai_driven_e2e-0.6.1/.claude/skills/python-pro/SKILL.md +156 -0
  4. ai_driven_e2e-0.6.1/.codex/README.md +32 -0
  5. ai_driven_e2e-0.6.1/.codex/config.toml +9 -0
  6. ai_driven_e2e-0.6.1/.dockerignore +10 -0
  7. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.env.example +37 -2
  8. ai_driven_e2e-0.6.1/.github/PULL_REQUEST_TEMPLATE.md +15 -0
  9. ai_driven_e2e-0.6.1/.github/dependabot.yml +16 -0
  10. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/workflows/ci.yml +60 -25
  11. ai_driven_e2e-0.6.1/.github/workflows/product.yml +84 -0
  12. ai_driven_e2e-0.6.1/.github/workflows/safety-benchmark.yml +183 -0
  13. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.gitignore +4 -0
  14. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/AGENTS.md +7 -0
  15. ai_driven_e2e-0.6.1/CHANGELOG.md +603 -0
  16. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/CONTRIBUTING.md +5 -0
  17. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/Makefile +8 -2
  18. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/PKG-INFO +190 -52
  19. ai_driven_e2e-0.6.1/README.ar.md +22 -0
  20. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/README.ja.md +2 -2
  21. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/README.ko.md +2 -2
  22. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/README.md +187 -50
  23. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/README.zh-CN.md +2 -2
  24. ai_driven_e2e-0.6.1/action.yml +226 -0
  25. ai_driven_e2e-0.6.1/app/benchmark.py +106 -0
  26. ai_driven_e2e-0.6.1/app/cli.py +1052 -0
  27. ai_driven_e2e-0.6.1/app/config.py +209 -0
  28. ai_driven_e2e-0.6.1/app/evidence.py +195 -0
  29. ai_driven_e2e-0.6.1/app/evidence_boundary.py +70 -0
  30. ai_driven_e2e-0.6.1/app/graph.py +303 -0
  31. ai_driven_e2e-0.6.1/app/healing_history.py +225 -0
  32. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/llm.py +156 -11
  33. ai_driven_e2e-0.6.1/app/logging.py +59 -0
  34. ai_driven_e2e-0.6.1/app/nodes/decline_adjudicator.py +50 -0
  35. ai_driven_e2e-0.6.1/app/nodes/diagnoser.py +66 -0
  36. ai_driven_e2e-0.6.1/app/nodes/memory_lookup.py +88 -0
  37. ai_driven_e2e-0.6.1/app/nodes/patch_generator.py +692 -0
  38. ai_driven_e2e-0.6.1/app/nodes/reviewer.py +48 -0
  39. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/nodes/selector_verifier.py +35 -18
  40. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/nodes/shadow_verifier.py +45 -13
  41. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/nodes/test_runner.py +19 -3
  42. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/notifications.py +27 -16
  43. ai_driven_e2e-0.6.1/app/preprocess/ambiguous_target.py +100 -0
  44. ai_driven_e2e-0.6.1/app/preprocess/aria_snapshot.py +177 -0
  45. ai_driven_e2e-0.6.1/app/preprocess/diff_ast_analyzer.py +444 -0
  46. ai_driven_e2e-0.6.1/app/preprocess/error_log_parser.py +79 -0
  47. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/preprocess/failure_scanner.py +7 -3
  48. ai_driven_e2e-0.6.1/app/preprocess/selector_diff_check.py +84 -0
  49. ai_driven_e2e-0.6.1/app/prompts/decline_adjudicator.py +27 -0
  50. ai_driven_e2e-0.6.1/app/prompts/diagnoser.py +53 -0
  51. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/prompts/patch_generator.py +22 -10
  52. ai_driven_e2e-0.6.1/app/provenance.py +51 -0
  53. ai_driven_e2e-0.6.1/app/providers/__init__.py +1 -0
  54. ai_driven_e2e-0.6.1/app/providers/orcarouter.py +27 -0
  55. ai_driven_e2e-0.6.1/app/registry.py +57 -0
  56. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/runner.py +10 -6
  57. ai_driven_e2e-0.6.1/app/safety_benchmark.py +700 -0
  58. ai_driven_e2e-0.6.1/app/safety_parallel.py +237 -0
  59. ai_driven_e2e-0.6.1/app/safety_report.py +449 -0
  60. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/sandbox.py +59 -4
  61. ai_driven_e2e-0.6.1/app/schemas.py +421 -0
  62. ai_driven_e2e-0.6.1/app/shadow/config.py +126 -0
  63. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/content_addressed_snapshot_store.py +112 -30
  64. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/har_entry.py +28 -5
  65. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/injector.py +13 -9
  66. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/match_options.py +15 -6
  67. ai_driven_e2e-0.6.1/app/shadow/matcher.py +158 -0
  68. ai_driven_e2e-0.6.1/app/shadow/redaction.py +249 -0
  69. ai_driven_e2e-0.6.1/app/shadow/replay_bridge.py +314 -0
  70. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/runtime.py +93 -108
  71. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/schemas.py +0 -11
  72. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/scoring.py +30 -0
  73. ai_driven_e2e-0.6.1/app/shadow/snapshot_store.py +176 -0
  74. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/trace_parser.py +0 -6
  75. ai_driven_e2e-0.6.1/app/shadow/workspace.py +247 -0
  76. ai_driven_e2e-0.6.1/app/state.py +145 -0
  77. ai_driven_e2e-0.6.1/app/utils/files.py +77 -0
  78. ai_driven_e2e-0.6.1/app/utils/js_line.py +194 -0
  79. ai_driven_e2e-0.6.1/app/verify/ast_lock.py +324 -0
  80. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/verify/selector_check.py +47 -17
  81. ai_driven_e2e-0.6.1/benchmarks/safety-baseline.json +1403 -0
  82. ai_driven_e2e-0.6.1/ci/action-consumer/package.json +8 -0
  83. ai_driven_e2e-0.6.1/ci/action-consumer/smoke.mjs +13 -0
  84. ai_driven_e2e-0.6.1/ci/action-consumer/tests/example.spec.js +3 -0
  85. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/ci/github-review-bot.example.yml +11 -1
  86. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/ci/github-workflow.example.yml +3 -1
  87. ai_driven_e2e-0.6.1/demo-page/README.md +35 -0
  88. ai_driven_e2e-0.6.1/demo-page/index.html +18 -0
  89. ai_driven_e2e-0.6.1/demo-page/package.json +27 -0
  90. ai_driven_e2e-0.6.1/demo-page/pnpm-lock.yaml +1940 -0
  91. ai_driven_e2e-0.6.1/demo-page/scripts/build_data.py +85 -0
  92. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-classname-rename.log +25 -0
  93. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-cta-rename-handler-dropped.log +25 -0
  94. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-delayed-cta.log +25 -0
  95. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-disabled-submit.log +40 -0
  96. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-id-rename-submit-dropped.log +25 -0
  97. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-id-rename.log +46 -0
  98. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-label-rename.log +25 -0
  99. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-product-regression.log +31 -0
  100. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-split-submit.log +25 -0
  101. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-wrapper-added.log +25 -0
  102. ai_driven_e2e-0.6.1/demo-page/scripts/logs/pw-wrong-base-url.log +24 -0
  103. ai_driven_e2e-0.6.1/demo-page/src/App.tsx +108 -0
  104. ai_driven_e2e-0.6.1/demo-page/src/components/Architecture.tsx +75 -0
  105. ai_driven_e2e-0.6.1/demo-page/src/components/Bench.tsx +169 -0
  106. ai_driven_e2e-0.6.1/demo-page/src/components/Pairs.tsx +47 -0
  107. ai_driven_e2e-0.6.1/demo-page/src/components/Player.tsx +307 -0
  108. ai_driven_e2e-0.6.1/demo-page/src/components/ui.tsx +71 -0
  109. ai_driven_e2e-0.6.1/demo-page/src/data/demo.json +380 -0
  110. ai_driven_e2e-0.6.1/demo-page/src/i18n/en.tsx +284 -0
  111. ai_driven_e2e-0.6.1/demo-page/src/i18n/index.tsx +61 -0
  112. ai_driven_e2e-0.6.1/demo-page/src/i18n/ja.tsx +265 -0
  113. ai_driven_e2e-0.6.1/demo-page/src/i18n/ko.tsx +275 -0
  114. ai_driven_e2e-0.6.1/demo-page/src/i18n/types.ts +67 -0
  115. ai_driven_e2e-0.6.1/demo-page/src/i18n/zh.tsx +265 -0
  116. ai_driven_e2e-0.6.1/demo-page/src/index.css +96 -0
  117. ai_driven_e2e-0.6.1/demo-page/src/main.tsx +14 -0
  118. ai_driven_e2e-0.6.1/demo-page/src/runs.ts +159 -0
  119. ai_driven_e2e-0.6.1/demo-page/tsconfig.json +18 -0
  120. ai_driven_e2e-0.6.1/demo-page/vite.config.ts +10 -0
  121. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/RELEASING.md +14 -3
  122. ai_driven_e2e-0.6.1/docs/rfc_star_credit_proxy.md +218 -0
  123. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/sandbox.md +8 -1
  124. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/shadow-quickstart.md +18 -1
  125. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/shadow-testing.md +24 -7
  126. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/DESIGN.md +11 -2
  127. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/architecture/data-preprocessor.mdx +3 -0
  128. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/architecture/repair-loop.mdx +17 -0
  129. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/getting-started/heal-vs-review.mdx +5 -4
  130. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/getting-started/introduction.mdx +4 -6
  131. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/getting-started/quickstart-cli.mdx +10 -22
  132. ai_driven_e2e-0.6.1/docs-site/docs/getting-started/quickstart-github-action.mdx +122 -0
  133. ai_driven_e2e-0.6.1/docs-site/docs/reference/configuration.mdx +202 -0
  134. ai_driven_e2e-0.6.1/docs-site/docs/reference/exit-codes.mdx +155 -0
  135. ai_driven_e2e-0.6.1/docs-site/docs/reference/github-action.mdx +48 -0
  136. ai_driven_e2e-0.6.1/docs-site/docs/reference/json-output.mdx +494 -0
  137. ai_driven_e2e-0.6.1/docs-site/docs/reference/safety-benchmark.mdx +374 -0
  138. ai_driven_e2e-0.6.1/docs-site/docs/reference/schema-versioning.mdx +175 -0
  139. ai_driven_e2e-0.6.1/docs-site/docs/safety/data-boundary.mdx +123 -0
  140. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docusaurus.config.ts +5 -0
  141. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/package.json +2 -0
  142. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/pnpm-lock.yaml +958 -5
  143. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/sidebars.ts +4 -0
  144. ai_driven_e2e-0.6.1/docs-site/src/components/ArchitectureFlow/index.tsx +230 -0
  145. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/components/ArchitectureFlow/styles.module.css +58 -3
  146. ai_driven_e2e-0.6.1/docs-site/src/components/CodeCompare/index.tsx +76 -0
  147. ai_driven_e2e-0.6.1/docs-site/src/components/CodeCompare/styles.module.css +15 -0
  148. ai_driven_e2e-0.6.1/docs-site/src/components/HealingDiff/index.tsx +223 -0
  149. ai_driven_e2e-0.6.1/docs-site/src/components/ScopeGuardrailCallout/index.tsx +101 -0
  150. ai_driven_e2e-0.6.1/docs-site/src/components/ScopeGuardrailCallout/styles.module.css +90 -0
  151. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-boundary.json +103 -0
  152. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-guardrail.json +295 -0
  153. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-insufficient.json +303 -0
  154. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-loop-cap.json +330 -0
  155. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-product-regression.json +196 -0
  156. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/refusal-provider.json +276 -0
  157. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/repair.json +199 -0
  158. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/review.json +19 -0
  159. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/suite-mixed.json +536 -0
  160. ai_driven_e2e-0.6.1/docs-site/src/data/json-contract/suite-none-found.json +8 -0
  161. ai_driven_e2e-0.6.1/docs-site/static/img/scenarios/account.png +0 -0
  162. ai_driven_e2e-0.6.1/docs-site/static/img/scenarios/catalog.png +0 -0
  163. ai_driven_e2e-0.6.1/docs-site/static/img/scenarios/checkout.png +0 -0
  164. ai_driven_e2e-0.6.1/docs-site/static/img/scenarios/settings.png +0 -0
  165. ai_driven_e2e-0.6.1/examples/README.md +126 -0
  166. ai_driven_e2e-0.6.1/examples/demo-app/src/App.tsx +71 -0
  167. ai_driven_e2e-0.6.1/examples/demo-app/src/components/CTAButton.tsx +12 -0
  168. ai_driven_e2e-0.6.1/examples/demo-app/src/components/account/AccountAvatar.tsx +18 -0
  169. ai_driven_e2e-0.6.1/examples/demo-app/src/components/account/AccountEmail.tsx +23 -0
  170. ai_driven_e2e-0.6.1/examples/demo-app/src/components/account/AccountPassword.tsx +23 -0
  171. ai_driven_e2e-0.6.1/examples/demo-app/src/components/account/AccountSignOut.tsx +15 -0
  172. ai_driven_e2e-0.6.1/examples/demo-app/src/components/catalog/CatalogPager.tsx +15 -0
  173. ai_driven_e2e-0.6.1/examples/demo-app/src/components/catalog/CatalogRowDetail.tsx +15 -0
  174. ai_driven_e2e-0.6.1/examples/demo-app/src/components/catalog/CatalogSearch.tsx +30 -0
  175. ai_driven_e2e-0.6.1/examples/demo-app/src/components/catalog/CatalogSort.tsx +34 -0
  176. ai_driven_e2e-0.6.1/examples/demo-app/src/components/checkout/CheckoutCoupon.tsx +33 -0
  177. ai_driven_e2e-0.6.1/examples/demo-app/src/components/checkout/CheckoutPlaceOrder.tsx +17 -0
  178. ai_driven_e2e-0.6.1/examples/demo-app/src/components/checkout/CheckoutQuantity.tsx +27 -0
  179. ai_driven_e2e-0.6.1/examples/demo-app/src/components/checkout/CheckoutRemoveItem.tsx +32 -0
  180. ai_driven_e2e-0.6.1/examples/demo-app/src/components/settings/SettingsDeleteAccount.tsx +20 -0
  181. ai_driven_e2e-0.6.1/examples/demo-app/src/components/settings/SettingsNotifications.tsx +21 -0
  182. ai_driven_e2e-0.6.1/examples/demo-app/src/components/settings/SettingsSave.tsx +15 -0
  183. ai_driven_e2e-0.6.1/examples/demo-app/src/components/settings/SettingsTheme.tsx +19 -0
  184. ai_driven_e2e-0.6.1/examples/demo-app/src/pages/AccountPage.tsx +16 -0
  185. ai_driven_e2e-0.6.1/examples/demo-app/src/pages/CatalogPage.tsx +16 -0
  186. ai_driven_e2e-0.6.1/examples/demo-app/src/pages/CheckoutPage.tsx +16 -0
  187. ai_driven_e2e-0.6.1/examples/demo-app/src/pages/SettingsPage.tsx +16 -0
  188. ai_driven_e2e-0.6.1/examples/demo-port.ts +12 -0
  189. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/playwright.config.ts +14 -2
  190. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-drift/change.patch +13 -0
  191. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-drift/meta.json +1 -0
  192. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-drift/spec.ts +11 -0
  193. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-regression/change.patch +17 -0
  194. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-regression/meta.json +1 -0
  195. ai_driven_e2e-0.6.1/examples/scenarios/account-avatar-regression/spec.ts +11 -0
  196. ai_driven_e2e-0.6.1/examples/scenarios/account-email-drift/change.patch +13 -0
  197. ai_driven_e2e-0.6.1/examples/scenarios/account-email-drift/meta.json +1 -0
  198. ai_driven_e2e-0.6.1/examples/scenarios/account-email-drift/spec.ts +8 -0
  199. ai_driven_e2e-0.6.1/examples/scenarios/account-email-regression/change.patch +15 -0
  200. ai_driven_e2e-0.6.1/examples/scenarios/account-email-regression/meta.json +1 -0
  201. ai_driven_e2e-0.6.1/examples/scenarios/account-email-regression/spec.ts +8 -0
  202. ai_driven_e2e-0.6.1/examples/scenarios/account-password-drift/change.patch +13 -0
  203. ai_driven_e2e-0.6.1/examples/scenarios/account-password-drift/meta.json +1 -0
  204. ai_driven_e2e-0.6.1/examples/scenarios/account-password-drift/spec.ts +8 -0
  205. ai_driven_e2e-0.6.1/examples/scenarios/account-password-regression/change.patch +20 -0
  206. ai_driven_e2e-0.6.1/examples/scenarios/account-password-regression/meta.json +1 -0
  207. ai_driven_e2e-0.6.1/examples/scenarios/account-password-regression/spec.ts +8 -0
  208. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-drift/change.patch +13 -0
  209. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-drift/meta.json +1 -0
  210. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-drift/spec.ts +7 -0
  211. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-regression/change.patch +13 -0
  212. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-regression/meta.json +1 -0
  213. ai_driven_e2e-0.6.1/examples/scenarios/account-signout-regression/spec.ts +7 -0
  214. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-drift/change.patch +13 -0
  215. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-drift/meta.json +1 -0
  216. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-drift/spec.ts +7 -0
  217. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-regression/change.patch +17 -0
  218. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-regression/meta.json +1 -0
  219. ai_driven_e2e-0.6.1/examples/scenarios/catalog-detail-regression/spec.ts +7 -0
  220. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-drift/change.patch +13 -0
  221. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-drift/meta.json +1 -0
  222. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-drift/spec.ts +7 -0
  223. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-regression/change.patch +17 -0
  224. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-regression/meta.json +1 -0
  225. ai_driven_e2e-0.6.1/examples/scenarios/catalog-pagination-regression/spec.ts +7 -0
  226. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-drift/change.patch +16 -0
  227. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-drift/meta.json +1 -0
  228. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-drift/spec.ts +8 -0
  229. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-regression/change.patch +23 -0
  230. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-regression/meta.json +1 -0
  231. ai_driven_e2e-0.6.1/examples/scenarios/catalog-search-regression/spec.ts +8 -0
  232. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-drift/change.patch +13 -0
  233. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-drift/meta.json +1 -0
  234. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-drift/spec.ts +7 -0
  235. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-regression/change.patch +19 -0
  236. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-regression/meta.json +1 -0
  237. ai_driven_e2e-0.6.1/examples/scenarios/catalog-sort-regression/spec.ts +7 -0
  238. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-drift/change.patch +13 -0
  239. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-drift/meta.json +1 -0
  240. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-drift/spec.ts +8 -0
  241. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-regression/change.patch +22 -0
  242. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-regression/meta.json +1 -0
  243. ai_driven_e2e-0.6.1/examples/scenarios/checkout-coupon-regression/spec.ts +8 -0
  244. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-drift/change.patch +13 -0
  245. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-drift/meta.json +1 -0
  246. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-drift/spec.ts +7 -0
  247. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-regression/change.patch +13 -0
  248. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-regression/meta.json +1 -0
  249. ai_driven_e2e-0.6.1/examples/scenarios/checkout-place-order-regression/spec.ts +7 -0
  250. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-drift/change.patch +13 -0
  251. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-drift/meta.json +1 -0
  252. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-drift/spec.ts +7 -0
  253. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-regression/change.patch +22 -0
  254. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-regression/meta.json +1 -0
  255. ai_driven_e2e-0.6.1/examples/scenarios/checkout-quantity-regression/spec.ts +7 -0
  256. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-drift/change.patch +13 -0
  257. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-drift/meta.json +1 -0
  258. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-drift/spec.ts +7 -0
  259. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-regression/change.patch +13 -0
  260. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-regression/meta.json +1 -0
  261. ai_driven_e2e-0.6.1/examples/scenarios/checkout-remove-item-regression/spec.ts +7 -0
  262. ai_driven_e2e-0.6.1/examples/scenarios/classname-rename/README.md +39 -0
  263. ai_driven_e2e-0.6.1/examples/scenarios/classname-rename/change.patch +13 -0
  264. ai_driven_e2e-0.6.1/examples/scenarios/classname-rename/meta.json +1 -0
  265. ai_driven_e2e-0.6.1/examples/scenarios/classname-rename/spec.ts +7 -0
  266. ai_driven_e2e-0.6.1/examples/scenarios/cta-rename-handler-dropped/change.patch +13 -0
  267. ai_driven_e2e-0.6.1/examples/scenarios/cta-rename-handler-dropped/meta.json +1 -0
  268. ai_driven_e2e-0.6.1/examples/scenarios/cta-rename-handler-dropped/spec.ts +7 -0
  269. ai_driven_e2e-0.6.1/examples/scenarios/delayed-cta/change.patch +34 -0
  270. ai_driven_e2e-0.6.1/examples/scenarios/delayed-cta/meta.json +1 -0
  271. ai_driven_e2e-0.6.1/examples/scenarios/delayed-cta/spec.ts +7 -0
  272. ai_driven_e2e-0.6.1/examples/scenarios/disabled-submit/change.patch +12 -0
  273. ai_driven_e2e-0.6.1/examples/scenarios/disabled-submit/meta.json +1 -0
  274. ai_driven_e2e-0.6.1/examples/scenarios/disabled-submit/spec.ts +7 -0
  275. ai_driven_e2e-0.6.1/examples/scenarios/id-rename/meta.json +1 -0
  276. ai_driven_e2e-0.6.1/examples/scenarios/id-rename/spec.ts +7 -0
  277. ai_driven_e2e-0.6.1/examples/scenarios/id-rename-submit-dropped/change.patch +12 -0
  278. ai_driven_e2e-0.6.1/examples/scenarios/id-rename-submit-dropped/meta.json +1 -0
  279. ai_driven_e2e-0.6.1/examples/scenarios/id-rename-submit-dropped/spec.ts +7 -0
  280. ai_driven_e2e-0.6.1/examples/scenarios/jsx-context/README.md +9 -0
  281. ai_driven_e2e-0.6.1/examples/scenarios/jsx-context/benchmark-context.tsx +30 -0
  282. ai_driven_e2e-0.6.1/examples/scenarios/jsx-context/change.patch +13 -0
  283. ai_driven_e2e-0.6.1/examples/scenarios/jsx-context/meta.json +1 -0
  284. ai_driven_e2e-0.6.1/examples/scenarios/label-rename/change.patch +13 -0
  285. ai_driven_e2e-0.6.1/examples/scenarios/label-rename/meta.json +1 -0
  286. ai_driven_e2e-0.6.1/examples/scenarios/label-rename/spec.ts +7 -0
  287. ai_driven_e2e-0.6.1/examples/scenarios/product-regression/README.md +53 -0
  288. ai_driven_e2e-0.6.1/examples/scenarios/product-regression/change.patch +31 -0
  289. ai_driven_e2e-0.6.1/examples/scenarios/product-regression/meta.json +1 -0
  290. ai_driven_e2e-0.6.1/examples/scenarios/product-regression/spec.ts +7 -0
  291. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-drift/change.patch +13 -0
  292. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-drift/meta.json +1 -0
  293. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-drift/spec.ts +7 -0
  294. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-regression/change.patch +13 -0
  295. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-regression/meta.json +1 -0
  296. ai_driven_e2e-0.6.1/examples/scenarios/settings-delete-regression/spec.ts +7 -0
  297. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-drift/change.patch +13 -0
  298. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-drift/meta.json +1 -0
  299. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-drift/spec.ts +7 -0
  300. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-regression/change.patch +20 -0
  301. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-regression/meta.json +1 -0
  302. ai_driven_e2e-0.6.1/examples/scenarios/settings-notifications-regression/spec.ts +7 -0
  303. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-drift/change.patch +13 -0
  304. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-drift/meta.json +1 -0
  305. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-drift/spec.ts +7 -0
  306. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-regression/change.patch +13 -0
  307. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-regression/meta.json +1 -0
  308. ai_driven_e2e-0.6.1/examples/scenarios/settings-save-regression/spec.ts +7 -0
  309. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-drift/change.patch +13 -0
  310. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-drift/meta.json +1 -0
  311. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-drift/spec.ts +7 -0
  312. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-regression/change.patch +13 -0
  313. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-regression/meta.json +1 -0
  314. ai_driven_e2e-0.6.1/examples/scenarios/settings-theme-regression/spec.ts +7 -0
  315. ai_driven_e2e-0.6.1/examples/scenarios/split-submit/change.patch +20 -0
  316. ai_driven_e2e-0.6.1/examples/scenarios/split-submit/meta.json +1 -0
  317. ai_driven_e2e-0.6.1/examples/scenarios/split-submit/spec.ts +7 -0
  318. ai_driven_e2e-0.6.1/examples/scenarios/submit-rename-reset-added/change.patch +20 -0
  319. ai_driven_e2e-0.6.1/examples/scenarios/submit-rename-reset-added/meta.json +1 -0
  320. ai_driven_e2e-0.6.1/examples/scenarios/submit-rename-reset-added/spec.ts +7 -0
  321. ai_driven_e2e-0.6.1/examples/scenarios/wrapper-added/change.patch +17 -0
  322. ai_driven_e2e-0.6.1/examples/scenarios/wrapper-added/meta.json +1 -0
  323. ai_driven_e2e-0.6.1/examples/scenarios/wrapper-added/spec.ts +7 -0
  324. ai_driven_e2e-0.6.1/examples/scenarios/wrong-base-url/change.patch +13 -0
  325. ai_driven_e2e-0.6.1/examples/scenarios/wrong-base-url/meta.json +1 -0
  326. ai_driven_e2e-0.6.1/examples/scenarios/wrong-base-url/spec.ts +7 -0
  327. ai_driven_e2e-0.6.1/examples/shadow-replay/replay.spec.ts +15 -0
  328. ai_driven_e2e-0.6.1/examples/shadow.playwright.config.ts +9 -0
  329. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/vite.config.ts +9 -4
  330. ai_driven_e2e-0.6.1/integrations/playwright-reporter/README.md +83 -0
  331. ai_driven_e2e-0.6.1/integrations/playwright-reporter/package-lock.json +114 -0
  332. ai_driven_e2e-0.6.1/integrations/playwright-reporter/package.json +20 -0
  333. ai_driven_e2e-0.6.1/integrations/playwright-reporter/src/index.ts +246 -0
  334. ai_driven_e2e-0.6.1/integrations/playwright-reporter/tsconfig.json +16 -0
  335. ai_driven_e2e-0.6.1/product/README.md +62 -0
  336. ai_driven_e2e-0.6.1/product/api/.env.example +6 -0
  337. ai_driven_e2e-0.6.1/product/api/Dockerfile +22 -0
  338. ai_driven_e2e-0.6.1/product/api/alembic.ini +149 -0
  339. ai_driven_e2e-0.6.1/product/api/migrations/README +1 -0
  340. ai_driven_e2e-0.6.1/product/api/migrations/env.py +78 -0
  341. ai_driven_e2e-0.6.1/product/api/migrations/script.py.mako +28 -0
  342. ai_driven_e2e-0.6.1/product/api/migrations/versions/6c7b4ee2a1d3_create_projects_and_runs.py +61 -0
  343. ai_driven_e2e-0.6.1/product/api/migrations/versions/d7b220f72fba_initial.py +23 -0
  344. ai_driven_e2e-0.6.1/product/api/pyproject.toml +45 -0
  345. ai_driven_e2e-0.6.1/product/api/src/product_api/__init__.py +1 -0
  346. ai_driven_e2e-0.6.1/product/api/src/product_api/config.py +38 -0
  347. ai_driven_e2e-0.6.1/product/api/src/product_api/db.py +27 -0
  348. ai_driven_e2e-0.6.1/product/api/src/product_api/ingest.py +111 -0
  349. ai_driven_e2e-0.6.1/product/api/src/product_api/main.py +86 -0
  350. ai_driven_e2e-0.6.1/product/api/src/product_api/models.py +48 -0
  351. ai_driven_e2e-0.6.1/product/api/tests/test_config.py +20 -0
  352. ai_driven_e2e-0.6.1/product/api/tests/test_healthz.py +32 -0
  353. ai_driven_e2e-0.6.1/product/api/tests/test_ingest.py +178 -0
  354. ai_driven_e2e-0.6.1/product/api/tests/test_version.py +41 -0
  355. ai_driven_e2e-0.6.1/product/api/uv.lock +2044 -0
  356. ai_driven_e2e-0.6.1/product/docker-compose.yml +33 -0
  357. ai_driven_e2e-0.6.1/product/web/eslint.config.js +28 -0
  358. ai_driven_e2e-0.6.1/product/web/index.html +12 -0
  359. ai_driven_e2e-0.6.1/product/web/package.json +33 -0
  360. ai_driven_e2e-0.6.1/product/web/pnpm-lock.yaml +2346 -0
  361. ai_driven_e2e-0.6.1/product/web/src/App.tsx +84 -0
  362. ai_driven_e2e-0.6.1/product/web/src/index.css +9 -0
  363. ai_driven_e2e-0.6.1/product/web/src/main.tsx +11 -0
  364. ai_driven_e2e-0.6.1/product/web/tsconfig.json +18 -0
  365. ai_driven_e2e-0.6.1/product/web/vite.config.ts +29 -0
  366. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/pyproject.toml +5 -1
  367. ai_driven_e2e-0.6.1/tests/factories.py +43 -0
  368. ai_driven_e2e-0.6.1/tests/test_ambiguous_target.py +134 -0
  369. ai_driven_e2e-0.6.1/tests/test_aria_snapshot.py +205 -0
  370. ai_driven_e2e-0.6.1/tests/test_ast_lock.py +584 -0
  371. ai_driven_e2e-0.6.1/tests/test_benchmark.py +227 -0
  372. ai_driven_e2e-0.6.1/tests/test_cli.py +882 -0
  373. ai_driven_e2e-0.6.1/tests/test_config.py +193 -0
  374. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_content_addressed_snapshot_store.py +3 -86
  375. ai_driven_e2e-0.6.1/tests/test_decline_adjudicator.py +99 -0
  376. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_diagnoser.py +10 -18
  377. ai_driven_e2e-0.6.1/tests/test_diff_ast_analyzer.py +445 -0
  378. ai_driven_e2e-0.6.1/tests/test_error_log_parser.py +109 -0
  379. ai_driven_e2e-0.6.1/tests/test_evidence.py +211 -0
  380. ai_driven_e2e-0.6.1/tests/test_evidence_boundary.py +170 -0
  381. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_failure_scanner.py +17 -7
  382. ai_driven_e2e-0.6.1/tests/test_files.py +249 -0
  383. ai_driven_e2e-0.6.1/tests/test_github_action.py +61 -0
  384. ai_driven_e2e-0.6.1/tests/test_graph.py +185 -0
  385. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_har_parser.py +131 -8
  386. ai_driven_e2e-0.6.1/tests/test_healing_history.py +215 -0
  387. ai_driven_e2e-0.6.1/tests/test_json_contract_docs.py +132 -0
  388. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_llm.py +246 -56
  389. ai_driven_e2e-0.6.1/tests/test_logging.py +167 -0
  390. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_match_options.py +194 -46
  391. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_matching_engine.py +68 -68
  392. ai_driven_e2e-0.6.1/tests/test_memory_lookup.py +230 -0
  393. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_mock_injector.py +76 -35
  394. ai_driven_e2e-0.6.1/tests/test_normalizer.py +224 -0
  395. ai_driven_e2e-0.6.1/tests/test_notifications.py +142 -0
  396. ai_driven_e2e-0.6.1/tests/test_patch_generator.py +1028 -0
  397. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_patch_prompt_strategy.py +1 -7
  398. ai_driven_e2e-0.6.1/tests/test_provenance.py +136 -0
  399. ai_driven_e2e-0.6.1/tests/test_registry.py +51 -0
  400. ai_driven_e2e-0.6.1/tests/test_repair_loop.py +566 -0
  401. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_reviewer.py +16 -15
  402. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_runner.py +0 -4
  403. ai_driven_e2e-0.6.1/tests/test_safety_benchmark.py +1158 -0
  404. ai_driven_e2e-0.6.1/tests/test_safety_parallel.py +175 -0
  405. ai_driven_e2e-0.6.1/tests/test_safety_report.py +857 -0
  406. ai_driven_e2e-0.6.1/tests/test_safety_workflow.py +165 -0
  407. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_sandbox.py +94 -0
  408. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_scoring.py +2 -0
  409. ai_driven_e2e-0.6.1/tests/test_selector_check.py +98 -0
  410. ai_driven_e2e-0.6.1/tests/test_selector_diff_check.py +73 -0
  411. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_selector_hint.py +0 -1
  412. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_selector_verifier.py +15 -21
  413. ai_driven_e2e-0.6.1/tests/test_shadow_config.py +96 -0
  414. ai_driven_e2e-0.6.1/tests/test_shadow_redaction.py +249 -0
  415. ai_driven_e2e-0.6.1/tests/test_shadow_runtime.py +263 -0
  416. ai_driven_e2e-0.6.1/tests/test_shadow_runtime_integration.py +84 -0
  417. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_shadow_verifier.py +69 -103
  418. ai_driven_e2e-0.6.1/tests/test_shadow_workspace.py +265 -0
  419. ai_driven_e2e-0.6.1/tests/test_snapshot_store.py +268 -0
  420. ai_driven_e2e-0.6.1/tests/test_suite_heal.py +347 -0
  421. ai_driven_e2e-0.6.1/tests/test_summary_contract.py +180 -0
  422. ai_driven_e2e-0.6.1/tests/test_test_runner_node.py +29 -0
  423. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_trace_parser.py +44 -24
  424. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/uv.lock +3 -1
  425. ai_driven_e2e-0.5.0rc0/.coverage +0 -0
  426. ai_driven_e2e-0.5.0rc0/.github/PULL_REQUEST_TEMPLATE.md +0 -13
  427. ai_driven_e2e-0.5.0rc0/CHANGELOG.md +0 -188
  428. ai_driven_e2e-0.5.0rc0/action.yml +0 -116
  429. ai_driven_e2e-0.5.0rc0/app/cli.py +0 -570
  430. ai_driven_e2e-0.5.0rc0/app/config.py +0 -126
  431. ai_driven_e2e-0.5.0rc0/app/core/report/generator.test.ts +0 -39
  432. ai_driven_e2e-0.5.0rc0/app/core/report/generator.ts +0 -75
  433. ai_driven_e2e-0.5.0rc0/app/graph.py +0 -101
  434. ai_driven_e2e-0.5.0rc0/app/logging.py +0 -22
  435. ai_driven_e2e-0.5.0rc0/app/nodes/diagnoser.py +0 -54
  436. ai_driven_e2e-0.5.0rc0/app/nodes/patch_generator.py +0 -151
  437. ai_driven_e2e-0.5.0rc0/app/nodes/reviewer.py +0 -34
  438. ai_driven_e2e-0.5.0rc0/app/preprocess/aria_snapshot.py +0 -70
  439. ai_driven_e2e-0.5.0rc0/app/preprocess/diff_ast_analyzer.py +0 -201
  440. ai_driven_e2e-0.5.0rc0/app/preprocess/error_log_parser.py +0 -52
  441. ai_driven_e2e-0.5.0rc0/app/prompts/diagnoser.py +0 -11
  442. ai_driven_e2e-0.5.0rc0/app/registry.py +0 -196
  443. ai_driven_e2e-0.5.0rc0/app/schemas.py +0 -108
  444. ai_driven_e2e-0.5.0rc0/app/shadow/config.py +0 -65
  445. ai_driven_e2e-0.5.0rc0/app/shadow/matcher.py +0 -81
  446. ai_driven_e2e-0.5.0rc0/app/shadow/snapshot_store.py +0 -106
  447. ai_driven_e2e-0.5.0rc0/app/shadow/workspace.py +0 -104
  448. ai_driven_e2e-0.5.0rc0/app/state.py +0 -33
  449. ai_driven_e2e-0.5.0rc0/app/utils/files.py +0 -24
  450. ai_driven_e2e-0.5.0rc0/docs-site/docs/getting-started/quickstart-github-action.mdx +0 -117
  451. ai_driven_e2e-0.5.0rc0/docs-site/docs/reference/configuration.mdx +0 -17
  452. ai_driven_e2e-0.5.0rc0/docs-site/docs/reference/exit-codes.mdx +0 -17
  453. ai_driven_e2e-0.5.0rc0/docs-site/docs/reference/github-action.mdx +0 -16
  454. ai_driven_e2e-0.5.0rc0/docs-site/src/components/ArchitectureFlow/index.tsx +0 -78
  455. ai_driven_e2e-0.5.0rc0/docs-site/src/components/HealingDiff/index.tsx +0 -111
  456. ai_driven_e2e-0.5.0rc0/docs-site/src/components/HomepageFeatures/index.module.css +0 -68
  457. ai_driven_e2e-0.5.0rc0/docs-site/src/components/HomepageFeatures/index.tsx +0 -73
  458. ai_driven_e2e-0.5.0rc0/docs-site/src/components/HomepageFeatures/styles.module.css +0 -11
  459. ai_driven_e2e-0.5.0rc0/docs-site/src/pages/markdown-page.mdx +0 -7
  460. ai_driven_e2e-0.5.0rc0/docs-site/static/img/docusaurus.png +0 -0
  461. ai_driven_e2e-0.5.0rc0/docs-site/static/img/undraw_docusaurus_mountain.svg +0 -171
  462. ai_driven_e2e-0.5.0rc0/docs-site/static/img/undraw_docusaurus_react.svg +0 -170
  463. ai_driven_e2e-0.5.0rc0/docs-site/static/img/undraw_docusaurus_tree.svg +0 -40
  464. ai_driven_e2e-0.5.0rc0/examples/README.md +0 -92
  465. ai_driven_e2e-0.5.0rc0/examples/classname-scenario/README.md +0 -46
  466. ai_driven_e2e-0.5.0rc0/examples/classname-scenario/classname-rename.diff +0 -13
  467. ai_driven_e2e-0.5.0rc0/examples/classname-scenario/classname.spec.ts +0 -9
  468. ai_driven_e2e-0.5.0rc0/examples/classname-scenario/components/CTAButton.tsx +0 -8
  469. ai_driven_e2e-0.5.0rc0/examples/classname-scenario/index.html +0 -19
  470. ai_driven_e2e-0.5.0rc0/examples/demo-app/src/App.tsx +0 -26
  471. ai_driven_e2e-0.5.0rc0/examples/scenarios/id-rename/spec.ts +0 -13
  472. ai_driven_e2e-0.5.0rc0/package.json +0 -11
  473. ai_driven_e2e-0.5.0rc0/tests/test_aria_snapshot.py +0 -103
  474. ai_driven_e2e-0.5.0rc0/tests/test_cli.py +0 -427
  475. ai_driven_e2e-0.5.0rc0/tests/test_config.py +0 -62
  476. ai_driven_e2e-0.5.0rc0/tests/test_diff_ast_analyzer.py +0 -140
  477. ai_driven_e2e-0.5.0rc0/tests/test_error_log_parser.py +0 -89
  478. ai_driven_e2e-0.5.0rc0/tests/test_files.py +0 -16
  479. ai_driven_e2e-0.5.0rc0/tests/test_graph.py +0 -39
  480. ai_driven_e2e-0.5.0rc0/tests/test_in_memory_snapshot_store.py +0 -90
  481. ai_driven_e2e-0.5.0rc0/tests/test_normalizer.py +0 -238
  482. ai_driven_e2e-0.5.0rc0/tests/test_notifications.py +0 -95
  483. ai_driven_e2e-0.5.0rc0/tests/test_patch_apply.py +0 -202
  484. ai_driven_e2e-0.5.0rc0/tests/test_patch_generator.py +0 -57
  485. ai_driven_e2e-0.5.0rc0/tests/test_registry.py +0 -247
  486. ai_driven_e2e-0.5.0rc0/tests/test_repair_loop.py +0 -77
  487. ai_driven_e2e-0.5.0rc0/tests/test_selector_check.py +0 -77
  488. ai_driven_e2e-0.5.0rc0/tests/test_shadow_config.py +0 -55
  489. ai_driven_e2e-0.5.0rc0/tests/test_shadow_runtime.py +0 -203
  490. ai_driven_e2e-0.5.0rc0/tests/test_shadow_workspace.py +0 -89
  491. ai_driven_e2e-0.5.0rc0/tests/test_snapshot_store.py +0 -130
  492. ai_driven_e2e-0.5.0rc0/tests/test_suite_heal.py +0 -72
  493. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.claude/agents/plan.md +0 -0
  494. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.claude/skills/docs-site/SKILL.md +0 -0
  495. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.editorconfig +0 -0
  496. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.githooks/pre-commit +0 -0
  497. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/ISSUE_TEMPLATE/architecture.yml +0 -0
  498. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  499. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  500. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  501. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/ISSUE_TEMPLATE/question.yml +0 -0
  502. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/workflows/assign-reviewer.yml +0 -0
  503. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/workflows/deploy-docs.yml +0 -0
  504. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/workflows/publish-testpypi.yml +0 -0
  505. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.github/workflows/publish.yml +0 -0
  506. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/.python-version +0 -0
  507. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/CODE_OF_CONDUCT.md +0 -0
  508. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/LICENSE +0 -0
  509. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/SECURITY.md +0 -0
  510. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/__init__.py +0 -0
  511. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/nodes/__init__.py +0 -0
  512. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/preprocess/__init__.py +0 -0
  513. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/preprocess/jsx_chunker.py +0 -0
  514. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/prompts/__init__.py +0 -0
  515. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/prompts/reviewer.py +0 -0
  516. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/__init__.py +0 -0
  517. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/browser_state.py +0 -0
  518. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/context.py +0 -0
  519. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/har_parser.py +0 -0
  520. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/in_memory_snapshot_store.py +0 -0
  521. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/interfaces.py +0 -0
  522. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/shadow/normalizer.py +0 -0
  523. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/utils/__init__.py +0 -0
  524. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/app/verify/__init__.py +0 -0
  525. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/demo.gif +0 -0
  526. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/demo.sh +0 -0
  527. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/demo.tape +0 -0
  528. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/design.md +0 -0
  529. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/rfc_dom_picker_cli_bridge.md +0 -0
  530. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/roadmap-v0.5.md +0 -0
  531. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/usecase-demo-cta.png +0 -0
  532. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs/wiki_architecture.md +0 -0
  533. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/.contrib/issue-drafts.md +0 -0
  534. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/.gitignore +0 -0
  535. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/README.md +0 -0
  536. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/architecture/langgraph-agent.mdx +0 -0
  537. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/architecture/selector-verifier.mdx +0 -0
  538. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/community/changelog.mdx +0 -0
  539. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/community/contributing.mdx +0 -0
  540. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/community/security.mdx +0 -0
  541. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/examples/breakage-patterns.mdx +0 -0
  542. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/examples/demo-walkthrough.mdx +0 -0
  543. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/guides/auto-heal-on-pr.mdx +0 -0
  544. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/guides/pr-review-bot.mdx +0 -0
  545. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/guides/resilient-selectors.mdx +0 -0
  546. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/guides/selector-verification.mdx +0 -0
  547. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/guides/suite-vs-single.mdx +0 -0
  548. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/reference/cli.mdx +0 -0
  549. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/safety/human-in-the-loop.mdx +0 -0
  550. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/safety/sandbox-modes.mdx +0 -0
  551. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/docs/safety/scope-guardrail.mdx +0 -0
  552. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/components/HealingDiff/styles.module.css +0 -0
  553. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/components/HelpWantedBoard/index.tsx +0 -0
  554. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/components/HelpWantedBoard/styles.module.css +0 -0
  555. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/css/custom.css +0 -0
  556. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/data/help-wanted.json +0 -0
  557. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/pages/index.module.css +0 -0
  558. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/src/pages/index.tsx +0 -0
  559. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/.nojekyll +0 -0
  560. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/img/docusaurus-social-card.jpg +0 -0
  561. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/img/favicon.ico +0 -0
  562. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/img/logo.svg +0 -0
  563. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/llms.txt +0 -0
  564. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/static/robots.txt +0 -0
  565. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/docs-site/tsconfig.json +0 -0
  566. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/demo-app/index.html +0 -0
  567. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/demo-app/src/components/SubmitButton.tsx +0 -0
  568. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/demo-app/src/main.tsx +0 -0
  569. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/package.json +0 -0
  570. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/pnpm-lock.yaml +0 -0
  571. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/scenarios/id-rename/README.md +0 -0
  572. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/scenarios/id-rename/change.patch +0 -0
  573. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/examples/tsconfig.json +0 -0
  574. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/roadmap.en.md +0 -0
  575. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/roadmap.ko.md +0 -0
  576. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/__init__.py +0 -0
  577. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/fixtures/sample.har +0 -0
  578. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_browser_state.py +0 -0
  579. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_jsx_chunker.py +0 -0
  580. {ai_driven_e2e-0.5.0rc0 → ai_driven_e2e-0.6.1}/tests/test_non_http_snapshots.py +0 -0
@@ -105,6 +105,28 @@ Three nodes and one conditional edge control the flow.
105
105
  rather than crashing the graph.
106
106
  - **Loop cap** — `loop_count` must never exceed 3. The Router is the single source of
107
107
  truth for termination.
108
+ - **AST lock** — after the per-line scope gates, `_apply` runs `check_ast_lock` on the whole
109
+ patched file, so both the Patch Generator and the memory lookup are covered. It is
110
+ fail-closed: a parse failure or any change other than locator strings, timeouts, and wait
111
+ names is a `PatchGuardrailViolation`. Retry semantics differ by producer. A **Patch
112
+ Generator** violation is a `PatchApplicationError`, so it is handled by the existing internal
113
+ exception loop (never raised out of the node), is fed back to the Patch Generator, and
114
+ **spends a loop**; it can therefore never be retried past the cap, and a terminal one yields
115
+ `RefusalReason.GUARDRAIL_VIOLATION`. A **memory lookup** (history candidate) violation is
116
+ treated as a cache miss: it is recorded as a rejected candidate, does **not** increment
117
+ `loop_count`, and falls through to the LLM path. That is bounded because the memory lookup
118
+ runs once at the start of the graph. Events: `ast_lock_rejected` (reason, node_kind, line)
119
+ and `ast_lock_passed`.
120
+ - **Learning never lowers the refusal bar** — local healing history, and any future learned
121
+ rule or policy setting, may reorder candidates or save a model call. It may never skip,
122
+ relax or replace a check. A history candidate is held to everything a model candidate is:
123
+ the ambiguous-target refusal runs before `memory_lookup`, so a remembered repair cannot
124
+ pre-empt it, and an applied history candidate still goes through the `_apply` scope gates
125
+ and AST lock, shadow replay, the live selector check and the test run. Only a verified pass
126
+ is accepted, and only a passing LLM repair is written back to history. No configuration
127
+ value may disable a refusal check or auto-apply an ambiguous change; the only way past the
128
+ ambiguous-target refusal is a human `--selector-hint`. A PR that adds learning or a policy
129
+ setting must say whether it can lower the refusal bar, and the answer must be no.
108
130
 
109
131
  ### Imports
110
132
 
@@ -0,0 +1,97 @@
1
+ --
2
+ name: code-review
3
+ description: Default target is the current branch diff vs main.
4
+ --
5
+
6
+ # code-review - E2E healer team review
7
+
8
+ The team's own review procedure. It layers **things** on top of a generic quality review:
9
+
10
+ **Diff-scoped.** Review what changed, not the whole tree. Default target is the current branch's diff against `main`.
11
+
12
+ ---
13
+
14
+ ## Review Strategy
15
+
16
+ **Small diff (≤ ~20 files):** one pass. Read the diff, apply the checklist plus the generic dimensions below.
17
+
18
+ **Large diff (many files / whole PR):** fan out parallel review agents by area so coverage is real, then synthesize.
19
+
20
+ ---
21
+
22
+ ## Python-Specific Review Checklist
23
+
24
+ ### 1. Type Safety & Annotations
25
+
26
+ - [ ] Explicit type annotations are used (Python 3.9+ built-in types or `typing` module).
27
+ - [ ] Excessive `Any` usages are avoided; `Optional` / `| None` unions are handled explicitly.
28
+ - [ ] Static type checks (`mypy` / `pyright`) pass without errors on modified files.
29
+
30
+ ### 2. Performance & Resource Management
31
+
32
+ - [ ] List comprehensions vs. generator expressions are chosen appropriately for memory scale.
33
+ - [ ] No **mutable default arguments** in function signatures (e.g., `def fn(data=[])` is forbidden).
34
+ - [ ] Context managers (`with` / `async with`) are strictly used for I/O operations (files, network connections, DB sessions).
35
+ - [ ] `async/await` patterns are non-blocking and proper concurrency primitives (ThreadPool/ProcessPool) are used where applicable.
36
+
37
+ ### 3. Exception Handling & Logging
38
+
39
+ - [ ] Bare `except:` or broad `except Exception:` blocks are strictly avoided unless re-raising or logging tracebacks properly.
40
+ - [ ] Domain-specific custom exceptions are raised instead of generic runtime errors.
41
+ - [ ] Log messages include relevant context parameters without exposing sensitive user data/PII.
42
+
43
+ ### 4. Code Style, Security & Architecture
44
+
45
+ - [ ] Code adheres to PEP 8 standards (enforced via `ruff` / `black`).
46
+ - [ ] Import order follows the standard layout: `Standard Library -> Third-Party -> Local Application`.
47
+ - [ ] Data validation models (`Pydantic` / `dataclasses`) cleanly separate schema definitions from core business logic.
48
+ - [ ] Security practices are met (e.g., no hardcoded secrets, no raw SQL string formatting, no unsafe `eval` / `exec`).
49
+
50
+ ---
51
+
52
+ ## Tooling & Static Analysis Integration
53
+
54
+ Reviewers and agents must verify that the diff passes the following automated Python checks:
55
+
56
+ | Domain | Tool | Action on Failure |
57
+ | :----------------------- | :---------------------- | :---------------------------------------------------------- |
58
+ | **Linting & Formatting** | `ruff`, `black` | Block PR / request immediate fix |
59
+ | **Type Checking** | `mypy`, `pyright` | Categorize as **Major** or **Critical** severity |
60
+ | **Security Scanning** | `bandit` | Categorize hardcoded secrets/flaws as **Critical** severity |
61
+ | **Testing & Coverage** | `pytest`, `coverage.py` | Require test cases for new/modified business logic |
62
+
63
+ ---
64
+
65
+ ## Report — three local outputs, plus one publish step
66
+
67
+ Never ask whether to anchor findings inline in the editor — that is the primary surface, the markdown file is the archive, and the receipt is what the push gate reads. Skipping any of the three means the review did not happen.
68
+
69
+ (GitHub PR comments) is the only step that leaves the machine, so it runs **only when the invocation targets a PR**. See its table.
70
+
71
+ The two local outputs are written differently: the **report file** (4.2) and **PR comments** (4.3) are English only, for the reviewee on GitHub.
72
+
73
+ Finding line format, used in the markdown file and in agent hand-offs:
74
+
75
+ ```
76
+ SEVERITY (Critical | Major | Minor) | path/to/file.ts:LINE | one-line issue | concrete fix
77
+ ```
78
+
79
+ Here's the example format
80
+
81
+ ```markdown
82
+ Critical | app/services/user.py:42 | Mutable default argument used | Change `def get_users(filters={})` to `filters=None` and initialize inside the function.
83
+ Major | app/api/v1/endpoints.py:87 | Unhandled broad exception swallowing | Remove bare `except:` block and explicitly catch `SQLAlchemyError` with traceback logging.
84
+ Minor | app/models/domain.py:15 | Missing return type annotation | Add explicit return type `-> list[User]` to `find_active_users`.
85
+ ```
86
+
87
+ ---
88
+
89
+ ## Merge Gate Policy & Author Autonomy
90
+
91
+ ### Merge Blockers (Critical & Major):
92
+
93
+ Only severe issues that violate system integrity, security, core architecture, or runtime stability block the merge. These must be resolved before merging.
94
+
95
+ ### Author Discretion (Minor / Suggestions):
96
+
97
+ For non-critical findings, style preferences, or non-blocking optimizations, full autonomy is granted to the author. The author retains final ownership and responsibility to decide whether to address them immediately, defer them to follow-up tasks, or leave the code as-is.
@@ -0,0 +1,156 @@
1
+ ---
2
+ name: python-pro
3
+ description: Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Expert in the latest Python ecosystem including uv, ruff, pydantic, and FastAPI.
4
+ risk: unknown
5
+ source: community
6
+ date_added: '2026-02-27'
7
+ ---
8
+ You are a Python expert specializing in modern Python 3.12+ development with cutting-edge tools and practices from the 2024/2025 ecosystem.
9
+
10
+ ## Use this skill when
11
+
12
+ - Writing or reviewing Python 3.12+ codebases
13
+ - Implementing async workflows or performance optimizations
14
+ - Designing production-ready Python services or tooling
15
+
16
+ ## Do not use this skill when
17
+
18
+ - You need guidance for a non-Python stack
19
+ - You only need basic syntax tutoring
20
+ - You cannot modify Python runtime or dependencies
21
+
22
+ ## Instructions
23
+
24
+ 1. Confirm runtime, dependencies, and performance targets.
25
+ 2. Choose patterns (async, typing, tooling) that match requirements.
26
+ 3. Implement and test with modern tooling.
27
+ 4. Profile and tune for latency, memory, and correctness.
28
+
29
+ ## Purpose
30
+ Expert Python developer mastering Python 3.12+ features, modern tooling, and production-ready development practices. Deep knowledge of the current Python ecosystem including package management with uv, code quality with ruff, and building high-performance applications with async patterns.
31
+
32
+ ## Capabilities
33
+
34
+ ### Modern Python Features
35
+ - Python 3.12+ features including improved error messages, performance optimizations, and type system enhancements
36
+ - Advanced async/await patterns with asyncio, aiohttp, and trio
37
+ - Context managers and the `with` statement for resource management
38
+ - Dataclasses, Pydantic models, and modern data validation
39
+ - Pattern matching (structural pattern matching) and match statements
40
+ - Type hints, generics, and Protocol typing for robust type safety
41
+ - Descriptors, metaclasses, and advanced object-oriented patterns
42
+ - Generator expressions, itertools, and memory-efficient data processing
43
+
44
+ ### Modern Tooling & Development Environment
45
+ - Package management with uv (2024's fastest Python package manager)
46
+ - Code formatting and linting with ruff (replacing black, isort, flake8)
47
+ - Static type checking with mypy and pyright
48
+ - Project configuration with pyproject.toml (modern standard)
49
+ - Virtual environment management with venv, pipenv, or uv
50
+ - Pre-commit hooks for code quality automation
51
+ - Modern Python packaging and distribution practices
52
+ - Dependency management and lock files
53
+
54
+ ### Testing & Quality Assurance
55
+ - Comprehensive testing with pytest and pytest plugins
56
+ - Property-based testing with Hypothesis
57
+ - Test fixtures, factories, and mock objects
58
+ - Coverage analysis with pytest-cov and coverage.py
59
+ - Performance testing and benchmarking with pytest-benchmark
60
+ - Integration testing and test databases
61
+ - Continuous integration with GitHub Actions
62
+ - Code quality metrics and static analysis
63
+
64
+ ### Performance & Optimization
65
+ - Profiling with cProfile, py-spy, and memory_profiler
66
+ - Performance optimization techniques and bottleneck identification
67
+ - Async programming for I/O-bound operations
68
+ - Multiprocessing and concurrent.futures for CPU-bound tasks
69
+ - Memory optimization and garbage collection understanding
70
+ - Caching strategies with functools.lru_cache and external caches
71
+ - Database optimization with SQLAlchemy and async ORMs
72
+ - NumPy, Pandas optimization for data processing
73
+
74
+ ### Web Development & APIs
75
+ - FastAPI for high-performance APIs with automatic documentation
76
+ - Django for full-featured web applications
77
+ - Flask for lightweight web services
78
+ - Pydantic for data validation and serialization
79
+ - SQLAlchemy 2.0+ with async support
80
+ - Background task processing with Celery and Redis
81
+ - WebSocket support with FastAPI and Django Channels
82
+ - Authentication and authorization patterns
83
+
84
+ ### Data Science & Machine Learning
85
+ - NumPy and Pandas for data manipulation and analysis
86
+ - Matplotlib, Seaborn, and Plotly for data visualization
87
+ - Scikit-learn for machine learning workflows
88
+ - Jupyter notebooks and IPython for interactive development
89
+ - Data pipeline design and ETL processes
90
+ - Integration with modern ML libraries (PyTorch, TensorFlow)
91
+ - Data validation and quality assurance
92
+ - Performance optimization for large datasets
93
+
94
+ ### DevOps & Production Deployment
95
+ - Docker containerization and multi-stage builds
96
+ - Kubernetes deployment and scaling strategies
97
+ - Cloud deployment (AWS, GCP, Azure) with Python services
98
+ - Monitoring and logging with structured logging and APM tools
99
+ - Configuration management and environment variables
100
+ - Security best practices and vulnerability scanning
101
+ - CI/CD pipelines and automated testing
102
+ - Performance monitoring and alerting
103
+
104
+ ### Advanced Python Patterns
105
+ - Design patterns implementation (Singleton, Factory, Observer, etc.)
106
+ - SOLID principles in Python development
107
+ - Dependency injection and inversion of control
108
+ - Event-driven architecture and messaging patterns
109
+ - Functional programming concepts and tools
110
+ - Advanced decorators and context managers
111
+ - Metaprogramming and dynamic code generation
112
+ - Plugin architectures and extensible systems
113
+
114
+ ## Behavioral Traits
115
+ - Follows PEP 8 and modern Python idioms consistently
116
+ - Prioritizes code readability and maintainability
117
+ - Uses type hints throughout for better code documentation
118
+ - Implements comprehensive error handling with custom exceptions
119
+ - Writes extensive tests with high coverage (>90%)
120
+ - Leverages Python's standard library before external dependencies
121
+ - Focuses on performance optimization when needed
122
+ - Documents code thoroughly with docstrings and examples
123
+ - Stays current with latest Python releases and ecosystem changes
124
+ - Emphasizes security and best practices in production code
125
+
126
+ ## Knowledge Base
127
+ - Python 3.12+ language features and performance improvements
128
+ - Modern Python tooling ecosystem (uv, ruff, pyright)
129
+ - Current web framework best practices (FastAPI, Django 5.x)
130
+ - Async programming patterns and asyncio ecosystem
131
+ - Data science and machine learning Python stack
132
+ - Modern deployment and containerization strategies
133
+ - Python packaging and distribution best practices
134
+ - Security considerations and vulnerability prevention
135
+ - Performance profiling and optimization techniques
136
+ - Testing strategies and quality assurance practices
137
+
138
+ ## Response Approach
139
+ 1. **Analyze requirements** for modern Python best practices
140
+ 2. **Suggest current tools and patterns** from the 2024/2025 ecosystem
141
+ 3. **Provide production-ready code** with proper error handling and type hints
142
+ 4. **Include comprehensive tests** with pytest and appropriate fixtures
143
+ 5. **Consider performance implications** and suggest optimizations
144
+ 6. **Document security considerations** and best practices
145
+ 7. **Recommend modern tooling** for development workflow
146
+ 8. **Include deployment strategies** when applicable
147
+
148
+ ## Example Interactions
149
+ - "Help me migrate from pip to uv for package management"
150
+ - "Optimize this Python code for better async performance"
151
+ - "Design a FastAPI application with proper error handling and validation"
152
+ - "Set up a modern Python project with ruff, mypy, and pytest"
153
+ - "Implement a high-performance data processing pipeline"
154
+ - "Create a production-ready Dockerfile for a Python application"
155
+ - "Design a scalable background task system with Celery"
156
+ - "Implement modern authentication patterns in FastAPI"
@@ -0,0 +1,32 @@
1
+ # Codex workspace setup
2
+
3
+ This directory contains repository-scoped Codex defaults. Codex loads
4
+ `.codex/config.toml` only after the repository is marked as trusted.
5
+
6
+ ## Defaults
7
+
8
+ - Ask before an action needs elevated permission.
9
+ - Allow writes inside this repository only.
10
+ - Keep web search in cached mode and disable shell network access by default.
11
+ - Leave personal settings such as model, provider, authentication, and notifications in
12
+ `~/.codex/config.toml`; do not commit them here.
13
+
14
+ ## Standard verification
15
+
16
+ Choose the smallest relevant check while iterating, then run the complete checks before
17
+ hand-off when the environment allows it.
18
+
19
+ ```bash
20
+ make lint
21
+ make typecheck
22
+ make test
23
+ ```
24
+
25
+ `make check` combines linting and type checking. Use `make run ARGS="..."` only with a
26
+ known failing Playwright target and its log or diff.
27
+
28
+ ## Repair guardrail
29
+
30
+ For E2E repair work, edits may change selectors or wait conditions only. Never change
31
+ assertions, test intent, or application business logic to make a test pass. Follow
32
+ `docs/sandbox.md` for the target-file and command boundaries.
@@ -0,0 +1,9 @@
1
+ # Repository-scoped defaults for trusted Codex sessions.
2
+ # Personal model, provider, auth, and notification settings belong in ~/.codex/config.toml.
3
+
4
+ approval_policy = "on-request"
5
+ sandbox_mode = "workspace-write"
6
+ web_search = "cached"
7
+
8
+ [sandbox_workspace_write]
9
+ network_access = false
@@ -0,0 +1,10 @@
1
+ node_modules
2
+ .venv
3
+ docs-site
4
+ demo-page
5
+ examples
6
+ tests
7
+ .git
8
+ .github
9
+ *.pyc
10
+ __pycache__
@@ -17,6 +17,15 @@ E2E_HEALER_LLM_MAX_TOKENS=4096
17
17
  # E2E_HEALER_LLM_BASE_URL= # set for Azure / OpenAI-compatible endpoints
18
18
  # ------------------------------------------------------------------------------------
19
19
 
20
+ # --- OrcaRouter example ---------------------------------------------------------------
21
+ # OrcaRouter is an optional OpenAI-compatible provider. Its dedicated variables work
22
+ # alongside the generic E2E_HEALER_LLM_* variables; generic values take precedence.
23
+ # E2E_HEALER_LLM_PROVIDER=orcarouter
24
+ # ORCAROUTER_API_KEY=your_orcarouter_api_key_here
25
+ # ORCAROUTER_BASE_URL=https://api.orcarouter.ai/v1 # default; override when needed
26
+ # E2E_HEALER_LLM_MODEL=your_structured_output_model
27
+ # ------------------------------------------------------------------------------------
28
+
20
29
  # --- Anthropic (Claude) example ------------------------------------------------------
21
30
  # Requires the optional extra: pip install "ai-driven-e2e[anthropic]". Set the provider and
22
31
  # either E2E_HEALER_LLM_API_KEY or the standard ANTHROPIC_API_KEY (fallback). Structured
@@ -35,15 +44,41 @@ E2E_HEALER_LLM_MAX_TOKENS=4096
35
44
  # E2E_HEALER_LLM_BASE_URL= # override only for a remote Ollama host
36
45
  # ------------------------------------------------------------------------------------
37
46
 
47
+ # --- DeepSeek (Responses API) example --------------------------------------------------
48
+ # Built-in adapter speaking DeepSeek's stateless Responses API at https://api.deepseek.com.
49
+ # Set the provider and either E2E_HEALER_LLM_API_KEY or the standard DEEPSEEK_API_KEY
50
+ # (fallback). The Responses API currently supports deepseek-v4-flash only; structured
51
+ # output uses the Responses API text.format json_schema parameter.
52
+ # E2E_HEALER_LLM_PROVIDER=deepseek
53
+ # DEEPSEEK_API_KEY=sk-... # or E2E_HEALER_LLM_API_KEY=sk-...
54
+ # E2E_HEALER_LLM_MODEL=deepseek-v4-flash
55
+ # E2E_HEALER_LLM_BASE_URL= # default https://api.deepseek.com; override for a proxy
56
+ # ------------------------------------------------------------------------------------
57
+
58
+ # --- Redaction boundary ---------------------------------------------------------------
59
+ # Values named here are replaced in every prompt, in the --json evidence, and in structured
60
+ # logs, on top of the built-in credential patterns (authorization headers, password=/token=
61
+ # pairs, sensitive URL query values). SENSITIVE_ENV_VARS takes variable NAMES, read at
62
+ # redaction time so their values never live in a settings object. SENSITIVE_VALUES takes
63
+ # literals and holds them masked; each must be at least 4 characters. Commas separate entries.
64
+ # If a test hard-codes a credential, list it in SENSITIVE_VALUES — test source is sent as-is.
65
+ # E2E_HEALER_SENSITIVE_ENV_VARS=STAGING_PASSWORD,INTERNAL_API_TOKEN
66
+ # E2E_HEALER_SENSITIVE_VALUES=your-test-tenant-identifier
67
+ # To keep evidence inside your network, use a local endpoint:
68
+ # E2E_HEALER_LLM_PROVIDER=openai
69
+ # E2E_HEALER_LLM_BASE_URL=http://127.0.0.1:8000/v1
70
+ # -------------------------------------------------------------------------------------
71
+
38
72
  # Legacy NVIDIA NIM vars (OpenAI-compatible Structured Outputs). Still supported: when
39
73
  # LLM_PROVIDER=nvidia these are folded into the generic LLM_* vars above, so existing
40
74
  # setups keep working unchanged. New configs should prefer the LLM_* vars.
41
75
  E2E_HEALER_NVIDIA_API_KEY=nvapi-...
42
76
  E2E_HEALER_NVIDIA_BASE_URL=https://integrate.api.nvidia.com/v1
43
- E2E_HEALER_NVIDIA_MODEL=openai/gpt-oss-120b
77
+ E2E_HEALER_NVIDIA_MODEL=minimaxai/minimax-m3.1-flash
44
78
  E2E_HEALER_NVIDIA_MAX_TOKENS=4096
45
79
 
46
- # Repair loop
80
+ # Repair loop — must be between 1 and 3 (Commandment #3: loop_count never exceeds 3, the
81
+ # Router owns termination). Out-of-range values are rejected at load.
47
82
  E2E_HEALER_MAX_LOOPS=3
48
83
 
49
84
  # Playwright invocation used by the Test Runner node
@@ -0,0 +1,15 @@
1
+ ## What & why
2
+
3
+ Describe the change and the motivation.
4
+
5
+ ## How verified
6
+
7
+ - [ ] `make check` (ruff lint + format check + pyright) passes
8
+ - [ ] `make test` passes
9
+ - [ ] Added/updated tests for behavior changes
10
+ - [ ] If this adds learning (healing history, cached rules) or a policy setting: it cannot lower
11
+ the refusal bar, skip verification, or auto-apply a change a fresh repair would refuse
12
+
13
+ ## Notes
14
+
15
+ Anything reviewers should know (trade-offs, follow-ups, guardrail impact).
@@ -0,0 +1,16 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "uv"
4
+ directory: "/product/api"
5
+ schedule:
6
+ interval: "weekly"
7
+
8
+ - package-ecosystem: "npm"
9
+ directory: "/product/web"
10
+ schedule:
11
+ interval: "weekly"
12
+
13
+ - package-ecosystem: "github-actions"
14
+ directory: "/"
15
+ schedule:
16
+ interval: "weekly"
@@ -9,12 +9,10 @@ jobs:
9
9
  check:
10
10
  runs-on: ubuntu-latest
11
11
  permissions:
12
- contents: write
12
+ contents: read
13
13
  steps:
14
14
  - name: Checkout
15
15
  uses: actions/checkout@v4
16
- with:
17
- ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.head_ref || github.ref }}
18
16
 
19
17
  - name: Install uv
20
18
  uses: astral-sh/setup-uv@v3
@@ -22,30 +20,17 @@ jobs:
22
20
  - name: Set up Python
23
21
  run: uv python install 3.13
24
22
 
25
- - name: Install dependencies
26
- run: uv sync --extra dev
27
-
28
- - name: Lint
29
- run: uv run ruff check .
30
-
31
- - name: Auto-format
32
- run: uv run ruff format .
23
+ - name: Check lockfile is up to date
24
+ run: uv lock --check
33
25
 
34
- - name: Commit formatting changes
35
- if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
36
- uses: stefanzweifel/git-auto-commit-action@v5
37
- with:
38
- commit_message: "style: auto-format code with ruff"
39
- file_pattern: "*.py"
40
-
41
- - name: Verify formatting changes were committed
42
- run: git diff --exit-code -- "*.py"
26
+ - name: Install dependencies
27
+ run: uv sync --locked --extra dev
43
28
 
44
- - name: Typecheck
45
- run: uv run pyright
29
+ - name: Check lint, formatting, and types
30
+ run: make check
46
31
 
47
32
  - name: Test with coverage
48
- run: uv run pytest --cov=app --cov-report=term-missing --cov-report=xml
33
+ run: make coverage
49
34
 
50
35
  - name: Upload coverage report
51
36
  uses: actions/upload-artifact@v4
@@ -76,6 +61,18 @@ jobs:
76
61
  working-directory: examples
77
62
  run: pnpm exec playwright install chromium
78
63
 
64
+ - name: Install uv
65
+ uses: astral-sh/setup-uv@v3
66
+
67
+ - name: Set up Python
68
+ run: uv python install 3.13
69
+
70
+ - name: Install Python dependencies
71
+ run: uv sync --locked --extra dev
72
+
73
+ - name: Verify cross-process Shadow replay
74
+ run: uv run pytest tests/test_shadow_runtime_integration.py -v
75
+
79
76
  - name: Verify demo is green on a clean checkout
80
77
  working-directory: examples
81
78
  run: pnpm exec playwright test scenarios/id-rename
@@ -94,6 +91,35 @@ jobs:
94
91
  fi
95
92
  echo "Demo correctly reproduces the broken-selector failure"
96
93
 
94
+ action-consumer:
95
+ runs-on: ubuntu-latest
96
+ permissions:
97
+ contents: read
98
+ steps:
99
+ - name: Checkout action
100
+ uses: actions/checkout@v4
101
+ with:
102
+ path: action
103
+ persist-credentials: false
104
+
105
+ - name: Create JavaScript-only consumer repository
106
+ run: |
107
+ cp -R action/ci/action-consumer "$GITHUB_WORKSPACE/consumer"
108
+ git -C "$GITHUB_WORKSPACE/consumer" init
109
+
110
+ - name: Run action from the consumer repository
111
+ id: healer
112
+ uses: ./action
113
+ with:
114
+ working-directory: consumer
115
+ test-path: tests/example.spec.js
116
+ playwright-cmd: node smoke.mjs
117
+ nvidia-api-key: unused-for-passing-smoke-test
118
+
119
+ - name: Verify action outcome
120
+ env:
121
+ ACTION_OUTCOME: ${{ steps.healer.outputs.outcome }}
122
+ run: test "$ACTION_OUTCOME" = "passed"
97
123
  check-secret:
98
124
  runs-on: ubuntu-latest
99
125
  outputs:
@@ -111,7 +137,7 @@ jobs:
111
137
 
112
138
  examples-heal:
113
139
  runs-on: ubuntu-latest
114
- needs: [check, examples-repro, check-secret]
140
+ needs: [check, examples-repro, action-consumer, check-secret]
115
141
  if: needs.check-secret.outputs.has-key == 'true'
116
142
  steps:
117
143
  - uses: actions/checkout@v4
@@ -122,8 +148,11 @@ jobs:
122
148
  - name: Set up Python
123
149
  run: uv python install 3.13
124
150
 
151
+ - name: Check lockfile is up to date
152
+ run: uv lock --check
153
+
125
154
  - name: Install Python dependencies
126
- run: uv sync --extra dev
155
+ run: uv sync --locked --extra dev
127
156
 
128
157
  - uses: pnpm/action-setup@v4
129
158
  with:
@@ -158,4 +187,10 @@ jobs:
158
187
  working-directory: examples
159
188
  env:
160
189
  E2E_HEALER_NVIDIA_API_KEY: ${{ secrets.E2E_HEALER_NVIDIA_API_KEY }}
190
+ # The scenario file is literally named `spec.ts`, which the default write globs
191
+ # (`*.spec.ts`) do not match, so the sandbox would deny the repair before any model call.
192
+ E2E_HEALER_WRITE_GLOBS: "*.spec.ts,**/*.spec.ts,spec.ts,**/spec.ts"
193
+ # The example config's second reporter shells out to `e2e-healer review`, which is not
194
+ # on PATH here and adds unrelated model calls; the plain list reporter is enough.
195
+ E2E_HEALER_PLAYWRIGHT_CMD: npx playwright test --reporter=list
161
196
  run: uv run e2e-healer scenarios/id-rename/spec.ts --log scenarios/id-rename/playwright.log --diff scenarios/id-rename/change.patch --dry-run
@@ -0,0 +1,84 @@
1
+ name: product
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths: ["product/**", "app/schemas.py", "pyproject.toml", ".github/workflows/product.yml"]
7
+ pull_request:
8
+ paths: ["product/**", "app/schemas.py", "pyproject.toml", ".github/workflows/product.yml"]
9
+
10
+ permissions:
11
+ contents: read
12
+
13
+ jobs:
14
+ api:
15
+ runs-on: ubuntu-latest
16
+ services:
17
+ postgres:
18
+ image: postgres:16
19
+ env:
20
+ POSTGRES_USER: product
21
+ POSTGRES_PASSWORD: product
22
+ POSTGRES_DB: product
23
+ options: >-
24
+ --health-cmd "pg_isready -U product -d product"
25
+ --health-interval 2s
26
+ --health-timeout 5s
27
+ --health-retries 15
28
+ ports:
29
+ - 5432:5432
30
+ env:
31
+ PRODUCT_API_DATABASE_URL: postgresql+psycopg://product:product@localhost:5432/product
32
+ PRODUCT_API_TEST_DATABASE_URL: postgresql+psycopg://product:product@localhost:5432/product
33
+ defaults:
34
+ run:
35
+ working-directory: product/api
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+
39
+ - name: Install uv
40
+ uses: astral-sh/setup-uv@v3
41
+
42
+ - name: Set up Python
43
+ run: uv python install 3.13
44
+
45
+ - name: Install dependencies
46
+ run: uv sync --locked
47
+
48
+ - name: Check lint, formatting, and types
49
+ run: |
50
+ uv run ruff check .
51
+ uv run ruff format --check .
52
+ uv run pyright
53
+
54
+ - name: Test
55
+ run: |
56
+ uv run alembic upgrade head
57
+ uv run pytest
58
+
59
+ web:
60
+ runs-on: ubuntu-latest
61
+ defaults:
62
+ run:
63
+ working-directory: product/web
64
+ steps:
65
+ - uses: actions/checkout@v4
66
+
67
+ - uses: pnpm/action-setup@v4
68
+ with:
69
+ package_json_file: product/web/package.json
70
+
71
+ - uses: actions/setup-node@v4
72
+ with:
73
+ node-version: 24
74
+ cache: pnpm
75
+ cache-dependency-path: product/web/pnpm-lock.yaml
76
+
77
+ - name: Install dependencies
78
+ run: pnpm install --frozen-lockfile
79
+
80
+ - name: Lint
81
+ run: pnpm lint
82
+
83
+ - name: Build
84
+ run: pnpm build