{"agent":"claude","input":"Add Playwright retries for CI only. Read playwright.config.ts, package.json, .github/workflows/playwright.yml, tests/fixtures.ts, tests/helpers.ts and every file under tests/e2e first. Set retries to 2 on CI and 0 locally, record traces on the first retry, and on CI use the html, github and json reporters, writing the JSON report to playwright-report/results.json. Add a script, run as a workflow step after the tests, that reads that file and prints the title of every test whose outcome is flaky, so a retried pass is visible. Before turning retries on, look for tests that are flaky by construction: unique test data that is not unique across parallel workers, and assertions that swallow their own failure. Fix those rather than relying on the retry. Run the suite with PLAYWRIGHT=True against a local PostgreSQL once with retries 0 and once with the new config, run pnpm check and tsc --noEmit, and open a pull request with both outputs in the description.","resources":[{"url":"https://github.com/your-org/your-app"}]}