{"agent":"claude","input":"Add cookie-based sessions with login and logout to this React Router framework-mode app and open a pull request. Read package.json, react-router.config.ts, app/routes.ts, app/root.tsx, app/routes/home.tsx, .gitignore and .tests/test.default.ts first. Create app/sessions.server.ts with createCookieSessionStorage from react-router, cookie __session, httpOnly, sameSite lax, secure in production, secrets from SESSION_SECRET with a startup error in production when it is missing. Create app/auth.server.ts with requireUserId that redirects to /login with redirectTo, and a verifyLogin stub with a clear comment for replacing it. Add routes/login.tsx with a form and an action that sets the session or a flash error, routes/dashboard.tsx whose loader requires a user, and routes/logout.tsx whose action destroys the session, and register them in app/routes.ts with meta titles. Add .env.example and a README section. Extend .tests/test.default.ts so the dev and build runs visit /dashboard, get redirected, log in, see the dashboard and log out, with SESSION_SECRET set. Run pnpm typecheck, pnpm build and pnpm test --project=chromium in .tests, and paste the output in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}