{"agent":"claude","input":"Write pgTAP tests under supabase/tests for this project's migrations. Cover the tables and their columns, the row level security on each table (which policies exist, and that the anon role cannot insert, update or select), the vector match function's ordering, threshold, count limit and minimum content length, using embeddings whose similarity you can compute, and any other function the migrations define. Use the parameters the app's API route passes in one case. Start Supabase locally with supabase start and run supabase test db; if the local stack cannot start in the sandbox, run the same files with pg_prove against a Postgres with pgvector and pgtap and the migrations applied, and say so. Open a pull request listing each test file, what it asserts, and any security gap the tests document.","resources":[{"url":"https://github.com/your-org/your-app"}]}