<!-- Generated by `bun run docs:what-ships` from the capability list in
     packages/arch/src/install/guidelines.ts. Edit that list, not this page. -->

# What Ships

Before you build something an app commonly needs, check whether the framework
already does it. Each line below links to the page that covers it and says where
it comes from:

- **Built in** — part of the kernel every app has.
- **Included with `zerotal`** — one of the packages the `zerotal` bundle installs.
  Every starter depends on it.
- **Add `@zerotal/…`** — a separate package. Install it with `bun add`.

A coding agent working in your app gets the same list in `AGENTS.md`, marked
against what the app has installed. See [Agent Surface](/docs/arch).

## Accounts and access

- **[Multi-tenancy](/docs/tenancy)** — tenant resolvers and tenant-scoped models. Add `@zerotal/tenancy`.
- **[Roles and permissions](/docs/authorization)** — the `Roles` and `Permissions` model mixins, `Auth.can()`. Included with `zerotal`.
- **[Policies](/docs/authorization)** — policy classes in `app/policies/`, discovered automatically. Included with `zerotal`.
- **[Two-factor sign-in](/docs/roles-and-2fa)** — TOTP codes and recovery codes. Included with `zerotal`.
- **[Passkeys, magic links, email codes](/docs/authentication)** — `PasskeyService` and passwordless login. Included with `zerotal`.
- **[Sign in with GitHub, Google or Apple](/docs/social)** — OAuth drivers. Included with `zerotal`.
- **[Password reset](/docs/password-reset)** — `PasswordBroker`. Included with `zerotal`.
- **[Email verification](/docs/email-verification)** — signed links and `ValidateSignatureMiddleware`. Included with `zerotal`.
- **[An audit trail](/docs/audit)** — the `Auditable` mixin and manual audit events. Add `@zerotal/audit`.

## Data

- **[Caching](/docs/cache)** — SQLite, Redis and memory drivers with tags. Included with `zerotal`.
- **[Locks across processes](/docs/lock)** — `zerotal/lock`. Built in.
- **[Database backups](/docs/commands)** — `bun zt db:backup` (SQLite). Built in.
- **[Seed and demo data](/docs/seeding)** — seeders and model factories. Built in.
- **[Validation](/docs/validator)** — `FormRequest` classes and `validate()`. Included with `zerotal`.

## Files

- **[File uploads and image conversions](/docs/media)** — media attached to models. Included with `zerotal`.
- **[File storage](/docs/storage)** — local and S3-compatible disks. Built in.

## Messages and background work

- **[Mail, SMS and in-app notifications](/docs/notifications)** — notification classes, one per message. Add `@zerotal/notifications`.
- **[Background jobs](/docs/queue)** — job classes and a worker, on the app's own database (SQLite, PostgreSQL, MySQL) or Redis. Included with `zerotal`.
- **[Scheduled tasks](/docs/scheduler)** — `Schedule` classes in `app/schedules/`. Included with `zerotal`.

## Product features

- **[An admin panel](/docs/admin)** — declarative resources, tables, forms and dashboards. Add `@zerotal/admin`.
- **[Per-tenant settings](/docs/settings)** — typed defaults in code with tenant and user overrides, hidden not deleted, audited, with an admin screen. Add `@zerotal/settings`.
- **[Realtime updates](/docs/broadcasting)** — authorised broadcast channels. Add `@zerotal/broadcasting`.
- **[Translations](/docs/i18n)** — `__()` with plurals and per-request locale. Add `@zerotal/i18n`.
- **[Calls to a language model](/docs/ai)** — `Ai.text()`, `Ai.object()`, `Ai.agent()`. Add `@zerotal/ai`.

## Security and operations

- **[Rate limiting](/docs/rate-limiting)** — `ThrottleMiddleware` and named limiters. Built in.
- **[Encryption and hashing](/docs/encryption)** — encrypt, hash and sign helpers. Built in.
- **[Maintenance mode and a pre-launch gate](/docs/site-gate)** — the site gate. Built in.
- **[Health checks](/docs/health)** — a `/health` endpoint with your own checks. Built in.
- **[A production dashboard](/docs/monitor)** — requests, jobs, errors and alerts. Add `@zerotal/monitor`.
- **[Tracing](/docs/telemetry)** — spans with OTLP export. Add `@zerotal/telemetry`.

## Testing

- **[Tests against a booted app](/docs/testing)** — `createTestApp()`, factories and fakes. Included with `zerotal`.
