{"agent":"claude","input":"Set up Redis for this Medusa backend. Read apps/backend/medusa-config.ts, apps/backend/.env.template, apps/backend/package.json, apps/backend/jest.config.js, apps/backend/integration-tests/setup.js, AGENTS.md, package.json, pnpm-workspace.yaml and turbo.json first. In medusa-config.ts add a modules array registering @medusajs/medusa/event-bus-redis with redisUrl from EVENTS_REDIS_URL and jobOptions that remove completed and failed jobs after 3600 seconds or 1000 entries, @medusajs/medusa/workflow-engine-redis with redis.redisUrl from WE_REDIS_URL, @medusajs/medusa/caching with the @medusajs/caching-redis provider as default reading CACHE_REDIS_URL, and @medusajs/medusa/locking with the @medusajs/medusa/locking-redis provider as default reading LOCKING_REDIS_URL; set projectConfig.redisUrl from REDIS_URL. Add @medusajs/caching-redis with pnpm add at the same version as the other @medusajs packages. Update .env.template with the new variables and WORKER_MODE with a comment on server and worker processes, and add a row to AGENTS.md. Install Redis and Postgres in the sandbox, run the migrations, start medusa develop and confirm the Redis connection lines for each module appear with no in-memory fallback warning, run the http integration tests, then open a pull request that lists each module, its variable and its default.","resources":[{"url":"https://github.com/your-org/your-app"}]}