Devlet · Ops Engine
Internal Business Operating System with Embedded Automation Layer

PROJECT OVERVIEW
Devlet Ops Engine is the internal Business Operating System for Devlet Studio. It centralizes client tracking, project management, invoicing, financial reporting, company assets, and operational workflows into a single cohesive platform. It also includes a lightweight embedded automation layer for background jobs such as email delivery, billing processing, and webhook handling.
PROBLEM
Early-stage studios often rely on spreadsheets, scattered notes, email threads, and third-party tools that fragment operational data. This creates inconsistencies in client tracking, revenue reporting, and project visibility. Devlet Ops Engine replaces fragmented tools with a structured, role-based internal system.
CORE GOALS
- Centralize clients, projects, invoices, and assets in a single system
- Provide structured sales and revenue tracking
- Support role-based internal access control
- Embed background job processing without external infrastructure
- Remain deployable entirely on Vercel in Base Mode
- Allow upgrade path to a dedicated worker system without rewrite
BUSINESS OS CAPABILITIES
- Client management with lifecycle status tracking
- Project tracking with deliverables and linked invoices
- Invoice creation with Stripe integration
- Expense and revenue reporting dashboards
- Company asset registry
- File uploads scoped to clients or projects
- Role-based access control (Admin, Member, Future Roles)
EMBEDDED OPS ENGINE
- Database-backed job queue
- Manual and opportunistic job execution in Base Mode
- Retry logic with exponential backoff
- Dead-letter state for failed jobs
- Stripe webhook ingestion with idempotent processing
- Admin job inspection and manual retry tools
TECHNICAL ARCHITECTURE
Next.js (App Router)
Vercel (Base Mode)
PostgreSQL (single DB for Business OS + Jobs)
Prisma
Stripe (webhook-driven state transitions)
DB-backed job table with upgrade path to dedicated worker
MVP SCOPE
- Client CRUD and lifecycle tracking
- Project management linked to clients
- Invoice creation and payment tracking
- Stripe webhook processing
- Email invoice job execution
- Job retry and dead-letter handling
- Role-based internal access
WHY IT MATTERS
- Transforms Devlet Studio from tool-dependent to system-driven
- Serves as real operational infrastructure, not a demo project
- Demonstrates full-stack architecture, domain modeling, and background processing
- Designed to scale from solo operator to multi-member studio without architectural rewrite