Skip to content

Alhuda ERP Master Doc

Superseded — kept for history only

This page was written in January 2026 and is not a description of how the system works today. It is kept so the reasoning behind early decisions stays readable. Current behaviour is described in the rulebook. Do not build from this page.

This document is the entry point for the full ERP specification and implementation plan.

Contents

  • PRD: docs/ALHUDA_ERP_PRD.md
  • Technical Plan: docs/ALHUDA_ERP_TECH_PLAN.md
  • Role-Permission Matrix: docs/ALHUDA_ERP_ROLE_MATRIX.md
  • Supabase Schema: src/db/schema.sql
  • API Specification: docs/ALHUDA_ERP_API_SPEC.md
  • UI Specification: docs/ALHUDA_ERP_UI_SPEC.md
  • State Machines: docs/ALHUDA_ERP_STATE_MACHINES.md
  • Finance + Reports: docs/ALHUDA_ERP_FINANCE_REPORTS.md
  • Implementation Plan: docs/ALHUDA_ERP_IMPL_PLAN.md

Quick Start (Engineering)

1) Review docs/ALHUDA_ERP_PRISMA_SCHEMA.md and docs/ALHUDA_ERP_API_SPEC.md. 2) Build API scaffolding + RBAC middleware. 3) Follow the build order in docs/ALHUDA_ERP_IMPL_PLAN.md.

Quick Start (Product)

1) Review docs/ALHUDA_ERP_PRD.md for scope and workflows. 2) Use docs/ALHUDA_ERP_ROLE_MATRIX.md to confirm access controls.