Migration Plan
This document outlines the full migration path from traditional RABS to the FABRABS architecture.
1. Goals of Migration
- Introduce modular architecture
- Introduce module agents
- Introduce orchestrator governance
- Establish linkmaps + newsletters
- Enable self-healing pipeline
- Preserve existing functionality
- Ensure minimal downtime
2. Migration Phases
Phase A — Prepare RABS Clone
- Duplicate current RABS repo →
FABRABS/ - Assign separate local ports (backend + frontend)
- Freeze original RABS (development continues separately)
Phase B — Establish FABRABS Scaffold
- Create
/modules - Create
/globals - Create
/orchestrator - Create
/frontends/admin+ frobals - Install new folder tree structure
Phase C — Build Orchestrator Core
- routing injection
- versioning engine
- sandbox runner
- risk engine
- contract management
- linkmap_active.json
- orchestrator APIs
Phase D — Module Extraction (Pilot)
- Select test module (Messenger recommended)
- Extract backend logic into
/modules/messenger/content/backend - Extract frontend into
/modules/messenger/content/frontend - Build manifest.json
- Write module’s agent rules + startup script
- Configure sharepoints
Phase E — Validate Module Build
- Run Vite build
- Run backend
- Validate routing
- Validate API paths
- Validate module boundaries
Phase F — Enable Devmode
- Add Dev Button
- Enable orchestrator request flow
- Test sandbox creation
- Test vNext version
Phase G — Expand Module-by-Module
- For each module:
- extract backend
- extract frontend
- build manifest
- generate agent rules
- configure sharepoints
- update linkmap
- validate via orchestrator
Phase H — System-Wide Validation
- All modules build independently
- All agents respond correctly
- All linkmaps accurate
- All newsletters generated
- All risk levels correct
- Devmode works for all modules
Phase I — Completion Checklist
- All modules extracted
- RABS replaced by FABRABS
- All agents sandbox-tested
- All orchestrator functions validated
- Migration logs stored
- Go-live ready
3. Time Estimates
| Phase | Estimated Time |
|---|---|
| A | 1 day |
| B | 1–2 days |
| C | 7–10 days |
| D | 2–4 days |
| E | 1–3 days |
| F | 3–5 days |
| G | Variable (depends on module count) |
| H | 2–5 days |
| I | 1 day |
4. Success Criteria
FABRABS is considered successfully migrated when:
- Vite builds all modules
- Backend routes load all module content
- Devmode works platform-wide
- Agents are isolated + safe
- Orchestrator intercepts schema changes
- Linkmaps maintain dependency logic
- Self-healing pipeline fully operational