ai-driven-e2e 0.5.0__tar.gz → 0.6.0__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.
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.claude/CLAUDE.md +22 -0
- ai_driven_e2e-0.6.0/.dockerignore +10 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.env.example +14 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/PULL_REQUEST_TEMPLATE.md +2 -0
- ai_driven_e2e-0.6.0/.github/dependabot.yml +16 -0
- ai_driven_e2e-0.6.0/.github/workflows/product.yml +84 -0
- ai_driven_e2e-0.6.0/.github/workflows/safety-benchmark.yml +131 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.gitignore +1 -0
- ai_driven_e2e-0.6.0/CHANGELOG.md +512 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/CONTRIBUTING.md +5 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/PKG-INFO +100 -48
- ai_driven_e2e-0.6.0/README.ar.md +22 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/README.md +99 -47
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/action.yml +85 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/benchmark.py +7 -38
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/cli.py +255 -8
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/config.py +40 -1
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/evidence.py +34 -19
- ai_driven_e2e-0.6.0/app/evidence_boundary.py +70 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/graph.py +130 -13
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/llm.py +45 -9
- ai_driven_e2e-0.6.0/app/logging.py +59 -0
- ai_driven_e2e-0.6.0/app/nodes/decline_adjudicator.py +50 -0
- ai_driven_e2e-0.6.0/app/nodes/diagnoser.py +66 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/memory_lookup.py +2 -1
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/patch_generator.py +132 -15
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/reviewer.py +12 -4
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/selector_verifier.py +1 -12
- ai_driven_e2e-0.6.0/app/preprocess/ambiguous_target.py +100 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/aria_snapshot.py +52 -11
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/diff_ast_analyzer.py +89 -13
- ai_driven_e2e-0.6.0/app/preprocess/selector_diff_check.py +84 -0
- ai_driven_e2e-0.6.0/app/prompts/decline_adjudicator.py +27 -0
- ai_driven_e2e-0.6.0/app/prompts/diagnoser.py +53 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/prompts/patch_generator.py +18 -9
- ai_driven_e2e-0.6.0/app/provenance.py +51 -0
- ai_driven_e2e-0.6.0/app/registry.py +57 -0
- ai_driven_e2e-0.6.0/app/safety_benchmark.py +700 -0
- ai_driven_e2e-0.6.0/app/safety_parallel.py +231 -0
- ai_driven_e2e-0.6.0/app/safety_report.py +449 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/schemas.py +151 -8
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/config.py +11 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/har_entry.py +28 -5
- ai_driven_e2e-0.6.0/app/shadow/redaction.py +249 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/schemas.py +0 -11
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/trace_parser.py +0 -6
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/state.py +33 -1
- ai_driven_e2e-0.6.0/app/verify/ast_lock.py +324 -0
- ai_driven_e2e-0.6.0/demo-page/README.md +35 -0
- ai_driven_e2e-0.6.0/demo-page/index.html +18 -0
- ai_driven_e2e-0.6.0/demo-page/package.json +27 -0
- ai_driven_e2e-0.6.0/demo-page/pnpm-lock.yaml +1940 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/build_data.py +85 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-classname-rename.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-cta-rename-handler-dropped.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-delayed-cta.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-disabled-submit.log +40 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-id-rename-submit-dropped.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-id-rename.log +46 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-label-rename.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-product-regression.log +31 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-split-submit.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-wrapper-added.log +25 -0
- ai_driven_e2e-0.6.0/demo-page/scripts/logs/pw-wrong-base-url.log +24 -0
- ai_driven_e2e-0.6.0/demo-page/src/App.tsx +108 -0
- ai_driven_e2e-0.6.0/demo-page/src/components/Architecture.tsx +75 -0
- ai_driven_e2e-0.6.0/demo-page/src/components/Bench.tsx +169 -0
- ai_driven_e2e-0.6.0/demo-page/src/components/Pairs.tsx +47 -0
- ai_driven_e2e-0.6.0/demo-page/src/components/Player.tsx +307 -0
- ai_driven_e2e-0.6.0/demo-page/src/components/ui.tsx +71 -0
- ai_driven_e2e-0.6.0/demo-page/src/data/demo.json +380 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/en.tsx +284 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/index.tsx +61 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/ja.tsx +265 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/ko.tsx +275 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/types.ts +67 -0
- ai_driven_e2e-0.6.0/demo-page/src/i18n/zh.tsx +265 -0
- ai_driven_e2e-0.6.0/demo-page/src/index.css +96 -0
- ai_driven_e2e-0.6.0/demo-page/src/main.tsx +14 -0
- ai_driven_e2e-0.6.0/demo-page/src/runs.ts +159 -0
- ai_driven_e2e-0.6.0/demo-page/tsconfig.json +18 -0
- ai_driven_e2e-0.6.0/demo-page/vite.config.ts +10 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/RELEASING.md +11 -1
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/shadow-quickstart.md +8 -1
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/shadow-testing.md +14 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/DESIGN.md +11 -2
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/architecture/data-preprocessor.mdx +3 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/architecture/repair-loop.mdx +17 -0
- ai_driven_e2e-0.6.0/docs-site/docs/getting-started/quickstart-github-action.mdx +122 -0
- ai_driven_e2e-0.6.0/docs-site/docs/reference/configuration.mdx +159 -0
- ai_driven_e2e-0.6.0/docs-site/docs/reference/exit-codes.mdx +155 -0
- ai_driven_e2e-0.6.0/docs-site/docs/reference/github-action.mdx +48 -0
- ai_driven_e2e-0.6.0/docs-site/docs/reference/json-output.mdx +494 -0
- ai_driven_e2e-0.6.0/docs-site/docs/reference/safety-benchmark.mdx +327 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/reference/schema-versioning.mdx +62 -5
- ai_driven_e2e-0.6.0/docs-site/docs/safety/data-boundary.mdx +123 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docusaurus.config.ts +5 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/package.json +2 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/pnpm-lock.yaml +958 -5
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/sidebars.ts +3 -0
- ai_driven_e2e-0.6.0/docs-site/src/components/ArchitectureFlow/index.tsx +230 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/ArchitectureFlow/styles.module.css +58 -3
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-boundary.json +103 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-guardrail.json +295 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-insufficient.json +303 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-loop-cap.json +330 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-product-regression.json +196 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/refusal-provider.json +276 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/repair.json +199 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/review.json +19 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/suite-mixed.json +536 -0
- ai_driven_e2e-0.6.0/docs-site/src/data/json-contract/suite-none-found.json +8 -0
- ai_driven_e2e-0.6.0/docs-site/static/img/scenarios/account.png +0 -0
- ai_driven_e2e-0.6.0/docs-site/static/img/scenarios/catalog.png +0 -0
- ai_driven_e2e-0.6.0/docs-site/static/img/scenarios/checkout.png +0 -0
- ai_driven_e2e-0.6.0/docs-site/static/img/scenarios/settings.png +0 -0
- ai_driven_e2e-0.6.0/examples/README.md +126 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/App.tsx +71 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/account/AccountAvatar.tsx +18 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/account/AccountEmail.tsx +23 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/account/AccountPassword.tsx +23 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/account/AccountSignOut.tsx +15 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/catalog/CatalogPager.tsx +15 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/catalog/CatalogRowDetail.tsx +15 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/catalog/CatalogSearch.tsx +30 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/catalog/CatalogSort.tsx +34 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/checkout/CheckoutCoupon.tsx +33 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/checkout/CheckoutPlaceOrder.tsx +17 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/checkout/CheckoutQuantity.tsx +27 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/checkout/CheckoutRemoveItem.tsx +32 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/settings/SettingsDeleteAccount.tsx +20 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/settings/SettingsNotifications.tsx +21 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/settings/SettingsSave.tsx +15 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/components/settings/SettingsTheme.tsx +19 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/pages/AccountPage.tsx +16 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/pages/CatalogPage.tsx +16 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/pages/CheckoutPage.tsx +16 -0
- ai_driven_e2e-0.6.0/examples/demo-app/src/pages/SettingsPage.tsx +16 -0
- ai_driven_e2e-0.6.0/examples/demo-port.ts +12 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/playwright.config.ts +7 -2
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-drift/spec.ts +11 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-regression/change.patch +17 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-avatar-regression/spec.ts +11 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-drift/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-regression/change.patch +15 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-email-regression/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-drift/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-regression/change.patch +20 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-password-regression/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/account-signout-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-regression/change.patch +17 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-detail-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-regression/change.patch +17 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-pagination-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-drift/change.patch +16 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-drift/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-regression/change.patch +23 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-search-regression/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-regression/change.patch +19 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/catalog-sort-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-drift/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-regression/change.patch +22 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-coupon-regression/spec.ts +8 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-place-order-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-regression/change.patch +22 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-quantity-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/checkout-remove-item-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/classname-rename/meta.json +1 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/classname-rename/spec.ts +0 -2
- ai_driven_e2e-0.6.0/examples/scenarios/cta-rename-handler-dropped/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/cta-rename-handler-dropped/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/cta-rename-handler-dropped/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/delayed-cta/change.patch +34 -0
- ai_driven_e2e-0.6.0/examples/scenarios/delayed-cta/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/delayed-cta/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/disabled-submit/change.patch +12 -0
- ai_driven_e2e-0.6.0/examples/scenarios/disabled-submit/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/disabled-submit/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/id-rename/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/id-rename/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/id-rename-submit-dropped/change.patch +12 -0
- ai_driven_e2e-0.6.0/examples/scenarios/id-rename-submit-dropped/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/id-rename-submit-dropped/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/jsx-context/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/label-rename/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/label-rename/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/label-rename/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/product-regression/change.patch +31 -0
- ai_driven_e2e-0.6.0/examples/scenarios/product-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/product-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-delete-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-regression/change.patch +20 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-notifications-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-save-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-drift/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-drift/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-drift/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-regression/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-regression/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/settings-theme-regression/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/split-submit/change.patch +20 -0
- ai_driven_e2e-0.6.0/examples/scenarios/split-submit/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/split-submit/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/submit-rename-reset-added/change.patch +20 -0
- ai_driven_e2e-0.6.0/examples/scenarios/submit-rename-reset-added/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/submit-rename-reset-added/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrapper-added/change.patch +17 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrapper-added/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrapper-added/spec.ts +7 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrong-base-url/change.patch +13 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrong-base-url/meta.json +1 -0
- ai_driven_e2e-0.6.0/examples/scenarios/wrong-base-url/spec.ts +7 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/vite.config.ts +9 -4
- ai_driven_e2e-0.6.0/product/README.md +62 -0
- ai_driven_e2e-0.6.0/product/api/.env.example +6 -0
- ai_driven_e2e-0.6.0/product/api/Dockerfile +22 -0
- ai_driven_e2e-0.6.0/product/api/alembic.ini +149 -0
- ai_driven_e2e-0.6.0/product/api/migrations/README +1 -0
- ai_driven_e2e-0.6.0/product/api/migrations/env.py +78 -0
- ai_driven_e2e-0.6.0/product/api/migrations/script.py.mako +28 -0
- ai_driven_e2e-0.6.0/product/api/migrations/versions/6c7b4ee2a1d3_create_projects_and_runs.py +61 -0
- ai_driven_e2e-0.6.0/product/api/migrations/versions/d7b220f72fba_initial.py +23 -0
- ai_driven_e2e-0.6.0/product/api/pyproject.toml +45 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/__init__.py +1 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/config.py +38 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/db.py +27 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/ingest.py +111 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/main.py +86 -0
- ai_driven_e2e-0.6.0/product/api/src/product_api/models.py +48 -0
- ai_driven_e2e-0.6.0/product/api/tests/test_config.py +20 -0
- ai_driven_e2e-0.6.0/product/api/tests/test_healthz.py +32 -0
- ai_driven_e2e-0.6.0/product/api/tests/test_ingest.py +178 -0
- ai_driven_e2e-0.6.0/product/api/tests/test_version.py +41 -0
- ai_driven_e2e-0.6.0/product/api/uv.lock +2044 -0
- ai_driven_e2e-0.6.0/product/docker-compose.yml +33 -0
- ai_driven_e2e-0.6.0/product/web/eslint.config.js +28 -0
- ai_driven_e2e-0.6.0/product/web/index.html +12 -0
- ai_driven_e2e-0.6.0/product/web/package.json +33 -0
- ai_driven_e2e-0.6.0/product/web/pnpm-lock.yaml +2346 -0
- ai_driven_e2e-0.6.0/product/web/src/App.tsx +84 -0
- ai_driven_e2e-0.6.0/product/web/src/index.css +9 -0
- ai_driven_e2e-0.6.0/product/web/src/main.tsx +11 -0
- ai_driven_e2e-0.6.0/product/web/tsconfig.json +18 -0
- ai_driven_e2e-0.6.0/product/web/vite.config.ts +29 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/pyproject.toml +3 -1
- ai_driven_e2e-0.6.0/tests/test_ambiguous_target.py +134 -0
- ai_driven_e2e-0.6.0/tests/test_aria_snapshot.py +205 -0
- ai_driven_e2e-0.6.0/tests/test_ast_lock.py +584 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_benchmark.py +86 -35
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_cli.py +65 -96
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_config.py +46 -9
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_content_addressed_snapshot_store.py +3 -86
- ai_driven_e2e-0.6.0/tests/test_decline_adjudicator.py +108 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_diagnoser.py +6 -2
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_diff_ast_analyzer.py +138 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_error_log_parser.py +15 -46
- ai_driven_e2e-0.6.0/tests/test_evidence.py +220 -0
- ai_driven_e2e-0.6.0/tests/test_evidence_boundary.py +173 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_failure_scanner.py +16 -21
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_github_action.py +15 -0
- ai_driven_e2e-0.6.0/tests/test_graph.py +202 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_har_parser.py +131 -8
- ai_driven_e2e-0.6.0/tests/test_json_contract_docs.py +132 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_llm.py +79 -70
- ai_driven_e2e-0.6.0/tests/test_logging.py +130 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_match_options.py +0 -46
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_matching_engine.py +0 -68
- ai_driven_e2e-0.6.0/tests/test_memory_lookup.py +236 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_mock_injector.py +44 -67
- ai_driven_e2e-0.6.0/tests/test_normalizer.py +224 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_notifications.py +23 -34
- ai_driven_e2e-0.5.0/tests/test_patch_apply.py → ai_driven_e2e-0.6.0/tests/test_patch_generator.py +411 -89
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_patch_prompt_strategy.py +0 -7
- ai_driven_e2e-0.6.0/tests/test_provenance.py +154 -0
- ai_driven_e2e-0.6.0/tests/test_registry.py +51 -0
- ai_driven_e2e-0.6.0/tests/test_repair_loop.py +576 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_reviewer.py +7 -7
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_runner.py +0 -4
- ai_driven_e2e-0.6.0/tests/test_safety_benchmark.py +1158 -0
- ai_driven_e2e-0.6.0/tests/test_safety_parallel.py +135 -0
- ai_driven_e2e-0.6.0/tests/test_safety_report.py +857 -0
- ai_driven_e2e-0.6.0/tests/test_safety_workflow.py +112 -0
- ai_driven_e2e-0.6.0/tests/test_selector_check.py +98 -0
- ai_driven_e2e-0.6.0/tests/test_selector_diff_check.py +73 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_selector_hint.py +0 -1
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_selector_verifier.py +1 -11
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_shadow_config.py +7 -16
- ai_driven_e2e-0.6.0/tests/test_shadow_redaction.py +249 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_shadow_runtime.py +3 -25
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_shadow_runtime_integration.py +1 -1
- ai_driven_e2e-0.5.0/tests/test_snapshot_store_hardening.py → ai_driven_e2e-0.6.0/tests/test_snapshot_store.py +85 -16
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_suite_heal.py +11 -30
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_summary_contract.py +71 -15
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_trace_parser.py +44 -24
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/uv.lock +1 -1
- ai_driven_e2e-0.5.0/.coverage +0 -0
- ai_driven_e2e-0.5.0/CHANGELOG.md +0 -259
- ai_driven_e2e-0.5.0/app/core/report/generator.test.ts +0 -39
- ai_driven_e2e-0.5.0/app/core/report/generator.ts +0 -75
- ai_driven_e2e-0.5.0/app/logging.py +0 -22
- ai_driven_e2e-0.5.0/app/nodes/diagnoser.py +0 -47
- ai_driven_e2e-0.5.0/app/prompts/diagnoser.py +0 -32
- ai_driven_e2e-0.5.0/app/registry.py +0 -196
- ai_driven_e2e-0.5.0/app/shadow/redaction.py +0 -139
- ai_driven_e2e-0.5.0/docs-site/docs/getting-started/quickstart-github-action.mdx +0 -119
- ai_driven_e2e-0.5.0/docs-site/docs/reference/configuration.mdx +0 -17
- ai_driven_e2e-0.5.0/docs-site/docs/reference/exit-codes.mdx +0 -119
- ai_driven_e2e-0.5.0/docs-site/docs/reference/github-action.mdx +0 -16
- ai_driven_e2e-0.5.0/docs-site/src/components/ArchitectureFlow/index.tsx +0 -78
- ai_driven_e2e-0.5.0/docs-site/src/components/HomepageFeatures/index.module.css +0 -68
- ai_driven_e2e-0.5.0/docs-site/src/components/HomepageFeatures/index.tsx +0 -73
- ai_driven_e2e-0.5.0/docs-site/src/components/HomepageFeatures/styles.module.css +0 -11
- ai_driven_e2e-0.5.0/docs-site/src/pages/markdown-page.mdx +0 -7
- ai_driven_e2e-0.5.0/docs-site/static/img/docusaurus.png +0 -0
- ai_driven_e2e-0.5.0/docs-site/static/img/undraw_docusaurus_mountain.svg +0 -171
- ai_driven_e2e-0.5.0/docs-site/static/img/undraw_docusaurus_react.svg +0 -170
- ai_driven_e2e-0.5.0/docs-site/static/img/undraw_docusaurus_tree.svg +0 -40
- ai_driven_e2e-0.5.0/examples/README.md +0 -92
- ai_driven_e2e-0.5.0/examples/demo-app/src/App.tsx +0 -34
- ai_driven_e2e-0.5.0/examples/scenarios/id-rename/spec.ts +0 -13
- ai_driven_e2e-0.5.0/examples/scenarios/product-regression/change.patch +0 -27
- ai_driven_e2e-0.5.0/examples/scenarios/product-regression/spec.ts +0 -13
- ai_driven_e2e-0.5.0/package.json +0 -11
- ai_driven_e2e-0.5.0/tests/test_aria_snapshot.py +0 -103
- ai_driven_e2e-0.5.0/tests/test_aria_snapshot_identity.py +0 -121
- ai_driven_e2e-0.5.0/tests/test_evidence.py +0 -108
- ai_driven_e2e-0.5.0/tests/test_graph.py +0 -113
- ai_driven_e2e-0.5.0/tests/test_in_memory_snapshot_store.py +0 -90
- ai_driven_e2e-0.5.0/tests/test_memory_lookup.py +0 -126
- ai_driven_e2e-0.5.0/tests/test_normalizer.py +0 -238
- ai_driven_e2e-0.5.0/tests/test_patch_generator.py +0 -103
- ai_driven_e2e-0.5.0/tests/test_registry.py +0 -247
- ai_driven_e2e-0.5.0/tests/test_repair_loop.py +0 -176
- ai_driven_e2e-0.5.0/tests/test_selector_check.py +0 -77
- ai_driven_e2e-0.5.0/tests/test_selector_check_concurrent.py +0 -85
- ai_driven_e2e-0.5.0/tests/test_shadow_redaction.py +0 -69
- ai_driven_e2e-0.5.0/tests/test_snapshot_store.py +0 -116
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.claude/agents/plan.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.claude/skills/code-review/SKILL.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.claude/skills/docs-site/SKILL.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.claude/skills/python-pro/SKILL.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.codex/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.codex/config.toml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.editorconfig +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.githooks/pre-commit +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/ISSUE_TEMPLATE/architecture.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/ISSUE_TEMPLATE/question.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/workflows/assign-reviewer.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/workflows/ci.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/workflows/deploy-docs.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/workflows/publish-testpypi.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.github/workflows/publish.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/.python-version +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/AGENTS.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/CODE_OF_CONDUCT.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/LICENSE +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/Makefile +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/README.ja.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/README.ko.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/README.zh-CN.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/SECURITY.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/healing_history.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/shadow_verifier.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/nodes/test_runner.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/notifications.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/error_log_parser.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/failure_scanner.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/preprocess/jsx_chunker.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/prompts/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/prompts/reviewer.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/providers/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/providers/orcarouter.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/runner.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/sandbox.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/browser_state.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/content_addressed_snapshot_store.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/context.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/har_parser.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/in_memory_snapshot_store.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/injector.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/interfaces.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/match_options.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/matcher.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/normalizer.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/replay_bridge.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/runtime.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/scoring.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/snapshot_store.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/shadow/workspace.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/utils/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/utils/files.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/verify/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/app/verify/selector_check.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/ci/action-consumer/package.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/ci/action-consumer/smoke.mjs +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/ci/action-consumer/tests/example.spec.js +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/ci/github-review-bot.example.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/ci/github-workflow.example.yml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/demo.gif +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/demo.sh +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/demo.tape +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/design.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/rfc_dom_picker_cli_bridge.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/rfc_star_credit_proxy.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/roadmap-v0.5.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/sandbox.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/usecase-demo-cta.png +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs/wiki_architecture.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/.contrib/issue-drafts.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/.gitignore +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/architecture/langgraph-agent.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/architecture/selector-verifier.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/community/changelog.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/community/contributing.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/community/security.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/examples/breakage-patterns.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/examples/demo-walkthrough.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/getting-started/heal-vs-review.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/getting-started/introduction.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/getting-started/quickstart-cli.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/guides/auto-heal-on-pr.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/guides/pr-review-bot.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/guides/resilient-selectors.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/guides/selector-verification.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/guides/suite-vs-single.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/reference/cli.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/safety/human-in-the-loop.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/safety/sandbox-modes.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/docs/safety/scope-guardrail.mdx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/CodeCompare/index.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/CodeCompare/styles.module.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/HealingDiff/index.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/HealingDiff/styles.module.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/HelpWantedBoard/index.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/HelpWantedBoard/styles.module.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/ScopeGuardrailCallout/index.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/components/ScopeGuardrailCallout/styles.module.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/css/custom.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/data/help-wanted.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/pages/index.module.css +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/src/pages/index.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/.nojekyll +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/img/docusaurus-social-card.jpg +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/img/favicon.ico +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/img/logo.svg +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/llms.txt +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/static/robots.txt +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/docs-site/tsconfig.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/demo-app/index.html +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/demo-app/src/components/CTAButton.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/demo-app/src/components/SubmitButton.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/demo-app/src/main.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/package.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/pnpm-lock.yaml +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/classname-rename/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/classname-rename/change.patch +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/id-rename/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/id-rename/change.patch +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/jsx-context/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/jsx-context/benchmark-context.tsx +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/jsx-context/change.patch +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/scenarios/product-regression/README.md +0 -0
- {ai_driven_e2e-0.5.0/examples/scenarios → ai_driven_e2e-0.6.0/examples}/shadow-replay/replay.spec.ts +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/shadow.playwright.config.ts +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/examples/tsconfig.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/integrations/playwright-reporter/README.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/integrations/playwright-reporter/package-lock.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/integrations/playwright-reporter/package.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/integrations/playwright-reporter/src/index.ts +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/integrations/playwright-reporter/tsconfig.json +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/roadmap.en.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/roadmap.ko.md +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/__init__.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/fixtures/sample.har +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_browser_state.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_files.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_healing_history.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_jsx_chunker.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_non_http_snapshots.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_sandbox.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_scoring.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_shadow_verifier.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_shadow_workspace.py +0 -0
- {ai_driven_e2e-0.5.0 → ai_driven_e2e-0.6.0}/tests/test_test_runner_node.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
|
|
|
@@ -55,6 +55,20 @@ E2E_HEALER_LLM_MAX_TOKENS=4096
|
|
|
55
55
|
# E2E_HEALER_LLM_BASE_URL= # default https://api.deepseek.com; override for a proxy
|
|
56
56
|
# ------------------------------------------------------------------------------------
|
|
57
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
|
+
|
|
58
72
|
# Legacy NVIDIA NIM vars (OpenAI-compatible Structured Outputs). Still supported: when
|
|
59
73
|
# LLM_PROVIDER=nvidia these are folded into the generic LLM_* vars above, so existing
|
|
60
74
|
# setups keep working unchanged. New configs should prefer the LLM_* vars.
|
|
@@ -7,6 +7,8 @@ Describe the change and the motivation.
|
|
|
7
7
|
- [ ] `make check` (ruff lint + format check + pyright) passes
|
|
8
8
|
- [ ] `make test` passes
|
|
9
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
|
|
10
12
|
|
|
11
13
|
## Notes
|
|
12
14
|
|
|
@@ -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"
|
|
@@ -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
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
name: safety-benchmark
|
|
2
|
+
|
|
3
|
+
# Informational only. This workflow never gates a merge: the job is `continue-on-error`, and
|
|
4
|
+
# it is skipped (not failed) wherever the model API key is unavailable, such as pull requests
|
|
5
|
+
# from forks. Release gates (#292) block a release, never a merge, so this workflow does not
|
|
6
|
+
# pass --enforce-gates; run that before tagging (docs/RELEASING.md).
|
|
7
|
+
#
|
|
8
|
+
# Cost control: pull requests only run it when something that can change repair behaviour
|
|
9
|
+
# changed. It also runs on pushes to main, weekly, and on demand.
|
|
10
|
+
|
|
11
|
+
on:
|
|
12
|
+
workflow_dispatch:
|
|
13
|
+
schedule:
|
|
14
|
+
- cron: "17 5 * * 1"
|
|
15
|
+
push:
|
|
16
|
+
branches: [main]
|
|
17
|
+
paths:
|
|
18
|
+
- "app/**"
|
|
19
|
+
- "examples/**"
|
|
20
|
+
- "benchmarks/**"
|
|
21
|
+
- "pyproject.toml"
|
|
22
|
+
- "uv.lock"
|
|
23
|
+
- ".github/workflows/safety-benchmark.yml"
|
|
24
|
+
pull_request:
|
|
25
|
+
paths:
|
|
26
|
+
- "app/**"
|
|
27
|
+
- "examples/**"
|
|
28
|
+
- "benchmarks/**"
|
|
29
|
+
- "pyproject.toml"
|
|
30
|
+
- "uv.lock"
|
|
31
|
+
- ".github/workflows/safety-benchmark.yml"
|
|
32
|
+
|
|
33
|
+
permissions:
|
|
34
|
+
contents: read
|
|
35
|
+
|
|
36
|
+
concurrency:
|
|
37
|
+
group: safety-benchmark-${{ github.ref }}
|
|
38
|
+
cancel-in-progress: true
|
|
39
|
+
|
|
40
|
+
jobs:
|
|
41
|
+
check-secret:
|
|
42
|
+
runs-on: ubuntu-latest
|
|
43
|
+
outputs:
|
|
44
|
+
has-key: ${{ steps.check.outputs.has-key }}
|
|
45
|
+
steps:
|
|
46
|
+
- id: check
|
|
47
|
+
env:
|
|
48
|
+
E2E_HEALER_NVIDIA_API_KEY: ${{ secrets.E2E_HEALER_NVIDIA_API_KEY }}
|
|
49
|
+
run: |
|
|
50
|
+
if [ -n "$E2E_HEALER_NVIDIA_API_KEY" ]; then
|
|
51
|
+
echo "has-key=true" >> "$GITHUB_OUTPUT"
|
|
52
|
+
else
|
|
53
|
+
echo "has-key=false" >> "$GITHUB_OUTPUT"
|
|
54
|
+
fi
|
|
55
|
+
|
|
56
|
+
safety-benchmark:
|
|
57
|
+
needs: check-secret
|
|
58
|
+
if: needs.check-secret.outputs.has-key == 'true'
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
continue-on-error: true
|
|
61
|
+
# 44 runnable scenarios, each a full repair loop plus browser runs. --jobs 4 runs four at
|
|
62
|
+
# once in separate copies of examples/, one per runner core.
|
|
63
|
+
timeout-minutes: 120
|
|
64
|
+
steps:
|
|
65
|
+
- uses: actions/checkout@v4
|
|
66
|
+
|
|
67
|
+
- name: Install uv
|
|
68
|
+
uses: astral-sh/setup-uv@v3
|
|
69
|
+
|
|
70
|
+
- name: Set up Python
|
|
71
|
+
run: uv python install 3.13
|
|
72
|
+
|
|
73
|
+
- name: Install Python dependencies
|
|
74
|
+
run: uv sync --locked --extra dev
|
|
75
|
+
|
|
76
|
+
- uses: pnpm/action-setup@v4
|
|
77
|
+
with:
|
|
78
|
+
package_json_file: examples/package.json
|
|
79
|
+
|
|
80
|
+
- uses: actions/setup-node@v4
|
|
81
|
+
with:
|
|
82
|
+
node-version: 24
|
|
83
|
+
cache: pnpm
|
|
84
|
+
cache-dependency-path: examples/pnpm-lock.yaml
|
|
85
|
+
|
|
86
|
+
- name: Install Playwright demo deps
|
|
87
|
+
working-directory: examples
|
|
88
|
+
run: pnpm install --frozen-lockfile
|
|
89
|
+
|
|
90
|
+
- name: Install Chromium
|
|
91
|
+
working-directory: examples
|
|
92
|
+
run: pnpm exec playwright install chromium
|
|
93
|
+
|
|
94
|
+
- name: Run safety benchmark
|
|
95
|
+
working-directory: examples
|
|
96
|
+
env:
|
|
97
|
+
E2E_HEALER_NVIDIA_API_KEY: ${{ secrets.E2E_HEALER_NVIDIA_API_KEY }}
|
|
98
|
+
# The example Playwright config adds a reporter that runs `e2e-healer review` on every
|
|
99
|
+
# failing test. Benchmark scenarios fail on purpose, so that would add unrelated model
|
|
100
|
+
# calls and distort latency. Use the plain list reporter.
|
|
101
|
+
E2E_HEALER_PLAYWRIGHT_CMD: npx playwright test --reporter=list
|
|
102
|
+
# The default write globs match `*.spec.ts`, not a file literally named `spec.ts`,
|
|
103
|
+
# which is what the scenarios are called. Without this every repair is denied.
|
|
104
|
+
E2E_HEALER_WRITE_GLOBS: "*.spec.ts,**/*.spec.ts,spec.ts,**/spec.ts"
|
|
105
|
+
run: |
|
|
106
|
+
uv run e2e-healer safety-benchmark \
|
|
107
|
+
--scenario-root scenarios \
|
|
108
|
+
--apply-patches \
|
|
109
|
+
--jobs 4 \
|
|
110
|
+
--output "$RUNNER_TEMP/safety-report.json" \
|
|
111
|
+
--markdown "$RUNNER_TEMP/safety-report.md" \
|
|
112
|
+
--baseline ../benchmarks/safety-baseline.json
|
|
113
|
+
|
|
114
|
+
- name: Publish summary
|
|
115
|
+
if: always()
|
|
116
|
+
run: |
|
|
117
|
+
if [ -f "$RUNNER_TEMP/safety-report.md" ]; then
|
|
118
|
+
cat "$RUNNER_TEMP/safety-report.md" >> "$GITHUB_STEP_SUMMARY"
|
|
119
|
+
else
|
|
120
|
+
echo "The safety benchmark did not produce a report; see the run log." >> "$GITHUB_STEP_SUMMARY"
|
|
121
|
+
fi
|
|
122
|
+
|
|
123
|
+
- name: Upload report
|
|
124
|
+
if: always()
|
|
125
|
+
uses: actions/upload-artifact@v4
|
|
126
|
+
with:
|
|
127
|
+
name: safety-report
|
|
128
|
+
path: |
|
|
129
|
+
${{ runner.temp }}/safety-report.json
|
|
130
|
+
${{ runner.temp }}/safety-report.md
|
|
131
|
+
if-no-files-found: warn
|