In production
TimeUp
TimeUp runs barbershops, salons, clinics and spas end to end. I designed it and directed its construction, working with AI agents.
Over 7,000 commits, 176 data models and about 490 API routes, built with AI agents under my direction.

- Booking and calendar
- Client CRM
- Staff and commissions
- Inventory and retail POS
- Mercado Pago payments
- Digital consents
- Offline mode
- Tempo AI assistant
Two clients, one slot
The hardest rule in a booking system: never sell the same slot twice.
Both got the same slot: a double booking.
How a booking stays correct
A booking intent is claimed first, then the appointment is written under a lock.
Decisions I'd defend
Authorization that fails closed
79 fine-grained capabilities, deny by default.
Offline that never overwrites
Every change carries the server version it expects.
Webhooks as signals, not facts
Revenue counts only after an authenticated lookup.
Tenant isolation in layers
A 314-handler census checks that permissions come first.
Postgres as the queue
Events are saved with the change; Redis only carries them.
How I work with agents
A contract for the agents
A binding AGENTS.md and 616 task documents leave a trail for every change.
An independent verifier
57 task documents record another agent re-running the tests.
A test ratchet
From 148 failing suites down to 66, and the number cannot go up.
Tests against a real Postgres
69 test files use a real database; the relay's one now runs in CI.
Under the hood
Applications
A monorepo with 2 apps and 11 packages
- Next.js 16
- React 19
- TypeScript
- Turborepo
Data and realtime
176 models, 185 migrations
- PostgreSQL
- Prisma 7
- Redis Streams
- Socket.IO
Access and payments
Identity and billing
- NextAuth
- Passkeys and 2FA
- Mercado Pago
Messaging and AI
Channels and assistant
- WhatsApp (Meta Cloud, WAHA)
- Tempo
- OpenTelemetry
Required on every PR
The main branch does not merge without these three
- point-payments
- db-artifact-parity
- typecheck
In the repo, not required
No required check runs them
- Jest
- Playwright
- Cypress
- Lighthouse
- k6
