Architecture: Should we keep the universe structure unchanged or modify it...
Documentation for Sessions
🏗️ Architecture: Should we keep the universe structure unchanged or modify it...
📋 Decision Context
Question:
Should we keep the universe structure unchanged or modify it? What about end-user preview functionality?
Task: Session 45.1: Galaxy-centric architecture review and preview tool implementation
🎯 Decision Made
Chosen:
Keep existing UniverseStructureNode, add Preview tab as separate tool
Options Considered:
- Keep existing UniverseStructureNode, add Preview tab
- Create new enhanced structure
- Combine structure changes with preview
💭 Reasoning
The UniverseStructureNode interface is already well-designed for AI training (moduleId, moduleRef, config, children). The database showing 'modules: []' is the deprecated field - we should be using 'structure: UniverseStructureNode[]' exclusively. Adding a Preview tool as a separate tab follows the single responsibility principle and matches the unified builder pattern.
📁 Files Involved
libs/libs-foundational/core-models/src/lib/types/space.types.tslibs/libs-space/unified-builder/src/lib/components/unified-builder/unified-builder.component.ts
🔗 Related
- Decision ID:
dev_1768448558383_d8lhcuq - Session: 45
- Workspace: editor2
Auto-generated by MCP Smart Consolidation