Product applications
- Marketing site
- Demo routes
- Feature modules
apps/web/src/app/
Platform due diligence
Architecture layers, typed data flow, production safeguards, agent workflow, and what ships in the repository. This page is for technical evaluation, not feature marketing.
Production reliability
apps/web/src/app/
@atlas/ui
@/lib/api
apps/web/src/lib/
Technical due diligence
A staff engineer should leave this page able to explain Atlas decisions without a sales call.
Capability model
Build
The conventions needed to build product features already exist.
Ship
The repository contains the quality gates, not just application code.
Operate
Production operation is part of the platform from the beginning.
Scale
The architecture remains understandable as the team and codebase grow.
Data path
One typed path from the API specification to rendered UI. Each stage has a defined owner in the repository.
OpenAPI contract
The API specification is the single source of truth for request and response shapes.
openapi/openapi.jsonGenerated typed client
api:gen produces TypeScript types and a typed client from the specification.
apps/web/src/lib/api/contracts/Query or form integration
Feature hooks call the client; forms bind Zod schemas through useZodForm.
apps/web/src/features/demo/hooks.tsValidation and server-error mapping
Client validation and applyServerFieldErrors keep field errors aligned with the API.
packages/ui/src/lib/forms/server-errors.tsProduct interface
Loading, empty, error, and success states render through shared UI primitives.
packages/ui/src/components/ui/empty-state.tsxProduct interface
The data demo renders every application state from the same query hook pattern.
Rendered interface
users.list query · mode: loaded
Showing loaded state for team directory.
| Name | Role | |
|---|---|---|
| Alex Morgan | alex.morgan@example.com | Admin |
| Jordan Lee | jordan.lee@example.com | User |
| Sam Rivera | sam.rivera@example.com | User |
| Casey Chen | casey.chen@example.com | Admin |
alex.morgan@example.com
jordan.lee@example.com
sam.rivera@example.com
casey.chen@example.com
Production reliability
Atlas ships automated checks that run on every pull request. Each gate maps to verified CI configuration.
These checks run in parallel. They protect production without implying one linear pipeline.
Pull request quality gates
Required before merge
Lint and format
pnpm format · pnpm lintapps/web/eslint.config.mjs
Type checking
pnpm typecheckturbo.json
Unit tests
pnpm testapps/web/src/test/
Production build validation
pnpm build.github/workflows/ci.yml
End-to-end tests
pnpm --filter @atlas/web test:e2eapps/web/e2e/smoke.spec.ts
Dependency and security audits
pnpm audit.github/workflows/security-audit.yml
Security boundaries
ESLint fetch and vendor import rulesapps/web/eslint.config.mjs
Observability
Sentry capture · Pino loggingapps/web/sentry.server.config.ts
Engineering workflow
AGENTS.md, how-we-build guides, and ESLint rules encode ownership. The goal is predictable extension for humans and agents — not opaque automation.
Find extension points
Feature modules, shared packages, and thin routes have defined ownership.
Follow conventions
AGENTS.md, how-we-build guides, and ESLint rules encode architectural boundaries.
Verify before merge
Lint, typecheck, test, and build commands match what CI enforces.
apps/web/src/features/<name>/ → domain logicapps/web/src/app/ → thin routespackages/ui/ → reusable primitives // Prohibited: raw fetch() in UI layers// Required: loading, empty, error, success states pnpm lint && pnpm typecheck && pnpm testReference
A scannable map of each platform layer, what it provides, and where to explore it.
Application foundation
Shell, auth, config, feature flags, and thin route conventions.
apps/web, @/lib/auth, @/config
Interface system
Radix primitives, design tokens, themes, and application states.
@atlas/ui
Data and validation
OpenAPI contracts, API client, React Query hooks, and Zod forms.
@/lib/api, useZodForm
Production reliability
Testing, CI gates, observability, and security boundaries.
Sentry, Pino, Playwright
Engineering workflow
Feature modules, AGENTS.md, docs, and contribution conventions.
AGENTS.md, docs/how-we-build
Break the demos, inspect the architecture, or bring the same platform discipline into your codebase.