Skip to content

dot-cOS

dot-cOS is a corporate compliance and workflow automation platform for Indian companies. It automates compliance workflows (AGM, Board Meetings, MCA filings), generates legal documents, and provides an AI-assisted IDP (Intelligent Document Processing) pipeline.

Components

Component URL Description
Frontend cos.dotevolve.net End-user compliance dashboard
API Gateway cos-api.dotevolve.net JWT validation, tenant resolution, request routing
Workflow Service cos-workflow.dotevolve.net Core business logic, Prisma/PostgreSQL
Rule Engine cos-rules.dotevolve.net Compliance rule evaluation
Admin Dashboard cos-admin.dotevolve.net Tenant-scoped admin configuration

Platform Integration

dot-cOS is part of the DotEvolve platform. Authentication, tenant management, billing, and subdomain provisioning are handled by the Central Portal.

graph LR
    A[User] -->|Login| B[Supabase Auth]
    B -->|JWT with app_metadata| C[dot-cOS Frontend]
    C -->|Bearer JWT| D[API Gateway]
    D -->|x-tenant-id header| E[Workflow Service]
    E -->|tenantId scoped queries| F[(PostgreSQL)]
    G[Admin Portal] -->|manage tenants/users| H[Portal API]

Key Concepts

Concept Description
Entity A legal entity (company) within a tenant. A tenant may have multiple entities.
WorkflowTemplate A global or tenant-specific compliance workflow definition (phases, tasks, deadlines).
WorkflowInstance A running instance of a template for a specific entity and financial year.
DocumentTemplate An HTML template with {{variable}} placeholders for legal documents.
FormMapping Maps entity profile data to MCA portal form fields for auto-fill.
Tenant Isolation All Prisma queries include where: { tenantId } scoped to activeTenantId from the JWT.