{"agent":"claude","input":"Add deduplication of retried Slack events to this Bolt app. Read app.js, listeners/index.js, listeners/events/app-home-opened.js, manifest.json, package.json, biome.json, tests/events/app-home-opened.spec.js and .github/workflows/test.yml first. Write a global middleware, in its own module under listeners/, that for an event payload skips the chain when context.retryNum is above zero or body.event_id was seen within the last few minutes, keeping the ids in an in-memory map that expires them; anything without an event_id passes through. Log each skip through the app logger. Register it with app.use in app.js before registerListeners. Do not change any listener. Run npm install, npm run lint and npm test, add tests/middleware/dedupe.spec.js in the style of the existing specs with mock.fn covering a fresh id, a repeated id, a retryNum above zero and a body with no event_id, and open a pull request quoting the lint and test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}