Multi-tenant tasks + approvals with RBAC, audit logs, slug redirects, and E2E tests
┌────────────────────────┐ ┌─────────────────────────┐
│ Next.js UI │─────►│ Next.js Route Handlers │
│ /app/[orgSlug]/... │ │ REST-ish API │
└───────────┬────────────┘ └───────────┬─────────────┘
│ │
│ auth session │ Prisma ORM
▼ ▼
┌───────────────────────┐ ┌──────────────────────────┐
│ NextAuth │ │ Postgres │
│ OAuth (GH/GO) │ │ orgs/members/tasks │
└───────────────────────┘ │ comments/audit log │
└──────────────────────────┘