migrated core_nest to mainroom

This commit is contained in:
buenosairesam
2025-12-24 06:23:31 -03:00
parent 329c401ff5
commit d62337e7ba
50 changed files with 5503 additions and 73 deletions

View File

@@ -27,15 +27,25 @@ python main.py
spr/
├── schema.json # Model definitions (source of truth)
├── config/ # Framework configuration
├── artery/ # Connectors (source)
├── atlas/ # Documentation (source)
├── station/ # Tools (source)
├── ctrl/ # Soleprint room ctrl
├── artery/ # Connectors (versioned)
├── atlas/ # Documentation (versioned)
├── station/ # Tools (versioned)
│ └── tools/
│ ├── generator/ # Generates models & structure
│ ├── generator/ # Generates models from schema
│ ├── datagen/ # Test data generation
│ └── tester/ # Test runner
├── data/ # Content (JSON)
── gen/ # Runnable instance (run from here)
│ └── tester/ # BDD/contract test runner
── data/ # JSON content
├── hub/ # Base files (main.py, dataloader, etc.)
├── gen/ # Runnable instance (symlinks + generated models)
└── mainroom/ # Orchestration: soleprint ↔ managed room
├── ctrl/ # Orchestration commands
├── sbwrapper/ # Sidebar wrapper UI
├── link/ # Adapters for managed apps
└── soleprint/ # Docker configs
```
## Components
@@ -62,21 +72,40 @@ cd gen
python main.py
```
### Regenerate models (when schema.json changes)
### Regenerate models (one-time / rare)
```bash
cd station/tools/generator
python -m generators.orchestrator --output ../../../gen
```
### Run with Docker (via mainroom)
```bash
cd mainroom/soleprint
docker compose up -d
```
## Ports
| Service | Port |
|---------|------|
| Hub | 12000 |
| Hub (soleprint) | 12000 |
| Artery | 12001 |
| Atlas | 12002 |
| Station | 12003 |
## Architecture
```
hub/ → Versioned base files (main.py, dataloader)
gen/ → Runnable instance (symlinks to hub/ + systems)
gen/models/ → Generated once per client (like install)
mainroom/ → Orchestration layer
├── sbwrapper → UI overlay for managed apps
├── link → Data adapters (no modification to either side)
└── soleprint → Docker for soleprint services
```
## Background
Born from the friction of: