# MODULE_ORDER.md

# Inveetaire Module Implementation Order

Version : 1.0

Status : ACTIVE

---

# Purpose

This document defines the official implementation sequence for the Inveetaire platform.

Every AI assistant and developer must follow this order.

Modules may NOT be implemented out of sequence unless explicitly approved.

The goal is to ensure every module is built on a stable foundation.

---

# Implementation Philosophy

Always build from the foundation upward.

Dependencies first.

Features later.

Dashboards last.

Reports last.

Never build UI before business logic.

Never build business logic before data structures.

---

# Development Roadmap

Sprint 0

↓

Core Framework

↓

Authentication

↓

Workspace

↓

Theme Engine

↓

Guest Management

↓

Invitation

↓

RSVP

↓

Communication

↓

Vendor

↓

Dashboard

↓

Wedding Day Operations

↓

Reports

↓

Super Admin

↓

Settings

↓

Optimization

↓

Production Release

---

# Sprint 0

Project Foundation

Priority

CRITICAL

Objectives

Project Structure

Configuration

Environment

Autoload

Routing

Error Handling

Logger

Session

CSRF

Flash Message

Utilities

Shared Components

Definition of Done

Core Framework is stable.

No business modules exist.

---

# Sprint 1

Authentication

Priority

CRITICAL

Modules

Authentication

Authorization

Login

Logout

Password Reset

Role Permission

Middleware

Session

Crew Login

Super Admin Login

Dependencies

Sprint 0

---

# Sprint 2

Workspace

Priority

CRITICAL

Modules

Workspace

Workspace Settings

Workspace Lifecycle

Package Assignment

Slug

Workspace Validation

Dependencies

Sprint 1

---

# Sprint 3

Theme Engine

Priority

HIGH

Modules

Theme Loader

Theme Version

Theme Configuration

Media

Assets

Sections

Dependencies

Workspace

---

# Sprint 4

Guest Management

Priority

CRITICAL

Modules

Guest CRUD

Guest Groups

Guest Side

Guest Import

Guest Export

Guest Timeline

Guest QR

Guest Search

Guest Filters

Guest Event Assignment

Bulk Actions

Dependencies

Workspace

Theme

---

# Sprint 5

Invitation

Priority

CRITICAL

Modules

Invitation Rendering

Dynamic Event Rendering

Invitation URL

Invitation Settings

Gallery

Story

Music

Countdown

Dependencies

Guest

Theme

Workspace

---

# Sprint 6

RSVP

Priority

HIGH

Modules

RSVP Form

Attendance

PAX

Wish

RSVP Window

RSVP Lock

Dependencies

Invitation

Guest

Events

---

# Sprint 7

Communication

Priority

HIGH

Modules

WhatsApp Template

Invitation Message

Reminder

Open Tracking

Communication History

Future API Integration

Dependencies

Invitation

Guest

RSVP

---

# Sprint 8

Vendor Management

Priority

MEDIUM

Modules

Vendor CRUD

Vendor Category

Budget

Payment Timeline

Due Date

Vendor Dashboard

Dependencies

Workspace

---

# Sprint 9

Dashboard

Priority

HIGH

Modules

Planning Dashboard

Guest Dashboard

Vendor Dashboard

Wedding Day Dashboard

Event Dashboard

Statistics

Charts

Widgets

Dependencies

Guest

Vendor

RSVP

Communication

---

# Sprint 10

Wedding Day Operations

Priority

CRITICAL

Modules

QR Scanner

Manual Search

Guest Check-in

Attendance

Angpao Tracking

Label Printing

Crew Dashboard

Offline Queue

Dependencies

Guest

Invitation

RSVP

Dashboard

---

# Sprint 11

Reports

Priority

MEDIUM

Modules

Attendance Report

Guest Report

Vendor Report

Budget Report

Communication Report

Export

Dependencies

All operational modules

---

# Sprint 12

Super Admin

Priority

HIGH

Modules

Workspace Management

Package Management

Theme Management

User Management

Audit

Support

System Health

Dependencies

All Core Modules

---

# Sprint 13

Settings

Priority

LOW

Modules

Profile

General Settings

Communication Settings

Printer Settings

Security Settings

Dependencies

Core Modules

---

# Sprint 14

Optimization

Priority

LOW

Objectives

Performance

Database Optimization

Caching Preparation

Asset Optimization

Accessibility

Security Review

Code Cleanup

Dependencies

Entire Platform

---

# Sprint 15

Production Release

Priority

FINAL

Objectives

Deployment

Backup

Migration

Production Configuration

Monitoring

Release Notes

Go Live

---

# Module Dependency Map

Core Framework

↓

Authentication

↓

Workspace

↓

Theme

↓

Guest

↓

Invitation

↓

RSVP

↓

Communication

↓

Vendor

↓

Dashboard

↓

Wedding Day

↓

Reports

↓

Super Admin

↓

Settings

↓

Optimization

↓

Production

---

# AI Rules

AI must never skip a Sprint.

AI must never implement modules from future Sprints.

AI must complete all dependencies first.

One AI Session

=

One Task ID

One Task

=

One Commit

Never combine unrelated modules.

---

# Sprint Completion Rules

A Sprint is COMPLETE only if:

✓ All Tasks completed

✓ Acceptance Criteria passed

✓ Manual Testing completed

✓ Documentation updated

✓ No critical bugs remain

Only then may the next Sprint begin.

---

# Final Statement

This document defines the official implementation sequence of the Inveetaire platform.

No module shall be implemented outside this roadmap without explicit approval.

Architecture stability is more important than implementation speed.

Build the foundation once.

Build features on top.

Never the opposite.