| 00 |
Architecture Validation |
5 spikes: PostgreSQL tenant isolation, Redis Streams, Go workspace, Meilisearch, Cobra CLI |
| 01 |
Project Structure & Config |
Go module layout, YAML config, build system |
| 02 |
PostgreSQL & Redis Foundation |
pgxpool, schema-per-tenant, Redis 4-DB client factory |
| 03 |
Metadata Registry |
MetaType compiler, 3-tier cache, DDL generator, migrator |
| 04 |
Document Runtime |
Document interface, lifecycle engine, naming, validation, CRUD |
| 05 |
Query Engine & Reports |
Dynamic QueryBuilder, 15 operators, JSONB transparency, ReportDef |
| 06 |
REST API Layer |
Auto-generated CRUD, middleware chain, rate limiting, versioning |
| 07 |
CLI Foundation |
Cobra command registry, context detection, output formatters |
| 08 |
Hook Registry & App System |
Priority hooks, dependency DAG, AppManifest, app loader |
| 09 |
CLI Site & App Commands |
moca init, moca site, moca app commands |
| 10 |
Dev Server & Hot Reload |
moca serve with in-process workers, file watching |
| 11 |
CLI Operational Commands |
moca db, moca backup, moca config commands |
| 12 |
Multitenancy |
Site resolver, schema management, per-site pools, Redis/Meili isolation |
| 13 |
App Scaffolding & User Mgmt |
moca app new, moca user commands, dev tools |
| 14 |
Permission Engine |
RBAC, field-level security, row-level security, custom rules |
| 15 |
Background Jobs & Events |
Redis Streams worker, scheduler, Kafka/Redis events, outbox, search sync |
| 16 |
CLI Queue/Events/Search/Monitor |
moca queue, moca events, moca search, moca monitor commands |
| 17 |
React Desk Foundation |
App shell, MetaProvider, FormView, ListView, field components |
| 18 |
API Keys & Webhooks |
API key auth, webhook dispatcher, custom endpoints, APIConfig |
| 19 |
Desk Real-Time & Custom Fields |
WebSocket hub, custom field type registry, version tracking |
| 20 |
GraphQL, Dashboards & Reports |
GraphQL auto-gen, dashboard framework, report engine, i18n, file storage |
| 21 |
Deployment & Infrastructure |
moca generate (7 generators), moca deploy (6 commands), backup automation |
| 22 |
Security Hardening |
OAuth2, SAML/OIDC SSO, encryption at rest, notifications |
| 23 |
Workflow Engine |
State machine, transitions, approval chains, SLA timers |
| 24 |
Observability & Profiling |
Prometheus metrics, OpenTelemetry tracing, moca doctor, profiling |
| 25 |
Testing Framework |
Test runner, fixture generation, coverage, test data factories |