Duol
Six years of operations in three spreadsheets, turned into a system where legal deadlines calculate themselves.
- Client
- Duol
- Sector
- Immigration services
- Platform
- Next.js · Prisma · PostgreSQL
- Period
- 2026 — present
- Status
- In production

Procedures dashboard. Design mockup with fictitious people and companies.
Where we started
Immigration procedures for expatriates from dozens of Korean and Chinese companies were tracked in three Excel files that didn't match each other, with deadlines calculated by hand.
Six years of operations, in a single model
The migration was first run as a dry run, and every figure was checked with a count before going to production.
What we built
A single state machine
For about 30 procedure types, with 16 guards and a distinction between retry and reopening.
Case file, procedure, task and appointment
Each procedure generates its tasks; appointments are rescheduled with a reason.
Legal deadlines
Deadlines and non-working days in catalogs versioned by year. No deadline lives in the code.
Validity traffic lights
With shape and label, not just color.
Billing
Charges, invoices and line items, with rate groups.
Reports and tutorials
On revenue, work, clients and process, with guides per role.
Hangul and hanzi
The interface shows names in their original script.
Reproducible migration
Scripts that run first as a dry run; every figure is checked with a count.
- To schedule
- To submit
- Registered
- Completed
SDD and harness engineering
Every feature starts as a specification signed off by the client, becomes tests before any code is written, and is implemented by AI agents inside that harness. An independent verifier and a person approve every delivery.
- Application
- Next.js · React · TypeScript
- Data
- Prisma · PostgreSQL
- Files
- AWS S3
- Operations
- Vercel
“The model starts from the client's vocabulary: 34 business rules and 17 use cases defined before any code was written.”
