# Acme Inc. > A full-stack starter with TanStack Start and Expo on one Cloudflare Worker. Auth, R2 files, Postgres, payments, AI and MCP tools, and a preview per PR. Streaming chat with TanStack AI and shared MCP tools. Off until a provider is configured and the assistant flag is enabled. These documents describe the template. Public documentation contains no account or organization data. Authenticated tools apply the same organization permissions as the app. ## Public pages - [Developer docs](https://template-pr-222.its-live.dev/docs): Setup, architecture and development guides. - [Changelog](https://template-pr-222.its-live.dev/docs/changelog): Changes to the template. - [Overview](https://template-pr-222.its-live.dev/index.md): Features, architecture, setup and FAQ from the landing page. - [Privacy policy](https://template-pr-222.its-live.dev/privacy.md): The template's privacy text and replacement notice. - [Terms of service](https://template-pr-222.its-live.dev/terms.md): The template's terms and replacement notice. - [Full documentation](https://template-pr-222.its-live.dev/llms-full.txt): Public pages, demo content and the agent connection guide. ## Developer docs Developer documentation is available in English only. UI language does not translate these documents. - [Architectural decisions](https://template-pr-222.its-live.dev/docs/adr.md): Read the original decisions, their constraints and their recorded evidence. - [Backend shape](https://template-pr-222.its-live.dev/docs/architecture/backend-shape.md): Why every backend feature has the same files, why there is no barrel and no repository layer, and where Effect runs. - [Client/server boundary](https://template-pr-222.its-live.dev/docs/architecture/client-server-boundary.md): Keep server capabilities out of browser and native module graphs. - [Effect at the edges](https://template-pr-222.its-live.dev/docs/architecture/effect.md): Use stable Effect APIs for owned server work without changing public contracts. - [Architecture](https://template-pr-222.its-live.dev/docs/architecture.md): One Worker owns web rendering, API requests and scheduled execution. - [Observability and tracing](https://template-pr-222.its-live.dev/docs/architecture/observability.md): Read structured errors, durable audit records and Cloudflare spans as separate signals. - [Request lifecycle](https://template-pr-222.its-live.dev/docs/architecture/request-lifecycle.md): Follow authority and database lifetime from the incoming Request to the response. - [Changelog](https://template-pr-222.its-live.dev/docs/changelog.md): New features, architectural changes and improvements to the template. - [Deployment and rollback](https://template-pr-222.its-live.dev/docs/deploy.md): GitHub Actions deploy isolated previews and the production Worker with reviewed migrations. - [Backend conventions](https://template-pr-222.its-live.dev/docs/development/backend-conventions.md): The rules for code in packages/api, each with its reason, an example, the anti-pattern and what enforces it. - [Conventions](https://template-pr-222.its-live.dev/docs/development/conventions.md): Use the existing owners and enforce boundaries in code and tooling. - [Design patterns](https://template-pr-222.its-live.dev/docs/development/design.md): Which design source, kit and agent skill each surface uses, and the rules that keep a rebrand cheap. - [Writing documentation](https://template-pr-222.its-live.dev/docs/development/docs.md): Author repository MDX, reuse architectural decisions and curate release notes. - [End-to-end tests](https://template-pr-222.its-live.dev/docs/development/e2e.md): Web and iOS end-to-end tests with e2e on the built Worker and one locked local database that a killed run never leaves behind. - [Enforcement](https://template-pr-222.its-live.dev/docs/development/enforcement.md): Which rule is checked by what: type checks, lint, tests, build and deploy gates, scripts, and the rules that still rely on review. - [Environment and secrets](https://template-pr-222.its-live.dev/docs/development/environments.md): Keep Node, Worker and native configuration aligned without exposing credentials. - [Review checklist](https://template-pr-222.its-live.dev/docs/development/review-checklist.md): Review or self-review a change against the repository's rules, with the command or test that checks each item. - [Runbooks](https://template-pr-222.its-live.dev/docs/development/runbooks.md): Symptom, command and verification for the operational procedures the template supports. - [Workspace scripts](https://template-pr-222.its-live.dev/docs/development/scripts.md): Run the repository’s existing entry points from the workspace root. - [Local setup](https://template-pr-222.its-live.dev/docs/development/setup.md): Configure a clone without overwriting an existing project’s identity or credentials. - [Testing and verification](https://template-pr-222.its-live.dev/docs/development/testing.md): Verify domain behavior against real Postgres and the deployed runtime shape. - [Web conventions](https://template-pr-222.its-live.dev/docs/development/web-conventions.md): The rules for code in apps/web/src, each with its reason, an example, the anti-pattern and what enforces it. - [Administration](https://template-pr-222.its-live.dev/docs/features/admin.md): Current platform authority protects User management, audits, flags and diagnostics. - [Agent-readable pages](https://template-pr-222.its-live.dev/docs/features/agent-pages.md): Public Markdown and discovery derive from the same content developers read. - [Analytics](https://template-pr-222.its-live.dev/docs/features/analytics.md): First-party page, screen and event counts without cookies or identifiers, shown to platform admins on /admin/analytics. - [oRPC conventions](https://template-pr-222.its-live.dev/docs/features/api.md): Share Zod contracts and typed clients while keeping authorization on the server. - [AI assistant and tools](https://template-pr-222.its-live.dev/docs/features/assistant.md): TanStack AI streams a private conversation through one authorized tool catalog. - [Authentication and Organizations](https://template-pr-222.its-live.dev/docs/features/auth.md): Better Auth owns identity, sessions, Organizations, platform roles and OAuth. - [Database and migrations](https://template-pr-222.its-live.dev/docs/features/database.md): Drizzle manages one Postgres schema through reviewed, journaled SQL migrations. - [Documents](https://template-pr-222.its-live.dev/docs/features/documents.md): Convert supported files to Document Text in the browser, index it from cron and read it through the shared tool catalog. - [Email](https://template-pr-222.its-live.dev/docs/features/email.md): One transport boundary and one localized React Email layout serve verification, recovery, invitations and security notices. - [Feature flags](https://template-pr-222.its-live.dev/docs/features/feature-flags.md): Typed code defaults with database overrides and separate capability gates. - [Feedback reports](https://template-pr-222.its-live.dev/docs/features/feedback.md): Signed-in people report a problem from the web or the app, with annotated screenshots; staff triage and reply in the admin Feedback inbox. - [Files and uploads](https://template-pr-222.its-live.dev/docs/features/files.md): Send files directly to R2, confirm durable upload intent and recover interrupted multipart uploads. - [Internationalization](https://template-pr-222.its-live.dev/docs/features/i18n.md): English, German, French and Brazilian Portuguese UI with request-scoped SSR translation. - [Features and flows](https://template-pr-222.its-live.dev/docs/features.md): Trace each feature through contracts, authority, persistence and presentation. - [MCP and agent connections](https://template-pr-222.its-live.dev/docs/features/mcp.md): OAuth-authenticated agents use the existing Worker and the shared tool catalog. - [Mobile app](https://template-pr-222.its-live.dev/docs/features/mobile.md): Expo Router uses the shared domain API with native navigation and scoped local state. - [Open Graph images](https://template-pr-222.its-live.dev/docs/features/og-images.md): Takumi renders typed React templates to PNG on Node and workerd. - [Payments](https://template-pr-222.its-live.dev/docs/features/payments.md): Stripe, Polar, Pagar.me and RevenueCat feed one server-verified entitlement model. - [Mobile subscriptions with RevenueCat](https://template-pr-222.its-live.dev/docs/features/revenuecat.md): Step-by-step setup of App Store and Google Play subscriptions through RevenueCat: store products, entitlements, offerings, webhook, env vars and sandbox testing. - [Roles and permissions](https://template-pr-222.its-live.dev/docs/features/roles-and-permissions.md): Platform roles for staff, built-in and Custom roles inside an Organization, permission checks in procedures, and Consent before anyone reads a Member's sensitive data. - [Scheduled jobs](https://template-pr-222.its-live.dev/docs/features/scheduled-jobs.md): One cron tick settles six concurrent jobs, then indexes Document Text within the same deadline and scoped pool. - [SEO and discovery](https://template-pr-222.its-live.dev/docs/features/seo.md): One seo() helper per route, a site-identity leaf, robots, sitemap, structured data and the preview noindex. - [Todo imports](https://template-pr-222.its-live.dev/docs/features/todo-imports.md): Import an uploaded JSON file with durable claims, version checks and safe replay. - [Webhooks and notifications](https://template-pr-222.its-live.dev/docs/features/webhooks.md): Durable outboxes own delivery and retries across interruptions. - [Developer documentation](https://template-pr-222.its-live.dev/docs.md): Build, extend and operate the Cloudflare web and Expo mobile template. - [Libraries and version policy](https://template-pr-222.its-live.dev/docs/libraries.md): Major dependencies, their declared versions, owners and upgrade constraints. - [ads](https://template-pr-222.its-live.dev/docs/packages/ads.md): Optional native advertising: responsibilities, supported exports and extension points. - [api](https://template-pr-222.its-live.dev/docs/packages/api.md): Authorized operations and shared contracts: responsibilities, supported exports and extension points. - [app-update](https://template-pr-222.its-live.dev/docs/packages/app-update.md): Native update policy: responsibilities, supported exports and extension points. - [auth](https://template-pr-222.its-live.dev/docs/packages/auth.md): Identity and request scope: responsibilities, supported exports and extension points. - [config](https://template-pr-222.its-live.dev/docs/packages/config.md): Tooling configuration: responsibilities, supported exports and extension points. - [db](https://template-pr-222.its-live.dev/docs/packages/db.md): Postgres schema and durable state: responsibilities, supported exports and extension points. - [email](https://template-pr-222.its-live.dev/docs/packages/email.md): Transactional email delivery: responsibilities, supported exports and extension points. - [env](https://template-pr-222.its-live.dev/docs/packages/env.md): Validated environment contracts: responsibilities, supported exports and extension points. - [error-reporting](https://template-pr-222.its-live.dev/docs/packages/error-reporting.md): Sentry SDK setup for the Worker, the browser and the Expo app, with one scrubber, off without a DSN. - [errors](https://template-pr-222.its-live.dev/docs/packages/errors.md): Stable error vocabulary: responsibilities, supported exports and extension points. - [flags](https://template-pr-222.its-live.dev/docs/packages/flags.md): Feature registry and overrides: responsibilities, supported exports and extension points. - [Packages](https://template-pr-222.its-live.dev/docs/packages.md): The workspace contains 17 packages with explicit ownership and supported import paths. - [intl](https://template-pr-222.its-live.dev/docs/packages/intl.md): Request-scoped language: responsibilities, supported exports and extension points. - [project-setup-cli](https://template-pr-222.its-live.dev/docs/packages/project-setup-cli.md): Project identity and provisioning workflow: responsibilities, supported exports and extension points. - [purchases](https://template-pr-222.its-live.dev/docs/packages/purchases.md): Native purchase coordination: responsibilities, supported exports and extension points. - [react-utils](https://template-pr-222.its-live.dev/docs/packages/react-utils.md): Small shared React helpers: responsibilities, supported exports and extension points. - [storage](https://template-pr-222.its-live.dev/docs/packages/storage.md): Private file gateway: responsibilities, supported exports and extension points. - [ui](https://template-pr-222.its-live.dev/docs/packages/ui.md): Shared web primitives: responsibilities, supported exports and extension points. - [widgets](https://template-pr-222.its-live.dev/docs/packages/widgets.md): Optional native Todo widgets: responsibilities, supported exports and extension points. - [Production guide](https://template-pr-222.its-live.dev/docs/production.md): Where to run a project in production: Cloudflare Workers with Neon in São Paulo by default, a Node server or Google Cloud when a project needs it, with costs, backups, a restore drill and monitoring. - [ADR-0001 — Stored file keys keep the user's filename](https://template-pr-222.its-live.dev/docs/adr/0001-stored-file-keys-keep-the-user-s-filename.md): The repository's architectural decision, rationale and consequences. - [ADR-0002 — Server-capable modules have no barrel](https://template-pr-222.its-live.dev/docs/adr/0002-no-barrels-on-server-capable-modules.md): The repository's architectural decision, rationale and consequences. - [Organizations are the tenant](https://template-pr-222.its-live.dev/docs/adr/0003-organizations-are-the-tenant.md): The repository's architectural decision, rationale and consequences. - [Payments: one entitlement read model, three provider modules](https://template-pr-222.its-live.dev/docs/adr/0004-payments-providers.md): The repository's architectural decision, rationale and consequences. - [Effect stays at the server edges](https://template-pr-222.its-live.dev/docs/adr/0005-effect-boundary.md): The repository's architectural decision, rationale and consequences. - [Todo imports and the PersistedQueue gate](https://template-pr-222.its-live.dev/docs/adr/0006-effect-persisted-queue.md): The repository's architectural decision, rationale and consequences. - [AI assistant and one tool catalog](https://template-pr-222.its-live.dev/docs/adr/0007-ai-assistant-and-tool-catalog.md): The repository's architectural decision, rationale and consequences. - [Documents and direct uploads](https://template-pr-222.its-live.dev/docs/adr/0008-documents-and-large-uploads.md): The repository's architectural decision, rationale and consequences. - [Row-level security isolates Organizations](https://template-pr-222.its-live.dev/docs/adr/0009-row-level-security.md): The repository's architectural decision, rationale and consequences. - [Procedures run one Effect program at their edge](https://template-pr-222.its-live.dev/docs/adr/0010-procedures-run-one-effect-program.md): The repository's architectural decision, rationale and consequences. - [Backend features have a fixed file shape](https://template-pr-222.its-live.dev/docs/adr/0011-backend-feature-shape.md): The repository's architectural decision, rationale and consequences. - [Web features mirror the backend shape](https://template-pr-222.its-live.dev/docs/adr/0012-web-features-mirror-the-backend-shape.md): The repository's architectural decision, rationale and consequences. - [Mobile features mirror the backend shape](https://template-pr-222.its-live.dev/docs/adr/0013-mobile-features-mirror-the-backend-shape.md): The repository's architectural decision, rationale and consequences. - [Account emails in React Email](https://template-pr-222.its-live.dev/docs/adr/0014-account-emails-in-react-email.md): The repository's architectural decision, rationale and consequences. - [Server reads the session from the cookie cache](https://template-pr-222.its-live.dev/docs/adr/0015-server-reads-the-session-from-the-cookie-cache.md): The repository's architectural decision, rationale and consequences. - [Platform roles, organization roles and consent](https://template-pr-222.its-live.dev/docs/adr/0016-platform-and-organization-roles-and-consent.md): The repository's architectural decision, rationale and consequences. - [Connect your agent](https://template-pr-222.its-live.dev/docs/connect-your-agent.md): Connect an external agent through MCP OAuth and enable the optional assistant. - [Setup, storage and localization](https://template-pr-222.its-live.dev/docs/changelog/2026-06-10-setup-storage-and-i18n.md): The early template gains repeatable configuration, object storage and language support. - [Administration and data workflows](https://template-pr-222.its-live.dev/docs/changelog/2026-07-13-admin-and-data-workflows.md): Admin operations and server-backed tables extend the starter application. - [Native interface foundations](https://template-pr-222.its-live.dev/docs/changelog/2026-07-24-native-foundation.md): Expo screens adopt the native UI direction. - [An enforced client/server boundary](https://template-pr-222.its-live.dev/docs/changelog/2026-07-30-client-boundary.md): Shared constants stop pulling server capabilities into browser bundles. - [Cloudflare email and shared UI](https://template-pr-222.its-live.dev/docs/changelog/2026-08-13-email-and-ui.md): Transactional delivery and the shared interface foundation expand. - [Agent connections and native account security](https://template-pr-222.its-live.dev/docs/changelog/2026-08-24-agent-connections-and-account-security.md): OAuth-backed MCP connections and mobile security flows expand the template. - [Typed domain operations and a real dashboard](https://template-pr-222.its-live.dev/docs/changelog/2026-08-25-typed-domain-and-dashboard.md): Dashboard data, Todo state and administrative writes become more explicit. - [oRPC and Drizzle upgrades](https://template-pr-222.its-live.dev/docs/changelog/2026-09-03-typed-api-upgrade.md): The API and database stack advance with compatibility work across their consumers. - [Platform dependency alignment](https://template-pr-222.its-live.dev/docs/changelog/2026-09-24-platform-dependencies.md): React, Drizzle, files and test tooling move onto verified compatible versions. - [Authentication foundations and performance](https://template-pr-222.its-live.dev/docs/changelog/2026-09-25-auth-and-performance.md): Auth state has clearer ownership on web and mobile, with production build checks. - [Runtime and recovery hardening](https://template-pr-222.its-live.dev/docs/changelog/2026-10-03-runtime-and-recovery.md): Template fixes tighten persisted work and production-runtime behavior. - [Payments, native screens and a new landing page](https://template-pr-222.its-live.dev/docs/changelog/2026-10-12-payments-and-native-experience.md): Optional billing providers, a refreshed native experience and clearer product presentation land together. - [TanStack Start 1.0, OG images and durable imports](https://template-pr-222.its-live.dev/docs/changelog/2026-10-13-start-og-and-imports.md): The web runtime advances, social images render in the Worker, and imports gain bounded queue execution. - [Trace and code block primitives](https://template-pr-222.its-live.dev/docs/changelog/2026-10-14-trace-and-code-blocks.md): Shared shadcn components support readable execution traces and highlighted code. - [AI assistant and one tool catalog](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-assistant-and-agent-tools.md): The assistant, MCP and agent-readable pages now share the application’s authorized operations. - [Dependency round, i18next fix and ReUI controls](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-dependency-round-and-reui.md): Eligible packages advance under the two-day quarantine, a reachable i18next ReDoS is patched and six free ReUI controls join the UI package. - [Developer documentation and changelog](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-developer-docs-and-changelog.md): The Worker now serves searchable developer guides, imported ADRs and a curated changelog at /docs. - [Documents and large uploads](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-documents-and-large-uploads.md): Files upload directly to R2, including multipart uploads up to 5 GiB, and supported documents become searchable text for the assistant and MCP. - [Landing page redesign](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-landing-redesign.md): The public landing uses a Taste v2 typographic direction with real interface captures and docs links. - [Landing sections and project skills](https://template-pr-222.its-live.dev/docs/changelog/2026-10-15-landing-sections-and-project-skills.md): The landing’s features, stack and agents sections become visual compositions, and new project skills cover this round’s features. - [Auth and tenant security fixes](https://template-pr-222.its-live.dev/docs/changelog/2026-10-16-auth-and-security-fixes.md): Isolation gaps found before row-level security are closed, client IPs are trusted only where the deployment vouches for them, and failed sign-ins are counted. - [Database, Worker and web performance](https://template-pr-222.its-live.dev/docs/changelog/2026-10-16-performance-and-placement.md): Tenant statements cost one round trip, the Worker runs next to the database, oRPC calls are batched and pages load their data on the server. - [Row-level security per Organization](https://template-pr-222.its-live.dev/docs/changelog/2026-10-16-row-level-security.md): PostgreSQL now enforces tenant isolation on every table. The template requires PostgreSQL 16 or newer, on any host, and verifies RLS on every migration. - [One folder per backend feature, tagged errors and written rules](https://template-pr-222.its-live.dev/docs/changelog/2026-10-17-backend-structure.md): packages/api moves to features and platform folders with fixed file names, two pilot features run one Effect program per procedure, and every rule now names what enforces it. - [One folder per mobile feature, and the API aliases are gone](https://template-pr-222.its-live.dev/docs/changelog/2026-10-17-mobile-structure.md): apps/mobile moves from components, hooks and lib to feature and platform folders that mirror the backend, routes only return screens, and the four legacy API subpaths are removed. - [The web app is organized by feature, like the backend](https://template-pr-222.its-live.dev/docs/changelog/2026-10-17-web-structure.md): apps/web/src moves to routes, features and platform with fixed role names, server-only modules carry a .server suffix, and the rules are checked by a boundary test. - [Agent skills from upstream and the /pr template](https://template-pr-222.its-live.dev/docs/changelog/2026-10-19-agent-skills-update.md): Matt Pocock's skills and pstack come from their upstream sources through the official installer, /pr joins the skills, and pull requests open with its Summary, Evidence and Merge Danger sections. - [Ponytail from the official plugin](https://template-pr-222.its-live.dev/docs/changelog/2026-10-19-ponytail-plugin.md): The default working style is the official ponytail plugin, enabled by the project settings, and new apps get a step for their own verification skill. - [TanStack AI 1.0, password forms and iPhone Duo](https://template-pr-222.its-live.dev/docs/changelog/2026-10-27-deps-password-forms-iphone-duo.md): Password forms no longer leak credentials into the URL before hydration, the mobile app keeps content clear of the iPhone Duo bar rail, and the dependency round brings TanStack AI 1.0, oRPC beta.47 and Expo SDK 58 patches. - [Invitations are not a mail relay](https://template-pr-222.its-live.dev/docs/changelog/2026-10-29-invitation-relay.md): Invitation emails carry a fixed subject and attributed, link-free user text; only verified owners and admins may send, with daily caps and a rate limit; Reply-To and one product name for every email. - [MCP Apps widget, approval status and plugin marketplaces](https://template-pr-222.its-live.dev/docs/changelog/2026-10-29-mcp-apps-widget-approval-status.md): The todo widget runs the MCP Apps handshake so Claude and ChatGPT render it, agents can read the outcome of an approval and follow an absolute link to it, the server announces instructions and annotations, and the agent plugin installs from Claude Code, Codex, Cursor and Grok with production URLs. - [One URL per language](https://template-pr-222.its-live.dev/docs/changelog/2026-10-29-path-locales.md): Public pages live at /de/… and /fr/… instead of ?lang=, with a leaf config for slugs, redirects for the old URLs, a first-visit redirect at / and per-language sitemap entries. - [Account emails in React Email, in English, German and French](https://template-pr-222.its-live.dev/docs/changelog/2026-10-29-react-email.md): One neutral React Email layout for every account email, rendered synchronously on the server, written in the reader's language, with live previews via pnpm email:dev. - [Share cards, Markdown negotiation and one site identity](https://template-pr-222.its-live.dev/docs/changelog/2026-10-29-seo-agent-readiness.md): Docs pages share with their own card, single-visitor pages are noindex and previews send X-Robots-Tag, agents get Markdown through Accept, the root OAuth discovery documents answer, and the brand lives in one leaf that setup fills. - [Better Auth 1.7.16 security fix and dependency round](https://template-pr-222.its-live.dev/docs/changelog/2026-11-04-better-auth-security-dependency-round.md): Better Auth 1.7.16 closes a critical account takeover through the Expo authorization proxy, the iPhone Duo tab bar becomes a rail, and the dependency round brings Effect 4.1, Takumi 2.19, oRPC beta.48 and Expo SDK 58.0.23 patches. - [Animated assistant approval on the landing, and a design patterns page](https://template-pr-222.its-live.dev/docs/changelog/2026-11-04-landing-assistant-demo.md): The landing's in-app assistant tile now plays a short approval: the todo_create card asks, the cursor approves, the answer streams. It is built with the stageshow skill. A new page maps each design job to its source and agent skill, and the Bklit UI chart skills join the template. - [Loading skeletons drawn from the real components](https://template-pr-222.its-live.dev/docs/changelog/2026-11-04-skullet-skeletons.md): The web app's hand-built loading boxes are replaced by skullet: each loading state is measured from a sample of the component it stands in for, so nothing moves when the data arrives. - [Dates in your time zone, without a hydration error](https://template-pr-222.its-live.dev/docs/changelog/2026-11-05-dates-in-your-time-zone.md): Timestamps in the web app render in the visitor's time zone and language, and the settings page no longer throws a React hydration mismatch outside UTC. - [Public pages paint before any JavaScript arrives](https://template-pr-222.its-live.dev/docs/changelog/2026-11-05-first-paint.md): On a slow phone connection the landing, login and docs paint in about half a second instead of two to two and a half: the CSS of a first visit is inline, the scripts load after it, and every page starts from three script files instead of 33. - [Agent skills from upstream, Expo's renamed skills, and three updates held back](https://template-pr-222.its-live.dev/docs/changelog/2026-11-06-agent-skills-update.md): Twenty-two third-party skills follow their upstream sources, Expo's deployment and CI skills take their new names, Stageshow is at 1.1.1, and the Taste and evlog updates wait for a decision. - [Code is written in English](https://template-pr-222.its-live.dev/docs/changelog/2026-11-06-code-in-english.md): A written rule for every project built from the template: code, comments, tests, commits and developer docs are English; only user-facing text is localized. - [The consent banner paints from the HTML, repeat visits skip revalidation, and real Web Vitals](https://template-pr-222.its-live.dev/docs/changelog/2026-11-06-web-quick-wins.md): First visits to sign-in and the app reach their largest paint 2 to 3 seconds sooner, repeat visits hydrate up to half a second sooner, the landing figure is sent once, the dashboard's hydration error is gone, and visitors who allow analytics report Core Web Vitals. - [Bklit is the only chart library, Stageshow the only way to draw product UI](https://template-pr-222.its-live.dev/docs/changelog/2026-11-07-bklit-and-stageshow-only.md): The unused shadcn chart wrapper and Recharts are gone, a test refuses any other chart library on the web, and faux product UI on landing, marketing and docs pages is built with Stageshow. - [Signed-in navigation no longer waits on the session read](https://template-pr-222.its-live.dev/docs/changelog/2026-11-07-session-reads.md): The /_auth guard revalidates the session in the background, GET /get-session runs outside the request transaction, and the browser's session read is served from Better Auth's 60-second signed cookie snapshot while every authorization still reads the database. - [Skullet is the only way to draw a loading skeleton](https://template-pr-222.its-live.dev/docs/changelog/2026-11-07-skullet-only-skeletons.md): Every web loading skeleton goes through MeasuredSkeleton, and a test refuses hand-made pulse boxes, the shadcn Skeleton, other skeleton libraries and skeletons on public pages. - [Authentication rate limits](https://template-pr-222.its-live.dev/docs/changelog/2026-11-09-auth-rate-limit.md): Credential endpoints are rate limited in production. - [Server session cache](https://template-pr-222.its-live.dev/docs/changelog/2026-11-09-server-session-cache.md): Ordinary server requests use Better Auth's signed session snapshot. - [Security and backend quick wins](https://template-pr-222.its-live.dev/docs/changelog/2026-11-13-security-quick-wins.md): Cross-site writes to the API are refused, production stops trusting the development app scheme, purge needs an owner or admin, and jobs and migrations fail more safely. - [ui-sdk under the UI kit, and a dependency round](https://template-pr-222.its-live.dev/docs/changelog/2026-11-19-ui-sdk-and-dependency-round.md): packages/ui runs on ui-sdk instead of Base UI with the same shadcn API, and the November dependency round lands with fewer advisories. - [Web screens follow ui-sdk's own skill](https://template-pr-222.its-live.dev/docs/changelog/2026-11-19-ui-sdk-skill.md): The ui-sdk agent skill is linked from the installed package, adapted to the shadcn wrappers once, and every web screen workflow routes through it. - [Dependencies at their latest releases, and docs Markdown on the new Fumadocs](https://template-pr-222.its-live.dev/docs/changelog/2026-11-20-dependency-round.md): An owner-approved round takes every dependency to its latest release without the two-day wait, moves the docs loader to Fumadocs 16.19 and leaves one npm advisory. - [An agent on the live page asks the person first](https://template-pr-222.its-live.dev/docs/changelog/2026-11-20-live-page-agent.md): The signed-in app runs one ui-sdk agent bridge that asks in our own dialog before any delete, pay or send, with WebMCP behind the ui.webmcp flag. - [Agents can see the textarea, fields, OTP, command, calendar, carousel, resizable, tree and rating](https://template-pr-222.its-live.dev/docs/changelog/2026-11-20-ui-sdk-wrappers.md): Nine packages/ui wrappers that rendered plain elements or other libraries now run on ui-sdk, keep their shadcn and ReUI props, and drop five dependencies. - [End-to-end tests on one local stack that a killed run never leaves behind](https://template-pr-222.its-live.dev/docs/changelog/2026-11-21-e2e-pilot.md): apps/e2e runs web and iOS end-to-end tests with e2e on the built Worker and a locked temporary PostgreSQL; test-local-postgres and the RLS matrix sweep what a killed run left. - [e2e 0.24, RevenueCat 11 and every dependency at its newest release](https://template-pr-222.its-live.dev/docs/changelog/2026-11-22-dependency-round.md): An owner-approved round moves e2e to 0.24, the native modules outside Expo's list to their latest with a rebuilt development client, Drizzle to rc.6 and the rest of the workspace to its newest releases; Babel 8 and wrangler 4.166 stay out with evidence. - [Job deadlines work through transaction poolers](https://template-pr-222.its-live.dev/docs/changelog/2026-11-22-job-transaction-timeouts.md): PostgreSQL now applies the job pool's lock and statement deadlines inside each transaction. - [Worst-case data, frame budgets and a slop audit in the UI recipe](https://template-pr-222.its-live.dev/docs/changelog/2026-11-24-design-skills-vendored.md): Emil Kowalski's design skills are refreshed to his 2026-11-13 fixes, break-ui and animation-performance join them, and MengTo's audit-ai-design-slop is vendored as a report-only audit, all wired into ui-polish. - [oRPC 2.0.0-beta.53 and ui-sdk 0.1.0-beta.16](https://template-pr-222.its-live.dev/docs/changelog/2026-11-24-orpc-and-ui-sdk.md): The oRPC family moves to beta.53, so input validation errors reach typed clients as defined errors, and ui-sdk moves to beta.16 with focus, Escape, menu and OTP fixes; both by owner decision before their two days. - [Previews skip email verification](https://template-pr-222.its-live.dev/docs/changelog/2026-11-24-preview-email-verification.md): PR previews let a fresh account sign in right after sign-up; production keeps requiring the emailed link. - [A recipe for polished web views, and fifteen more design sources](https://template-pr-222.its-live.dev/docs/changelog/2026-11-24-ui-polish-skill.md): The ui-polish skill orders the work on a new or reworked web view from catalog to anti-slop critique, browser check and PR screenshots, and the UI catalog records fifteen more sources with their licence and how an agent uses each. - [Repo notes that survive a skills update, and every vendored skill on its latest upstream](https://template-pr-222.its-live.dev/docs/changelog/2026-11-24-vendored-skill-notes.md): What the repo adds to a vendored skill now lives in .agents/skill-notes and is written back after every pnpm skills:update; a test proves each folder is upstream byte for byte outside its note. Forty-eight skills follow upstream, two Taste skills are held. - [First-party analytics in the admin, counted without cookies](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-admin-analytics.md): Page, screen and event counts kept by our own server without cookies or identifiers, rolled up by the cron, and shown on /admin/analytics with a Bklit chart, annotations and optional Cloudflare numbers. - [Brazilian Portuguese as the fourth language](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-brazilian-portuguese.md): pt-BR joins English, German and French in every catalog: web, mobile, error messages and account emails, with public pages under /br, share cards, push texts and the language pickers. A phone set to Brazilian Portuguese now opens the app in Portuguese instead of English. - [Error reporting to a self-hosted tracker, off until a DSN is set](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-error-reporting.md): packages/error-reporting sends scrubbed errors from the Worker, the browser and the Expo app to a Sentry-compatible tracker; deploy/error-tracker runs Rustrak in Docker behind a Cloudflare Tunnel. - [Report a problem or a suggestion from the web and the app, triaged in an admin Feedback inbox](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-feedback-reports.md): Signed-in people send problems and suggestions with annotated screenshots and the error behind them; staff filter, triage, reply by email and push, and open GitHub issues from /admin/feedback. - [Pix, card and boleto with Pagar.me; Stripe and Polar review](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-pagarme-billing.md): Pagar.me joins Stripe, Polar and RevenueCat as an optional billing provider with an in-app checkout, and every provider call now works on the deployed Worker. - [Production guide and restore drill](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-production-guide.md): A production guide with dated prices, Worker placement set by pnpm setup, a production mode for the job tick on Node, and a monthly restore drill on a throwaway local database. - [RevenueCat ready to use: webhooks RevenueCat counts as delivered, session-long store identity, Paywall and Customer Center](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-revenuecat-ready.md): The RevenueCat module matches RevenueCat's current documentation: 200 for every handled webhook, optional HMAC signing, every event type, verification paced by access. The app keeps the SDK identified for the whole session, explains each store outcome and can show RevenueCat's Paywall and Customer Center. A setup page covers stores, RevenueCat, webhook, env and sandbox testing. - [Roles, permissions and consent for sensitive data](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-roles-and-consent.md): Staff platform roles (support, analyst), Custom roles per Organization with a permission matrix, permission checks in procedures, and per-category Consent before anyone reads a Member's measurements, health records or progress photos. - [Upstream shadcn and ReUI fixes, ui-sdk beta.17, and OpenUI in a lab page](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-ui-registries-openui.md): The packages/ui components were checked against shadcn and ReUI and their upstream fixes ported by hand, the UI packages moved to their newest versions past the quarantine, and OpenUI renders model-written UI with our own components on /lab/openui. - [Email, push and outbound webhooks leave the deployed Worker again](https://template-pr-222.its-live.dev/docs/changelog/2026-11-27-workerd-fetch-redirect.md): Outbound fetch used a redirect mode workerd does not implement, so every Resend or Cloudflare REST email, Expo push and webhook delivery failed in production. They now use "manual" and still never follow a redirect. ## Agent connection - [MCP endpoint](https://template-pr-222.its-live.dev/api/mcp): OAuth 2.1 authenticated MCP; start with tools/list to discover available tools. - [OAuth protected resource](https://template-pr-222.its-live.dev/.well-known/oauth-protected-resource): Resource metadata for MCP authorization. - [OAuth authorization server](https://template-pr-222.its-live.dev/.well-known/oauth-authorization-server): Authorization and token endpoints. - [API reference](https://template-pr-222.its-live.dev/api/rpc/api-reference): Session-authenticated oRPC API documentation. - [OpenAPI specification](https://template-pr-222.its-live.dev/api/rpc/api-reference/spec.json): Session-authenticated API schema. - [Sitemap](https://template-pr-222.its-live.dev/sitemap.xml): Public URLs only. The overview, privacy and terms pages exist once per language: the unprefixed URL is English, the others are https://template-pr-222.its-live.dev/de/index.md and https://template-pr-222.its-live.dev/fr/index.md and https://template-pr-222.its-live.dev/br/index.md (same for /privacy.md and /terms.md). This index and the full document are in English.