Skip to main content

The Next Generation of Intake

Terra is an experimental platform exploring how modern cloud primitives can transform government intake infrastructure. We’re testing a hypothesis:
Can we build government forms that are faster, more secure, and easier to deploy by leveraging serverless computing, edge networks, and composable authentication?

The Experiment

Terra builds upon lessons learned from Tideswell, our production platform that currently powers intake for programs like child care subsidies, rental assistance, and housing applications. While Tideswell is robust and battle-tested, Terra allows us to explore what’s possible with newer architectural patterns. We’re specifically investigating:

Identity-First

Can composable auth (WorkOS) simplify enterprise SSO while reducing integration complexity?

Zero-Trust Data

Can Row Level Security push authorization into the database layer, reducing application risk?

Instant Deployments

Can edge computing and serverless reduce time-to-launch for new programs?

What We’re Learning

Terra isn’t a replacement for Tideswell—it’s a laboratory. Each architectural decision is a bet we’re actively evaluating:
QuestionApproachStatus
Can forms be defined as recursive JSON trees?Zod schemas with discriminated unionsTesting
Can file storage be truly zero-trust?Private buckets + signed URLs onlyTesting
Can we decouple identity from the database?WorkOS auth + local user syncTesting
Can emails be brandable without external services?React Email + ResendTesting
Can drag-and-drop simplify form organization?@dnd-kit + folder systemTesting
Can address autocomplete improve data quality?Smarty Streets + verified badgesTesting

Who This Is For

This handbook is for engineers working on Terra. It documents:
  • Architecture: The tech stack and why we chose each component
  • Decisions: ADRs explaining the “why” behind major choices
  • Guides: How to set up, extend, and contribute to the codebase

Design Principles

Government forms must work for everyone. We follow WCAG 2.1 AA standards and test with screen readers. Every interaction is keyboard-navigable.
Forms support unlimited languages through I18nString objects—every label, placeholder, and error message can be translated. No plugins required.
Agencies customize logos, colors, and email templates. Terra becomes invisible—it’s just “their” portal.
We’re exploring draft saving and progressive submission for applicants with unreliable internet.

Ready to dive in?

Start with the Tech Stack to understand how Terra is built, or jump straight to the Setup Guide to run it locally.