CRITICAL DECISIONS REQUIRED
Ecosistema completo para organización y gestión de contenido con interfaces espaciales
Critical Analysis & Decisions Required
Created: November 14, 2025
Purpose: Document all critical decisions that must be made before proceeding with Phase 0
Owner: Development Team Lead + Architecture Team
🎯 EXECUTIVE SUMMARY
The user has provided a revolutionary vision for GoGrab Space: THE ULTIMATE PLATFORM BUILDER. This is not a module browser project - it's a complete architectural transformation where everything is a module building other modules.
Key Insight: The module browser we just built is ~5% of the total vision. We need to reorganize the entire foundation before building the revolutionary grid-based universe builder.
🔴 CRITICAL DECISIONS (Must decide THIS WEEK)
Decision 1: space-map vs modular-universe ⚠️ URGENT
Context:
space-map-libcurrently manages universes/galaxies but is "completely stupid" (user's words)modular-universeexists with better foundation but isn't connected to main flow
Options:
A. Fix space-map from ground up
- Pros: Routes already exist, users may be using it
- Cons: Codebase is too broken, would take longer than rebuild
B. Replace with modular-universe ⭐ RECOMMENDED
- Pros: Clean slate, better architecture, aligns with vision
- Cons: Need migration strategy for existing routes
C. Build hybrid (modular-universe wraps space-map)
- Pros: Gradual migration
- Cons: Technical debt, confusing architecture
RECOMMENDATION: Option B - Replace entirely
- Keep
space-maproutes active temporarily (don't break existing) - Build
modular-universeroutes in parallel (/universe-map-v2) - Feature flag for testing
- Once stable, redirect old routes
- Deprecate
space-map-libin Q2 2026
Decision Maker: Tech Lead
Deadline: Nov 15, 2025
Impact: 🔴 CRITICAL - Blocks all Phase 1+ work
Decision 2: ui-builder fate ⚠️ HIGH PRIORITY
Context:
libs-ui/ui-builderhas broken routes- Mix of widget showcase + building tools
- User asked: "showcase vs widget-builder vs deprecate?"
Options:
A. Split into two libraries ⭐ RECOMMENDED
libs-ui/widget-showcase/ # Read-only documentation
libs-ui/widget-builder/ # Interactive creation tool
- Pros: Clear separation of concerns, organized
- Cons: More libraries to maintain
B. Transform into full widget-builder
libs-ui/widget-builder/ # Combine showcase + builder
- Pros: One library, unified experience
- Cons: Mixed concerns (docs + tools)
C. Deprecate entirely
- Pros: Simplifies codebase
- Cons: Lose widget management, need alternative
RECOMMENDATION: Option A - Split
- Create
libs-ui/widget-showcasefor documentation - Create
libs-ui/widget-builderfor creation tool - Move theme components to
libs/theme-system/theme-components - Deprecate original
ui-builder
Decision Maker: UX Lead + Tech Lead
Deadline: Nov 16, 2025
Impact: 🟡 HIGH - Affects Phase 1 widget system
Decision 3: Widget vs Module Boundary 🎯 ARCHITECTURE
Context: User asked: "Which elements should stay as widgets vs become modules?"
Current Confusion:
- Sidebar is now a module (
sidebar-nav-lib) - But what about: menus, panels, forms, data grids?
Proposed Decision Matrix:
| Component Type | Classification | Rationale |
|---|---|---|
| Inputs, Buttons, Dropdowns | Widget | Simple, presentational, no state |
| Cards, Badges, Chips | Widget | Pure UI, no business logic |
| Icons, Avatars, Spinners | Widget | Atomic, reusable everywhere |
| Modals | Module | Complex interactions, lifecycle |
| Sidebars, Navigation Menus | Module | Structure, routing, state |
| Panels | Module (if stateful) | Complex state management |
| Forms (simple) | Widget | Just UI elements |
| Forms (complex multi-step) | Module | Business logic, validation, flows |
| Data Grids/Tables | Module | State, pagination, sorting |
| Dashboards | Module (galaxy) | Contains other modules |
Rule of Thumb:
IF (has complex state OR has lifecycle OR has routing OR contains modules)
THEN Module
ELSE
Widget
RECOMMENDATION: Adopt this matrix
- Document in
docs/english/GoGrab-Space/architecture/widget-vs-module-decision-matrix.md - Review existing components and reclassify
- Create migration plan for misclassified components
Decision Maker: Architecture Team
Deadline: Nov 17, 2025
Impact: 🟡 HIGH - Guides all future component decisions
Decision 4: Grid vs Flexbox Strategy 🎯 ARCHITECTURE
Context: modular-universe needs layout system for universe builder
Options:
A. CSS Grid only
- Pros: Precise control, modern, powerful
- Cons: Web-only, doesn't export to Flutter/React Native
B. Flexbox only
- Pros: Platform-agnostic, exports to mobile
- Cons: Less powerful for complex layouts
C. Hybrid approach ⭐ RECOMMENDED
Primary: CSS Grid (for web universe builder)
Secondary: Flexbox equivalent (for mobile export)
Storage: BOTH representations
- Pros: Best of both worlds
- Cons: More complex implementation
RECOMMENDATION: Option C - Hybrid
- Universe builder uses CSS Grid for precision
- Generate Flexbox equivalent automatically
- Store both in module config
- Export service chooses correct format per platform
Technical Approach:
interface UniverseGridConfig {
web: {
type: 'grid',
rows: string[], // ['80px', '1fr', '60px']
columns: string[], // ['300px', '1fr']
areas: GridArea[]
},
mobile: {
type: 'flexbox',
direction: 'column',
sections: FlexSection[]
}
}
Decision Maker: Tech Lead + Platform Team
Deadline: Nov 18, 2025
Impact: 🔴 CRITICAL - Core architecture decision
Decision 5: Canvas Cutting Mechanic 🎨 UX
Context: User's vision: "User adds horizontal/vertical divider lines and drags to 'cut' canvas into sections"
Options:
A. Draggable divider lines ⭐ RECOMMENDED
User flow:
1. Click "Add Horizontal Divider" → line appears
2. Drag line to position
3. Click "Add Vertical Divider" → line appears
4. Drag line to position
5. Click "Generate Sections" → sections created
- Pros: Intuitive, visual, matches user's vision
- Cons: Complex drag interaction
B. Drag-to-split (like VS Code panels)
User flow:
1. Hover over section edge
2. Cursor changes to resize
3. Drag to split section
- Pros: Familiar pattern
- Cons: Doesn't match grid creation vision
C. Template-based (pre-defined layouts)
User flow:
1. Choose layout template (header/content/footer, sidebar/content, etc.)
2. Customize sizes
- Pros: Fastest to implement, works for 80% of cases
- Cons: Less flexible, not revolutionary
D. Hybrid: Templates + Custom Cutting ⭐ BEST
- Start with template for speed
- "Advanced mode" enables custom cutting
- Pros: Best UX for beginners and power users
- Cons: Most complex implementation
RECOMMENDATION: Option D - Hybrid
- Phase 1: Template selector (quick start)
- Phase 2: Add custom cutting mechanic
- Templates can be "unlocked" to become custom grids
Decision Maker: UX Lead + Product Owner
Deadline: Nov 19, 2025
Impact: 🟡 HIGH - Affects core UX
📊 PRIORITY MATRIX
Must Decide This Week (Blocking)
- ✅ space-map vs modular-universe (DECIDED: Replace with modular-universe)
- ⏳ Grid vs Flexbox strategy
- ⏳ ui-builder fate
Must Decide Next Week (Phase 1)
- ⏳ Widget vs Module boundary
- ⏳ Canvas cutting mechanic
Can Decide Later (Phase 2+)
- AI integration strategy
- Collaboration features architecture
- Marketplace technical stack
🔄 DEPENDENCY CHAIN
Decision 1 (space-map)
↓
Decision 4 (Grid/Flexbox) ← blocks modular-universe architecture
↓
Decision 5 (Cutting mechanic) ← blocks canvas implementation
↓
Decision 2 (ui-builder) ← blocks widget system
↓
Decision 3 (Widget/Module) ← blocks modularity-lib integration
Critical Path: Decisions 1, 4, 5 must be made BEFORE starting Phase 1
📋 ACTION ITEMS
For Tech Lead
- Finalize Decision 1 (space-map replacement)
- Finalize Decision 4 (Grid/Flexbox strategy)
- Create migration plan for space-map deprecation
- Update architecture diagrams
For UX Lead
- Finalize Decision 5 (Canvas cutting mechanic)
- Create wireframes for cutting mechanic
- User test with prototype
- Finalize Decision 2 (ui-builder split)
For Architecture Team
- Finalize Decision 3 (Widget vs Module matrix)
- Document decision matrix
- Review all existing components
- Create reclassification migration plan
For Product Owner
- Approve master plan timeline (9-12 weeks to MVP)
- Prioritize Phase 0 tasks
- Allocate resources
- Set up weekly review meetings
🎯 SUCCESS CRITERIA
By End of Week (Nov 20, 2025):
- All 5 critical decisions made
- Decisions documented
- Migration plans created
- Phase 0 tasks defined and prioritized
- Team aligned on vision
By End of Month (Nov 30, 2025):
- Phase 0 complete (foundation solid)
- Phase 1 started (building blocks)
- No blocking issues
- All libraries building successfully
📚 RELATED DOCUMENTS
- Master Plan:
ULTIMATE-PLATFORM-BUILDER-MASTER-PLAN.md - Progress:
progress.md - Next Steps:
next-steps.md - Plan:
plan.md
Status: 🔴 AWAITING DECISIONS
Next Review: Nov 15, 2025
Owner: Tech Lead