{"agent":"claude","input":"Find the N+1 queries on this Rails app's main pages. Add the bullet gem to the development and test groups and configure it to raise. Seed enough data that each list shows many rows, sign in as a seeded user as well as browsing signed out, open each main page, and record Bullet's report and each page's SQL query count. Fix each N+1 by extending the scope or relation the page already uses with includes, preload or eager_load; remove any eager load Bullet reports as unused. Add one request spec per page that seeds several rows and fails if the query count grows. Run the full suite. Open a pull request with each page's query count before and after, including pages that were already correct.","resources":[{"url":"https://github.com/your-org/your-app"}]}