{"agent":"claude","input":"A Sentry alert fired for this Cloudflare Worker; its payload follows this prompt. Use the Sentry connection to read the issue, its latest event, the request URL and method, and the stack frames. Open the Worker's wrangler config and entry point and match the frames to the handler, Durable Object method or route that threw, and read the bindings it uses. Reproduce the error with a Vitest test running in workerd through @cloudflare/vitest-pool-workers: add vitest and the pool at the versions other packages in the workspace pin if the template has no test setup, with a vitest.config.ts pointing at the wrangler config, apply any D1 migrations to the test database, seed the bindings with the state the event implies, and call the handler through SELF.fetch or the exported class with env. Run pnpm test in the template until the fix makes it pass, then run the template's check script and pnpm run check at the root, applying pnpm run fix for formatting. Open a pull request that links the Sentry issue, quotes the frames and the failing test output, and explains the cause. If the error does not reproduce, stop and report what you tried. Change nothing unrelated to this error.\n\nAlert payload:\n{payload}","resources":[{"url":"https://github.com/your-org/your-app"}],"connections":["sentry"]}