# Design Principles — Version 2

## Golden Rule
Every project must be:
- Modular
- Layered
- Documented
- Repeatable
- Installed from a single script

## Version 2 Enhancements
- Role‑based access control
- Token authentication
- Worker queue system
- Admin dashboard
- Full test suite
- Complete documentation set

## Backend Design
- Small route files
- Shared libraries
- Strict separation of concerns
- JSON‑only responses
- SQLite for portability

## Worker Design
- Pure functions
- Queue processor
- CLI integration

## Frontend Design
- Minimal, functional dashboard
- API‑driven UI
- No frameworks required

## Admin Design
- Tools for DB, logs, config
- Web dashboard
- CLI admin suite

## Documentation Design
- Complete MD files
- Architecture + install + testing
- Admin + design + overview

