{"agent":"claude","input":"Add a Cloudflare Queue to this Worker so comment writes happen in the background, and open a pull request. Read wrangler.json, src/index.ts, src/renderHtml.ts, migrations, package.json and worker-configuration.d.ts first. Add a POST /comments route to the fetch handler that validates a JSON body with non-empty author and content strings, sends it to a queue bound as COMMENTS_QUEUE and answers 202; answer 400 for a bad body. Add a queue handler that inserts a batch of messages into the comments table with one prepared statement and env.DB.batch, acks the batch on success and retries each message on failure. Add the producer binding and a consumer block with max_batch_size, max_batch_timeout and max_retries to wrangler.json, run wrangler types to update worker-configuration.d.ts, and list the wrangler queues create command the reader runs once. Add vitest with @cloudflare/vitest-pool-workers and tests that cover the 202, the 400, a two-message batch landing in D1, and retry on a failing batch. Run npm run check and the tests, and paste the output in the pull request. Do not change the migration or the HTML page.","resources":[{"url":"https://github.com/your-org/your-app"}]}