Internal-first payroll foundation

Prepare payroll with tenant-ready structure before any payout logic ships.

Multi-tenant payroll management with Lark integration, bonus plans, attendance tracking, and comprehensive reporting.

Architecture first

Next.js App Router, Drizzle, Postgres, and Better Auth are wired before operational payroll features are added.

Copy keys from day one

Every visible string is sourced through the dictionary layer so English-first delivery can expand to Chinese later without rewrites.

Tenant-aware shell

Authentication lands in a tenant selection step, then routes into a role-filtered workspace.