Engineering Standards & Best Practices
This document defines the engineering standards, development processes, and best practices for all MentoraX Systems projects. The goal is to ensure:
Every project, repository, branch, ticket, and release must include the correct project tag.
| Product | Code |
|---|---|
| MentoraX Main App | MNTX |
| MentoraX Web LMS | MNTXW |
| MentoraX Backend | MNTXBE |
| NeuroLearn Engine | NLE |
| Teacher App | MNTXT |
Branch: feature/MXBE-0001/user-auth
Commit: MXBE-0003: ENHC : add JWT refresh flow
Ticket: NLE-23
Components must be independently replaceable
UI, domain, application, and infrastructure layers must be isolated
Every core capability exposed via clear contracts
Rules, configs, and behaviors should be data-driven
| Layer | Pattern |
|---|---|
| Backend | Layered / Hexagonal Architecture |
| AI Systems | Pipeline-based architecture (Ingestion โ Feature โ Model โ Output) |
| Frontend | Component-based architecture |
| Integration | Event-driven or contract-based APIs |
All work must follow this lifecycle:
| Branch Type | Purpose | Example |
|---|---|---|
| main | Stable, production-ready | main |
| feature | New functionality | feature/MNTXW-0002/dashboard-ui |
| bugfix | Non-breaking fixes | bugfix/MXBE-0003/null-check |
| hotfix | Critical production fixes | hotfix/NLE-0004/model-crash |
<ProjectCode>: <short, clear description>
NLE-0002: ENHC : add feature normalization step
MNTXT-0004: BUG : fix session timeout bug
StudentServiceMNTStudentServiceWe build systems that shape the next generation.
This document is a living standard. Improvements must be proposed via PRs and reviewed by the core team.