{"agent":"claude","input":"A Linear issue labeled agent says: \"Sessions are lost on every deploy and are not shared between instances. Store Fastify sessions in Redis.\" Before changing anything, find how sessions are configured today: the @fastify/session registration, whether it names a store, the cookie options, the env schema in @fastify/env, and every route or hook that reads request.session. Add a Redis plugin under src/plugins/external that reads REDIS_URL from the env schema and closes its client on app close, give @fastify/session a Redis-backed store, declare the plugin dependency so load order is right, and add a Redis ping to the under-pressure health check. Keep the login route, the auth hook and the cookie options unchanged. Add a test that a session cookie from one app instance is accepted by a second instance using the same Redis, add a Redis service to docker-compose.yml and to the CI workflow, start MySQL and Redis in the sandbox, run the migrations the way CI does, and run npm test, npm run lint and the type-only build until they pass. Open a pull request that links back to the issue and explains what was already in place and what changed.","resources":[{"url":"https://github.com/your-org/your-app"}]}